From 1ea9a52d4e46097da161cd1e7bd47612b374ccbd Mon Sep 17 00:00:00 2001 From: David G <34038713+godind@users.noreply.github.com> Date: Thu, 16 Nov 2023 18:31:14 -0500 Subject: [PATCH] v2.2.0 Package update (#214) --- CHANGELOG.md | 9 ++++++--- package.json | 2 +- public/index.html | 4 ++-- public/main.26f0989c3569d08a.js | 1 - public/main.6619e47a0d6a1b9c.js | 1 + public/styles.5a50f41e438a6c09.css | 1 - public/styles.cb06974479d009b8.css | 1 + 7 files changed, 11 insertions(+), 8 deletions(-) delete mode 100644 public/main.26f0989c3569d08a.js create mode 100644 public/main.6619e47a0d6a1b9c.js delete mode 100644 public/styles.5a50f41e438a6c09.css create mode 100644 public/styles.cb06974479d009b8.css diff --git a/CHANGELOG.md b/CHANGELOG.md index 2fc310d6..813c80f2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,10 @@ +# V 2.2.0 +## New features +* Option to enable automatic day and night modes activation based on sun phases +* Path data throttling feature added to Widget Options's Paths offering greater flexibilty in UI experience # V 2.1.3 ## Improvements -* Upgrade v6 configuration by @godind in https://github.com/mxtommy/Kip/pull/208 +* Upgrade v6 configuration # V 2.1.2 ## Fixes * Package description typo and changelog updates @@ -19,8 +23,7 @@ * Bump @babel/traverse from 7.23.0 to 7.23.2 by @dependabot in https://github.com/mxtommy/Kip/pull/194 # V 2.0.1 ## Improvements -* Update: KIP Icon by @godind in https://github.com/mxtommy/Kip/commit/2b2aa0da868d91b405af7cc5392a2e9b93c1d4d1 -* Update: CHANGELOG.md by @godind in https://github.com/mxtommy/Kip/commit/3bf7120c1fb06468be6d95de9d947fdaa0e28658 +* Update: KIP Icon ## Fixes * Fix: Object reference error and polyfills by @godind in https://github.com/mxtommy/Kip/commit/73f47aec694ccfe6ea2f1b92ad23dcc53b41e09f # V 2.0.0 diff --git a/package.json b/package.json index 9e8503b0..28d81347 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@mxtommy/kip", - "version": "2.1.3", + "version": "2.2.0", "description": "An advanced and versatile marine instrumentation package to display Signal K data.", "license": "MIT", "author": {"name": "Thomas St.Pierre", "email": "thomas@samoht.ca"}, diff --git a/public/index.html b/public/index.html index 3f1c4c35..34505933 100644 --- a/public/index.html +++ b/public/index.html @@ -10,10 +10,10 @@ - + - + \ No newline at end of file diff --git a/public/main.26f0989c3569d08a.js b/public/main.26f0989c3569d08a.js deleted file mode 100644 index deafa37d..00000000 --- a/public/main.26f0989c3569d08a.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunkkip=self.webpackChunkkip||[]).push([[179],{2814:(Gi,ln,qi)=>{"use strict";function Pt(t){return"function"==typeof t}function cn(t){const e=t(i=>{Error.call(i),i.stack=(new Error).stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}const j=cn(t=>function(e){t(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 ge(t,n){if(t){const e=t.indexOf(n);0<=e&&t.splice(e,1)}}class Z{constructor(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let n;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(Pt(i))try{i()}catch(o){n=o instanceof j?o.errors:[o]}const{_finalizers:r}=this;if(r){this._finalizers=null;for(const o of r)try{Mn(o)}catch(s){n=n??[],s instanceof j?n=[...n,...s.errors]:n.push(s)}}if(n)throw new j(n)}}add(n){var e;if(n&&n!==this)if(this.closed)Mn(n);else{if(n instanceof Z){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._finalizers=null!==(e=this._finalizers)&&void 0!==e?e:[]).push(n)}}_hasParent(n){const{_parentage:e}=this;return e===n||Array.isArray(e)&&e.includes(n)}_addParent(n){const{_parentage:e}=this;this._parentage=Array.isArray(e)?(e.push(n),e):e?[e,n]:n}_removeParent(n){const{_parentage:e}=this;e===n?this._parentage=null:Array.isArray(e)&&ge(e,n)}remove(n){const{_finalizers:e}=this;e&&ge(e,n),n instanceof Z&&n._removeParent(this)}}Z.EMPTY=(()=>{const t=new Z;return t.closed=!0,t})();const Ke=Z.EMPTY;function ot(t){return t instanceof Z||t&&"closed"in t&&Pt(t.remove)&&Pt(t.add)&&Pt(t.unsubscribe)}function Mn(t){Pt(t)?t():t.unsubscribe()}const ht={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Me={setTimeout(t,n,...e){const{delegate:i}=Me;return i?.setTimeout?i.setTimeout(t,n,...e):setTimeout(t,n,...e)},clearTimeout(t){const{delegate:n}=Me;return(n?.clearTimeout||clearTimeout)(t)},delegate:void 0};function qn(t){Me.setTimeout(()=>{const{onUnhandledError:n}=ht;if(!n)throw t;n(t)})}function x(){}const E=Ce("C",void 0,void 0);function Ce(t,n,e){return{kind:t,value:n,error:e}}let be=null;function he(t){if(ht.useDeprecatedSynchronousErrorHandling){const n=!be;if(n&&(be={errorThrown:!1,error:null}),t(),n){const{errorThrown:e,error:i}=be;if(be=null,e)throw i}}else t()}class Yt extends Z{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,ot(n)&&n.add(this)):this.destination=sr}static create(n,e,i){return new Se(n,e,i)}next(n){this.isStopped?si(function Q(t){return Ce("N",t,void 0)}(n),this):this._next(n)}error(n){this.isStopped?si(function V(t){return Ce("E",void 0,t)}(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?si(E,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(n){this.destination.next(n)}_error(n){try{this.destination.error(n)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const tt=Function.prototype.bind;function qe(t,n){return tt.call(t,n)}class un{constructor(n){this.partialObserver=n}next(n){const{partialObserver:e}=this;if(e.next)try{e.next(n)}catch(i){Fr(i)}}error(n){const{partialObserver:e}=this;if(e.error)try{e.error(n)}catch(i){Fr(i)}else Fr(n)}complete(){const{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(e){Fr(e)}}}class Se extends Yt{constructor(n,e,i){let r;if(super(),Pt(n)||!n)r={next:n??void 0,error:e??void 0,complete:i??void 0};else{let o;this&&ht.useDeprecatedNextContext?(o=Object.create(n),o.unsubscribe=()=>this.unsubscribe(),r={next:n.next&&qe(n.next,o),error:n.error&&qe(n.error,o),complete:n.complete&&qe(n.complete,o)}):r=n}this.destination=new un(r)}}function Fr(t){ht.useDeprecatedSynchronousErrorHandling?function Ue(t){ht.useDeprecatedSynchronousErrorHandling&&be&&(be.errorThrown=!0,be.error=t)}(t):qn(t)}function si(t,n){const{onStoppedNotification:e}=ht;e&&Me.setTimeout(()=>e(t,n))}const sr={closed:!0,next:x,error:function ye(t){throw t},complete:x},wo="function"==typeof Symbol&&Symbol.observable||"@@observable";function pr(t){return t}function so(t){return 0===t.length?pr:1===t.length?t[0]:function(e){return t.reduce((i,r)=>r(i),e)}}let bn=(()=>{class t{constructor(e){e&&(this._subscribe=e)}lift(e){const i=new t;return i.source=this,i.operator=e,i}subscribe(e,i,r){const o=function aa(t){return t&&t instanceof Yt||function sa(t){return t&&Pt(t.next)&&Pt(t.error)&&Pt(t.complete)}(t)&&ot(t)}(e)?e:new Se(e,i,r);return he(()=>{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=cs(i))((r,o)=>{const s=new Se({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)}[wo](){return this}pipe(...e){return so(e)(this)}toPromise(e){return new(e=cs(e))((i,r)=>{let o;this.subscribe(s=>o=s,s=>r(s),()=>i(o))})}}return t.create=n=>new t(n),t})();function cs(t){var n;return null!==(n=t??ht.Promise)&&void 0!==n?n:Promise}const Wo=cn(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let pe=(()=>{class t extends bn{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(e){const i=new nt(this,this);return i.operator=e,i}_throwIfClosed(){if(this.closed)throw new Wo}next(e){he(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const i of this.currentObservers)i.next(e)}})}error(e){he(()=>{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(){he(()=>{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?Ke:(this.currentObservers=null,o.push(e),new Z(()=>{this.currentObservers=null,ge(o,e)}))}_checkFinalizedStatuses(e){const{hasError:i,thrownError:r,isStopped:o}=this;i?e.error(r):o&&e.complete()}asObservable(){const e=new bn;return e.source=this,e}}return t.create=(n,e)=>new nt(n,e),t})();class nt extends pe{constructor(n,e){super(),this.destination=n,this.source=e}next(n){var e,i;null===(i=null===(e=this.destination)||void 0===e?void 0:e.next)||void 0===i||i.call(e,n)}error(n){var e,i;null===(i=null===(e=this.destination)||void 0===e?void 0:e.error)||void 0===i||i.call(e,n)}complete(){var n,e;null===(e=null===(n=this.destination)||void 0===n?void 0:n.complete)||void 0===e||e.call(n)}_subscribe(n){var e,i;return null!==(i=null===(e=this.source)||void 0===e?void 0:e.subscribe(n))&&void 0!==i?i:Ke}}function Wt(t){return Pt(t?.lift)}function Ye(t){return n=>{if(Wt(n))return n.lift(function(e){try{return t(e,this)}catch(i){this.error(i)}});throw new TypeError("Unable to lift unknown Observable type")}}function Ot(t,n,e,i,r){return new Wn(t,n,e,i,r)}class Wn extends Yt{constructor(n,e,i,r,o,s){super(n),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=e?function(a){try{e(a)}catch(l){n.error(l)}}:super._next,this._error=r?function(a){try{r(a)}catch(l){n.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=i?function(){try{i()}catch(a){n.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:e}=this;super.unsubscribe(),!e&&(null===(n=this.onFinalize)||void 0===n||n.call(this))}}}function Ne(t,n){return Ye((e,i)=>{let r=0;e.subscribe(Ot(i,o=>{i.next(t.call(n,o,r++))}))})}function ar(t){return this instanceof ar?(this.v=t,this):new ar(t)}function $l(t,n,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=e.apply(t,n||[]),o=[];return r={},s("next"),s("throw"),s("return"),r[Symbol.asyncIterator]=function(){return this},r;function s(_){i[_]&&(r[_]=function(C){return new Promise(function(k,A){o.push([_,C,k,A])>1||a(_,C)})})}function a(_,C){try{!function l(_){_.value instanceof ar?Promise.resolve(_.value.v).then(c,p):m(o[0][2],_)}(i[_](C))}catch(k){m(o[0][3],k)}}function c(_){a("next",_)}function p(_){a("throw",_)}function m(_,C){_(C),o.shift(),o.length&&a(o[0][0],o[0][1])}}function ds(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,n=t[Symbol.asyncIterator];return n?n.call(t):(t=function us(t){var n="function"==typeof Symbol&&Symbol.iterator,e=n&&t[n],i=0;if(e)return e.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}(t),e={},i("next"),i("throw"),i("return"),e[Symbol.asyncIterator]=function(){return this},e);function i(o){e[o]=t[o]&&function(s){return new Promise(function(a,l){!function r(o,s,a,l){Promise.resolve(l).then(function(c){o({value:c,done:a})},s)}(a,l,(s=t[o](s)).done,s.value)})}}}"function"==typeof SuppressedError&&SuppressedError;const L=t=>t&&"number"==typeof t.length&&"function"!=typeof t;function te(t){return Pt(t?.then)}function ce(t){return Pt(t[wo])}function Te(t){return Symbol.asyncIterator&&Pt(t?.[Symbol.asyncIterator])}function $e(t){return new TypeError(`You provided ${null!==t&&"object"==typeof t?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const S=function at(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function w(t){return Pt(t?.[S])}function T(t){return $l(this,arguments,function*(){const e=t.getReader();try{for(;;){const{value:i,done:r}=yield ar(e.read());if(r)return yield ar(void 0);yield yield ar(i)}}finally{e.releaseLock()}})}function B(t){return Pt(t?.getReader)}function z(t){if(t instanceof bn)return t;if(null!=t){if(ce(t))return function q(t){return new bn(n=>{const e=t[wo]();if(Pt(e.subscribe))return e.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(t);if(L(t))return function ee(t){return new bn(n=>{for(let e=0;e{t.then(e=>{n.closed||(n.next(e),n.complete())},e=>n.error(e)).then(null,qn)})}(t);if(Te(t))return _e(t);if(w(t))return function ae(t){return new bn(n=>{for(const e of t)if(n.next(e),n.closed)return;n.complete()})}(t);if(B(t))return function H(t){return _e(T(t))}(t)}throw $e(t)}function _e(t){return new bn(n=>{(function Ve(t,n){var e,i,r,o;return function Dt(t,n,e,i){return new(e||(e=Promise))(function(o,s){function a(p){try{c(i.next(p))}catch(m){s(m)}}function l(p){try{c(i.throw(p))}catch(m){s(m)}}function c(p){p.done?o(p.value):function r(o){return o instanceof e?o:new e(function(s){s(o)})}(p.value).then(a,l)}c((i=i.apply(t,n||[])).next())})}(this,void 0,void 0,function*(){try{for(e=ds(t);!(i=yield e.next()).done;)if(n.next(i.value),n.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}}n.complete()})})(t,n).catch(e=>n.error(e))})}function Qe(t,n,e,i=0,r=!1){const o=n.schedule(function(){e(),r?t.add(this.schedule(null,i)):this.unsubscribe()},i);if(t.add(o),!r)return o}function mt(t,n,e=1/0){return Pt(n)?mt((i,r)=>Ne((o,s)=>n(i,o,r,s))(z(t(i,r))),e):("number"==typeof n&&(e=n),Ye((i,r)=>function Nt(t,n,e,i,r,o,s,a){const l=[];let c=0,p=0,m=!1;const _=()=>{m&&!l.length&&!c&&n.complete()},C=A=>c{o&&n.next(A),c++;let P=!1;z(e(A,p++)).subscribe(Ot(n,N=>{r?.(N),o?C(N):n.next(N)},()=>{P=!0},void 0,()=>{if(P)try{for(c--;l.length&&ck(N)):k(N)}_()}catch(N){n.error(N)}}))};return t.subscribe(Ot(n,C,()=>{m=!0,_()})),()=>{a?.()}}(i,r,t,e)))}function hn(t=1/0){return mt(pr,t)}const St=new bn(t=>t.complete());function fn(t){return t&&Pt(t.schedule)}function Zt(t){return t[t.length-1]}function it(t){return Pt(Zt(t))?t.pop():void 0}function xt(t){return fn(Zt(t))?t.pop():void 0}function dn(t,n=0){return Ye((e,i)=>{e.subscribe(Ot(i,r=>Qe(i,t,()=>i.next(r),n),()=>Qe(i,t,()=>i.complete(),n),r=>Qe(i,t,()=>i.error(r),n)))})}function Le(t,n=0){return Ye((e,i)=>{i.add(t.schedule(()=>e.subscribe(i),n))})}function Ns(t,n){if(!t)throw new Error("Iterable cannot be null");return new bn(e=>{Qe(e,n,()=>{const i=t[Symbol.asyncIterator]();Qe(e,n,()=>{i.next().then(r=>{r.done?e.complete():e.next(r.value)})},0,!0)})})}function Bn(t,n){return n?function Bs(t,n){if(null!=t){if(ce(t))return function Lt(t,n){return z(t).pipe(Le(n),dn(n))}(t,n);if(L(t))return function Vi(t,n){return new bn(e=>{let i=0;return n.schedule(function(){i===t.length?e.complete():(e.next(t[i++]),e.closed||this.schedule())})})}(t,n);if(te(t))return function It(t,n){return z(t).pipe(Le(n),dn(n))}(t,n);if(Te(t))return Ns(t,n);if(w(t))return function Mr(t,n){return new bn(e=>{let i;return Qe(e,n,()=>{i=t[S](),Qe(e,n,()=>{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)}),()=>Pt(i?.return)&&i.return()})}(t,n);if(B(t))return function Ls(t,n){return Ns(T(t),n)}(t,n)}throw $e(t)}(t,n):z(t)}function Yi(...t){const n=xt(t),e=function et(t,n){return"number"==typeof Zt(t)?t.pop():n}(t,1/0),i=t;return i.length?1===i.length?z(i[0]):hn(e)(Bn(i,n)):St}function pn(t={}){const{connector:n=(()=>new pe),resetOnError:e=!0,resetOnComplete:i=!0,resetOnRefCountZero:r=!0}=t;return o=>{let s,a,l,c=0,p=!1,m=!1;const _=()=>{a?.unsubscribe(),a=void 0},C=()=>{_(),s=l=void 0,p=m=!1},k=()=>{const A=s;C(),A?.unsubscribe()};return Ye((A,P)=>{c++,!m&&!p&&_();const N=l=l??n();P.add(()=>{c--,0===c&&!m&&!p&&(a=Jh(k,r))}),N.subscribe(P),!s&&c>0&&(s=new Se({next:$=>N.next($),error:$=>{m=!0,_(),a=Jh(C,e,$),N.error($)},complete:()=>{p=!0,_(),a=Jh(C,i),N.complete()}}),z(A).subscribe(s))})(o)}}function Jh(t,n,...e){if(!0===n)return void t();if(!1===n)return;const i=new Se({next:()=>{i.unsubscribe(),t()}});return z(n(...e)).subscribe(i)}function _i(t){for(let n in t)if(t[n]===_i)return n;throw Error("Could not find renamed property on target object.")}function Ur(t,n){for(const e in n)n.hasOwnProperty(e)&&!t.hasOwnProperty(e)&&(t[e]=n[e])}function vi(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(vi).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;const n=t.toString();if(null==n)return""+n;const e=n.indexOf("\n");return-1===e?n:n.substring(0,e)}function Ki(t,n){return null==t||""===t?null===n?"":n:null==n||""===n?t:t+" "+n}const ca=_i({__forward_ref__:_i});function xn(t){return t.__forward_ref__=xn,t.toString=function(){return vi(this())},t}function Ut(t){return zc(t)?t():t}function zc(t){return"function"==typeof t&&t.hasOwnProperty(ca)&&t.__forward_ref__===xn}class ke extends Error{constructor(n,e){super(function ni(t,n){return`NG0${Math.abs(t)}${n?": "+n.trim():""}`}(n,e)),this.code=n}}function sn(t){return"string"==typeof t?t:null==t?"":String(t)}function Wc(t,n){throw new ke(-201,!1)}function mr(t,n){null==t&&function Yn(t,n,e,i){throw new Error(`ASSERTION ERROR: ${t}`+(null==i?"":` [Expected=> ${e} ${i} ${n} <=Actual]`))}(n,t,null,"!=")}function Ee(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function yt(t){return{providers:t.providers||[],imports:t.imports||[]}}function id(t){return ng(t,ua)||ng(t,rg)}function ng(t,n){return t.hasOwnProperty(n)?t[n]:null}function ig(t){return t&&(t.hasOwnProperty(rd)||t.hasOwnProperty(ql))?t[rd]:null}const ua=_i({\u0275prov:_i}),rd=_i({\u0275inj:_i}),rg=_i({ngInjectableDef:_i}),ql=_i({ngInjectorDef:_i});var Vt=(()=>((Vt=Vt||{})[Vt.Default=0]="Default",Vt[Vt.Host=1]="Host",Vt[Vt.Self=2]="Self",Vt[Vt.SkipSelf=4]="SkipSelf",Vt[Vt.Optional=8]="Optional",Vt))();let od;function lo(t){const n=od;return od=t,n}function tf(t,n,e){const i=id(t);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:e&Vt.Optional?null:void 0!==n?n:void Wc(vi(t))}function da(t){return{toString:t}.toString()}var fs=(()=>((fs=fs||{})[fs.OnPush=0]="OnPush",fs[fs.Default=1]="Default",fs))(),Uo=(()=>{return(t=Uo||(Uo={}))[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",Uo;var t})();const ai=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),Yl={},Kn=[],sd=_i({\u0275cmp:_i}),rf=_i({\u0275dir:_i}),jc=_i({\u0275pipe:_i}),ag=_i({\u0275mod:_i}),Vs=_i({\u0275fac:_i}),Uc=_i({__NG_ELEMENT_ID__:_i});let lg=0;function Pe(t){return da(()=>{const e=!0===t.standalone,i={},r={type:t.type,providersResolver:null,decls:t.decls,vars:t.vars,factory:null,template:t.template||null,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:i,inputs:null,outputs:null,exportAs:t.exportAs||null,onPush:t.changeDetection===fs.OnPush,directiveDefs:null,pipeDefs:null,standalone:e,dependencies:e&&t.dependencies||null,getStandaloneInjector:null,selectors:t.selectors||Kn,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||Uo.Emulated,id:"c"+lg++,styles:t.styles||Kn,_:null,setInput:null,schemas:t.schemas||null,tView:null},o=t.dependencies,s=t.features;return r.inputs=ug(t.inputs,i),r.outputs=ug(t.outputs),s&&s.forEach(a=>a(r)),r.directiveDefs=o?()=>("function"==typeof o?o():o).map(cg).filter(ps):null,r.pipeDefs=o?()=>("function"==typeof o?o():o).map(Qr).filter(ps):null,r})}function cg(t){return li(t)||Zr(t)}function ps(t){return null!==t}function Ct(t){return da(()=>({type:t.type,bootstrap:t.bootstrap||Kn,declarations:t.declarations||Kn,imports:t.imports||Kn,exports:t.exports||Kn,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function ug(t,n){if(null==t)return Yl;const e={};for(const i in t)if(t.hasOwnProperty(i)){let r=t[i],o=r;Array.isArray(r)&&(o=r[1],r=r[0]),e[r]=i,n&&(n[r]=o)}return e}const fe=Pe;function Lr(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,standalone:!0===t.standalone,onDestroy:t.type.prototype.ngOnDestroy||null}}function li(t){return t[sd]||null}function Zr(t){return t[rf]||null}function Qr(t){return t[jc]||null}function Co(t,n){const e=t[ag]||null;if(!e&&!0===n)throw new Error(`Type ${vi(t)} does not have '\u0275mod' property.`);return e}function uo(t){return Array.isArray(t)&&"object"==typeof t[1]}function Go(t){return Array.isArray(t)&&!0===t[1]}function cf(t){return 0!=(8&t.flags)}function ud(t){return 2==(2&t.flags)}function dd(t){return 1==(1&t.flags)}function qo(t){return null!==t.template}function Qy(t){return 0!=(256&t[2])}function fa(t,n){return t.hasOwnProperty(Vs)?t[Vs]:null}class pg{constructor(n,e,i){this.previousValue=n,this.currentValue=e,this.firstChange=i}isFirstChange(){return this.firstChange}}function Tn(){return df}function df(t){return t.type.prototype.ngOnChanges&&(t.setInput=o0),r0}function r0(){const t=gg(this),n=t?.current;if(n){const e=t.previous;if(e===Yl)t.previous=n;else for(let i in n)e[i]=n[i];t.current=null,this.ngOnChanges(n)}}function o0(t,n,e,i){const r=gg(t)||function s0(t,n){return t[mg]=n}(t,{previous:Yl,current:null}),o=r.current||(r.current={}),s=r.previous,a=this.declaredInputs[e],l=s[a];o[a]=new pg(l&&l.currentValue,n,s===Yl),t[i]=n}Tn.ngInherit=!0;const mg="__ngSimpleChanges__";function gg(t){return t[mg]||null}function cr(t){for(;Array.isArray(t);)t=t[0];return t}function hd(t,n){return cr(n[t])}function xo(t,n){return cr(n[t.index])}function mf(t,n){return t.data[n]}function Jl(t,n){return t[n]}function ko(t,n){const e=n[t];return uo(e)?e:e[0]}function fd(t){return 64==(64&t[2])}function pa(t,n){return null==n?null:t[n]}function gf(t){t[18]=0}function _f(t,n){t[5]+=n;let e=t,i=t[3];for(;null!==i&&(1===n&&1===e[5]||-1===n&&0===e[5]);)i[5]+=n,e=i,i=i[3]}const tn={lFrame:wg(null),bindingsEnabled:!0};function vg(){return tn.bindingsEnabled}function Ae(){return tn.lFrame.lView}function Vn(){return tn.lFrame.tView}function ut(t){return tn.lFrame.contextLView=t,t[8]}function lt(t){return tn.lFrame.contextLView=null,t}function gr(){let t=Kc();for(;null!==t&&64===t.type;)t=t.parent;return t}function Kc(){return tn.lFrame.currentTNode}function ms(t,n){const e=tn.lFrame;e.currentTNode=t,e.isParent=n}function bf(){return tn.lFrame.isParent}function yf(){tn.lFrame.isParent=!1}function Xr(){const t=tn.lFrame;let n=t.bindingRootIndex;return-1===n&&(n=t.bindingRootIndex=t.tView.bindingStartIndex),n}function ec(){return tn.lFrame.bindingIndex++}function zs(t){const n=tn.lFrame,e=n.bindingIndex;return n.bindingIndex=n.bindingIndex+t,e}function w0(t,n){const e=tn.lFrame;e.bindingIndex=e.bindingRootIndex=t,Sf(n)}function Sf(t){tn.lFrame.currentDirectiveIndex=t}function xf(t){const n=tn.lFrame.currentDirectiveIndex;return-1===n?null:t[n]}function Qc(){return tn.lFrame.currentQueryIndex}function kf(t){tn.lFrame.currentQueryIndex=t}function S0(t){const n=t[1];return 2===n.type?n.declTNode:1===n.type?t[6]:null}function bg(t,n,e){if(e&Vt.SkipSelf){let r=n,o=t;for(;!(r=r.parent,null!==r||e&Vt.Host||(r=S0(o),null===r||(o=o[15],10&r.type))););if(null===r)return!1;n=r,t=o}const i=tn.lFrame=yg();return i.currentTNode=n,i.lView=t,!0}function Df(t){const n=yg(),e=t[1];tn.lFrame=n,n.currentTNode=e.firstChild,n.lView=t,n.tView=e,n.contextLView=t,n.bindingIndex=e.bindingStartIndex,n.inI18n=!1}function yg(){const t=tn.lFrame,n=null===t?null:t.child;return null===n?wg(t):n}function wg(t){const n={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return null!==t&&(t.child=n),n}function Cg(){const t=tn.lFrame;return tn.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const Sg=Cg;function Mf(){const t=Cg();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function Jr(){return tn.lFrame.selectedIndex}function eo(t){tn.lFrame.selectedIndex=t}function Hi(){const t=tn.lFrame;return mf(t.tView,t.selectedIndex)}function _r(){tn.lFrame.currentNamespace="svg"}function Yo(){!function Xc(){tn.lFrame.currentNamespace=null}()}function md(t,n){for(let e=n.directiveStart,i=n.directiveEnd;e=i)break}else n[l]<0&&(t[18]+=65536),(a>11>16&&(3&t[2])===n){t[2]+=2048;try{o.call(a)}finally{}}}else try{o.call(a)}finally{}}class nc{constructor(n,e,i){this.factory=n,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=i}}function gs(t,n,e){let i=0;for(;in){s=o-1;break}}}for(;o>16}(t),i=n;for(;e>0;)i=i[15],e--;return i}let Of=!0;function vd(t){const n=Of;return Of=t,n}let P0=0;const _s={};function Jc(t,n){const e=Pf(t,n);if(-1!==e)return e;const i=n[1];i.firstCreatePass&&(t.injectorIndex=n.length,If(i.data,t),If(n,null),If(i.blueprint,null));const r=bd(t,n),o=t.injectorIndex;if(Af(r)){const s=rc(r),a=js(r,n),l=a[1].data;for(let c=0;c<8;c++)n[o+c]=a[s+c]|l[s+c]}return n[o+8]=r,o}function If(t,n){t.push(0,0,0,0,0,0,0,0,n)}function Pf(t,n){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===n[t.injectorIndex+8]?-1:t.injectorIndex}function bd(t,n){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let e=0,i=null,r=n;for(;null!==r;){if(i=Sn(r),null===i)return-1;if(e++,r=r[15],-1!==i.injectorIndex)return i.injectorIndex|e<<16}return-1}function yd(t,n,e){!function R0(t,n,e){let i;"string"==typeof e?i=e.charCodeAt(0)||0:e.hasOwnProperty(Uc)&&(i=e[Uc]),null==i&&(i=e[Uc]=P0++);const r=255&i;n.data[t+(r>>5)]|=1<=0?255&n:L0:n}(e);if("function"==typeof o){if(!bg(n,t,i))return i&Vt.Host?Og(r,0,i):Ig(n,e,i,r);try{const s=o(i);if(null!=s||i&Vt.Optional)return s;Wc()}finally{Sg()}}else if("number"==typeof o){let s=null,a=Pf(t,n),l=-1,c=i&Vt.Host?n[16][6]:null;for((-1===a||i&Vt.SkipSelf)&&(l=-1===a?bd(t,n):n[a+8],-1!==l&&Zo(i,!1)?(s=n[1],a=rc(l),n=js(l,n)):a=-1);-1!==a;){const p=n[1];if(Ko(o,a,p.data)){const m=N0(a,n,e,s,i,c);if(m!==_s)return m}l=n[a+8],-1!==l&&Zo(i,n[1].data[a+8]===c)&&Ko(o,a,n)?(s=p,a=rc(l),n=js(l,n)):a=-1}}return r}function N0(t,n,e,i,r,o){const s=n[1],a=s.data[t+8],p=eu(a,s,e,null==i?ud(a)&&Of:i!=s&&0!=(3&a.type),r&Vt.Host&&o===a);return null!==p?oc(n,s,p,a):_s}function eu(t,n,e,i,r){const o=t.providerIndexes,s=n.data,a=1048575&o,l=t.directiveStart,p=o>>20,_=r?a+p:t.directiveEnd;for(let C=i?a:a+p;C<_;C++){const k=s[C];if(C=l&&k.type===e)return C}if(r){const C=s[l];if(C&&qo(C)&&C.type===e)return l}return null}function oc(t,n,e,i){let r=t[e];const o=n.data;if(function E0(t){return t instanceof nc}(r)){const s=r;s.resolving&&function Wy(t,n){const e=n?`. Dependency path: ${n.join(" > ")} > ${t}`:"";throw new ke(-200,`Circular dependency in DI detected for ${t}${e}`)}(function en(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():sn(t)}(o[e]));const a=vd(s.canSeeViewProviders);s.resolving=!0;const l=s.injectImpl?lo(s.injectImpl):null;bg(t,i,Vt.Default);try{r=t[e]=s.factory(void 0,o,t,i),n.firstCreatePass&&e>=i.directiveStart&&function M0(t,n,e){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:o}=n.type.prototype;if(i){const s=df(n);(e.preOrderHooks||(e.preOrderHooks=[])).push(t,s),(e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(t,s)}r&&(e.preOrderHooks||(e.preOrderHooks=[])).push(0-t,r),o&&((e.preOrderHooks||(e.preOrderHooks=[])).push(t,o),(e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(t,o))}(e,o[e],n)}finally{null!==l&&lo(l),vd(a),s.resolving=!1,Sg()}}return r}function Ko(t,n,e){return!!(e[n+(t>>5)]&1<{const n=t.prototype.constructor,e=n[Vs]||Ff(n),i=Object.prototype;let r=Object.getPrototypeOf(t.prototype).constructor;for(;r&&r!==i;){const o=r[Vs]||Ff(r);if(o&&o!==e)return o;r=Object.getPrototypeOf(r)}return o=>new o})}function Ff(t){return zc(t)?()=>{const n=Ff(Ut(t));return n&&n()}:fa(t)}function Sn(t){const n=t[1],e=n.type;return 2===e?n.declTNode:1===e?t[6]:null}function ho(t){return function F0(t,n){if("class"===n)return t.classes;if("style"===n)return t.styles;const e=t.attrs;if(e){const i=e.length;let r=0;for(;r{const i=function wd(t){return function(...e){if(t){const i=t(...e);for(const r in i)this[r]=i[r]}}}(n);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,p){const m=l.hasOwnProperty(rl)?l[rl]:Object.defineProperty(l,rl,{value:[]})[rl];for(;m.length<=p;)m.push(null);return(m[p]=m[p]||[]).push(s),l}}return e&&(r.prototype=Object.create(e.prototype)),r.prototype.ngMetadataName=t,r.annotationCls=r,r})}class u{constructor(n,e){this._desc=n,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof e?this.__NG_ELEMENT_ID__=e:void 0!==e&&(this.\u0275prov=Ee({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function dt(t,n){void 0===n&&(n=t);for(let e=0;eArray.isArray(e)?Bt(e,n):n(e))}function Oi(t,n,e){n>=t.length?t.push(e):t.splice(n,0,e)}function pi(t,n){return n>=t.length-1?t.pop():t.splice(n,1)[0]}function tu(t,n){const e=[];for(let i=0;i=0?t[1|i]=e:(i=~i,function t6(t,n,e,i){let r=t.length;if(r==n)t.push(e,i);else if(1===r)t.push(i,t[0]),t[0]=e;else{for(r--,t.push(t[r-1],t[r]);r>n;)t[r]=t[r-2],r--;t[n]=e,t[n+1]=i}}(t,i,n,e)),i}function H0(t,n){const e=Cd(t,n);if(e>=0)return t[1|e]}function Cd(t,n){return function YD(t,n,e){let i=0,r=t.length>>e;for(;r!==i;){const o=i+(r-i>>1),s=t[o<n?r=o:i=o+1}return~(r<((Lo=Lo||{})[Lo.Important=1]="Important",Lo[Lo.DashCase=2]="DashCase",Lo))();const Y0=new Map;let A6=0;const Z0="__ngContext__";function fo(t,n){uo(n)?(t[Z0]=n[20],function I6(t){Y0.set(t[20],t)}(n)):t[Z0]=n}function X0(t,n){return undefined(t,n)}function Wf(t){const n=t[3];return Go(n)?n[3]:n}function J0(t){return gM(t[13])}function ew(t){return gM(t[4])}function gM(t){for(;null!==t&&!Go(t);)t=t[4];return t}function kd(t,n,e,i,r){if(null!=i){let o,s=!1;Go(i)?o=i:uo(i)&&(s=!0,i=i[0]);const a=cr(i);0===t&&null!==e?null==r?CM(n,e,a):nu(n,e,a,r||null,!0):1===t&&null!==e?nu(n,e,a,r||null,!0):2===t?function aw(t,n,e){const i=Vg(t,n);i&&function e8(t,n,e,i){t.removeChild(n,e,i)}(t,i,n,e)}(n,a,s):3===t&&n.destroyNode(a),null!=o&&function i8(t,n,e,i,r){const o=e[7];o!==cr(e)&&kd(n,t,i,o,r);for(let a=10;a0&&(t[e-1][4]=i[4]);const o=pi(t,10+n);!function G6(t,n){jf(t,n,n[11],2,null,null),n[0]=null,n[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 bM(t,n){if(!(128&n[2])){const e=n[11];e.destroyNode&&jf(t,n,e,3,null,null),function K6(t){let n=t[13];if(!n)return rw(t[1],t);for(;n;){let e=null;if(uo(n))e=n[13];else{const i=n[10];i&&(e=i)}if(!e){for(;n&&!n[4]&&n!==t;)uo(n)&&rw(n[1],n),n=n[3];null===n&&(n=t),uo(n)&&rw(n[1],n),e=n&&n[4]}n=e}}(n)}}function rw(t,n){if(!(128&n[2])){n[2]&=-65,n[2]|=128,function J6(t,n){let e;if(null!=t&&null!=(e=t.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;ot,createScript:t=>t,createScriptURL:t=>t})}catch{}return Wg}()?.createHTML(t)||t}function hw(){if(void 0===jg&&(jg=null,ai.trustedTypes))try{jg=ai.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return jg}function IM(t){return hw()?.createHTML(t)||t}function RM(t){return hw()?.createScriptURL(t)||t}class ru{constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class c8 extends ru{getTypeName(){return"HTML"}}class u8 extends ru{getTypeName(){return"Style"}}class d8 extends ru{getTypeName(){return"Script"}}class h8 extends ru{getTypeName(){return"URL"}}class f8 extends ru{getTypeName(){return"ResourceURL"}}function Xo(t){return t instanceof ru?t.changingThisBreaksApplicationSecurity:t}function ma(t,n){const e=function p8(t){return t instanceof ru&&t.getTypeName()||null}(t);if(null!=e&&e!==n){if("ResourceURL"===e&&"URL"===n)return!0;throw new Error(`Required a safe ${n}, got a ${e} (see https://g.co/ng/security#xss)`)}return e===n}class y8{constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n=""+n;try{const e=(new window.DOMParser).parseFromString(iu(n),"text/html").body;return null===e?this.inertDocumentHelper.getInertBodyElement(n):(e.removeChild(e.firstChild),e)}catch{return null}}}class w8{constructor(n){if(this.defaultDoc=n,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(n){const e=this.inertDocument.createElement("template");if("content"in e)return e.innerHTML=iu(n),e;const i=this.inertDocument.createElement("body");return i.innerHTML=iu(n),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(i),i}stripCustomNsAttrs(n){const e=n.attributes;for(let r=e.length-1;0"),!0}endElement(n){const e=n.nodeName.toLowerCase();fw.hasOwnProperty(e)&&!NM.hasOwnProperty(e)&&(this.buf.push(""))}chars(n){this.buf.push(HM(n))}checkClobberedElement(n,e){if(e&&(n.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${n.outerHTML}`);return e}}const D8=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,M8=/([^\#-~ |!])/g;function HM(t){return t.replace(/&/g,"&").replace(D8,function(n){return"&#"+(1024*(n.charCodeAt(0)-55296)+(n.charCodeAt(1)-56320)+65536)+";"}).replace(M8,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(//g,">")}let $g;function zM(t,n){let e=null;try{$g=$g||function FM(t){const n=new w8(t);return function C8(){try{return!!(new window.DOMParser).parseFromString(iu(""),"text/html")}catch{return!1}}()?new y8(n):n}(t);let i=n?String(n):"";e=$g.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=$g.getInertBodyElement(i)}while(i!==o);return iu((new k8).sanitizeChildren(mw(e)||e))}finally{if(e){const i=mw(e)||e;for(;i.firstChild;)i.removeChild(i.firstChild)}}}function mw(t){return"content"in t&&function T8(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var ci=(()=>((ci=ci||{})[ci.NONE=0]="NONE",ci[ci.HTML=1]="HTML",ci[ci.STYLE=2]="STYLE",ci[ci.SCRIPT=3]="SCRIPT",ci[ci.URL=4]="URL",ci[ci.RESOURCE_URL=5]="RESOURCE_URL",ci))();function gw(t){const n=$f();return n?IM(n.sanitize(ci.HTML,t)||""):ma(t,"HTML")?IM(Xo(t)):zM(function OM(){return void 0!==dw?dw:typeof document<"u"?document:void 0}(),sn(t))}function _w(t){const n=$f();return n?n.sanitize(ci.URL,t)||"":ma(t,"URL")?Xo(t):Ug(sn(t))}function vw(t){const n=$f();if(n)return RM(n.sanitize(ci.RESOURCE_URL,t)||"");if(ma(t,"ResourceURL"))return RM(Xo(t));throw new ke(904,!1)}function $f(){const t=Ae();return t&&t[12]}const bw=new u("ENVIRONMENT_INITIALIZER"),WM=new u("INJECTOR",-1),jM=new u("INJECTOR_DEF_TYPES");class UM{get(n,e=Nf){if(e===Nf){const i=new Error(`NullInjectorError: No provider for ${vi(n)}!`);throw i.name="NullInjectorError",i}return e}}function F8(...t){return{\u0275providers:$M(0,t)}}function $M(t,...n){const e=[],i=new Set;let r;return Bt(n,o=>{const s=o;yw(s,e,[],i)&&(r||(r=[]),r.push(s))}),void 0!==r&&GM(r,e),e}function GM(t,n){for(let e=0;e{n.push(o)})}}function yw(t,n,e,i){if(!(t=Ut(t)))return!1;let r=null,o=ig(t);const s=!o&&li(t);if(o||s){if(s&&!s.standalone)return!1;r=t}else{const l=t.ngModule;if(o=ig(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)yw(c,n,e,i)}}else{if(!o)return!1;{if(null!=o.imports&&!a){let c;i.add(r);try{Bt(o.imports,p=>{yw(p,n,e,i)&&(c||(c=[]),c.push(p))})}finally{}void 0!==c&&GM(c,n)}if(!a){const c=fa(r)||(()=>new r);n.push({provide:r,useFactory:c,deps:Kn},{provide:jM,useValue:r,multi:!0},{provide:bw,useValue:()=>K(r),multi:!0})}const l=o.providers;null==l||a||Bt(l,p=>{n.push(p)})}}return r!==t&&void 0!==t.providers}const N8=_i({provide:String,useValue:_i});function ww(t){return null!==t&&"object"==typeof t&&N8 in t}function ou(t){return"function"==typeof t}const Cw=new u("Set Injector scope."),Gg={},B8={};let Sw;function qg(){return void 0===Sw&&(Sw=new UM),Sw}class lc{}class KM extends lc{constructor(n,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,kw(n,s=>this.processProvider(s)),this.records.set(WM,Dd(void 0,this)),r.has("environment")&&this.records.set(lc,Dd(void 0,this));const o=this.records.get(Cw);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(jM.multi,Kn,Vt.Self))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const n of this._ngOnDestroyHooks)n.ngOnDestroy();for(const n of this._onDestroyHooks)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(n){this._onDestroyHooks.push(n)}runInContext(n){this.assertNotDestroyed();const e=Sd(this),i=lo(void 0);try{return n()}finally{Sd(e),lo(i)}}get(n,e=Nf,i=Vt.Default){this.assertNotDestroyed();const r=Sd(this),o=lo(void 0);try{if(!(i&Vt.SkipSelf)){let a=this.records.get(n);if(void 0===a){const l=function j8(t){return"function"==typeof t||"object"==typeof t&&t instanceof u}(n)&&id(n);a=l&&this.injectableDefInScope(l)?Dd(xw(n),Gg):null,this.records.set(n,a)}if(null!=a)return this.hydrate(n,a)}return(i&Vt.Self?qg():this.parent).get(n,e=i&Vt.Optional&&e===Nf?null:e)}catch(s){if("NullInjectorError"===s.name){if((s[Ng]=s[Ng]||[]).unshift(vi(n)),r)throw s;return function f6(t,n,e,i){const r=t[Ng];throw n[KD]&&r.unshift(n[KD]),t.message=function p6(t,n,e,i=null){t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.slice(2):t;let r=vi(n);if(Array.isArray(n))r=n.map(vi).join(" -> ");else if("object"==typeof n){let o=[];for(let s in n)if(n.hasOwnProperty(s)){let a=n[s];o.push(s+":"+("string"==typeof a?JSON.stringify(a):vi(a)))}r=`{${o.join(", ")}}`}return`${e}${i?"("+i+")":""}[${r}]: ${t.replace(c6,"\n ")}`}("\n"+t.message,r,e,i),t.ngTokenPath=r,t[Ng]=null,t}(s,n,"R3InjectorError",this.source)}throw s}finally{lo(o),Sd(r)}}resolveInjectorInitializers(){const n=Sd(this),e=lo(void 0);try{const i=this.get(bw.multi,Kn,Vt.Self);for(const r of i)r()}finally{Sd(n),lo(e)}}toString(){const n=[],e=this.records;for(const i of e.keys())n.push(vi(i));return`R3Injector[${n.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new ke(205,!1)}processProvider(n){let e=ou(n=Ut(n))?n:Ut(n&&n.provide);const i=function H8(t){return ww(t)?Dd(void 0,t.useValue):Dd(ZM(t),Gg)}(n);if(ou(n)||!0!==n.multi)this.records.get(e);else{let r=this.records.get(e);r||(r=Dd(void 0,Gg,!0),r.factory=()=>j0(r.multi),this.records.set(e,r)),e=n,r.multi.push(n)}this.records.set(e,i)}hydrate(n,e){return e.value===Gg&&(e.value=B8,e.value=e.factory()),"object"==typeof e.value&&e.value&&function W8(t){return null!==t&&"object"==typeof t&&"function"==typeof t.ngOnDestroy}(e.value)&&this._ngOnDestroyHooks.add(e.value),e.value}injectableDefInScope(n){if(!n.providedIn)return!1;const e=Ut(n.providedIn);return"string"==typeof e?"any"===e||this.scopes.has(e):this.injectorDefTypes.has(e)}}function xw(t){const n=id(t),e=null!==n?n.factory:fa(t);if(null!==e)return e;if(t instanceof u)throw new ke(204,!1);if(t instanceof Function)return function V8(t){const n=t.length;if(n>0)throw tu(n,"?"),new ke(204,!1);const e=function mn(t){const n=t&&(t[ua]||t[rg]);if(n){const e=function Yy(t){if(t.hasOwnProperty("name"))return t.name;const n=(""+t).match(/^function\s*([^\s(]+)/);return null===n?"":n[1]}(t);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.`),n}return null}(t);return null!==e?()=>e.factory(t):()=>new t}(t);throw new ke(204,!1)}function ZM(t,n,e){let i;if(ou(t)){const r=Ut(t);return fa(r)||xw(r)}if(ww(t))i=()=>Ut(t.useValue);else if(function YM(t){return!(!t||!t.useFactory)}(t))i=()=>t.useFactory(...j0(t.deps||[]));else if(function qM(t){return!(!t||!t.useExisting)}(t))i=()=>K(Ut(t.useExisting));else{const r=Ut(t&&(t.useClass||t.provide));if(!function z8(t){return!!t.deps}(t))return fa(r)||xw(r);i=()=>new r(...j0(t.deps))}return i}function Dd(t,n,e=!1){return{factory:t,value:n,multi:e?[]:void 0}}function U8(t){return!!t.\u0275providers}function kw(t,n){for(const e of t)Array.isArray(e)?kw(e,n):U8(e)?kw(e.\u0275providers,n):n(e)}class QM{}class q8{resolveComponentFactory(n){throw function G8(t){const n=Error(`No component factory found for ${vi(t)}. Did you add it to @NgModule.entryComponents?`);return n.ngComponent=t,n}(n)}}let cc=(()=>{class t{}return t.NULL=new q8,t})();function Y8(){return Md(gr(),Ae())}function Md(t,n){return new xe(xo(t,n))}let xe=(()=>{class t{constructor(e){this.nativeElement=e}}return t.__NG_ELEMENT_ID__=Y8,t})();function K8(t){return t instanceof xe?t.nativeElement:t}class Gf{}let vs=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>function Z8(){const t=Ae(),e=ko(gr().index,t);return(uo(e)?e:t)[11]}(),t})(),Q8=(()=>{class t{}return t.\u0275prov=Ee({token:t,providedIn:"root",factory:()=>null}),t})();class su{constructor(n){this.full=n,this.major=n.split(".")[0],this.minor=n.split(".")[1],this.patch=n.split(".").slice(2).join(".")}}const X8=new su("14.3.0"),Dw={};function Tw(t){return t.ngOriginalError}class cl{constructor(){this._console=console}handleError(n){const e=this._findOriginalError(n);this._console.error("ERROR",n),e&&this._console.error("ORIGINAL ERROR",e)}_findOriginalError(n){let e=n&&Tw(n);for(;e&&Tw(e);)e=Tw(e);return e||null}}function JM(t){return t.ownerDocument.defaultView}function ul(t){return t instanceof Function?t():t}function tT(t,n,e){let i=t.length;for(;;){const r=t.indexOf(n,e);if(-1===r)return r;if(0===r||t.charCodeAt(r-1)<=32){const o=n.length;if(r+o===i||t.charCodeAt(r+o)<=32)return r}e=r+1}}const nT="ng-template";function lV(t,n,e){let i=0;for(;io?"":r[m+1].toLowerCase();const C=8&i?_:null;if(C&&-1!==tT(C,c,0)||2&i&&c!==_){if($s(i))return!1;s=!0}}}}else{if(!s&&!$s(i)&&!$s(l))return!1;if(s&&$s(l))continue;s=!1,i=l|1&i}}return $s(i)||s}function $s(t){return 0==(1&t)}function dV(t,n,e,i){if(null===n)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&&!$s(s)&&(n+=oT(o,r),r=""),i=s,o=o||!$s(i);e++}return""!==r&&(n+=oT(o,r)),n}const _n={};function I(t){sT(Vn(),Ae(),Jr()+t,!1)}function sT(t,n,e,i){if(!i)if(3==(3&n[2])){const o=t.preOrderCheckHooks;null!==o&&gd(n,o,e)}else{const o=t.preOrderHooks;null!==o&&tc(n,o,0,e)}eo(e)}function uT(t,n=null,e=null,i){const r=dT(t,n,e,i);return r.resolveInjectorInitializers(),r}function dT(t,n=null,e=null,i,r=new Set){const o=[e||Kn,F8(t)];return i=i||("object"==typeof t?void 0:vi(t)),new KM(o,n||qg(),i||null,r)}let Qi=(()=>{class t{static create(e,i){if(Array.isArray(e))return uT({name:""},i,e,"");{const r=e.name??"";return uT({name:r},e.parent,e.providers,r)}}}return t.THROW_IF_NOT_FOUND=Nf,t.NULL=new UM,t.\u0275prov=Ee({token:t,providedIn:"any",factory:()=>K(WM)}),t.__NG_ELEMENT_ID__=-1,t})();function D(t,n=Vt.Default){const e=Ae();return null===e?K(t,n):Pg(gr(),e,Ut(t),n)}function ga(){throw new Error("invalid")}function Kg(t,n){return t<<17|n<<2}function Gs(t){return t>>17&32767}function Pw(t){return 2|t}function dl(t){return(131068&t)>>2}function Rw(t,n){return-131069&t|n<<2}function Fw(t){return 1|t}function TT(t,n){const e=t.contentQueries;if(null!==e)for(let i=0;i22&&sT(t,n,22,!1),e(i,r)}finally{eo(o)}}function AT(t,n,e){if(cf(n)){const r=n.directiveEnd;for(let o=n.directiveStart;o0;){const e=t[--n];if("number"==typeof e&&e<0)return e}return 0})(a)!=l&&a.push(l),a.push(i,r,s)}}function LT(t,n){null!==t.hostBindings&&t.hostBindings(1,n)}function BT(t,n){n.flags|=2,(t.components||(t.components=[])).push(n.index)}function l7(t,n,e){if(e){if(n.exportAs)for(let i=0;i0&&Zw(e)}}function Zw(t){for(let i=J0(t);null!==i;i=ew(i))for(let r=10;r0&&Zw(o)}const e=t[1].components;if(null!==e)for(let i=0;i0&&Zw(r)}}function m7(t,n){const e=ko(n,t),i=e[1];(function g7(t,n){for(let e=n.length;e-1&&(iw(n,i),pi(e,i))}this._attachedToViewContainer=!1}bM(this._lView[1],this._lView)}onDestroy(n){IT(this._lView[1],this._lView,null,n)}markForCheck(){Qw(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-65}reattach(){this._lView[2]|=64}detectChanges(){t_(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new ke(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function Y6(t,n){jf(t,n,n[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new ke(902,!1);this._appRef=n}}class _7 extends qf{constructor(n){super(n),this._view=n}detectChanges(){const n=this._view;t_(n[1],n,n[8],!1)}checkNoChanges(){}get context(){return null}}class e1 extends cc{constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){const e=li(n);return new Yf(e,this.ngModule)}}function GT(t){const n=[];for(let e in t)t.hasOwnProperty(e)&&n.push({propName:t[e],templateName:e});return n}class b7{constructor(n,e){this.injector=n,this.parentInjector=e}get(n,e,i){const r=this.injector.get(n,Dw,i);return r!==Dw||e===Dw?r:this.parentInjector.get(n,e,i)}}class Yf extends QM{constructor(n,e){super(),this.componentDef=n,this.ngModule=e,this.componentType=n.type,this.selector=function _V(t){return t.map(gV).join(",")}(n.selectors),this.ngContentSelectors=n.ngContentSelectors?n.ngContentSelectors:[],this.isBoundToModule=!!e}get inputs(){return GT(this.componentDef.inputs)}get outputs(){return GT(this.componentDef.outputs)}create(n,e,i,r){let o=(r=r||this.ngModule)instanceof lc?r:r?.injector;o&&null!==this.componentDef.getStandaloneInjector&&(o=this.componentDef.getStandaloneInjector(o)||o);const s=o?new b7(n,o):n,a=s.get(Gf,null);if(null===a)throw new ke(407,!1);const l=s.get(Q8,null),c=a.createRenderer(null,this.componentDef),p=this.componentDef.selectors[0][0]||"div",m=i?function QV(t,n,e){return t.selectRootElement(n,e===Uo.ShadowDom)}(c,i,this.componentDef.encapsulation):nw(c,p,function v7(t){const n=t.toLowerCase();return"svg"===n?"svg":"math"===n?"math":null}(p)),_=this.componentDef.onPush?288:272,C=qw(0,null,null,1,0,null,null,null,null,null),k=Xg(null,C,null,_,null,null,a,c,l,s,null);let A,P;Df(k);try{const N=function C7(t,n,e,i,r,o){const s=e[1];e[22]=t;const l=Ad(s,22,2,"#host",null),c=l.mergedAttrs=n.hostAttrs;null!==c&&(n_(l,c,!0),null!==t&&(gs(r,t,c),null!==l.classes&&cw(r,t,l.classes),null!==l.styles&&AM(r,t,l.styles)));const p=i.createRenderer(t,n),m=Xg(e,OT(n),null,n.onPush?32:16,e[22],l,i,p,o||null,null,null);return s.firstCreatePass&&(yd(Jc(l,e),s,n.type),BT(s,l),VT(l,e.length,1)),e_(e,m),e[22]=m}(m,this.componentDef,k,a,c);if(m)if(i)gs(c,m,["ng-version",X8.full]);else{const{attrs:$,classes:U}=function vV(t){const n=[],e=[];let i=1,r=2;for(;i0&&cw(c,m,U.join(" "))}if(P=mf(C,22),void 0!==e){const $=P.projection=[];for(let U=0;U=0;i--){const r=t[i];r.hostVars=n+=r.hostVars,r.hostAttrs=_d(r.hostAttrs,e=_d(e,r.hostAttrs))}}(i)}function t1(t){return t===Yl?{}:t===Kn?[]:t}function D7(t,n){const e=t.viewQuery;t.viewQuery=e?(i,r)=>{n(i,r),e(i,r)}:n}function M7(t,n){const e=t.contentQueries;t.contentQueries=e?(i,r,o)=>{n(i,r,o),e(i,r,o)}:n}function T7(t,n){const e=t.hostBindings;t.hostBindings=e?(i,r)=>{n(i,r),e(i,r)}:n}let r_=null;function au(){if(!r_){const t=ai.Symbol;if(t&&t.iterator)r_=t.iterator;else{const n=Object.getOwnPropertyNames(Map.prototype);for(let e=0;ea(cr(se[i.index])):i.index;let X=null;if(!a&&l&&(X=function H7(t,n,e,i){const r=t.cleanup;if(null!=r)for(let o=0;ol?a[l]:null}"string"==typeof s&&(o+=2)}return null}(t,n,r,i.index)),null!==X)(X.__ngLastListenerFn__||X).__ngNextListenerFn__=o,X.__ngLastListenerFn__=o,C=!1;else{o=sE(i,n,m,o,!1);const se=e.listen(N,r,o);_.push(o,se),p&&p.push(r,U,$,$+1)}}else o=sE(i,n,m,o,!1);const k=i.outputs;let A;if(C&&null!==k&&(A=k[r])){const P=A.length;if(P)for(let N=0;N0;)n=n[15],t--;return n}(t,tn.lFrame.contextLView))[8]}(t)}function z7(t,n){let e=null;const i=function hV(t){const n=t.attrs;if(null!=n){const e=n.indexOf(5);if(0==(1&e))return n[e+1]}return null}(t);for(let r=0;r=0}const Br={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function gE(t){return t.substring(Br.key,Br.keyEnd)}function _E(t,n){const e=Br.textEnd;return e===n?-1:(n=Br.keyEnd=function Y7(t,n,e){for(;n32;)n++;return n}(t,Br.key=n,e),zd(t,n,e))}function zd(t,n,e){for(;n=0;e=_E(n,e))Qo(t,gE(n),!0)}function qs(t,n,e,i){const r=Ae(),o=Vn(),s=zs(2);o.firstUpdatePass&&xE(o,t,s,i),n!==_n&&po(r,s,n)&&DE(o,o.data[Jr()],r,r[11],t,r[s+1]=function r9(t,n){return null==t||("string"==typeof n?t+=n:"object"==typeof t&&(t=vi(Xo(t)))),t}(n,e),i,s)}function Ys(t,n,e,i){const r=Vn(),o=zs(2);r.firstUpdatePass&&xE(r,null,o,i);const s=Ae();if(e!==_n&&po(s,o,e)){const a=r.data[Jr()];if(TE(a,i)&&!SE(r,o)){let l=i?a.classesWithoutHost:a.stylesWithoutHost;null!==l&&(e=Ki(l,e||"")),r1(r,a,s,e,i)}else!function i9(t,n,e,i,r,o,s,a){r===_n&&(r=Kn);let l=0,c=0,p=0=t.expandoStartIndex}function xE(t,n,e,i){const r=t.data;if(null===r[e+1]){const o=r[Jr()],s=SE(t,e);TE(o,i)&&null===n&&!s&&(n=!1),n=function X7(t,n,e,i){const r=xf(t);let o=i?n.residualClasses:n.residualStyles;if(null===r)0===(i?n.classBindings:n.styleBindings)&&(e=Xf(e=a1(null,t,n,e,i),n.attrs,i),o=null);else{const s=n.directiveStylingLast;if(-1===s||t[s]!==r)if(e=a1(r,t,n,e,i),null===o){let l=function J7(t,n,e){const i=e?n.classBindings:n.styleBindings;if(0!==dl(i))return t[Gs(i)]}(t,n,i);void 0!==l&&Array.isArray(l)&&(l=a1(null,t,n,l[1],i),l=Xf(l,n.attrs,i),function e9(t,n,e,i){t[Gs(e?n.classBindings:n.styleBindings)]=i}(t,n,i,l))}else o=function t9(t,n,e){let i;const r=n.directiveEnd;for(let o=1+n.directiveStylingLast;o0)&&(c=!0)}else p=e;if(r)if(0!==l){const _=Gs(t[a+1]);t[i+1]=Kg(_,a),0!==_&&(t[_+1]=Rw(t[_+1],i)),t[a+1]=function LV(t,n){return 131071&t|n<<17}(t[a+1],i)}else t[i+1]=Kg(a,0),0!==a&&(t[a+1]=Rw(t[a+1],i)),a=i;else t[i+1]=Kg(l,0),0===a?a=i:t[l+1]=Rw(t[l+1],i),l=i;c&&(t[i+1]=Pw(t[i+1])),mE(t,p,i,!0),mE(t,p,i,!1),function j7(t,n,e,i,r){const o=r?t.residualClasses:t.residualStyles;null!=o&&"string"==typeof n&&Cd(o,n)>=0&&(e[i+1]=Fw(e[i+1]))}(n,p,t,i,o),s=Kg(a,l),o?n.classBindings=s:n.styleBindings=s}(r,o,n,e,s,i)}}function a1(t,n,e,i,r){let o=null;const s=e.directiveEnd;let a=e.directiveStylingLast;for(-1===a?a=e.directiveStart:a++;a0;){const l=t[r],c=Array.isArray(l),p=c?l[1]:l,m=null===p;let _=e[r+1];_===_n&&(_=m?Kn:void 0);let C=m?H0(_,i):p===i?_:void 0;if(c&&!a_(C)&&(C=H0(l,i)),a_(C)&&(a=C,s))return a;const k=t[r+1];r=s?Gs(k):dl(k)}if(null!==n){let l=o?n.residualClasses:n.residualStyles;null!=l&&(a=H0(l,i))}return a}function a_(t){return void 0!==t}function TE(t,n){return 0!=(t.flags&(n?16:32))}function M(t,n=""){const e=Ae(),i=Vn(),r=t+22,o=i.firstCreatePass?Ad(i,r,1,n,null):i.data[r],s=e[r]=function tw(t,n){return t.createText(n)}(e[11],n);Hg(i,e,s,o),ms(o,!1)}function Qn(t){return vn("",t,""),Qn}function vn(t,n,e){const i=Ae(),r=Pd(i,t,n,e);return r!==_n&&hl(i,Jr(),r),vn}function Wd(t,n,e,i,r){const o=Ae(),s=Rd(o,t,n,e,i,r);return s!==_n&&hl(o,Jr(),s),Wd}function l1(t,n,e){Ys(Qo,ya,Pd(Ae(),t,n,e),!0)}function ys(t,n,e){const i=Ae();return po(i,ec(),n)&&Jo(Vn(),Hi(),i,t,n,i[11],e,!0),ys}function l_(t,n,e){const i=Ae();if(po(i,ec(),n)){const o=Vn(),s=Hi();Jo(o,s,i,t,n,UT(xf(o.data),s,i),e,!0)}return l_}const cu=void 0;var S9=["en",[["a","p"],["AM","PM"],cu],[["AM","PM"],cu,cu],[["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"]],cu,[["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"]],cu,[["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}",cu,"{1} 'at' {0}",cu],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function C9(t){const e=Math.floor(Math.abs(t)),i=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===i?1:5}];let jd={};function Mo(t){const n=function x9(t){return t.toLowerCase().replace(/_/g,"-")}(t);let e=GE(n);if(e)return e;const i=n.split("-")[0];if(e=GE(i),e)return e;if("en"===i)return S9;throw new ke(701,!1)}function GE(t){return t in jd||(jd[t]=ai.ng&&ai.ng.common&&ai.ng.common.locales&&ai.ng.common.locales[t]),jd[t]}var rt=(()=>((rt=rt||{})[rt.LocaleId=0]="LocaleId",rt[rt.DayPeriodsFormat=1]="DayPeriodsFormat",rt[rt.DayPeriodsStandalone=2]="DayPeriodsStandalone",rt[rt.DaysFormat=3]="DaysFormat",rt[rt.DaysStandalone=4]="DaysStandalone",rt[rt.MonthsFormat=5]="MonthsFormat",rt[rt.MonthsStandalone=6]="MonthsStandalone",rt[rt.Eras=7]="Eras",rt[rt.FirstDayOfWeek=8]="FirstDayOfWeek",rt[rt.WeekendRange=9]="WeekendRange",rt[rt.DateFormat=10]="DateFormat",rt[rt.TimeFormat=11]="TimeFormat",rt[rt.DateTimeFormat=12]="DateTimeFormat",rt[rt.NumberSymbols=13]="NumberSymbols",rt[rt.NumberFormats=14]="NumberFormats",rt[rt.CurrencyCode=15]="CurrencyCode",rt[rt.CurrencySymbol=16]="CurrencySymbol",rt[rt.CurrencyName=17]="CurrencyName",rt[rt.Currencies=18]="Currencies",rt[rt.Directionality=19]="Directionality",rt[rt.PluralCase=20]="PluralCase",rt[rt.ExtraData=21]="ExtraData",rt))();const Ud="en-US";let qE=Ud;function d1(t,n,e,i,r){if(t=Ut(t),Array.isArray(t))for(let o=0;o>20;if(ou(t)||!t.multi){const C=new nc(l,r,D),k=f1(a,n,r?p:p+_,m);-1===k?(yd(Jc(c,s),o,a),h1(o,t,n.length),n.push(a),c.directiveStart++,c.directiveEnd++,r&&(c.providerIndexes+=1048576),e.push(C),s.push(C)):(e[k]=C,s[k]=C)}else{const C=f1(a,n,p+_,m),k=f1(a,n,p,p+_),A=C>=0&&e[C],P=k>=0&&e[k];if(r&&!P||!r&&!A){yd(Jc(c,s),o,a);const N=function wH(t,n,e,i,r){const o=new nc(t,e,D);return o.multi=[],o.index=n,o.componentProviders=0,vA(o,r,i&&!e),o}(r?yH:bH,e.length,r,i,l);!r&&P&&(e[k].providerFactory=N),h1(o,t,n.length,0),n.push(a),c.directiveStart++,c.directiveEnd++,r&&(c.providerIndexes+=1048576),e.push(N),s.push(N)}else h1(o,t,C>-1?C:k,vA(e[r?k:C],l,!r&&i));!r&&i&&P&&e[k].componentProviders++}}}function h1(t,n,e,i){const r=ou(n),o=function L8(t){return!!t.useClass}(n);if(r||o){const l=(o?Ut(n.useClass):n).prototype.ngOnDestroy;if(l){const c=t.destroyHooks||(t.destroyHooks=[]);if(!r&&n.multi){const p=c.indexOf(e);-1===p?c.push(e,[i,l]):c[p+1].push(i,l)}else c.push(e,l)}}}function vA(t,n,e){return e&&t.componentProviders++,t.multi.push(n)-1}function f1(t,n,e,i){for(let r=e;r{e.providersResolver=(i,r)=>function vH(t,n,e){const i=Vn();if(i.firstCreatePass){const r=qo(t);d1(e,i.data,i.blueprint,r,!0),d1(n,i.data,i.blueprint,r,!1)}}(i,r?r(t):t,n)}}class uu{}class bA{}class yA extends uu{constructor(n,e){super(),this._parent=e,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new e1(this);const i=Co(n);this._bootstrapComponents=ul(i.bootstrap),this._r3Injector=dT(n,e,[{provide:uu,useValue:this},{provide:cc,useValue:this.componentFactoryResolver}],vi(n),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(n)}get injector(){return this._r3Injector}destroy(){const n=this._r3Injector;!n.destroyed&&n.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null}onDestroy(n){this.destroyCbs.push(n)}}class m1 extends bA{constructor(n){super(),this.moduleType=n}create(n){return new yA(this.moduleType,n)}}class SH extends uu{constructor(n,e,i){super(),this.componentFactoryResolver=new e1(this),this.instance=null;const r=new KM([...n,{provide:uu,useValue:this},{provide:cc,useValue:this.componentFactoryResolver}],e||qg(),i,new Set(["environment"]));this.injector=r,r.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}}function f_(t,n,e=null){return new SH(t,n,e).injector}let xH=(()=>{class t{constructor(e){this._injector=e,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(e){if(!e.standalone)return null;if(!this.cachedInjectors.has(e.id)){const i=$M(0,e.type),r=i.length>0?f_([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 t.\u0275prov=Ee({token:t,providedIn:"environment",factory:()=>new t(K(lc))}),t})();function wA(t){t.getStandaloneInjector=n=>n.get(xH).getOrCreateStandaloneInjector(t)}function Xi(t,n,e){const i=Xr()+t,r=Ae();return r[i]===_n?va(r,i,e?n.call(e):n()):function Zf(t,n){return t[n]}(r,i)}function du(t,n,e,i){return TA(Ae(),Xr(),t,n,e,i)}function $d(t,n,e,i,r){return EA(Ae(),Xr(),t,n,e,i,r)}function rp(t,n){const e=t[n];return e===_n?void 0:e}function TA(t,n,e,i,r,o){const s=n+e;return po(t,s,r)?va(t,s+1,o?i.call(o,r):i(r)):rp(t,s+1)}function EA(t,n,e,i,r,o,s){const a=n+e;return lu(t,a,r,o)?va(t,a+2,s?i.call(s,r,o):i(r,o)):rp(t,a+2)}function AA(t,n,e,i,r,o,s,a){const l=n+e;return function o_(t,n,e,i,r){const o=lu(t,n,e,i);return po(t,n+2,r)||o}(t,l,r,o,s)?va(t,l+3,a?i.call(a,r,o,s):i(r,o,s)):rp(t,l+3)}function es(t,n){const e=Vn();let i;const r=t+22;e.firstCreatePass?(i=function HH(t,n){if(n)for(let e=n.length-1;e>=0;e--){const i=n[e];if(t===i.name)return i}}(n,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=fa(i.type)),s=lo(D);try{const a=vd(!1),l=o();return vd(a),function L7(t,n,e,i){e>=t.data.length&&(t.data[e]=null,t.blueprint[e]=null),n[e]=i}(e,Ae(),r,l),l}finally{lo(s)}}function wa(t,n,e){const i=t+22,r=Ae(),o=Jl(r,i);return op(r,i)?TA(r,Xr(),n,o.transform,e,o):o.transform(e)}function _1(t,n,e,i){const r=t+22,o=Ae(),s=Jl(o,r);return op(o,r)?EA(o,Xr(),n,s.transform,e,i,s):s.transform(e,i)}function op(t,n){return t[1].data[n].pure}function v1(t){return n=>{setTimeout(t,void 0,n)}}const Ge=class jH extends pe{constructor(n=!1){super(),this.__isAsync=n}emit(n){super.next(n)}subscribe(n,e,i){let r=n,o=e||(()=>null),s=i;if(n&&"object"==typeof n){const l=n;r=l.next?.bind(l),o=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(o=v1(o),r&&(r=v1(r)),s&&(s=v1(s)));const a=super.subscribe({next:r,error:o,complete:s});return n instanceof Z&&n.add(a),a}};function UH(){return this._results[au()]()}class Ks{constructor(n=!1){this._emitDistinctChangesOnly=n,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const e=au(),i=Ks.prototype;i[e]||(i[e]=UH)}get changes(){return this._changes||(this._changes=new Ge)}get(n){return this._results[n]}map(n){return this._results.map(n)}filter(n){return this._results.filter(n)}find(n){return this._results.find(n)}reduce(n,e){return this._results.reduce(n,e)}forEach(n){this._results.forEach(n)}some(n){return this._results.some(n)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(n,e){const i=this;i.dirty=!1;const r=dt(n);(this._changesDetected=!function Tt(t,n,e){if(t.length!==n.length)return!1;for(let i=0;i{class t{}return t.__NG_ELEMENT_ID__=qH,t})();const $H=ii,GH=class extends $H{constructor(n,e,i){super(),this._declarationLView=n,this._declarationTContainer=e,this.elementRef=i}createEmbeddedView(n,e){const i=this._declarationTContainer.tViews,r=Xg(this._declarationLView,i,n,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)),Uw(i,r,n),new qf(r)}};function qH(){return p_(gr(),Ae())}function p_(t,n){return 4&t.type?new GH(n,t,Md(t,n)):null}let wi=(()=>{class t{}return t.__NG_ELEMENT_ID__=YH,t})();function YH(){return NA(gr(),Ae())}const KH=wi,RA=class extends KH{constructor(n,e,i){super(),this._lContainer=n,this._hostTNode=e,this._hostLView=i}get element(){return Md(this._hostTNode,this._hostLView)}get injector(){return new sc(this._hostTNode,this._hostLView)}get parentInjector(){const n=bd(this._hostTNode,this._hostLView);if(Af(n)){const e=js(n,this._hostLView),i=rc(n);return new sc(e[1].data[i+8],e)}return new sc(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){const e=FA(this._lContainer);return null!==e&&e[n]||null}get length(){return this._lContainer.length-10}createEmbeddedView(n,e,i){let r,o;"number"==typeof i?r=i:null!=i&&(r=i.index,o=i.injector);const s=n.createEmbeddedView(e||{},o);return this.insert(s,r),s}createComponent(n,e,i,r,o){const s=n&&!function gt(t){return"function"==typeof t}(n);let a;if(s)a=e;else{const m=e||{};a=m.index,i=m.injector,r=m.projectableNodes,o=m.environmentInjector||m.ngModuleRef}const l=s?n:new Yf(li(n)),c=i||this.parentInjector;if(!o&&null==l.ngModule){const _=(s?c:this.parentInjector).get(lc,null);_&&(o=_)}const p=l.create(c,r,void 0,o);return this.insert(p.hostView,a),p}insert(n,e){const i=n._lView,r=i[1];if(function f0(t){return Go(t[3])}(i)){const p=this.indexOf(n);if(-1!==p)this.detach(p);else{const m=i[3],_=new RA(m,m[6],m[3]);_.detach(_.indexOf(n))}}const o=this._adjustIndex(e),s=this._lContainer;!function Z6(t,n,e,i){const r=10+i,o=e.length;i>0&&(e[r-1][4]=n),i0)i.push(s[a/2]);else{const c=o[a+1],p=n[-l];for(let m=10;m{class t{constructor(e){this.appInits=e,this.resolve=g_,this.reject=g_,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 t.\u0275fac=function(e){return new(e||t)(K(ap,8))},t.\u0275prov=Ee({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const Yd=new u("AppId",{providedIn:"root",factory:function a2(){return`${E1()}${E1()}${E1()}`}});function E1(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const l2=new u("Platform Initializer"),v_=new u("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),c2=new u("appBootstrapListener"),nr=new u("AnimationModuleType");let Sz=(()=>{class t{log(e){console.log(e)}warn(e){console.warn(e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ee({token:t,factory:t.\u0275fac,providedIn:"platform"}),t})();const Ca=new u("LocaleId",{providedIn:"root",factory:()=>ki(Ca,Vt.Optional|Vt.SkipSelf)||function xz(){return typeof $localize<"u"&&$localize.locale||Ud}()});class Dz{constructor(n,e){this.ngModuleFactory=n,this.componentFactories=e}}let A1=(()=>{class t{compileModuleSync(e){return new m1(e)}compileModuleAsync(e){return Promise.resolve(this.compileModuleSync(e))}compileModuleAndAllComponentsSync(e){const i=this.compileModuleSync(e),o=ul(Co(e).declarations).reduce((s,a)=>{const l=li(a);return l&&s.push(new Yf(l)),s},[]);return new Dz(i,o)}compileModuleAndAllComponentsAsync(e){return Promise.resolve(this.compileModuleAndAllComponentsSync(e))}clearCache(){}clearCacheFor(e){}getModuleId(e){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ee({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const Ez=(()=>Promise.resolve(0))();function O1(t){typeof Zone>"u"?Ez.then(()=>{t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}class bt{constructor({enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:e=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Ge(!1),this.onMicrotaskEmpty=new Ge(!1),this.onStable=new Ge(!1),this.onError=new Ge(!1),typeof Zone>"u")throw new ke(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)),n&&Zone.longStackTraceZoneSpec&&(r._inner=r._inner.fork(Zone.longStackTraceZoneSpec)),r.shouldCoalesceEventChangeDetection=!i&&e,r.shouldCoalesceRunChangeDetection=i,r.lastRequestAnimationFrameId=-1,r.nativeRequestAnimationFrame=function Az(){let t=ai.requestAnimationFrame,n=ai.cancelAnimationFrame;if(typeof Zone<"u"&&t&&n){const e=t[Zone.__symbol__("OriginalDelegate")];e&&(t=e);const i=n[Zone.__symbol__("OriginalDelegate")];i&&(n=i)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}().nativeRequestAnimationFrame,function Pz(t){const n=()=>{!function Iz(t){t.isCheckStableRunning||-1!==t.lastRequestAnimationFrameId||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(ai,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,P1(t),t.isCheckStableRunning=!0,I1(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),P1(t))}(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(e,i,r,o,s,a)=>{try{return h2(t),e.invokeTask(r,o,s,a)}finally{(t.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||t.shouldCoalesceRunChangeDetection)&&n(),f2(t)}},onInvoke:(e,i,r,o,s,a,l)=>{try{return h2(t),e.invoke(r,o,s,a,l)}finally{t.shouldCoalesceRunChangeDetection&&n(),f2(t)}},onHasTask:(e,i,r,o)=>{e.hasTask(r,o),i===r&&("microTask"==o.change?(t._hasPendingMicrotasks=o.microTask,P1(t),I1(t)):"macroTask"==o.change&&(t.hasPendingMacrotasks=o.macroTask))},onHandleError:(e,i,r,o)=>(e.handleError(r,o),t.runOutsideAngular(()=>t.onError.emit(o)),!1)})}(r)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!bt.isInAngularZone())throw new ke(909,!1)}static assertNotInAngularZone(){if(bt.isInAngularZone())throw new ke(909,!1)}run(n,e,i){return this._inner.run(n,e,i)}runTask(n,e,i,r){const o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+r,n,Oz,g_,g_);try{return o.runTask(s,e,i)}finally{o.cancelTask(s)}}runGuarded(n,e,i){return this._inner.runGuarded(n,e,i)}runOutsideAngular(n){return this._outer.run(n)}}const Oz={};function I1(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function P1(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&-1!==t.lastRequestAnimationFrameId)}function h2(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function f2(t){t._nesting--,I1(t)}class Rz{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Ge,this.onMicrotaskEmpty=new Ge,this.onStable=new Ge,this.onError=new Ge}run(n,e,i){return n.apply(e,i)}runGuarded(n,e,i){return n.apply(e,i)}runOutsideAngular(n){return n()}runTask(n,e,i,r){return n.apply(e,i)}}const p2=new u(""),b_=new u("");let N1,R1=(()=>{class t{constructor(e,i,r){this._ngZone=e,this.registry=i,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,N1||(function Fz(t){N1=t}(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:()=>{bt.assertNotInAngularZone(),O1(()=>{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())O1(()=>{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 t.\u0275fac=function(e){return new(e||t)(K(bt),K(F1),K(b_))},t.\u0275prov=Ee({token:t,factory:t.\u0275fac}),t})(),F1=(()=>{class t{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 N1?.findTestabilityInTree(this,e,i)??null}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ee({token:t,factory:t.\u0275fac,providedIn:"platform"}),t})(),fc=null;const m2=new u("AllowMultipleToken"),L1=new u("PlatformDestroyListeners");class g2{constructor(n,e){this.name=n,this.token=e}}function v2(t,n,e=[]){const i=`Platform: ${n}`,r=new u(i);return(o=[])=>{let s=B1();if(!s||s.injector.get(m2,!1)){const a=[...e,...o,{provide:r,useValue:!0}];t?t(a):function Bz(t){if(fc&&!fc.get(m2,!1))throw new ke(400,!1);fc=t;const n=t.get(y2);(function _2(t){const n=t.get(l2,null);n&&n.forEach(e=>e())})(t)}(function b2(t=[],n){return Qi.create({name:n,providers:[{provide:Cw,useValue:"platform"},{provide:L1,useValue:new Set([()=>fc=null])},...t]})}(a,i))}return function Hz(t){const n=B1();if(!n)throw new ke(401,!1);return n}()}}function B1(){return fc?.get(y2)??null}let y2=(()=>{class t{constructor(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(e,i){const r=function C2(t,n){let e;return e="noop"===t?new Rz:("zone.js"===t?void 0:t)||new bt(n),e}(i?.ngZone,function w2(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!t||!t.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!t||!t.ngZoneRunCoalescing)||!1}}(i)),o=[{provide:bt,useValue:r}];return r.run(()=>{const s=Qi.create({providers:o,parent:this.injector,name:e.moduleType.name}),a=e.create(s),l=a.injector.get(cl,null);if(!l)throw new ke(402,!1);return r.runOutsideAngular(()=>{const c=r.onError.subscribe({next:p=>{l.handleError(p)}});a.onDestroy(()=>{y_(this._modules,a),c.unsubscribe()})}),function S2(t,n,e){try{const i=e();return Qf(i)?i.catch(r=>{throw n.runOutsideAngular(()=>t.handleError(r)),r}):i}catch(i){throw n.runOutsideAngular(()=>t.handleError(i)),i}}(l,r,()=>{const c=a.injector.get(__);return c.runInitializers(),c.donePromise.then(()=>(function YE(t){mr(t,"Expected localeId to be defined"),"string"==typeof t&&(qE=t.toLowerCase().replace(/_/g,"-"))}(a.injector.get(Ca,Ud)||Ud),this._moduleDoBootstrap(a),a))})})}bootstrapModule(e,i=[]){const r=x2({},i);return function Nz(t,n,e){const i=new m1(e);return Promise.resolve(i)}(0,0,e).then(o=>this.bootstrapModuleFactory(o,r))}_moduleDoBootstrap(e){const i=e.injector.get(Kd);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>i.bootstrap(r));else{if(!e.instance.ngDoBootstrap)throw new ke(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 ke(404,!1);this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i());const e=this._injector.get(L1,null);e&&(e.forEach(i=>i()),e.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return t.\u0275fac=function(e){return new(e||t)(K(Qi))},t.\u0275prov=Ee({token:t,factory:t.\u0275fac,providedIn:"platform"}),t})();function x2(t,n){return Array.isArray(n)?n.reduce(x2,t):{...t,...n}}let Kd=(()=>{class t{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 bn(a=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{a.next(this._stable),a.complete()})}),s=new bn(a=>{let l;this._zone.runOutsideAngular(()=>{l=this._zone.onStable.subscribe(()=>{bt.assertNotInAngularZone(),O1(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,a.next(!0))})})});const c=this._zone.onUnstable.subscribe(()=>{bt.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{a.next(!1)}))});return()=>{l.unsubscribe(),c.unsubscribe()}});this.isStable=Yi(o,s.pipe(pn()))}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(e,i){const r=e instanceof QM;if(!this._injector.get(__).done)throw!r&&function Kl(t){const n=li(t)||Zr(t)||Qr(t);return null!==n&&n.standalone}(e),new ke(405,false);let s;s=r?e:this._injector.get(cc).resolveComponentFactory(e),this.componentTypes.push(s.componentType);const a=function Lz(t){return t.isBoundToModule}(s)?void 0:this._injector.get(uu),c=s.create(Qi.NULL,[],i||s.selector,a),p=c.location.nativeElement,m=c.injector.get(p2,null);return m?.registerApplication(p),c.onDestroy(()=>{this.detachView(c.hostView),y_(this.components,c),m?.unregisterApplication(p)}),this._loadComponent(c),c}tick(){if(this._runningTick)throw new ke(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;y_(this._views,i),i.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(c2,[]).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),()=>y_(this._destroyListeners,e)}destroy(){if(this._destroyed)throw new ke(406,!1);const e=this._injector;e.destroy&&!e.destroyed&&e.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return t.\u0275fac=function(e){return new(e||t)(K(bt),K(lc),K(cl))},t.\u0275prov=Ee({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function y_(t,n){const e=t.indexOf(n);e>-1&&t.splice(e,1)}let D2=!0,wn=(()=>{class t{}return t.__NG_ELEMENT_ID__=jz,t})();function jz(t){return function Uz(t,n,e){if(ud(t)&&!e){const i=ko(t.index,n);return new qf(i,i)}return 47&t.type?new qf(n[16],n):null}(gr(),Ae(),16==(16&t))}class O2{constructor(){}supports(n){return Kf(n)}create(n){return new Zz(n)}}const Kz=(t,n)=>n;class Zz{constructor(n){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=n||Kz}forEachItem(n){let e;for(e=this._itHead;null!==e;e=e._next)n(e)}forEachOperation(n){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=n,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let n;for(n=this._previousItHead=this._itHead;null!==n;n=n._next)n._nextPrevious=n._next;for(n=this._additionsHead;null!==n;n=n._nextAdded)n.previousIndex=n.currentIndex;for(this._additionsHead=this._additionsTail=null,n=this._movesHead;null!==n;n=n._nextMoved)n.previousIndex=n.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(n,e,i,r){let o;return null===n?o=this._itTail:(o=n._prev,this._remove(n)),null!==(n=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null))?(Object.is(n.item,e)||this._addIdentityChange(n,e),this._reinsertAfter(n,o,r)):null!==(n=null===this._linkedRecords?null:this._linkedRecords.get(i,r))?(Object.is(n.item,e)||this._addIdentityChange(n,e),this._moveAfter(n,o,r)):n=this._addAfter(new Qz(e,i),o,r),n}_verifyReinsertion(n,e,i,r){let o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==o?n=this._reinsertAfter(o,n._prev,r):n.currentIndex!=r&&(n.currentIndex=r,this._addToMoves(n,r)),n}_truncate(n){for(;null!==n;){const e=n._next;this._addToRemovals(this._unlink(n)),n=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(n,e,i){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(n);const r=n._prevRemoved,o=n._nextRemoved;return null===r?this._removalsHead=o:r._nextRemoved=o,null===o?this._removalsTail=r:o._prevRemoved=r,this._insertAfter(n,e,i),this._addToMoves(n,i),n}_moveAfter(n,e,i){return this._unlink(n),this._insertAfter(n,e,i),this._addToMoves(n,i),n}_addAfter(n,e,i){return this._insertAfter(n,e,i),this._additionsTail=null===this._additionsTail?this._additionsHead=n:this._additionsTail._nextAdded=n,n}_insertAfter(n,e,i){const r=null===e?this._itHead:e._next;return n._next=r,n._prev=e,null===r?this._itTail=n:r._prev=n,null===e?this._itHead=n:e._next=n,null===this._linkedRecords&&(this._linkedRecords=new I2),this._linkedRecords.put(n),n.currentIndex=i,n}_remove(n){return this._addToRemovals(this._unlink(n))}_unlink(n){null!==this._linkedRecords&&this._linkedRecords.remove(n);const e=n._prev,i=n._next;return null===e?this._itHead=i:e._next=i,null===i?this._itTail=e:i._prev=e,n}_addToMoves(n,e){return n.previousIndex===e||(this._movesTail=null===this._movesTail?this._movesHead=n:this._movesTail._nextMoved=n),n}_addToRemovals(n){return null===this._unlinkedRecords&&(this._unlinkedRecords=new I2),this._unlinkedRecords.put(n),n.currentIndex=null,n._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=n,n._prevRemoved=null):(n._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=n),n}_addIdentityChange(n,e){return n.item=e,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=n:this._identityChangesTail._nextIdentityChange=n,n}}class Qz{constructor(n,e){this.item=n,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 Xz{constructor(){this._head=null,this._tail=null}add(n){null===this._head?(this._head=this._tail=n,n._nextDup=null,n._prevDup=null):(this._tail._nextDup=n,n._prevDup=this._tail,n._nextDup=null,this._tail=n)}get(n,e){let i;for(i=this._head;null!==i;i=i._nextDup)if((null===e||e<=i.currentIndex)&&Object.is(i.trackById,n))return i;return null}remove(n){const e=n._prevDup,i=n._nextDup;return null===e?this._head=i:e._nextDup=i,null===i?this._tail=e:i._prevDup=e,null===this._head}}class I2{constructor(){this.map=new Map}put(n){const e=n.trackById;let i=this.map.get(e);i||(i=new Xz,this.map.set(e,i)),i.add(n)}get(n,e){const r=this.map.get(n);return r?r.get(n,e):null}remove(n){const e=n.trackById;return this.map.get(e).remove(n)&&this.map.delete(e),n}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function P2(t,n,e){const i=t.previousIndex;if(null===i)return i;let r=0;return e&&i{if(e&&e.key===r)this._maybeAddToChanges(e,i),this._appendAfter=e,e=e._next;else{const o=this._getOrCreateRecordForKey(r,i);e=this._insertBeforeOrAppend(e,o)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let i=e;null!==i;i=i._nextRemoved)i===this._mapHead&&(this._mapHead=null),this._records.delete(i.key),i._nextRemoved=i._next,i.previousValue=i.currentValue,i.currentValue=null,i._prev=null,i._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(n,e){if(n){const i=n._prev;return e._next=n,e._prev=i,n._prev=e,i&&(i._next=e),n===this._mapHead&&(this._mapHead=e),this._appendAfter=n,n}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(n,e){if(this._records.has(n)){const r=this._records.get(n);this._maybeAddToChanges(r,e);const o=r._prev,s=r._next;return o&&(o._next=s),s&&(s._prev=o),r._next=null,r._prev=null,r}const i=new eW(n);return this._records.set(n,i),i.currentValue=e,this._addToAdditions(i),i}_reset(){if(this.isDirty){let n;for(this._previousMapHead=this._mapHead,n=this._previousMapHead;null!==n;n=n._next)n._nextPrevious=n._next;for(n=this._changesHead;null!==n;n=n._nextChanged)n.previousValue=n.currentValue;for(n=this._additionsHead;null!=n;n=n._nextAdded)n.previousValue=n.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(n,e){Object.is(e,n.currentValue)||(n.previousValue=n.currentValue,n.currentValue=e,this._addToChanges(n))}_addToAdditions(n){null===this._additionsHead?this._additionsHead=this._additionsTail=n:(this._additionsTail._nextAdded=n,this._additionsTail=n)}_addToChanges(n){null===this._changesHead?this._changesHead=this._changesTail=n:(this._changesTail._nextChanged=n,this._changesTail=n)}_forEach(n,e){n instanceof Map?n.forEach(e):Object.keys(n).forEach(i=>e(n[i],i))}}class eW{constructor(n){this.key=n,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function F2(){return new pl([new O2])}let pl=(()=>{class t{constructor(e){this.factories=e}static create(e,i){if(null!=i){const r=i.factories.slice();e=e.concat(r)}return new t(e)}static extend(e){return{provide:t,useFactory:i=>t.create(e,i||F2()),deps:[[t,new al,new Us]]}}find(e){const i=this.factories.find(r=>r.supports(e));if(null!=i)return i;throw new ke(901,!1)}}return t.\u0275prov=Ee({token:t,providedIn:"root",factory:F2}),t})();function N2(){return new lp([new R2])}let lp=(()=>{class t{constructor(e){this.factories=e}static create(e,i){if(i){const r=i.factories.slice();e=e.concat(r)}return new t(e)}static extend(e){return{provide:t,useFactory:i=>t.create(e,i||N2()),deps:[[t,new al,new Us]]}}find(e){const i=this.factories.find(r=>r.supports(e));if(i)return i;throw new ke(901,!1)}}return t.\u0275prov=Ee({token:t,providedIn:"root",factory:N2}),t})();const iW=v2(null,"core",[]);let rW=(()=>{class t{constructor(e){}}return t.\u0275fac=function(e){return new(e||t)(K(Kd))},t.\u0275mod=Ct({type:t}),t.\u0275inj=yt({}),t})();function ml(t){return"boolean"==typeof t?t:null!=t&&"false"!==t}let S_=null;function Sa(){return S_}const Xt=new u("DocumentToken");let x_=(()=>{class t{historyGo(e){throw new Error("Not implemented")}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ee({token:t,factory:function(){return function lW(){return K(L2)}()},providedIn:"platform"}),t})();const cW=new u("Location Initialized");let L2=(()=>{class t extends x_{constructor(e){super(),this._doc=e,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Sa().getBaseHref(this._doc)}onPopState(e){const i=Sa().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",e,!1),()=>i.removeEventListener("popstate",e)}onHashChange(e){const i=Sa().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){B2()?this._history.pushState(e,i,r):this.location.hash=r}replaceState(e,i,r){B2()?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 t.\u0275fac=function(e){return new(e||t)(K(Xt))},t.\u0275prov=Ee({token:t,factory:function(){return function uW(){return new L2(K(Xt))}()},providedIn:"platform"}),t})();function B2(){return!!window.history.pushState}function j1(t,n){if(0==t.length)return n;if(0==n.length)return t;let e=0;return t.endsWith("/")&&e++,n.startsWith("/")&&e++,2==e?t+n.substring(1):1==e?t+n:t+"/"+n}function V2(t){const n=t.match(/#|\?|$/),e=n&&n.index||t.length;return t.slice(0,e-("/"===t[e-1]?1:0))+t.slice(e)}function gl(t){return t&&"?"!==t[0]?"?"+t:t}let fu=(()=>{class t{historyGo(e){throw new Error("Not implemented")}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ee({token:t,factory:function(){return ki(H2)},providedIn:"root"}),t})();const cp=new u("appBaseHref");let H2=(()=>{class t extends fu{constructor(e,i){super(),this._platformLocation=e,this._removeListenerFns=[],this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??ki(Xt).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 j1(this._baseHref,e)}path(e=!1){const i=this._platformLocation.pathname+gl(this._platformLocation.search),r=this._platformLocation.hash;return r&&e?`${i}${r}`:i}pushState(e,i,r,o){const s=this.prepareExternalUrl(r+gl(o));this._platformLocation.pushState(e,i,s)}replaceState(e,i,r,o){const s=this.prepareExternalUrl(r+gl(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 t.\u0275fac=function(e){return new(e||t)(K(x_),K(cp,8))},t.\u0275prov=Ee({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),dW=(()=>{class t extends fu{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=j1(this._baseHref,e);return i.length>0?"#"+i:i}pushState(e,i,r,o){let s=this.prepareExternalUrl(r+gl(o));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(e,i,s)}replaceState(e,i,r,o){let s=this.prepareExternalUrl(r+gl(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 t.\u0275fac=function(e){return new(e||t)(K(x_),K(cp,8))},t.\u0275prov=Ee({token:t,factory:t.\u0275fac}),t})(),up=(()=>{class t{constructor(e){this._subject=new Ge,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=e;const i=this._locationStrategy.getBaseHref();this._baseHref=V2(z2(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+gl(i))}normalize(e){return t.stripTrailingSlash(function fW(t,n){return t&&n.startsWith(t)?n.substring(t.length):n}(this._baseHref,z2(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+gl(i)),r)}replaceState(e,i="",r=null){this._locationStrategy.replaceState(r,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+gl(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 t.normalizeQueryParams=gl,t.joinWithSlash=j1,t.stripTrailingSlash=V2,t.\u0275fac=function(e){return new(e||t)(K(fu))},t.\u0275prov=Ee({token:t,factory:function(){return function hW(){return new up(K(fu))}()},providedIn:"root"}),t})();function z2(t){return t.replace(/\/index.html$/,"")}var br=(()=>((br=br||{})[br.Format=0]="Format",br[br.Standalone=1]="Standalone",br))(),Ln=(()=>((Ln=Ln||{})[Ln.Narrow=0]="Narrow",Ln[Ln.Abbreviated=1]="Abbreviated",Ln[Ln.Wide=2]="Wide",Ln[Ln.Short=3]="Short",Ln))(),ir=(()=>((ir=ir||{})[ir.Short=0]="Short",ir[ir.Medium=1]="Medium",ir[ir.Long=2]="Long",ir[ir.Full=3]="Full",ir))(),$t=(()=>(($t=$t||{})[$t.Decimal=0]="Decimal",$t[$t.Group=1]="Group",$t[$t.List=2]="List",$t[$t.PercentSign=3]="PercentSign",$t[$t.PlusSign=4]="PlusSign",$t[$t.MinusSign=5]="MinusSign",$t[$t.Exponential=6]="Exponential",$t[$t.SuperscriptingExponent=7]="SuperscriptingExponent",$t[$t.PerMille=8]="PerMille",$t[$t.Infinity=9]="Infinity",$t[$t.NaN=10]="NaN",$t[$t.TimeSeparator=11]="TimeSeparator",$t[$t.CurrencyDecimal=12]="CurrencyDecimal",$t[$t.CurrencyGroup=13]="CurrencyGroup",$t))();function k_(t,n){return Cs(Mo(t)[rt.DateFormat],n)}function D_(t,n){return Cs(Mo(t)[rt.TimeFormat],n)}function M_(t,n){return Cs(Mo(t)[rt.DateTimeFormat],n)}function ws(t,n){const e=Mo(t),i=e[rt.NumberSymbols][n];if(typeof i>"u"){if(n===$t.CurrencyDecimal)return e[rt.NumberSymbols][$t.Decimal];if(n===$t.CurrencyGroup)return e[rt.NumberSymbols][$t.Group]}return i}function j2(t){if(!t[rt.ExtraData])throw new Error(`Missing extra locale data for the locale "${t[rt.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Cs(t,n){for(let e=n;e>-1;e--)if(typeof t[e]<"u")return t[e];throw new Error("Locale data API: locale data undefined")}function $1(t){const[n,e]=t.split(":");return{hours:+n,minutes:+e}}const DW=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,dp={},MW=/((?:[^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 Vr=(()=>((Vr=Vr||{})[Vr.Short=0]="Short",Vr[Vr.ShortGMT=1]="ShortGMT",Vr[Vr.Long=2]="Long",Vr[Vr.Extended=3]="Extended",Vr))(),Jt=(()=>((Jt=Jt||{})[Jt.FullYear=0]="FullYear",Jt[Jt.Month=1]="Month",Jt[Jt.Date=2]="Date",Jt[Jt.Hours=3]="Hours",Jt[Jt.Minutes=4]="Minutes",Jt[Jt.Seconds=5]="Seconds",Jt[Jt.FractionalSeconds=6]="FractionalSeconds",Jt[Jt.Day=7]="Day",Jt))(),kn=(()=>((kn=kn||{})[kn.DayPeriods=0]="DayPeriods",kn[kn.Days=1]="Days",kn[kn.Months=2]="Months",kn[kn.Eras=3]="Eras",kn))();function U2(t,n,e,i){let r=function NW(t){if(q2(t))return t;if("number"==typeof t&&!isNaN(t))return new Date(t);if("string"==typeof t){if(t=t.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(t)){const[r,o=1,s=1]=t.split("-").map(a=>+a);return T_(r,o-1,s)}const e=parseFloat(t);if(!isNaN(t-e))return new Date(e);let i;if(i=t.match(DW))return function LW(t){const n=new Date(0);let e=0,i=0;const r=t[8]?n.setUTCFullYear:n.setFullYear,o=t[8]?n.setUTCHours:n.setHours;t[9]&&(e=Number(t[9]+t[10]),i=Number(t[9]+t[11])),r.call(n,Number(t[1]),Number(t[2])-1,Number(t[3]));const s=Number(t[4]||0)-e,a=Number(t[5]||0)-i,l=Number(t[6]||0),c=Math.floor(1e3*parseFloat("0."+(t[7]||0)));return o.call(n,s,a,l,c),n}(i)}const n=new Date(t);if(!q2(n))throw new Error(`Unable to convert "${t}" into a date`);return n}(t);n=_l(e,n)||n;let a,s=[];for(;n;){if(a=MW.exec(n),!a){s.push(n);break}{s=s.concat(a.slice(1));const p=s.pop();if(!p)break;n=p}}let l=r.getTimezoneOffset();i&&(l=G2(i,l),r=function FW(t,n,e){const i=e?-1:1,r=t.getTimezoneOffset();return function RW(t,n){return(t=new Date(t.getTime())).setMinutes(t.getMinutes()+n),t}(t,i*(G2(n,r)-r))}(r,i,!0));let c="";return s.forEach(p=>{const m=function PW(t){if(q1[t])return q1[t];let n;switch(t){case"G":case"GG":case"GGG":n=Ii(kn.Eras,Ln.Abbreviated);break;case"GGGG":n=Ii(kn.Eras,Ln.Wide);break;case"GGGGG":n=Ii(kn.Eras,Ln.Narrow);break;case"y":n=Er(Jt.FullYear,1,0,!1,!0);break;case"yy":n=Er(Jt.FullYear,2,0,!0,!0);break;case"yyy":n=Er(Jt.FullYear,3,0,!1,!0);break;case"yyyy":n=Er(Jt.FullYear,4,0,!1,!0);break;case"Y":n=I_(1);break;case"YY":n=I_(2,!0);break;case"YYY":n=I_(3);break;case"YYYY":n=I_(4);break;case"M":case"L":n=Er(Jt.Month,1,1);break;case"MM":case"LL":n=Er(Jt.Month,2,1);break;case"MMM":n=Ii(kn.Months,Ln.Abbreviated);break;case"MMMM":n=Ii(kn.Months,Ln.Wide);break;case"MMMMM":n=Ii(kn.Months,Ln.Narrow);break;case"LLL":n=Ii(kn.Months,Ln.Abbreviated,br.Standalone);break;case"LLLL":n=Ii(kn.Months,Ln.Wide,br.Standalone);break;case"LLLLL":n=Ii(kn.Months,Ln.Narrow,br.Standalone);break;case"w":n=G1(1);break;case"ww":n=G1(2);break;case"W":n=G1(1,!0);break;case"d":n=Er(Jt.Date,1);break;case"dd":n=Er(Jt.Date,2);break;case"c":case"cc":n=Er(Jt.Day,1);break;case"ccc":n=Ii(kn.Days,Ln.Abbreviated,br.Standalone);break;case"cccc":n=Ii(kn.Days,Ln.Wide,br.Standalone);break;case"ccccc":n=Ii(kn.Days,Ln.Narrow,br.Standalone);break;case"cccccc":n=Ii(kn.Days,Ln.Short,br.Standalone);break;case"E":case"EE":case"EEE":n=Ii(kn.Days,Ln.Abbreviated);break;case"EEEE":n=Ii(kn.Days,Ln.Wide);break;case"EEEEE":n=Ii(kn.Days,Ln.Narrow);break;case"EEEEEE":n=Ii(kn.Days,Ln.Short);break;case"a":case"aa":case"aaa":n=Ii(kn.DayPeriods,Ln.Abbreviated);break;case"aaaa":n=Ii(kn.DayPeriods,Ln.Wide);break;case"aaaaa":n=Ii(kn.DayPeriods,Ln.Narrow);break;case"b":case"bb":case"bbb":n=Ii(kn.DayPeriods,Ln.Abbreviated,br.Standalone,!0);break;case"bbbb":n=Ii(kn.DayPeriods,Ln.Wide,br.Standalone,!0);break;case"bbbbb":n=Ii(kn.DayPeriods,Ln.Narrow,br.Standalone,!0);break;case"B":case"BB":case"BBB":n=Ii(kn.DayPeriods,Ln.Abbreviated,br.Format,!0);break;case"BBBB":n=Ii(kn.DayPeriods,Ln.Wide,br.Format,!0);break;case"BBBBB":n=Ii(kn.DayPeriods,Ln.Narrow,br.Format,!0);break;case"h":n=Er(Jt.Hours,1,-12);break;case"hh":n=Er(Jt.Hours,2,-12);break;case"H":n=Er(Jt.Hours,1);break;case"HH":n=Er(Jt.Hours,2);break;case"m":n=Er(Jt.Minutes,1);break;case"mm":n=Er(Jt.Minutes,2);break;case"s":n=Er(Jt.Seconds,1);break;case"ss":n=Er(Jt.Seconds,2);break;case"S":n=Er(Jt.FractionalSeconds,1);break;case"SS":n=Er(Jt.FractionalSeconds,2);break;case"SSS":n=Er(Jt.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":n=A_(Vr.Short);break;case"ZZZZZ":n=A_(Vr.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":n=A_(Vr.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":n=A_(Vr.Long);break;default:return null}return q1[t]=n,n}(p);c+=m?m(r,e,l):"''"===p?"'":p.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),c}function T_(t,n,e){const i=new Date(0);return i.setFullYear(t,n,e),i.setHours(0,0,0),i}function _l(t,n){const e=function pW(t){return Mo(t)[rt.LocaleId]}(t);if(dp[e]=dp[e]||{},dp[e][n])return dp[e][n];let i="";switch(n){case"shortDate":i=k_(t,ir.Short);break;case"mediumDate":i=k_(t,ir.Medium);break;case"longDate":i=k_(t,ir.Long);break;case"fullDate":i=k_(t,ir.Full);break;case"shortTime":i=D_(t,ir.Short);break;case"mediumTime":i=D_(t,ir.Medium);break;case"longTime":i=D_(t,ir.Long);break;case"fullTime":i=D_(t,ir.Full);break;case"short":const r=_l(t,"shortTime"),o=_l(t,"shortDate");i=E_(M_(t,ir.Short),[r,o]);break;case"medium":const s=_l(t,"mediumTime"),a=_l(t,"mediumDate");i=E_(M_(t,ir.Medium),[s,a]);break;case"long":const l=_l(t,"longTime"),c=_l(t,"longDate");i=E_(M_(t,ir.Long),[l,c]);break;case"full":const p=_l(t,"fullTime"),m=_l(t,"fullDate");i=E_(M_(t,ir.Full),[p,m])}return i&&(dp[e][n]=i),i}function E_(t,n){return n&&(t=t.replace(/\{([^}]+)}/g,function(e,i){return null!=n&&i in n?n[i]:e})),t}function Xs(t,n,e="-",i,r){let o="";(t<0||r&&t<=0)&&(r?t=1-t:(t=-t,o=e));let s=String(t);for(;s.length0||a>-e)&&(a+=e),t===Jt.Hours)0===a&&-12===e&&(a=12);else if(t===Jt.FractionalSeconds)return function TW(t,n){return Xs(t,3).substring(0,n)}(a,n);const l=ws(s,$t.MinusSign);return Xs(a,n,l,i,r)}}function Ii(t,n,e=br.Format,i=!1){return function(r,o){return function AW(t,n,e,i,r,o){switch(e){case kn.Months:return function _W(t,n,e){const i=Mo(t),o=Cs([i[rt.MonthsFormat],i[rt.MonthsStandalone]],n);return Cs(o,e)}(n,r,i)[t.getMonth()];case kn.Days:return function gW(t,n,e){const i=Mo(t),o=Cs([i[rt.DaysFormat],i[rt.DaysStandalone]],n);return Cs(o,e)}(n,r,i)[t.getDay()];case kn.DayPeriods:const s=t.getHours(),a=t.getMinutes();if(o){const c=function wW(t){const n=Mo(t);return j2(n),(n[rt.ExtraData][2]||[]).map(i=>"string"==typeof i?$1(i):[$1(i[0]),$1(i[1])])}(n),p=function CW(t,n,e){const i=Mo(t);j2(i);const o=Cs([i[rt.ExtraData][0],i[rt.ExtraData][1]],n)||[];return Cs(o,e)||[]}(n,r,i),m=c.findIndex(_=>{if(Array.isArray(_)){const[C,k]=_,A=s>=C.hours&&a>=C.minutes,P=s0?Math.floor(r/60):Math.ceil(r/60);switch(t){case Vr.Short:return(r>=0?"+":"")+Xs(s,2,o)+Xs(Math.abs(r%60),2,o);case Vr.ShortGMT:return"GMT"+(r>=0?"+":"")+Xs(s,1,o);case Vr.Long:return"GMT"+(r>=0?"+":"")+Xs(s,2,o)+":"+Xs(Math.abs(r%60),2,o);case Vr.Extended:return 0===i?"Z":(r>=0?"+":"")+Xs(s,2,o)+":"+Xs(Math.abs(r%60),2,o);default:throw new Error(`Unknown zone width "${t}"`)}}}function $2(t){return T_(t.getFullYear(),t.getMonth(),t.getDate()+(4-t.getDay()))}function G1(t,n=!1){return function(e,i){let r;if(n){const o=new Date(e.getFullYear(),e.getMonth(),1).getDay()-1,s=e.getDate();r=1+Math.floor((s+o)/7)}else{const o=$2(e),s=function IW(t){const n=T_(t,0,1).getDay();return T_(t,0,1+(n<=4?4:11)-n)}(o.getFullYear()),a=o.getTime()-s.getTime();r=1+Math.round(a/6048e5)}return Xs(r,t,ws(i,$t.MinusSign))}}function I_(t,n=!1){return function(e,i){return Xs($2(e).getFullYear(),t,ws(i,$t.MinusSign),n)}}const q1={};function G2(t,n){t=t.replace(/:/g,"");const e=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(e)?n:e}function q2(t){return t instanceof Date&&!isNaN(t.valueOf())}function Q2(t,n){n=encodeURIComponent(n);for(const e of t.split(";")){const i=e.indexOf("="),[r,o]=-1==i?[e,""]:[e.slice(0,i),e.slice(i+1)];if(r.trim()===n)return decodeURIComponent(o)}return null}let Zd=(()=>{class t{constructor(e,i,r,o){this._iterableDiffers=e,this._keyValueDiffers=i,this._ngEl=r,this._renderer=o,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(e){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof e?e.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(e){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof e?e.split(/\s+/):e,this._rawClass&&(Kf(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const e=this._iterableDiffer.diff(this._rawClass);e&&this._applyIterableChanges(e)}else if(this._keyValueDiffer){const e=this._keyValueDiffer.diff(this._rawClass);e&&this._applyKeyValueChanges(e)}}_applyKeyValueChanges(e){e.forEachAddedItem(i=>this._toggleClass(i.key,i.currentValue)),e.forEachChangedItem(i=>this._toggleClass(i.key,i.currentValue)),e.forEachRemovedItem(i=>{i.previousValue&&this._toggleClass(i.key,!1)})}_applyIterableChanges(e){e.forEachAddedItem(i=>{if("string"!=typeof i.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${vi(i.item)}`);this._toggleClass(i.item,!0)}),e.forEachRemovedItem(i=>this._toggleClass(i.item,!1))}_applyClasses(e){e&&(Array.isArray(e)||e instanceof Set?e.forEach(i=>this._toggleClass(i,!0)):Object.keys(e).forEach(i=>this._toggleClass(i,!!e[i])))}_removeClasses(e){e&&(Array.isArray(e)||e instanceof Set?e.forEach(i=>this._toggleClass(i,!1)):Object.keys(e).forEach(i=>this._toggleClass(i,!1)))}_toggleClass(e,i){(e=e.trim())&&e.split(/\s+/g).forEach(r=>{i?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r)})}}return t.\u0275fac=function(e){return new(e||t)(D(pl),D(lp),D(xe),D(vs))},t.\u0275dir=fe({type:t,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),t})();class ZW{constructor(n,e,i,r){this.$implicit=n,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 Eo=(()=>{class t{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 ZW(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),eO(a,r)}});for(let r=0,o=i.length;r{eO(i.get(r.currentIndex),r)})}static ngTemplateContextGuard(e,i){return!0}}return t.\u0275fac=function(e){return new(e||t)(D(wi),D(ii),D(pl))},t.\u0275dir=fe({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),t})();function eO(t,n){t.context.$implicit=n.item}let ui=(()=>{class t{constructor(e,i){this._viewContainer=e,this._context=new XW,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){tO("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){tO("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 t.\u0275fac=function(e){return new(e||t)(D(wi),D(ii))},t.\u0275dir=fe({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),t})();class XW{constructor(){this.$implicit=null,this.ngIf=null}}function tO(t,n){if(n&&!n.createEmbeddedView)throw new Error(`${t} must be a TemplateRef, but received '${vi(n)}'.`)}class J1{constructor(n,e){this._viewContainerRef=n,this._templateRef=e,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(n){n&&!this._created?this.create():!n&&this._created&&this.destroy()}}let vl=(()=>{class t{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 t{constructor(e,i,r){this.ngSwitch=r,r._addCase(),this._view=new J1(e,i)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return t.\u0275fac=function(e){return new(e||t)(D(wi),D(ii),D(vl,9))},t.\u0275dir=fe({type:t,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0}),t})(),eC=(()=>{class t{constructor(e,i,r){r._addDefault(new J1(e,i))}}return t.\u0275fac=function(e){return new(e||t)(D(wi),D(ii),D(vl,9))},t.\u0275dir=fe({type:t,selectors:[["","ngSwitchDefault",""]],standalone:!0}),t})(),tC=(()=>{class t{constructor(e){this._viewContainerRef=e,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(e){if(e.ngTemplateOutlet||e.ngTemplateOutletInjector){const i=this._viewContainerRef;if(this._viewRef&&i.remove(i.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:r,ngTemplateOutletContext:o,ngTemplateOutletInjector:s}=this;this._viewRef=i.createEmbeddedView(r,o,s?{injector:s}:void 0)}else this._viewRef=null}else this._viewRef&&e.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return t.\u0275fac=function(e){return new(e||t)(D(wi))},t.\u0275dir=fe({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[Tn]}),t})();function Js(t,n){return new ke(2100,!1)}class tj{createSubscription(n,e){return n.subscribe({next:e,error:i=>{throw i}})}dispose(n){n.unsubscribe()}}class nj{createSubscription(n,e){return n.then(e,i=>{throw i})}dispose(n){}}const ij=new nj,rj=new tj;let nC=(()=>{class t{constructor(e){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=e}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(e){return this._obj?e!==this._obj?(this._dispose(),this.transform(e)):this._latestValue:(e&&this._subscribe(e),this._latestValue)}_subscribe(e){this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,i=>this._updateLatestValue(e,i))}_selectStrategy(e){if(Qf(e))return ij;if(iE(e))return rj;throw Js()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(e,i){e===this._obj&&(this._latestValue=i,this._ref.markForCheck())}}return t.\u0275fac=function(e){return new(e||t)(D(wn,16))},t.\u0275pipe=Lr({name:"async",type:t,pure:!1,standalone:!0}),t})(),iC=(()=>{class t{transform(e){return JSON.stringify(e,null,2)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=Lr({name:"json",type:t,pure:!1,standalone:!0}),t})(),fp=(()=>{class t{constructor(e){this.differs=e,this.keyValues=[],this.compareFn=iO}transform(e,i=iO){if(!e||!(e instanceof Map)&&"object"!=typeof e)return null;this.differ||(this.differ=this.differs.find(e).create());const r=this.differ.diff(e),o=i!==this.compareFn;return r&&(this.keyValues=[],r.forEachItem(s=>{this.keyValues.push(function pj(t,n){return{key:t,value:n}}(s.key,s.currentValue))})),(r||o)&&(this.keyValues.sort(i),this.compareFn=i),this.keyValues}}return t.\u0275fac=function(e){return new(e||t)(D(lp,16))},t.\u0275pipe=Lr({name:"keyvalue",type:t,pure:!1,standalone:!0}),t})();function iO(t,n){const e=t.key,i=n.key;if(e===i)return 0;if(void 0===e)return 1;if(void 0===i)return-1;if(null===e)return 1;if(null===i)return-1;if("string"==typeof e&&"string"==typeof i)return e{class t{transform(e,i,r){if(null==e)return null;if(!this.supports(e))throw Js();return e.slice(i,r)}supports(e){return"string"==typeof e||Array.isArray(e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=Lr({name:"slice",type:t,pure:!1,standalone:!0}),t})(),Ao=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Ct({type:t}),t.\u0275inj=yt({}),t})();const oO="browser";let Cj=(()=>{class t{}return t.\u0275prov=Ee({token:t,providedIn:"root",factory:()=>new Sj(K(Xt),window)}),t})();class Sj{constructor(n,e){this.document=n,this.window=e,this.offset=()=>[0,0]}setOffset(n){this.offset=Array.isArray(n)?()=>n:n}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(n){this.supportsScrolling()&&this.window.scrollTo(n[0],n[1])}scrollToAnchor(n){if(!this.supportsScrolling())return;const e=function xj(t,n){const e=t.getElementById(n)||t.getElementsByName(n)[0];if(e)return e;if("function"==typeof t.createTreeWalker&&t.body&&(t.body.createShadowRoot||t.body.attachShadow)){const i=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT);let r=i.currentNode;for(;r;){const o=r.shadowRoot;if(o){const s=o.getElementById(n)||o.querySelector(`[name="${n}"]`);if(s)return s}r=i.nextNode()}}return null}(this.document,n);e&&(this.scrollToElement(e),e.focus())}setHistoryScrollRestoration(n){if(this.supportScrollRestoration()){const e=this.window.history;e&&e.scrollRestoration&&(e.scrollRestoration=n)}}scrollToElement(n){const e=n.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 n=sO(this.window.history)||sO(Object.getPrototypeOf(this.window.history));return!(!n||!n.writable&&!n.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function sO(t){return Object.getOwnPropertyDescriptor(t,"scrollRestoration")}class aO{}class lC extends class Qj extends class aW{}{constructor(){super(...arguments),this.supportsDOMEvents=!0}}{static makeCurrent(){!function sW(t){S_||(S_=t)}(new lC)}onAndCancel(n,e,i){return n.addEventListener(e,i,!1),()=>{n.removeEventListener(e,i,!1)}}dispatchEvent(n,e){n.dispatchEvent(e)}remove(n){n.parentNode&&n.parentNode.removeChild(n)}createElement(n,e){return(e=e||this.getDefaultDocument()).createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,e){return"window"===e?window:"document"===e?n:"body"===e?n.body:null}getBaseHref(n){const e=function Xj(){return mp=mp||document.querySelector("base"),mp?mp.getAttribute("href"):null}();return null==e?null:function Jj(t){N_=N_||document.createElement("a"),N_.setAttribute("href",t);const n=N_.pathname;return"/"===n.charAt(0)?n:`/${n}`}(e)}resetBaseElement(){mp=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return Q2(document.cookie,n)}}let N_,mp=null;const hO=new u("TRANSITION_ID"),tU=[{provide:ap,useFactory:function eU(t,n,e){return()=>{e.get(__).donePromise.then(()=>{const i=Sa(),r=n.querySelectorAll(`style[ng-transition="${t}"]`);for(let o=0;o{class t{build(){return new XMLHttpRequest}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ee({token:t,factory:t.\u0275fac}),t})();const L_=new u("EventManagerPlugins");let B_=(()=>{class t{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 t{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 t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ee({token:t,factory:t.\u0275fac}),t})(),gp=(()=>{class t extends pO{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(mO),this._hostNodes.delete(e)}onStylesAdded(e){this._hostNodes.forEach((i,r)=>{this._addStylesToHost(e,r,i)})}ngOnDestroy(){this._hostNodes.forEach(e=>e.forEach(mO))}}return t.\u0275fac=function(e){return new(e||t)(K(Xt))},t.\u0275prov=Ee({token:t,factory:t.\u0275fac}),t})();function mO(t){Sa().remove(t)}const cC={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/"},uC=/%COMP%/g;function V_(t,n,e){for(let i=0;i{if("__ngUnwrap__"===n)return t;!1===t(n)&&(n.preventDefault(),n.returnValue=!1)}}let H_=(()=>{class t{constructor(e,i,r){this.eventManager=e,this.sharedStylesHost=i,this.appId=r,this.rendererByCompId=new Map,this.defaultRenderer=new dC(e)}createRenderer(e,i){if(!e||!i)return this.defaultRenderer;switch(i.encapsulation){case Uo.Emulated:{let r=this.rendererByCompId.get(i.id);return r||(r=new cU(this.eventManager,this.sharedStylesHost,i,this.appId),this.rendererByCompId.set(i.id,r)),r.applyToHost(e),r}case 1:case Uo.ShadowDom:return new uU(this.eventManager,this.sharedStylesHost,e,i);default:if(!this.rendererByCompId.has(i.id)){const r=V_(i.id,i.styles,[]);this.sharedStylesHost.addStyles(r),this.rendererByCompId.set(i.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return t.\u0275fac=function(e){return new(e||t)(K(B_),K(gp),K(Yd))},t.\u0275prov=Ee({token:t,factory:t.\u0275fac}),t})();class dC{constructor(n){this.eventManager=n,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(n,e){return e?document.createElementNS(cC[e]||e,n):document.createElement(n)}createComment(n){return document.createComment(n)}createText(n){return document.createTextNode(n)}appendChild(n,e){(yO(n)?n.content:n).appendChild(e)}insertBefore(n,e,i){n&&(yO(n)?n.content:n).insertBefore(e,i)}removeChild(n,e){n&&n.removeChild(e)}selectRootElement(n,e){let i="string"==typeof n?document.querySelector(n):n;if(!i)throw new Error(`The selector "${n}" did not match any elements`);return e||(i.textContent=""),i}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,e,i,r){if(r){e=r+":"+e;const o=cC[r];o?n.setAttributeNS(o,e,i):n.setAttribute(e,i)}else n.setAttribute(e,i)}removeAttribute(n,e,i){if(i){const r=cC[i];r?n.removeAttributeNS(r,e):n.removeAttribute(`${i}:${e}`)}else n.removeAttribute(e)}addClass(n,e){n.classList.add(e)}removeClass(n,e){n.classList.remove(e)}setStyle(n,e,i,r){r&(Lo.DashCase|Lo.Important)?n.style.setProperty(e,i,r&Lo.Important?"important":""):n.style[e]=i}removeStyle(n,e,i){i&Lo.DashCase?n.style.removeProperty(e):n.style[e]=""}setProperty(n,e,i){n[e]=i}setValue(n,e){n.nodeValue=e}listen(n,e,i){return"string"==typeof n?this.eventManager.addGlobalEventListener(n,e,vO(i)):this.eventManager.addEventListener(n,e,vO(i))}}function yO(t){return"TEMPLATE"===t.tagName&&void 0!==t.content}class cU extends dC{constructor(n,e,i,r){super(n),this.component=i;const o=V_(r+"-"+i.id,i.styles,[]);e.addStyles(o),this.contentAttr=function sU(t){return"_ngcontent-%COMP%".replace(uC,t)}(r+"-"+i.id),this.hostAttr=function aU(t){return"_nghost-%COMP%".replace(uC,t)}(r+"-"+i.id)}applyToHost(n){super.setAttribute(n,this.hostAttr,"")}createElement(n,e){const i=super.createElement(n,e);return super.setAttribute(i,this.contentAttr,""),i}}class uU extends dC{constructor(n,e,i,r){super(n),this.sharedStylesHost=e,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const o=V_(r.id,r.styles,[]);for(let s=0;s{class t extends fO{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 t.\u0275fac=function(e){return new(e||t)(K(Xt))},t.\u0275prov=Ee({token:t,factory:t.\u0275fac}),t})();const wO=["alt","control","meta","shift"],hU={"\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"},fU={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};let pU=(()=>{class t extends fO{constructor(e){super(e)}supports(e){return null!=t.parseEventName(e)}addEventListener(e,i,r){const o=t.parseEventName(i),s=t.eventCallback(o.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Sa().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=t._normalizeKey(i.pop());let s="",a=i.indexOf("code");if(a>-1&&(i.splice(a,1),s="code."),wO.forEach(c=>{const p=i.indexOf(c);p>-1&&(i.splice(p,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=hU[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"),wO.forEach(s=>{s!==r&&(0,fU[s])(e)&&(o+=s+".")}),o+=r,o===i)}static eventCallback(e,i,r){return o=>{t.matchEventFullKeyCode(o,e)&&r.runGuarded(()=>i(o))}}static _normalizeKey(e){return"esc"===e?"escape":e}}return t.\u0275fac=function(e){return new(e||t)(K(Xt))},t.\u0275prov=Ee({token:t,factory:t.\u0275fac}),t})();const SO=[{provide:v_,useValue:oO},{provide:l2,useValue:function mU(){lC.makeCurrent()},multi:!0},{provide:Xt,useFactory:function _U(){return function l8(t){dw=t}(document),document},deps:[]}],vU=v2(iW,"browser",SO),xO=new u(""),kO=[{provide:b_,useClass:class nU{addToWindow(n){ai.getAngularTestability=(i,r=!0)=>{const o=n.findTestabilityInTree(i,r);if(null==o)throw new Error("Could not find testability for element.");return o},ai.getAllAngularTestabilities=()=>n.getAllTestabilities(),ai.getAllAngularRootElements=()=>n.getAllRootElements(),ai.frameworkStabilizers||(ai.frameworkStabilizers=[]),ai.frameworkStabilizers.push(i=>{const r=ai.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(n,e,i){return null==e?null:n.getTestability(e)??(i?Sa().isShadowRoot(e)?this.findTestabilityInTree(n,e.host,!0):this.findTestabilityInTree(n,e.parentElement,!0):null)}},deps:[]},{provide:p2,useClass:R1,deps:[bt,F1,b_]},{provide:R1,useClass:R1,deps:[bt,F1,b_]}],DO=[{provide:Cw,useValue:"root"},{provide:cl,useFactory:function gU(){return new cl},deps:[]},{provide:L_,useClass:dU,multi:!0,deps:[Xt,bt,v_]},{provide:L_,useClass:pU,multi:!0,deps:[Xt]},{provide:H_,useClass:H_,deps:[B_,gp,Yd]},{provide:Gf,useExisting:H_},{provide:pO,useExisting:gp},{provide:gp,useClass:gp,deps:[Xt]},{provide:B_,useClass:B_,deps:[L_,bt]},{provide:aO,useClass:iU,deps:[]},[]];let MO=(()=>{class t{constructor(e){}static withServerTransition(e){return{ngModule:t,providers:[{provide:Yd,useValue:e.appId},{provide:hO,useExisting:Yd},tU]}}}return t.\u0275fac=function(e){return new(e||t)(K(xO,12))},t.\u0275mod=Ct({type:t}),t.\u0275inj=yt({providers:[...DO,...kO],imports:[Ao,rW]}),t})(),TO=(()=>{class t{constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}}return t.\u0275fac=function(e){return new(e||t)(K(Xt))},t.\u0275prov=Ee({token:t,factory:function(e){let i=null;return i=e?new e:function yU(){return new TO(K(Xt))}(),i},providedIn:"root"}),t})();typeof window<"u"&&window;let z_=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ee({token:t,factory:function(e){let i=null;return i=e?new(e||t):K(OO),i},providedIn:"root"}),t})(),OO=(()=>{class t extends z_{constructor(e){super(),this._doc=e}sanitize(e,i){if(null==i)return null;switch(e){case ci.NONE:return i;case ci.HTML:return ma(i,"HTML")?Xo(i):zM(this._doc,String(i)).toString();case ci.STYLE:return ma(i,"Style")?Xo(i):i;case ci.SCRIPT:if(ma(i,"Script"))return Xo(i);throw new Error("unsafe value used in a script context");case ci.URL:return ma(i,"URL")?Xo(i):Ug(String(i));case ci.RESOURCE_URL:if(ma(i,"ResourceURL"))return Xo(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 m8(t){return new c8(t)}(e)}bypassSecurityTrustStyle(e){return function g8(t){return new u8(t)}(e)}bypassSecurityTrustScript(e){return function _8(t){return new d8(t)}(e)}bypassSecurityTrustUrl(e){return function v8(t){return new h8(t)}(e)}bypassSecurityTrustResourceUrl(e){return function b8(t){return new f8(t)}(e)}}return t.\u0275fac=function(e){return new(e||t)(K(Xt))},t.\u0275prov=Ee({token:t,factory:function(e){let i=null;return i=e?new e:function MU(t){return new OO(t.get(Xt))}(K(Qi)),i},providedIn:"root"}),t})();function ct(...t){return Bn(t,xt(t))}class An extends pe{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){const e=super._subscribe(n);return!e.closed&&n.next(this._value),e}getValue(){const{hasError:n,thrownError:e,_value:i}=this;if(n)throw e;return this._throwIfClosed(),i}next(n){super.next(this._value=n)}}const _p=cn(t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"}),{isArray:TU}=Array,{getPrototypeOf:EU,prototype:AU,keys:OU}=Object;function IO(t){if(1===t.length){const n=t[0];if(TU(n))return{args:n,keys:null};if(function IU(t){return t&&"object"==typeof t&&EU(t)===AU}(n)){const e=OU(n);return{args:e.map(i=>n[i]),keys:e}}}return{args:t,keys:null}}const{isArray:PU}=Array;function pC(t){return Ne(n=>function RU(t,n){return PU(n)?t(...n):t(n)}(t,n))}function PO(t,n){return t.reduce((e,i,r)=>(e[i]=n[r],e),{})}function Qd(...t){const n=xt(t),e=it(t),{args:i,keys:r}=IO(t);if(0===i.length)return Bn([],n);const o=new bn(function FU(t,n,e=pr){return i=>{RO(n,()=>{const{length:r}=t,o=new Array(r);let s=r,a=r;for(let l=0;l{const c=Bn(t[l],n);let p=!1;c.subscribe(Ot(i,m=>{o[l]=m,p||(p=!0,a--),a||i.next(e(o.slice()))},()=>{--s||i.complete()}))},i)},i)}}(i,n,r?s=>PO(r,s):pr));return e?o.pipe(pC(e)):o}function RO(t,n,e){t?Qe(e,t,n):n()}function vp(...t){return function NU(){return hn(1)}()(Bn(t,xt(t)))}function Xd(t){return new bn(n=>{z(t()).subscribe(n)})}function Jd(t,n){const e=Pt(t)?t:()=>t,i=r=>r.error(e());return new bn(n?r=>n.schedule(i,0,r):i)}function mC(){return Ye((t,n)=>{let e=null;t._refCount++;const i=Ot(n,void 0,void 0,void 0,()=>{if(!t||t._refCount<=0||0<--t._refCount)return void(e=null);const r=t._connection,o=e;e=null,r&&(!o||r===o)&&r.unsubscribe(),n.unsubscribe()});t.subscribe(i),i.closed||(e=t.connect())})}class gC extends bn{constructor(n,e){super(),this.source=n,this.subjectFactory=e,this._subject=null,this._refCount=0,this._connection=null,Wt(n)&&(this.lift=n.lift)}_subscribe(n){return this.getSubject().subscribe(n)}getSubject(){const n=this._subject;return(!n||n.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:n}=this;this._subject=this._connection=null,n?.unsubscribe()}connect(){let n=this._connection;if(!n){n=this._connection=new Z;const e=this.getSubject();n.add(this.source.subscribe(Ot(e,void 0,()=>{this._teardown(),e.complete()},i=>{this._teardown(),e.error(i)},()=>this._teardown()))),n.closed&&(this._connection=null,n=Z.EMPTY)}return n}refCount(){return mC()(this)}}function Ar(t,n){return Ye((e,i)=>{let r=null,o=0,s=!1;const a=()=>s&&!r&&i.complete();e.subscribe(Ot(i,l=>{r?.unsubscribe();let c=0;const p=o++;z(t(l,p)).subscribe(r=Ot(i,m=>i.next(n?n(l,m,p,c++):m),()=>{r=null,a()}))},()=>{s=!0,a()}))})}function di(t){return t<=0?()=>St:Ye((n,e)=>{let i=0;n.subscribe(Ot(e,r=>{++i<=t&&(e.next(r),t<=i&&e.complete())}))})}function ji(...t){const n=xt(t);return Ye((e,i)=>{(n?vp(t,e,n):vp(t,e)).subscribe(i)})}function hi(t,n){return Ye((e,i)=>{let r=0;e.subscribe(Ot(i,o=>t.call(n,o,r++)&&i.next(o)))})}function W_(t){return Ye((n,e)=>{let i=!1;n.subscribe(Ot(e,r=>{i=!0,e.next(r)},()=>{i||e.next(t),e.complete()}))})}function FO(t=LU){return Ye((n,e)=>{let i=!1;n.subscribe(Ot(e,r=>{i=!0,e.next(r)},()=>i?e.complete():e.error(t())))})}function LU(){return new _p}function mc(t,n){const e=arguments.length>=2;return i=>i.pipe(t?hi((r,o)=>t(r,o,i)):pr,di(1),e?W_(n):FO(()=>new _p))}function bl(t,n){return Pt(n)?mt(t,n,1):mt(t,1)}function rr(t,n,e){const i=Pt(t)||n||e?{next:t,error:n,complete:e}:t;return i?Ye((r,o)=>{var s;null===(s=i.subscribe)||void 0===s||s.call(i);let a=!0;r.subscribe(Ot(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)}))}):pr}function xa(t){return Ye((n,e)=>{let o,i=null,r=!1;i=n.subscribe(Ot(e,void 0,void 0,s=>{o=z(t(s,xa(t)(n))),i?(i.unsubscribe(),i=null,o.subscribe(e)):r=!0})),r&&(i.unsubscribe(),i=null,o.subscribe(e))})}function BU(t,n,e,i,r){return(o,s)=>{let a=e,l=n,c=0;o.subscribe(Ot(s,p=>{const m=c++;l=a?t(l,p,m):(a=!0,p),i&&s.next(l)},r&&(()=>{a&&s.next(l),s.complete()})))}}function NO(t,n){return Ye(BU(t,n,arguments.length>=2,!0))}function _C(t){return t<=0?()=>St:Ye((n,e)=>{let i=[];n.subscribe(Ot(e,r=>{i.push(r),t{for(const r of i)e.next(r);e.complete()},void 0,()=>{i=null}))})}function LO(t,n){const e=arguments.length>=2;return i=>i.pipe(t?hi((r,o)=>t(r,o,i)):pr,_C(1),e?W_(n):FO(()=>new _p))}function BO(t,n=!1){return Ye((e,i)=>{let r=0;e.subscribe(Ot(i,o=>{const s=t(o,r++);(s||n)&&i.next(o),!s&&i.complete()}))})}function VO(t){return Ne(()=>t)}function j_(t){return Ye((n,e)=>{try{n.subscribe(e)}finally{e.add(t)}})}const On="primary",bp=Symbol("RouteTitle");class VU{constructor(n){this.params=n||{}}has(n){return Object.prototype.hasOwnProperty.call(this.params,n)}get(n){if(this.has(n)){const e=this.params[n];return Array.isArray(e)?e[0]:e}return null}getAll(n){if(this.has(n)){const e=this.params[n];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}}function eh(t){return new VU(t)}function HU(t,n,e){const i=e.path.split("/");if(i.length>t.length||"full"===e.pathMatch&&(n.hasChildren()||i.lengthi[o]===r)}return t===n}function zO(t){return Array.prototype.concat.apply([],t)}function WO(t){return t.length>0?t[t.length-1]:null}function to(t,n){for(const e in t)t.hasOwnProperty(e)&&n(t[e],e)}function gc(t){return o1(t)?t:Qf(t)?Bn(Promise.resolve(t)):ct(t)}const jU={exact:function $O(t,n,e){if(!gu(t.segments,n.segments)||!U_(t.segments,n.segments,e)||t.numberOfChildren!==n.numberOfChildren)return!1;for(const i in n.children)if(!t.children[i]||!$O(t.children[i],n.children[i],e))return!1;return!0},subset:GO},jO={exact:function UU(t,n){return ka(t,n)},subset:function $U(t,n){return Object.keys(n).length<=Object.keys(t).length&&Object.keys(n).every(e=>HO(t[e],n[e]))},ignored:()=>!0};function UO(t,n,e){return jU[e.paths](t.root,n.root,e.matrixParams)&&jO[e.queryParams](t.queryParams,n.queryParams)&&!("exact"===e.fragment&&t.fragment!==n.fragment)}function GO(t,n,e){return qO(t,n,n.segments,e)}function qO(t,n,e,i){if(t.segments.length>e.length){const r=t.segments.slice(0,e.length);return!(!gu(r,e)||n.hasChildren()||!U_(r,e,i))}if(t.segments.length===e.length){if(!gu(t.segments,e)||!U_(t.segments,e,i))return!1;for(const r in n.children)if(!t.children[r]||!GO(t.children[r],n.children[r],i))return!1;return!0}{const r=e.slice(0,t.segments.length),o=e.slice(t.segments.length);return!!(gu(t.segments,r)&&U_(t.segments,r,i)&&t.children[On])&&qO(t.children[On],n,o,i)}}function U_(t,n,e){return n.every((i,r)=>jO[e](t[r].parameters,i.parameters))}class mu{constructor(n,e,i){this.root=n,this.queryParams=e,this.fragment=i}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=eh(this.queryParams)),this._queryParamMap}toString(){return YU.serialize(this)}}class Fn{constructor(n,e){this.segments=n,this.children=e,this.parent=null,to(e,(i,r)=>i.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return $_(this)}}class yp{constructor(n,e){this.path=n,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=eh(this.parameters)),this._parameterMap}toString(){return QO(this)}}function gu(t,n){return t.length===n.length&&t.every((e,i)=>e.path===n[i].path)}let YO=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ee({token:t,factory:function(){return new bC},providedIn:"root"}),t})();class bC{parse(n){const e=new i$(n);return new mu(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(n){const e=`/${wp(n.root,!0)}`,i=function QU(t){const n=Object.keys(t).map(e=>{const i=t[e];return Array.isArray(i)?i.map(r=>`${G_(e)}=${G_(r)}`).join("&"):`${G_(e)}=${G_(i)}`}).filter(e=>!!e);return n.length?`?${n.join("&")}`:""}(n.queryParams);return`${e}${i}${"string"==typeof n.fragment?`#${function KU(t){return encodeURI(t)}(n.fragment)}`:""}`}}const YU=new bC;function $_(t){return t.segments.map(n=>QO(n)).join("/")}function wp(t,n){if(!t.hasChildren())return $_(t);if(n){const e=t.children[On]?wp(t.children[On],!1):"",i=[];return to(t.children,(r,o)=>{o!==On&&i.push(`${o}:${wp(r,!1)}`)}),i.length>0?`${e}(${i.join("//")})`:e}{const e=function qU(t,n){let e=[];return to(t.children,(i,r)=>{r===On&&(e=e.concat(n(i,r)))}),to(t.children,(i,r)=>{r!==On&&(e=e.concat(n(i,r)))}),e}(t,(i,r)=>r===On?[wp(t.children[On],!1)]:[`${r}:${wp(i,!1)}`]);return 1===Object.keys(t.children).length&&null!=t.children[On]?`${$_(t)}/${e[0]}`:`${$_(t)}/(${e.join("//")})`}}function KO(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function G_(t){return KO(t).replace(/%3B/gi,";")}function yC(t){return KO(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function q_(t){return decodeURIComponent(t)}function ZO(t){return q_(t.replace(/\+/g,"%20"))}function QO(t){return`${yC(t.path)}${function ZU(t){return Object.keys(t).map(n=>`;${yC(n)}=${yC(t[n])}`).join("")}(t.parameters)}`}const XU=/^[^\/()?;=#]+/;function Y_(t){const n=t.match(XU);return n?n[0]:""}const JU=/^[^=?&#]+/,t$=/^[^&#]+/;class i${constructor(n){this.url=n,this.remaining=n}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Fn([],{}):new Fn([],this.parseChildren())}parseQueryParams(){const n={};if(this.consumeOptional("?"))do{this.parseQueryParam(n)}while(this.consumeOptional("&"));return n}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const n=[];for(this.peekStartsWith("(")||n.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),n.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let i={};return this.peekStartsWith("(")&&(i=this.parseParens(!1)),(n.length>0||Object.keys(e).length>0)&&(i[On]=new Fn(n,e)),i}parseSegment(){const n=Y_(this.remaining);if(""===n&&this.peekStartsWith(";"))throw new ke(4009,!1);return this.capture(n),new yp(q_(n),this.parseMatrixParams())}parseMatrixParams(){const n={};for(;this.consumeOptional(";");)this.parseParam(n);return n}parseParam(n){const e=Y_(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){const r=Y_(this.remaining);r&&(i=r,this.capture(i))}n[q_(e)]=q_(i)}parseQueryParam(n){const e=function e$(t){const n=t.match(JU);return n?n[0]:""}(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){const s=function n$(t){const n=t.match(t$);return n?n[0]:""}(this.remaining);s&&(i=s,this.capture(i))}const r=ZO(e),o=ZO(i);if(n.hasOwnProperty(r)){let s=n[r];Array.isArray(s)||(s=[s],n[r]=s),s.push(o)}else n[r]=o}parseParens(n){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const i=Y_(this.remaining),r=this.remaining[i.length];if("/"!==r&&")"!==r&&";"!==r)throw new ke(4010,!1);let o;i.indexOf(":")>-1?(o=i.slice(0,i.indexOf(":")),this.capture(o),this.capture(":")):n&&(o=On);const s=this.parseChildren();e[o]=1===Object.keys(s).length?s[On]:new Fn([],s),this.consumeOptional("//")}return e}peekStartsWith(n){return this.remaining.startsWith(n)}consumeOptional(n){return!!this.peekStartsWith(n)&&(this.remaining=this.remaining.substring(n.length),!0)}capture(n){if(!this.consumeOptional(n))throw new ke(4011,!1)}}function wC(t){return t.segments.length>0?new Fn([],{[On]:t}):t}function K_(t){const n={};for(const i of Object.keys(t.children)){const o=K_(t.children[i]);(o.segments.length>0||o.hasChildren())&&(n[i]=o)}return function r$(t){if(1===t.numberOfChildren&&t.children[On]){const n=t.children[On];return new Fn(t.segments.concat(n.segments),n.children)}return t}(new Fn(t.segments,n))}function _u(t){return t instanceof mu}function a$(t,n,e,i,r){if(0===e.length)return th(n.root,n.root,n.root,i,r);const o=function eI(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new JO(!0,0,t);let n=0,e=!1;const i=t.reduce((r,o,s)=>{if("object"==typeof o&&null!=o){if(o.outlets){const a={};return to(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?n++:""!=a&&r.push(a))}),r):[...r,o]},[]);return new JO(e,n,i)}(e);return o.toRoot()?th(n.root,n.root,new Fn([],{}),i,r):function s(l){const c=function c$(t,n,e,i){if(t.isAbsolute)return new nh(n.root,!0,0);if(-1===i)return new nh(e,e===n.root,0);return function tI(t,n,e){let i=t,r=n,o=e;for(;o>r;){if(o-=r,i=i.parent,!i)throw new ke(4005,!1);r=i.segments.length}return new nh(i,!1,r-o)}(e,i+(Cp(t.commands[0])?0:1),t.numberOfDoubleDots)}(o,n,t.snapshot?._urlSegment,l),p=c.processChildren?xp(c.segmentGroup,c.index,o.commands):SC(c.segmentGroup,c.index,o.commands);return th(n.root,c.segmentGroup,p,i,r)}(t.snapshot?._lastPathIndex)}function Cp(t){return"object"==typeof t&&null!=t&&!t.outlets&&!t.segmentPath}function Sp(t){return"object"==typeof t&&null!=t&&t.outlets}function th(t,n,e,i,r){let s,o={};i&&to(i,(l,c)=>{o[c]=Array.isArray(l)?l.map(p=>`${p}`):`${l}`}),s=t===n?e:XO(t,n,e);const a=wC(K_(s));return new mu(a,o,r)}function XO(t,n,e){const i={};return to(t.children,(r,o)=>{i[o]=r===n?e:XO(r,n,e)}),new Fn(t.segments,i)}class JO{constructor(n,e,i){if(this.isAbsolute=n,this.numberOfDoubleDots=e,this.commands=i,n&&i.length>0&&Cp(i[0]))throw new ke(4003,!1);const r=i.find(Sp);if(r&&r!==WO(i))throw new ke(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class nh{constructor(n,e,i){this.segmentGroup=n,this.processChildren=e,this.index=i}}function SC(t,n,e){if(t||(t=new Fn([],{})),0===t.segments.length&&t.hasChildren())return xp(t,n,e);const i=function d$(t,n,e){let i=0,r=n;const o={match:!1,pathIndex:0,commandIndex:0};for(;r=e.length)return o;const s=t.segments[r],a=e[i];if(Sp(a))break;const l=`${a}`,c=i0&&void 0===l)break;if(l&&c&&"object"==typeof c&&void 0===c.outlets){if(!iI(l,c,s))return o;i+=2}else{if(!iI(l,{},s))return o;i++}r++}return{match:!0,pathIndex:r,commandIndex:i}}(t,n,e),r=e.slice(i.commandIndex);if(i.match&&i.pathIndex{"string"==typeof o&&(o=[o]),null!==o&&(r[s]=SC(t.children[s],n,o))}),to(t.children,(o,s)=>{void 0===i[s]&&(r[s]=o)}),new Fn(t.segments,r)}}function xC(t,n,e){const i=t.segments.slice(0,n);let r=0;for(;r{"string"==typeof e&&(e=[e]),null!==e&&(n[i]=xC(new Fn([],{}),0,e))}),n}function nI(t){const n={};return to(t,(e,i)=>n[i]=`${e}`),n}function iI(t,n,e){return t==e.path&&ka(n,e.parameters)}class yl{constructor(n,e){this.id=n,this.url=e}}class kC extends yl{constructor(n,e,i="imperative",r=null){super(n,e),this.type=0,this.navigationTrigger=i,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class vu extends yl{constructor(n,e,i){super(n,e),this.urlAfterRedirects=i,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Z_ extends yl{constructor(n,e,i,r){super(n,e),this.reason=i,this.code=r,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class rI extends yl{constructor(n,e,i,r){super(n,e),this.error=i,this.target=r,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class f$ extends yl{constructor(n,e,i,r){super(n,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 p$ extends yl{constructor(n,e,i,r){super(n,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 m$ extends yl{constructor(n,e,i,r,o){super(n,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 g$ extends yl{constructor(n,e,i,r){super(n,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 _$ extends yl{constructor(n,e,i,r){super(n,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 v${constructor(n){this.route=n,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class b${constructor(n){this.route=n,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class y${constructor(n){this.snapshot=n,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class w${constructor(n){this.snapshot=n,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class C${constructor(n){this.snapshot=n,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class S${constructor(n){this.snapshot=n,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class oI{constructor(n,e,i){this.routerEvent=n,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 sI{constructor(n){this._root=n}get root(){return this._root.value}parent(n){const e=this.pathFromRoot(n);return e.length>1?e[e.length-2]:null}children(n){const e=DC(n,this._root);return e?e.children.map(i=>i.value):[]}firstChild(n){const e=DC(n,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(n){const e=MC(n,this._root);return e.length<2?[]:e[e.length-2].children.map(r=>r.value).filter(r=>r!==n)}pathFromRoot(n){return MC(n,this._root).map(e=>e.value)}}function DC(t,n){if(t===n.value)return n;for(const e of n.children){const i=DC(t,e);if(i)return i}return null}function MC(t,n){if(t===n.value)return[n];for(const e of n.children){const i=MC(t,e);if(i.length)return i.unshift(n),i}return[]}class wl{constructor(n,e){this.value=n,this.children=e}toString(){return`TreeNode(${this.value})`}}function ih(t){const n={};return t&&t.children.forEach(e=>n[e.value.outlet]=e),n}class aI extends sI{constructor(n,e){super(n),this.snapshot=e,TC(this,n)}toString(){return this.snapshot.toString()}}function lI(t,n){const e=function k$(t,n){const s=new Q_([],{},{},"",{},On,n,null,t.root,-1,{});return new uI("",new wl(s,[]))}(t,n),i=new An([new yp("",{})]),r=new An({}),o=new An({}),s=new An({}),a=new An(""),l=new Cl(i,r,s,a,o,On,n,e.root);return l.snapshot=e.root,new aI(new wl(l,[]),e)}class Cl{constructor(n,e,i,r,o,s,a,l){this.url=n,this.params=e,this.queryParams=i,this.fragment=r,this.data=o,this.outlet=s,this.component=a,this.title=this.data?.pipe(Ne(c=>c[bp]))??ct(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(Ne(n=>eh(n)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(Ne(n=>eh(n)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function cI(t,n="emptyOnly"){const e=t.pathFromRoot;let i=0;if("always"!==n)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 D$(t){return t.reduce((n,e)=>({params:{...n.params,...e.params},data:{...n.data,...e.data},resolve:{...e.data,...n.resolve,...e.routeConfig?.data,...e._resolvedData}}),{params:{},data:{},resolve:{}})}(e.slice(i))}class Q_{constructor(n,e,i,r,o,s,a,l,c,p,m,_){this.url=n,this.params=e,this.queryParams=i,this.fragment=r,this.data=o,this.outlet=s,this.component=a,this.title=this.data?.[bp],this.routeConfig=l,this._urlSegment=c,this._lastPathIndex=p,this._correctedLastPathIndex=_??p,this._resolve=m}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=eh(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=eh(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(i=>i.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class uI extends sI{constructor(n,e){super(e),this.url=n,TC(this,e)}toString(){return dI(this._root)}}function TC(t,n){n.value._routerState=t,n.children.forEach(e=>TC(t,e))}function dI(t){const n=t.children.length>0?` { ${t.children.map(dI).join(", ")} } `:"";return`${t.value}${n}`}function EC(t){if(t.snapshot){const n=t.snapshot,e=t._futureSnapshot;t.snapshot=e,ka(n.queryParams,e.queryParams)||t.queryParams.next(e.queryParams),n.fragment!==e.fragment&&t.fragment.next(e.fragment),ka(n.params,e.params)||t.params.next(e.params),function zU(t,n){if(t.length!==n.length)return!1;for(let e=0;eka(e.parameters,n[i].parameters))}(t.url,n.url);return e&&!(!t.parent!=!n.parent)&&(!t.parent||AC(t.parent,n.parent))}function kp(t,n,e){if(e&&t.shouldReuseRoute(n.value,e.value.snapshot)){const i=e.value;i._futureSnapshot=n.value;const r=function T$(t,n,e){return n.children.map(i=>{for(const r of e.children)if(t.shouldReuseRoute(i.value,r.value.snapshot))return kp(t,i,r);return kp(t,i)})}(t,n,e);return new wl(i,r)}{if(t.shouldAttach(n.value)){const o=t.retrieve(n.value);if(null!==o){const s=o.route;return s.value._futureSnapshot=n.value,s.children=n.children.map(a=>kp(t,a)),s}}const i=function E$(t){return new Cl(new An(t.url),new An(t.params),new An(t.queryParams),new An(t.fragment),new An(t.data),t.outlet,t.component,t)}(n.value),r=n.children.map(o=>kp(t,o));return new wl(i,r)}}const OC="ngNavigationCancelingError";function hI(t,n){const{redirectTo:e,navigationBehaviorOptions:i}=_u(n)?{redirectTo:n,navigationBehaviorOptions:void 0}:n,r=fI(!1,0,n);return r.url=e,r.navigationBehaviorOptions=i,r}function fI(t,n,e){const i=new Error("NavigationCancelingError: "+(t||""));return i[OC]=!0,i.cancellationCode=n,e&&(i.url=e),i}function pI(t){return mI(t)&&_u(t.url)}function mI(t){return t&&t[OC]}class A${constructor(){this.outlet=null,this.route=null,this.resolver=null,this.injector=null,this.children=new Dp,this.attachRef=null}}let Dp=(()=>{class t{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 A$,this.contexts.set(e,i)),i}getContext(e){return this.contexts.get(e)||null}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ee({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const X_=!1;let IC=(()=>{class t{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 Ge,this.deactivateEvents=new Ge,this.attachEvents=new Ge,this.detachEvents=new Ge,this.name=r||On,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 ke(4012,X_);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new ke(4012,X_);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new ke(4012,X_);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 ke(4013,X_);this._activatedRoute=e;const r=this.location,s=e._futureSnapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,l=new O$(e,a,r.injector);if(i&&function I$(t){return!!t.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 t.\u0275fac=function(e){return new(e||t)(D(Dp),D(wi),ho("name"),D(wn),D(lc))},t.\u0275dir=fe({type:t,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0}),t})();class O${constructor(n,e,i){this.route=n,this.childContexts=e,this.parent=i}get(n,e){return n===Cl?this.route:n===Dp?this.childContexts:this.parent.get(n,e)}}let PC=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Pe({type:t,selectors:[["ng-component"]],standalone:!0,features:[wA],decls:1,vars:0,template:function(e,i){1&e&&Y(0,"router-outlet")},dependencies:[IC],encapsulation:2}),t})();function gI(t,n){return t.providers&&!t._injector&&(t._injector=f_(t.providers,n,`Route: ${t.path}`)),t._injector??n}function FC(t){const n=t.children&&t.children.map(FC),e=n?{...t,children:n}:{...t};return!e.component&&!e.loadComponent&&(n||e.loadChildren)&&e.outlet&&e.outlet!==On&&(e.component=PC),e}function Ss(t){return t.outlet||On}function _I(t,n){const e=t.filter(i=>Ss(i)===n);return e.push(...t.filter(i=>Ss(i)!==n)),e}function Mp(t){if(!t)return null;if(t.routeConfig?._injector)return t.routeConfig._injector;for(let n=t.parent;n;n=n.parent){const e=n.routeConfig;if(e?._loadedInjector)return e._loadedInjector;if(e?._injector)return e._injector}return null}class L${constructor(n,e,i,r){this.routeReuseStrategy=n,this.futureState=e,this.currState=i,this.forwardEvent=r}activate(n){const e=this.futureState._root,i=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,i,n),EC(this.futureState.root),this.activateChildRoutes(e,i,n)}deactivateChildRoutes(n,e,i){const r=ih(e);n.children.forEach(o=>{const s=o.value.outlet;this.deactivateRoutes(o,r[s],i),delete r[s]}),to(r,(o,s)=>{this.deactivateRouteAndItsChildren(o,i)})}deactivateRoutes(n,e,i){const r=n.value,o=e?e.value:null;if(r===o)if(r.component){const s=i.getContext(r.outlet);s&&this.deactivateChildRoutes(n,e,s.children)}else this.deactivateChildRoutes(n,e,i);else o&&this.deactivateRouteAndItsChildren(e,i)}deactivateRouteAndItsChildren(n,e){n.value.component&&this.routeReuseStrategy.shouldDetach(n.value.snapshot)?this.detachAndStoreRouteSubtree(n,e):this.deactivateRouteAndOutlet(n,e)}detachAndStoreRouteSubtree(n,e){const i=e.getContext(n.value.outlet),r=i&&n.value.component?i.children:e,o=ih(n);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(n.value.snapshot,{componentRef:s,route:n,contexts:a})}}deactivateRouteAndOutlet(n,e){const i=e.getContext(n.value.outlet),r=i&&n.value.component?i.children:e,o=ih(n);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(n,e,i){const r=ih(e);n.children.forEach(o=>{this.activateRoutes(o,r[o.value.outlet],i),this.forwardEvent(new S$(o.value.snapshot))}),n.children.length&&this.forwardEvent(new w$(n.value.snapshot))}activateRoutes(n,e,i){const r=n.value,o=e?e.value:null;if(EC(r),r===o)if(r.component){const s=i.getOrCreateContext(r.outlet);this.activateChildRoutes(n,e,s.children)}else this.activateChildRoutes(n,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),EC(a.route.value),this.activateChildRoutes(n,null,s.children)}else{const a=Mp(r.snapshot),l=a?.get(cc)??null;s.attachRef=null,s.route=r,s.resolver=l,s.injector=a,s.outlet&&s.outlet.activateWith(r,s.injector),this.activateChildRoutes(n,null,s.children)}}else this.activateChildRoutes(n,null,i)}}class vI{constructor(n){this.path=n,this.route=this.path[this.path.length-1]}}class J_{constructor(n,e){this.component=n,this.route=e}}function B$(t,n,e){const i=t._root;return Tp(i,n?n._root:null,e,[i.value])}function rh(t,n){const e=Symbol(),i=n.get(t,e);return i===e?"function"!=typeof t||function qy(t){return null!==id(t)}(t)?n.get(t):t:i}function Tp(t,n,e,i,r={canDeactivateChecks:[],canActivateChecks:[]}){const o=ih(n);return t.children.forEach(s=>{(function H$(t,n,e,i,r={canDeactivateChecks:[],canActivateChecks:[]}){const o=t.value,s=n?n.value:null,a=e?e.getContext(t.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){const l=function z$(t,n,e){if("function"==typeof e)return e(t,n);switch(e){case"pathParamsChange":return!gu(t.url,n.url);case"pathParamsOrQueryParamsChange":return!gu(t.url,n.url)||!ka(t.queryParams,n.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!AC(t,n)||!ka(t.queryParams,n.queryParams);default:return!AC(t,n)}}(s,o,o.routeConfig.runGuardsAndResolvers);l?r.canActivateChecks.push(new vI(i)):(o.data=s.data,o._resolvedData=s._resolvedData),Tp(t,n,o.component?a?a.children:null:e,i,r),l&&a&&a.outlet&&a.outlet.isActivated&&r.canDeactivateChecks.push(new J_(a.outlet.component,s))}else s&&Ep(n,a,r),r.canActivateChecks.push(new vI(i)),Tp(t,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]}),to(o,(s,a)=>Ep(s,e.getContext(a),r)),r}function Ep(t,n,e){const i=ih(t),r=t.value;to(i,(o,s)=>{Ep(o,r.component?n?n.children.getContext(s):null:n,e)}),e.canDeactivateChecks.push(new J_(r.component&&n&&n.outlet&&n.outlet.isActivated?n.outlet.component:null,r))}function Ap(t){return"function"==typeof t}function NC(t){return t instanceof _p||"EmptyError"===t?.name}const ev=Symbol("INITIAL_VALUE");function oh(){return Ar(t=>Qd(t.map(n=>n.pipe(di(1),ji(ev)))).pipe(Ne(n=>{for(const e of n)if(!0!==e){if(e===ev)return ev;if(!1===e||e instanceof mu)return e}return!0}),hi(n=>n!==ev),di(1)))}function bI(t){return function Dr(...t){return so(t)}(rr(n=>{if(_u(n))throw hI(0,n)}),Ne(n=>!0===n))}const LC={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function yI(t,n,e,i,r){const o=BC(t,n,e);return o.matched?function rG(t,n,e,i){const r=n.canMatch;return r&&0!==r.length?ct(r.map(s=>{const a=rh(s,t);return gc(function q$(t){return t&&Ap(t.canMatch)}(a)?a.canMatch(n,e):t.runInContext(()=>a(n,e)))})).pipe(oh(),bI()):ct(!0)}(i=gI(n,i),n,e).pipe(Ne(s=>!0===s?o:{...LC})):ct(o)}function BC(t,n,e){if(""===n.path)return"full"===n.pathMatch&&(t.hasChildren()||e.length>0)?{...LC}:{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};const r=(n.matcher||HU)(e,t,n);if(!r)return{...LC};const o={};to(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 tv(t,n,e,i,r="corrected"){if(e.length>0&&function aG(t,n,e){return e.some(i=>nv(t,n,i)&&Ss(i)!==On)}(t,e,i)){const s=new Fn(n,function sG(t,n,e,i){const r={};r[On]=i,i._sourceSegment=t,i._segmentIndexShift=n.length;for(const o of e)if(""===o.path&&Ss(o)!==On){const s=new Fn([],{});s._sourceSegment=t,s._segmentIndexShift=n.length,r[Ss(o)]=s}return r}(t,n,i,new Fn(e,t.children)));return s._sourceSegment=t,s._segmentIndexShift=n.length,{segmentGroup:s,slicedSegments:[]}}if(0===e.length&&function lG(t,n,e){return e.some(i=>nv(t,n,i))}(t,e,i)){const s=new Fn(t.segments,function oG(t,n,e,i,r,o){const s={};for(const a of i)if(nv(t,e,a)&&!r[Ss(a)]){const l=new Fn([],{});l._sourceSegment=t,l._segmentIndexShift="legacy"===o?t.segments.length:n.length,s[Ss(a)]=l}return{...r,...s}}(t,n,e,i,t.children,r));return s._sourceSegment=t,s._segmentIndexShift=n.length,{segmentGroup:s,slicedSegments:e}}const o=new Fn(t.segments,t.children);return o._sourceSegment=t,o._segmentIndexShift=n.length,{segmentGroup:o,slicedSegments:e}}function nv(t,n,e){return(!(t.hasChildren()||n.length>0)||"full"!==e.pathMatch)&&""===e.path}function wI(t,n,e,i){return!!(Ss(t)===i||i!==On&&nv(n,e,t))&&("**"===t.path||BC(n,t,e).matched)}function CI(t,n,e){return 0===n.length&&!t.children[e]}const iv=!1;class rv{constructor(n){this.segmentGroup=n||null}}class SI{constructor(n){this.urlTree=n}}function Op(t){return Jd(new rv(t))}function xI(t){return Jd(new SI(t))}class hG{constructor(n,e,i,r,o){this.injector=n,this.configLoader=e,this.urlSerializer=i,this.urlTree=r,this.config=o,this.allowRedirects=!0}apply(){const n=tv(this.urlTree.root,[],[],this.config).segmentGroup,e=new Fn(n.segments,n.children);return this.expandSegmentGroup(this.injector,this.config,e,On).pipe(Ne(o=>this.createUrlTree(K_(o),this.urlTree.queryParams,this.urlTree.fragment))).pipe(xa(o=>{if(o instanceof SI)return this.allowRedirects=!1,this.match(o.urlTree);throw o instanceof rv?this.noMatchError(o):o}))}match(n){return this.expandSegmentGroup(this.injector,this.config,n.root,On).pipe(Ne(r=>this.createUrlTree(K_(r),n.queryParams,n.fragment))).pipe(xa(r=>{throw r instanceof rv?this.noMatchError(r):r}))}noMatchError(n){return new ke(4002,iv)}createUrlTree(n,e,i){const r=wC(n);return new mu(r,e,i)}expandSegmentGroup(n,e,i,r){return 0===i.segments.length&&i.hasChildren()?this.expandChildren(n,e,i).pipe(Ne(o=>new Fn([],o))):this.expandSegment(n,i,e,i.segments,r,!0)}expandChildren(n,e,i){const r=[];for(const o of Object.keys(i.children))"primary"===o?r.unshift(o):r.push(o);return Bn(r).pipe(bl(o=>{const s=i.children[o],a=_I(e,o);return this.expandSegmentGroup(n,a,s,o).pipe(Ne(l=>({segment:l,outlet:o})))}),NO((o,s)=>(o[s.outlet]=s.segment,o),{}),LO())}expandSegment(n,e,i,r,o,s){return Bn(i).pipe(bl(a=>this.expandSegmentAgainstRoute(n,e,i,a,r,o,s).pipe(xa(c=>{if(c instanceof rv)return ct(null);throw c}))),mc(a=>!!a),xa((a,l)=>{if(NC(a))return CI(e,r,o)?ct(new Fn([],{})):Op(e);throw a}))}expandSegmentAgainstRoute(n,e,i,r,o,s,a){return wI(r,e,o,s)?void 0===r.redirectTo?this.matchSegmentAgainstRoute(n,e,r,o,s):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(n,e,i,r,o,s):Op(e):Op(e)}expandSegmentAgainstRouteUsingRedirect(n,e,i,r,o,s){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(n,i,r,s):this.expandRegularSegmentAgainstRouteUsingRedirect(n,e,i,r,o,s)}expandWildCardWithParamsAgainstRouteUsingRedirect(n,e,i,r){const o=this.applyRedirectCommands([],i.redirectTo,{});return i.redirectTo.startsWith("/")?xI(o):this.lineralizeSegments(i,o).pipe(mt(s=>{const a=new Fn(s,{});return this.expandSegment(n,a,e,s,r,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(n,e,i,r,o,s){const{matched:a,consumedSegments:l,remainingSegments:c,positionalParamSegments:p}=BC(e,r,o);if(!a)return Op(e);const m=this.applyRedirectCommands(l,r.redirectTo,p);return r.redirectTo.startsWith("/")?xI(m):this.lineralizeSegments(r,m).pipe(mt(_=>this.expandSegment(n,e,i,_.concat(c),s,!1)))}matchSegmentAgainstRoute(n,e,i,r,o){return"**"===i.path?(n=gI(i,n),i.loadChildren?(i._loadedRoutes?ct({routes:i._loadedRoutes,injector:i._loadedInjector}):this.configLoader.loadChildren(n,i)).pipe(Ne(a=>(i._loadedRoutes=a.routes,i._loadedInjector=a.injector,new Fn(r,{})))):ct(new Fn(r,{}))):yI(e,i,r,n).pipe(Ar(({matched:s,consumedSegments:a,remainingSegments:l})=>s?this.getChildConfig(n=i._injector??n,i,r).pipe(mt(p=>{const m=p.injector??n,_=p.routes,{segmentGroup:C,slicedSegments:k}=tv(e,a,l,_),A=new Fn(C.segments,C.children);if(0===k.length&&A.hasChildren())return this.expandChildren(m,_,A).pipe(Ne(U=>new Fn(a,U)));if(0===_.length&&0===k.length)return ct(new Fn(a,{}));const P=Ss(i)===o;return this.expandSegment(m,A,_,k,P?On:o,!0).pipe(Ne($=>new Fn(a.concat($.segments),$.children)))})):Op(e)))}getChildConfig(n,e,i){return e.children?ct({routes:e.children,injector:n}):e.loadChildren?void 0!==e._loadedRoutes?ct({routes:e._loadedRoutes,injector:e._loadedInjector}):function iG(t,n,e,i){const r=n.canLoad;return void 0===r||0===r.length?ct(!0):ct(r.map(s=>{const a=rh(s,t);return gc(function j$(t){return t&&Ap(t.canLoad)}(a)?a.canLoad(n,e):t.runInContext(()=>a(n,e)))})).pipe(oh(),bI())}(n,e,i).pipe(mt(r=>r?this.configLoader.loadChildren(n,e).pipe(rr(o=>{e._loadedRoutes=o.routes,e._loadedInjector=o.injector})):function uG(t){return Jd(fI(iv,3))}())):ct({routes:[],injector:n})}lineralizeSegments(n,e){let i=[],r=e.root;for(;;){if(i=i.concat(r.segments),0===r.numberOfChildren)return ct(i);if(r.numberOfChildren>1||!r.children[On])return Jd(new ke(4e3,iv));r=r.children[On]}}applyRedirectCommands(n,e,i){return this.applyRedirectCreateUrlTree(e,this.urlSerializer.parse(e),n,i)}applyRedirectCreateUrlTree(n,e,i,r){const o=this.createSegmentGroup(n,e.root,i,r);return new mu(o,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(n,e){const i={};return to(n,(r,o)=>{if("string"==typeof r&&r.startsWith(":")){const a=r.substring(1);i[o]=e[a]}else i[o]=r}),i}createSegmentGroup(n,e,i,r){const o=this.createSegments(n,e.segments,i,r);let s={};return to(e.children,(a,l)=>{s[l]=this.createSegmentGroup(n,a,i,r)}),new Fn(o,s)}createSegments(n,e,i,r){return e.map(o=>o.path.startsWith(":")?this.findPosParam(n,o,r):this.findOrReturn(o,i))}findPosParam(n,e,i){const r=i[e.path.substring(1)];if(!r)throw new ke(4001,iv);return r}findOrReturn(n,e){let i=0;for(const r of e){if(r.path===n.path)return e.splice(i),r;i++}return n}}class pG{}class _G{constructor(n,e,i,r,o,s,a,l){this.injector=n,this.rootComponentType=e,this.config=i,this.urlTree=r,this.url=o,this.paramsInheritanceStrategy=s,this.relativeLinkResolution=a,this.urlSerializer=l}recognize(){const n=tv(this.urlTree.root,[],[],this.config.filter(e=>void 0===e.redirectTo),this.relativeLinkResolution).segmentGroup;return this.processSegmentGroup(this.injector,this.config,n,On).pipe(Ne(e=>{if(null===e)return null;const i=new Q_([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},On,this.rootComponentType,null,this.urlTree.root,-1,{}),r=new wl(i,e),o=new uI(this.url,r);return this.inheritParamsAndData(o._root),o}))}inheritParamsAndData(n){const e=n.value,i=cI(e,this.paramsInheritanceStrategy);e.params=Object.freeze(i.params),e.data=Object.freeze(i.data),n.children.forEach(r=>this.inheritParamsAndData(r))}processSegmentGroup(n,e,i,r){return 0===i.segments.length&&i.hasChildren()?this.processChildren(n,e,i):this.processSegment(n,e,i,i.segments,r)}processChildren(n,e,i){return Bn(Object.keys(i.children)).pipe(bl(r=>{const o=i.children[r],s=_I(e,r);return this.processSegmentGroup(n,s,o,r)}),NO((r,o)=>r&&o?(r.push(...o),r):null),BO(r=>null!==r),W_(null),LO(),Ne(r=>{if(null===r)return null;const o=kI(r);return function vG(t){t.sort((n,e)=>n.value.outlet===On?-1:e.value.outlet===On?1:n.value.outlet.localeCompare(e.value.outlet))}(o),o}))}processSegment(n,e,i,r,o){return Bn(e).pipe(bl(s=>this.processSegmentAgainstRoute(s._injector??n,s,i,r,o)),mc(s=>!!s),xa(s=>{if(NC(s))return CI(i,r,o)?ct([]):ct(null);throw s}))}processSegmentAgainstRoute(n,e,i,r,o){if(e.redirectTo||!wI(e,i,r,o))return ct(null);let s;if("**"===e.path){const a=r.length>0?WO(r).parameters:{},l=MI(i)+r.length;s=ct({snapshot:new Q_(r,a,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,EI(e),Ss(e),e.component??e._loadedComponent??null,e,DI(i),l,AI(e),l),consumedSegments:[],remainingSegments:[]})}else s=yI(i,e,r,n).pipe(Ne(({matched:a,consumedSegments:l,remainingSegments:c,parameters:p})=>{if(!a)return null;const m=MI(i)+l.length;return{snapshot:new Q_(l,p,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,EI(e),Ss(e),e.component??e._loadedComponent??null,e,DI(i),m,AI(e),m),consumedSegments:l,remainingSegments:c}}));return s.pipe(Ar(a=>{if(null===a)return ct(null);const{snapshot:l,consumedSegments:c,remainingSegments:p}=a;n=e._injector??n;const m=e._loadedInjector??n,_=function bG(t){return t.children?t.children:t.loadChildren?t._loadedRoutes:[]}(e),{segmentGroup:C,slicedSegments:k}=tv(i,c,p,_.filter(P=>void 0===P.redirectTo),this.relativeLinkResolution);if(0===k.length&&C.hasChildren())return this.processChildren(m,_,C).pipe(Ne(P=>null===P?null:[new wl(l,P)]));if(0===_.length&&0===k.length)return ct([new wl(l,[])]);const A=Ss(e)===o;return this.processSegment(m,_,C,k,A?On:o).pipe(Ne(P=>null===P?null:[new wl(l,P)]))}))}}function yG(t){const n=t.value.routeConfig;return n&&""===n.path&&void 0===n.redirectTo}function kI(t){const n=[],e=new Set;for(const i of t){if(!yG(i)){n.push(i);continue}const r=n.find(o=>i.value.routeConfig===o.value.routeConfig);void 0!==r?(r.children.push(...i.children),e.add(r)):n.push(i)}for(const i of e){const r=kI(i.children);n.push(new wl(i.value,r))}return n.filter(i=>!e.has(i))}function DI(t){let n=t;for(;n._sourceSegment;)n=n._sourceSegment;return n}function MI(t){let n=t,e=n._segmentIndexShift??0;for(;n._sourceSegment;)n=n._sourceSegment,e+=n._segmentIndexShift??0;return e-1}function EI(t){return t.data||{}}function AI(t){return t.resolve||{}}function OI(t){return"string"==typeof t.title||null===t.title}function VC(t){return Ar(n=>{const e=t(n);return e?Bn(e).pipe(Ne(()=>n)):ct(n)})}let II=(()=>{class t{buildTitle(e){let i,r=e.root;for(;void 0!==r;)i=this.getResolvedTitleForRoute(r)??i,r=r.children.find(o=>o.outlet===On);return i}getResolvedTitleForRoute(e){return e.data[bp]}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ee({token:t,factory:function(){return ki(PI)},providedIn:"root"}),t})(),PI=(()=>{class t extends II{constructor(e){super(),this.title=e}updateTitle(e){const i=this.buildTitle(e);void 0!==i&&this.title.setTitle(i)}}return t.\u0275fac=function(e){return new(e||t)(K(TO))},t.\u0275prov=Ee({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();class TG{}class AG extends class EG{shouldDetach(n){return!1}store(n,e){}shouldAttach(n){return!1}retrieve(n){return null}shouldReuseRoute(n,e){return n.routeConfig===e.routeConfig}}{}const sv=new u("",{providedIn:"root",factory:()=>({})}),HC=new u("ROUTES");let zC=(()=>{class t{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 ct(e._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(e);const i=gc(e.loadComponent()).pipe(rr(o=>{this.onLoadEndListener&&this.onLoadEndListener(e),e._loadedComponent=o}),j_(()=>{this.componentLoaders.delete(e)})),r=new gC(i,()=>new pe).pipe(mC());return this.componentLoaders.set(e,r),r}loadChildren(e,i){if(this.childrenLoaders.get(i))return this.childrenLoaders.get(i);if(i._loadedRoutes)return ct({routes:i._loadedRoutes,injector:i._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(i);const o=this.loadModuleFactoryOrRoutes(i.loadChildren).pipe(Ne(a=>{this.onLoadEndListener&&this.onLoadEndListener(i);let l,c,p=!1;Array.isArray(a)?c=a:(l=a.create(e).injector,c=zO(l.get(HC,[],Vt.Self|Vt.Optional)));return{routes:c.map(FC),injector:l}}),j_(()=>{this.childrenLoaders.delete(i)})),s=new gC(o,()=>new pe).pipe(mC());return this.childrenLoaders.set(i,s),s}loadModuleFactoryOrRoutes(e){return gc(e()).pipe(mt(i=>i instanceof bA||Array.isArray(i)?ct(i):Bn(this.compiler.compileModuleAsync(i))))}}return t.\u0275fac=function(e){return new(e||t)(K(Qi),K(A1))},t.\u0275prov=Ee({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();class IG{}class PG{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,e){return n}}function RG(t){throw t}function FG(t,n,e){return n.parse("/")}const NG={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},LG={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};function FI(){const t=ki(YO),n=ki(Dp),e=ki(up),i=ki(Qi),r=ki(A1),o=ki(HC,{optional:!0})??[],s=ki(sv,{optional:!0})??{},a=ki(PI),l=ki(II,{optional:!0}),c=ki(IG,{optional:!0}),p=ki(TG,{optional:!0}),m=new Or(null,t,n,e,i,r,zO(o));return c&&(m.urlHandlingStrategy=c),p&&(m.routeReuseStrategy=p),m.titleStrategy=l??a,function BG(t,n){t.errorHandler&&(n.errorHandler=t.errorHandler),t.malformedUriErrorHandler&&(n.malformedUriErrorHandler=t.malformedUriErrorHandler),t.onSameUrlNavigation&&(n.onSameUrlNavigation=t.onSameUrlNavigation),t.paramsInheritanceStrategy&&(n.paramsInheritanceStrategy=t.paramsInheritanceStrategy),t.relativeLinkResolution&&(n.relativeLinkResolution=t.relativeLinkResolution),t.urlUpdateStrategy&&(n.urlUpdateStrategy=t.urlUpdateStrategy),t.canceledNavigationResolution&&(n.canceledNavigationResolution=t.canceledNavigationResolution)}(s,m),m}let Or=(()=>{class t{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 pe,this.errorHandler=RG,this.malformedUriErrorHandler=FG,this.navigated=!1,this.lastSuccessfulId=-1,this.afterPreactivation=()=>ct(void 0),this.urlHandlingStrategy=new PG,this.routeReuseStrategy=new AG,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.configLoader=s.get(zC),this.configLoader.onLoadEndListener=_=>this.triggerEvent(new b$(_)),this.configLoader.onLoadStartListener=_=>this.triggerEvent(new v$(_)),this.ngModule=s.get(uu),this.console=s.get(Sz);const m=s.get(bt);this.isNgZoneEnabled=m instanceof bt&&bt.isInAngularZone(),this.resetConfig(l),this.currentUrlTree=function WU(){return new mu(new Fn([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=lI(this.currentUrlTree,this.rootComponentType),this.transitions=new An({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(hi(r=>0!==r.id),Ne(r=>({...r,extractedUrl:this.urlHandlingStrategy.extract(r.rawUrl)})),Ar(r=>{let o=!1,s=!1;return ct(r).pipe(rr(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}}),Ar(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 NI(a.source)&&(this.browserUrlTree=a.extractedUrl),ct(a).pipe(Ar(m=>{const _=this.transitions.getValue();return i.next(new kC(m.id,this.serializeUrl(m.extractedUrl),m.source,m.restoredState)),_!==this.transitions.getValue()?St:Promise.resolve(m)}),function fG(t,n,e,i){return Ar(r=>function dG(t,n,e,i,r){return new hG(t,n,e,i,r).apply()}(t,n,e,r.extractedUrl,i).pipe(Ne(o=>({...r,urlAfterRedirects:o}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),rr(m=>{this.currentNavigation={...this.currentNavigation,finalUrl:m.urlAfterRedirects},r.urlAfterRedirects=m.urlAfterRedirects}),function CG(t,n,e,i,r,o){return mt(s=>function gG(t,n,e,i,r,o,s="emptyOnly",a="legacy"){return new _G(t,n,e,i,r,s,a,o).recognize().pipe(Ar(l=>null===l?function mG(t){return new bn(n=>n.error(t))}(new pG):ct(l)))}(t,n,e,s.urlAfterRedirects,i.serialize(s.urlAfterRedirects),i,r,o).pipe(Ne(a=>({...s,targetSnapshot:a}))))}(this.ngModule.injector,this.rootComponentType,this.config,this.urlSerializer,this.paramsInheritanceStrategy,this.relativeLinkResolution),rr(m=>{if(r.targetSnapshot=m.targetSnapshot,"eager"===this.urlUpdateStrategy){if(!m.extras.skipLocationChange){const C=this.urlHandlingStrategy.merge(m.urlAfterRedirects,m.rawUrl);this.setBrowserUrl(C,m)}this.browserUrlTree=m.urlAfterRedirects}const _=new f$(m.id,this.serializeUrl(m.extractedUrl),this.serializeUrl(m.urlAfterRedirects),m.targetSnapshot);i.next(_)}));if(c&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:_,extractedUrl:C,source:k,restoredState:A,extras:P}=a,N=new kC(_,this.serializeUrl(C),k,A);i.next(N);const $=lI(C,this.rootComponentType).snapshot;return ct(r={...a,targetSnapshot:$,urlAfterRedirects:C,extras:{...P,skipLocationChange:!1,replaceUrl:!1}})}return this.rawUrlTree=a.rawUrl,a.resolve(null),St}),rr(a=>{const l=new p$(a.id,this.serializeUrl(a.extractedUrl),this.serializeUrl(a.urlAfterRedirects),a.targetSnapshot);this.triggerEvent(l)}),Ne(a=>r={...a,guards:B$(a.targetSnapshot,a.currentSnapshot,this.rootContexts)}),function K$(t,n){return mt(e=>{const{targetSnapshot:i,currentSnapshot:r,guards:{canActivateChecks:o,canDeactivateChecks:s}}=e;return 0===s.length&&0===o.length?ct({...e,guardsResult:!0}):function Z$(t,n,e,i){return Bn(t).pipe(mt(r=>function nG(t,n,e,i,r){const o=n&&n.routeConfig?n.routeConfig.canDeactivate:null;return o&&0!==o.length?ct(o.map(a=>{const l=Mp(n)??r,c=rh(a,l);return gc(function G$(t){return t&&Ap(t.canDeactivate)}(c)?c.canDeactivate(t,n,e,i):l.runInContext(()=>c(t,n,e,i))).pipe(mc())})).pipe(oh()):ct(!0)}(r.component,r.route,e,n,i)),mc(r=>!0!==r,!0))}(s,i,r,t).pipe(mt(a=>a&&function W$(t){return"boolean"==typeof t}(a)?function Q$(t,n,e,i){return Bn(n).pipe(bl(r=>vp(function J$(t,n){return null!==t&&n&&n(new y$(t)),ct(!0)}(r.route.parent,i),function X$(t,n){return null!==t&&n&&n(new C$(t)),ct(!0)}(r.route,i),function tG(t,n,e){const i=n[n.length-1],o=n.slice(0,n.length-1).reverse().map(s=>function V$(t){const n=t.routeConfig?t.routeConfig.canActivateChild:null;return n&&0!==n.length?{node:t,guards:n}:null}(s)).filter(s=>null!==s).map(s=>Xd(()=>ct(s.guards.map(l=>{const c=Mp(s.node)??e,p=rh(l,c);return gc(function $$(t){return t&&Ap(t.canActivateChild)}(p)?p.canActivateChild(i,t):c.runInContext(()=>p(i,t))).pipe(mc())})).pipe(oh())));return ct(o).pipe(oh())}(t,r.path,e),function eG(t,n,e){const i=n.routeConfig?n.routeConfig.canActivate:null;if(!i||0===i.length)return ct(!0);const r=i.map(o=>Xd(()=>{const s=Mp(n)??e,a=rh(o,s);return gc(function U$(t){return t&&Ap(t.canActivate)}(a)?a.canActivate(n,t):s.runInContext(()=>a(n,t))).pipe(mc())}));return ct(r).pipe(oh())}(t,r.route,e))),mc(r=>!0!==r,!0))}(i,o,t,n):ct(a)),Ne(a=>({...e,guardsResult:a})))})}(this.ngModule.injector,a=>this.triggerEvent(a)),rr(a=>{if(r.guardsResult=a.guardsResult,_u(a.guardsResult))throw hI(0,a.guardsResult);const l=new m$(a.id,this.serializeUrl(a.extractedUrl),this.serializeUrl(a.urlAfterRedirects),a.targetSnapshot,!!a.guardsResult);this.triggerEvent(l)}),hi(a=>!!a.guardsResult||(this.restoreHistory(a),this.cancelNavigationTransition(a,"",3),!1)),VC(a=>{if(a.guards.canActivateChecks.length)return ct(a).pipe(rr(l=>{const c=new g$(l.id,this.serializeUrl(l.extractedUrl),this.serializeUrl(l.urlAfterRedirects),l.targetSnapshot);this.triggerEvent(c)}),Ar(l=>{let c=!1;return ct(l).pipe(function SG(t,n){return mt(e=>{const{targetSnapshot:i,guards:{canActivateChecks:r}}=e;if(!r.length)return ct(e);let o=0;return Bn(r).pipe(bl(s=>function xG(t,n,e,i){const r=t.routeConfig,o=t._resolve;return void 0!==r?.title&&!OI(r)&&(o[bp]=r.title),function kG(t,n,e,i){const r=function DG(t){return[...Object.keys(t),...Object.getOwnPropertySymbols(t)]}(t);if(0===r.length)return ct({});const o={};return Bn(r).pipe(mt(s=>function MG(t,n,e,i){const r=Mp(n)??i,o=rh(t,r);return gc(o.resolve?o.resolve(n,e):r.runInContext(()=>o(n,e)))}(t[s],n,e,i).pipe(mc(),rr(a=>{o[s]=a}))),_C(1),VO(o),xa(s=>NC(s)?St:Jd(s)))}(o,t,n,i).pipe(Ne(s=>(t._resolvedData=s,t.data=cI(t,e).resolve,r&&OI(r)&&(t.data[bp]=r.title),null)))}(s.route,i,t,n)),rr(()=>o++),_C(1),mt(s=>o===r.length?ct(e):St))})}(this.paramsInheritanceStrategy,this.ngModule.injector),rr({next:()=>c=!0,complete:()=>{c||(this.restoreHistory(l),this.cancelNavigationTransition(l,"",2))}}))}),rr(l=>{const c=new _$(l.id,this.serializeUrl(l.extractedUrl),this.serializeUrl(l.urlAfterRedirects),l.targetSnapshot);this.triggerEvent(c)}))}),VC(a=>{const l=c=>{const p=[];c.routeConfig?.loadComponent&&!c.routeConfig._loadedComponent&&p.push(this.configLoader.loadComponent(c.routeConfig).pipe(rr(m=>{c.component=m}),Ne(()=>{})));for(const m of c.children)p.push(...l(m));return p};return Qd(l(a.targetSnapshot.root)).pipe(W_(),di(1))}),VC(()=>this.afterPreactivation()),Ne(a=>{const l=function M$(t,n,e){const i=kp(t,n._root,e?e._root:void 0);return new aI(i,n)}(this.routeReuseStrategy,a.targetSnapshot,a.currentRouterState);return r={...a,targetRouterState:l}}),rr(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)}),((t,n,e)=>Ne(i=>(new L$(n,i.targetRouterState,i.currentRouterState,e).activate(t),i)))(this.rootContexts,this.routeReuseStrategy,a=>this.triggerEvent(a)),rr({next(){o=!0},complete(){o=!0}}),j_(()=>{o||s||this.cancelNavigationTransition(r,"",1),this.currentNavigation?.id===r.id&&(this.currentNavigation=null)}),xa(a=>{if(s=!0,mI(a)){pI(a)||(this.navigated=!0,this.restoreHistory(r,!0));const l=new Z_(r.id,this.serializeUrl(r.extractedUrl),a.message,a.cancellationCode);if(i.next(l),pI(a)){const c=this.urlHandlingStrategy.merge(a.url,this.rawUrlTree),p={skipLocationChange:r.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||NI(r.source)};this.scheduleNavigation(c,"imperative",null,p,{resolve:r.resolve,reject:r.reject,promise:r.promise})}else r.resolve(!1)}else{this.restoreHistory(r,!0);const l=new rI(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 St}))}))}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(FC),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,p=l?this.currentUrlTree.fragment:s;let m=null;switch(a){case"merge":m={...this.currentUrlTree.queryParams,...o};break;case"preserve":m=this.currentUrlTree.queryParams;break;default:m=o||null}return null!==m&&(m=this.removeEmptyProps(m)),a$(c,this.currentUrlTree,e,m,p??null)}navigateByUrl(e,i={skipLocationChange:!1}){const r=_u(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 VG(t){for(let n=0;n{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 vu(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((_,C)=>{a=_,l=C});const p=++this.navigationId;let m;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(r=this.location.getState()),m=r&&r.\u0275routerPageId?r.\u0275routerPageId:o.replaceUrl||o.skipLocationChange?this.browserPageId??0:(this.browserPageId??0)+1):m=0,this.setTransition({id:p,targetPageId:m,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(_=>Promise.reject(_))}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 Z_(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 t.\u0275fac=function(e){ga()},t.\u0275prov=Ee({token:t,factory:function(){return FI()},providedIn:"root"}),t})();function NI(t){return"imperative"!==t}let Ip=(()=>{class t{constructor(e,i,r,o,s){this.router=e,this.route=i,this.tabIndexAttribute=r,this.renderer=o,this.el=s,this._preserveFragment=!1,this._skipLocationChange=!1,this._replaceUrl=!1,this.commands=null,this.onChanges=new pe,this.setTabIndexIfNotOnNativeEl("0")}set preserveFragment(e){this._preserveFragment=ml(e)}get preserveFragment(){return this._preserveFragment}set skipLocationChange(e){this._skipLocationChange=ml(e)}get skipLocationChange(){return this._skipLocationChange}set replaceUrl(e){this._replaceUrl=ml(e)}get replaceUrl(){return this._replaceUrl}setTabIndexIfNotOnNativeEl(e){if(null!=this.tabIndexAttribute)return;const i=this.renderer,r=this.el.nativeElement;null!==e?i.setAttribute(r,"tabindex",e):i.removeAttribute(r,"tabindex")}ngOnChanges(e){this.onChanges.next(this)}set routerLink(e){null!=e?(this.commands=Array.isArray(e)?e:[e],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(){return null===this.urlTree||this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!0}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}}return t.\u0275fac=function(e){return new(e||t)(D(Or),D(Cl),ho("tabindex"),D(vs),D(xe))},t.\u0275dir=fe({type:t,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(e,i){1&e&&ne("click",function(){return i.onClick()})},inputs:{queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",routerLink:"routerLink"},standalone:!0,features:[Tn]}),t})(),Pp=(()=>{class t{constructor(e,i,r){this.router=e,this.route=i,this.locationStrategy=r,this._preserveFragment=!1,this._skipLocationChange=!1,this._replaceUrl=!1,this.commands=null,this.href=null,this.onChanges=new pe,this.subscription=e.events.subscribe(o=>{o instanceof vu&&this.updateTargetUrlAndHref()})}set preserveFragment(e){this._preserveFragment=ml(e)}get preserveFragment(){return this._preserveFragment}set skipLocationChange(e){this._skipLocationChange=ml(e)}get skipLocationChange(){return this._skipLocationChange}set replaceUrl(e){this._replaceUrl=ml(e)}get replaceUrl(){return this._replaceUrl}set routerLink(e){this.commands=null!=e?Array.isArray(e)?e:[e]:null}ngOnChanges(e){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(e,i,r,o,s){return!!(0!==e||i||r||o||s||"string"==typeof this.target&&"_self"!=this.target||null===this.urlTree)||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!1)}updateTargetUrlAndHref(){this.href=null!==this.urlTree?this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}}return t.\u0275fac=function(e){return new(e||t)(D(Or),D(Cl),D(fu))},t.\u0275dir=fe({type:t,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(e,i){1&e&&ne("click",function(o){return i.onClick(o.button,o.ctrlKey,o.shiftKey,o.altKey,o.metaKey)}),2&e&&Je("target",i.target)("href",i.href,_w)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",routerLink:"routerLink"},standalone:!0,features:[Tn]}),t})();class LI{}let WG=(()=>{class t{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(hi(e=>e instanceof vu),bl(()=>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=f_(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 Bn(r).pipe(hn())}preloadConfig(e,i){return this.preloadingStrategy.preload(i,()=>{let r;r=i.loadChildren&&void 0===i.canLoad?this.loader.loadChildren(e,i):ct(null);const o=r.pipe(mt(s=>null===s?ct(void 0):(i._loadedRoutes=s.routes,i._loadedInjector=s.injector,this.processRoutes(s.injector??e,s.routes))));return i.loadComponent&&!i._loadedComponent?Bn([o,this.loader.loadComponent(i)]).pipe(hn()):o})}}return t.\u0275fac=function(e){return new(e||t)(K(Or),K(A1),K(lc),K(LI),K(zC))},t.\u0275prov=Ee({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const WC=new u("");let BI=(()=>{class t{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 kC?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof vu&&(this.lastId=e.id,this.scheduleScrollEvent(e,this.router.parseUrl(e.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(e=>{e instanceof oI&&(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 oI(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,i))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return t.\u0275fac=function(e){ga()},t.\u0275prov=Ee({token:t,factory:t.\u0275fac}),t})();function sh(t,n){return{\u0275kind:t,\u0275providers:n}}function jC(t){return[{provide:HC,multi:!0,useValue:t}]}function HI(){const t=ki(Qi);return n=>{const e=t.get(Kd);if(n!==e.components[0])return;const i=t.get(Or),r=t.get(zI);1===t.get(UC)&&i.initialNavigation(),t.get(WI,null,Vt.Optional)?.setUpPreloading(),t.get(WC,null,Vt.Optional)?.init(),i.resetRootComponentType(e.componentTypes[0]),r.closed||(r.next(),r.unsubscribe())}}const zI=new u("",{factory:()=>new pe}),UC=new u("",{providedIn:"root",factory:()=>1});const WI=new u("");function GG(t){return sh(0,[{provide:WI,useExisting:WG},{provide:LI,useExisting:t}])}const jI=new u("ROUTER_FORROOT_GUARD"),qG=[up,{provide:YO,useClass:bC},{provide:Or,useFactory:FI},Dp,{provide:Cl,useFactory:function VI(t){return t.routerState.root},deps:[Or]},zC];function YG(){return new g2("Router",Or)}let KG=(()=>{class t{constructor(e){}static forRoot(e,i){return{ngModule:t,providers:[qG,[],jC(e),{provide:jI,useFactory:JG,deps:[[Or,new Us,new al]]},{provide:sv,useValue:i||{}},i?.useHash?{provide:fu,useClass:dW}:{provide:fu,useClass:H2},{provide:WC,useFactory:()=>{const t=ki(Or),n=ki(Cj),e=ki(sv);return e.scrollOffset&&n.setOffset(e.scrollOffset),new BI(t,n,e)}},i?.preloadingStrategy?GG(i.preloadingStrategy).\u0275providers:[],{provide:g2,multi:!0,useFactory:YG},i?.initialNavigation?eq(i):[],[{provide:UI,useFactory:HI},{provide:c2,multi:!0,useExisting:UI}]]}}static forChild(e){return{ngModule:t,providers:[jC(e)]}}}return t.\u0275fac=function(e){return new(e||t)(K(jI,8))},t.\u0275mod=Ct({type:t}),t.\u0275inj=yt({imports:[PC]}),t})();function JG(t){return"guarded"}function eq(t){return["disabled"===t.initialNavigation?sh(3,[{provide:ap,multi:!0,useFactory:()=>{const n=ki(Or);return()=>{n.setUpLocationChangeListener()}}},{provide:UC,useValue:2}]).\u0275providers:[],"enabledBlocking"===t.initialNavigation?sh(2,[{provide:UC,useValue:0},{provide:ap,multi:!0,deps:[Qi],useFactory:n=>{const e=n.get(cW,Promise.resolve());let i=!1;return()=>e.then(()=>new Promise(o=>{const s=n.get(Or),a=n.get(zI);(function r(o){n.get(Or).events.pipe(hi(a=>a instanceof vu||a instanceof Z_||a instanceof rI),Ne(a=>a instanceof vu||a instanceof Z_&&(0===a.code||1===a.code)&&null),hi(a=>null!==a),di(1)).subscribe(()=>{o()})})(()=>{o(!0),i=!0}),s.afterPreactivation=()=>(o(!0),i||a.closed?ct(void 0):a),s.initialNavigation()}))}}]).\u0275providers:[]]}const UI=new u("");function $I(...t){const n=it(t),{args:e,keys:i}=IO(t),r=new bn(o=>{const{length:s}=e;if(!s)return void o.complete();const a=new Array(s);let l=s,c=s;for(let p=0;p{m||(m=!0,c--),a[p]=_},()=>l--,void 0,()=>{(!l||!m)&&(c||o.next(i?PO(i,a):a),o.complete())}))}});return n?r.pipe(pC(n)):r}let GI=(()=>{class t{constructor(e,i){this._renderer=e,this._elementRef=i,this.onChange=r=>{},this.onTouched=()=>{}}setProperty(e,i){this._renderer.setProperty(this._elementRef.nativeElement,e,i)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}}return t.\u0275fac=function(e){return new(e||t)(D(vs),D(xe))},t.\u0275dir=fe({type:t}),t})(),bu=(()=>{class t extends GI{}return t.\u0275fac=function(){let n;return function(i){return(n||(n=Ht(t)))(i||t)}}(),t.\u0275dir=fe({type:t,features:[we]}),t})();const Oo=new u("NgValueAccessor"),iq={provide:Oo,useExisting:xn(()=>ea),multi:!0},oq=new u("CompositionEventMode");let ea=(()=>{class t extends GI{constructor(e,i,r){super(e,i),this._compositionMode=r,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function rq(){const t=Sa()?Sa().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}())}writeValue(e){this.setProperty("value",e??"")}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}}return t.\u0275fac=function(e){return new(e||t)(D(vs),D(xe),D(oq,8))},t.\u0275dir=fe({type:t,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(e,i){1&e&&ne("input",function(o){return i._handleInput(o.target.value)})("blur",function(){return i.onTouched()})("compositionstart",function(){return i._compositionStart()})("compositionend",function(o){return i._compositionEnd(o.target.value)})},features:[_t([iq]),we]}),t})();function _c(t){return null==t||("string"==typeof t||Array.isArray(t))&&0===t.length}function YI(t){return null!=t&&"number"==typeof t.length}const qr=new u("NgValidators"),vc=new u("NgAsyncValidators"),aq=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class Da{static min(n){return KI(n)}static max(n){return ZI(n)}static required(n){return QI(n)}static requiredTrue(n){return function XI(t){return!0===t.value?null:{required:!0}}(n)}static email(n){return function JI(t){return _c(t.value)||aq.test(t.value)?null:{email:!0}}(n)}static minLength(n){return function eP(t){return n=>_c(n.value)||!YI(n.value)?null:n.value.lengthYI(n.value)&&n.value.length>t?{maxlength:{requiredLength:t,actualLength:n.value.length}}:null}(n)}static pattern(n){return nP(n)}static nullValidator(n){return null}static compose(n){return lP(n)}static composeAsync(n){return cP(n)}}function KI(t){return n=>{if(_c(n.value)||_c(t))return null;const e=parseFloat(n.value);return!isNaN(e)&&e{if(_c(n.value)||_c(t))return null;const e=parseFloat(n.value);return!isNaN(e)&&e>t?{max:{max:t,actual:n.value}}:null}}function QI(t){return _c(t.value)?{required:!0}:null}function nP(t){if(!t)return uv;let n,e;return"string"==typeof t?(e="","^"!==t.charAt(0)&&(e+="^"),e+=t,"$"!==t.charAt(t.length-1)&&(e+="$"),n=new RegExp(e)):(e=t.toString(),n=t),i=>{if(_c(i.value))return null;const r=i.value;return n.test(r)?null:{pattern:{requiredPattern:e,actualValue:r}}}}function uv(t){return null}function iP(t){return null!=t}function rP(t){return Qf(t)?Bn(t):t}function oP(t){let n={};return t.forEach(e=>{n=null!=e?{...n,...e}:n}),0===Object.keys(n).length?null:n}function sP(t,n){return n.map(e=>e(t))}function aP(t){return t.map(n=>function lq(t){return!t.validate}(n)?n:e=>n.validate(e))}function lP(t){if(!t)return null;const n=t.filter(iP);return 0==n.length?null:function(e){return oP(sP(e,n))}}function $C(t){return null!=t?lP(aP(t)):null}function cP(t){if(!t)return null;const n=t.filter(iP);return 0==n.length?null:function(e){return $I(sP(e,n).map(rP)).pipe(Ne(oP))}}function GC(t){return null!=t?cP(aP(t)):null}function uP(t,n){return null===t?[n]:Array.isArray(t)?[...t,n]:[t,n]}function dP(t){return t._rawValidators}function hP(t){return t._rawAsyncValidators}function qC(t){return t?Array.isArray(t)?t:[t]:[]}function dv(t,n){return Array.isArray(t)?t.includes(n):t===n}function fP(t,n){const e=qC(n);return qC(t).forEach(r=>{dv(e,r)||e.push(r)}),e}function pP(t,n){return qC(n).filter(e=>!dv(t,e))}class mP{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(n){this._rawValidators=n||[],this._composedValidatorFn=$C(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=GC(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(n){this._onDestroyCallbacks.push(n)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(n=>n()),this._onDestroyCallbacks=[]}reset(n){this.control&&this.control.reset(n)}hasError(n,e){return!!this.control&&this.control.hasError(n,e)}getError(n,e){return this.control?this.control.getError(n,e):null}}class Io extends mP{get formDirective(){return null}get path(){return null}}class Ma extends mP{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class gP{constructor(n){this._cd=n}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let xs=(()=>{class t extends gP{constructor(e){super(e)}}return t.\u0275fac=function(e){return new(e||t)(D(Ma,2))},t.\u0275dir=fe({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(e,i){2&e&&Rt("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending)},features:[we]}),t})(),ts=(()=>{class t extends gP{constructor(e){super(e)}}return t.\u0275fac=function(e){return new(e||t)(D(Io,10))},t.\u0275dir=fe({type:t,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(e,i){2&e&&Rt("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending)("ng-submitted",i.isSubmitted)},features:[we]}),t})();const Rp="VALID",fv="INVALID",ah="PENDING",Fp="DISABLED";function QC(t){return(pv(t)?t.validators:t)||null}function vP(t){return Array.isArray(t)?$C(t):t||null}function XC(t,n){return(pv(n)?n.asyncValidators:t)||null}function bP(t){return Array.isArray(t)?GC(t):t||null}function pv(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}function yP(t,n,e){const i=t.controls;if(!(n?Object.keys(i):i).length)throw new ke(1e3,"");if(!i[e])throw new ke(1001,"")}function wP(t,n,e){t._forEachChild((i,r)=>{if(void 0===e[r])throw new ke(1002,"")})}class mv{constructor(n,e){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=n,this._rawAsyncValidators=e,this._composedValidatorFn=vP(this._rawValidators),this._composedAsyncValidatorFn=bP(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(n){this._rawValidators=this._composedValidatorFn=n}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(n){this._rawAsyncValidators=this._composedAsyncValidatorFn=n}get parent(){return this._parent}get valid(){return this.status===Rp}get invalid(){return this.status===fv}get pending(){return this.status==ah}get disabled(){return this.status===Fp}get enabled(){return this.status!==Fp}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._rawValidators=n,this._composedValidatorFn=vP(n)}setAsyncValidators(n){this._rawAsyncValidators=n,this._composedAsyncValidatorFn=bP(n)}addValidators(n){this.setValidators(fP(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(fP(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(pP(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(pP(n,this._rawAsyncValidators))}hasValidator(n){return dv(this._rawValidators,n)}hasAsyncValidator(n){return dv(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){this.touched=!0,this._parent&&!n.onlySelf&&this._parent.markAsTouched(n)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(n=>n.markAllAsTouched())}markAsUntouched(n={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(e=>{e.markAsUntouched({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}markAsDirty(n={}){this.pristine=!1,this._parent&&!n.onlySelf&&this._parent.markAsDirty(n)}markAsPristine(n={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(e=>{e.markAsPristine({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}markAsPending(n={}){this.status=ah,!1!==n.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!n.onlySelf&&this._parent.markAsPending(n)}disable(n={}){const e=this._parentMarkedDirty(n.onlySelf);this.status=Fp,this.errors=null,this._forEachChild(i=>{i.disable({...n,onlySelf:!0})}),this._updateValue(),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...n,skipPristineCheck:e}),this._onDisabledChange.forEach(i=>i(!0))}enable(n={}){const e=this._parentMarkedDirty(n.onlySelf);this.status=Rp,this._forEachChild(i=>{i.enable({...n,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors({...n,skipPristineCheck:e}),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(n){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Rp||this.status===ah)&&this._runAsyncValidator(n.emitEvent)),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity(n)}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Fp:Rp}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n){if(this.asyncValidator){this.status=ah,this._hasOwnPendingAsyncValidator=!0;const e=rP(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(i=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(i,{emitEvent:n})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(n,e={}){this.errors=n,this._updateControlsErrors(!1!==e.emitEvent)}get(n){let e=n;return null==e||(Array.isArray(e)||(e=e.split(".")),0===e.length)?null:e.reduce((i,r)=>i&&i._find(r),this)}getError(n,e){const i=e?this.get(e):this;return i&&i.errors?i.errors[n]:null}hasError(n,e){return!!this.getError(n,e)}get root(){let n=this;for(;n._parent;)n=n._parent;return n}_updateControlsErrors(n){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(n)}_initObservables(){this.valueChanges=new Ge,this.statusChanges=new Ge}_calculateStatus(){return this._allControlsDisabled()?Fp:this.errors?fv:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(ah)?ah:this._anyControlsHaveStatus(fv)?fv:Rp}_anyControlsHaveStatus(n){return this._anyControls(e=>e.status===n)}_anyControlsDirty(){return this._anyControls(n=>n.dirty)}_anyControlsTouched(){return this._anyControls(n=>n.touched)}_updatePristine(n={}){this.pristine=!this._anyControlsDirty(),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}_updateTouched(n={}){this.touched=this._anyControlsTouched(),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){pv(n)&&null!=n.updateOn&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){return!n&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(n){return null}}class lh extends mv{constructor(n,e,i){super(QC(e),XC(i,e)),this.controls=n,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(n,e){return this.controls[n]?this.controls[n]:(this.controls[n]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(n,e,i={}){this.registerControl(n,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}removeControl(n,e={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(n,e,i={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],e&&this.registerControl(n,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}contains(n){return this.controls.hasOwnProperty(n)&&this.controls[n].enabled}setValue(n,e={}){wP(this,0,n),Object.keys(n).forEach(i=>{yP(this,!0,i),this.controls[i].setValue(n[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(n,e={}){null!=n&&(Object.keys(n).forEach(i=>{const r=this.controls[i];r&&r.patchValue(n[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(n={},e={}){this._forEachChild((i,r)=>{i.reset(n[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(n,e,i)=>(n[i]=e.getRawValue(),n))}_syncPendingControls(){let n=this._reduceChildren(!1,(e,i)=>!!i._syncPendingControls()||e);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){Object.keys(this.controls).forEach(e=>{const i=this.controls[e];i&&n(i,e)})}_setUpControls(){this._forEachChild(n=>{n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(n){for(const[e,i]of Object.entries(this.controls))if(this.contains(e)&&n(i))return!0;return!1}_reduceValue(){return this._reduceChildren({},(e,i,r)=>((i.enabled||this.disabled)&&(e[r]=i.value),e))}_reduceChildren(n,e){let i=n;return this._forEachChild((r,o)=>{i=e(i,r,o)}),i}_allControlsDisabled(){for(const n of Object.keys(this.controls))if(this.controls[n].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(n){return this.controls.hasOwnProperty(n)?this.controls[n]:null}}const gv=lh;class CP extends lh{}function _v(t,n){return[...n.path,t]}function Np(t,n){JC(t,n),n.valueAccessor.writeValue(t.value),t.disabled&&n.valueAccessor.setDisabledState?.(!0),function gq(t,n){n.valueAccessor.registerOnChange(e=>{t._pendingValue=e,t._pendingChange=!0,t._pendingDirty=!0,"change"===t.updateOn&&SP(t,n)})}(t,n),function vq(t,n){const e=(i,r)=>{n.valueAccessor.writeValue(i),r&&n.viewToModelUpdate(i)};t.registerOnChange(e),n._registerOnDestroy(()=>{t._unregisterOnChange(e)})}(t,n),function _q(t,n){n.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,"blur"===t.updateOn&&t._pendingChange&&SP(t,n),"submit"!==t.updateOn&&t.markAsTouched()})}(t,n),function mq(t,n){if(n.valueAccessor.setDisabledState){const e=i=>{n.valueAccessor.setDisabledState(i)};t.registerOnDisabledChange(e),n._registerOnDestroy(()=>{t._unregisterOnDisabledChange(e)})}}(t,n)}function vv(t,n,e=!0){const i=()=>{};n.valueAccessor&&(n.valueAccessor.registerOnChange(i),n.valueAccessor.registerOnTouched(i)),yv(t,n),t&&(n._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function bv(t,n){t.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(n)})}function JC(t,n){const e=dP(t);null!==n.validator?t.setValidators(uP(e,n.validator)):"function"==typeof e&&t.setValidators([e]);const i=hP(t);null!==n.asyncValidator?t.setAsyncValidators(uP(i,n.asyncValidator)):"function"==typeof i&&t.setAsyncValidators([i]);const r=()=>t.updateValueAndValidity();bv(n._rawValidators,r),bv(n._rawAsyncValidators,r)}function yv(t,n){let e=!1;if(null!==t){if(null!==n.validator){const r=dP(t);if(Array.isArray(r)&&r.length>0){const o=r.filter(s=>s!==n.validator);o.length!==r.length&&(e=!0,t.setValidators(o))}}if(null!==n.asyncValidator){const r=hP(t);if(Array.isArray(r)&&r.length>0){const o=r.filter(s=>s!==n.asyncValidator);o.length!==r.length&&(e=!0,t.setAsyncValidators(o))}}}const i=()=>{};return bv(n._rawValidators,i),bv(n._rawAsyncValidators,i),e}function SP(t,n){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function xP(t,n){JC(t,n)}function eS(t,n){if(!t.hasOwnProperty("model"))return!1;const e=t.model;return!!e.isFirstChange()||!Object.is(n,e.currentValue)}function DP(t,n){t._syncPendingControls(),n.forEach(e=>{const i=e.control;"submit"===i.updateOn&&i._pendingChange&&(e.viewToModelUpdate(i._pendingValue),i._pendingChange=!1)})}function tS(t,n){if(!n)return null;let e,i,r;return Array.isArray(n),n.forEach(o=>{o.constructor===ea?e=o:function wq(t){return Object.getPrototypeOf(t.constructor)===bu}(o)?i=o:r=o}),r||i||e||null}const Sq={provide:Io,useExisting:xn(()=>ns)},Lp=(()=>Promise.resolve())();let ns=(()=>{class t extends Io{constructor(e,i){super(),this.submitted=!1,this._directives=new Set,this.ngSubmit=new Ge,this.form=new lh({},$C(e),GC(i))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){Lp.then(()=>{const i=this._findContainer(e.path);e.control=i.registerControl(e.name,e.control),Np(e.control,e),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){Lp.then(()=>{const i=this._findContainer(e.path);i&&i.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){Lp.then(()=>{const i=this._findContainer(e.path),r=new lh({});xP(r,e),i.registerControl(e.name,r),r.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){Lp.then(()=>{const i=this._findContainer(e.path);i&&i.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,i){Lp.then(()=>{this.form.get(e.path).setValue(i)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submitted=!0,DP(this.form,this._directives),this.ngSubmit.emit(e),"dialog"===e?.target?.method}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}}return t.\u0275fac=function(e){return new(e||t)(D(qr,10),D(vc,10))},t.\u0275dir=fe({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(e,i){1&e&&ne("submit",function(o){return i.onSubmit(o)})("reset",function(){return i.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[_t([Sq]),we]}),t})();function MP(t,n){const e=t.indexOf(n);e>-1&&t.splice(e,1)}function TP(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value"in t&&"disabled"in t}const ch=class extends mv{constructor(n=null,e,i){super(QC(e),XC(i,e)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(n),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),pv(e)&&(e.nonNullable||e.initialValueIsDefault)&&(this.defaultValue=TP(n)?n.value:n)}setValue(n,e={}){this.value=this._pendingValue=n,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(i=>i(this.value,!1!==e.emitViewToModelChange)),this.updateValueAndValidity(e)}patchValue(n,e={}){this.setValue(n,e)}reset(n=this.defaultValue,e={}){this._applyFormState(n),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){MP(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){MP(this._onDisabledChange,n)}_forEachChild(n){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(n){TP(n)?(this.value=this._pendingValue=n.value,n.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=n}},Po=ch,Dq={provide:Ma,useExisting:xn(()=>Sl)},OP=(()=>Promise.resolve())();let Sl=(()=>{class t extends Ma{constructor(e,i,r,o,s){super(),this._changeDetectorRef=s,this.control=new ch,this._registered=!1,this.update=new Ge,this._parent=e,this._setValidators(i),this._setAsyncValidators(r),this.valueAccessor=tS(0,o)}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){const i=e.name.previousValue;this.formDirective.removeControl({name:i,path:this._getPath(i)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),eS(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){Np(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(e){OP.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(e){const i=e.isDisabled.currentValue,r=0!==i&&ml(i);OP.then(()=>{r&&!this.control.disabled?this.control.disable():!r&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(e){return this._parent?_v(e,this._parent):[e]}}return t.\u0275fac=function(e){return new(e||t)(D(Io,9),D(qr,10),D(vc,10),D(Oo,10),D(wn,8))},t.\u0275dir=fe({type:t,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[_t([Dq]),we,Tn]}),t})(),ks=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=fe({type:t,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),t})();const Mq={provide:Oo,useExisting:xn(()=>uh),multi:!0};let uh=(()=>{class t extends bu{writeValue(e){this.setProperty("value",e??"")}registerOnChange(e){this.onChange=i=>{e(""==i?null:parseFloat(i))}}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=Ht(t)))(i||t)}}(),t.\u0275dir=fe({type:t,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(e,i){1&e&&ne("input",function(o){return i.onChange(o.target.value)})("blur",function(){return i.onTouched()})},features:[_t([Mq]),we]}),t})(),IP=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Ct({type:t}),t.\u0275inj=yt({}),t})();const nS=new u("NgModelWithFormControlWarning"),Iq={provide:Io,useExisting:xn(()=>Ta)};let Ta=(()=>{class t extends Io{constructor(e,i){super(),this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new Ge,this._setValidators(e),this._setAsyncValidators(i)}ngOnChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(yv(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){const i=this.form.get(e.path);return Np(i,e),i.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),i}getControl(e){return this.form.get(e.path)}removeControl(e){vv(e.control||null,e,!1),function Cq(t,n){const e=t.indexOf(n);e>-1&&t.splice(e,1)}(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}getFormArray(e){return this.form.get(e.path)}updateModel(e,i){this.form.get(e.path).setValue(i)}onSubmit(e){return this.submitted=!0,DP(this.form,this.directives),this.ngSubmit.emit(e),"dialog"===e?.target?.method}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_updateDomValue(){this.directives.forEach(e=>{const i=e.control,r=this.form.get(e.path);i!==r&&(vv(i||null,e),(t=>t instanceof ch)(r)&&(Np(r,e),e.control=r))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){const i=this.form.get(e.path);xP(i,e),i.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){const i=this.form.get(e.path);i&&function bq(t,n){return yv(t,n)}(i,e)&&i.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){JC(this.form,this),this._oldForm&&yv(this._oldForm,this)}_checkFormPresent(){}}return t.\u0275fac=function(e){return new(e||t)(D(qr,10),D(vc,10))},t.\u0275dir=fe({type:t,selectors:[["","formGroup",""]],hostBindings:function(e,i){1&e&&ne("submit",function(o){return i.onSubmit(o)})("reset",function(){return i.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[_t([Iq]),we,Tn]}),t})();const Fq={provide:Ma,useExisting:xn(()=>yu)};let yu=(()=>{class t extends Ma{constructor(e,i,r,o,s){super(),this._ngModelWarningConfig=s,this._added=!1,this.update=new Ge,this._ngModelWarningSent=!1,this._parent=e,this._setValidators(i),this._setAsyncValidators(r),this.valueAccessor=tS(0,o)}set isDisabled(e){}ngOnChanges(e){this._added||this._setUpControl(),eS(e,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}get path(){return _v(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}}return t._ngModelWarningSentOnce=!1,t.\u0275fac=function(e){return new(e||t)(D(Io,13),D(qr,10),D(vc,10),D(Oo,10),D(nS,8))},t.\u0275dir=fe({type:t,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[_t([Fq]),we,Tn]}),t})();function HP(t){return"number"==typeof t?t:parseFloat(t)}let wu=(()=>{class t{constructor(){this._validator=uv}ngOnChanges(e){if(this.inputName in e){const i=this.normalizeInput(e[this.inputName].currentValue);this._enabled=this.enabled(i),this._validator=this._enabled?this.createValidator(i):uv,this._onChange&&this._onChange()}}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e}enabled(e){return null!=e}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=fe({type:t,features:[Tn]}),t})();const Wq={provide:qr,useExisting:xn(()=>aS),multi:!0};let aS=(()=>{class t extends wu{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=e=>HP(e),this.createValidator=e=>ZI(e)}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=Ht(t)))(i||t)}}(),t.\u0275dir=fe({type:t,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(e,i){2&e&&Je("max",i._enabled?i.max:null)},inputs:{max:"max"},features:[_t([Wq]),we]}),t})();const jq={provide:qr,useExisting:xn(()=>lS),multi:!0};let lS=(()=>{class t extends wu{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=e=>HP(e),this.createValidator=e=>KI(e)}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=Ht(t)))(i||t)}}(),t.\u0275dir=fe({type:t,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(e,i){2&e&&Je("min",i._enabled?i.min:null)},inputs:{min:"min"},features:[_t([jq]),we]}),t})();const Uq={provide:qr,useExisting:xn(()=>ta),multi:!0};let ta=(()=>{class t extends wu{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=ml,this.createValidator=e=>QI}enabled(e){return e}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=Ht(t)))(i||t)}}(),t.\u0275dir=fe({type:t,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(e,i){2&e&&Je("required",i._enabled?"":null)},inputs:{required:"required"},features:[_t([Uq]),we]}),t})();const Kq={provide:qr,useExisting:xn(()=>cS),multi:!0};let cS=(()=>{class t extends wu{constructor(){super(...arguments),this.inputName="pattern",this.normalizeInput=e=>e,this.createValidator=e=>nP(e)}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=Ht(t)))(i||t)}}(),t.\u0275dir=fe({type:t,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(e,i){2&e&&Je("pattern",i._enabled?i.pattern:null)},inputs:{pattern:"pattern"},features:[_t([Kq]),we]}),t})(),UP=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Ct({type:t}),t.\u0275inj=yt({imports:[IP]}),t})(),Zq=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Ct({type:t}),t.\u0275inj=yt({imports:[UP]}),t})(),uS=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:nS,useValue:e.warnOnNgModelWithFormControl}]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Ct({type:t}),t.\u0275inj=yt({imports:[UP]}),t})();class $P extends mv{constructor(n,e,i){super(QC(e),XC(i,e)),this.controls=n,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(n){return this.controls[this._adjustIndex(n)]}push(n,e={}){this.controls.push(n),this._registerControl(n),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}insert(n,e,i={}){this.controls.splice(n,0,e),this._registerControl(e),this.updateValueAndValidity({emitEvent:i.emitEvent})}removeAt(n,e={}){let i=this._adjustIndex(n);i<0&&(i=0),this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),this.controls.splice(i,1),this.updateValueAndValidity({emitEvent:e.emitEvent})}setControl(n,e,i={}){let r=this._adjustIndex(n);r<0&&(r=0),this.controls[r]&&this.controls[r]._registerOnCollectionChange(()=>{}),this.controls.splice(r,1),e&&(this.controls.splice(r,0,e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(n,e={}){wP(this,0,n),n.forEach((i,r)=>{yP(this,!1,r),this.at(r).setValue(i,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(n,e={}){null!=n&&(n.forEach((i,r)=>{this.at(r)&&this.at(r).patchValue(i,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(n=[],e={}){this._forEachChild((i,r)=>{i.reset(n[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map(n=>n.getRawValue())}clear(n={}){this.controls.length<1||(this._forEachChild(e=>e._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:n.emitEvent}))}_adjustIndex(n){return n<0?n+this.length:n}_syncPendingControls(){let n=this.controls.reduce((e,i)=>!!i._syncPendingControls()||e,!1);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){this.controls.forEach((e,i)=>{n(e,i)})}_updateValue(){this.value=this.controls.filter(n=>n.enabled||this.disabled).map(n=>n.value)}_anyControls(n){return this.controls.some(e=>e.enabled&&n(e))}_setUpControls(){this._forEachChild(n=>this._registerControl(n))}_allControlsDisabled(){for(const n of this.controls)if(n.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(n){n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)}_find(n){return this.at(n)??null}}function GP(t){return!!t&&(void 0!==t.asyncValidators||void 0!==t.validators||void 0!==t.updateOn)}let Qq=(()=>{class t{constructor(){this.useNonNullable=!1}get nonNullable(){const e=new t;return e.useNonNullable=!0,e}group(e,i=null){const r=this._reduceControls(e);let o={};return GP(i)?o=i:null!==i&&(o.validators=i.validator,o.asyncValidators=i.asyncValidator),new lh(r,o)}record(e,i=null){const r=this._reduceControls(e);return new CP(r,i)}control(e,i,r){let o={};return this.useNonNullable?(GP(i)?o=i:(o.validators=i,o.asyncValidators=r),new ch(e,{...o,nonNullable:!0})):new ch(e,i,r)}array(e,i,r){const o=e.map(s=>this._createControl(s));return new $P(o,i,r)}_reduceControls(e){const i={};return Object.keys(e).forEach(r=>{i[r]=this._createControl(e[r])}),i}_createControl(e){return e instanceof ch||e instanceof mv?e:Array.isArray(e)?this.control(e[0],e.length>1?e[1]:null,e.length>2?e[2]:null):this.control(e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ee({token:t,factory:t.\u0275fac,providedIn:uS}),t})(),Xq=(()=>{class t extends Qq{group(e,i=null){return super.group(e,i)}control(e,i,r){return super.control(e,i,r)}array(e,i,r){return super.array(e,i,r)}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=Ht(t)))(i||t)}}(),t.\u0275prov=Ee({token:t,factory:t.\u0275fac,providedIn:uS}),t})();class qP{}class YP{}class xl{constructor(n){this.normalizedNames=new Map,this.lazyUpdate=null,n?this.lazyInit="string"==typeof n?()=>{this.headers=new Map,n.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(n).forEach(e=>{let i=n[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(n){return this.init(),this.headers.has(n.toLowerCase())}get(n){this.init();const e=this.headers.get(n.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(n){return this.init(),this.headers.get(n.toLowerCase())||null}append(n,e){return this.clone({name:n,value:e,op:"a"})}set(n,e){return this.clone({name:n,value:e,op:"s"})}delete(n,e){return this.clone({name:n,value:e,op:"d"})}maybeSetNormalizedName(n,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,n)}init(){this.lazyInit&&(this.lazyInit instanceof xl?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(n=>this.applyUpdate(n)),this.lazyUpdate=null))}copyFrom(n){n.init(),Array.from(n.headers.keys()).forEach(e=>{this.headers.set(e,n.headers.get(e)),this.normalizedNames.set(e,n.normalizedNames.get(e))})}clone(n){const e=new xl;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof xl?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([n]),e}applyUpdate(n){const e=n.name.toLowerCase();switch(n.op){case"a":case"s":let i=n.value;if("string"==typeof i&&(i=[i]),0===i.length)return;this.maybeSetNormalizedName(n.name,e);const r=("a"===n.op?this.headers.get(e):void 0)||[];r.push(...i),this.headers.set(e,r);break;case"d":const o=n.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(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>n(this.normalizedNames.get(e),this.headers.get(e)))}}class Jq{encodeKey(n){return KP(n)}encodeValue(n){return KP(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}}const tY=/%(\d[a-f0-9])/gi,nY={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function KP(t){return encodeURIComponent(t).replace(tY,(n,e)=>nY[e]??n)}function Cv(t){return`${t}`}class bc{constructor(n={}){if(this.updates=null,this.cloneFrom=null,this.encoder=n.encoder||new Jq,n.fromString){if(n.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function eY(t,n){const e=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(r=>{const o=r.indexOf("="),[s,a]=-1==o?[n.decodeKey(r),""]:[n.decodeKey(r.slice(0,o)),n.decodeValue(r.slice(o+1))],l=e.get(s)||[];l.push(a),e.set(s,l)}),e}(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(e=>{const i=n.fromObject[e],r=Array.isArray(i)?i.map(Cv):[Cv(i)];this.map.set(e,r)})):this.map=null}has(n){return this.init(),this.map.has(n)}get(n){this.init();const e=this.map.get(n);return e?e[0]:null}getAll(n){return this.init(),this.map.get(n)||null}keys(){return this.init(),Array.from(this.map.keys())}append(n,e){return this.clone({param:n,value:e,op:"a"})}appendAll(n){const e=[];return Object.keys(n).forEach(i=>{const r=n[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(n,e){return this.clone({param:n,value:e,op:"s"})}delete(n,e){return this.clone({param:n,value:e,op:"d"})}toString(){return this.init(),this.keys().map(n=>{const e=this.encoder.encodeKey(n);return this.map.get(n).map(i=>e+"="+this.encoder.encodeValue(i)).join("&")}).filter(n=>""!==n).join("&")}clone(n){const e=new bc({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(n),e}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(n=>this.map.set(n,this.cloneFrom.map.get(n))),this.updates.forEach(n=>{switch(n.op){case"a":case"s":const e=("a"===n.op?this.map.get(n.param):void 0)||[];e.push(Cv(n.value)),this.map.set(n.param,e);break;case"d":if(void 0===n.value){this.map.delete(n.param);break}{let i=this.map.get(n.param)||[];const r=i.indexOf(Cv(n.value));-1!==r&&i.splice(r,1),i.length>0?this.map.set(n.param,i):this.map.delete(n.param)}}}),this.cloneFrom=this.updates=null)}}class iY{constructor(){this.map=new Map}set(n,e){return this.map.set(n,e),this}get(n){return this.map.has(n)||this.map.set(n,n.defaultValue()),this.map.get(n)}delete(n){return this.map.delete(n),this}has(n){return this.map.has(n)}keys(){return this.map.keys()}}function ZP(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function QP(t){return typeof Blob<"u"&&t instanceof Blob}function XP(t){return typeof FormData<"u"&&t instanceof FormData}class Bp{constructor(n,e,i,r){let o;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=n.toUpperCase(),function rY(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||r?(this.body=void 0!==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 xl),this.context||(this.context=new iY),this.params){const s=this.params.toString();if(0===s.length)this.urlWithParams=e;else{const a=e.indexOf("?");this.urlWithParams=e+(-1===a?"?":am.set(_,n.setHeaders[_]),l)),n.setParams&&(c=Object.keys(n.setParams).reduce((m,_)=>m.set(_,n.setParams[_]),c)),new Bp(e,i,o,{params:c,headers:l,context:p,reportProgress:a,responseType:r,withCredentials:s})}}var Ir=(()=>((Ir=Ir||{})[Ir.Sent=0]="Sent",Ir[Ir.UploadProgress=1]="UploadProgress",Ir[Ir.ResponseHeader=2]="ResponseHeader",Ir[Ir.DownloadProgress=3]="DownloadProgress",Ir[Ir.Response=4]="Response",Ir[Ir.User=5]="User",Ir))();class dS{constructor(n,e=200,i="OK"){this.headers=n.headers||new xl,this.status=void 0!==n.status?n.status:e,this.statusText=n.statusText||i,this.url=n.url||null,this.ok=this.status>=200&&this.status<300}}class hS extends dS{constructor(n={}){super(n),this.type=Ir.ResponseHeader}clone(n={}){return new hS({headers:n.headers||this.headers,status:void 0!==n.status?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}}class Sv extends dS{constructor(n={}){super(n),this.type=Ir.Response,this.body=void 0!==n.body?n.body:null}clone(n={}){return new Sv({body:void 0!==n.body?n.body:this.body,headers:n.headers||this.headers,status:void 0!==n.status?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}}class JP extends dS{constructor(n){super(n,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${n.url||"(unknown url)"}`:`Http failure response for ${n.url||"(unknown url)"}: ${n.status} ${n.statusText}`,this.error=n.error||null}}function fS(t,n){return{body:n,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials}}let dh=(()=>{class t{constructor(e){this.handler=e}request(e,i,r={}){let o;if(e instanceof Bp)o=e;else{let l,c;l=r.headers instanceof xl?r.headers:new xl(r.headers),r.params&&(c=r.params instanceof bc?r.params:new bc({fromObject:r.params})),o=new Bp(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=ct(o).pipe(bl(l=>this.handler.handle(l)));if(e instanceof Bp||"events"===r.observe)return s;const a=s.pipe(hi(l=>l instanceof Sv));switch(r.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return a.pipe(Ne(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(Ne(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(Ne(l=>{if(null!==l.body&&"string"!=typeof l.body)throw new Error("Response is not a string.");return l.body}));default:return a.pipe(Ne(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 bc).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,fS(r,i))}post(e,i,r={}){return this.request("POST",e,fS(r,i))}put(e,i,r={}){return this.request("PUT",e,fS(r,i))}}return t.\u0275fac=function(e){return new(e||t)(K(qP))},t.\u0275prov=Ee({token:t,factory:t.\u0275fac}),t})();class eR{constructor(n,e){this.next=n,this.interceptor=e}handle(n){return this.interceptor.intercept(n,this.next)}}const pS=new u("HTTP_INTERCEPTORS");let sY=(()=>{class t{intercept(e,i){return i.handle(e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ee({token:t,factory:t.\u0275fac}),t})();const aY=/^\)\]\}',?\n/;let tR=(()=>{class t{constructor(e){this.xhrFactory=e}handle(e){if("JSONP"===e.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new bn(i=>{const r=this.xhrFactory.build();if(r.open(e.method,e.urlWithParams),e.withCredentials&&(r.withCredentials=!0),e.headers.forEach((C,k)=>r.setRequestHeader(C,k.join(","))),e.headers.has("Accept")||r.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){const C=e.detectContentTypeHeader();null!==C&&r.setRequestHeader("Content-Type",C)}if(e.responseType){const C=e.responseType.toLowerCase();r.responseType="json"!==C?C:"text"}const o=e.serializeBody();let s=null;const a=()=>{if(null!==s)return s;const C=r.statusText||"OK",k=new xl(r.getAllResponseHeaders()),A=function lY(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}(r)||e.url;return s=new hS({headers:k,status:r.status,statusText:C,url:A}),s},l=()=>{let{headers:C,status:k,statusText:A,url:P}=a(),N=null;204!==k&&(N=typeof r.response>"u"?r.responseText:r.response),0===k&&(k=N?200:0);let $=k>=200&&k<300;if("json"===e.responseType&&"string"==typeof N){const U=N;N=N.replace(aY,"");try{N=""!==N?JSON.parse(N):null}catch(X){N=U,$&&($=!1,N={error:X,text:N})}}$?(i.next(new Sv({body:N,headers:C,status:k,statusText:A,url:P||void 0})),i.complete()):i.error(new JP({error:N,headers:C,status:k,statusText:A,url:P||void 0}))},c=C=>{const{url:k}=a(),A=new JP({error:C,status:r.status||0,statusText:r.statusText||"Unknown Error",url:k||void 0});i.error(A)};let p=!1;const m=C=>{p||(i.next(a()),p=!0);let k={type:Ir.DownloadProgress,loaded:C.loaded};C.lengthComputable&&(k.total=C.total),"text"===e.responseType&&!!r.responseText&&(k.partialText=r.responseText),i.next(k)},_=C=>{let k={type:Ir.UploadProgress,loaded:C.loaded};C.lengthComputable&&(k.total=C.total),i.next(k)};return r.addEventListener("load",l),r.addEventListener("error",c),r.addEventListener("timeout",c),r.addEventListener("abort",c),e.reportProgress&&(r.addEventListener("progress",m),null!==o&&r.upload&&r.upload.addEventListener("progress",_)),r.send(o),i.next({type:Ir.Sent}),()=>{r.removeEventListener("error",c),r.removeEventListener("abort",c),r.removeEventListener("load",l),r.removeEventListener("timeout",c),e.reportProgress&&(r.removeEventListener("progress",m),null!==o&&r.upload&&r.upload.removeEventListener("progress",_)),r.readyState!==r.DONE&&r.abort()}})}}return t.\u0275fac=function(e){return new(e||t)(K(aO))},t.\u0275prov=Ee({token:t,factory:t.\u0275fac}),t})();const mS=new u("XSRF_COOKIE_NAME"),gS=new u("XSRF_HEADER_NAME");class nR{}let cY=(()=>{class t{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=Q2(e,this.cookieName),this.lastCookieString=e),this.lastToken}}return t.\u0275fac=function(e){return new(e||t)(K(Xt),K(v_),K(mS))},t.\u0275prov=Ee({token:t,factory:t.\u0275fac}),t})(),_S=(()=>{class t{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 t.\u0275fac=function(e){return new(e||t)(K(nR),K(gS))},t.\u0275prov=Ee({token:t,factory:t.\u0275fac}),t})(),uY=(()=>{class t{constructor(e,i){this.backend=e,this.injector=i,this.chain=null}handle(e){if(null===this.chain){const i=this.injector.get(pS,[]);this.chain=i.reduceRight((r,o)=>new eR(r,o),this.backend)}return this.chain.handle(e)}}return t.\u0275fac=function(e){return new(e||t)(K(YP),K(Qi))},t.\u0275prov=Ee({token:t,factory:t.\u0275fac}),t})(),dY=(()=>{class t{static disable(){return{ngModule:t,providers:[{provide:_S,useClass:sY}]}}static withOptions(e={}){return{ngModule:t,providers:[e.cookieName?{provide:mS,useValue:e.cookieName}:[],e.headerName?{provide:gS,useValue:e.headerName}:[]]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Ct({type:t}),t.\u0275inj=yt({providers:[_S,{provide:pS,useExisting:_S,multi:!0},{provide:nR,useClass:cY},{provide:mS,useValue:"XSRF-TOKEN"},{provide:gS,useValue:"X-XSRF-TOKEN"}]}),t})(),hY=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Ct({type:t}),t.\u0275inj=yt({providers:[dh,{provide:qP,useClass:uY},tR,{provide:YP,useExisting:tR}],imports:[dY.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]}),t})();class iR{}const kl="*";function Pr(t,n){return{type:7,name:t,definitions:n,options:{}}}function mi(t,n=null){return{type:4,styles:n,timings:t}}function rR(t,n=null){return{type:3,steps:t,options:n}}function oR(t,n=null){return{type:2,steps:t,options:n}}function wt(t){return{type:6,styles:t,offset:null}}function In(t,n,e){return{type:0,name:t,styles:n,options:e}}function Vp(t){return{type:5,steps:t}}function ri(t,n,e=null){return{type:1,expr:t,animation:n,options:e}}function xv(t=null){return{type:9,options:t}}function kv(t,n,e=null){return{type:11,selector:t,animation:n,options:e}}function sR(t){Promise.resolve().then(t)}class Hp{constructor(n=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=n+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}onStart(n){this._originalOnStartFns.push(n),this._onStartFns.push(n)}onDone(n){this._originalOnDoneFns.push(n),this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){sR(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(n=>n()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(n){this._position=this.totalTime?n*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(n){const e="start"==n?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}class aR{constructor(n){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=n;let e=0,i=0,r=0;const o=this.players.length;0==o?sR(()=>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(n=>n()),this._onDoneFns=[])}init(){this.players.forEach(n=>n.init())}onStart(n){this._onStartFns.push(n)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(n=>n()),this._onStartFns=[])}onDone(n){this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(n=>n.play())}pause(){this.players.forEach(n=>n.pause())}restart(){this.players.forEach(n=>n.restart())}finish(){this._onFinish(),this.players.forEach(n=>n.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(n=>n.destroy()),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this.players.forEach(n=>n.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(n){const e=n*this.totalTime;this.players.forEach(i=>{const r=i.totalTime?Math.min(1,e/i.totalTime):1;i.setPosition(r)})}getPosition(){const n=this.players.reduce((e,i)=>null===e||i.totalTime>e.totalTime?i:e,null);return null!=n?n.getPosition():0}beforeDestroy(){this.players.forEach(n=>{n.beforeDestroy&&n.beforeDestroy()})}triggerCallback(n){const e="start"==n?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}function lR(t){return new ke(3e3,!1)}function YY(){return typeof window<"u"&&typeof window.document<"u"}function bS(){return typeof process<"u"&&"[object process]"==={}.toString.call(process)}function yc(t){switch(t.length){case 0:return new Hp;case 1:return t[0];default:return new aR(t)}}function cR(t,n,e,i,r=new Map,o=new Map){const s=[],a=[];let l=-1,c=null;if(i.forEach(p=>{const m=p.get("offset"),_=m==l,C=_&&c||new Map;p.forEach((k,A)=>{let P=A,N=k;if("offset"!==A)switch(P=n.normalizePropertyName(P,s),N){case"!":N=r.get(A);break;case kl:N=o.get(A);break;default:N=n.normalizeStyleValue(A,P,N,s)}C.set(P,N)}),_||a.push(C),c=C,l=m}),s.length)throw function NY(t){return new ke(3502,!1)}();return a}function yS(t,n,e,i){switch(n){case"start":t.onStart(()=>i(e&&wS(e,"start",t)));break;case"done":t.onDone(()=>i(e&&wS(e,"done",t)));break;case"destroy":t.onDestroy(()=>i(e&&wS(e,"destroy",t)))}}function wS(t,n,e){const o=CS(t.element,t.triggerName,t.fromState,t.toState,n||t.phaseName,e.totalTime??t.totalTime,!!e.disabled),s=t._data;return null!=s&&(o._data=s),o}function CS(t,n,e,i,r="",o=0,s){return{element:t,triggerName:n,fromState:e,toState:i,phaseName:r,totalTime:o,disabled:!!s}}function is(t,n,e){let i=t.get(n);return i||t.set(n,i=e),i}function uR(t){const n=t.indexOf(":");return[t.substring(1,n),t.slice(n+1)]}let SS=(t,n)=>!1,dR=(t,n,e)=>[],hR=null;function xS(t){const n=t.parentNode||t.host;return n===hR?null:n}(bS()||typeof Element<"u")&&(YY()?(hR=(()=>document.documentElement)(),SS=(t,n)=>{for(;n;){if(n===t)return!0;n=xS(n)}return!1}):SS=(t,n)=>t.contains(n),dR=(t,n,e)=>{if(e)return Array.from(t.querySelectorAll(n));const i=t.querySelector(n);return i?[i]:[]});let Cu=null,fR=!1;const pR=SS,mR=dR;let gR=(()=>{class t{validateStyleProperty(e){return function ZY(t){Cu||(Cu=function QY(){return typeof document<"u"?document.body:null}()||{},fR=!!Cu.style&&"WebkitAppearance"in Cu.style);let n=!0;return Cu.style&&!function KY(t){return"ebkit"==t.substring(1,6)}(t)&&(n=t in Cu.style,!n&&fR&&(n="Webkit"+t.charAt(0).toUpperCase()+t.slice(1)in Cu.style)),n}(e)}matchesElement(e,i){return!1}containsElement(e,i){return pR(e,i)}getParentElement(e){return xS(e)}query(e,i,r){return mR(e,i,r)}computeStyle(e,i,r){return r||""}animate(e,i,r,o,s,a=[],l){return new Hp(r,o)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ee({token:t,factory:t.\u0275fac}),t})(),kS=(()=>{class t{}return t.NOOP=new gR,t})();const DS="ng-enter",Dv="ng-leave",Mv="ng-trigger",Tv=".ng-trigger",vR="ng-animating",MS=".ng-animating";function Dl(t){if("number"==typeof t)return t;const n=t.match(/^(-?[\.\d]+)(m?s)/);return!n||n.length<2?0:TS(parseFloat(n[1]),n[2])}function TS(t,n){return"s"===n?1e3*t:t}function Ev(t,n,e){return t.hasOwnProperty("duration")?t:function eK(t,n,e){let r,o=0,s="";if("string"==typeof t){const a=t.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===a)return n.push(lR()),{duration:0,delay:0,easing:""};r=TS(parseFloat(a[1]),a[2]);const l=a[3];null!=l&&(o=TS(parseFloat(l),a[4]));const c=a[5];c&&(s=c)}else r=t;if(!e){let a=!1,l=n.length;r<0&&(n.push(function pY(){return new ke(3100,!1)}()),a=!0),o<0&&(n.push(function mY(){return new ke(3101,!1)}()),a=!0),a&&n.splice(l,0,lR())}return{duration:r,delay:o,easing:s}}(t,n,e)}function zp(t,n={}){return Object.keys(t).forEach(e=>{n[e]=t[e]}),n}function bR(t){const n=new Map;return Object.keys(t).forEach(e=>{n.set(e,t[e])}),n}function wc(t,n=new Map,e){if(e)for(let[i,r]of e)n.set(i,r);for(let[i,r]of t)n.set(i,r);return n}function wR(t,n,e){return e?n+":"+e+";":""}function CR(t){let n="";for(let e=0;e{const o=AS(r);e&&!e.has(r)&&e.set(r,t.style[o]),t.style[o]=i}),bS()&&CR(t))}function Su(t,n){t.style&&(n.forEach((e,i)=>{const r=AS(i);t.style[r]=""}),bS()&&CR(t))}function Wp(t){return Array.isArray(t)?1==t.length?t[0]:oR(t):t}const ES=new RegExp("{{\\s*(.+?)\\s*}}","g");function SR(t){let n=[];if("string"==typeof t){let e;for(;e=ES.exec(t);)n.push(e[1]);ES.lastIndex=0}return n}function jp(t,n,e){const i=t.toString(),r=i.replace(ES,(o,s)=>{let a=n[s];return null==a&&(e.push(function _Y(t){return new ke(3003,!1)}()),a=""),a.toString()});return r==i?t:r}function Av(t){const n=[];let e=t.next();for(;!e.done;)n.push(e.value),e=t.next();return n}const iK=/-+([a-z0-9])/g;function AS(t){return t.replace(iK,(...n)=>n[1].toUpperCase())}function rK(t){return t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function rs(t,n,e){switch(n.type){case 7:return t.visitTrigger(n,e);case 0:return t.visitState(n,e);case 1:return t.visitTransition(n,e);case 2:return t.visitSequence(n,e);case 3:return t.visitGroup(n,e);case 4:return t.visitAnimate(n,e);case 5:return t.visitKeyframes(n,e);case 6:return t.visitStyle(n,e);case 8:return t.visitReference(n,e);case 9:return t.visitAnimateChild(n,e);case 10:return t.visitAnimateRef(n,e);case 11:return t.visitQuery(n,e);case 12:return t.visitStagger(n,e);default:throw function vY(t){return new ke(3004,!1)}()}}function xR(t,n){return window.getComputedStyle(t)[n]}function uK(t,n){const e=[];return"string"==typeof t?t.split(/\s*,\s*/).forEach(i=>function dK(t,n,e){if(":"==t[0]){const l=function hK(t,n){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,i)=>parseFloat(i)>parseFloat(e);case":decrement":return(e,i)=>parseFloat(i) *"}}(t,e);if("function"==typeof l)return void n.push(l);t=l}const i=t.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return e.push(function OY(t){return new ke(3015,!1)}()),n;const r=i[1],o=i[2],s=i[3];n.push(kR(r,s));"<"==o[0]&&!("*"==r&&"*"==s)&&n.push(kR(s,r))}(i,e,n)):e.push(t),e}const Rv=new Set(["true","1"]),Fv=new Set(["false","0"]);function kR(t,n){const e=Rv.has(t)||Fv.has(t),i=Rv.has(n)||Fv.has(n);return(r,o)=>{let s="*"==t||t==r,a="*"==n||n==o;return!s&&e&&"boolean"==typeof r&&(s=r?Rv.has(t):Fv.has(t)),!a&&i&&"boolean"==typeof o&&(a=o?Rv.has(n):Fv.has(n)),s&&a}}const fK=new RegExp("s*:selfs*,?","g");function OS(t,n,e,i){return new pK(t).build(n,e,i)}class pK{constructor(n){this._driver=n}build(n,e,i){const r=new _K(e);return this._resetContextStyleTimingState(r),rs(this,Wp(n),r)}_resetContextStyleTimingState(n){n.currentQuerySelector="",n.collectedStyles=new Map,n.collectedStyles.set("",new Map),n.currentTime=0}visitTrigger(n,e){let i=e.queryCount=0,r=e.depCount=0;const o=[],s=[];return"@"==n.name.charAt(0)&&e.errors.push(function yY(){return new ke(3006,!1)}()),n.definitions.forEach(a=>{if(this._resetContextStyleTimingState(e),0==a.type){const l=a,c=l.name;c.toString().split(/\s*,\s*/).forEach(p=>{l.name=p,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 wY(){return new ke(3007,!1)}())}),{type:7,name:n.name,states:o,transitions:s,queryCount:i,depCount:r,options:null}}visitState(n,e){const i=this.visitStyle(n.styles,e),r=n.options&&n.options.params||null;if(i.containsDynamicStyles){const o=new Set,s=r||{};i.styles.forEach(a=>{a instanceof Map&&a.forEach(l=>{SR(l).forEach(c=>{s.hasOwnProperty(c)||o.add(c)})})}),o.size&&(Av(o.values()),e.errors.push(function CY(t,n){return new ke(3008,!1)}()))}return{type:0,name:n.name,style:i,options:r?{params:r}:null}}visitTransition(n,e){e.queryCount=0,e.depCount=0;const i=rs(this,Wp(n.animation),e);return{type:1,matchers:uK(n.expr,e.errors),animation:i,queryCount:e.queryCount,depCount:e.depCount,options:xu(n.options)}}visitSequence(n,e){return{type:2,steps:n.steps.map(i=>rs(this,i,e)),options:xu(n.options)}}visitGroup(n,e){const i=e.currentTime;let r=0;const o=n.steps.map(s=>{e.currentTime=i;const a=rs(this,s,e);return r=Math.max(r,e.currentTime),a});return e.currentTime=r,{type:3,steps:o,options:xu(n.options)}}visitAnimate(n,e){const i=function bK(t,n){if(t.hasOwnProperty("duration"))return t;if("number"==typeof t)return IS(Ev(t,n).duration,0,"");const e=t;if(e.split(/\s+/).some(o=>"{"==o.charAt(0)&&"{"==o.charAt(1))){const o=IS(0,0,"");return o.dynamic=!0,o.strValue=e,o}const r=Ev(e,n);return IS(r.duration,r.delay,r.easing)}(n.timings,e.errors);e.currentAnimateTimings=i;let r,o=n.styles?n.styles:wt({});if(5==o.type)r=this.visitKeyframes(o,e);else{let s=n.styles,a=!1;if(!s){a=!0;const c={};i.easing&&(c.easing=i.easing),s=wt(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(n,e){const i=this._makeStyleAst(n,e);return this._validateStyleAst(i,e),i}_makeStyleAst(n,e){const i=[],r=Array.isArray(n.styles)?n.styles:[n.styles];for(let a of r)"string"==typeof a?a===kl?i.push(a):e.errors.push(new ke(3002,!1)):i.push(bR(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:n.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(n,e){const i=e.currentAnimateTimings;let r=e.currentTime,o=e.currentTime;i&&o>0&&(o-=i.duration+i.delay),n.styles.forEach(s=>{"string"!=typeof s&&s.forEach((a,l)=>{const c=e.collectedStyles.get(e.currentQuerySelector),p=c.get(l);let m=!0;p&&(o!=r&&o>=p.startTime&&r<=p.endTime&&(e.errors.push(function xY(t,n,e,i,r){return new ke(3010,!1)}()),m=!1),o=p.startTime),m&&c.set(l,{startTime:o,endTime:r}),e.options&&function nK(t,n,e){const i=n.params||{},r=SR(t);r.length&&r.forEach(o=>{i.hasOwnProperty(o)||e.push(function gY(t){return new ke(3001,!1)}())})}(a,e.options,e.errors)})})}visitKeyframes(n,e){const i={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push(function kY(){return new ke(3011,!1)}()),i;let o=0;const s=[];let a=!1,l=!1,c=0;const p=n.steps.map(N=>{const $=this._makeStyleAst(N,e);let U=null!=$.offset?$.offset:function vK(t){if("string"==typeof t)return null;let n=null;if(Array.isArray(t))t.forEach(e=>{if(e instanceof Map&&e.has("offset")){const i=e;n=parseFloat(i.get("offset")),i.delete("offset")}});else if(t instanceof Map&&t.has("offset")){const e=t;n=parseFloat(e.get("offset")),e.delete("offset")}return n}($.styles),X=0;return null!=U&&(o++,X=$.offset=U),l=l||X<0||X>1,a=a||X0&&o{const U=_>0?$==C?1:_*$:s[$],X=U*P;e.currentTime=k+A.delay+X,A.duration=X,this._validateStyleAst(N,e),N.offset=U,i.styles.push(N)}),i}visitReference(n,e){return{type:8,animation:rs(this,Wp(n.animation),e),options:xu(n.options)}}visitAnimateChild(n,e){return e.depCount++,{type:9,options:xu(n.options)}}visitAnimateRef(n,e){return{type:10,animation:this.visitReference(n.animation,e),options:xu(n.options)}}visitQuery(n,e){const i=e.currentQuerySelector,r=n.options||{};e.queryCount++,e.currentQuery=n;const[o,s]=function mK(t){const n=!!t.split(/\s*,\s*/).find(e=>":self"==e);return n&&(t=t.replace(fK,"")),t=t.replace(/@\*/g,Tv).replace(/@\w+/g,e=>Tv+"-"+e.slice(1)).replace(/:animating/g,MS),[t,n]}(n.selector);e.currentQuerySelector=i.length?i+" "+o:o,is(e.collectedStyles,e.currentQuerySelector,new Map);const a=rs(this,Wp(n.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:n.selector,options:xu(n.options)}}visitStagger(n,e){e.currentQuery||e.errors.push(function EY(){return new ke(3013,!1)}());const i="full"===n.timings?{duration:0,delay:0,easing:"full"}:Ev(n.timings,e.errors,!0);return{type:12,animation:rs(this,Wp(n.animation),e),timings:i,options:null}}}class _K{constructor(n){this.errors=n,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 xu(t){return t?(t=zp(t)).params&&(t.params=function gK(t){return t?zp(t):null}(t.params)):t={},t}function IS(t,n,e){return{duration:t,delay:n,easing:e}}function PS(t,n,e,i,r,o,s=null,a=!1){return{type:1,element:t,keyframes:n,preStyleProps:e,postStyleProps:i,duration:r,delay:o,totalTime:r+o,easing:s,subTimeline:a}}class Nv{constructor(){this._map=new Map}get(n){return this._map.get(n)||[]}append(n,e){let i=this._map.get(n);i||this._map.set(n,i=[]),i.push(...e)}has(n){return this._map.has(n)}clear(){this._map.clear()}}const CK=new RegExp(":enter","g"),xK=new RegExp(":leave","g");function RS(t,n,e,i,r,o=new Map,s=new Map,a,l,c=[]){return(new kK).buildKeyframes(t,n,e,i,r,o,s,a,l,c)}class kK{buildKeyframes(n,e,i,r,o,s,a,l,c,p=[]){c=c||new Nv;const m=new FS(n,e,c,r,o,p,[]);m.options=l;const _=l.delay?Dl(l.delay):0;m.currentTimeline.delayNextStep(_),m.currentTimeline.setStyles([s],null,m.errors,l),rs(this,i,m);const C=m.timelines.filter(k=>k.containsAnimation());if(C.length&&a.size){let k;for(let A=C.length-1;A>=0;A--){const P=C[A];if(P.element===e){k=P;break}}k&&!k.allowOnlyTimelineStyles()&&k.setStyles([a],null,m.errors,l)}return C.length?C.map(k=>k.buildKeyframes()):[PS(e,[],[],[],0,_,"",!1)]}visitTrigger(n,e){}visitState(n,e){}visitTransition(n,e){}visitAnimateChild(n,e){const i=e.subInstructions.get(e.element);if(i){const r=e.createSubContext(n.options),o=e.currentTimeline.currentTime,s=this._visitSubInstructions(i,r,r.options);o!=s&&e.transformIntoNewTimeline(s)}e.previousNode=n}visitAnimateRef(n,e){const i=e.createSubContext(n.options);i.transformIntoNewTimeline(),this._applyAnimationRefDelays([n.options,n.animation.options],e,i),this.visitReference(n.animation,i),e.transformIntoNewTimeline(i.currentTimeline.currentTime),e.previousNode=n}_applyAnimationRefDelays(n,e,i){for(const r of n){const o=r?.delay;if(o){const s="number"==typeof o?o:Dl(jp(o,r?.params??{},e.errors));i.delayNextStep(s)}}}_visitSubInstructions(n,e,i){let o=e.currentTimeline.currentTime;const s=null!=i.duration?Dl(i.duration):null,a=null!=i.delay?Dl(i.delay):null;return 0!==s&&n.forEach(l=>{const c=e.appendInstructionToTimeline(l,s,a);o=Math.max(o,c.duration+c.delay)}),o}visitReference(n,e){e.updateOptions(n.options,!0),rs(this,n.animation,e),e.previousNode=n}visitSequence(n,e){const i=e.subContextCount;let r=e;const o=n.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=Lv);const s=Dl(o.delay);r.delayNextStep(s)}n.steps.length&&(n.steps.forEach(s=>rs(this,s,r)),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>i&&r.transformIntoNewTimeline()),e.previousNode=n}visitGroup(n,e){const i=[];let r=e.currentTimeline.currentTime;const o=n.options&&n.options.delay?Dl(n.options.delay):0;n.steps.forEach(s=>{const a=e.createSubContext(n.options);o&&a.delayNextStep(o),rs(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=n}_visitTiming(n,e){if(n.dynamic){const i=n.strValue;return Ev(e.params?jp(i,e.params,e.errors):i,e.errors)}return{duration:n.duration,delay:n.delay,easing:n.easing}}visitAnimate(n,e){const i=e.currentAnimateTimings=this._visitTiming(n.timings,e),r=e.currentTimeline;i.delay&&(e.incrementTime(i.delay),r.snapshotCurrentStyles());const o=n.style;5==o.type?this.visitKeyframes(o,e):(e.incrementTime(i.duration),this.visitStyle(o,e),r.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=n}visitStyle(n,e){const i=e.currentTimeline,r=e.currentAnimateTimings;!r&&i.hasCurrentStyleProperties()&&i.forwardFrame();const o=r&&r.easing||n.easing;n.isEmptyStep?i.applyEmptyStep(o):i.setStyles(n.styles,o,e.errors,e.options),e.previousNode=n}visitKeyframes(n,e){const i=e.currentAnimateTimings,r=e.currentTimeline.duration,o=i.duration,a=e.createSubContext().currentTimeline;a.easing=i.easing,n.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=n}visitQuery(n,e){const i=e.currentTimeline.currentTime,r=n.options||{},o=r.delay?Dl(r.delay):0;o&&(6===e.previousNode.type||0==i&&e.currentTimeline.hasCurrentStyleProperties())&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=Lv);let s=i;const a=e.invokeQuery(n.selector,n.originalSelector,n.limit,n.includeSelf,!!r.optional,e.errors);e.currentQueryTotal=a.length;let l=null;a.forEach((c,p)=>{e.currentQueryIndex=p;const m=e.createSubContext(n.options,c);o&&m.delayNextStep(o),c===e.element&&(l=m.currentTimeline),rs(this,n.animation,m),m.currentTimeline.applyStylesToKeyframe(),s=Math.max(s,m.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(s),l&&(e.currentTimeline.mergeTimelineCollectedStyles(l),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=n}visitStagger(n,e){const i=e.parentContext,r=e.currentTimeline,o=n.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 p=e.currentTimeline;l&&p.delayNextStep(l);const m=p.currentTime;rs(this,n.animation,e),e.previousNode=n,i.currentStaggerTime=r.currentTime-m+(r.startTime-i.currentTimeline.startTime)}}const Lv={};class FS{constructor(n,e,i,r,o,s,a,l){this._driver=n,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=Lv,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=l||new Bv(this._driver,e,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(n,e){if(!n)return;const i=n;let r=this.options;null!=i.duration&&(r.duration=Dl(i.duration)),null!=i.delay&&(r.delay=Dl(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]=jp(o[a],s,this.errors))})}}_copyOptions(){const n={};if(this.options){const e=this.options.params;if(e){const i=n.params={};Object.keys(e).forEach(r=>{i[r]=e[r]})}}return n}createSubContext(n=null,e,i){const r=e||this.element,o=new FS(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(n),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}transformIntoNewTimeline(n){return this.previousNode=Lv,this.currentTimeline=this.currentTimeline.fork(this.element,n),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(n,e,i){const r={duration:e??n.duration,delay:this.currentTimeline.currentTime+(i??0)+n.delay,easing:""},o=new DK(this._driver,n.element,n.keyframes,n.preStyleProps,n.postStyleProps,r,n.stretchStartingKeyframe);return this.timelines.push(o),r}incrementTime(n){this.currentTimeline.forwardTime(this.currentTimeline.duration+n)}delayNextStep(n){n>0&&this.currentTimeline.delayNextStep(n)}invokeQuery(n,e,i,r,o,s){let a=[];if(r&&a.push(this.element),n.length>0){n=(n=n.replace(CK,"."+this._enterClassName)).replace(xK,"."+this._leaveClassName);let c=this._driver.query(this.element,n,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 AY(t){return new ke(3014,!1)}()),a}}class Bv{constructor(n,e,i,r){this._driver=n,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(n){const e=1===this._keyframes.size&&this._pendingStyles.size;this.duration||e?(this.forwardTime(this.currentTime+n),e&&this.snapshotCurrentStyles()):this.startTime+=n}fork(n,e){return this.applyStylesToKeyframe(),new Bv(this._driver,n,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(n){this.applyStylesToKeyframe(),this.duration=n,this._loadKeyframe()}_updateStyle(n,e){this._localTimelineStyles.set(n,e),this._globalTimelineStyles.set(n,e),this._styleSummary.set(n,{time:this.currentTime,value:e})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(n){n&&this._previousKeyframe.set("easing",n);for(let[e,i]of this._globalTimelineStyles)this._backFill.set(e,i||kl),this._currentKeyframe.set(e,kl);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(n,e,i,r){e&&this._previousKeyframe.set("easing",e);const o=r&&r.params||{},s=function MK(t,n){const e=new Map;let i;return t.forEach(r=>{if("*"===r){i=i||n.keys();for(let o of i)e.set(o,kl)}else wc(r,e)}),e}(n,this._globalTimelineStyles);for(let[a,l]of s){const c=jp(l,o,i);this._pendingStyles.set(a,c),this._localTimelineStyles.has(a)||this._backFill.set(a,this._globalTimelineStyles.get(a)??kl),this._updateStyle(a,c)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((n,e)=>{this._currentKeyframe.set(e,n)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((n,e)=>{this._currentKeyframe.has(e)||this._currentKeyframe.set(e,n)}))}snapshotCurrentStyles(){for(let[n,e]of this._localTimelineStyles)this._pendingStyles.set(n,e),this._updateStyle(n,e)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const n=[];for(let e in this._currentKeyframe)n.push(e);return n}mergeTimelineCollectedStyles(n){n._styleSummary.forEach((e,i)=>{const r=this._styleSummary.get(i);(!r||e.time>r.time)&&this._updateStyle(i,e.value)})}buildKeyframes(){this.applyStylesToKeyframe();const n=new Set,e=new Set,i=1===this._keyframes.size&&0===this.duration;let r=[];this._keyframes.forEach((a,l)=>{const c=wc(a,new Map,this._backFill);c.forEach((p,m)=>{"!"===p?n.add(m):p===kl&&e.add(m)}),i||c.set("offset",l/this.duration),r.push(c)});const o=n.size?Av(n.values()):[],s=e.size?Av(e.values()):[];if(i){const a=r[0],l=new Map(a);a.set("offset",0),l.set("offset",1),r=[a,l]}return PS(this.element,r,o,s,this.duration,this.startTime,this.easing,!1)}}class DK extends Bv{constructor(n,e,i,r,o,s,a=!1){super(n,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 n=this.keyframes,{delay:e,duration:i,easing:r}=this.timings;if(this._stretchStartingKeyframe&&e){const o=[],s=i+e,a=e/s,l=wc(n[0]);l.set("offset",0),o.push(l);const c=wc(n[0]);c.set("offset",TR(a)),o.push(c);const p=n.length-1;for(let m=1;m<=p;m++){let _=wc(n[m]);const C=_.get("offset");_.set("offset",TR((e+C*i)/s)),o.push(_)}i=s,e=0,r="",n=o}return PS(this.element,n,this.preStyleProps,this.postStyleProps,i,e,r,!0)}}function TR(t,n=3){const e=Math.pow(10,n-1);return Math.round(t*e)/e}class NS{}const TK=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 EK extends NS{normalizePropertyName(n,e){return AS(n)}normalizeStyleValue(n,e,i,r){let o="";const s=i.toString().trim();if(TK.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 bY(t,n){return new ke(3005,!1)}())}return s+o}}function ER(t,n,e,i,r,o,s,a,l,c,p,m,_){return{type:0,element:t,triggerName:n,isRemovalTransition:r,fromState:e,fromStyles:o,toState:i,toStyles:s,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:p,totalTime:m,errors:_}}const LS={};class AR{constructor(n,e,i){this._triggerName=n,this.ast=e,this._stateStyles=i}match(n,e,i,r){return function AK(t,n,e,i,r){return t.some(o=>o(n,e,i,r))}(this.ast.matchers,n,e,i,r)}buildStyles(n,e,i){let r=this._stateStyles.get("*");return void 0!==n&&(r=this._stateStyles.get(n?.toString())||r),r?r.buildStyles(e,i):new Map}build(n,e,i,r,o,s,a,l,c,p){const m=[],_=this.ast.options&&this.ast.options.params||LS,k=this.buildStyles(i,a&&a.params||LS,m),A=l&&l.params||LS,P=this.buildStyles(r,A,m),N=new Set,$=new Map,U=new Map,X="void"===r,se={params:OK(A,_),delay:this.ast.options?.delay},ve=p?[]:RS(n,e,this.ast.animation,o,s,k,P,se,c,m);let De=0;if(ve.forEach(We=>{De=Math.max(We.duration+We.delay,De)}),m.length)return ER(e,this._triggerName,i,r,X,k,P,[],[],$,U,De,m);ve.forEach(We=>{const Ft=We.element,an=is($,Ft,new Set);We.preStyleProps.forEach(Nn=>an.add(Nn));const qt=is(U,Ft,new Set);We.postStyleProps.forEach(Nn=>qt.add(Nn)),Ft!==e&&N.add(Ft)});const He=Av(N.values());return ER(e,this._triggerName,i,r,X,k,P,ve,He,$,U,De)}}function OK(t,n){const e=zp(n);for(const i in t)t.hasOwnProperty(i)&&null!=t[i]&&(e[i]=t[i]);return e}class IK{constructor(n,e,i){this.styles=n,this.defaultParams=e,this.normalizer=i}buildStyles(n,e){const i=new Map,r=zp(this.defaultParams);return Object.keys(n).forEach(o=>{const s=n[o];null!==s&&(r[o]=s)}),this.styles.styles.forEach(o=>{"string"!=typeof o&&o.forEach((s,a)=>{s&&(s=jp(s,r,e));const l=this.normalizer.normalizePropertyName(a,e);s=this.normalizer.normalizeStyleValue(a,l,s,e),i.set(l,s)})}),i}}class RK{constructor(n,e,i){this.name=n,this.ast=e,this._normalizer=i,this.transitionFactories=[],this.states=new Map,e.states.forEach(r=>{this.states.set(r.name,new IK(r.style,r.options&&r.options.params||{},i))}),OR(this.states,"true","1"),OR(this.states,"false","0"),e.transitions.forEach(r=>{this.transitionFactories.push(new AR(n,r,this.states))}),this.fallbackTransition=function FK(t,n,e){return new AR(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[(s,a)=>!0],options:null,queryCount:0,depCount:0},n)}(n,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(n,e,i,r){return this.transitionFactories.find(s=>s.match(n,e,i,r))||null}matchStyles(n,e,i){return this.fallbackTransition.buildStyles(n,e,i)}}function OR(t,n,e){t.has(n)?t.has(e)||t.set(e,t.get(n)):t.has(e)&&t.set(n,t.get(e))}const NK=new Nv;class LK{constructor(n,e,i){this.bodyNode=n,this._driver=e,this._normalizer=i,this._animations=new Map,this._playersById=new Map,this.players=[]}register(n,e){const i=[],o=OS(this._driver,e,i,[]);if(i.length)throw function LY(t){return new ke(3503,!1)}();this._animations.set(n,o)}_buildPlayer(n,e,i){const r=n.element,o=cR(0,this._normalizer,0,n.keyframes,e,i);return this._driver.animate(r,o,n.duration,n.delay,n.easing,[],!0)}create(n,e,i={}){const r=[],o=this._animations.get(n);let s;const a=new Map;if(o?(s=RS(this._driver,e,o,DS,Dv,new Map,new Map,i,NK,r),s.forEach(p=>{const m=is(a,p.element,new Map);p.postStyleProps.forEach(_=>m.set(_,null))})):(r.push(function BY(){return new ke(3300,!1)}()),s=[]),r.length)throw function VY(t){return new ke(3504,!1)}();a.forEach((p,m)=>{p.forEach((_,C)=>{p.set(C,this._driver.computeStyle(m,C,kl))})});const c=yc(s.map(p=>{const m=a.get(p.element);return this._buildPlayer(p,new Map,m)}));return this._playersById.set(n,c),c.onDestroy(()=>this.destroy(n)),this.players.push(c),c}destroy(n){const e=this._getPlayer(n);e.destroy(),this._playersById.delete(n);const i=this.players.indexOf(e);i>=0&&this.players.splice(i,1)}_getPlayer(n){const e=this._playersById.get(n);if(!e)throw function HY(t){return new ke(3301,!1)}();return e}listen(n,e,i,r){const o=CS(e,"","","");return yS(this._getPlayer(n),i,o,r),()=>{}}command(n,e,i,r){if("register"==i)return void this.register(n,r[0]);if("create"==i)return void this.create(n,e,r[0]||{});const o=this._getPlayer(n);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(n)}}}const IR="ng-animate-queued",BS="ng-animate-disabled",WK=[],PR={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},jK={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Ds="__ng_removed";class VS{constructor(n,e=""){this.namespaceId=e;const i=n&&n.hasOwnProperty("value");if(this.value=function qK(t){return t??null}(i?n.value:n),i){const o=zp(n);delete o.value,this.options=o}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(n){const e=n.params;if(e){const i=this.options.params;Object.keys(e).forEach(r=>{null==i[r]&&(i[r]=e[r])})}}}const Up="void",HS=new VS(Up);class UK{constructor(n,e,i){this.id=n,this.hostElement=e,this._engine=i,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+n,Ms(e,this._hostClassName)}listen(n,e,i,r){if(!this._triggers.has(e))throw function zY(t,n){return new ke(3302,!1)}();if(null==i||0==i.length)throw function WY(t){return new ke(3303,!1)}();if(!function YK(t){return"start"==t||"done"==t}(i))throw function jY(t,n){return new ke(3400,!1)}();const o=is(this._elementListeners,n,[]),s={name:e,phase:i,callback:r};o.push(s);const a=is(this._engine.statesByElement,n,new Map);return a.has(e)||(Ms(n,Mv),Ms(n,Mv+"-"+e),a.set(e,HS)),()=>{this._engine.afterFlush(()=>{const l=o.indexOf(s);l>=0&&o.splice(l,1),this._triggers.has(e)||a.delete(e)})}}register(n,e){return!this._triggers.has(n)&&(this._triggers.set(n,e),!0)}_getTrigger(n){const e=this._triggers.get(n);if(!e)throw function UY(t){return new ke(3401,!1)}();return e}trigger(n,e,i,r=!0){const o=this._getTrigger(e),s=new zS(this.id,e,n);let a=this._engine.statesByElement.get(n);a||(Ms(n,Mv),Ms(n,Mv+"-"+e),this._engine.statesByElement.set(n,a=new Map));let l=a.get(e);const c=new VS(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),a.set(e,c),l||(l=HS),c.value!==Up&&l.value===c.value){if(!function QK(t,n){const e=Object.keys(t),i=Object.keys(n);if(e.length!=i.length)return!1;for(let r=0;r{Su(n,P),Ea(n,N)})}return}const _=is(this._engine.playersByElement,n,[]);_.forEach(A=>{A.namespaceId==this.id&&A.triggerName==e&&A.queued&&A.destroy()});let C=o.matchTransition(l.value,c.value,n,c.params),k=!1;if(!C){if(!r)return;C=o.fallbackTransition,k=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:e,transition:C,fromState:l,toState:c,player:s,isFallbackTransition:k}),k||(Ms(n,IR),s.onStart(()=>{hh(n,IR)})),s.onDone(()=>{let A=this.players.indexOf(s);A>=0&&this.players.splice(A,1);const P=this._engine.playersByElement.get(n);if(P){let N=P.indexOf(s);N>=0&&P.splice(N,1)}}),this.players.push(s),_.push(s),s}deregister(n){this._triggers.delete(n),this._engine.statesByElement.forEach(e=>e.delete(n)),this._elementListeners.forEach((e,i)=>{this._elementListeners.set(i,e.filter(r=>r.name!=n))})}clearElementCache(n){this._engine.statesByElement.delete(n),this._elementListeners.delete(n);const e=this._engine.playersByElement.get(n);e&&(e.forEach(i=>i.destroy()),this._engine.playersByElement.delete(n))}_signalRemovalForInnerTriggers(n,e){const i=this._engine.driver.query(n,Tv,!0);i.forEach(r=>{if(r[Ds])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(n,e,i,r){const o=this._engine.statesByElement.get(n),s=new Map;if(o){const a=[];if(o.forEach((l,c)=>{if(s.set(c,l.value),this._triggers.has(c)){const p=this.trigger(n,c,Up,r);p&&a.push(p)}}),a.length)return this._engine.markElementAsRemoved(this.id,n,!0,e,s),i&&yc(a).onDone(()=>this._engine.processLeaveNode(n)),!0}return!1}prepareLeaveAnimationListeners(n){const e=this._elementListeners.get(n),i=this._engine.statesByElement.get(n);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)||HS,p=new VS(Up),m=new zS(this.id,s,n);this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:s,transition:l,fromState:c,toState:p,player:m,isFallbackTransition:!0})})}}removeNode(n,e){const i=this._engine;if(n.childElementCount&&this._signalRemovalForInnerTriggers(n,e),this.triggerLeaveAnimation(n,e,!0))return;let r=!1;if(i.totalAnimations){const o=i.players.length?i.playersByQueriedElement.get(n):[];if(o&&o.length)r=!0;else{let s=n;for(;s=s.parentNode;)if(i.statesByElement.get(s)){r=!0;break}}}if(this.prepareLeaveAnimationListeners(n),r)i.markElementAsRemoved(this.id,n,!1,e);else{const o=n[Ds];(!o||o===PR)&&(i.afterFlush(()=>this.clearElementCache(n)),i.destroyInnerAnimations(n),i._onRemovalComplete(n,e))}}insertNode(n,e){Ms(n,this._hostClassName)}drainQueuedTransitions(n){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=CS(o,i.triggerName,i.fromState.value,i.toState.value);l._data=n,yS(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(n){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,n)}elementContainsData(n){let e=!1;return this._elementListeners.has(n)&&(e=!0),e=!!this._queue.find(i=>i.element===n)||e,e}}class $K{constructor(n,e,i){this.bodyNode=n,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(n,e){this.onRemovalComplete(n,e)}get queuedPlayers(){const n=[];return this._namespaceList.forEach(e=>{e.players.forEach(i=>{i.queued&&n.push(i)})}),n}createNamespace(n,e){const i=new UK(n,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[n]=i}_balanceNamespaceList(n,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,n),s=!0;break}a=this.driver.getParentElement(a)}s||i.unshift(n)}else i.push(n);return r.set(e,n),n}register(n,e){let i=this._namespaceLookup[n];return i||(i=this.createNamespace(n,e)),i}registerTrigger(n,e,i){let r=this._namespaceLookup[n];r&&r.register(e,i)&&this.totalAnimations++}destroy(n,e){if(!n)return;const i=this._fetchNamespace(n);this.afterFlush(()=>{this.namespacesByHostElement.delete(i.hostElement),delete this._namespaceLookup[n];const r=this._namespaceList.indexOf(i);r>=0&&this._namespaceList.splice(r,1)}),this.afterFlushAnimationsDone(()=>i.destroy(e))}_fetchNamespace(n){return this._namespaceLookup[n]}fetchNamespacesByElement(n){const e=new Set,i=this.statesByElement.get(n);if(i)for(let r of i.values())if(r.namespaceId){const o=this._fetchNamespace(r.namespaceId);o&&e.add(o)}return e}trigger(n,e,i,r){if(Vv(e)){const o=this._fetchNamespace(n);if(o)return o.trigger(e,i,r),!0}return!1}insertNode(n,e,i,r){if(!Vv(e))return;const o=e[Ds];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;const s=this.collectedLeaveElements.indexOf(e);s>=0&&this.collectedLeaveElements.splice(s,1)}if(n){const s=this._fetchNamespace(n);s&&s.insertNode(e,i)}r&&this.collectEnterElement(e)}collectEnterElement(n){this.collectedEnterElements.push(n)}markElementAsDisabled(n,e){e?this.disabledNodes.has(n)||(this.disabledNodes.add(n),Ms(n,BS)):this.disabledNodes.has(n)&&(this.disabledNodes.delete(n),hh(n,BS))}removeNode(n,e,i,r){if(Vv(e)){const o=n?this._fetchNamespace(n):null;if(o?o.removeNode(e,r):this.markElementAsRemoved(n,e,!1,r),i){const s=this.namespacesByHostElement.get(e);s&&s.id!==n&&s.removeNode(e,r)}}else this._onRemovalComplete(e,r)}markElementAsRemoved(n,e,i,r,o){this.collectedLeaveElements.push(e),e[Ds]={namespaceId:n,setForRemoval:r,hasAnimation:i,removedBeforeQueried:!1,previousTriggersValues:o}}listen(n,e,i,r,o){return Vv(e)?this._fetchNamespace(n).listen(e,i,r,o):()=>{}}_buildInstruction(n,e,i,r,o){return n.transition.build(this.driver,n.element,n.fromState.value,n.toState.value,i,r,n.fromState.options,n.toState.options,e,o)}destroyInnerAnimations(n){let e=this.driver.query(n,Tv,!0);e.forEach(i=>this.destroyActiveAnimationsForElement(i)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(n,MS,!0),e.forEach(i=>this.finishActiveQueriedAnimationOnElement(i)))}destroyActiveAnimationsForElement(n){const e=this.playersByElement.get(n);e&&e.forEach(i=>{i.queued?i.markedForDestroy=!0:i.destroy()})}finishActiveQueriedAnimationOnElement(n){const e=this.playersByQueriedElement.get(n);e&&e.forEach(i=>i.finish())}whenRenderingDone(){return new Promise(n=>{if(this.players.length)return yc(this.players).onDone(()=>n());n()})}processLeaveNode(n){const e=n[Ds];if(e&&e.setForRemoval){if(n[Ds]=PR,e.namespaceId){this.destroyInnerAnimations(n);const i=this._fetchNamespace(e.namespaceId);i&&i.clearElementCache(n)}this._onRemovalComplete(n,e.setForRemoval)}n.classList?.contains(BS)&&this.markElementAsDisabled(n,!1),this.driver.query(n,".ng-animate-disabled",!0).forEach(i=>{this.markElementAsDisabled(i,!1)})}flush(n=-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?yc(e).onDone(()=>{i.forEach(r=>r())}):i.forEach(r=>r())}}reportError(n){throw function $Y(t){return new ke(3402,!1)}()}_flushAnimations(n,e){const i=new Nv,r=[],o=new Map,s=[],a=new Map,l=new Map,c=new Map,p=new Set;this.disabledNodes.forEach(Re=>{p.add(Re);const je=this.driver.query(Re,".ng-animate-queued",!0);for(let At=0;At{const At=DS+A++;k.set(je,At),Re.forEach(En=>Ms(En,At))});const P=[],N=new Set,$=new Set;for(let Re=0;ReN.add(En)):$.add(je))}const U=new Map,X=NR(_,Array.from(N));X.forEach((Re,je)=>{const At=Dv+A++;U.set(je,At),Re.forEach(En=>Ms(En,At))}),n.push(()=>{C.forEach((Re,je)=>{const At=k.get(je);Re.forEach(En=>hh(En,At))}),X.forEach((Re,je)=>{const At=U.get(je);Re.forEach(En=>hh(En,At))}),P.forEach(Re=>{this.processLeaveNode(Re)})});const se=[],ve=[];for(let Re=this._namespaceList.length-1;Re>=0;Re--)this._namespaceList[Re].drainQueuedTransitions(e).forEach(At=>{const En=At.player,Ti=At.element;if(se.push(En),this.collectedEnterElements.length){const kr=Ti[Ds];if(kr&&kr.setForMove){if(kr.previousTriggersValues&&kr.previousTriggersValues.has(At.triggerName)){const Bi=kr.previousTriggersValues.get(At.triggerName),Pn=this.statesByElement.get(At.element);if(Pn&&Pn.has(At.triggerName)){const oo=Pn.get(At.triggerName);oo.value=Bi,Pn.set(At.triggerName,oo)}}return void En.destroy()}}const zr=!m||!this.driver.containsElement(m,Ti),Li=U.get(Ti),ro=k.get(Ti),oi=this._buildInstruction(At,i,ro,Li,zr);if(oi.errors&&oi.errors.length)return void ve.push(oi);if(zr)return En.onStart(()=>Su(Ti,oi.fromStyles)),En.onDestroy(()=>Ea(Ti,oi.toStyles)),void r.push(En);if(At.isFallbackTransition)return En.onStart(()=>Su(Ti,oi.fromStyles)),En.onDestroy(()=>Ea(Ti,oi.toStyles)),void r.push(En);const jl=[];oi.timelines.forEach(kr=>{kr.stretchStartingKeyframe=!0,this.disabledNodes.has(kr.element)||jl.push(kr)}),oi.timelines=jl,i.append(Ti,oi.timelines),s.push({instruction:oi,player:En,element:Ti}),oi.queriedElements.forEach(kr=>is(a,kr,[]).push(En)),oi.preStyleProps.forEach((kr,Bi)=>{if(kr.size){let Pn=l.get(Bi);Pn||l.set(Bi,Pn=new Set),kr.forEach((oo,Vc)=>Pn.add(Vc))}}),oi.postStyleProps.forEach((kr,Bi)=>{let Pn=c.get(Bi);Pn||c.set(Bi,Pn=new Set),kr.forEach((oo,Vc)=>Pn.add(Vc))})});if(ve.length){const Re=[];ve.forEach(je=>{Re.push(function GY(t,n){return new ke(3505,!1)}())}),se.forEach(je=>je.destroy()),this.reportError(Re)}const De=new Map,He=new Map;s.forEach(Re=>{const je=Re.element;i.has(je)&&(He.set(je,je),this._beforeAnimationBuild(Re.player.namespaceId,Re.instruction,De))}),r.forEach(Re=>{const je=Re.element;this._getPreviousPlayers(je,!1,Re.namespaceId,Re.triggerName,null).forEach(En=>{is(De,je,[]).push(En),En.destroy()})});const We=P.filter(Re=>BR(Re,l,c)),Ft=new Map;FR(Ft,this.driver,$,c,kl).forEach(Re=>{BR(Re,l,c)&&We.push(Re)});const qt=new Map;C.forEach((Re,je)=>{FR(qt,this.driver,new Set(Re),l,"!")}),We.forEach(Re=>{const je=Ft.get(Re),At=qt.get(Re);Ft.set(Re,new Map([...Array.from(je?.entries()??[]),...Array.from(At?.entries()??[])]))});const Nn=[],Ni=[],pt={};s.forEach(Re=>{const{element:je,player:At,instruction:En}=Re;if(i.has(je)){if(p.has(je))return At.onDestroy(()=>Ea(je,En.toStyles)),At.disabled=!0,At.overrideTotalTime(En.totalTime),void r.push(At);let Ti=pt;if(He.size>1){let Li=je;const ro=[];for(;Li=Li.parentNode;){const oi=He.get(Li);if(oi){Ti=oi;break}ro.push(Li)}ro.forEach(oi=>He.set(oi,Ti))}const zr=this._buildAnimation(At.namespaceId,En,De,o,qt,Ft);if(At.setRealPlayer(zr),Ti===pt)Nn.push(At);else{const Li=this.playersByElement.get(Ti);Li&&Li.length&&(At.parentPlayer=yc(Li)),r.push(At)}}else Su(je,En.fromStyles),At.onDestroy(()=>Ea(je,En.toStyles)),Ni.push(At),p.has(je)&&r.push(At)}),Ni.forEach(Re=>{const je=o.get(Re.element);if(je&&je.length){const At=yc(je);Re.setRealPlayer(At)}}),r.forEach(Re=>{Re.parentPlayer?Re.syncPlayerEvents(Re.parentPlayer):Re.destroy()});for(let Re=0;Re!zr.destroyed);Ti.length?KK(this,je,Ti):this.processLeaveNode(je)}return P.length=0,Nn.forEach(Re=>{this.players.push(Re),Re.onDone(()=>{Re.destroy();const je=this.players.indexOf(Re);this.players.splice(je,1)}),Re.play()}),Nn}elementContainsData(n,e){let i=!1;const r=e[Ds];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(n).elementContainsData(e)||i}afterFlush(n){this._flushFns.push(n)}afterFlushAnimationsDone(n){this._whenQuietFns.push(n)}_getPreviousPlayers(n,e,i,r,o){let s=[];if(e){const a=this.playersByQueriedElement.get(n);a&&(s=a)}else{const a=this.playersByElement.get(n);if(a){const l=!o||o==Up;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(n,e,i){const o=e.element,s=e.isRemovalTransition?void 0:n,a=e.isRemovalTransition?void 0:e.triggerName;for(const l of e.timelines){const c=l.element,p=c!==o,m=is(i,c,[]);this._getPreviousPlayers(c,p,s,a,e.toState).forEach(C=>{const k=C.getRealPlayer();k.beforeDestroy&&k.beforeDestroy(),C.destroy(),m.push(C)})}Su(o,e.fromStyles)}_buildAnimation(n,e,i,r,o,s){const a=e.triggerName,l=e.element,c=[],p=new Set,m=new Set,_=e.timelines.map(k=>{const A=k.element;p.add(A);const P=A[Ds];if(P&&P.removedBeforeQueried)return new Hp(k.duration,k.delay);const N=A!==l,$=function ZK(t){const n=[];return LR(t,n),n}((i.get(A)||WK).map(De=>De.getRealPlayer())).filter(De=>!!De.element&&De.element===A),U=o.get(A),X=s.get(A),se=cR(0,this._normalizer,0,k.keyframes,U,X),ve=this._buildPlayer(k,se,$);if(k.subTimeline&&r&&m.add(A),N){const De=new zS(n,a,A);De.setRealPlayer(ve),c.push(De)}return ve});c.forEach(k=>{is(this.playersByQueriedElement,k.element,[]).push(k),k.onDone(()=>function GK(t,n,e){let i=t.get(n);if(i){if(i.length){const r=i.indexOf(e);i.splice(r,1)}0==i.length&&t.delete(n)}return i}(this.playersByQueriedElement,k.element,k))}),p.forEach(k=>Ms(k,vR));const C=yc(_);return C.onDestroy(()=>{p.forEach(k=>hh(k,vR)),Ea(l,e.toStyles)}),m.forEach(k=>{is(r,k,[]).push(C)}),C}_buildPlayer(n,e,i){return e.length>0?this.driver.animate(n.element,e,n.duration,n.delay,n.easing,i):new Hp(n.duration,n.delay)}}class zS{constructor(n,e,i){this.namespaceId=n,this.triggerName=e,this.element=i,this._player=new Hp,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(n){this._containsRealPlayer||(this._player=n,this._queuedCallbacks.forEach((e,i)=>{e.forEach(r=>yS(n,i,void 0,r))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(n.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(n){this.totalTime=n}syncPlayerEvents(n){const e=this._player;e.triggerCallback&&n.onStart(()=>e.triggerCallback("start")),n.onDone(()=>this.finish()),n.onDestroy(()=>this.destroy())}_queueEvent(n,e){is(this._queuedCallbacks,n,[]).push(e)}onDone(n){this.queued&&this._queueEvent("done",n),this._player.onDone(n)}onStart(n){this.queued&&this._queueEvent("start",n),this._player.onStart(n)}onDestroy(n){this.queued&&this._queueEvent("destroy",n),this._player.onDestroy(n)}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(n){this.queued||this._player.setPosition(n)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(n){const e=this._player;e.triggerCallback&&e.triggerCallback(n)}}function Vv(t){return t&&1===t.nodeType}function RR(t,n){const e=t.style.display;return t.style.display=n??"none",e}function FR(t,n,e,i,r){const o=[];e.forEach(l=>o.push(RR(l)));const s=[];i.forEach((l,c)=>{const p=new Map;l.forEach(m=>{const _=n.computeStyle(c,m,r);p.set(m,_),(!_||0==_.length)&&(c[Ds]=jK,s.push(c))}),t.set(c,p)});let a=0;return e.forEach(l=>RR(l,o[a++])),s}function NR(t,n){const e=new Map;if(t.forEach(a=>e.set(a,[])),0==n.length)return e;const r=new Set(n),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 n.forEach(a=>{const l=s(a);1!==l&&e.get(l).push(a)}),e}function Ms(t,n){t.classList?.add(n)}function hh(t,n){t.classList?.remove(n)}function KK(t,n,e){yc(e).onDone(()=>t.processLeaveNode(n))}function LR(t,n){for(let e=0;er.add(o)):n.set(t,i),e.delete(t),!0}class Hv{constructor(n,e,i){this.bodyNode=n,this._driver=e,this._normalizer=i,this._triggerCache={},this.onRemovalComplete=(r,o)=>{},this._transitionEngine=new $K(n,e,i),this._timelineEngine=new LK(n,e,i),this._transitionEngine.onRemovalComplete=(r,o)=>this.onRemovalComplete(r,o)}registerTrigger(n,e,i,r,o){const s=n+"-"+r;let a=this._triggerCache[s];if(!a){const l=[],p=OS(this._driver,o,l,[]);if(l.length)throw function FY(t,n){return new ke(3404,!1)}();a=function PK(t,n,e){return new RK(t,n,e)}(r,p,this._normalizer),this._triggerCache[s]=a}this._transitionEngine.registerTrigger(e,r,a)}register(n,e){this._transitionEngine.register(n,e)}destroy(n,e){this._transitionEngine.destroy(n,e)}onInsert(n,e,i,r){this._transitionEngine.insertNode(n,e,i,r)}onRemove(n,e,i,r){this._transitionEngine.removeNode(n,e,r||!1,i)}disableAnimations(n,e){this._transitionEngine.markElementAsDisabled(n,e)}process(n,e,i,r){if("@"==i.charAt(0)){const[o,s]=uR(i);this._timelineEngine.command(o,e,s,r)}else this._transitionEngine.trigger(n,e,i,r)}listen(n,e,i,r,o){if("@"==i.charAt(0)){const[s,a]=uR(i);return this._timelineEngine.listen(s,e,a,o)}return this._transitionEngine.listen(n,e,i,r,o)}flush(n=-1){this._transitionEngine.flush(n)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let JK=(()=>{class t{constructor(e,i,r){this._element=e,this._startStyles=i,this._endStyles=r,this._state=0;let o=t.initialStylesByElement.get(e);o||t.initialStylesByElement.set(e,o=new Map),this._initialStyles=o}start(){this._state<1&&(this._startStyles&&Ea(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Ea(this._element,this._initialStyles),this._endStyles&&(Ea(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(Su(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Su(this._element,this._endStyles),this._endStyles=null),Ea(this._element,this._initialStyles),this._state=3)}}return t.initialStylesByElement=new WeakMap,t})();function WS(t){let n=null;return t.forEach((e,i)=>{(function eZ(t){return"display"===t||"position"===t})(i)&&(n=n||new Map,n.set(i,e))}),n}class VR{constructor(n,e,i,r){this.element=n,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(n=>n()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const n=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,n,this.options),this._finalKeyframe=n.length?n[n.length-1]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(n){const e=[];return n.forEach(i=>{e.push(Object.fromEntries(i))}),e}_triggerWebAnimation(n,e,i){return n.animate(this._convertKeyframesToObject(e),i)}onStart(n){this._originalOnStartFns.push(n),this._onStartFns.push(n)}onDone(n){this._originalOnDoneFns.push(n),this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(n=>n()),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(n=>n()),this._onDestroyFns=[])}setPosition(n){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=n*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const n=new Map;this.hasStarted()&&this._finalKeyframe.forEach((i,r)=>{"offset"!==r&&n.set(r,this._finished?i:xR(this.element,r))}),this.currentSnapshot=n}triggerCallback(n){const e="start"===n?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}class tZ{validateStyleProperty(n){return!0}validateAnimatableStyleProperty(n){return!0}matchesElement(n,e){return!1}containsElement(n,e){return pR(n,e)}getParentElement(n){return xS(n)}query(n,e,i){return mR(n,e,i)}computeStyle(n,e,i){return window.getComputedStyle(n)[e]}animate(n,e,i,r,o,s=[]){const l={duration:i,delay:r,fill:0==r?"both":"forwards"};o&&(l.easing=o);const c=new Map,p=s.filter(C=>C instanceof VR);(function oK(t,n){return 0===t||0===n})(i,r)&&p.forEach(C=>{C.currentSnapshot.forEach((k,A)=>c.set(A,k))});let m=function tK(t){return t.length?t[0]instanceof Map?t:t.map(n=>bR(n)):[]}(e).map(C=>wc(C));m=function sK(t,n,e){if(e.size&&n.length){let i=n[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,xR(t,a)))}}return n}(n,m,c);const _=function XK(t,n){let e=null,i=null;return Array.isArray(n)&&n.length?(e=WS(n[0]),n.length>1&&(i=WS(n[n.length-1]))):n instanceof Map&&(e=WS(n)),e||i?new JK(t,e,i):null}(n,m);return new VR(n,m,l,_)}}let nZ=(()=>{class t extends iR{constructor(e,i){super(),this._nextAnimationId=0,this._renderer=e.createRenderer(i.body,{id:"0",encapsulation:Uo.None,styles:[],data:{animation:[]}})}build(e){const i=this._nextAnimationId.toString();this._nextAnimationId++;const r=Array.isArray(e)?oR(e):e;return HR(this._renderer,null,i,"register",[r]),new iZ(i,this._renderer)}}return t.\u0275fac=function(e){return new(e||t)(K(Gf),K(Xt))},t.\u0275prov=Ee({token:t,factory:t.\u0275fac}),t})();class iZ extends class fY{}{constructor(n,e){super(),this._id=n,this._renderer=e}create(n,e){return new rZ(this._id,n,e||{},this._renderer)}}class rZ{constructor(n,e,i,r){this.id=n,this.element=e,this._renderer=r,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",i)}_listen(n,e){return this._renderer.listen(this.element,`@@${this.id}:${n}`,e)}_command(n,...e){return HR(this._renderer,this.element,this.id,n,e)}onDone(n){this._listen("done",n)}onStart(n){this._listen("start",n)}onDestroy(n){this._listen("destroy",n)}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(n){this._command("setPosition",n)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function HR(t,n,e,i,r){return t.setProperty(n,`@@${e}:${i}`,r)}const zR="@.disabled";let oZ=(()=>{class t{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 p=this._rendererCache.get(o);return p||(p=new WR("",o,this.engine,()=>this._rendererCache.delete(o)),this._rendererCache.set(o,p)),p}const s=i.id,a=i.id+"-"+this._currentId;this._currentId++,this.engine.register(a,e);const l=p=>{Array.isArray(p)?p.forEach(l):this.engine.registerTrigger(s,a,e,p.name,p)};return i.data.animation.forEach(l),new sZ(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 t.\u0275fac=function(e){return new(e||t)(K(Gf),K(Hv),K(bt))},t.\u0275prov=Ee({token:t,factory:t.\u0275fac}),t})();class WR{constructor(n,e,i,r){this.namespaceId=n,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(n,e){return this.delegate.createElement(n,e)}createComment(n){return this.delegate.createComment(n)}createText(n){return this.delegate.createText(n)}appendChild(n,e){this.delegate.appendChild(n,e),this.engine.onInsert(this.namespaceId,e,n,!1)}insertBefore(n,e,i,r=!0){this.delegate.insertBefore(n,e,i),this.engine.onInsert(this.namespaceId,e,n,r)}removeChild(n,e,i){this.engine.onRemove(this.namespaceId,e,this.delegate,i)}selectRootElement(n,e){return this.delegate.selectRootElement(n,e)}parentNode(n){return this.delegate.parentNode(n)}nextSibling(n){return this.delegate.nextSibling(n)}setAttribute(n,e,i,r){this.delegate.setAttribute(n,e,i,r)}removeAttribute(n,e,i){this.delegate.removeAttribute(n,e,i)}addClass(n,e){this.delegate.addClass(n,e)}removeClass(n,e){this.delegate.removeClass(n,e)}setStyle(n,e,i,r){this.delegate.setStyle(n,e,i,r)}removeStyle(n,e,i){this.delegate.removeStyle(n,e,i)}setProperty(n,e,i){"@"==e.charAt(0)&&e==zR?this.disableAnimations(n,!!i):this.delegate.setProperty(n,e,i)}setValue(n,e){this.delegate.setValue(n,e)}listen(n,e,i){return this.delegate.listen(n,e,i)}disableAnimations(n,e){this.engine.disableAnimations(n,e)}}class sZ extends WR{constructor(n,e,i,r,o){super(e,i,r,o),this.factory=n,this.namespaceId=e}setProperty(n,e,i){"@"==e.charAt(0)?"."==e.charAt(1)&&e==zR?this.disableAnimations(n,i=void 0===i||!!i):this.engine.process(this.namespaceId,n,e.slice(1),i):this.delegate.setProperty(n,e,i)}listen(n,e,i){if("@"==e.charAt(0)){const r=function aZ(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}(n);let o=e.slice(1),s="";return"@"!=o.charAt(0)&&([o,s]=function lZ(t){const n=t.indexOf(".");return[t.substring(0,n),t.slice(n+1)]}(o)),this.engine.listen(this.namespaceId,r,o,s,a=>{this.factory.scheduleListenerCallback(a._data||-1,i,a)})}return this.delegate.listen(n,e,i)}}let cZ=(()=>{class t extends Hv{constructor(e,i,r,o){super(e.body,i,r)}ngOnDestroy(){this.flush()}}return t.\u0275fac=function(e){return new(e||t)(K(Xt),K(kS),K(NS),K(Kd))},t.\u0275prov=Ee({token:t,factory:t.\u0275fac}),t})();const jR=[{provide:iR,useClass:nZ},{provide:NS,useFactory:function uZ(){return new EK}},{provide:Hv,useClass:cZ},{provide:Gf,useFactory:function dZ(t,n,e){return new oZ(t,n,e)},deps:[H_,Hv,bt]}],jS=[{provide:kS,useFactory:()=>new tZ},{provide:nr,useValue:"BrowserAnimations"},...jR],UR=[{provide:kS,useClass:gR},{provide:nr,useValue:"NoopAnimations"},...jR];let US,hZ=(()=>{class t{static withConfig(e){return{ngModule:t,providers:e.disableAnimations?UR:jS}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Ct({type:t}),t.\u0275inj=yt({providers:jS,imports:[MO]}),t})();try{US=typeof Intl<"u"&&Intl.v8BreakIterator}catch{US=!1}let fh,dr=(()=>{class t{constructor(e){this._platformId=e,this.isBrowser=this._platformId?function wj(t){return t===oO}(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&&!US)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return t.\u0275fac=function(e){return new(e||t)(K(v_))},t.\u0275prov=Ee({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const $R=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function GR(){if(fh)return fh;if("object"!=typeof document||!document)return fh=new Set($R),fh;let t=document.createElement("input");return fh=new Set($R.filter(n=>(t.setAttribute("type",n),t.type===n))),fh}let $p,Du,$S;function ku(t){return function fZ(){if(null==$p&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>$p=!0}))}finally{$p=$p||!1}return $p}()?t:!!t.capture}function pZ(){if(null==Du){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return Du=!1,Du;if("scrollBehavior"in document.documentElement.style)Du=!0;else{const t=Element.prototype.scrollTo;Du=!!t&&!/\{\s*\[native code\]\s*\}/.test(t.toString())}}return Du}function jv(){let t=typeof document<"u"&&document?document.activeElement:null;for(;t&&t.shadowRoot;){const n=t.shadowRoot.activeElement;if(n===t)break;t=n}return t}function Cc(t){return t.composedPath?t.composedPath()[0]:t.target}function GS(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}function no(t,...n){return n.length?n.some(e=>t[e]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}class MZ extends Z{constructor(n,e){super()}schedule(n,e=0){return this}}const Gv={setInterval(t,n,...e){const{delegate:i}=Gv;return i?.setInterval?i.setInterval(t,n,...e):setInterval(t,n,...e)},clearInterval(t){const{delegate:n}=Gv;return(n?.clearInterval||clearInterval)(t)},delegate:void 0};class YS extends MZ{constructor(n,e){super(n,e),this.scheduler=n,this.work=e,this.pending=!1}schedule(n,e=0){var i;if(this.closed)return this;this.state=n;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(n,e,i=0){return Gv.setInterval(n.flush.bind(n,this),i)}recycleAsyncId(n,e,i=0){if(null!=i&&this.delay===i&&!1===this.pending)return e;null!=e&&Gv.clearInterval(e)}execute(n,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const i=this._execute(n,e);if(i)return i;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(n,e){let r,i=!1;try{this.work(n)}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:n,scheduler:e}=this,{actions:i}=e;this.work=this.state=this.scheduler=null,this.pending=!1,ge(i,this),null!=n&&(this.id=this.recycleAsyncId(e,n,null)),this.delay=null,super.unsubscribe()}}}const KS={now:()=>(KS.delegate||Date).now(),delegate:void 0};class Gp{constructor(n,e=Gp.now){this.schedulerActionCtor=n,this.now=e}schedule(n,e=0,i){return new this.schedulerActionCtor(this,n).schedule(i,e)}}Gp.now=KS.now;class ZS extends Gp{constructor(n,e=Gp.now){super(n,e),this.actions=[],this._active=!1}flush(n){const{actions:e}=this;if(this._active)return void e.push(n);let i;this._active=!0;do{if(i=n.execute(n.state,n.delay))break}while(n=e.shift());if(this._active=!1,i){for(;n=e.shift();)n.unsubscribe();throw i}}}const mh=new ZS(YS),TZ=mh;function qv(t,n=mh){return Ye((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+t,p=n.now();if(p{o=c,s=n.now(),r||(r=n.schedule(l,t),i.add(r))},()=>{a(),i.complete()},void 0,()=>{o=r=null}))})}function QS(t){return hi((n,e)=>t<=e)}function qp(t,n=pr){return t=t??EZ,Ye((e,i)=>{let r,o=!0;e.subscribe(Ot(i,s=>{const a=n(s);(o||!t(r,a))&&(o=!1,r=a,i.next(s))}))})}function EZ(t,n){return t===n}function rn(t){return Ye((n,e)=>{z(t).subscribe(Ot(e,()=>e.complete(),x)),!e.closed&&n.subscribe(e)})}function vt(t){return null!=t&&"false"!=`${t}`}function Vo(t,n=0){return YR(t)?Number(t):n}function YR(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}function Yv(t){return Array.isArray(t)?t:[t]}function Rr(t){return null==t?"":"string"==typeof t?t:`${t}px`}function Tl(t){return t instanceof xe?t.nativeElement:t}let KR=(()=>{class t{create(e){return typeof MutationObserver>"u"?null:new MutationObserver(e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ee({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),OZ=(()=>{class t{constructor(e){this._mutationObserverFactory=e,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((e,i)=>this._cleanupObserver(i))}observe(e){const i=Tl(e);return new bn(r=>{const s=this._observeElement(i).subscribe(r);return()=>{s.unsubscribe(),this._unobserveElement(i)}})}_observeElement(e){if(this._observedElements.has(e))this._observedElements.get(e).count++;else{const i=new pe,r=this._mutationObserverFactory.create(o=>i.next(o));r&&r.observe(e,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(e,{observer:r,stream:i,count:1})}return this._observedElements.get(e).stream}_unobserveElement(e){this._observedElements.has(e)&&(this._observedElements.get(e).count--,this._observedElements.get(e).count||this._cleanupObserver(e))}_cleanupObserver(e){if(this._observedElements.has(e)){const{observer:i,stream:r}=this._observedElements.get(e);i&&i.disconnect(),r.complete(),this._observedElements.delete(e)}}}return t.\u0275fac=function(e){return new(e||t)(K(KR))},t.\u0275prov=Ee({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Kv=(()=>{class t{constructor(e,i,r){this._contentObserver=e,this._elementRef=i,this._ngZone=r,this.event=new Ge,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(e){this._disabled=vt(e),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(e){this._debounce=Vo(e),this._subscribe()}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const e=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?e.pipe(qv(this.debounce)):e).subscribe(this.event)})}_unsubscribe(){this._currentSubscription?.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(D(OZ),D(xe),D(bt))},t.\u0275dir=fe({type:t,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),t})(),Yp=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Ct({type:t}),t.\u0275inj=yt({providers:[KR]}),t})();const ZR=new Set;let gh,IZ=(()=>{class t{constructor(e){this._platform=e,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):RZ}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&function PZ(t){if(!ZR.has(t))try{gh||(gh=document.createElement("style"),gh.setAttribute("type","text/css"),document.head.appendChild(gh)),gh.sheet&&(gh.sheet.insertRule(`@media ${t} {body{ }}`,0),ZR.add(t))}catch(n){console.error(n)}}(e),this._matchMedia(e)}}return t.\u0275fac=function(e){return new(e||t)(K(dr))},t.\u0275prov=Ee({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function RZ(t){return{matches:"all"===t||""===t,media:t,addListener:()=>{},removeListener:()=>{}}}let Zv=(()=>{class t{constructor(e,i){this._mediaMatcher=e,this._zone=i,this._queries=new Map,this._destroySubject=new pe}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return QR(Yv(e)).some(r=>this._registerQuery(r).mql.matches)}observe(e){let o=Qd(QR(Yv(e)).map(s=>this._registerQuery(s).observable));return o=vp(o.pipe(di(1)),o.pipe(QS(1),qv(0))),o.pipe(Ne(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 bn(s=>{const a=l=>this._zone.run(()=>s.next(l));return i.addListener(a),()=>{i.removeListener(a)}}).pipe(ji(i),Ne(({matches:s})=>({query:e,matches:s})),rn(this._destroySubject)),mql:i};return this._queries.set(e,o),o}}return t.\u0275fac=function(e){return new(e||t)(K(IZ),K(bt))},t.\u0275prov=Ee({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function QR(t){return t.map(n=>n.split(",")).reduce((n,e)=>n.concat(e)).map(n=>n.trim())}function Qv(t,n){return(t.getAttribute(n)||"").match(/\S+/g)||[]}const eF="cdk-describedby-message",Xv="cdk-describedby-host";let XS=0,JS=(()=>{class t{constructor(e,i){this._platform=i,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+XS++,this._document=e,this._id=ki(Yd)+"-"+XS++}describe(e,i,r){if(!this._canBeDescribed(e,i))return;const o=ex(i,r);"string"!=typeof i?(tF(i,this._id),this._messageRegistry.set(o,{messageElement:i,referenceCount:0})):this._messageRegistry.has(o)||this._createMessageElement(i,r),this._isElementDescribedByMessage(e,o)||this._addMessageReference(e,o)}removeDescription(e,i,r){if(!i||!this._isElementNode(e))return;const o=ex(i,r);if(this._isElementDescribedByMessage(e,o)&&this._removeMessageReference(e,o),"string"==typeof i){const s=this._messageRegistry.get(o);s&&0===s.referenceCount&&this._deleteMessageElement(o)}0===this._messagesContainer?.childNodes.length&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){const e=this._document.querySelectorAll(`[${Xv}="${this._id}"]`);for(let i=0;i0!=r.indexOf(eF));e.setAttribute("aria-describedby",i.join(" "))}_addMessageReference(e,i){const r=this._messageRegistry.get(i);(function FZ(t,n,e){const i=Qv(t,n);i.some(r=>r.trim()==e.trim())||(i.push(e.trim()),t.setAttribute(n,i.join(" ")))})(e,"aria-describedby",r.messageElement.id),e.setAttribute(Xv,this._id),r.referenceCount++}_removeMessageReference(e,i){const r=this._messageRegistry.get(i);r.referenceCount--,function NZ(t,n,e){const r=Qv(t,n).filter(o=>o!=e.trim());r.length?t.setAttribute(n,r.join(" ")):t.removeAttribute(n)}(e,"aria-describedby",r.messageElement.id),e.removeAttribute(Xv)}_isElementDescribedByMessage(e,i){const r=Qv(e,"aria-describedby"),o=this._messageRegistry.get(i),s=o&&o.messageElement.id;return!!s&&-1!=r.indexOf(s)}_canBeDescribed(e,i){if(!this._isElementNode(e))return!1;if(i&&"object"==typeof i)return!0;const r=null==i?"":`${i}`.trim(),o=e.getAttribute("aria-label");return!(!r||o&&o.trim()===r)}_isElementNode(e){return e.nodeType===this._document.ELEMENT_NODE}}return t.\u0275fac=function(e){return new(e||t)(K(Xt),K(dr))},t.\u0275prov=Ee({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function ex(t,n){return"string"==typeof t?`${n||""}/${t}`:t}function tF(t,n){t.id||(t.id=`${eF}-${n}-${XS++}`)}class nF{constructor(n){this._items=n,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new pe,this._typeaheadSubscription=Z.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=e=>e.disabled,this._pressedLetters=[],this.tabOut=new pe,this.change=new pe,n instanceof Ks&&n.changes.subscribe(e=>{if(this._activeItem){const r=e.toArray().indexOf(this._activeItem);r>-1&&r!==this._activeItemIndex&&(this._activeItemIndex=r)}})}skipPredicate(n){return this._skipPredicateFn=n,this}withWrap(n=!0){return this._wrap=n,this}withVerticalOrientation(n=!0){return this._vertical=n,this}withHorizontalOrientation(n){return this._horizontal=n,this}withAllowedModifierKeys(n){return this._allowedModifierKeys=n,this}withTypeAhead(n=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(rr(e=>this._pressedLetters.push(e)),qv(n),hi(()=>this._pressedLetters.length>0),Ne(()=>this._pressedLetters.join(""))).subscribe(e=>{const i=this._getItemsArray();for(let r=1;r!n[o]||this._allowedModifierKeys.indexOf(o)>-1);switch(e){case 9:return void this.tabOut.next();case 40:if(this._vertical&&r){this.setNextItemActive();break}return;case 38:if(this._vertical&&r){this.setPreviousItemActive();break}return;case 39:if(this._horizontal&&r){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case 37:if(this._horizontal&&r){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case 36:if(this._homeAndEnd&&r){this.setFirstItemActive();break}return;case 35:if(this._homeAndEnd&&r){this.setLastItemActive();break}return;default:return void((r||no(n,"shiftKey"))&&(n.key&&1===n.key.length?this._letterKeyStream.next(n.key.toLocaleUpperCase()):(e>=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e))))}this._pressedLetters=[],n.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(n){const e=this._getItemsArray(),i="number"==typeof n?n:e.indexOf(n);this._activeItem=e[i]??null,this._activeItemIndex=i}_setActiveItemByDelta(n){this._wrap?this._setActiveInWrapMode(n):this._setActiveInDefaultMode(n)}_setActiveInWrapMode(n){const e=this._getItemsArray();for(let i=1;i<=e.length;i++){const r=(this._activeItemIndex+n*i+e.length)%e.length;if(!this._skipPredicateFn(e[r]))return void this.setActiveItem(r)}}_setActiveInDefaultMode(n){this._setActiveItemByIndex(this._activeItemIndex+n,n)}_setActiveItemByIndex(n,e){const i=this._getItemsArray();if(i[n]){for(;this._skipPredicateFn(i[n]);)if(!i[n+=e])return;this.setActiveItem(n)}}_getItemsArray(){return this._items instanceof Ks?this._items.toArray():this._items}}class iF extends nF{setActiveItem(n){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(n),this.activeItem&&this.activeItem.setActiveStyles()}}class Kp extends nF{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(n){return this._origin=n,this}setActiveItem(n){super.setActiveItem(n),this.activeItem&&this.activeItem.focus(this._origin)}}let Jv=(()=>{class t{constructor(e){this._platform=e}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return function BZ(t){return!!(t.offsetWidth||t.offsetHeight||"function"==typeof t.getClientRects&&t.getClientRects().length)}(e)&&"visible"===getComputedStyle(e).visibility}isTabbable(e){if(!this._platform.isBrowser)return!1;const i=function LZ(t){try{return t.frameElement}catch{return null}}(function GZ(t){return t.ownerDocument&&t.ownerDocument.defaultView||window}(e));if(i&&(-1===oF(i)||!this.isVisible(i)))return!1;let r=e.nodeName.toLowerCase(),o=oF(e);return e.hasAttribute("contenteditable")?-1!==o:!("iframe"===r||"object"===r||this._platform.WEBKIT&&this._platform.IOS&&!function UZ(t){let n=t.nodeName.toLowerCase(),e="input"===n&&t.type;return"text"===e||"password"===e||"select"===n||"textarea"===n}(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 $Z(t){return!function HZ(t){return function WZ(t){return"input"==t.nodeName.toLowerCase()}(t)&&"hidden"==t.type}(t)&&(function VZ(t){let n=t.nodeName.toLowerCase();return"input"===n||"select"===n||"button"===n||"textarea"===n}(t)||function zZ(t){return function jZ(t){return"a"==t.nodeName.toLowerCase()}(t)&&t.hasAttribute("href")}(t)||t.hasAttribute("contenteditable")||rF(t))}(e)&&!this.isDisabled(e)&&(i?.ignoreVisibility||this.isVisible(e))}}return t.\u0275fac=function(e){return new(e||t)(K(dr))},t.\u0275prov=Ee({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function rF(t){if(!t.hasAttribute("tabindex")||void 0===t.tabIndex)return!1;let n=t.getAttribute("tabindex");return!(!n||isNaN(parseInt(n,10)))}function oF(t){if(!rF(t))return null;const n=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(n)?-1:n}class qZ{constructor(n,e,i,r,o=!1){this._element=n,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(n){this._enabled=n,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(n,this._startAnchor),this._toggleAnchorTabIndex(n,this._endAnchor))}destroy(){const n=this._startAnchor,e=this._endAnchor;n&&(n.removeEventListener("focus",this.startAnchorListener),n.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(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement(n)))})}focusFirstTabbableElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement(n)))})}focusLastTabbableElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement(n)))})}_getRegionBoundary(n){const e=this._element.querySelectorAll(`[cdk-focus-region-${n}], [cdkFocusRegion${n}], [cdk-focus-${n}]`);return"start"==n?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(n){const e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(e){if(!this._checker.isFocusable(e)){const i=this._getFirstTabbableElement(e);return i?.focus(n),!!i}return e.focus(n),!0}return this.focusFirstTabbableElement(n)}focusFirstTabbableElement(n){const e=this._getRegionBoundary("start");return e&&e.focus(n),!!e}focusLastTabbableElement(n){const e=this._getRegionBoundary("end");return e&&e.focus(n),!!e}hasAttached(){return this._hasAttached}_getFirstTabbableElement(n){if(this._checker.isFocusable(n)&&this._checker.isTabbable(n))return n;const e=n.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 n=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,n),n.classList.add("cdk-visually-hidden"),n.classList.add("cdk-focus-trap-anchor"),n.setAttribute("aria-hidden","true"),n}_toggleAnchorTabIndex(n,e){n?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(n){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(n,this._startAnchor),this._toggleAnchorTabIndex(n,this._endAnchor))}_executeOnStable(n){this._ngZone.isStable?n():this._ngZone.onStable.pipe(di(1)).subscribe(n)}}let tx=(()=>{class t{constructor(e,i,r){this._checker=e,this._ngZone=i,this._document=r}create(e,i=!1){return new qZ(e,this._checker,this._ngZone,this._document,i)}}return t.\u0275fac=function(e){return new(e||t)(K(Jv),K(bt),K(Xt))},t.\u0275prov=Ee({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function nx(t){return 0===t.buttons||0===t.offsetX&&0===t.offsetY}function ix(t){const n=t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0];return!(!n||-1!==n.identifier||null!=n.radiusX&&1!==n.radiusX||null!=n.radiusY&&1!==n.radiusY)}const YZ=new u("cdk-input-modality-detector-options"),KZ={ignoreKeys:[18,17,224,91,16]},_h=ku({passive:!0,capture:!0});let ZZ=(()=>{class t{constructor(e,i,r,o){this._platform=e,this._mostRecentTarget=null,this._modality=new An(null),this._lastTouchMs=0,this._onKeydown=s=>{this._options?.ignoreKeys?.some(a=>a===s.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=Cc(s))},this._onMousedown=s=>{Date.now()-this._lastTouchMs<650||(this._modality.next(nx(s)?"keyboard":"mouse"),this._mostRecentTarget=Cc(s))},this._onTouchstart=s=>{ix(s)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=Cc(s))},this._options={...KZ,...o},this.modalityDetected=this._modality.pipe(QS(1)),this.modalityChanged=this.modalityDetected.pipe(qp()),e.isBrowser&&i.runOutsideAngular(()=>{r.addEventListener("keydown",this._onKeydown,_h),r.addEventListener("mousedown",this._onMousedown,_h),r.addEventListener("touchstart",this._onTouchstart,_h)})}get mostRecentModality(){return this._modality.value}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,_h),document.removeEventListener("mousedown",this._onMousedown,_h),document.removeEventListener("touchstart",this._onTouchstart,_h))}}return t.\u0275fac=function(e){return new(e||t)(K(dr),K(bt),K(Xt),K(YZ,8))},t.\u0275prov=Ee({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const QZ=new u("liveAnnouncerElement",{providedIn:"root",factory:function XZ(){return null}}),JZ=new u("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let rx=(()=>{class t{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 t{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 pe,this._rootNodeFocusAndBlurListener=a=>{for(let c=Cc(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=Tl(e);if(!this._platform.isBrowser||1!==r.nodeType)return ct(null);const o=function gZ(t){if(function mZ(){if(null==$S){const t=typeof document<"u"?document.head:null;$S=!(!t||!t.createShadowRoot&&!t.attachShadow)}return $S}()){const n=t.getRootNode?t.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&n instanceof ShadowRoot)return n}return null}(r)||this._getDocument(),s=this._elementInfo.get(r);if(s)return i&&(s.checkChildren=!0),s.subject;const a={checkChildren:i,subject:new pe,rootNode:o};return this._elementInfo.set(r,a),this._registerGlobalListeners(a),a.subject}stopMonitoring(e){const i=Tl(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=Tl(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=Cc(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,eb),i.addEventListener("blur",this._rootNodeFocusAndBlurListener,eb)}),this._rootNodeFocusListenerCount.set(i,r+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(rn(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,eb),i.removeEventListener("blur",this._rootNodeFocusAndBlurListener,eb),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 t{constructor(e,i){this._elementRef=e,this._focusMonitor=i,this._focusOrigin=null,this.cdkFocusChange=new Ge}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){const e=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(e,1===e.nodeType&&e.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(i=>{this._focusOrigin=i,this.cdkFocusChange.emit(i)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(D(xe),D(Ro))},t.\u0275dir=fe({type:t,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]}),t})();const aF="cdk-high-contrast-black-on-white",lF="cdk-high-contrast-white-on-black",ox="cdk-high-contrast-active";let cF=(()=>{class t{constructor(e,i){this._platform=e,this._document=i,this._breakpointSubscription=ki(Zv).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(ox,aF,lF),this._hasCheckedHighContrastMode=!0;const i=this.getHighContrastMode();1===i?e.add(ox,aF):2===i&&e.add(ox,lF)}}}return t.\u0275fac=function(e){return new(e||t)(K(dr),K(Xt))},t.\u0275prov=Ee({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),tb=(()=>{class t{constructor(e){e._applyBodyHighContrastModeCssClasses()}}return t.\u0275fac=function(e){return new(e||t)(K(cF))},t.\u0275mod=Ct({type:t}),t.\u0275inj=yt({imports:[Yp]}),t})();const nQ=new u("cdk-dir-doc",{providedIn:"root",factory:function iQ(){return ki(Xt)}}),rQ=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let io=(()=>{class t{constructor(e){if(this.value="ltr",this.change=new Ge,e){const r=e.documentElement?e.documentElement.dir:null;this.value=function oQ(t){const n=t?.toLowerCase()||"";return"auto"===n&&typeof navigator<"u"&&navigator?.language?rQ.test(navigator.language)?"rtl":"ltr":"rtl"===n?"rtl":"ltr"}((e.body?e.body.dir:null)||r||"ltr")}}ngOnDestroy(){this.change.complete()}}return t.\u0275fac=function(e){return new(e||t)(K(nQ,8))},t.\u0275prov=Ee({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),vh=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Ct({type:t}),t.\u0275inj=yt({}),t})();const sQ=["*",[["mat-option"],["ng-container"]]],aQ=["*","mat-option, ng-container"];function lQ(t,n){if(1&t&&Y(0,"mat-pseudo-checkbox",4),2&t){const e=re();R("state",e.selected?"checked":"unchecked")("disabled",e.disabled)}}function cQ(t,n){if(1&t&&(v(0,"span",5),M(1),b()),2&t){const e=re();I(1),vn("(",e.group.label,")")}}const uQ=["*"];let dQ=(()=>{class t{}return t.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",t.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",t.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",t.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)",t})(),hQ=(()=>{class t{}return t.COMPLEX="375ms",t.ENTERING="225ms",t.EXITING="195ms",t})();const pQ=new u("mat-sanity-checks",{providedIn:"root",factory:function fQ(){return!0}});let zt=(()=>{class t{constructor(e,i,r){this._sanityChecks=i,this._document=r,this._hasDoneGlobalChecks=!1,e._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(e){return!GS()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[e])}}return t.\u0275fac=function(e){return new(e||t)(K(cF),K(pQ,8),K(Xt))},t.\u0275mod=Ct({type:t}),t.\u0275inj=yt({imports:[vh,vh]}),t})();function os(t){return class extends t{constructor(...n){super(...n),this._disabled=!1}get disabled(){return this._disabled}set disabled(n){this._disabled=vt(n)}}}function Eu(t,n){return class extends t{constructor(...e){super(...e),this.defaultColor=n,this.color=n}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 Ts(t){return class extends t{constructor(...n){super(...n),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(n){this._disableRipple=vt(n)}}}function Zp(t,n=0){return class extends t{constructor(...e){super(...e),this._tabIndex=n,this.defaultTabIndex=n}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(e){this._tabIndex=null!=e?Vo(e):this.defaultTabIndex}}}function hF(t){return class extends t{constructor(...n){super(...n),this.errorState=!1}updateErrorState(){const n=this.errorState,o=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);o!==n&&(this.errorState=o,this.stateChanges.next())}}}function fF(t){return class extends t{constructor(...n){super(...n),this._isInitialized=!1,this._pendingSubscribers=[],this.initialized=new bn(e=>{this._isInitialized?this._notifySubscriber(e):this._pendingSubscribers.push(e)})}_markInitialized(){this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}_notifySubscriber(n){n.next(),n.complete()}}}let bh=(()=>{class t{isErrorState(e,i){return!!(e&&e.invalid&&(e.touched||i&&i.submitted))}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ee({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),pF=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=fe({type:t,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]}),t})();function Qp(t,n,e){t.nativeElement.classList.toggle(n,e)}let nb=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Ct({type:t}),t.\u0275inj=yt({imports:[zt,zt]}),t})();class gQ{constructor(n,e,i,r=!1){this._renderer=n,this.element=e,this.config=i,this._animationForciblyDisabledThroughCss=r,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const gF={enterDuration:225,exitDuration:150},sx=ku({passive:!0}),_F=["mousedown","touchstart"],vF=["mouseup","mouseleave","touchend","touchcancel"];class vQ{constructor(n,e,i,r){this._target=n,this._ngZone=e,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,r.isBrowser&&(this._containerElement=Tl(i))}fadeInRipple(n,e,i={}){const r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o={...gF,...i.animation};i.centered&&(n=r.left+r.width/2,e=r.top+r.height/2);const s=i.radius||function bQ(t,n,e){const i=Math.max(Math.abs(t-e.left),Math.abs(t-e.right)),r=Math.max(Math.abs(n-e.top),Math.abs(n-e.bottom));return Math.sqrt(i*i+r*r)}(n,e,r),a=n-r.left,l=e-r.top,c=o.enterDuration,p=document.createElement("div");p.classList.add("mat-ripple-element"),p.style.left=a-s+"px",p.style.top=l-s+"px",p.style.height=2*s+"px",p.style.width=2*s+"px",null!=i.color&&(p.style.backgroundColor=i.color),p.style.transitionDuration=`${c}ms`,this._containerElement.appendChild(p);const m=window.getComputedStyle(p),C=m.transitionDuration,k="none"===m.transitionProperty||"0s"===C||"0s, 0s"===C,A=new gQ(this,p,i,k);p.style.transform="scale3d(1, 1, 1)",A.state=0,i.persistent||(this._mostRecentTransientRipple=A);let P=null;return!k&&(c||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const N=()=>this._finishRippleTransition(A),$=()=>this._destroyRipple(A);p.addEventListener("transitionend",N),p.addEventListener("transitioncancel",$),P={onTransitionEnd:N,onTransitionCancel:$}}),this._activeRipples.set(A,P),(k||!c)&&this._finishRippleTransition(A),A}fadeOutRipple(n){if(2===n.state||3===n.state)return;const e=n.element,i={...gF,...n.config.animation};e.style.transitionDuration=`${i.exitDuration}ms`,e.style.opacity="0",n.state=2,(n._animationForciblyDisabledThroughCss||!i.exitDuration)&&this._finishRippleTransition(n)}fadeOutAll(){this._getActiveRipples().forEach(n=>n.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(n=>{n.config.persistent||n.fadeOut()})}setupTriggerEvents(n){const e=Tl(n);!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,this._registerEvents(_F))}handleEvent(n){"mousedown"===n.type?this._onMousedown(n):"touchstart"===n.type?this._onTouchStart(n):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(vF),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(n){0===n.state?this._startFadeOutTransition(n):2===n.state&&this._destroyRipple(n)}_startFadeOutTransition(n){const e=n===this._mostRecentTransientRipple,{persistent:i}=n.config;n.state=1,!i&&(!e||!this._isPointerDown)&&n.fadeOut()}_destroyRipple(n){const e=this._activeRipples.get(n)??null;this._activeRipples.delete(n),this._activeRipples.size||(this._containerRect=null),n===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),n.state=3,null!==e&&(n.element.removeEventListener("transitionend",e.onTransitionEnd),n.element.removeEventListener("transitioncancel",e.onTransitionCancel)),n.element.remove()}_onMousedown(n){const e=nx(n),i=this._lastTouchStartEvent&&Date.now(){!n.config.persistent&&(1===n.state||n.config.terminateOnPointerUp&&0===n.state)&&n.fadeOut()}))}_registerEvents(n){this._ngZone.runOutsideAngular(()=>{n.forEach(e=>{this._triggerElement.addEventListener(e,this,sx)})})}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){this._triggerElement&&(_F.forEach(n=>{this._triggerElement.removeEventListener(n,this,sx)}),this._pointerUpEventsRegistered&&vF.forEach(n=>{this._triggerElement.removeEventListener(n,this,sx)}))}}const yQ=new u("mat-ripple-global-options");let ss=(()=>{class t{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 vQ(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 t.\u0275fac=function(e){return new(e||t)(D(xe),D(bt),D(dr),D(yQ,8),D(nr,8))},t.\u0275dir=fe({type:t,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(e,i){2&e&&Rt("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"]}),t})(),El=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Ct({type:t}),t.\u0275inj=yt({imports:[zt,zt]}),t})(),bF=(()=>{class t{constructor(e){this._animationMode=e,this.state="unchecked",this.disabled=!1}}return t.\u0275fac=function(e){return new(e||t)(D(nr,8))},t.\u0275cmp=Pe({type:t,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(e,i){2&e&&Rt("mat-pseudo-checkbox-indeterminate","indeterminate"===i.state)("mat-pseudo-checkbox-checked","checked"===i.state)("mat-pseudo-checkbox-disabled",i.disabled)("_mat-animation-noopable","NoopAnimations"===i._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(e,i){},styles:['.mat-pseudo-checkbox{width:16px;height:16px;border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}'],encapsulation:2,changeDetection:0}),t})(),ax=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Ct({type:t}),t.\u0275inj=yt({imports:[zt]}),t})();const ib=new u("MAT_OPTION_PARENT_COMPONENT"),wQ=os(class{});let CQ=0,SQ=(()=>{class t extends wQ{constructor(e){super(),this._labelId="mat-optgroup-label-"+CQ++,this._inert=e?.inertGroups??!1}}return t.\u0275fac=function(e){return new(e||t)(D(ib,8))},t.\u0275dir=fe({type:t,inputs:{label:"label"},features:[we]}),t})();const rb=new u("MatOptgroup");let lx=(()=>{class t extends SQ{}return t.\u0275fac=function(){let n;return function(i){return(n||(n=Ht(t)))(i||t)}}(),t.\u0275cmp=Pe({type:t,selectors:[["mat-optgroup"]],hostAttrs:[1,"mat-optgroup"],hostVars:5,hostBindings:function(e,i){2&e&&(Je("role",i._inert?null:"group")("aria-disabled",i._inert?null:i.disabled.toString())("aria-labelledby",i._inert?null:i._labelId),Rt("mat-optgroup-disabled",i.disabled))},inputs:{disabled:"disabled"},exportAs:["matOptgroup"],features:[_t([{provide:rb,useExisting:t}]),we],ngContentSelectors:aQ,decls:4,vars:2,consts:[["aria-hidden","true",1,"mat-optgroup-label",3,"id"]],template:function(e,i){1&e&&(Di(sQ),v(0,"span",0),M(1),nn(2),b(),nn(3,1)),2&e&&(R("id",i._labelId),I(1),vn("",i.label," "))},styles:[".mat-optgroup-label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;-webkit-user-select:none;user-select:none;cursor:default}.mat-optgroup-label[disabled]{cursor:default}[dir=rtl] .mat-optgroup-label{text-align:right}.mat-optgroup-label .mat-icon{margin-right:16px;vertical-align:middle}.mat-optgroup-label .mat-icon svg{vertical-align:top}[dir=rtl] .mat-optgroup-label .mat-icon{margin-left:16px;margin-right:0}"],encapsulation:2,changeDetection:0}),t})(),xQ=0;class yF{constructor(n,e=!1){this.source=n,this.isUserInput=e}}let kQ=(()=>{class t{constructor(e,i,r,o){this._element=e,this._changeDetectorRef=i,this._parent=r,this.group=o,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+xQ++,this.onSelectionChange=new Ge,this._stateChanges=new pe}get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(e){this._disabled=vt(e)}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get active(){return this._active}get viewValue(){return(this._getHostElement().textContent||"").trim()}select(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}deselect(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}focus(e,i){const r=this._getHostElement();"function"==typeof r.focus&&r.focus(i)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(e){(13===e.keyCode||32===e.keyCode)&&!no(e)&&(this._selectViaInteraction(),e.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getAriaSelected(){return this.selected||!this.multiple&&null}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const e=this.viewValue;e!==this._mostRecentViewValue&&(this._mostRecentViewValue=e,this._stateChanges.next())}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(e=!1){this.onSelectionChange.emit(new yF(this,e))}}return t.\u0275fac=function(e){ga()},t.\u0275dir=fe({type:t,inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}}),t})(),Es=(()=>{class t extends kQ{constructor(e,i,r,o){super(e,i,r,o)}}return t.\u0275fac=function(e){return new(e||t)(D(xe),D(wn),D(ib,8),D(rb,8))},t.\u0275cmp=Pe({type:t,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(e,i){1&e&&ne("click",function(){return i._selectViaInteraction()})("keydown",function(o){return i._handleKeydown(o)}),2&e&&(ys("id",i.id),Je("tabindex",i._getTabIndex())("aria-selected",i._getAriaSelected())("aria-disabled",i.disabled.toString()),Rt("mat-selected",i.selected)("mat-option-multiple",i.multiple)("mat-active",i.active)("mat-option-disabled",i.disabled))},exportAs:["matOption"],features:[we],ngContentSelectors:uQ,decls:5,vars:4,consts:[["class","mat-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mat-option-text"],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-option-pseudo-checkbox",3,"state","disabled"],[1,"cdk-visually-hidden"]],template:function(e,i){1&e&&(Di(),G(0,lQ,1,2,"mat-pseudo-checkbox",0),v(1,"span",1),nn(2),b(),G(3,cQ,2,1,"span",2),Y(4,"div",3)),2&e&&(R("ngIf",i.multiple),I(3),R("ngIf",i.group&&i.group._inert),I(1),R("matRippleTrigger",i._getHostElement())("matRippleDisabled",i.disabled||i.disableRipple))},dependencies:[ss,ui,bF],styles:['.mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}.mat-option.mat-active::before{content:""}.cdk-high-contrast-active .mat-option[aria-disabled=true]{opacity:.5}.cdk-high-contrast-active .mat-option.mat-selected:not(.mat-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-option.mat-selected:not(.mat-option-multiple)::after{right:auto;left:16px}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}'],encapsulation:2,changeDetection:0}),t})();function cx(t,n,e){if(e.length){let i=n.toArray(),r=e.toArray(),o=0;for(let s=0;se+i?Math.max(0,t-i+n):e}let ob=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Ct({type:t}),t.\u0275inj=yt({imports:[El,Ao,zt,ax]}),t})(),DQ=0;const MQ=os(class{}),CF="mat-badge-content";let SF=(()=>{class t extends MQ{constructor(e,i,r,o,s){super(),this._ngZone=e,this._elementRef=i,this._ariaDescriber=r,this._renderer=o,this._animationMode=s,this._color="primary",this._overlap=!0,this.position="above after",this.size="medium",this._id=DQ++,this._isInitialized=!1}get color(){return this._color}set color(e){this._setColor(e),this._color=e}get overlap(){return this._overlap}set overlap(e){this._overlap=vt(e)}get content(){return this._content}set content(e){this._updateRenderedContent(e)}get description(){return this._description}set description(e){this._updateHostAriaDescription(e)}get hidden(){return this._hidden}set hidden(e){this._hidden=vt(e)}isAbove(){return-1===this.position.indexOf("below")}isAfter(){return-1===this.position.indexOf("before")}getBadgeElement(){return this._badgeElement}ngOnInit(){this._clearExistingBadges(),this.content&&!this._badgeElement&&(this._badgeElement=this._createBadgeElement(),this._updateRenderedContent(this.content)),this._isInitialized=!0}ngOnDestroy(){this._renderer.destroyNode&&this._renderer.destroyNode(this._badgeElement),this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this.description)}_createBadgeElement(){const e=this._renderer.createElement("span"),i="mat-badge-active";return e.setAttribute("id",`mat-badge-content-${this._id}`),e.setAttribute("aria-hidden","true"),e.classList.add(CF),"NoopAnimations"===this._animationMode&&e.classList.add("_mat-animation-noopable"),this._elementRef.nativeElement.appendChild(e),"function"==typeof requestAnimationFrame&&"NoopAnimations"!==this._animationMode?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{e.classList.add(i)})}):e.classList.add(i),e}_updateRenderedContent(e){const i=`${e??""}`.trim();this._isInitialized&&i&&!this._badgeElement&&(this._badgeElement=this._createBadgeElement()),this._badgeElement&&(this._badgeElement.textContent=i),this._content=i}_updateHostAriaDescription(e){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this.description),e&&this._ariaDescriber.describe(this._elementRef.nativeElement,e),this._description=e}_setColor(e){const i=this._elementRef.nativeElement.classList;i.remove(`mat-badge-${this._color}`),e&&i.add(`mat-badge-${e}`)}_clearExistingBadges(){const e=this._elementRef.nativeElement.querySelectorAll(`:scope > .${CF}`);for(const i of Array.from(e))i!==this._badgeElement&&i.remove()}}return t.\u0275fac=function(e){return new(e||t)(D(bt),D(xe),D(JS),D(vs),D(nr,8))},t.\u0275dir=fe({type:t,selectors:[["","matBadge",""]],hostAttrs:[1,"mat-badge"],hostVars:20,hostBindings:function(e,i){2&e&&Rt("mat-badge-overlap",i.overlap)("mat-badge-above",i.isAbove())("mat-badge-below",!i.isAbove())("mat-badge-before",!i.isAfter())("mat-badge-after",i.isAfter())("mat-badge-small","small"===i.size)("mat-badge-medium","medium"===i.size)("mat-badge-large","large"===i.size)("mat-badge-hidden",i.hidden||!i.content)("mat-badge-disabled",i.disabled)},inputs:{disabled:["matBadgeDisabled","disabled"],color:["matBadgeColor","color"],overlap:["matBadgeOverlap","overlap"],position:["matBadgePosition","position"],content:["matBadge","content"],description:["matBadgeDescription","description"],size:["matBadgeSize","size"],hidden:["matBadgeHidden","hidden"]},features:[we]}),t})(),TQ=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Ct({type:t}),t.\u0275inj=yt({imports:[tb,zt,zt]}),t})();const EQ=["mat-button",""],AQ=["*"],IQ=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],PQ=Eu(os(Ts(class{constructor(t){this._elementRef=t}})));let Ji=(()=>{class t extends PQ{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 IQ)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 t.\u0275fac=function(e){return new(e||t)(D(xe),D(Ro),D(nr,8))},t.\u0275cmp=Pe({type:t,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&&Oe(ss,5),2&e){let r;ue(r=de())&&(i.ripple=r.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(e,i){2&e&&(Je("disabled",i.disabled||null),Rt("_mat-animation-noopable","NoopAnimations"===i._animationMode)("mat-button-disabled",i.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[we],attrs:EQ,ngContentSelectors:AQ,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&&(Di(),v(0,"span",0),nn(1),b(),Y(2,"span",1)(3,"span",2)),2&e&&(I(2),Rt("mat-button-ripple-round",i.isRoundButton||i.isIconButton),R("matRippleDisabled",i._isRippleDisabled())("matRippleCentered",i.isIconButton)("matRippleTrigger",i._getHostElement()))},dependencies:[ss],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}),t})(),sb=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Ct({type:t}),t.\u0275inj=yt({imports:[El,zt,zt]}),t})();const RQ=["*",[["mat-card-footer"]]],FQ=["*","mat-card-footer"];let NQ=(()=>{class t{constructor(e){this._animationMode=e}}return t.\u0275fac=function(e){return new(e||t)(D(nr,8))},t.\u0275cmp=Pe({type:t,selectors:[["mat-card"]],hostAttrs:[1,"mat-card","mat-focus-indicator"],hostVars:2,hostBindings:function(e,i){2&e&&Rt("_mat-animation-noopable","NoopAnimations"===i._animationMode)},exportAs:["matCard"],ngContentSelectors:FQ,decls:2,vars:0,template:function(e,i){1&e&&(Di(RQ),nn(0),nn(1,1))},styles:[".mat-card{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:block;position:relative;padding:16px;border-radius:4px}.mat-card._mat-animation-noopable{transition:none !important;animation:none !important}.mat-card>.mat-divider-horizontal{position:absolute;left:0;width:100%}[dir=rtl] .mat-card>.mat-divider-horizontal{left:auto;right:0}.mat-card>.mat-divider-horizontal.mat-divider-inset{position:static;margin:0}[dir=rtl] .mat-card>.mat-divider-horizontal.mat-divider-inset{margin-right:0}.cdk-high-contrast-active .mat-card{outline:solid 1px}.mat-card-actions,.mat-card-subtitle,.mat-card-content{display:block;margin-bottom:16px}.mat-card-title{display:block;margin-bottom:8px}.mat-card-actions{margin-left:-8px;margin-right:-8px;padding:8px 0}.mat-card-actions-align-end{display:flex;justify-content:flex-end}.mat-card-image{width:calc(100% + 32px);margin:0 -16px 16px -16px;display:block;overflow:hidden}.mat-card-image img{width:100%}.mat-card-footer{display:block;margin:0 -16px -16px -16px}.mat-card-actions .mat-button,.mat-card-actions .mat-raised-button,.mat-card-actions .mat-stroked-button{margin:0 8px}.mat-card-header{display:flex;flex-direction:row}.mat-card-header .mat-card-title{margin-bottom:12px}.mat-card-header-text{margin:0 16px}.mat-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;object-fit:cover}.mat-card-title-group{display:flex;justify-content:space-between}.mat-card-sm-image{width:80px;height:80px}.mat-card-md-image{width:112px;height:112px}.mat-card-lg-image{width:152px;height:152px}.mat-card-xl-image{width:240px;height:240px;margin:-8px}.mat-card-title-group>.mat-card-xl-image{margin:-8px 0 8px}@media(max-width: 599px){.mat-card-title-group{margin:0}.mat-card-xl-image{margin-left:0;margin-right:0}}.mat-card>:first-child,.mat-card-content>:first-child{margin-top:0}.mat-card>:last-child:not(.mat-card-footer),.mat-card-content>:last-child:not(.mat-card-footer){margin-bottom:0}.mat-card-image:first-child{margin-top:-16px;border-top-left-radius:inherit;border-top-right-radius:inherit}.mat-card>.mat-card-actions:last-child{margin-bottom:-8px;padding-bottom:0}.mat-card-actions:not(.mat-card-actions-align-end) .mat-button:first-child,.mat-card-actions:not(.mat-card-actions-align-end) .mat-raised-button:first-child,.mat-card-actions:not(.mat-card-actions-align-end) .mat-stroked-button:first-child{margin-left:0;margin-right:0}.mat-card-actions-align-end .mat-button:last-child,.mat-card-actions-align-end .mat-raised-button:last-child,.mat-card-actions-align-end .mat-stroked-button:last-child{margin-left:0;margin-right:0}.mat-card-title:not(:first-child),.mat-card-subtitle:not(:first-child){margin-top:-4px}.mat-card-header .mat-card-subtitle:not(:first-child){margin-top:-8px}.mat-card>.mat-card-xl-image:first-child{margin-top:-8px}.mat-card>.mat-card-xl-image:last-child{margin-bottom:-8px}"],encapsulation:2,changeDetection:0}),t})(),LQ=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Ct({type:t}),t.\u0275inj=yt({imports:[zt,zt]}),t})();const BQ=["input"],VQ=["label"],HQ=function(t){return{enterDuration:t}},zQ=["*"],WQ=new u("mat-checkbox-default-options",{providedIn:"root",factory:xF});function xF(){return{color:"accent",clickAction:"check-indeterminate"}}let jQ=0;const kF=xF(),UQ={provide:Oo,useExisting:xn(()=>yh),multi:!0};class $Q{}const GQ=Zp(Eu(Ts(os(class{constructor(t){this._elementRef=t}}))));let qQ=(()=>{class t extends GQ{constructor(e,i,r,o,s,a,l){super(i),this._changeDetectorRef=r,this._ngZone=o,this._animationMode=a,this._options=l,this.ariaLabel="",this.ariaLabelledby=null,this.labelPosition="after",this.name=null,this.change=new Ge,this.indeterminateChange=new Ge,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=0,this._controlValueAccessorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||kF,this.color=this.defaultColor=this._options.color||kF.color,this.tabIndex=parseInt(s)||0,this.id=this._uniqueId=`${e}${++jQ}`}get inputId(){return`${this.id||this._uniqueId}-input`}get required(){return this._required}set required(e){this._required=vt(e)}ngAfterViewInit(){this._syncIndeterminate(this._indeterminate)}get checked(){return this._checked}set checked(e){const i=vt(e);i!=this.checked&&(this._checked=i,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(e){const i=vt(e);i!==this.disabled&&(this._disabled=i,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(e){const i=e!=this._indeterminate;this._indeterminate=vt(e),i&&(this._transitionCheckState(this._indeterminate?3:this.checked?1:2),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(e){this.checked=!!e}registerOnChange(e){this._controlValueAccessorChangeFn=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}_getAriaChecked(){return this.checked?"true":this.indeterminate?"mixed":"false"}_transitionCheckState(e){let i=this._currentCheckState,r=this._getAnimationTargetElement();if(i!==e&&r&&(this._currentAnimationClass&&r.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(i,e),this._currentCheckState=e,this._currentAnimationClass.length>0)){r.classList.add(this._currentAnimationClass);const o=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{r.classList.remove(o)},1e3)})}}_emitChangeEvent(){this._controlValueAccessorChangeFn(this.checked),this.change.emit(this._createChangeEvent(this.checked)),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked,this._controlValueAccessorChangeFn(this.checked)}_handleInputClick(){const e=this._options?.clickAction;this.disabled||"noop"===e?!this.disabled&&"noop"===e&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==e&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this._checked=!this._checked,this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}_onInteractionEvent(e){e.stopPropagation()}_onBlur(){Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}_getAnimationClassForCheckStateTransition(e,i){if("NoopAnimations"===this._animationMode)return"";switch(e){case 0:if(1===i)return this._animationClasses.uncheckedToChecked;if(3==i)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case 2:return 1===i?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case 1:return 2===i?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case 3:return 1===i?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""}_syncIndeterminate(e){const i=this._inputElement;i&&(i.nativeElement.indeterminate=e)}}return t.\u0275fac=function(e){ga()},t.\u0275dir=fe({type:t,viewQuery:function(e,i){if(1&e&&(Oe(BQ,5),Oe(VQ,5),Oe(ss,5)),2&e){let r;ue(r=de())&&(i._inputElement=r.first),ue(r=de())&&(i._labelElement=r.first),ue(r=de())&&(i.ripple=r.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],id:"id",required:"required",labelPosition:"labelPosition",name:"name",value:"value",checked:"checked",disabled:"disabled",indeterminate:"indeterminate"},outputs:{change:"change",indeterminateChange:"indeterminateChange"},features:[we]}),t})(),yh=(()=>{class t extends qQ{constructor(e,i,r,o,s,a,l){super("mat-checkbox-",e,i,o,s,a,l),this._focusMonitor=r,this._animationClasses={uncheckedToChecked:"mat-checkbox-anim-unchecked-checked",uncheckedToIndeterminate:"mat-checkbox-anim-unchecked-indeterminate",checkedToUnchecked:"mat-checkbox-anim-checked-unchecked",checkedToIndeterminate:"mat-checkbox-anim-checked-indeterminate",indeterminateToChecked:"mat-checkbox-anim-indeterminate-checked",indeterminateToUnchecked:"mat-checkbox-anim-indeterminate-unchecked"}}_createChangeEvent(e){const i=new $Q;return i.source=this,i.checked=e,i}_getAnimationTargetElement(){return this._elementRef.nativeElement}ngAfterViewInit(){super.ngAfterViewInit(),this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{e||this._onBlur()})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}_onInputClick(e){e.stopPropagation(),super._handleInputClick()}focus(e,i){e?this._focusMonitor.focusVia(this._inputElement,e,i):this._inputElement.nativeElement.focus(i)}}return t.\u0275fac=function(e){return new(e||t)(D(xe),D(wn),D(Ro),D(bt),ho("tabindex"),D(nr,8),D(WQ,8))},t.\u0275cmp=Pe({type:t,selectors:[["mat-checkbox"]],hostAttrs:[1,"mat-checkbox"],hostVars:14,hostBindings:function(e,i){2&e&&(ys("id",i.id),Je("tabindex",null)("aria-label",null)("aria-labelledby",null),Rt("mat-checkbox-indeterminate",i.indeterminate)("mat-checkbox-checked",i.checked)("mat-checkbox-disabled",i.disabled)("mat-checkbox-label-before","before"==i.labelPosition)("_mat-animation-noopable","NoopAnimations"===i._animationMode))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matCheckbox"],features:[_t([UQ]),we],ngContentSelectors:zQ,decls:17,vars:21,consts:[[1,"mat-checkbox-layout"],["label",""],[1,"mat-checkbox-inner-container"],["type","checkbox",1,"mat-checkbox-input","cdk-visually-hidden",3,"id","required","checked","disabled","tabIndex","change","click"],["input",""],["matRipple","",1,"mat-checkbox-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleRadius","matRippleCentered","matRippleAnimation"],[1,"mat-ripple-element","mat-checkbox-persistent-ripple"],[1,"mat-checkbox-frame"],[1,"mat-checkbox-background"],["version","1.1","focusable","false","viewBox","0 0 24 24","aria-hidden","true",1,"mat-checkbox-checkmark"],["fill","none","stroke","white","d","M4.1,12.7 9,17.6 20.3,6.3",1,"mat-checkbox-checkmark-path"],[1,"mat-checkbox-mixedmark"],[1,"mat-checkbox-label",3,"cdkObserveContent"],["checkboxLabel",""],[2,"display","none"]],template:function(e,i){if(1&e&&(Di(),v(0,"label",0,1)(2,"span",2)(3,"input",3,4),ne("change",function(o){return i._onInteractionEvent(o)})("click",function(o){return i._onInputClick(o)}),b(),v(5,"span",5),Y(6,"span",6),b(),Y(7,"span",7),v(8,"span",8),_r(),v(9,"svg",9),Y(10,"path",10),b(),Yo(),Y(11,"span",11),b()(),v(12,"span",12,13),ne("cdkObserveContent",function(){return i._onLabelTextChange()}),v(14,"span",14),M(15,"\xa0"),b(),nn(16),b()()),2&e){const r=yi(1),o=yi(13);Je("for",i.inputId),I(2),Rt("mat-checkbox-inner-container-no-side-margin",!o.textContent||!o.textContent.trim()),I(1),R("id",i.inputId)("required",i.required)("checked",i.checked)("disabled",i.disabled)("tabIndex",i.tabIndex),Je("value",i.value)("name",i.name)("aria-label",i.ariaLabel||null)("aria-labelledby",i.ariaLabelledby)("aria-checked",i._getAriaChecked())("aria-describedby",i.ariaDescribedby),I(2),R("matRippleTrigger",r)("matRippleDisabled",i._isRippleDisabled())("matRippleRadius",20)("matRippleCentered",!0)("matRippleAnimation",du(19,HQ,"NoopAnimations"===i._animationMode?0:150))}},dependencies:[ss,Kv],styles:['@keyframes mat-checkbox-fade-in-background{0%{opacity:0}50%{opacity:1}}@keyframes mat-checkbox-fade-out-background{0%,50%{opacity:1}100%{opacity:0}}@keyframes mat-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:22.910259}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1)}100%{stroke-dashoffset:0}}@keyframes mat-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mat-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);stroke-dashoffset:0}to{stroke-dashoffset:-22.910259}}@keyframes mat-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(45deg)}}@keyframes mat-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:0;transform:rotate(45deg)}to{opacity:1;transform:rotate(360deg)}}@keyframes mat-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:0;transform:rotate(-45deg)}to{opacity:1;transform:rotate(0deg)}}@keyframes mat-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(315deg)}}@keyframes mat-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;opacity:1;transform:scaleX(1)}32.8%,100%{opacity:0;transform:scaleX(0)}}.mat-checkbox-background,.mat-checkbox-frame{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:2px;box-sizing:border-box;pointer-events:none}.mat-checkbox{display:inline-block;transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);position:relative}.mat-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-checkbox .mat-ripple-element:not(.mat-checkbox-persistent-ripple){opacity:.16}.mat-checkbox .mat-checkbox-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-checkbox-layout{-webkit-user-select:none;user-select:none;cursor:inherit;align-items:baseline;vertical-align:middle;display:inline-flex;white-space:nowrap}.mat-checkbox-label{-webkit-user-select:auto;user-select:auto}.mat-checkbox-inner-container{display:inline-block;height:16px;line-height:0;margin:auto;margin-right:8px;order:0;position:relative;vertical-align:middle;white-space:nowrap;width:16px;flex-shrink:0}[dir=rtl] .mat-checkbox-inner-container{margin-left:8px;margin-right:auto}.mat-checkbox-inner-container-no-side-margin{margin-left:0;margin-right:0}.mat-checkbox-frame{background-color:rgba(0,0,0,0);transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1);border-width:2px;border-style:solid}._mat-animation-noopable .mat-checkbox-frame{transition:none}.mat-checkbox-background{align-items:center;display:inline-flex;justify-content:center;transition:background-color 90ms cubic-bezier(0, 0, 0.2, 0.1),opacity 90ms cubic-bezier(0, 0, 0.2, 0.1);-webkit-print-color-adjust:exact;color-adjust:exact}._mat-animation-noopable .mat-checkbox-background{transition:none}.cdk-high-contrast-active .mat-checkbox .mat-checkbox-background{background:none}.mat-checkbox-persistent-ripple{display:block;width:100%;height:100%;transform:none}.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:.04}.mat-checkbox.cdk-keyboard-focused .mat-checkbox-persistent-ripple{opacity:.12}.mat-checkbox-persistent-ripple,.mat-checkbox.mat-checkbox-disabled .mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:0}@media(hover: none){.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{display:none}}.mat-checkbox-checkmark{top:0;left:0;right:0;bottom:0;position:absolute;width:100%}.mat-checkbox-checkmark-path{stroke-dashoffset:22.910259;stroke-dasharray:22.910259;stroke-width:2.1333333333px}.cdk-high-contrast-black-on-white .mat-checkbox-checkmark-path{stroke:#000 !important}.mat-checkbox-mixedmark{width:calc(100% - 6px);height:2px;opacity:0;transform:scaleX(0) rotate(0deg);border-radius:2px}.cdk-high-contrast-active .mat-checkbox-mixedmark{height:0;border-top:solid 2px;margin-top:2px}.mat-checkbox-label-before .mat-checkbox-inner-container{order:1;margin-left:8px;margin-right:auto}[dir=rtl] .mat-checkbox-label-before .mat-checkbox-inner-container{margin-left:auto;margin-right:8px}.mat-checkbox-checked .mat-checkbox-checkmark{opacity:1}.mat-checkbox-checked .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-checked .mat-checkbox-mixedmark{transform:scaleX(1) rotate(-45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark{opacity:0;transform:rotate(45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-indeterminate .mat-checkbox-mixedmark{opacity:1;transform:scaleX(1) rotate(0deg)}.mat-checkbox-unchecked .mat-checkbox-background{background-color:rgba(0,0,0,0)}.mat-checkbox-disabled{cursor:default}.cdk-high-contrast-active .mat-checkbox-disabled{opacity:.5}.mat-checkbox-anim-unchecked-checked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-checked .mat-checkbox-checkmark-path{animation:180ms linear 0ms mat-checkbox-unchecked-checked-checkmark-path}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-unchecked-indeterminate-mixedmark}.mat-checkbox-anim-checked-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-checked-unchecked .mat-checkbox-checkmark-path{animation:90ms linear 0ms mat-checkbox-checked-unchecked-checkmark-path}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-checkmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-checkmark}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-mixedmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-checkmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-checkmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-mixedmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-mixedmark}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-mixedmark{animation:300ms linear 0ms mat-checkbox-indeterminate-unchecked-mixedmark}.mat-checkbox-input{bottom:0;left:50%}.mat-checkbox-input:focus~.mat-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0}),t})(),DF=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Ct({type:t}),t.\u0275inj=yt({}),t})(),ZQ=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Ct({type:t}),t.\u0275inj=yt({imports:[El,zt,Yp,DF,zt,DF]}),t})();const QQ=["addListener","removeListener"],XQ=["addEventListener","removeEventListener"],JQ=["on","off"];function Oa(t,n,e,i){if(Pt(e)&&(i=e,e=void 0),i)return Oa(t,n,e).pipe(pC(i));const[r,o]=function nX(t){return Pt(t.addEventListener)&&Pt(t.removeEventListener)}(t)?XQ.map(s=>a=>t[s](n,a,e)):function eX(t){return Pt(t.addListener)&&Pt(t.removeListener)}(t)?QQ.map(MF(t,n)):function tX(t){return Pt(t.on)&&Pt(t.off)}(t)?JQ.map(MF(t,n)):[];if(!r&&L(t))return mt(s=>Oa(s,n,e))(z(t));if(!r)throw new TypeError("Invalid event target");return new bn(s=>{const a=(...l)=>s.next(1o(a)})}function MF(t,n){return e=>i=>t[e](n,i)}const Xp={schedule(t){let n=requestAnimationFrame,e=cancelAnimationFrame;const{delegate:i}=Xp;i&&(n=i.requestAnimationFrame,e=i.cancelAnimationFrame);const r=n(o=>{e=void 0,t(o)});return new Z(()=>e?.(r))},requestAnimationFrame(...t){const{delegate:n}=Xp;return(n?.requestAnimationFrame||requestAnimationFrame)(...t)},cancelAnimationFrame(...t){const{delegate:n}=Xp;return(n?.cancelAnimationFrame||cancelAnimationFrame)(...t)},delegate:void 0};new class rX extends ZS{flush(n){this._active=!0;const e=this._scheduled;this._scheduled=void 0;const{actions:i}=this;let r;n=n||i.shift();do{if(r=n.execute(n.state,n.delay))break}while((n=i[0])&&n.id===e&&i.shift());if(this._active=!1,r){for(;(n=i[0])&&n.id===e&&i.shift();)n.unsubscribe();throw r}}}(class iX extends YS{constructor(n,e){super(n,e),this.scheduler=n,this.work=e}requestAsyncId(n,e,i=0){return null!==i&&i>0?super.requestAsyncId(n,e,i):(n.actions.push(this),n._scheduled||(n._scheduled=Xp.requestAnimationFrame(()=>n.flush(void 0))))}recycleAsyncId(n,e,i=0){var r;if(null!=i?i>0:this.delay>0)return super.recycleAsyncId(n,e,i);const{actions:o}=n;null!=e&&(null===(r=o[o.length-1])||void 0===r?void 0:r.id)!==e&&(Xp.cancelAnimationFrame(e),n._scheduled=void 0)}});let ux,sX=1;const ab={};function TF(t){return t in ab&&(delete ab[t],!0)}const aX={setImmediate(t){const n=sX++;return ab[n]=!0,ux||(ux=Promise.resolve()),ux.then(()=>TF(n)&&t()),n},clearImmediate(t){TF(t)}},{setImmediate:lX,clearImmediate:cX}=aX,lb={setImmediate(...t){const{delegate:n}=lb;return(n?.setImmediate||lX)(...t)},clearImmediate(t){const{delegate:n}=lb;return(n?.clearImmediate||cX)(t)},delegate:void 0},dx=new class dX extends ZS{flush(n){this._active=!0;const e=this._scheduled;this._scheduled=void 0;const{actions:i}=this;let r;n=n||i.shift();do{if(r=n.execute(n.state,n.delay))break}while((n=i[0])&&n.id===e&&i.shift());if(this._active=!1,r){for(;(n=i[0])&&n.id===e&&i.shift();)n.unsubscribe();throw r}}}(class uX extends YS{constructor(n,e){super(n,e),this.scheduler=n,this.work=e}requestAsyncId(n,e,i=0){return null!==i&&i>0?super.requestAsyncId(n,e,i):(n.actions.push(this),n._scheduled||(n._scheduled=lb.setImmediate(n.flush.bind(n,void 0))))}recycleAsyncId(n,e,i=0){var r;if(null!=i?i>0:this.delay>0)return super.recycleAsyncId(n,e,i);const{actions:o}=n;null!=e&&(null===(r=o[o.length-1])||void 0===r?void 0:r.id)!==e&&(lb.clearImmediate(e),n._scheduled===e&&(n._scheduled=void 0))}});function Jp(t=0,n,e=TZ){let i=-1;return null!=n&&(fn(n)?e=n:i=n),new bn(r=>{let o=function fX(t){return t instanceof Date&&!isNaN(t)}(t)?+t-e.now():t;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 EF(t,n=mh){return function hX(t){return Ye((n,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()};n.subscribe(Ot(e,c=>{i=!0,r=c,o||z(t(c)).subscribe(o=Ot(e,a,l))},()=>{s=!0,(!i||!o||o.closed)&&e.complete()}))})}(()=>Jp(t,n))}let AF=(()=>{class t{constructor(e,i,r){this._ngZone=e,this._platform=i,this._scrolled=new pe,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 bn(i=>{this._globalSubscription||this._addGlobalListener();const r=e>0?this._scrolled.pipe(EF(e)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{r.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):ct()}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(hi(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=Tl(i),o=e.getElementRef().nativeElement;do{if(r==o)return!0}while(r=r.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>Oa(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return t.\u0275fac=function(e){return new(e||t)(K(bt),K(dr),K(Xt,8))},t.\u0275prov=Ee({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Sc=(()=>{class t{constructor(e,i,r){this._platform=e,this._change=new pe,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(EF(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 t.\u0275fac=function(e){return new(e||t)(K(dr),K(bt),K(Xt,8))},t.\u0275prov=Ee({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),wh=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Ct({type:t}),t.\u0275inj=yt({}),t})(),hx=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Ct({type:t}),t.\u0275inj=yt({imports:[vh,wh,vh,wh]}),t})();class fx{attach(n){return this._attachedHost=n,n.attach(this)}detach(){let n=this._attachedHost;null!=n&&(this._attachedHost=null,n.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(n){this._attachedHost=n}}class Ch extends fx{constructor(n,e,i,r){super(),this.component=n,this.viewContainerRef=e,this.injector=i,this.componentFactoryResolver=r}}class Ia extends fx{constructor(n,e,i,r){super(),this.templateRef=n,this.viewContainerRef=e,this.context=i,this.injector=r}get origin(){return this.templateRef.elementRef}attach(n,e=this.context){return this.context=e,super.attach(n)}detach(){return this.context=void 0,super.detach()}}class gX extends fx{constructor(n){super(),this.element=n instanceof xe?n.nativeElement:n}}class cb{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(n){return n instanceof Ch?(this._attachedPortal=n,this.attachComponentPortal(n)):n instanceof Ia?(this._attachedPortal=n,this.attachTemplatePortal(n)):this.attachDomPortal&&n instanceof gX?(this._attachedPortal=n,this.attachDomPortal(n)):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(n){this._disposeFn=n}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class _X extends cb{constructor(n,e,i,r,o){super(),this.outletElement=n,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(n){const i=(n.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(n.component);let r;return n.viewContainerRef?(r=n.viewContainerRef.createComponent(i,n.viewContainerRef.length,n.injector||n.viewContainerRef.injector),this.setDisposeFn(()=>r.destroy())):(r=i.create(n.injector||this._defaultInjector||Qi.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=n,r}attachTemplatePortal(n){let e=n.viewContainerRef,i=e.createEmbeddedView(n.templateRef,n.context,{injector:n.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=n,i}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(n){return n.hostView.rootNodes[0]}}let vX=(()=>{class t extends Ia{constructor(e,i){super(e,i)}}return t.\u0275fac=function(e){return new(e||t)(D(ii),D(wi))},t.\u0275dir=fe({type:t,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[we]}),t})(),Pa=(()=>{class t extends cb{constructor(e,i,r){super(),this._componentFactoryResolver=e,this._viewContainerRef=i,this._isInitialized=!1,this.attached=new Ge,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 t.\u0275fac=function(e){return new(e||t)(D(cc),D(wi),D(Xt))},t.\u0275dir=fe({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[we]}),t})(),xc=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Ct({type:t}),t.\u0275inj=yt({}),t})();const OF=pZ();class bX{constructor(n,e){this._viewportRuler=n,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=e}attach(){}enable(){if(this._canBeEnabled()){const n=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=n.style.left||"",this._previousHTMLStyles.top=n.style.top||"",n.style.left=Rr(-this._previousScrollPosition.left),n.style.top=Rr(-this._previousScrollPosition.top),n.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const n=this._document.documentElement,i=n.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,n.classList.remove("cdk-global-scrollblock"),OF&&(i.scrollBehavior=r.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),OF&&(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 yX{constructor(n,e,i,r){this._scrollDispatcher=n,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(n){this._overlayRef=n}enable(){if(this._scrollSubscription)return;const n=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=n.subscribe(()=>{const e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=n.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class IF{enable(){}disable(){}attach(){}}function px(t,n){return n.some(e=>t.bottome.bottom||t.righte.right)}function PF(t,n){return n.some(e=>t.tope.bottom||t.lefte.right)}class wX{constructor(n,e,i,r){this._scrollDispatcher=n,this._viewportRuler=e,this._ngZone=i,this._config=r,this._scrollSubscription=null}attach(n){this._overlayRef=n}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();px(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 CX=(()=>{class t{constructor(e,i,r,o){this._scrollDispatcher=e,this._viewportRuler=i,this._ngZone=r,this.noop=()=>new IF,this.close=s=>new yX(this._scrollDispatcher,this._ngZone,this._viewportRuler,s),this.block=()=>new bX(this._viewportRuler,this._document),this.reposition=s=>new wX(this._scrollDispatcher,this._viewportRuler,this._ngZone,s),this._document=o}}return t.\u0275fac=function(e){return new(e||t)(K(AF),K(Sc),K(bt),K(Xt))},t.\u0275prov=Ee({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();class Sh{constructor(n){if(this.scrollStrategy=new IF,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,n){const e=Object.keys(n);for(const i of e)void 0!==n[i]&&(this[i]=n[i])}}}class SX{constructor(n,e){this.connectionPair=n,this.scrollableViewProperties=e}}let RF=(()=>{class t{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 t.\u0275fac=function(e){return new(e||t)(K(Xt))},t.\u0275prov=Ee({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),xX=(()=>{class t extends RF{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 t.\u0275fac=function(e){return new(e||t)(K(Xt),K(bt,8))},t.\u0275prov=Ee({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),kX=(()=>{class t extends RF{constructor(e,i,r){super(e),this._platform=i,this._ngZone=r,this._cursorStyleIsSet=!1,this._pointerDownListener=o=>{this._pointerDownEventTarget=Cc(o)},this._clickListener=o=>{const s=Cc(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 p=l[c];if(p._outsidePointerEvents.observers.length<1||!p.hasAttached())continue;if(p.overlayElement.contains(s)||p.overlayElement.contains(a))break;const m=p._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>m.next(o)):m.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 t.\u0275fac=function(e){return new(e||t)(K(Xt),K(dr),K(bt,8))},t.\u0275prov=Ee({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),em=(()=>{class t{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||GS()){const r=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let o=0;othis._backdropClick.next(m),this._backdropTransitionendHandler=m=>{this._disposeBackdrop(m.target)},this._keydownEvents=new pe,this._outsidePointerEvents=new pe,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(n){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const e=this._portalOutlet.attach(n);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe(di(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 n=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),n}dispose(){const n=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,n&&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(n){n!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=n,this.hasAttached()&&(n.attach(this),this.updatePosition()))}updateSize(n){this._config={...this._config,...n},this._updateElementSize()}setDirection(n){this._config={...this._config,direction:n},this._updateElementDirection()}addPanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!0)}removePanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!1)}getDirection(){const n=this._config.direction;return n?"string"==typeof n?n:n.value:"ltr"}updateScrollStrategy(n){n!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=n,this.hasAttached()&&(n.attach(this),n.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const n=this._pane.style;n.width=Rr(this._config.width),n.height=Rr(this._config.height),n.minWidth=Rr(this._config.minWidth),n.minHeight=Rr(this._config.minHeight),n.maxWidth=Rr(this._config.maxWidth),n.maxHeight=Rr(this._config.maxHeight)}_togglePointerEvents(n){this._pane.style.pointerEvents=n?"":"none"}_attachBackdrop(){const n="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(n)})}):this._backdropElement.classList.add(n)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const n=this._backdropElement;if(n){if(this._animationsDisabled)return void this._disposeBackdrop(n);n.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{n.addEventListener("transitionend",this._backdropTransitionendHandler)}),n.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(n)},500))}}_toggleClasses(n,e,i){const r=Yv(e||[]).filter(o=>!!o);r.length&&(i?n.classList.add(...r):n.classList.remove(...r))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const n=this._ngZone.onStable.pipe(rn(Yi(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()),n.unsubscribe())})})}_disposeScrollStrategy(){const n=this._scrollStrategy;n&&(n.disable(),n.detach&&n.detach())}_disposeBackdrop(n){n&&(n.removeEventListener("click",this._backdropClickHandler),n.removeEventListener("transitionend",this._backdropTransitionendHandler),n.remove(),this._backdropElement===n&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const FF="cdk-overlay-connected-position-bounding-box",DX=/([A-Za-z%]+)$/;class MX{constructor(n,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 pe,this._resizeSubscription=Z.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(n)}get positions(){return this._preferredPositions}attach(n){this._validatePositions(),n.hostElement.classList.add(FF),this._overlayRef=n,this._boundingBox=n.hostElement,this._pane=n.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 n=this._originRect,e=this._overlayRect,i=this._viewportRect,r=this._containerRect,o=[];let s;for(let a of this._preferredPositions){let l=this._getOriginPoint(n,r,a),c=this._getOverlayPoint(l,e,a),p=this._getOverlayFit(c,e,i,a);if(p.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(a,l);this._canFitWithFlexibleDimensions(p,c,i)?o.push({position:a,origin:l,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(l,a)}):(!s||s.overlayFit.visibleAreal&&(l=p,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&&Au(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(FF),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const n=this._lastPosition;if(n){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,n);this._applyPosition(n,e)}else this.apply()}withScrollableContainers(n){return this._scrollables=n,this}withPositions(n){return this._preferredPositions=n,-1===n.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(n){return this._viewportMargin=n,this}withFlexibleDimensions(n=!0){return this._hasFlexibleDimensions=n,this}withGrowAfterOpen(n=!0){return this._growAfterOpen=n,this}withPush(n=!0){return this._canPush=n,this}withLockedPosition(n=!0){return this._positionLocked=n,this}setOrigin(n){return this._origin=n,this}withDefaultOffsetX(n){return this._offsetX=n,this}withDefaultOffsetY(n){return this._offsetY=n,this}withTransformOriginOn(n){return this._transformOriginSelector=n,this}_getOriginPoint(n,e,i){let r,o;if("center"==i.originX)r=n.left+n.width/2;else{const s=this._isRtl()?n.right:n.left,a=this._isRtl()?n.left:n.right;r="start"==i.originX?s:a}return e.left<0&&(r-=e.left),o="center"==i.originY?n.top+n.height/2:"top"==i.originY?n.top:n.bottom,e.top<0&&(o-=e.top),{x:r,y:o}}_getOverlayPoint(n,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:n.x+r,y:n.y+o}}_getOverlayFit(n,e,i,r){const o=LF(e);let{x:s,y:a}=n,l=this._getOffset(r,"x"),c=this._getOffset(r,"y");l&&(s+=l),c&&(a+=c);let _=0-a,C=a+o.height-i.height,k=this._subtractOverflows(o.width,0-s,s+o.width-i.width),A=this._subtractOverflows(o.height,_,C),P=k*A;return{visibleArea:P,isCompletelyWithinViewport:o.width*o.height===P,fitsInViewportVertically:A===o.height,fitsInViewportHorizontally:k==o.width}}_canFitWithFlexibleDimensions(n,e,i){if(this._hasFlexibleDimensions){const r=i.bottom-e.y,o=i.right-e.x,s=NF(this._overlayRef.getConfig().minHeight),a=NF(this._overlayRef.getConfig().minWidth),c=n.fitsInViewportHorizontally||null!=a&&a<=o;return(n.fitsInViewportVertically||null!=s&&s<=r)&&c}return!1}_pushOverlayOnScreen(n,e,i){if(this._previousPushAmount&&this._positionLocked)return{x:n.x+this._previousPushAmount.x,y:n.y+this._previousPushAmount.y};const r=LF(e),o=this._viewportRect,s=Math.max(n.x+r.width-o.width,0),a=Math.max(n.y+r.height-o.height,0),l=Math.max(o.top-i.top-n.y,0),c=Math.max(o.left-i.left-n.x,0);let p=0,m=0;return p=r.width<=o.width?c||-s:n.xk&&!this._isInitialRender&&!this._growAfterOpen&&(s=n.y-k/2)}if("end"===e.overlayX&&!r||"start"===e.overlayX&&r)_=i.width-n.x+this._viewportMargin,p=n.x-this._viewportMargin;else if("start"===e.overlayX&&!r||"end"===e.overlayX&&r)m=n.x,p=i.right-n.x;else{const C=Math.min(i.right-n.x+i.left,n.x),k=this._lastBoundingBoxSize.width;p=2*C,m=n.x-C,p>k&&!this._isInitialRender&&!this._growAfterOpen&&(m=n.x-k/2)}return{top:s,left:m,bottom:a,right:_,width:p,height:o}}_setBoundingBoxStyles(n,e){const i=this._calculateBoundingBoxRect(n,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=Rr(i.height),r.top=Rr(i.top),r.bottom=Rr(i.bottom),r.width=Rr(i.width),r.left=Rr(i.left),r.right=Rr(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=Rr(o)),s&&(r.maxWidth=Rr(s))}this._lastBoundingBoxSize=i,Au(this._boundingBox.style,r)}_resetBoundingBoxStyles(){Au(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Au(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(n,e){const i={},r=this._hasExactPosition(),o=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(r){const p=this._viewportRuler.getViewportScrollPosition();Au(i,this._getExactOverlayY(e,n,p)),Au(i,this._getExactOverlayX(e,n,p))}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=Rr(s.maxHeight):o&&(i.maxHeight="")),s.maxWidth&&(r?i.maxWidth=Rr(s.maxWidth):o&&(i.maxWidth="")),Au(this._pane.style,i)}_getExactOverlayY(n,e,i){let r={top:"",bottom:""},o=this._getOverlayPoint(e,this._overlayRect,n);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i)),"bottom"===n.overlayY?r.bottom=this._document.documentElement.clientHeight-(o.y+this._overlayRect.height)+"px":r.top=Rr(o.y),r}_getExactOverlayX(n,e,i){let s,r={left:"",right:""},o=this._getOverlayPoint(e,this._overlayRect,n);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i)),s=this._isRtl()?"end"===n.overlayX?"left":"right":"end"===n.overlayX?"right":"left","right"===s?r.right=this._document.documentElement.clientWidth-(o.x+this._overlayRect.width)+"px":r.left=Rr(o.x),r}_getScrollVisibility(){const n=this._getOriginRect(),e=this._pane.getBoundingClientRect(),i=this._scrollables.map(r=>r.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:PF(n,i),isOriginOutsideView:px(n,i),isOverlayClipped:PF(e,i),isOverlayOutsideView:px(e,i)}}_subtractOverflows(n,...e){return e.reduce((i,r)=>i-Math.max(r,0),n)}_getNarrowedViewportRect(){const n=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+n-this._viewportMargin,bottom:i.top+e-this._viewportMargin,width:n-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(n,e){return"x"===e?n.offsetX??this._offsetX:n.offsetY??this._offsetY}_validatePositions(){}_addPanelClasses(n){this._pane&&Yv(n).forEach(e=>{""!==e&&-1===this._appliedPanelClasses.indexOf(e)&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(n=>{this._pane.classList.remove(n)}),this._appliedPanelClasses=[])}_getOriginRect(){const n=this._origin;if(n instanceof xe)return n.nativeElement.getBoundingClientRect();if(n instanceof Element)return n.getBoundingClientRect();const e=n.width||0,i=n.height||0;return{top:n.y,bottom:n.y+i,left:n.x,right:n.x+e,height:i,width:e}}}function Au(t,n){for(let e in n)n.hasOwnProperty(e)&&(t[e]=n[e]);return t}function NF(t){if("number"!=typeof t&&null!=t){const[n,e]=t.split(DX);return e&&"px"!==e?null:parseFloat(n)}return t||null}function LF(t){return{top:Math.floor(t.top),right:Math.floor(t.right),bottom:Math.floor(t.bottom),left:Math.floor(t.left),width:Math.floor(t.width),height:Math.floor(t.height)}}const BF="cdk-global-overlay-wrapper";class TX{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(n){const e=n.getConfig();this._overlayRef=n,this._width&&!e.width&&n.updateSize({width:this._width}),this._height&&!e.height&&n.updateSize({height:this._height}),n.hostElement.classList.add(BF),this._isDisposed=!1}top(n=""){return this._bottomOffset="",this._topOffset=n,this._alignItems="flex-start",this}left(n=""){return this._xOffset=n,this._xPosition="left",this}bottom(n=""){return this._topOffset="",this._bottomOffset=n,this._alignItems="flex-end",this}right(n=""){return this._xOffset=n,this._xPosition="right",this}start(n=""){return this._xOffset=n,this._xPosition="start",this}end(n=""){return this._xOffset=n,this._xPosition="end",this}width(n=""){return this._overlayRef?this._overlayRef.updateSize({width:n}):this._width=n,this}height(n=""){return this._overlayRef?this._overlayRef.updateSize({height:n}):this._height=n,this}centerHorizontally(n=""){return this.left(n),this._xPosition="center",this}centerVertically(n=""){return this.top(n),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const n=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),p=this._xPosition,m=this._xOffset,_="rtl"===this._overlayRef.getConfig().direction;let C="",k="",A="";l?A="flex-start":"center"===p?(A="center",_?k=m:C=m):_?"left"===p||"end"===p?(A="flex-end",C=m):("right"===p||"start"===p)&&(A="flex-start",k=m):"left"===p||"start"===p?(A="flex-start",C=m):("right"===p||"end"===p)&&(A="flex-end",k=m),n.position=this._cssPosition,n.marginLeft=l?"0":C,n.marginTop=c?"0":this._topOffset,n.marginBottom=this._bottomOffset,n.marginRight=l?"0":k,e.justifyContent=A,e.alignItems=c?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const n=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,i=e.style;e.classList.remove(BF),i.justifyContent=i.alignItems=n.marginTop=n.marginBottom=n.marginLeft=n.marginRight=n.position="",this._overlayRef=null,this._isDisposed=!0}}let EX=(()=>{class t{constructor(e,i,r,o){this._viewportRuler=e,this._document=i,this._platform=r,this._overlayContainer=o}global(){return new TX}flexibleConnectedTo(e){return new MX(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return t.\u0275fac=function(e){return new(e||t)(K(Sc),K(Xt),K(dr),K(em))},t.\u0275prov=Ee({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),AX=0,go=(()=>{class t{constructor(e,i,r,o,s,a,l,c,p,m,_,C){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=p,this._location=m,this._outsideClickDispatcher=_,this._animationsModuleType=C}create(e){const i=this._createHostElement(),r=this._createPaneElement(i),o=this._createPortalOutlet(r),s=new Sh(e);return s.direction=s.direction||this._directionality.value,new tm(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-"+AX++,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(Kd)),new _X(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return t.\u0275fac=function(e){return new(e||t)(K(CX),K(em),K(cc),K(EX),K(xX),K(Qi),K(bt),K(Xt),K(io),K(up),K(kX),K(nr,8))},t.\u0275prov=Ee({token:t,factory:t.\u0275fac}),t})();const OX=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],VF=new u("cdk-connected-overlay-scroll-strategy");let HF=(()=>{class t{constructor(e){this.elementRef=e}}return t.\u0275fac=function(e){return new(e||t)(D(xe))},t.\u0275dir=fe({type:t,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),t})(),zF=(()=>{class t{constructor(e,i,r,o,s){this._overlay=e,this._dir=s,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=Z.EMPTY,this._attachSubscription=Z.EMPTY,this._detachSubscription=Z.EMPTY,this._positionSubscription=Z.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new Ge,this.positionChange=new Ge,this.attach=new Ge,this.detach=new Ge,this.overlayKeydown=new Ge,this.overlayOutsideClick=new Ge,this._templatePortal=new Ia(i,r),this._scrollStrategyFactory=o,this.scrollStrategy=this._scrollStrategyFactory()}get offsetX(){return this._offsetX}set offsetX(e){this._offsetX=e,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(e){this._offsetY=e,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(e){this._hasBackdrop=vt(e)}get lockPosition(){return this._lockPosition}set lockPosition(e){this._lockPosition=vt(e)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(e){this._flexibleDimensions=vt(e)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(e){this._growAfterOpen=vt(e)}get push(){return this._push}set push(e){this._push=vt(e)}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(e){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),e.origin&&this.open&&this._position.apply()),e.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=OX);const e=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=e.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=e.detachments().subscribe(()=>this.detach.emit()),e.keydownEvents().subscribe(i=>{this.overlayKeydown.next(i),27===i.keyCode&&!this.disableClose&&!no(i)&&(i.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(i=>{this.overlayOutsideClick.next(i)})}_buildConfig(){const e=this._position=this.positionStrategy||this._createPositionStrategy(),i=new Sh({direction:this._dir,positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(i.width=this.width),(this.height||0===this.height)&&(i.height=this.height),(this.minWidth||0===this.minWidth)&&(i.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(i.minHeight=this.minHeight),this.backdropClass&&(i.backdropClass=this.backdropClass),this.panelClass&&(i.panelClass=this.panelClass),i}_updatePositionStrategy(e){const i=this.positions.map(r=>({originX:r.originX,originY:r.originY,overlayX:r.overlayX,overlayY:r.overlayY,offsetX:r.offsetX||this.offsetX,offsetY:r.offsetY||this.offsetY,panelClass:r.panelClass||void 0}));return e.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(i).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const e=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(e),e}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof HF?this.origin.elementRef:this.origin}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(e=>{this.backdropClick.emit(e)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(BO(()=>this.positionChange.observers.length>0)).subscribe(e=>{this.positionChange.emit(e),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(D(go),D(ii),D(wi),D(VF),D(io,8))},t.\u0275dir=fe({type:t,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:["cdkConnectedOverlayOrigin","origin"],positions:["cdkConnectedOverlayPositions","positions"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[Tn]}),t})();const PX={provide:VF,deps:[go],useFactory:function IX(t){return()=>t.scrollStrategies.reposition()}};let Ou=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Ct({type:t}),t.\u0275inj=yt({providers:[go,PX],imports:[vh,xc,hx,hx]}),t})();function RX(t,n){}class ub{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 WF=(()=>{class t extends cb{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=p=>{this._portalOutlet.hasAttached();const m=this._portalOutlet.attachDomPortal(p);return this._contentAttached(),m},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=jv(),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=jv();return e===i||e.contains(i)}_initializeFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=jv())}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}}return t.\u0275fac=function(e){return new(e||t)(D(xe),D(tx),D(Xt,8),D(ub),D(Jv),D(bt),D(tm),D(Ro))},t.\u0275cmp=Pe({type:t,selectors:[["cdk-dialog-container"]],viewQuery:function(e,i){if(1&e&&Oe(Pa,7),2&e){let r;ue(r=de())&&(i._portalOutlet=r.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(e,i){2&e&&Je("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:[we],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(e,i){1&e&&G(0,RX,0,0,"ng-template",0)},dependencies:[Pa],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2}),t})();class mx{constructor(n,e){this.overlayRef=n,this.config=e,this.closed=new pe,this.disableClose=e.disableClose,this.backdropClick=n.backdropClick(),this.keydownEvents=n.keydownEvents(),this.outsidePointerEvents=n.outsidePointerEvents(),this.id=e.id,this.keydownEvents.subscribe(i=>{27===i.keyCode&&!this.disableClose&&!no(i)&&(i.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})})}close(n,e){if(this.containerInstance){const i=this.closed;this.containerInstance._closeInteractionType=e?.focusOrigin||"program",this.overlayRef.dispose(),i.next(n),i.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(n="",e=""){return this.overlayRef.updateSize({width:n,height:e}),this}addPanelClass(n){return this.overlayRef.addPanelClass(n),this}removePanelClass(n){return this.overlayRef.removePanelClass(n),this}}const jF=new u("DialogScrollStrategy"),FX=new u("DialogData"),NX=new u("DefaultDialogConfig"),BX={provide:jF,deps:[go],useFactory:function LX(t){return()=>t.scrollStrategies.block()}};let VX=0,UF=(()=>{class t{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 pe,this._afterOpenedAtThisLevel=new pe,this._ariaHiddenElements=new Map,this.afterAllClosed=Xd(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(ji(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 ub,...i}).id=i.id||"cdk-dialog-"+VX++,i.id&&this.getDialogById(i.id);const o=this._getOverlayConfig(i),s=this._overlay.create(o),a=new mx(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(){gx(this.openDialogs,e=>e.close())}getDialogById(e){return this.openDialogs.find(i=>i.id===e)}ngOnDestroy(){gx(this._openDialogsAtThisLevel,e=>{!1===e.config.closeOnDestroy&&this._removeOpenDialog(e,!1)}),gx(this._openDialogsAtThisLevel,e=>e.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(e){const i=new Sh({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:ub,useValue:r},{provide:mx,useValue:i},{provide:tm,useValue:e}];let a;r.container?"function"==typeof r.container?a=r.container:(a=r.container.type,s.push(...r.container.providers(r))):a=WF;const l=new Ch(a,r.viewContainerRef,Qi.create({parent:o||this._injector,providers:s}),r.componentFactoryResolver);return e.attach(l).instance}_attachDialogContent(e,i,r,o){if(e instanceof ii){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 Ia(e,null,a,s))}else{const s=this._createInjector(o,i,r,this._injector),a=r.attachComponentPortal(new Ch(e,o.viewContainerRef,s,o.componentFactoryResolver));i.componentInstance=a.instance}}_createInjector(e,i,r,o){const s=e.injector||e.viewContainerRef?.injector,a=[{provide:FX,useValue:e.data},{provide:mx,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(io,null,Vt.Optional))&&a.push({provide:io,useValue:{value:e.direction,change:ct()}}),Qi.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 t.\u0275fac=function(e){return new(e||t)(K(go),K(Qi),K(NX,8),K(t,12),K(em),K(jF))},t.\u0275prov=Ee({token:t,factory:t.\u0275fac}),t})();function gx(t,n){let e=t.length;for(;e--;)n(t[e])}let HX=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Ct({type:t}),t.\u0275inj=yt({providers:[UF,BX],imports:[Ou,xc,tb,xc]}),t})();function zX(t,n){}const xh={params:{enterAnimationDuration:"150ms",exitAnimationDuration:"75ms"}},WX={dialogContainer:Pr("dialogContainer",[In("void, exit",wt({opacity:0,transform:"scale(0.7)"})),In("enter",wt({transform:"none"})),ri("* => enter",rR([mi("{{enterAnimationDuration}} cubic-bezier(0, 0, 0.2, 1)",wt({transform:"none",opacity:1})),kv("@*",xv(),{optional:!0})]),xh),ri("* => void, * => exit",rR([mi("{{exitAnimationDuration}} cubic-bezier(0.4, 0.0, 0.2, 1)",wt({opacity:0})),kv("@*",xv(),{optional:!0})]),xh)])};class db{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=xh.params.enterAnimationDuration,this.exitAnimationDuration=xh.params.exitAnimationDuration}}let jX=(()=>{class t extends WF{constructor(e,i,r,o,s,a,l,c){super(e,i,r,o,s,a,l,c),this._animationStateChanged=new Ge}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(e){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:e})}}return t.\u0275fac=function(e){return new(e||t)(D(xe),D(tx),D(Xt,8),D(db),D(Jv),D(bt),D(tm),D(Ro))},t.\u0275cmp=Pe({type:t,selectors:[["ng-component"]],features:[we],decls:0,vars:0,template:function(e,i){},encapsulation:2}),t})(),UX=(()=>{class t extends jX{constructor(e,i,r,o,s,a,l,c,p){super(e,i,r,o,s,a,l,p),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||xh.params.enterAnimationDuration,exitAnimationDuration:this._config.exitAnimationDuration||xh.params.exitAnimationDuration}}}}return t.\u0275fac=function(e){return new(e||t)(D(xe),D(tx),D(Xt,8),D(db),D(Jv),D(bt),D(tm),D(wn),D(Ro))},t.\u0275cmp=Pe({type:t,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-dialog-container"],hostVars:7,hostBindings:function(e,i){1&e&&s_("@dialogContainer.start",function(o){return i._onAnimationStart(o)})("@dialogContainer.done",function(o){return i._onAnimationDone(o)}),2&e&&(ys("id",i._config.id),Je("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:[we],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(e,i){1&e&&G(0,zX,0,0,"ng-template",0)},dependencies:[Pa],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:[WX.dialogContainer]}}),t})();class Ra{constructor(n,e,i){this._ref=n,this._containerInstance=i,this._afterOpened=new pe,this._beforeClosed=new pe,this._state=0,this.disableClose=e.disableClose,this.id=n.id,i._animationStateChanged.pipe(hi(r=>"opened"===r.state),di(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),i._animationStateChanged.pipe(hi(r=>"closed"===r.state),di(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),n.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),Yi(this.backdropClick(),this.keydownEvents().pipe(hi(r=>27===r.keyCode&&!this.disableClose&&!no(r)))).subscribe(r=>{this.disableClose||(r.preventDefault(),$F(this,"keydown"===r.type?"keyboard":"mouse"))})}close(n){this._result=n,this._containerInstance._animationStateChanged.pipe(hi(e=>"closing"===e.state),di(1)).subscribe(e=>{this._beforeClosed.next(n),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(n){let e=this._ref.config.positionStrategy;return n&&(n.left||n.right)?n.left?e.left(n.left):e.right(n.right):e.centerHorizontally(),n&&(n.top||n.bottom)?n.top?e.top(n.top):e.bottom(n.bottom):e.centerVertically(),this._ref.updatePosition(),this}updateSize(n="",e=""){return this._ref.updateSize(n,e),this}addPanelClass(n){return this._ref.addPanelClass(n),this}removePanelClass(n){return this._ref.removePanelClass(n),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}}function $F(t,n,e){return t._closeInteractionType=n,t.close(e)}const Iu=new u("MatDialogData"),$X=new u("mat-dialog-default-options"),GF=new u("mat-dialog-scroll-strategy"),qX={provide:GF,deps:[go],useFactory:function GX(t){return()=>t.scrollStrategies.block()}};let YX=0,KX=(()=>{class t{constructor(e,i,r,o,s,a,l,c,p,m){this._overlay=e,this._defaultOptions=r,this._parentDialog=o,this._dialogRefConstructor=l,this._dialogContainerType=c,this._dialogDataToken=p,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new pe,this._afterOpenedAtThisLevel=new pe,this._idPrefix="mat-dialog-",this.afterAllClosed=Xd(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(ji(void 0))),this._scrollStrategy=a,this._dialog=i.get(UF)}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 db,...i}).id=i.id||`${this._idPrefix}${YX++}`,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:db,useValue:i},{provide:ub,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 t.\u0275fac=function(e){ga()},t.\u0275prov=Ee({token:t,factory:t.\u0275fac}),t})(),Al=(()=>{class t extends KX{constructor(e,i,r,o,s,a,l,c){super(e,i,o,a,l,s,Ra,UX,Iu,c)}}return t.\u0275fac=function(e){return new(e||t)(K(go),K(Qi),K(up,8),K($X,8),K(GF),K(t,12),K(em),K(nr,8))},t.\u0275prov=Ee({token:t,factory:t.\u0275fac}),t})(),ZX=0,kh=(()=>{class t{constructor(e,i,r){this.dialogRef=e,this._elementRef=i,this._dialog=r,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=qF(this._elementRef,this._dialog.openDialogs))}ngOnChanges(e){const i=e._matDialogClose||e._matDialogCloseResult;i&&(this.dialogResult=i.currentValue)}_onButtonClick(e){$F(this.dialogRef,0===e.screenX&&0===e.screenY?"keyboard":"mouse",this.dialogResult)}}return t.\u0275fac=function(e){return new(e||t)(D(Ra,8),D(xe),D(Al))},t.\u0275dir=fe({type:t,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(e,i){1&e&&ne("click",function(o){return i._onButtonClick(o)}),2&e&&Je("aria-label",i.ariaLabel||null)("type",i.type)},inputs:{ariaLabel:["aria-label","ariaLabel"],type:"type",dialogResult:["mat-dialog-close","dialogResult"],_matDialogClose:["matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[Tn]}),t})(),Pu=(()=>{class t{constructor(e,i,r){this._dialogRef=e,this._elementRef=i,this._dialog=r,this.id="mat-dialog-title-"+ZX++}ngOnInit(){this._dialogRef||(this._dialogRef=qF(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{const e=this._dialogRef._containerInstance;e&&!e._ariaLabelledBy&&(e._ariaLabelledBy=this.id)})}}return t.\u0275fac=function(e){return new(e||t)(D(Ra,8),D(xe),D(Al))},t.\u0275dir=fe({type:t,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(e,i){2&e&&ys("id",i.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),t})(),Ru=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=fe({type:t,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),t})(),Dh=(()=>{class t{constructor(){this.align="start"}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=fe({type:t,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-dialog-actions"],hostVars:4,hostBindings:function(e,i){2&e&&Rt("mat-dialog-actions-align-center","center"===i.align)("mat-dialog-actions-align-end","end"===i.align)},inputs:{align:"align"}}),t})();function qF(t,n){let e=t.nativeElement.parentElement;for(;e&&!e.classList.contains("mat-dialog-container");)e=e.parentElement;return e?n.find(i=>i.id===e.id):null}let QX=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Ct({type:t}),t.\u0275inj=yt({providers:[Al,qX],imports:[HX,Ou,xc,zt,zt]}),t})();function _x(t){return t&&"function"==typeof t.connect&&!(t instanceof gC)}class YF{applyChanges(n,e,i,r,o){n.forEachOperation((s,a,l)=>{let c,p;if(null==s.previousIndex){const m=i(s,a,l);c=e.createEmbeddedView(m.templateRef,m.context,m.index),p=1}else null==l?(e.remove(a),p=3):(c=e.get(a),e.move(c,l),p=2);o&&o({context:c?.context,operation:p,record:s})})}detach(){}}class vx{constructor(n=!1,e,i=!0,r){this._multiple=n,this._emitChanges=i,this.compareWith=r,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new pe,e&&e.length&&(n?e.forEach(o=>this._markSelected(o)):this._markSelected(e[0]),this._selectedToEmit.length=0)}get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}select(...n){this._verifyValueAssignment(n),n.forEach(i=>this._markSelected(i));const e=this._hasQueuedChanges();return this._emitChangeEvent(),e}deselect(...n){this._verifyValueAssignment(n),n.forEach(i=>this._unmarkSelected(i));const e=this._hasQueuedChanges();return this._emitChangeEvent(),e}setSelection(...n){this._verifyValueAssignment(n);const e=this.selected,i=new Set(n);n.forEach(o=>this._markSelected(o)),e.filter(o=>!i.has(o)).forEach(o=>this._unmarkSelected(o));const r=this._hasQueuedChanges();return this._emitChangeEvent(),r}toggle(n){return this.isSelected(n)?this.deselect(n):this.select(n)}clear(n=!0){this._unmarkAll();const e=this._hasQueuedChanges();return n&&this._emitChangeEvent(),e}isSelected(n){if(this.compareWith){for(const e of this._selection)if(this.compareWith(e,n))return!0;return!1}return this._selection.has(n)}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(n){this._multiple&&this.selected&&this._selected.sort(n)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(n){this.isSelected(n)||(this._multiple||this._unmarkAll(),this.isSelected(n)||this._selection.add(n),this._emitChanges&&this._selectedToEmit.push(n))}_unmarkSelected(n){this.isSelected(n)&&(this._selection.delete(n),this._emitChanges&&this._deselectedToEmit.push(n))}_unmarkAll(){this.isEmpty()||this._selection.forEach(n=>this._unmarkSelected(n))}_verifyValueAssignment(n){}_hasQueuedChanges(){return!(!this._deselectedToEmit.length&&!this._selectedToEmit.length)}}let bx=(()=>{class t{constructor(){this._listeners=[]}notify(e,i){for(let r of this._listeners)r(e,i)}listen(e){return this._listeners.push(e),()=>{this._listeners=this._listeners.filter(i=>e!==i)}}ngOnDestroy(){this._listeners=[]}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ee({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const nm=new u("_ViewRepeater");let JX=0;const yx=new u("CdkAccordion");let eJ=(()=>{class t{constructor(){this._stateChanges=new pe,this._openCloseAllActions=new pe,this.id="cdk-accordion-"+JX++,this._multi=!1}get multi(){return this._multi}set multi(e){this._multi=vt(e)}openAll(){this._multi&&this._openCloseAllActions.next(!0)}closeAll(){this._openCloseAllActions.next(!1)}ngOnChanges(e){this._stateChanges.next(e)}ngOnDestroy(){this._stateChanges.complete(),this._openCloseAllActions.complete()}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=fe({type:t,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:"multi"},exportAs:["cdkAccordion"],features:[_t([{provide:yx,useExisting:t}]),Tn]}),t})(),tJ=0,nJ=(()=>{class t{constructor(e,i,r){this.accordion=e,this._changeDetectorRef=i,this._expansionDispatcher=r,this._openCloseAllSubscription=Z.EMPTY,this.closed=new Ge,this.opened=new Ge,this.destroyed=new Ge,this.expandedChange=new Ge,this.id="cdk-accordion-child-"+tJ++,this._expanded=!1,this._disabled=!1,this._removeUniqueSelectionListener=()=>{},this._removeUniqueSelectionListener=r.listen((o,s)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===s&&this.id!==o&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}get expanded(){return this._expanded}set expanded(e){e=vt(e),this._expanded!==e&&(this._expanded=e,this.expandedChange.emit(e),e?(this.opened.emit(),this._expansionDispatcher.notify(this.id,this.accordion?this.accordion.id:this.id)):this.closed.emit(),this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(e){this._disabled=vt(e)}ngOnDestroy(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()}toggle(){this.disabled||(this.expanded=!this.expanded)}close(){this.disabled||(this.expanded=!1)}open(){this.disabled||(this.expanded=!0)}_subscribeToOpenCloseAllActions(){return this.accordion._openCloseAllActions.subscribe(e=>{this.disabled||(this.expanded=e)})}}return t.\u0275fac=function(e){return new(e||t)(D(yx,12),D(wn),D(bx))},t.\u0275dir=fe({type:t,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:"expanded",disabled:"disabled"},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[_t([{provide:yx,useValue:void 0}])]}),t})(),iJ=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Ct({type:t}),t.\u0275inj=yt({}),t})();const rJ=["body"];function oJ(t,n){}const sJ=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],aJ=["mat-expansion-panel-header","*","mat-action-row"];function lJ(t,n){1&t&&Y(0,"span",2),2&t&&R("@indicatorRotate",re()._getExpandedState())}const cJ=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],uJ=["mat-panel-title","mat-panel-description","*"],wx=new u("MAT_ACCORDION"),ZF="225ms cubic-bezier(0.4,0.0,0.2,1)",QF={indicatorRotate:Pr("indicatorRotate",[In("collapsed, void",wt({transform:"rotate(0deg)"})),In("expanded",wt({transform:"rotate(180deg)"})),ri("expanded <=> collapsed, void => collapsed",mi(ZF))]),bodyExpansion:Pr("bodyExpansion",[In("collapsed, void",wt({height:"0px",visibility:"hidden"})),In("expanded",wt({height:"*",visibility:"visible"})),ri("expanded <=> collapsed, void => collapsed",mi(ZF))])},XF=new u("MAT_EXPANSION_PANEL");let dJ=(()=>{class t{constructor(e,i){this._template=e,this._expansionPanel=i}}return t.\u0275fac=function(e){return new(e||t)(D(ii),D(XF,8))},t.\u0275dir=fe({type:t,selectors:[["ng-template","matExpansionPanelContent",""]]}),t})(),hJ=0;const JF=new u("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS");let hb=(()=>{class t extends nJ{constructor(e,i,r,o,s,a,l){super(e,i,r),this._viewContainerRef=o,this._animationMode=a,this._hideToggle=!1,this.afterExpand=new Ge,this.afterCollapse=new Ge,this._inputChanges=new pe,this._headerId="mat-expansion-panel-header-"+hJ++,this._bodyAnimationDone=new pe,this.accordion=e,this._document=s,this._bodyAnimationDone.pipe(qp((c,p)=>c.fromState===p.fromState&&c.toState===p.toState)).subscribe(c=>{"void"!==c.fromState&&("expanded"===c.toState?this.afterExpand.emit():"collapsed"===c.toState&&this.afterCollapse.emit())}),l&&(this.hideToggle=l.hideToggle)}get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(e){this._hideToggle=vt(e)}get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(e){this._togglePosition=e}_hasSpacing(){return!!this.accordion&&this.expanded&&"default"===this.accordion.displayMode}_getExpandedState(){return this.expanded?"expanded":"collapsed"}toggle(){this.expanded=!this.expanded}close(){this.expanded=!1}open(){this.expanded=!0}ngAfterContentInit(){this._lazyContent&&this._lazyContent._expansionPanel===this&&this.opened.pipe(ji(null),hi(()=>this.expanded&&!this._portal),di(1)).subscribe(()=>{this._portal=new Ia(this._lazyContent._template,this._viewContainerRef)})}ngOnChanges(e){this._inputChanges.next(e)}ngOnDestroy(){super.ngOnDestroy(),this._bodyAnimationDone.complete(),this._inputChanges.complete()}_containsFocus(){if(this._body){const e=this._document.activeElement,i=this._body.nativeElement;return e===i||i.contains(e)}return!1}}return t.\u0275fac=function(e){return new(e||t)(D(wx,12),D(wn),D(bx),D(wi),D(Xt),D(nr,8),D(JF,8))},t.\u0275cmp=Pe({type:t,selectors:[["mat-expansion-panel"]],contentQueries:function(e,i,r){if(1&e&&Qt(r,dJ,5),2&e){let o;ue(o=de())&&(i._lazyContent=o.first)}},viewQuery:function(e,i){if(1&e&&Oe(rJ,5),2&e){let r;ue(r=de())&&(i._body=r.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(e,i){2&e&&Rt("mat-expanded",i.expanded)("_mat-animation-noopable","NoopAnimations"===i._animationMode)("mat-expansion-panel-spacing",i._hasSpacing())},inputs:{disabled:"disabled",expanded:"expanded",hideToggle:"hideToggle",togglePosition:"togglePosition"},outputs:{opened:"opened",closed:"closed",expandedChange:"expandedChange",afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[_t([{provide:wx,useValue:void 0},{provide:XF,useExisting:t}]),we,Tn],ngContentSelectors:aJ,decls:7,vars:4,consts:[["role","region",1,"mat-expansion-panel-content",3,"id"],["body",""],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(e,i){1&e&&(Di(sJ),nn(0),v(1,"div",0,1),ne("@bodyExpansion.done",function(o){return i._bodyAnimationDone.next(o)}),v(3,"div",2),nn(4,1),G(5,oJ,0,0,"ng-template",3),b(),nn(6,2),b()),2&e&&(I(1),R("@bodyExpansion",i._getExpandedState())("id",i.id),Je("aria-labelledby",i._headerId),I(4),R("cdkPortalOutlet",i._portal))},dependencies:[Pa],styles:['.mat-expansion-panel{box-sizing:content-box;display:block;margin:0;border-radius:4px;overflow:hidden;transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);position:relative}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:4px;border-top-left-radius:4px}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:4px;border-bottom-left-radius:4px}.cdk-high-contrast-active .mat-expansion-panel{outline:solid 1px}.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel,.mat-expansion-panel._mat-animation-noopable{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible}.mat-expansion-panel-content[style*="visibility: hidden"] *{visibility:hidden !important}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px}.mat-action-row .mat-button-base,.mat-action-row .mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row .mat-button-base,[dir=rtl] .mat-action-row .mat-mdc-button-base{margin-left:0;margin-right:8px}'],encapsulation:2,data:{animation:[QF.bodyExpansion]},changeDetection:0}),t})(),fJ=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=fe({type:t,selectors:[["mat-action-row"]],hostAttrs:[1,"mat-action-row"]}),t})();class pJ{}const mJ=Zp(pJ);let fb=(()=>{class t extends mJ{constructor(e,i,r,o,s,a,l){super(),this.panel=e,this._element=i,this._focusMonitor=r,this._changeDetectorRef=o,this._animationMode=a,this._parentChangeSubscription=Z.EMPTY;const c=e.accordion?e.accordion._stateChanges.pipe(hi(p=>!(!p.hideToggle&&!p.togglePosition))):St;this.tabIndex=parseInt(l||"")||0,this._parentChangeSubscription=Yi(e.opened,e.closed,c,e._inputChanges.pipe(hi(p=>!!(p.hideToggle||p.disabled||p.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),e.closed.pipe(hi(()=>e._containsFocus())).subscribe(()=>r.focusVia(i,"program")),s&&(this.expandedHeight=s.expandedHeight,this.collapsedHeight=s.collapsedHeight)}get disabled(){return this.panel.disabled}_toggle(){this.disabled||this.panel.toggle()}_isExpanded(){return this.panel.expanded}_getExpandedState(){return this.panel._getExpandedState()}_getPanelId(){return this.panel.id}_getTogglePosition(){return this.panel.togglePosition}_showToggle(){return!this.panel.hideToggle&&!this.panel.disabled}_getHeaderHeight(){const e=this._isExpanded();return e&&this.expandedHeight?this.expandedHeight:!e&&this.collapsedHeight?this.collapsedHeight:null}_keydown(e){switch(e.keyCode){case 32:case 13:no(e)||(e.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(e))}}focus(e,i){e?this._focusMonitor.focusVia(this._element,e,i):this._element.nativeElement.focus(i)}ngAfterViewInit(){this._focusMonitor.monitor(this._element).subscribe(e=>{e&&this.panel.accordion&&this.panel.accordion._handleHeaderFocus(this)})}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}}return t.\u0275fac=function(e){return new(e||t)(D(hb,1),D(xe),D(Ro),D(wn),D(JF,8),D(nr,8),ho("tabindex"))},t.\u0275cmp=Pe({type:t,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(e,i){1&e&&ne("click",function(){return i._toggle()})("keydown",function(o){return i._keydown(o)}),2&e&&(Je("id",i.panel._headerId)("tabindex",i.tabIndex)("aria-controls",i._getPanelId())("aria-expanded",i._isExpanded())("aria-disabled",i.panel.disabled),vr("height",i._getHeaderHeight()),Rt("mat-expanded",i._isExpanded())("mat-expansion-toggle-indicator-after","after"===i._getTogglePosition())("mat-expansion-toggle-indicator-before","before"===i._getTogglePosition())("_mat-animation-noopable","NoopAnimations"===i._animationMode))},inputs:{tabIndex:"tabIndex",expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight"},features:[we],ngContentSelectors:uJ,decls:5,vars:3,consts:[[1,"mat-content"],["class","mat-expansion-indicator",4,"ngIf"],[1,"mat-expansion-indicator"]],template:function(e,i){1&e&&(Di(cJ),v(0,"span",0),nn(1),nn(2,1),nn(3,2),b(),G(4,lJ,1,1,"span",1)),2&e&&(Rt("mat-content-hide-toggle",!i._showToggle()),I(4),R("ngIf",i._showToggle()))},dependencies:[ui],styles:['.mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit;transition:height 225ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-expansion-panel-header._mat-animation-noopable{transition:none}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:none}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-content.mat-content-hide-toggle{margin-right:8px}[dir=rtl] .mat-content.mat-content-hide-toggle{margin-right:0;margin-left:8px}.mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-left:24px;margin-right:0}[dir=rtl] .mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-right:24px;margin-left:0}.mat-expansion-panel-header-title,.mat-expansion-panel-header-description{display:flex;flex-grow:1;flex-basis:0;margin-right:16px;align-items:center}[dir=rtl] .mat-expansion-panel-header-title,[dir=rtl] .mat-expansion-panel-header-description{margin-right:0;margin-left:16px}.mat-expansion-panel-header-description{flex-grow:2}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:"";display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle}.cdk-high-contrast-active .mat-expansion-panel-content{border-top:1px solid;border-top-left-radius:0;border-top-right-radius:0}'],encapsulation:2,data:{animation:[QF.indicatorRotate]},changeDetection:0}),t})(),eN=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=fe({type:t,selectors:[["mat-panel-description"]],hostAttrs:[1,"mat-expansion-panel-header-description"]}),t})(),tN=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=fe({type:t,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]}),t})(),nN=(()=>{class t extends eJ{constructor(){super(...arguments),this._ownHeaders=new Ks,this._hideToggle=!1,this.displayMode="default",this.togglePosition="after"}get hideToggle(){return this._hideToggle}set hideToggle(e){this._hideToggle=vt(e)}ngAfterContentInit(){this._headers.changes.pipe(ji(this._headers)).subscribe(e=>{this._ownHeaders.reset(e.filter(i=>i.panel.accordion===this)),this._ownHeaders.notifyOnChanges()}),this._keyManager=new Kp(this._ownHeaders).withWrap().withHomeAndEnd()}_handleHeaderKeydown(e){this._keyManager.onKeydown(e)}_handleHeaderFocus(e){this._keyManager.updateActiveItem(e)}ngOnDestroy(){super.ngOnDestroy(),this._ownHeaders.destroy()}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=Ht(t)))(i||t)}}(),t.\u0275dir=fe({type:t,selectors:[["mat-accordion"]],contentQueries:function(e,i,r){if(1&e&&Qt(r,fb,5),2&e){let o;ue(o=de())&&(i._headers=o)}},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(e,i){2&e&&Rt("mat-accordion-multi",i.multi)},inputs:{multi:"multi",hideToggle:"hideToggle",displayMode:"displayMode",togglePosition:"togglePosition"},exportAs:["matAccordion"],features:[_t([{provide:wx,useExisting:t}]),we]}),t})(),gJ=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Ct({type:t}),t.\u0275inj=yt({imports:[Ao,zt,iJ,xc]}),t})(),bJ=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Ct({type:t}),t.\u0275inj=yt({imports:[nb,zt,nb,zt]}),t})();const rN=ku({passive:!0});let yJ=(()=>{class t{constructor(e,i){this._platform=e,this._ngZone=i,this._monitoredElements=new Map}monitor(e){if(!this._platform.isBrowser)return St;const i=Tl(e),r=this._monitoredElements.get(i);if(r)return r.subject;const o=new pe,s="cdk-text-field-autofilled",a=l=>{"cdk-text-field-autofill-start"!==l.animationName||i.classList.contains(s)?"cdk-text-field-autofill-end"===l.animationName&&i.classList.contains(s)&&(i.classList.remove(s),this._ngZone.run(()=>o.next({target:l.target,isAutofilled:!1}))):(i.classList.add(s),this._ngZone.run(()=>o.next({target:l.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{i.addEventListener("animationstart",a,rN),i.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(i,{subject:o,unlisten:()=>{i.removeEventListener("animationstart",a,rN)}}),o}stopMonitoring(e){const i=Tl(e),r=this._monitoredElements.get(i);r&&(r.unlisten(),r.subject.complete(),i.classList.remove("cdk-text-field-autofill-monitored"),i.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(i))}ngOnDestroy(){this._monitoredElements.forEach((e,i)=>this.stopMonitoring(i))}}return t.\u0275fac=function(e){return new(e||t)(K(dr),K(bt))},t.\u0275prov=Ee({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),oN=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Ct({type:t}),t.\u0275inj=yt({}),t})();const wJ=["connectionContainer"],CJ=["inputContainer"],SJ=["label"];function xJ(t,n){1&t&&(zi(0),v(1,"div",14),Y(2,"div",15)(3,"div",16)(4,"div",17),b(),v(5,"div",18),Y(6,"div",15)(7,"div",16)(8,"div",17),b(),Wi())}function kJ(t,n){if(1&t){const e=Zn();v(0,"div",19),ne("cdkObserveContent",function(){return ut(e),lt(re().updateOutlineGap())}),nn(1,1),b()}2&t&&R("cdkObserveContentDisabled","outline"!=re().appearance)}function DJ(t,n){if(1&t&&(zi(0),nn(1,2),v(2,"span"),M(3),b(),Wi()),2&t){const e=re(2);I(3),Qn(e._control.placeholder)}}function MJ(t,n){1&t&&nn(0,3,["*ngSwitchCase","true"])}function TJ(t,n){1&t&&(v(0,"span",23),M(1," *"),b())}function EJ(t,n){if(1&t){const e=Zn();v(0,"label",20,21),ne("cdkObserveContent",function(){return ut(e),lt(re().updateOutlineGap())}),G(2,DJ,4,1,"ng-container",12),G(3,MJ,1,0,"ng-content",12),G(4,TJ,2,0,"span",22),b()}if(2&t){const e=re();Rt("mat-empty",e._control.empty&&!e._shouldAlwaysFloat())("mat-form-field-empty",e._control.empty&&!e._shouldAlwaysFloat())("mat-accent","accent"==e.color)("mat-warn","warn"==e.color),R("cdkObserveContentDisabled","outline"!=e.appearance)("id",e._labelId)("ngSwitch",e._hasLabel()),Je("for",e._control.id)("aria-owns",e._control.id),I(2),R("ngSwitchCase",!1),I(1),R("ngSwitchCase",!0),I(1),R("ngIf",!e.hideRequiredMarker&&e._control.required&&!e._control.disabled)}}function AJ(t,n){1&t&&(v(0,"div",24),nn(1,4),b())}function OJ(t,n){if(1&t&&(v(0,"div",25),Y(1,"span",26),b()),2&t){const e=re();I(1),Rt("mat-accent","accent"==e.color)("mat-warn","warn"==e.color)}}function IJ(t,n){1&t&&(v(0,"div"),nn(1,5),b()),2&t&&R("@transitionMessages",re()._subscriptAnimationState)}function PJ(t,n){if(1&t&&(v(0,"div",30),M(1),b()),2&t){const e=re(2);R("id",e._hintLabelId),I(1),Qn(e.hintLabel)}}function RJ(t,n){if(1&t&&(v(0,"div",27),G(1,PJ,2,2,"div",28),nn(2,6),Y(3,"div",29),nn(4,7),b()),2&t){const e=re();R("@transitionMessages",e._subscriptAnimationState),I(1),R("ngIf",e.hintLabel)}}const FJ=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],NJ=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"];let LJ=0;const sN=new u("MatError");let im=(()=>{class t{constructor(e,i){this.id="mat-error-"+LJ++,e||i.nativeElement.setAttribute("aria-live","polite")}}return t.\u0275fac=function(e){return new(e||t)(ho("aria-live"),D(xe))},t.\u0275dir=fe({type:t,selectors:[["mat-error"]],hostAttrs:["aria-atomic","true",1,"mat-error"],hostVars:1,hostBindings:function(e,i){2&e&&Je("id",i.id)},inputs:{id:"id"},features:[_t([{provide:sN,useExisting:t}])]}),t})();const BJ={transitionMessages:Pr("transitionMessages",[In("enter",wt({opacity:1,transform:"translateY(0%)"})),ri("void => enter",[wt({opacity:0,transform:"translateY(-5px)"}),mi("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let pb=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=fe({type:t}),t})();const VJ=new u("MatHint");let Ho=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=fe({type:t,selectors:[["mat-label"]]}),t})(),HJ=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=fe({type:t,selectors:[["mat-placeholder"]]}),t})();const zJ=new u("MatPrefix"),aN=new u("MatSuffix");let WJ=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=fe({type:t,selectors:[["","matSuffix",""]],features:[_t([{provide:aN,useExisting:t}])]}),t})(),lN=0;const UJ=Eu(class{constructor(t){this._elementRef=t}},"primary"),$J=new u("MAT_FORM_FIELD_DEFAULT_OPTIONS"),mb=new u("MatFormField");let Fo=(()=>{class t extends UJ{constructor(e,i,r,o,s,a,l){super(e),this._changeDetectorRef=i,this._dir=r,this._defaults=o,this._platform=s,this._ngZone=a,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new pe,this._hideRequiredMarker=!1,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId="mat-hint-"+lN++,this._labelId="mat-form-field-label-"+lN++,this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled="NoopAnimations"!==l,this.appearance=o?.appearance||"legacy",o&&(this._hideRequiredMarker=Boolean(o.hideRequiredMarker),o.color&&(this.color=this.defaultColor=o.color))}get appearance(){return this._appearance}set appearance(e){const i=this._appearance;this._appearance=e||this._defaults?.appearance||"legacy","outline"===this._appearance&&i!==e&&(this._outlineGapCalculationNeededOnStable=!0)}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=vt(e)}_shouldAlwaysFloat(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}_canLabelFloat(){return"never"!==this.floatLabel}get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}get floatLabel(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}get _control(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic}set _control(e){this._explicitFormFieldControl=e}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._connectionContainerRef||this._elementRef}ngAfterContentInit(){this._validateControlChild();const e=this._control;e.controlType&&this._elementRef.nativeElement.classList.add(`mat-form-field-type-${e.controlType}`),e.stateChanges.pipe(ji(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),e.ngControl&&e.ngControl.valueChanges&&e.ngControl.valueChanges.pipe(rn(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(rn(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),Yi(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe(ji(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe(ji(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe(rn(this._destroyed)).subscribe(()=>{"function"==typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this.updateOutlineGap())}):this.updateOutlineGap()})}ngAfterContentChecked(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}ngAfterViewInit(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_shouldForward(e){const i=this._control?this._control.ngControl:null;return i&&i[e]}_hasPlaceholder(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}_hasLabel(){return!(!this._labelChildNonStatic&&!this._labelChildStatic)}_shouldLabelFloat(){return this._canLabelFloat()&&(this._control&&this._control.shouldLabelFloat||this._shouldAlwaysFloat())}_hideControlPlaceholder(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}_hasFloatingLabel(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_animateAndLockLabel(){this._hasFloatingLabel()&&this._canLabelFloat()&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,Oa(this._label.nativeElement,"transitionend").pipe(di(1)).subscribe(()=>{this._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())}_validatePlaceholders(){}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_getDefaultFloatLabelState(){return this._defaults&&this._defaults.floatLabel||"auto"}_syncDescribedByIds(){if(this._control){let e=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&e.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const i=this._hintChildren?this._hintChildren.find(o=>"start"===o.align):null,r=this._hintChildren?this._hintChildren.find(o=>"end"===o.align):null;i?e.push(i.id):this._hintLabel&&e.push(this._hintLabelId),r&&e.push(r.id)}else this._errorChildren&&e.push(...this._errorChildren.map(i=>i.id));this._control.setDescribedByIds(e)}}_validateControlChild(){}updateOutlineGap(){const e=this._label?this._label.nativeElement:null,i=this._connectionContainerRef.nativeElement,r=".mat-form-field-outline-start",o=".mat-form-field-outline-gap";if("outline"!==this.appearance||!this._platform.isBrowser)return;if(!e||!e.children.length||!e.textContent.trim()){const p=i.querySelectorAll(`${r}, ${o}`);for(let m=0;m0?.75*k+10:0}for(let p=0;p{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Ct({type:t}),t.\u0275inj=yt({imports:[Ao,zt,Yp,zt]}),t})();const GJ=new u("MAT_INPUT_VALUE_ACCESSOR"),qJ=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let YJ=0;const KJ=hF(class{constructor(t,n,e,i){this._defaultErrorStateMatcher=t,this._parentForm=n,this._parentFormGroup=e,this.ngControl=i,this.stateChanges=new pe}});let na=(()=>{class t extends KJ{constructor(e,i,r,o,s,a,l,c,p,m){super(a,o,s,r),this._elementRef=e,this._platform=i,this._autofillMonitor=c,this._formField=m,this._uid="mat-input-"+YJ++,this.focused=!1,this.stateChanges=new pe,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(k=>GR().has(k)),this._iOSKeyupListener=k=>{const A=k.target;!A.value&&0===A.selectionStart&&0===A.selectionEnd&&(A.setSelectionRange(1,1),A.setSelectionRange(0,0))};const _=this._elementRef.nativeElement,C=_.nodeName.toLowerCase();this._inputValueAccessor=l||_,this._previousNativeValue=this.value,this.id=this.id,i.IOS&&p.runOutsideAngular(()=>{e.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===C,this._isTextarea="textarea"===C,this._isInFormField=!!m,this._isNativeSelect&&(this.controlType=_.multiple?"mat-native-select-multiple":"mat-native-select")}get disabled(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled}set disabled(e){this._disabled=vt(e),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(e){this._id=e||this._uid}get required(){return this._required??this.ngControl?.control?.hasValidator(Da.required)??!1}set required(e){this._required=vt(e)}get type(){return this._type}set type(e){this._type=e||"text",this._validateType(),!this._isTextarea&&GR().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(e){e!==this.value&&(this._inputValueAccessor.value=e,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(e){this._readonly=vt(e)}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(e=>{this.autofilled=e.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._platform.IOS&&this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener)}ngDoCheck(){this.ngControl&&this.updateErrorState(),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(e){this._elementRef.nativeElement.focus(e)}_focusChanged(e){e!==this.focused&&(this.focused=e,this.stateChanges.next())}_onInput(){}_dirtyCheckPlaceholder(){const e=this._formField,i=e&&"legacy"===e.appearance&&!e._hasLabel?.()?null:this.placeholder;if(i!==this._previousPlaceholder){const r=this._elementRef.nativeElement;this._previousPlaceholder=i,i?r.setAttribute("placeholder",i):r.removeAttribute("placeholder")}}_dirtyCheckNativeValue(){const e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next())}_validateType(){qJ.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let e=this._elementRef.nativeElement.validity;return e&&e.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const e=this._elementRef.nativeElement,i=e.options[0];return this.focused||e.multiple||!this.empty||!!(e.selectedIndex>-1&&i&&i.label)}return this.focused||!this.empty}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const e=this._elementRef.nativeElement;return this._isNativeSelect&&(e.multiple||e.size>1)}}return t.\u0275fac=function(e){return new(e||t)(D(xe),D(dr),D(Ma,10),D(ns,8),D(Ta,8),D(bh),D(GJ,10),D(yJ),D(bt),D(mb,8))},t.\u0275dir=fe({type:t,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-input-element","mat-form-field-autofill-control"],hostVars:12,hostBindings:function(e,i){1&e&&ne("focus",function(){return i._focusChanged(!0)})("blur",function(){return i._focusChanged(!1)})("input",function(){return i._onInput()}),2&e&&(ys("disabled",i.disabled)("required",i.required),Je("id",i.id)("data-placeholder",i.placeholder)("name",i.name||null)("readonly",i.readonly&&!i._isNativeSelect||null)("aria-invalid",i.empty&&i.required?null:i.errorState)("aria-required",i.required),Rt("mat-input-server",i._isServer)("mat-native-select-inline",i._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],features:[_t([{provide:pb,useExisting:t}]),we,Tn]}),t})(),ZJ=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Ct({type:t}),t.\u0275inj=yt({providers:[bh],imports:[oN,Cx,zt,oN,Cx]}),t})();function uN(t,n){return n?e=>vp(n.pipe(di(1),function QJ(){return Ye((t,n)=>{t.subscribe(Ot(n,x))})}()),e.pipe(uN(t))):mt((e,i)=>z(t(e,i)).pipe(di(1),VO(e)))}function gb(t,n=mh){const e=Jp(t,n);return uN(()=>e)}const XJ=["mat-menu-item",""];function JJ(t,n){1&t&&(_r(),v(0,"svg",2),Y(1,"polygon",3),b())}const dN=["*"];function eee(t,n){if(1&t){const e=Zn();v(0,"div",0),ne("keydown",function(r){return ut(e),lt(re()._handleKeydown(r))})("click",function(){return ut(e),lt(re().closed.emit("click"))})("@transformMenu.start",function(r){return ut(e),lt(re()._onAnimationStart(r))})("@transformMenu.done",function(r){return ut(e),lt(re()._onAnimationDone(r))}),v(1,"div",1),nn(2),b()()}if(2&t){const e=re();R("id",e.panelId)("ngClass",e._classList)("@transformMenu",e._panelAnimationState),Je("aria-label",e.ariaLabel||null)("aria-labelledby",e.ariaLabelledby||null)("aria-describedby",e.ariaDescribedby||null)}}const _b={transformMenu:Pr("transformMenu",[In("void",wt({opacity:0,transform:"scale(0.8)"})),ri("void => enter",mi("120ms cubic-bezier(0, 0, 0.2, 1)",wt({opacity:1,transform:"scale(1)"}))),ri("* => void",mi("100ms 25ms linear",wt({opacity:0})))]),fadeInItems:Pr("fadeInItems",[In("showing",wt({opacity:1})),ri("void => *",[wt({opacity:0}),mi("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},tee=new u("MatMenuContent"),Sx=new u("MAT_MENU_PANEL"),nee=Ts(os(class{}));let Mh=(()=>{class t extends nee{constructor(e,i,r,o,s){super(),this._elementRef=e,this._document=i,this._focusMonitor=r,this._parentMenu=o,this._changeDetectorRef=s,this.role="menuitem",this._hovered=new pe,this._focused=new pe,this._highlighted=!1,this._triggersSubmenu=!1,o?.addItem?.(this)}focus(e,i){this._focusMonitor&&e?this._focusMonitor.focusVia(this._getHostElement(),e,i):this._getHostElement().focus(i),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(e){this.disabled&&(e.preventDefault(),e.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){const e=this._elementRef.nativeElement.cloneNode(!0),i=e.querySelectorAll("mat-icon, .material-icons");for(let r=0;r{class t{constructor(e,i,r,o){this._elementRef=e,this._ngZone=i,this._defaultOptions=r,this._changeDetectorRef=o,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new Ks,this._tabSubscription=Z.EMPTY,this._classList={},this._panelAnimationState="void",this._animationDone=new pe,this.overlayPanelClass=this._defaultOptions.overlayPanelClass||"",this.backdropClass=this._defaultOptions.backdropClass,this._overlapTrigger=this._defaultOptions.overlapTrigger,this._hasBackdrop=this._defaultOptions.hasBackdrop,this.closed=new Ge,this.close=this.closed,this.panelId="mat-menu-panel-"+ree++}get xPosition(){return this._xPosition}set xPosition(e){this._xPosition=e,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(e){this._yPosition=e,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(e){this._overlapTrigger=vt(e)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(e){this._hasBackdrop=vt(e)}set panelClass(e){const i=this._previousPanelClass;i&&i.length&&i.split(" ").forEach(r=>{this._classList[r]=!1}),this._previousPanelClass=e,e&&e.length&&(e.split(" ").forEach(r=>{this._classList[r]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(e){this.panelClass=e}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new Kp(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._tabSubscription=this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe(ji(this._directDescendantItems),Ar(e=>Yi(...e.map(i=>i._focused)))).subscribe(e=>this._keyManager.updateActiveItem(e)),this._directDescendantItems.changes.subscribe(e=>{const i=this._keyManager;if("enter"===this._panelAnimationState&&i.activeItem?._hasFocus()){const r=e.toArray(),o=Math.max(0,Math.min(r.length-1,i.activeItemIndex||0));r[o]&&!r[o].disabled?i.setActiveItem(o):i.setNextItemActive()}})}ngOnDestroy(){this._directDescendantItems.destroy(),this._tabSubscription.unsubscribe(),this.closed.complete()}_hovered(){return this._directDescendantItems.changes.pipe(ji(this._directDescendantItems),Ar(i=>Yi(...i.map(r=>r._hovered))))}addItem(e){}removeItem(e){}_handleKeydown(e){const i=e.keyCode,r=this._keyManager;switch(i){case 27:no(e)||(e.preventDefault(),this.closed.emit("keydown"));break;case 37:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case 39:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:return(38===i||40===i)&&r.setFocusOrigin("keyboard"),void r.onKeydown(e)}e.stopPropagation()}focusFirstItem(e="program"){this._ngZone.onStable.pipe(di(1)).subscribe(()=>{let i=null;if(this._directDescendantItems.length&&(i=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!i||!i.contains(document.activeElement)){const r=this._keyManager;r.setFocusOrigin(e).setFirstItemActive(),!r.activeItem&&i&&i.focus()}})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(e){const i=Math.min(this._baseElevation+e,24),r=`${this._elevationPrefix}${i}`,o=Object.keys(this._classList).find(s=>s.startsWith(this._elevationPrefix));(!o||o===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[r]=!0,this._previousElevation=r)}setPositionClasses(e=this.xPosition,i=this.yPosition){const r=this._classList;r["mat-menu-before"]="before"===e,r["mat-menu-after"]="after"===e,r["mat-menu-above"]="above"===i,r["mat-menu-below"]="below"===i,this._changeDetectorRef?.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(e){this._animationDone.next(e),this._isAnimating=!1}_onAnimationStart(e){this._isAnimating=!0,"enter"===e.toState&&0===this._keyManager.activeItemIndex&&(e.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe(ji(this._allItems)).subscribe(e=>{this._directDescendantItems.reset(e.filter(i=>i._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}return t.\u0275fac=function(e){return new(e||t)(D(xe),D(bt),D(hN),D(wn))},t.\u0275dir=fe({type:t,contentQueries:function(e,i,r){if(1&e&&(Qt(r,tee,5),Qt(r,Mh,5),Qt(r,Mh,4)),2&e){let o;ue(o=de())&&(i.lazyContent=o.first),ue(o=de())&&(i._allItems=o),ue(o=de())&&(i.items=o)}},viewQuery:function(e,i){if(1&e&&Oe(ii,5),2&e){let r;ue(r=de())&&(i.templateRef=r.first)}},inputs:{backdropClass:"backdropClass",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"}}),t})(),xx=(()=>{class t extends rm{constructor(e,i,r,o){super(e,i,r,o),this._elevationPrefix="mat-elevation-z",this._baseElevation=4}}return t.\u0275fac=function(e){return new(e||t)(D(xe),D(bt),D(hN),D(wn))},t.\u0275cmp=Pe({type:t,selectors:[["mat-menu"]],hostVars:3,hostBindings:function(e,i){2&e&&Je("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[_t([{provide:Sx,useExisting:t}]),we],ngContentSelectors:dN,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-menu-panel",3,"id","ngClass","keydown","click"],[1,"mat-menu-content"]],template:function(e,i){1&e&&(Di(),G(0,eee,3,6,"ng-template"))},dependencies:[Zd],styles:['mat-menu{display:none}.mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:4px;outline:0;min-height:64px;position:relative}.mat-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-menu-panel{outline:solid 1px}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}.mat-menu-item[disabled]::after{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.cdk-high-contrast-active .mat-menu-item{margin-top:1px}.mat-menu-item-submenu-trigger{padding-right:32px}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}.mat-menu-submenu-icon{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:5px;height:10px;fill:currentColor}[dir=rtl] .mat-menu-submenu-icon{right:auto;left:16px;transform:translateY(-50%) scaleX(-1)}.cdk-high-contrast-active .mat-menu-submenu-icon{fill:CanvasText}button.mat-menu-item{width:100%}.mat-menu-item .mat-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}'],encapsulation:2,data:{animation:[_b.transformMenu,_b.fadeInItems]},changeDetection:0}),t})();const fN=new u("mat-menu-scroll-strategy"),see={provide:fN,deps:[go],useFactory:function oee(t){return()=>t.scrollStrategies.reposition()}},pN=ku({passive:!0});let aee=(()=>{class t{constructor(e,i,r,o,s,a,l,c,p){this._overlay=e,this._element=i,this._viewContainerRef=r,this._menuItemInstance=a,this._dir=l,this._focusMonitor=c,this._ngZone=p,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=Z.EMPTY,this._hoverSubscription=Z.EMPTY,this._menuCloseSubscription=Z.EMPTY,this._handleTouchStart=m=>{ix(m)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new Ge,this.onMenuOpen=this.menuOpened,this.menuClosed=new Ge,this.onMenuClose=this.menuClosed,this._scrollStrategy=o,this._parentMaterialMenu=s instanceof rm?s:void 0,i.nativeElement.addEventListener("touchstart",this._handleTouchStart,pN),a&&(a._triggersSubmenu=this.triggersSubmenu())}get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(e){this.menu=e}get menu(){return this._menu}set menu(e){e!==this._menu&&(this._menu=e,this._menuCloseSubscription.unsubscribe(),e&&(this._menuCloseSubscription=e.close.subscribe(i=>{this._destroyMenu(i),("click"===i||"tab"===i)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(i)})))}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,pN),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}triggersSubmenu(){return!(!this._menuItemInstance||!this._parentMaterialMenu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){const e=this.menu;if(this._menuOpen||!e)return;const i=this._createOverlay(e),r=i.getConfig(),o=r.positionStrategy;this._setPosition(e,o),r.hasBackdrop=e.hasBackdrop??!this.triggersSubmenu(),i.attach(this._getPortal(e)),e.lazyContent&&e.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(e),e instanceof rm&&(e._startAnimation(),e._directDescendantItems.changes.pipe(rn(e.close)).subscribe(()=>{o.withLockedPosition(!1).reapplyLastPosition(),o.withLockedPosition(!0)}))}closeMenu(){this.menu?.close.emit()}focus(e,i){this._focusMonitor&&e?this._focusMonitor.focusVia(this._element,e,i):this._element.nativeElement.focus(i)}updatePosition(){this._overlayRef?.updatePosition()}_destroyMenu(e){if(!this._overlayRef||!this.menuOpen)return;const i=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===e||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,i instanceof rm?(i._resetAnimation(),i.lazyContent?i._animationDone.pipe(hi(r=>"void"===r.toState),di(1),rn(i.lazyContent._attached)).subscribe({next:()=>i.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),i?.lazyContent?.detach())}_initMenu(e){e.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,e.direction=this.dir,this._setMenuElevation(e),e.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(e){if(e.setElevation){let i=0,r=e.parentMenu;for(;r;)i++,r=r.parentMenu;e.setElevation(i)}}_setIsMenuOpen(e){this._menuOpen=e,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(e)}_createOverlay(e){if(!this._overlayRef){const i=this._getOverlayConfig(e);this._subscribeToPositions(e,i.positionStrategy),this._overlayRef=this._overlay.create(i),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(e){return new Sh({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:e.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:e.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(e,i){e.setPositionClasses&&i.positionChanges.subscribe(r=>{const o="start"===r.connectionPair.overlayX?"after":"before",s="top"===r.connectionPair.overlayY?"below":"above";this._ngZone?this._ngZone.run(()=>e.setPositionClasses(o,s)):e.setPositionClasses(o,s)})}_setPosition(e,i){let[r,o]="before"===e.xPosition?["end","start"]:["start","end"],[s,a]="above"===e.yPosition?["bottom","top"]:["top","bottom"],[l,c]=[s,a],[p,m]=[r,o],_=0;if(this.triggersSubmenu()){if(m=r="before"===e.xPosition?"start":"end",o=p="end"===r?"start":"end",this._parentMaterialMenu){if(null==this._parentInnerPadding){const C=this._parentMaterialMenu.items.first;this._parentInnerPadding=C?C._getHostElement().offsetTop:0}_="bottom"===s?this._parentInnerPadding:-this._parentInnerPadding}}else e.overlapTrigger||(l="top"===s?"bottom":"top",c="top"===a?"bottom":"top");i.withPositions([{originX:r,originY:l,overlayX:p,overlayY:s,offsetY:_},{originX:o,originY:l,overlayX:m,overlayY:s,offsetY:_},{originX:r,originY:c,overlayX:p,overlayY:a,offsetY:-_},{originX:o,originY:c,overlayX:m,overlayY:a,offsetY:-_}])}_menuClosingActions(){const e=this._overlayRef.backdropClick(),i=this._overlayRef.detachments();return Yi(e,this._parentMaterialMenu?this._parentMaterialMenu.closed:ct(),this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe(hi(s=>s!==this._menuItemInstance),hi(()=>this._menuOpen)):ct(),i)}_handleMousedown(e){nx(e)||(this._openedBy=0===e.button?"mouse":void 0,this.triggersSubmenu()&&e.preventDefault())}_handleKeydown(e){const i=e.keyCode;(13===i||32===i)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(39===i&&"ltr"===this.dir||37===i&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(e){this.triggersSubmenu()?(e.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe(hi(e=>e===this._menuItemInstance&&!e.disabled),gb(0,dx)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof rm&&this.menu._isAnimating?this.menu._animationDone.pipe(di(1),gb(0,dx),rn(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(e){return(!this._portal||this._portal.templateRef!==e.templateRef)&&(this._portal=new Ia(e.templateRef,this._viewContainerRef)),this._portal}}return t.\u0275fac=function(e){return new(e||t)(D(go),D(xe),D(wi),D(fN),D(Sx,8),D(Mh,10),D(io,8),D(Ro),D(bt))},t.\u0275dir=fe({type:t,hostVars:3,hostBindings:function(e,i){1&e&&ne("click",function(o){return i._handleClick(o)})("mousedown",function(o){return i._handleMousedown(o)})("keydown",function(o){return i._handleKeydown(o)}),2&e&&Je("aria-haspopup",i.menu?"menu":null)("aria-expanded",i.menuOpen||null)("aria-controls",i.menuOpen?i.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"],restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"}}),t})(),kx=(()=>{class t extends aee{}return t.\u0275fac=function(){let n;return function(i){return(n||(n=Ht(t)))(i||t)}}(),t.\u0275dir=fe({type:t,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-menu-trigger"],exportAs:["matMenuTrigger"],features:[we]}),t})(),lee=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Ct({type:t}),t.\u0275inj=yt({providers:[see],imports:[Ao,zt,El,Ou,wh,zt]}),t})();const cee=["input"],uee=function(t){return{enterDuration:t}},dee=["*"],hee=new u("mat-radio-default-options",{providedIn:"root",factory:function fee(){return{color:"accent"}}});let mN=0;const pee={provide:Oo,useExisting:xn(()=>Dx),multi:!0};class gN{constructor(n,e){this.source=n,this.value=e}}const _N=new u("MatRadioGroup");let mee=(()=>{class t{constructor(e){this._changeDetector=e,this._value=null,this._name="mat-radio-group-"+mN++,this._selected=null,this._isInitialized=!1,this._labelPosition="after",this._disabled=!1,this._required=!1,this._controlValueAccessorChangeFn=()=>{},this.onTouched=()=>{},this.change=new Ge}get name(){return this._name}set name(e){this._name=e,this._updateRadioButtonNames()}get labelPosition(){return this._labelPosition}set labelPosition(e){this._labelPosition="before"===e?"before":"after",this._markRadiosForCheck()}get value(){return this._value}set value(e){this._value!==e&&(this._value=e,this._updateSelectedRadioFromValue(),this._checkSelectedRadioButton())}_checkSelectedRadioButton(){this._selected&&!this._selected.checked&&(this._selected.checked=!0)}get selected(){return this._selected}set selected(e){this._selected=e,this.value=e?e.value:null,this._checkSelectedRadioButton()}get disabled(){return this._disabled}set disabled(e){this._disabled=vt(e),this._markRadiosForCheck()}get required(){return this._required}set required(e){this._required=vt(e),this._markRadiosForCheck()}ngAfterContentInit(){this._isInitialized=!0}_touch(){this.onTouched&&this.onTouched()}_updateRadioButtonNames(){this._radios&&this._radios.forEach(e=>{e.name=this.name,e._markForCheck()})}_updateSelectedRadioFromValue(){this._radios&&(null===this._selected||this._selected.value!==this._value)&&(this._selected=null,this._radios.forEach(i=>{i.checked=this.value===i.value,i.checked&&(this._selected=i)}))}_emitChangeEvent(){this._isInitialized&&this.change.emit(new gN(this._selected,this._value))}_markRadiosForCheck(){this._radios&&this._radios.forEach(e=>e._markForCheck())}writeValue(e){this.value=e,this._changeDetector.markForCheck()}registerOnChange(e){this._controlValueAccessorChangeFn=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this.disabled=e,this._changeDetector.markForCheck()}}return t.\u0275fac=function(e){return new(e||t)(D(wn))},t.\u0275dir=fe({type:t,inputs:{color:"color",name:"name",labelPosition:"labelPosition",value:"value",selected:"selected",disabled:"disabled",required:"required"},outputs:{change:"change"}}),t})(),Dx=(()=>{class t extends mee{}return t.\u0275fac=function(){let n;return function(i){return(n||(n=Ht(t)))(i||t)}}(),t.\u0275dir=fe({type:t,selectors:[["mat-radio-group"]],contentQueries:function(e,i,r){if(1&e&&Qt(r,Mx,5),2&e){let o;ue(o=de())&&(i._radios=o)}},hostAttrs:["role","radiogroup",1,"mat-radio-group"],exportAs:["matRadioGroup"],features:[_t([pee,{provide:_N,useExisting:t}]),we]}),t})();class gee{constructor(n){this._elementRef=n}}const _ee=Ts(Zp(gee));let vee=(()=>{class t extends _ee{constructor(e,i,r,o,s,a,l,c){super(i),this._changeDetector=r,this._focusMonitor=o,this._radioDispatcher=s,this._providerOverride=l,this._uniqueId="mat-radio-"+ ++mN,this.id=this._uniqueId,this.change=new Ge,this._checked=!1,this._value=null,this._removeUniqueSelectionListener=()=>{},this.radioGroup=e,this._noopAnimations="NoopAnimations"===a,c&&(this.tabIndex=Vo(c,0)),this._removeUniqueSelectionListener=s.listen((p,m)=>{p!==this.id&&m===this.name&&(this.checked=!1)})}get checked(){return this._checked}set checked(e){const i=vt(e);this._checked!==i&&(this._checked=i,i&&this.radioGroup&&this.radioGroup.value!==this.value?this.radioGroup.selected=this:!i&&this.radioGroup&&this.radioGroup.value===this.value&&(this.radioGroup.selected=null),i&&this._radioDispatcher.notify(this.id,this.name),this._changeDetector.markForCheck())}get value(){return this._value}set value(e){this._value!==e&&(this._value=e,null!==this.radioGroup&&(this.checked||(this.checked=this.radioGroup.value===e),this.checked&&(this.radioGroup.selected=this)))}get labelPosition(){return this._labelPosition||this.radioGroup&&this.radioGroup.labelPosition||"after"}set labelPosition(e){this._labelPosition=e}get disabled(){return this._disabled||null!==this.radioGroup&&this.radioGroup.disabled}set disabled(e){this._setDisabled(vt(e))}get required(){return this._required||this.radioGroup&&this.radioGroup.required}set required(e){this._required=vt(e)}get color(){return this._color||this.radioGroup&&this.radioGroup.color||this._providerOverride&&this._providerOverride.color||"accent"}set color(e){this._color=e}get inputId(){return`${this.id||this._uniqueId}-input`}focus(e,i){i?this._focusMonitor.focusVia(this._inputElement,i,e):this._inputElement.nativeElement.focus(e)}_markForCheck(){this._changeDetector.markForCheck()}ngOnInit(){this.radioGroup&&(this.checked=this.radioGroup.value===this._value,this.checked&&(this.radioGroup.selected=this),this.name=this.radioGroup.name)}ngDoCheck(){this._updateTabIndex()}ngAfterViewInit(){this._updateTabIndex(),this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{!e&&this.radioGroup&&this.radioGroup._touch()})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._removeUniqueSelectionListener()}_emitChangeEvent(){this.change.emit(new gN(this,this._value))}_isRippleDisabled(){return this.disableRipple||this.disabled}_onInputClick(e){e.stopPropagation()}_onInputInteraction(e){if(e.stopPropagation(),!this.checked&&!this.disabled){const i=this.radioGroup&&this.value!==this.radioGroup.value;this.checked=!0,this._emitChangeEvent(),this.radioGroup&&(this.radioGroup._controlValueAccessorChangeFn(this.value),i&&this.radioGroup._emitChangeEvent())}}_setDisabled(e){this._disabled!==e&&(this._disabled=e,this._changeDetector.markForCheck())}_updateTabIndex(){const e=this.radioGroup;let i;if(i=e&&e.selected&&!this.disabled?e.selected===this?this.tabIndex:-1:this.tabIndex,i!==this._previousTabIndex){const r=this._inputElement?.nativeElement;r&&(r.setAttribute("tabindex",i+""),this._previousTabIndex=i)}}}return t.\u0275fac=function(e){ga()},t.\u0275dir=fe({type:t,viewQuery:function(e,i){if(1&e&&Oe(cee,5),2&e){let r;ue(r=de())&&(i._inputElement=r.first)}},inputs:{id:"id",name:"name",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],checked:"checked",value:"value",labelPosition:"labelPosition",disabled:"disabled",required:"required",color:"color"},outputs:{change:"change"},features:[we]}),t})(),Mx=(()=>{class t extends vee{constructor(e,i,r,o,s,a,l,c){super(e,i,r,o,s,a,l,c)}}return t.\u0275fac=function(e){return new(e||t)(D(_N,8),D(xe),D(wn),D(Ro),D(bx),D(nr,8),D(hee,8),ho("tabindex"))},t.\u0275cmp=Pe({type:t,selectors:[["mat-radio-button"]],hostAttrs:[1,"mat-radio-button"],hostVars:17,hostBindings:function(e,i){1&e&&ne("focus",function(){return i._inputElement.nativeElement.focus()}),2&e&&(Je("tabindex",null)("id",i.id)("aria-label",null)("aria-labelledby",null)("aria-describedby",null),Rt("mat-radio-checked",i.checked)("mat-radio-disabled",i.disabled)("_mat-animation-noopable",i._noopAnimations)("mat-primary","primary"===i.color)("mat-accent","accent"===i.color)("mat-warn","warn"===i.color))},inputs:{disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matRadioButton"],features:[we],ngContentSelectors:dee,decls:13,vars:19,consts:[[1,"mat-radio-label"],["label",""],[1,"mat-radio-container"],[1,"mat-radio-outer-circle"],[1,"mat-radio-inner-circle"],["type","radio",1,"mat-radio-input",3,"id","checked","disabled","required","change","click"],["input",""],["mat-ripple","",1,"mat-radio-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered","matRippleRadius","matRippleAnimation"],[1,"mat-ripple-element","mat-radio-persistent-ripple"],[1,"mat-radio-label-content"],[2,"display","none"]],template:function(e,i){if(1&e&&(Di(),v(0,"label",0,1)(2,"span",2),Y(3,"span",3)(4,"span",4),v(5,"input",5,6),ne("change",function(o){return i._onInputInteraction(o)})("click",function(o){return i._onInputClick(o)}),b(),v(7,"span",7),Y(8,"span",8),b()(),v(9,"span",9)(10,"span",10),M(11,"\xa0"),b(),nn(12),b()()),2&e){const r=yi(1);Je("for",i.inputId),I(5),R("id",i.inputId)("checked",i.checked)("disabled",i.disabled)("required",i.required),Je("name",i.name)("value",i.value)("aria-label",i.ariaLabel)("aria-labelledby",i.ariaLabelledby)("aria-describedby",i.ariaDescribedby),I(2),R("matRippleTrigger",r)("matRippleDisabled",i._isRippleDisabled())("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",du(17,uee,i._noopAnimations?0:150)),I(2),Rt("mat-radio-label-before","before"==i.labelPosition)}},dependencies:[ss],styles:['.mat-radio-button{display:inline-block;-webkit-tap-highlight-color:rgba(0,0,0,0);outline:0}.mat-radio-label{-webkit-user-select:none;user-select:none;cursor:pointer;display:inline-flex;align-items:center;white-space:nowrap;vertical-align:middle;width:100%}.mat-radio-container{box-sizing:border-box;display:inline-block;position:relative;width:20px;height:20px;flex-shrink:0}.mat-radio-outer-circle{box-sizing:border-box;display:block;height:20px;left:0;position:absolute;top:0;transition:border-color ease 280ms;width:20px;border-width:2px;border-style:solid;border-radius:50%}._mat-animation-noopable .mat-radio-outer-circle{transition:none}.mat-radio-inner-circle{border-radius:50%;box-sizing:border-box;display:block;height:20px;left:0;position:absolute;top:0;opacity:0;transition:transform ease 280ms,background-color ease 280ms,opacity linear 1ms 280ms;width:20px;transform:scale(0.001);-webkit-print-color-adjust:exact;color-adjust:exact}.mat-radio-checked .mat-radio-inner-circle{transform:scale(0.5);opacity:1;transition:transform ease 280ms,background-color ease 280ms}.cdk-high-contrast-active .mat-radio-checked .mat-radio-inner-circle{border:solid 10px}._mat-animation-noopable .mat-radio-inner-circle{transition:none}.mat-radio-label-content{-webkit-user-select:auto;user-select:auto;display:inline-block;order:0;line-height:inherit;padding-left:8px;padding-right:0}[dir=rtl] .mat-radio-label-content{padding-right:8px;padding-left:0}.mat-radio-label-content.mat-radio-label-before{order:-1;padding-left:0;padding-right:8px}[dir=rtl] .mat-radio-label-content.mat-radio-label-before{padding-right:0;padding-left:8px}.mat-radio-disabled,.mat-radio-disabled .mat-radio-label{cursor:default}.mat-radio-button .mat-radio-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-radio-button .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple){opacity:.16}.mat-radio-persistent-ripple{width:100%;height:100%;transform:none;top:0;left:0}.mat-radio-container:hover .mat-radio-persistent-ripple{opacity:.04}.mat-radio-button:not(.mat-radio-disabled).cdk-keyboard-focused .mat-radio-persistent-ripple,.mat-radio-button:not(.mat-radio-disabled).cdk-program-focused .mat-radio-persistent-ripple{opacity:.12}.mat-radio-persistent-ripple,.mat-radio-disabled .mat-radio-container:hover .mat-radio-persistent-ripple{opacity:0}@media(hover: none){.mat-radio-container:hover .mat-radio-persistent-ripple{display:none}}.mat-radio-input{opacity:0;position:absolute;top:0;left:0;margin:0;width:100%;height:100%;cursor:inherit;z-index:-1}.mat-radio-input:focus~.mat-focus-indicator::before{content:""}.cdk-high-contrast-active .mat-radio-disabled{opacity:.5}'],encapsulation:2,changeDetection:0}),t})(),bee=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Ct({type:t}),t.\u0275inj=yt({imports:[El,zt,zt]}),t})();const yee=["trigger"],wee=["panel"];function Cee(t,n){if(1&t&&(v(0,"span",8),M(1),b()),2&t){const e=re();I(1),Qn(e.placeholder)}}function See(t,n){if(1&t&&(v(0,"span",12),M(1),b()),2&t){const e=re(2);I(1),Qn(e.triggerValue)}}function xee(t,n){1&t&&nn(0,0,["*ngSwitchCase","true"])}function kee(t,n){1&t&&(v(0,"span",9),G(1,See,2,1,"span",10),G(2,xee,1,0,"ng-content",11),b()),2&t&&(R("ngSwitch",!!re().customTrigger),I(2),R("ngSwitchCase",!0))}function Dee(t,n){if(1&t){const e=Zn();v(0,"div",13)(1,"div",14,15),ne("@transformPanel.done",function(r){return ut(e),lt(re()._panelDoneAnimatingStream.next(r.toState))})("keydown",function(r){return ut(e),lt(re()._handleKeydown(r))}),nn(3,1),b()()}if(2&t){const e=re();R("@transformPanelWrap",void 0),I(1),l1("mat-select-panel ",e._getPanelTheme(),""),vr("transform-origin",e._transformOrigin)("font-size",e._triggerFontSize,"px"),R("ngClass",e.panelClass)("@transformPanel",e.multiple?"showing-multiple":"showing"),Je("id",e.id+"-panel")("aria-multiselectable",e.multiple)("aria-label",e.ariaLabel||null)("aria-labelledby",e._getPanelAriaLabelledby())}}const Mee=[[["mat-select-trigger"]],"*"],Tee=["mat-select-trigger","*"],vN={transformPanelWrap:Pr("transformPanelWrap",[ri("* => void",kv("@transformPanel",[xv()],{optional:!0}))]),transformPanel:Pr("transformPanel",[In("void",wt({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),In("showing",wt({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),In("showing-multiple",wt({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),ri("void => *",mi("120ms cubic-bezier(0, 0, 0.2, 1)")),ri("* => void",mi("100ms 25ms linear",wt({opacity:0})))])};let bN=0;const wN=new u("mat-select-scroll-strategy"),Iee=new u("MAT_SELECT_CONFIG"),Pee={provide:wN,deps:[go],useFactory:function Oee(t){return()=>t.scrollStrategies.reposition()}};class Ree{constructor(n,e){this.source=n,this.value=e}}const Fee=Ts(Zp(os(hF(class{constructor(t,n,e,i,r){this._elementRef=t,this._defaultErrorStateMatcher=n,this._parentForm=e,this._parentFormGroup=i,this.ngControl=r,this.stateChanges=new pe}})))),Nee=new u("MatSelectTrigger");let Lee=(()=>{class t extends Fee{constructor(e,i,r,o,s,a,l,c,p,m,_,C,k,A){super(s,o,l,c,m),this._viewportRuler=e,this._changeDetectorRef=i,this._ngZone=r,this._dir=a,this._parentFormField=p,this._liveAnnouncer=k,this._defaultOptions=A,this._panelOpen=!1,this._compareWith=(P,N)=>P===N,this._uid="mat-select-"+bN++,this._triggerAriaLabelledBy=null,this._destroy=new pe,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+bN++,this._panelDoneAnimatingStream=new pe,this._overlayPanelClass=this._defaultOptions?.overlayPanelClass||"",this._focused=!1,this.controlType="mat-select",this._multiple=!1,this._disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1,this.ariaLabel="",this.optionSelectionChanges=Xd(()=>{const P=this.options;return P?P.changes.pipe(ji(P),Ar(()=>Yi(...P.map(N=>N.onSelectionChange)))):this._ngZone.onStable.pipe(di(1),Ar(()=>this.optionSelectionChanges))}),this.openedChange=new Ge,this._openedStream=this.openedChange.pipe(hi(P=>P),Ne(()=>{})),this._closedStream=this.openedChange.pipe(hi(P=>!P),Ne(()=>{})),this.selectionChange=new Ge,this.valueChange=new Ge,this.ngControl&&(this.ngControl.valueAccessor=this),null!=A?.typeaheadDebounceInterval&&(this._typeaheadDebounceInterval=A.typeaheadDebounceInterval),this._scrollStrategyFactory=C,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(_)||0,this.id=this.id}get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}get required(){return this._required??this.ngControl?.control?.hasValidator(Da.required)??!1}set required(e){this._required=vt(e),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(e){this._multiple=vt(e)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(e){this._disableOptionCentering=vt(e)}get compareWith(){return this._compareWith}set compareWith(e){this._compareWith=e,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(e){this._assignValue(e)&&this._onChange(e)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(e){this._typeaheadDebounceInterval=Vo(e)}get id(){return this._id}set id(e){this._id=e||this._uid,this.stateChanges.next()}ngOnInit(){this._selectionModel=new vx(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(qp(),rn(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen))}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe(rn(this._destroy)).subscribe(e=>{e.added.forEach(i=>i.select()),e.removed.forEach(i=>i.deselect())}),this.options.changes.pipe(ji(null),rn(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const e=this._getTriggerAriaLabelledby(),i=this.ngControl;if(e!==this._triggerAriaLabelledBy){const r=this._elementRef.nativeElement;this._triggerAriaLabelledBy=e,e?r.setAttribute("aria-labelledby",e):r.removeAttribute("aria-labelledby")}i&&(this._previousControl!==i.control&&(void 0!==this._previousControl&&null!==i.disabled&&i.disabled!==this.disabled&&(this.disabled=i.disabled),this._previousControl=i.control),this.updateErrorState())}ngOnChanges(e){(e.disabled||e.userAriaDescribedBy)&&this.stateChanges.next(),e.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}ngOnDestroy(){this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}writeValue(e){this._assignValue(e)}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel?.selected||[]:this._selectionModel?.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){const e=this._selectionModel.selected.map(i=>i.viewValue);return this._isRtl()&&e.reverse(),e.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(e){this.disabled||(this.panelOpen?this._handleOpenKeydown(e):this._handleClosedKeydown(e))}_handleClosedKeydown(e){const i=e.keyCode,r=40===i||38===i||37===i||39===i,o=13===i||32===i,s=this._keyManager;if(!s.isTyping()&&o&&!no(e)||(this.multiple||e.altKey)&&r)e.preventDefault(),this.open();else if(!this.multiple){const a=this.selected;s.onKeydown(e);const l=this.selected;l&&a!==l&&this._liveAnnouncer.announce(l.viewValue,1e4)}}_handleOpenKeydown(e){const i=this._keyManager,r=e.keyCode,o=40===r||38===r,s=i.isTyping();if(o&&e.altKey)e.preventDefault(),this.close();else if(s||13!==r&&32!==r||!i.activeItem||no(e))if(!s&&this._multiple&&65===r&&e.ctrlKey){e.preventDefault();const a=this.options.some(l=>!l.disabled&&!l.selected);this.options.forEach(l=>{l.disabled||(a?l.select():l.deselect())})}else{const a=i.activeItemIndex;i.onKeydown(e),this._multiple&&o&&e.shiftKey&&i.activeItem&&i.activeItemIndex!==a&&i.activeItem._selectViaInteraction()}else e.preventDefault(),i.activeItem._selectViaInteraction()}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe(di(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(e){if(this._selectionModel.selected.forEach(i=>i.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&e)Array.isArray(e),e.forEach(i=>this._selectOptionByValue(i)),this._sortValues();else{const i=this._selectOptionByValue(e);i?this._keyManager.updateActiveItem(i):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(e){const i=this.options.find(r=>{if(this._selectionModel.isSelected(r))return!1;try{return null!=r.value&&this._compareWith(r.value,e)}catch{return!1}});return i&&this._selectionModel.select(i),i}_assignValue(e){return!!(e!==this._value||this._multiple&&Array.isArray(e))&&(this.options&&this._setSelectionByValue(e),this._value=e,!0)}_initKeyManager(){this._keyManager=new iF(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe(rn(this._destroy)).subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.pipe(rn(this._destroy)).subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const e=Yi(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(rn(e)).subscribe(i=>{this._onSelect(i.source,i.isUserInput),i.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),Yi(...this.options.map(i=>i._stateChanges)).pipe(rn(e)).subscribe(()=>{this._changeDetectorRef.markForCheck(),this.stateChanges.next()})}_onSelect(e,i){const r=this._selectionModel.isSelected(e);null!=e.value||this._multiple?(r!==e.selected&&(e.selected?this._selectionModel.select(e):this._selectionModel.deselect(e)),i&&this._keyManager.setActiveItem(e),this.multiple&&(this._sortValues(),i&&this.focus())):(e.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(e.value)),r!==this._selectionModel.isSelected(e)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const e=this.options.toArray();this._selectionModel.sort((i,r)=>this.sortComparator?this.sortComparator(i,r,e):e.indexOf(i)-e.indexOf(r)),this.stateChanges.next()}}_propagateChanges(e){let i=null;i=this.multiple?this.selected.map(r=>r.value):this.selected?this.selected.value:e,this._value=i,this.valueChange.emit(i),this._onChange(i),this.selectionChange.emit(this._getChangeEvent(i)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}_canOpen(){return!this._panelOpen&&!this.disabled&&this.options?.length>0}focus(e){this._elementRef.nativeElement.focus(e)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;const e=this._parentFormField?.getLabelId();return this.ariaLabelledby?(e?e+" ":"")+this.ariaLabelledby:e}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;const e=this._parentFormField?.getLabelId();let i=(e?e+" ":"")+this._valueId;return this.ariaLabelledby&&(i+=" "+this.ariaLabelledby),i}_panelDoneAnimating(e){this.openedChange.emit(e)}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}}return t.\u0275fac=function(e){return new(e||t)(D(Sc),D(wn),D(bt),D(bh),D(xe),D(io,8),D(ns,8),D(Ta,8),D(mb,8),D(Ma,10),ho("tabindex"),D(wN),D(rx),D(Iee,8))},t.\u0275dir=fe({type:t,viewQuery:function(e,i){if(1&e&&(Oe(yee,5),Oe(wee,5),Oe(zF,5)),2&e){let r;ue(r=de())&&(i.trigger=r.first),ue(r=de())&&(i.panel=r.first),ue(r=de())&&(i._overlayDir=r.first)}},inputs:{userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:"typeaheadDebounceInterval",sortComparator:"sortComparator",id:"id"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[we,Tn]}),t})(),Fa=(()=>{class t extends Lee{constructor(){super(...arguments),this._scrollTop=0,this._triggerFontSize=0,this._transformOrigin="top",this._offsetY=0,this._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}]}_calculateOverlayScroll(e,i,r){const o=this._getItemHeight();return Math.min(Math.max(0,o*e-i+o/2),r)}ngOnInit(){super.ngOnInit(),this._viewportRuler.change().pipe(rn(this._destroy)).subscribe(()=>{this.panelOpen&&(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._changeDetectorRef.markForCheck())})}open(){super._canOpen()&&(super.open(),this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._calculateOverlayPosition(),this._ngZone.onStable.pipe(di(1)).subscribe(()=>{this._triggerFontSize&&this._overlayDir.overlayRef&&this._overlayDir.overlayRef.overlayElement&&(this._overlayDir.overlayRef.overlayElement.style.fontSize=`${this._triggerFontSize}px`)}))}_scrollOptionIntoView(e){const i=cx(e,this.options,this.optionGroups),r=this._getItemHeight();this.panel.nativeElement.scrollTop=0===e&&1===i?0:wF((e+i)*r,r,this.panel.nativeElement.scrollTop,256)}_positioningSettled(){this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop}_panelDoneAnimating(e){this.panelOpen?this._scrollTop=0:(this._overlayDir.offsetX=0,this._changeDetectorRef.markForCheck()),super._panelDoneAnimating(e)}_getChangeEvent(e){return new Ree(this,e)}_calculateOverlayOffsetX(){const e=this._overlayDir.overlayRef.overlayElement.getBoundingClientRect(),i=this._viewportRuler.getViewportSize(),r=this._isRtl(),o=this.multiple?56:32;let s;if(this.multiple)s=40;else if(this.disableOptionCentering)s=16;else{let c=this._selectionModel.selected[0]||this.options.first;s=c&&c.group?32:16}r||(s*=-1);const a=0-(e.left+s-(r?o:0)),l=e.right+s-i.width+(r?0:o);a>0?s+=a+8:l>0&&(s-=l+8),this._overlayDir.offsetX=Math.round(s),this._overlayDir.overlayRef.updatePosition()}_calculateOverlayOffsetY(e,i,r){const o=this._getItemHeight(),s=(o-this._triggerRect.height)/2,a=Math.floor(256/o);let l;return this.disableOptionCentering?0:(l=0===this._scrollTop?e*o:this._scrollTop===r?(e-(this._getItemCount()-a))*o+(o-(this._getItemCount()*o-256)%o):i-o/2,Math.round(-1*l-s))}_checkOverlayWithinViewport(e){const i=this._getItemHeight(),r=this._viewportRuler.getViewportSize(),o=this._triggerRect.top-8,s=r.height-this._triggerRect.bottom-8,a=Math.abs(this._offsetY),c=Math.min(this._getItemCount()*i,256)-a-this._triggerRect.height;c>s?this._adjustPanelUp(c,s):a>o?this._adjustPanelDown(a,o,e):this._transformOrigin=this._getOriginBasedOnOption()}_adjustPanelUp(e,i){const r=Math.round(e-i);this._scrollTop-=r,this._offsetY-=r,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}_adjustPanelDown(e,i,r){const o=Math.round(e-i);if(this._scrollTop+=o,this._offsetY+=o,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=r)return this._scrollTop=r,this._offsetY=0,void(this._transformOrigin="50% top 0px")}_calculateOverlayPosition(){const e=this._getItemHeight(),i=this._getItemCount(),r=Math.min(i*e,256),s=i*e-r;let a;a=this.empty?0:Math.max(this.options.toArray().indexOf(this._selectionModel.selected[0]),0),a+=cx(a,this.options,this.optionGroups);const l=r/2;this._scrollTop=this._calculateOverlayScroll(a,l,s),this._offsetY=this._calculateOverlayOffsetY(a,l,s),this._checkOverlayWithinViewport(s)}_getOriginBasedOnOption(){const e=this._getItemHeight(),i=(e-this._triggerRect.height)/2;return`50% ${Math.abs(this._offsetY)-i+e/2}px 0px`}_getItemHeight(){return 3*this._triggerFontSize}_getItemCount(){return this.options.length+this.optionGroups.length}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=Ht(t)))(i||t)}}(),t.\u0275cmp=Pe({type:t,selectors:[["mat-select"]],contentQueries:function(e,i,r){if(1&e&&(Qt(r,Nee,5),Qt(r,Es,5),Qt(r,rb,5)),2&e){let o;ue(o=de())&&(i.customTrigger=o.first),ue(o=de())&&(i.options=o),ue(o=de())&&(i.optionGroups=o)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true",1,"mat-select"],hostVars:19,hostBindings:function(e,i){1&e&&ne("keydown",function(o){return i._handleKeydown(o)})("focus",function(){return i._onFocus()})("blur",function(){return i._onBlur()}),2&e&&(Je("id",i.id)("tabindex",i.tabIndex)("aria-controls",i.panelOpen?i.id+"-panel":null)("aria-expanded",i.panelOpen)("aria-label",i.ariaLabel||null)("aria-required",i.required.toString())("aria-disabled",i.disabled.toString())("aria-invalid",i.errorState)("aria-activedescendant",i._getAriaActiveDescendant()),Rt("mat-select-disabled",i.disabled)("mat-select-invalid",i.errorState)("mat-select-required",i.required)("mat-select-empty",i.empty)("mat-select-multiple",i.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matSelect"],features:[_t([{provide:pb,useExisting:t},{provide:ib,useExisting:t}]),we],ngContentSelectors:Tee,decls:9,vars:12,consts:[["cdk-overlay-origin","",1,"mat-select-trigger",3,"click"],["origin","cdkOverlayOrigin","trigger",""],[1,"mat-select-value",3,"ngSwitch"],["class","mat-select-placeholder mat-select-min-line",4,"ngSwitchCase"],["class","mat-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-select-arrow-wrapper"],[1,"mat-select-arrow"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayMinWidth","cdkConnectedOverlayOffsetY","backdropClick","attach","detach"],[1,"mat-select-placeholder","mat-select-min-line"],[1,"mat-select-value-text",3,"ngSwitch"],["class","mat-select-min-line",4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-select-min-line"],[1,"mat-select-panel-wrap"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(e,i){if(1&e&&(Di(Mee),v(0,"div",0,1),ne("click",function(){return i.toggle()}),v(3,"div",2),G(4,Cee,2,1,"span",3),G(5,kee,3,2,"span",4),b(),v(6,"div",5),Y(7,"div",6),b()(),G(8,Dee,4,14,"ng-template",7),ne("backdropClick",function(){return i.close()})("attach",function(){return i._onAttached()})("detach",function(){return i.close()})),2&e){const r=yi(1);Je("aria-owns",i.panelOpen?i.id+"-panel":null),I(3),R("ngSwitch",i.empty),Je("id",i._valueId),I(1),R("ngSwitchCase",!0),I(1),R("ngSwitchCase",!1),I(3),R("cdkConnectedOverlayPanelClass",i._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",i._scrollStrategy)("cdkConnectedOverlayOrigin",r)("cdkConnectedOverlayOpen",i.panelOpen)("cdkConnectedOverlayPositions",i._positions)("cdkConnectedOverlayMinWidth",null==i._triggerRect?null:i._triggerRect.width)("cdkConnectedOverlayOffsetY",i._offsetY)}},dependencies:[Zd,vl,pu,eC,zF,HF],styles:['.mat-select{display:inline-block;width:100%;outline:none}.mat-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{height:16px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;margin:0 4px}.mat-form-field.mat-focused .mat-select-arrow{transform:translateX(0)}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px;outline:0}.cdk-high-contrast-active .mat-select-panel{outline:solid 1px}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}'],encapsulation:2,data:{animation:[vN.transformPanelWrap,vN.transformPanel]},changeDetection:0}),t})(),CN=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Ct({type:t}),t.\u0275inj=yt({providers:[Pee],imports:[Ao,Ou,ob,zt,wh,Cx,ob,zt]}),t})();const Bee=["input"],Vee=function(t){return{enterDuration:t}},Hee=["*"],zee=new u("mat-slide-toggle-default-options",{providedIn:"root",factory:()=>({disableToggleValue:!1})});let Wee=0;const jee={provide:Oo,useExisting:xn(()=>Tx),multi:!0};class Uee{constructor(n,e){this.source=n,this.checked=e}}const $ee=Zp(Eu(Ts(os(class{constructor(t){this._elementRef=t}}))));let Gee=(()=>{class t extends $ee{constructor(e,i,r,o,s,a,l){super(e),this._focusMonitor=i,this._changeDetectorRef=r,this.defaults=s,this._onChange=c=>{},this._onTouched=()=>{},this._required=!1,this._checked=!1,this.name=null,this.labelPosition="after",this.ariaLabel=null,this.ariaLabelledby=null,this.change=new Ge,this.toggleChange=new Ge,this.tabIndex=parseInt(o)||0,this.color=this.defaultColor=s.color||"accent",this._noopAnimations="NoopAnimations"===a,this.id=this._uniqueId=`${l}${++Wee}`}get required(){return this._required}set required(e){this._required=vt(e)}get checked(){return this._checked}set checked(e){this._checked=vt(e),this._changeDetectorRef.markForCheck()}get inputId(){return`${this.id||this._uniqueId}-input`}ngAfterContentInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{"keyboard"===e||"program"===e?this._focused=!0:e||Promise.resolve().then(()=>{this._focused=!1,this._onTouched(),this._changeDetectorRef.markForCheck()})})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}writeValue(e){this.checked=!!e}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this._changeDetectorRef.markForCheck()}toggle(){this.checked=!this.checked,this._onChange(this.checked)}_emitChangeEvent(){this._onChange(this.checked),this.change.emit(this._createChangeEvent(this.checked))}}return t.\u0275fac=function(e){ga()},t.\u0275dir=fe({type:t,inputs:{name:"name",id:"id",labelPosition:"labelPosition",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],required:"required",checked:"checked"},outputs:{change:"change",toggleChange:"toggleChange"},features:[we]}),t})(),Tx=(()=>{class t extends Gee{constructor(e,i,r,o,s,a){super(e,i,r,o,s,a,"mat-slide-toggle-")}_createChangeEvent(e){return new Uee(this,e)}_onChangeEvent(e){e.stopPropagation(),this.toggleChange.emit(),this.defaults.disableToggleValue?this._inputElement.nativeElement.checked=this.checked:(this.checked=this._inputElement.nativeElement.checked,this._emitChangeEvent())}_onInputClick(e){e.stopPropagation()}focus(e,i){i?this._focusMonitor.focusVia(this._inputElement,i,e):this._inputElement.nativeElement.focus(e)}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}}return t.\u0275fac=function(e){return new(e||t)(D(xe),D(Ro),D(wn),ho("tabindex"),D(zee),D(nr,8))},t.\u0275cmp=Pe({type:t,selectors:[["mat-slide-toggle"]],viewQuery:function(e,i){if(1&e&&Oe(Bee,5),2&e){let r;ue(r=de())&&(i._inputElement=r.first)}},hostAttrs:[1,"mat-slide-toggle"],hostVars:13,hostBindings:function(e,i){2&e&&(ys("id",i.id),Je("tabindex",null)("aria-label",null)("aria-labelledby",null)("name",null),Rt("mat-checked",i.checked)("mat-disabled",i.disabled)("mat-slide-toggle-label-before","before"==i.labelPosition)("_mat-animation-noopable",i._noopAnimations))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matSlideToggle"],features:[_t([jee]),we],ngContentSelectors:Hee,decls:14,vars:20,consts:[[1,"mat-slide-toggle-label"],["label",""],[1,"mat-slide-toggle-bar"],["type","checkbox","role","switch",1,"mat-slide-toggle-input","cdk-visually-hidden",3,"id","required","tabIndex","checked","disabled","change","click"],["input",""],[1,"mat-slide-toggle-thumb-container"],[1,"mat-slide-toggle-thumb"],["mat-ripple","",1,"mat-slide-toggle-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered","matRippleRadius","matRippleAnimation"],[1,"mat-ripple-element","mat-slide-toggle-persistent-ripple"],[1,"mat-slide-toggle-content",3,"cdkObserveContent"],["labelContent",""],[2,"display","none"]],template:function(e,i){if(1&e&&(Di(),v(0,"label",0,1)(2,"span",2)(3,"input",3,4),ne("change",function(o){return i._onChangeEvent(o)})("click",function(o){return i._onInputClick(o)}),b(),v(5,"span",5),Y(6,"span",6),v(7,"span",7),Y(8,"span",8),b()()(),v(9,"span",9,10),ne("cdkObserveContent",function(){return i._onLabelTextChange()}),v(11,"span",11),M(12,"\xa0"),b(),nn(13),b()()),2&e){const r=yi(1),o=yi(10);Je("for",i.inputId),I(2),Rt("mat-slide-toggle-bar-no-side-margin",!o.textContent||!o.textContent.trim()),I(1),R("id",i.inputId)("required",i.required)("tabIndex",i.tabIndex)("checked",i.checked)("disabled",i.disabled),Je("name",i.name)("aria-checked",i.checked)("aria-label",i.ariaLabel)("aria-labelledby",i.ariaLabelledby)("aria-describedby",i.ariaDescribedby),I(4),R("matRippleTrigger",r)("matRippleDisabled",i.disableRipple||i.disabled)("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",du(18,Vee,i._noopAnimations?0:150))}},dependencies:[ss,Kv],styles:['.mat-slide-toggle{display:inline-block;height:24px;max-width:100%;line-height:24px;white-space:nowrap;outline:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(16px, 0, 0)}[dir=rtl] .mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(-16px, 0, 0)}.mat-slide-toggle.mat-disabled{opacity:.38}.mat-slide-toggle.mat-disabled .mat-slide-toggle-label,.mat-slide-toggle.mat-disabled .mat-slide-toggle-thumb-container{cursor:default}.mat-slide-toggle-label{-webkit-user-select:none;user-select:none;display:flex;flex:1;flex-direction:row;align-items:center;height:inherit;cursor:pointer}.mat-slide-toggle-content{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-slide-toggle-label-before .mat-slide-toggle-label{order:1}.mat-slide-toggle-label-before .mat-slide-toggle-bar{order:2}[dir=rtl] .mat-slide-toggle-label-before .mat-slide-toggle-bar,.mat-slide-toggle-bar{margin-right:8px;margin-left:0}[dir=rtl] .mat-slide-toggle-bar,.mat-slide-toggle-label-before .mat-slide-toggle-bar{margin-left:8px;margin-right:0}.mat-slide-toggle-bar-no-side-margin{margin-left:0;margin-right:0}.mat-slide-toggle-thumb-container{position:absolute;z-index:1;width:20px;height:20px;top:-3px;left:0;transform:translate3d(0, 0, 0);transition:all 80ms linear;transition-property:transform}._mat-animation-noopable .mat-slide-toggle-thumb-container{transition:none}[dir=rtl] .mat-slide-toggle-thumb-container{left:auto;right:0}.mat-slide-toggle-thumb{height:20px;width:20px;border-radius:50%;display:block}.mat-slide-toggle-bar{position:relative;width:36px;height:14px;flex-shrink:0;border-radius:8px}.mat-slide-toggle-input{bottom:0;left:10px}[dir=rtl] .mat-slide-toggle-input{left:auto;right:10px}.mat-slide-toggle-bar,.mat-slide-toggle-thumb{transition:all 80ms linear;transition-property:background-color;transition-delay:50ms}._mat-animation-noopable .mat-slide-toggle-bar,._mat-animation-noopable .mat-slide-toggle-thumb{transition:none}.mat-slide-toggle .mat-slide-toggle-ripple{position:absolute;top:calc(50% - 20px);left:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-slide-toggle .mat-slide-toggle-ripple .mat-ripple-element:not(.mat-slide-toggle-persistent-ripple){opacity:.12}.mat-slide-toggle-persistent-ripple{width:100%;height:100%;transform:none}.mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{opacity:.04}.mat-slide-toggle:not(.mat-disabled).cdk-keyboard-focused .mat-slide-toggle-persistent-ripple{opacity:.12}.mat-slide-toggle-persistent-ripple,.mat-slide-toggle.mat-disabled .mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{opacity:0}@media(hover: none){.mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{display:none}}.mat-slide-toggle-input:focus~.mat-slide-toggle-thumb-container .mat-focus-indicator::before{content:""}.cdk-high-contrast-active .mat-slide-toggle-thumb,.cdk-high-contrast-active .mat-slide-toggle-bar{border:1px solid}'],encapsulation:2,changeDetection:0}),t})(),SN=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Ct({type:t}),t.\u0275inj=yt({}),t})(),Kee=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Ct({type:t}),t.\u0275inj=yt({imports:[SN,El,zt,Yp,SN,zt]}),t})();function Zee(t,n){if(1&t){const e=Zn();v(0,"div",2)(1,"button",3),ne("click",function(){return ut(e),lt(re().action())}),M(2),b()()}if(2&t){const e=re();I(2),Qn(e.data.action)}}function Qee(t,n){}const xN=new u("MatSnackBarData");class bb{constructor(){this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}}const Xee=Math.pow(2,31)-1;class Ex{constructor(n,e){this._overlayRef=e,this._afterDismissed=new pe,this._afterOpened=new pe,this._onAction=new pe,this._dismissedByAction=!1,this.containerInstance=n,n._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(n){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(n,Xee))}_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 Jee=(()=>{class t{constructor(e,i){this.snackBarRef=e,this.data=i}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}}return t.\u0275fac=function(e){return new(e||t)(D(Ex),D(xN))},t.\u0275cmp=Pe({type:t,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&&(v(0,"span",0),M(1),b(),G(2,Zee,3,1,"div",1)),2&e&&(I(1),Qn(i.data.message),I(1),R("ngIf",i.hasAction))},dependencies:[ui,Ji],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}),t})();const ete={snackBarState:Pr("state",[In("void, hidden",wt({transform:"scale(0.8)",opacity:0})),In("visible",wt({transform:"scale(1)",opacity:1})),ri("* => visible",mi("150ms cubic-bezier(0, 0, 0.2, 1)")),ri("* => void, * => hidden",mi("75ms cubic-bezier(0.4, 0.0, 1, 1)",wt({opacity:0})))])};let tte=(()=>{class t extends cb{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 pe,this._onExit=new pe,this._onEnter=new pe,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(di(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 t.\u0275fac=function(e){return new(e||t)(D(bt),D(xe),D(wn),D(dr),D(bb))},t.\u0275dir=fe({type:t,viewQuery:function(e,i){if(1&e&&Oe(Pa,7),2&e){let r;ue(r=de())&&(i._portalOutlet=r.first)}},features:[we]}),t})(),nte=(()=>{class t extends tte{_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 t.\u0275fac=function(){let n;return function(i){return(n||(n=Ht(t)))(i||t)}}(),t.\u0275cmp=Pe({type:t,selectors:[["snack-bar-container"]],hostAttrs:[1,"mat-snack-bar-container"],hostVars:1,hostBindings:function(e,i){1&e&&s_("@state.done",function(o){return i.onAnimationEnd(o)}),2&e&&l_("@state",i._animationState)},features:[we],decls:3,vars:2,consts:[["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(e,i){1&e&&(v(0,"div",0),G(1,Qee,0,0,"ng-template",1),b(),Y(2,"div")),2&e&&(I(2),Je("aria-live",i._live)("role",i._role))},dependencies:[Pa],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:[ete.snackBarState]}}),t})(),kN=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Ct({type:t}),t.\u0275inj=yt({imports:[Ou,xc,Ao,sb,zt,zt]}),t})();const DN=new u("mat-snack-bar-default-options",{providedIn:"root",factory:function ite(){return new bb}});let rte=(()=>{class t{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=Qi.create({parent:i&&i.viewContainerRef&&i.viewContainerRef.injector||this._injector,providers:[{provide:bb,useValue:i}]}),s=new Ch(this.snackBarContainerComponent,i.viewContainerRef,o),a=e.attach(s);return a.instance.snackBarConfig=i,a.instance}_attach(e,i){const r={...new bb,...this._defaultConfig,...i},o=this._createOverlay(r),s=this._attachSnackBarContainer(o,r),a=new Ex(s,o);if(e instanceof ii){const l=new Ia(e,null,{$implicit:r.data,snackBarRef:a});a.instance=s.attachTemplatePortal(l)}else{const l=this._createInjector(r,a),c=new Ch(e,void 0,l),p=s.attachComponentPortal(c);a.instance=p.instance}return this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait)").pipe(rn(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 Sh;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 Qi.create({parent:e&&e.viewContainerRef&&e.viewContainerRef.injector||this._injector,providers:[{provide:Ex,useValue:i},{provide:xN,useValue:e.data}]})}}return t.\u0275fac=function(e){return new(e||t)(K(go),K(rx),K(Qi),K(Zv),K(t,12),K(DN))},t.\u0275prov=Ee({token:t,factory:t.\u0275fac}),t})(),ote=(()=>{class t extends rte{constructor(e,i,r,o,s,a){super(e,i,r,o,s,a),this.simpleSnackBarComponent=Jee,this.snackBarContainerComponent=nte,this.handsetCssClass="mat-snack-bar-handset"}}return t.\u0275fac=function(e){return new(e||t)(K(go),K(rx),K(Qi),K(Zv),K(t,12),K(DN))},t.\u0275prov=Ee({token:t,factory:t.\u0275fac,providedIn:kN}),t})();function ste(t,n){1&t&&nn(0)}const ate=["*"];let MN=(()=>{class t{constructor(e){this._elementRef=e}focus(){this._elementRef.nativeElement.focus()}}return t.\u0275fac=function(e){return new(e||t)(D(xe))},t.\u0275dir=fe({type:t,selectors:[["","cdkStepHeader",""]],hostAttrs:["role","tab"]}),t})(),TN=(()=>{class t{constructor(e){this.template=e}}return t.\u0275fac=function(e){return new(e||t)(D(ii))},t.\u0275dir=fe({type:t,selectors:[["","cdkStepLabel",""]]}),t})(),lte=0;const EN=new u("STEPPER_GLOBAL_OPTIONS");let Ax=(()=>{class t{constructor(e,i){this._stepper=e,this.interacted=!1,this.interactedStream=new Ge,this._editable=!0,this._optional=!1,this._completedOverride=null,this._customError=null,this._stepperOptions=i||{},this._displayDefaultIndicatorType=!1!==this._stepperOptions.displayDefaultIndicatorType}get editable(){return this._editable}set editable(e){this._editable=vt(e)}get optional(){return this._optional}set optional(e){this._optional=vt(e)}get completed(){return this._completedOverride??this._getDefaultCompleted()}set completed(e){this._completedOverride=vt(e)}_getDefaultCompleted(){return this.stepControl?this.stepControl.valid&&this.interacted:this.interacted}get hasError(){return this._customError??this._getDefaultError()}set hasError(e){this._customError=vt(e)}_getDefaultError(){return this.stepControl&&this.stepControl.invalid&&this.interacted}select(){this._stepper.selected=this}reset(){this.interacted=!1,null!=this._completedOverride&&(this._completedOverride=!1),null!=this._customError&&(this._customError=!1),this.stepControl&&this.stepControl.reset()}ngOnChanges(){this._stepper._stateChanged()}_markAsInteracted(){this.interacted||(this.interacted=!0,this.interactedStream.emit(this))}_showError(){return this._stepperOptions.showError??null!=this._customError}}return t.\u0275fac=function(e){return new(e||t)(D(xn(()=>sm)),D(EN,8))},t.\u0275cmp=Pe({type:t,selectors:[["cdk-step"]],contentQueries:function(e,i,r){if(1&e&&Qt(r,TN,5),2&e){let o;ue(o=de())&&(i.stepLabel=o.first)}},viewQuery:function(e,i){if(1&e&&Oe(ii,7),2&e){let r;ue(r=de())&&(i.content=r.first)}},inputs:{stepControl:"stepControl",label:"label",errorMessage:"errorMessage",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],state:"state",editable:"editable",optional:"optional",completed:"completed",hasError:"hasError"},outputs:{interactedStream:"interacted"},exportAs:["cdkStep"],features:[Tn],ngContentSelectors:ate,decls:1,vars:0,template:function(e,i){1&e&&(Di(),G(0,ste,1,0,"ng-template"))},encapsulation:2,changeDetection:0}),t})(),sm=(()=>{class t{constructor(e,i,r){this._dir=e,this._changeDetectorRef=i,this._elementRef=r,this._destroyed=new pe,this.steps=new Ks,this._sortedHeaders=new Ks,this._linear=!1,this._selectedIndex=0,this.selectionChange=new Ge,this._orientation="horizontal",this._groupId=lte++}get linear(){return this._linear}set linear(e){this._linear=vt(e)}get selectedIndex(){return this._selectedIndex}set selectedIndex(e){const i=Vo(e);this.steps&&this._steps?(this._isValidIndex(i),this.selected?._markAsInteracted(),this._selectedIndex!==i&&!this._anyControlsInvalidOrPending(i)&&(i>=this._selectedIndex||this.steps.toArray()[i].editable)&&this._updateSelectedItemIndex(i)):this._selectedIndex=i}get selected(){return this.steps?this.steps.toArray()[this.selectedIndex]:void 0}set selected(e){this.selectedIndex=e&&this.steps?this.steps.toArray().indexOf(e):-1}get orientation(){return this._orientation}set orientation(e){this._orientation=e,this._keyManager&&this._keyManager.withVerticalOrientation("vertical"===e)}ngAfterContentInit(){this._steps.changes.pipe(ji(this._steps),rn(this._destroyed)).subscribe(e=>{this.steps.reset(e.filter(i=>i._stepper===this)),this.steps.notifyOnChanges()})}ngAfterViewInit(){this._stepHeader.changes.pipe(ji(this._stepHeader),rn(this._destroyed)).subscribe(e=>{this._sortedHeaders.reset(e.toArray().sort((i,r)=>i._elementRef.nativeElement.compareDocumentPosition(r._elementRef.nativeElement)&Node.DOCUMENT_POSITION_FOLLOWING?-1:1)),this._sortedHeaders.notifyOnChanges()}),this._keyManager=new Kp(this._sortedHeaders).withWrap().withHomeAndEnd().withVerticalOrientation("vertical"===this._orientation),(this._dir?this._dir.change:ct()).pipe(ji(this._layoutDirection()),rn(this._destroyed)).subscribe(e=>this._keyManager.withHorizontalOrientation(e)),this._keyManager.updateActiveItem(this._selectedIndex),this.steps.changes.subscribe(()=>{this.selected||(this._selectedIndex=Math.max(this._selectedIndex-1,0))}),this._isValidIndex(this._selectedIndex)||(this._selectedIndex=0)}ngOnDestroy(){this.steps.destroy(),this._sortedHeaders.destroy(),this._destroyed.next(),this._destroyed.complete()}next(){this.selectedIndex=Math.min(this._selectedIndex+1,this.steps.length-1)}previous(){this.selectedIndex=Math.max(this._selectedIndex-1,0)}reset(){this._updateSelectedItemIndex(0),this.steps.forEach(e=>e.reset()),this._stateChanged()}_getStepLabelId(e){return`cdk-step-label-${this._groupId}-${e}`}_getStepContentId(e){return`cdk-step-content-${this._groupId}-${e}`}_stateChanged(){this._changeDetectorRef.markForCheck()}_getAnimationDirection(e){const i=e-this._selectedIndex;return i<0?"rtl"===this._layoutDirection()?"next":"previous":i>0?"rtl"===this._layoutDirection()?"previous":"next":"current"}_getIndicatorType(e,i="number"){const r=this.steps.toArray()[e],o=this._isCurrentStep(e);return r._displayDefaultIndicatorType?this._getDefaultIndicatorLogic(r,o):this._getGuidelineLogic(r,o,i)}_getDefaultIndicatorLogic(e,i){return e._showError()&&e.hasError&&!i?"error":!e.completed||i?"number":e.editable?"edit":"done"}_getGuidelineLogic(e,i,r="number"){return e._showError()&&e.hasError&&!i?"error":e.completed&&!i?"done":e.completed&&i?r:e.editable&&i?"edit":r}_isCurrentStep(e){return this._selectedIndex===e}_getFocusIndex(){return this._keyManager?this._keyManager.activeItemIndex:this._selectedIndex}_updateSelectedItemIndex(e){const i=this.steps.toArray();this.selectionChange.emit({selectedIndex:e,previouslySelectedIndex:this._selectedIndex,selectedStep:i[e],previouslySelectedStep:i[this._selectedIndex]}),this._containsFocus()?this._keyManager.setActiveItem(e):this._keyManager.updateActiveItem(e),this._selectedIndex=e,this._stateChanged()}_onKeydown(e){const i=no(e),r=e.keyCode,o=this._keyManager;null==o.activeItemIndex||i||32!==r&&13!==r?o.onKeydown(e):(this.selectedIndex=o.activeItemIndex,e.preventDefault())}_anyControlsInvalidOrPending(e){return!!(this._linear&&e>=0)&&this.steps.toArray().slice(0,e).some(i=>{const r=i.stepControl;return(r?r.invalid||r.pending||!i.interacted:!i.completed)&&!i.optional&&!i._completedOverride})}_layoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_containsFocus(){const e=this._elementRef.nativeElement,i=jv();return e===i||e.contains(i)}_isValidIndex(e){return e>-1&&(!this.steps||e{class t{constructor(e){this._stepper=e,this.type="submit"}}return t.\u0275fac=function(e){return new(e||t)(D(sm))},t.\u0275dir=fe({type:t,selectors:[["button","cdkStepperNext",""]],hostVars:1,hostBindings:function(e,i){1&e&&ne("click",function(){return i._stepper.next()}),2&e&&ys("type",i.type)},inputs:{type:"type"}}),t})(),ute=(()=>{class t{constructor(e){this._stepper=e,this.type="button"}}return t.\u0275fac=function(e){return new(e||t)(D(sm))},t.\u0275dir=fe({type:t,selectors:[["button","cdkStepperPrevious",""]],hostVars:1,hostBindings:function(e,i){1&e&&ne("click",function(){return i._stepper.previous()}),2&e&&ys("type",i.type)},inputs:{type:"type"}}),t})(),dte=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Ct({type:t}),t.\u0275inj=yt({imports:[vh]}),t})();const hte=["*"];let yb;function am(t){return function fte(){if(void 0===yb&&(yb=null,typeof window<"u")){const t=window;void 0!==t.trustedTypes&&(yb=t.trustedTypes.createPolicy("angular#components",{createHTML:n=>n}))}return yb}()?.createHTML(t)||t}function AN(t){return Error(`Unable to find icon with the name "${t}"`)}function ON(t){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${t}".`)}function IN(t){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${t}".`)}class Nu{constructor(n,e,i){this.url=n,this.svgText=e,this.options=i}}let wb=(()=>{class t{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 Nu(r,null,o))}addSvgIconResolver(e){return this._resolvers.push(e),this}addSvgIconLiteralInNamespace(e,i,r,o){const s=this._sanitizer.sanitize(ci.HTML,r);if(!s)throw IN(r);const a=am(s);return this._addSvgIconConfig(e,i,new Nu("",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 Nu(i,null,r))}addSvgIconSetLiteralInNamespace(e,i,r){const o=this._sanitizer.sanitize(ci.HTML,i);if(!o)throw IN(i);const s=am(o);return this._addSvgIconSetConfig(e,new Nu("",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(ci.RESOURCE_URL,e);if(!i)throw ON(e);const r=this._cachedIconsByUrl.get(i);return r?ct(Cb(r)):this._loadSvgIconFromConfig(new Nu(e,null)).pipe(rr(o=>this._cachedIconsByUrl.set(i,o)),Ne(o=>Cb(o)))}getNamedSvgIcon(e,i=""){const r=PN(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):Jd(AN(r))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?ct(Cb(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe(Ne(i=>Cb(i)))}_getSvgFromIconSetConfigs(e,i){const r=this._extractIconWithNameFromAnySet(e,i);return r?ct(r):$I(i.filter(s=>!s.svgText).map(s=>this._loadSvgIconSetFromConfig(s).pipe(xa(a=>{const c=`Loading icon set URL: ${this._sanitizer.sanitize(ci.RESOURCE_URL,s.url)} failed: ${a.message}`;return this._errorHandler.handleError(new Error(c)),ct(null)})))).pipe(Ne(()=>{const s=this._extractIconWithNameFromAnySet(e,i);if(!s)throw AN(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(rr(i=>e.svgText=i),Ne(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?ct(null):this._fetchIcon(e).pipe(rr(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(am(""));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(am("")),r=e.attributes;for(let o=0;oam(c)),j_(()=>this._inProgressUrlFetches.delete(s)),pn());return this._inProgressUrlFetches.set(s,l),l}_addSvgIconConfig(e,i,r){return this._svgIconConfigs.set(PN(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;rn?n.pathname+n.search:""}}}),RN=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],wte=RN.map(t=>`[${t}]`).join(", "),Cte=/^url\(['"]?#(.*?)['"]?\)$/;let Ste=(()=>{class t extends _te{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=Z.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=vt(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(wte),r=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let o=0;o{const a=i[o],l=a.getAttribute(s),c=l?l.match(Cte):null;if(c){let p=r.get(a);p||(p=[],r.set(a,p)),p.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(di(1)).subscribe(o=>this._setSvgElement(o),o=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${i}:${r}! ${o.message}`))})}}}return t.\u0275fac=function(e){return new(e||t)(D(xe),D(wb),ho("aria-hidden"),D(bte),D(cl),D(vte,8))},t.\u0275cmp=Pe({type:t,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:8,hostBindings:function(e,i){2&e&&(Je("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),Rt("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:[we],ngContentSelectors:hte,decls:1,vars:0,template:function(e,i){1&e&&(Di(),nn(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}),t})(),xte=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Ct({type:t}),t.\u0275inj=yt({imports:[zt,zt]}),t})();function kte(t,n){if(1&t&&mo(0,8),2&t){const e=re();R("ngTemplateOutlet",e.iconOverrides[e.state])("ngTemplateOutletContext",e._getIconContext())}}function Dte(t,n){if(1&t&&(v(0,"span",13),M(1),b()),2&t){const e=re(2);I(1),Qn(e._getDefaultTextForState(e.state))}}function Mte(t,n){if(1&t&&(v(0,"span",14),M(1),b()),2&t){const e=re(2);I(1),Qn(e._intl.completedLabel)}}function Tte(t,n){if(1&t&&(v(0,"span",14),M(1),b()),2&t){const e=re(2);I(1),Qn(e._intl.editableLabel)}}function Ete(t,n){if(1&t&&(v(0,"mat-icon",13),M(1),b()),2&t){const e=re(2);I(1),Qn(e._getDefaultTextForState(e.state))}}function Ate(t,n){if(1&t&&(zi(0,9),G(1,Dte,2,1,"span",10),G(2,Mte,2,1,"span",11),G(3,Tte,2,1,"span",11),G(4,Ete,2,1,"mat-icon",12),Wi()),2&t){const e=re();R("ngSwitch",e.state),I(1),R("ngSwitchCase","number"),I(1),R("ngIf","done"===e.state),I(1),R("ngIf","edit"===e.state)}}function Ote(t,n){if(1&t&&(v(0,"div",15),mo(1,16),b()),2&t){const e=re();I(1),R("ngTemplateOutlet",e._templateLabel().template)}}function Ite(t,n){if(1&t&&(v(0,"div",15),M(1),b()),2&t){const e=re();I(1),Qn(e.label)}}function Pte(t,n){if(1&t&&(v(0,"div",17),M(1),b()),2&t){const e=re();I(1),Qn(e._intl.optionalLabel)}}function Rte(t,n){if(1&t&&(v(0,"div",18),M(1),b()),2&t){const e=re();I(1),Qn(e.errorMessage)}}function Fte(t,n){}function Nte(t,n){if(1&t&&(nn(0),G(1,Fte,0,0,"ng-template",0)),2&t){const e=re();I(1),R("cdkPortalOutlet",e._portal)}}const Lte=["*"];function Bte(t,n){1&t&&Y(0,"div",11)}const FN=function(t,n){return{step:t,i:n}};function Vte(t,n){if(1&t&&(zi(0),mo(1,9),G(2,Bte,1,0,"div",10),Wi()),2&t){const e=n.$implicit,i=n.index,r=n.last;re(2);const o=yi(4);I(1),R("ngTemplateOutlet",o)("ngTemplateOutletContext",$d(3,FN,e,i)),I(1),R("ngIf",!r)}}const NN=function(t){return{animationDuration:t}},LN=function(t,n){return{value:t,params:n}};function Hte(t,n){if(1&t){const e=Zn();v(0,"div",12),ne("@horizontalStepTransition.done",function(r){return ut(e),lt(re(2)._animationDone.next(r))}),mo(1,13),b()}if(2&t){const e=n.$implicit,i=n.index,r=re(2);Rt("mat-horizontal-stepper-content-inactive",r.selectedIndex!==i),R("@horizontalStepTransition",$d(8,LN,r._getAnimationDirection(i),du(6,NN,r._getAnimationDuration())))("id",r._getStepContentId(i)),Je("aria-labelledby",r._getStepLabelId(i)),I(1),R("ngTemplateOutlet",e.content)}}function zte(t,n){if(1&t&&(v(0,"div",4)(1,"div",5),G(2,Vte,3,6,"ng-container",6),b(),v(3,"div",7),G(4,Hte,2,11,"div",8),b()()),2&t){const e=re();I(2),R("ngForOf",e.steps),I(2),R("ngForOf",e.steps)}}function Wte(t,n){if(1&t){const e=Zn();v(0,"div",15),mo(1,9),v(2,"div",16)(3,"div",17),ne("@verticalStepTransition.done",function(r){return ut(e),lt(re(2)._animationDone.next(r))}),v(4,"div",18),mo(5,13),b()()()()}if(2&t){const e=n.$implicit,i=n.index,r=n.last,o=re(2),s=yi(4);I(1),R("ngTemplateOutlet",s)("ngTemplateOutletContext",$d(10,FN,e,i)),I(1),Rt("mat-stepper-vertical-line",!r),I(1),Rt("mat-vertical-stepper-content-inactive",o.selectedIndex!==i),R("@verticalStepTransition",$d(15,LN,o._getAnimationDirection(i),du(13,NN,o._getAnimationDuration())))("id",o._getStepContentId(i)),Je("aria-labelledby",o._getStepLabelId(i)),I(2),R("ngTemplateOutlet",e.content)}}function jte(t,n){if(1&t&&(zi(0),G(1,Wte,6,18,"div",14),Wi()),2&t){const e=re();I(1),R("ngForOf",e.steps)}}function Ute(t,n){if(1&t){const e=Zn();v(0,"mat-step-header",19),ne("click",function(){return lt(ut(e).step.select())})("keydown",function(r){return ut(e),lt(re()._onKeydown(r))}),b()}if(2&t){const e=n.step,i=n.i,r=re();Rt("mat-horizontal-stepper-header","horizontal"===r.orientation)("mat-vertical-stepper-header","vertical"===r.orientation),R("tabIndex",r._getFocusIndex()===i?0:-1)("id",r._getStepLabelId(i))("index",i)("state",r._getIndicatorType(i,e.state))("label",e.stepLabel||e.label)("selected",r.selectedIndex===i)("active",r._stepIsNavigable(i,e))("optional",e.optional)("errorMessage",e.errorMessage)("iconOverrides",r._iconOverrides)("disableRipple",r.disableRipple||!r._stepIsNavigable(i,e))("color",e.color||r.color),Je("aria-posinset",i+1)("aria-setsize",r.steps.length)("aria-controls",r._getStepContentId(i))("aria-selected",r.selectedIndex==i)("aria-label",e.ariaLabel||null)("aria-labelledby",!e.ariaLabel&&e.ariaLabelledby?e.ariaLabelledby:null)("aria-disabled",!r._stepIsNavigable(i,e)||null)}}let Ox=(()=>{class t extends TN{}return t.\u0275fac=function(){let n;return function(i){return(n||(n=Ht(t)))(i||t)}}(),t.\u0275dir=fe({type:t,selectors:[["","matStepLabel",""]],features:[we]}),t})(),Sb=(()=>{class t{constructor(){this.changes=new pe,this.optionalLabel="Optional",this.completedLabel="Completed",this.editableLabel="Editable"}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ee({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const Gte={provide:Sb,deps:[[new Us,new al,Sb]],useFactory:function $te(t){return t||new Sb}},qte=Eu(class extends MN{constructor(n){super(n)}},"primary");let BN=(()=>{class t extends qte{constructor(e,i,r,o){super(r),this._intl=e,this._focusMonitor=i,this._intlSubscription=e.changes.subscribe(()=>o.markForCheck())}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._intlSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._elementRef)}focus(e,i){e?this._focusMonitor.focusVia(this._elementRef,e,i):this._elementRef.nativeElement.focus(i)}_stringLabel(){return this.label instanceof Ox?null:this.label}_templateLabel(){return this.label instanceof Ox?this.label:null}_getHostElement(){return this._elementRef.nativeElement}_getIconContext(){return{index:this.index,active:this.active,optional:this.optional}}_getDefaultTextForState(e){return"number"==e?`${this.index+1}`:"edit"==e?"create":"error"==e?"warning":e}}return t.\u0275fac=function(e){return new(e||t)(D(Sb),D(Ro),D(xe),D(wn))},t.\u0275cmp=Pe({type:t,selectors:[["mat-step-header"]],hostAttrs:["role","tab",1,"mat-step-header"],inputs:{color:"color",state:"state",label:"label",errorMessage:"errorMessage",iconOverrides:"iconOverrides",index:"index",selected:"selected",active:"active",optional:"optional",disableRipple:"disableRipple"},features:[we],decls:10,vars:19,consts:[["matRipple","",1,"mat-step-header-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-step-icon-content",3,"ngSwitch"],[3,"ngTemplateOutlet","ngTemplateOutletContext",4,"ngSwitchCase"],[3,"ngSwitch",4,"ngSwitchDefault"],[1,"mat-step-label"],["class","mat-step-text-label",4,"ngIf"],["class","mat-step-optional",4,"ngIf"],["class","mat-step-sub-label-error",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"ngSwitch"],["aria-hidden","true",4,"ngSwitchCase"],["class","cdk-visually-hidden",4,"ngIf"],["aria-hidden","true",4,"ngSwitchDefault"],["aria-hidden","true"],[1,"cdk-visually-hidden"],[1,"mat-step-text-label"],[3,"ngTemplateOutlet"],[1,"mat-step-optional"],[1,"mat-step-sub-label-error"]],template:function(e,i){1&e&&(Y(0,"div",0),v(1,"div")(2,"div",1),G(3,kte,1,2,"ng-container",2),G(4,Ate,5,4,"ng-container",3),b()(),v(5,"div",4),G(6,Ote,2,1,"div",5),G(7,Ite,2,1,"div",5),G(8,Pte,2,1,"div",6),G(9,Rte,2,1,"div",7),b()),2&e&&(R("matRippleTrigger",i._getHostElement())("matRippleDisabled",i.disableRipple),I(1),l1("mat-step-icon-state-",i.state," mat-step-icon"),Rt("mat-step-icon-selected",i.selected),I(1),R("ngSwitch",!(!i.iconOverrides||!i.iconOverrides[i.state])),I(1),R("ngSwitchCase",!0),I(2),Rt("mat-step-label-active",i.active)("mat-step-label-selected",i.selected)("mat-step-label-error","error"==i.state),I(1),R("ngIf",i._templateLabel()),I(1),R("ngIf",i._stringLabel()),I(1),R("ngIf",i.optional&&"error"!=i.state),I(1),R("ngIf","error"==i.state))},dependencies:[ui,tC,vl,pu,eC,Ste,ss],styles:['.mat-step-header{overflow:hidden;outline:none;cursor:pointer;position:relative;box-sizing:content-box;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-step-header:focus .mat-focus-indicator::before{content:""}.cdk-high-contrast-active .mat-step-header{outline:solid 1px}.cdk-high-contrast-active .mat-step-header[aria-selected=true] .mat-step-label{text-decoration:underline}.cdk-high-contrast-active .mat-step-header[aria-disabled=true]{outline-color:GrayText}.cdk-high-contrast-active .mat-step-header[aria-disabled=true] .mat-step-label,.cdk-high-contrast-active .mat-step-header[aria-disabled=true] .mat-step-icon,.cdk-high-contrast-active .mat-step-header[aria-disabled=true] .mat-step-optional{color:GrayText}.mat-step-optional,.mat-step-sub-label-error{font-size:12px}.mat-step-icon{border-radius:50%;height:24px;width:24px;flex-shrink:0;position:relative}.mat-step-icon-content{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);display:flex}.mat-step-icon .mat-icon{font-size:16px;height:16px;width:16px}.mat-step-icon-state-error .mat-icon{font-size:24px;height:24px;width:24px}.mat-step-label{display:inline-block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:50px;vertical-align:middle}.mat-step-text-label{text-overflow:ellipsis;overflow:hidden}.mat-step-header .mat-step-header-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}'],encapsulation:2,changeDetection:0}),t})();const zN={horizontalStepTransition:Pr("horizontalStepTransition",[In("previous",wt({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"})),In("current",wt({transform:"none",visibility:"inherit"})),In("next",wt({transform:"translate3d(100%, 0, 0)",visibility:"hidden"})),ri("* => *",mi("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)"),{params:{animationDuration:"500ms"}})]),verticalStepTransition:Pr("verticalStepTransition",[In("previous",wt({height:"0px",visibility:"hidden"})),In("next",wt({height:"0px",visibility:"hidden"})),In("current",wt({height:"*",visibility:"inherit"})),ri("* <=> current",mi("{{animationDuration}} cubic-bezier(0.4, 0.0, 0.2, 1)"),{params:{animationDuration:"225ms"}})])};let Yte=(()=>{class t{constructor(e){this.templateRef=e}}return t.\u0275fac=function(e){return new(e||t)(D(ii))},t.\u0275dir=fe({type:t,selectors:[["ng-template","matStepperIcon",""]],inputs:{name:["matStepperIcon","name"]}}),t})(),Kte=(()=>{class t{constructor(e){this._template=e}}return t.\u0275fac=function(e){return new(e||t)(D(ii))},t.\u0275dir=fe({type:t,selectors:[["ng-template","matStepContent",""]]}),t})(),WN=(()=>{class t extends Ax{constructor(e,i,r,o){super(e,o),this._errorStateMatcher=i,this._viewContainerRef=r,this._isSelected=Z.EMPTY}ngAfterContentInit(){this._isSelected=this._stepper.steps.changes.pipe(Ar(()=>this._stepper.selectionChange.pipe(Ne(e=>e.selectedStep===this),ji(this._stepper.selected===this)))).subscribe(e=>{e&&this._lazyContent&&!this._portal&&(this._portal=new Ia(this._lazyContent._template,this._viewContainerRef))})}ngOnDestroy(){this._isSelected.unsubscribe()}isErrorState(e,i){return this._errorStateMatcher.isErrorState(e,i)||!!(e&&e.invalid&&this.interacted)}}return t.\u0275fac=function(e){return new(e||t)(D(xn(()=>jN)),D(bh,4),D(wi),D(EN,8))},t.\u0275cmp=Pe({type:t,selectors:[["mat-step"]],contentQueries:function(e,i,r){if(1&e&&(Qt(r,Ox,5),Qt(r,Kte,5)),2&e){let o;ue(o=de())&&(i.stepLabel=o.first),ue(o=de())&&(i._lazyContent=o.first)}},inputs:{color:"color"},exportAs:["matStep"],features:[_t([{provide:bh,useExisting:t},{provide:Ax,useExisting:t}]),we],ngContentSelectors:Lte,decls:1,vars:0,consts:[[3,"cdkPortalOutlet"]],template:function(e,i){1&e&&(Di(),G(0,Nte,2,1,"ng-template"))},dependencies:[Pa],encapsulation:2,changeDetection:0}),t})(),jN=(()=>{class t extends sm{constructor(e,i,r){super(e,i,r),this.steps=new Ks,this.animationDone=new Ge,this.labelPosition="end",this.headerPosition="top",this._iconOverrides={},this._animationDone=new pe,this._animationDuration="";const o=r.nativeElement.nodeName.toLowerCase();this.orientation="mat-vertical-stepper"===o?"vertical":"horizontal"}get animationDuration(){return this._animationDuration}set animationDuration(e){this._animationDuration=/^\d+$/.test(e)?e+"ms":e}ngAfterContentInit(){super.ngAfterContentInit(),this._icons.forEach(({name:e,templateRef:i})=>this._iconOverrides[e]=i),this.steps.changes.pipe(rn(this._destroyed)).subscribe(()=>{this._stateChanged()}),this._animationDone.pipe(qp((e,i)=>e.fromState===i.fromState&&e.toState===i.toState),rn(this._destroyed)).subscribe(e=>{"current"===e.toState&&this.animationDone.emit()})}_stepIsNavigable(e,i){return i.completed||this.selectedIndex===e||!this.linear}_getAnimationDuration(){return this.animationDuration?this.animationDuration:"horizontal"===this.orientation?"500ms":"225ms"}}return t.\u0275fac=function(e){return new(e||t)(D(io,8),D(wn),D(xe))},t.\u0275cmp=Pe({type:t,selectors:[["mat-stepper"],["mat-vertical-stepper"],["mat-horizontal-stepper"],["","matStepper",""]],contentQueries:function(e,i,r){if(1&e&&(Qt(r,WN,5),Qt(r,Yte,5)),2&e){let o;ue(o=de())&&(i._steps=o),ue(o=de())&&(i._icons=o)}},viewQuery:function(e,i){if(1&e&&Oe(BN,5),2&e){let r;ue(r=de())&&(i._stepHeader=r)}},hostAttrs:["role","tablist"],hostVars:11,hostBindings:function(e,i){2&e&&(Je("aria-orientation",i.orientation),Rt("mat-stepper-horizontal","horizontal"===i.orientation)("mat-stepper-vertical","vertical"===i.orientation)("mat-stepper-label-position-end","horizontal"===i.orientation&&"end"==i.labelPosition)("mat-stepper-label-position-bottom","horizontal"===i.orientation&&"bottom"==i.labelPosition)("mat-stepper-header-position-bottom","bottom"===i.headerPosition))},inputs:{selectedIndex:"selectedIndex",disableRipple:"disableRipple",color:"color",labelPosition:"labelPosition",headerPosition:"headerPosition",animationDuration:"animationDuration"},outputs:{animationDone:"animationDone"},exportAs:["matStepper","matVerticalStepper","matHorizontalStepper"],features:[_t([{provide:sm,useExisting:t}]),we],decls:5,vars:3,consts:[[3,"ngSwitch"],["class","mat-horizontal-stepper-wrapper",4,"ngSwitchCase"],[4,"ngSwitchCase"],["stepTemplate",""],[1,"mat-horizontal-stepper-wrapper"],[1,"mat-horizontal-stepper-header-container"],[4,"ngFor","ngForOf"],[1,"mat-horizontal-content-container"],["class","mat-horizontal-stepper-content","role","tabpanel",3,"id","mat-horizontal-stepper-content-inactive",4,"ngFor","ngForOf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["class","mat-stepper-horizontal-line",4,"ngIf"],[1,"mat-stepper-horizontal-line"],["role","tabpanel",1,"mat-horizontal-stepper-content",3,"id"],[3,"ngTemplateOutlet"],["class","mat-step",4,"ngFor","ngForOf"],[1,"mat-step"],[1,"mat-vertical-content-container"],["role","tabpanel",1,"mat-vertical-stepper-content",3,"id"],[1,"mat-vertical-content"],[3,"tabIndex","id","index","state","label","selected","active","optional","errorMessage","iconOverrides","disableRipple","color","click","keydown"]],template:function(e,i){1&e&&(zi(0,0),G(1,zte,5,2,"div",1),G(2,jte,2,1,"ng-container",2),Wi(),G(3,Ute,1,23,"ng-template",null,3,Zs)),2&e&&(R("ngSwitch",i.orientation),I(1),R("ngSwitchCase","horizontal"),I(1),R("ngSwitchCase","vertical"))},dependencies:[Eo,ui,tC,vl,pu,BN],styles:['.mat-stepper-vertical,.mat-stepper-horizontal{display:block}.mat-horizontal-stepper-header-container{white-space:nowrap;display:flex;align-items:center}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header-container{align-items:flex-start}.mat-stepper-header-position-bottom .mat-horizontal-stepper-header-container{order:1}.mat-stepper-horizontal-line{border-top-width:1px;border-top-style:solid;flex:auto;height:0;margin:0 -16px;min-width:32px}.mat-stepper-label-position-bottom .mat-stepper-horizontal-line{margin:0;min-width:0;position:relative}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before,.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after{border-top-width:1px;border-top-style:solid;content:"";display:inline-block;height:0;position:absolute;width:calc(50% - 20px)}.mat-horizontal-stepper-header{display:flex;height:72px;overflow:hidden;align-items:center;padding:0 24px}.mat-horizontal-stepper-header .mat-step-icon{margin-right:8px;flex:none}[dir=rtl] .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:8px}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header{box-sizing:border-box;flex-direction:column;height:auto}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after{right:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before{left:0}[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:last-child::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:first-child::after{display:none}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-label{padding:16px 0 0 0;text-align:center;width:100%}.mat-vertical-stepper-header{display:flex;align-items:center;height:24px}.mat-vertical-stepper-header .mat-step-icon{margin-right:12px}[dir=rtl] .mat-vertical-stepper-header .mat-step-icon{margin-right:0;margin-left:12px}.mat-horizontal-stepper-wrapper{display:flex;flex-direction:column}.mat-horizontal-stepper-content{outline:0}.mat-horizontal-stepper-content.mat-horizontal-stepper-content-inactive{height:0;overflow:hidden}.mat-horizontal-stepper-content:not(.mat-horizontal-stepper-content-inactive){visibility:inherit !important}.mat-horizontal-content-container{overflow:hidden;padding:0 24px 24px 24px}.cdk-high-contrast-active .mat-horizontal-content-container{outline:solid 1px}.mat-stepper-header-position-bottom .mat-horizontal-content-container{padding:24px 24px 0 24px}.mat-vertical-content-container{margin-left:36px;border:0;position:relative}.cdk-high-contrast-active .mat-vertical-content-container{outline:solid 1px}[dir=rtl] .mat-vertical-content-container{margin-left:0;margin-right:36px}.mat-stepper-vertical-line::before{content:"";position:absolute;left:0;border-left-width:1px;border-left-style:solid}[dir=rtl] .mat-stepper-vertical-line::before{left:auto;right:0}.mat-vertical-stepper-content{overflow:hidden;outline:0}.mat-vertical-stepper-content:not(.mat-vertical-stepper-content-inactive){visibility:inherit !important}.mat-vertical-content{padding:0 24px 24px 24px}.mat-step:last-child .mat-vertical-content-container{border:none}'],encapsulation:2,data:{animation:[zN.horizontalStepTransition,zN.verticalStepTransition]},changeDetection:0}),t})(),Zte=(()=>{class t extends cte{}return t.\u0275fac=function(){let n;return function(i){return(n||(n=Ht(t)))(i||t)}}(),t.\u0275dir=fe({type:t,selectors:[["button","matStepperNext",""]],hostAttrs:[1,"mat-stepper-next"],hostVars:1,hostBindings:function(e,i){2&e&&ys("type",i.type)},inputs:{type:"type"},features:[we]}),t})(),Qte=(()=>{class t extends ute{}return t.\u0275fac=function(){let n;return function(i){return(n||(n=Ht(t)))(i||t)}}(),t.\u0275dir=fe({type:t,selectors:[["button","matStepperPrevious",""]],hostAttrs:[1,"mat-stepper-previous"],hostVars:1,hostBindings:function(e,i){2&e&&ys("type",i.type)},inputs:{type:"type"},features:[we]}),t})(),Xte=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Ct({type:t}),t.\u0275inj=yt({providers:[Gte,bh],imports:[zt,Ao,xc,sb,dte,xte,El,zt]}),t})();function Jte(t,n){1&t&&nn(0)}const UN=["*"];function ene(t,n){}const tne=function(t){return{animationDuration:t}},nne=function(t,n){return{value:t,params:n}},ine=["tabListContainer"],rne=["tabList"],one=["tabListInner"],sne=["nextPaginator"],ane=["previousPaginator"],lne=["tabBodyWrapper"],cne=["tabHeader"];function une(t,n){}function dne(t,n){1&t&&G(0,une,0,0,"ng-template",10),2&t&&R("cdkPortalOutlet",re().$implicit.templateLabel)}function hne(t,n){1&t&&M(0),2&t&&Qn(re().$implicit.textLabel)}function fne(t,n){if(1&t){const e=Zn();v(0,"div",6),ne("click",function(){const r=ut(e),o=r.$implicit,s=r.index,a=re(),l=yi(1);return lt(a._handleClick(o,l,s))})("cdkFocusChange",function(r){const s=ut(e).index;return lt(re()._tabFocusChanged(r,s))}),v(1,"div",7),G(2,dne,1,1,"ng-template",8),G(3,hne,1,1,"ng-template",null,9,Zs),b()()}if(2&t){const e=n.$implicit,i=n.index,r=yi(4),o=re();Rt("mat-tab-label-active",o.selectedIndex===i),R("id",o._getTabLabelId(i))("ngClass",e.labelClass)("disabled",e.disabled)("matRippleDisabled",e.disabled||o.disableRipple),Je("tabIndex",o._getTabIndex(e,i))("aria-posinset",i+1)("aria-setsize",o._tabs.length)("aria-controls",o._getTabContentId(i))("aria-selected",o.selectedIndex===i)("aria-label",e.ariaLabel||null)("aria-labelledby",!e.ariaLabel&&e.ariaLabelledby?e.ariaLabelledby:null),I(2),R("ngIf",e.templateLabel)("ngIfElse",r)}}function pne(t,n){if(1&t){const e=Zn();v(0,"mat-tab-body",11),ne("_onCentered",function(){return ut(e),lt(re()._removeTabBodyWrapperHeight())})("_onCentering",function(r){return ut(e),lt(re()._setTabBodyWrapperHeight(r))}),b()}if(2&t){const e=n.$implicit,i=n.index,r=re();Rt("mat-tab-body-active",r.selectedIndex===i),R("id",r._getTabContentId(i))("ngClass",e.bodyClass)("content",e.content)("position",e.position)("origin",e.origin)("animationDuration",r.animationDuration)("preserveContent",r.preserveContent),Je("tabindex",null!=r.contentTabIndex&&r.selectedIndex===i?r.contentTabIndex:null)("aria-labelledby",r._getTabLabelId(i))}}const mne=new u("MatInkBarPositioner",{providedIn:"root",factory:function gne(){return n=>({left:n?(n.offsetLeft||0)+"px":"0",width:n?(n.offsetWidth||0)+"px":"0"})}});let $N=(()=>{class t{constructor(e,i,r,o){this._elementRef=e,this._ngZone=i,this._inkBarPositioner=r,this._animationMode=o}alignToElement(e){this.show(),this._ngZone.run(()=>{this._ngZone.onStable.pipe(di(1)).subscribe(()=>{const i=this._inkBarPositioner(e),r=this._elementRef.nativeElement;r.style.left=i.left,r.style.width=i.width})})}show(){this._elementRef.nativeElement.style.visibility="visible"}hide(){this._elementRef.nativeElement.style.visibility="hidden"}}return t.\u0275fac=function(e){return new(e||t)(D(xe),D(bt),D(mne),D(nr,8))},t.\u0275dir=fe({type:t,selectors:[["mat-ink-bar"]],hostAttrs:[1,"mat-ink-bar"],hostVars:2,hostBindings:function(e,i){2&e&&Rt("_mat-animation-noopable","NoopAnimations"===i._animationMode)}}),t})();const GN=new u("MatTabContent");let _ne=(()=>{class t{constructor(e){this.template=e}}return t.\u0275fac=function(e){return new(e||t)(D(ii))},t.\u0275dir=fe({type:t,selectors:[["","matTabContent",""]],features:[_t([{provide:GN,useExisting:t}])]}),t})();const qN=new u("MatTabLabel"),YN=new u("MAT_TAB");let vne=(()=>{class t extends vX{constructor(e,i,r){super(e,i),this._closestTab=r}}return t.\u0275fac=function(e){return new(e||t)(D(ii),D(wi),D(YN,8))},t.\u0275dir=fe({type:t,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[_t([{provide:qN,useExisting:t}]),we]}),t})();const bne=os(class{}),KN=new u("MAT_TAB_GROUP");let lm=(()=>{class t extends bne{constructor(e,i){super(),this._viewContainerRef=e,this._closestTabGroup=i,this.textLabel="",this._contentPortal=null,this._stateChanges=new pe,this.position=null,this.origin=null,this.isActive=!1}get templateLabel(){return this._templateLabel}set templateLabel(e){this._setTemplateLabelInput(e)}get content(){return this._contentPortal}ngOnChanges(e){(e.hasOwnProperty("textLabel")||e.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new Ia(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(e){e&&e._closestTab===this&&(this._templateLabel=e)}}return t.\u0275fac=function(e){return new(e||t)(D(wi),D(KN,8))},t.\u0275cmp=Pe({type:t,selectors:[["mat-tab"]],contentQueries:function(e,i,r){if(1&e&&(Qt(r,qN,5),Qt(r,GN,7,ii)),2&e){let o;ue(o=de())&&(i.templateLabel=o.first),ue(o=de())&&(i._explicitContent=o.first)}},viewQuery:function(e,i){if(1&e&&Oe(ii,7),2&e){let r;ue(r=de())&&(i._implicitContent=r.first)}},inputs:{disabled:"disabled",textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},exportAs:["matTab"],features:[_t([{provide:YN,useExisting:t}]),we,Tn],ngContentSelectors:UN,decls:1,vars:0,template:function(e,i){1&e&&(Di(),G(0,Jte,1,0,"ng-template"))},encapsulation:2}),t})();const yne={translateTab:Pr("translateTab",[In("center, void, left-origin-center, right-origin-center",wt({transform:"none"})),In("left",wt({transform:"translate3d(-100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),In("right",wt({transform:"translate3d(100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),ri("* => left, * => right, left => center, right => center",mi("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),ri("void => left-origin-center",[wt({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"}),mi("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),ri("void => right-origin-center",[wt({transform:"translate3d(100%, 0, 0)",visibility:"hidden"}),mi("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])};let wne=(()=>{class t extends Pa{constructor(e,i,r,o){super(e,i,o),this._host=r,this._centeringSub=Z.EMPTY,this._leavingSub=Z.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe(ji(this._host._isCenterPosition(this._host._position))).subscribe(e=>{e&&!this.hasAttached()&&this.attach(this._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this._host.preserveContent||this.detach()})}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(D(cc),D(wi),D(xn(()=>ZN)),D(Xt))},t.\u0275dir=fe({type:t,selectors:[["","matTabBodyHost",""]],features:[we]}),t})(),Cne=(()=>{class t{constructor(e,i,r){this._elementRef=e,this._dir=i,this._dirChangeSubscription=Z.EMPTY,this._translateTabComplete=new pe,this._onCentering=new Ge,this._beforeCentering=new Ge,this._afterLeavingCenter=new Ge,this._onCentered=new Ge(!0),this.animationDuration="500ms",this.preserveContent=!1,i&&(this._dirChangeSubscription=i.change.subscribe(o=>{this._computePositionAnimationState(o),r.markForCheck()})),this._translateTabComplete.pipe(qp((o,s)=>o.fromState===s.fromState&&o.toState===s.toState)).subscribe(o=>{this._isCenterPosition(o.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(o.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}set position(e){this._positionIndex=e,this._computePositionAnimationState()}ngOnInit(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(e){const i=this._isCenterPosition(e.toState);this._beforeCentering.emit(i),i&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(e){return"center"==e||"left-origin-center"==e||"right-origin-center"==e}_computePositionAnimationState(e=this._getLayoutDirection()){this._position=this._positionIndex<0?"ltr"==e?"left":"right":this._positionIndex>0?"ltr"==e?"right":"left":"center"}_computePositionFromOrigin(e){const i=this._getLayoutDirection();return"ltr"==i&&e<=0||"rtl"==i&&e>0?"left-origin-center":"right-origin-center"}}return t.\u0275fac=function(e){return new(e||t)(D(xe),D(io,8),D(wn))},t.\u0275dir=fe({type:t,inputs:{_content:["content","_content"],origin:"origin",animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}}),t})(),ZN=(()=>{class t extends Cne{constructor(e,i,r){super(e,i,r)}}return t.\u0275fac=function(e){return new(e||t)(D(xe),D(io,8),D(wn))},t.\u0275cmp=Pe({type:t,selectors:[["mat-tab-body"]],viewQuery:function(e,i){if(1&e&&Oe(Pa,5),2&e){let r;ue(r=de())&&(i._portalHost=r.first)}},hostAttrs:[1,"mat-tab-body"],features:[we],decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(e,i){1&e&&(v(0,"div",0,1),ne("@translateTab.start",function(o){return i._onTranslateTabStarted(o)})("@translateTab.done",function(o){return i._translateTabComplete.next(o)}),G(2,ene,0,0,"ng-template",2),b()),2&e&&R("@translateTab",$d(3,nne,i._position,du(1,tne,i.animationDuration)))},dependencies:[wne],styles:['.mat-tab-body-content{height:100%;overflow:auto}.mat-tab-group-dynamic-height .mat-tab-body-content{overflow:hidden}.mat-tab-body-content[style*="visibility: hidden"]{display:none}'],encapsulation:2,data:{animation:[yne.translateTab]}}),t})();const QN=new u("MAT_TABS_CONFIG"),Sne=os(class{});let XN=(()=>{class t extends Sne{constructor(e){super(),this.elementRef=e}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}}return t.\u0275fac=function(e){return new(e||t)(D(xe))},t.\u0275dir=fe({type:t,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(e,i){2&e&&(Je("aria-disabled",!!i.disabled),Rt("mat-tab-disabled",i.disabled))},inputs:{disabled:"disabled"},features:[we]}),t})();const JN=ku({passive:!0});let Dne=(()=>{class t{constructor(e,i,r,o,s,a,l){this._elementRef=e,this._changeDetectorRef=i,this._viewportRuler=r,this._dir=o,this._ngZone=s,this._platform=a,this._animationMode=l,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new pe,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new pe,this._disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new Ge,this.indexFocused=new Ge,s.runOutsideAngular(()=>{Oa(e.nativeElement,"mouseleave").pipe(rn(this._destroyed)).subscribe(()=>{this._stopInterval()})})}get disablePagination(){return this._disablePagination}set disablePagination(e){this._disablePagination=vt(e)}get selectedIndex(){return this._selectedIndex}set selectedIndex(e){e=Vo(e),this._selectedIndex!=e&&(this._selectedIndexChanged=!0,this._selectedIndex=e,this._keyManager&&this._keyManager.updateActiveItem(e))}ngAfterViewInit(){Oa(this._previousPaginator.nativeElement,"touchstart",JN).pipe(rn(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),Oa(this._nextPaginator.nativeElement,"touchstart",JN).pipe(rn(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const e=this._dir?this._dir.change:ct("ltr"),i=this._viewportRuler.change(150),r=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new Kp(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap(),this._keyManager.updateActiveItem(this._selectedIndex),this._ngZone.onStable.pipe(di(1)).subscribe(r),Yi(e,i,this._items.changes,this._itemsResized()).pipe(rn(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),r()})}),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.pipe(rn(this._destroyed)).subscribe(o=>{this.indexFocused.emit(o),this._setTabFocus(o)})}_itemsResized(){return"function"!=typeof ResizeObserver?St:this._items.changes.pipe(ji(this._items),Ar(e=>new bn(i=>this._ngZone.runOutsideAngular(()=>{const r=new ResizeObserver(o=>i.next(o));return e.forEach(o=>r.observe(o.elementRef.nativeElement)),()=>{r.disconnect()}}))),QS(1),hi(e=>e.some(i=>i.contentRect.width>0&&i.contentRect.height>0)))}ngAfterContentChecked(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(e){if(!no(e))switch(e.keyCode){case 13:case 32:this.focusIndex!==this.selectedIndex&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(e));break;default:this._keyManager.onKeydown(e)}}_onContentChanges(){const e=this._elementRef.nativeElement.textContent;e!==this._currentTextContent&&(this._currentTextContent=e||"",this._ngZone.run(()=>{this.updatePagination(),this._alignInkBarToSelectedTab(),this._changeDetectorRef.markForCheck()}))}updatePagination(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}get focusIndex(){return this._keyManager?this._keyManager.activeItemIndex:0}set focusIndex(e){!this._isValidIndex(e)||this.focusIndex===e||!this._keyManager||this._keyManager.setActiveItem(e)}_isValidIndex(e){if(!this._items)return!0;const i=this._items?this._items.toArray()[e]:null;return!!i&&!i.disabled}_setTabFocus(e){if(this._showPaginationControls&&this._scrollToLabel(e),this._items&&this._items.length){this._items.toArray()[e].focus();const i=this._tabListContainer.nativeElement;i.scrollLeft="ltr"==this._getLayoutDirection()?0:i.scrollWidth-i.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const e=this.scrollDistance,i="ltr"===this._getLayoutDirection()?-e:e;this._tabList.nativeElement.style.transform=`translateX(${Math.round(i)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(e){this._scrollTo(e)}_scrollHeader(e){return this._scrollTo(this._scrollDistance+("before"==e?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(e){this._stopInterval(),this._scrollHeader(e)}_scrollToLabel(e){if(this.disablePagination)return;const i=this._items?this._items.toArray()[e]:null;if(!i)return;const r=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:o,offsetWidth:s}=i.elementRef.nativeElement;let a,l;"ltr"==this._getLayoutDirection()?(a=o,l=a+s):(l=this._tabListInner.nativeElement.offsetWidth-o,a=l-s);const c=this.scrollDistance,p=this.scrollDistance+r;ap&&(this.scrollDistance+=l-p+60)}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const e=this._tabListInner.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;e||(this.scrollDistance=0),e!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=e}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}_getMaxScrollDistance(){return this._tabListInner.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0}_alignInkBarToSelectedTab(){const e=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,i=e?e.elementRef.nativeElement:null;i?this._inkBar.alignToElement(i):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(e,i){i&&null!=i.button&&0!==i.button||(this._stopInterval(),Jp(650,100).pipe(rn(Yi(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:r,distance:o}=this._scrollHeader(e);(0===o||o>=r)&&this._stopInterval()}))}_scrollTo(e){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const i=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(i,e)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:i,distance:this._scrollDistance}}}return t.\u0275fac=function(e){return new(e||t)(D(xe),D(wn),D(Sc),D(io,8),D(bt),D(dr),D(nr,8))},t.\u0275dir=fe({type:t,inputs:{disablePagination:"disablePagination"}}),t})(),Mne=(()=>{class t extends Dne{constructor(e,i,r,o,s,a,l){super(e,i,r,o,s,a,l),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=vt(e)}_itemSelected(e){e.preventDefault()}}return t.\u0275fac=function(e){return new(e||t)(D(xe),D(wn),D(Sc),D(io,8),D(bt),D(dr),D(nr,8))},t.\u0275dir=fe({type:t,inputs:{disableRipple:"disableRipple"},features:[we]}),t})(),Tne=(()=>{class t extends Mne{constructor(e,i,r,o,s,a,l){super(e,i,r,o,s,a,l)}}return t.\u0275fac=function(e){return new(e||t)(D(xe),D(wn),D(Sc),D(io,8),D(bt),D(dr),D(nr,8))},t.\u0275cmp=Pe({type:t,selectors:[["mat-tab-header"]],contentQueries:function(e,i,r){if(1&e&&Qt(r,XN,4),2&e){let o;ue(o=de())&&(i._items=o)}},viewQuery:function(e,i){if(1&e&&(Oe($N,7),Oe(ine,7),Oe(rne,7),Oe(one,7),Oe(sne,5),Oe(ane,5)),2&e){let r;ue(r=de())&&(i._inkBar=r.first),ue(r=de())&&(i._tabListContainer=r.first),ue(r=de())&&(i._tabList=r.first),ue(r=de())&&(i._tabListInner=r.first),ue(r=de())&&(i._nextPaginator=r.first),ue(r=de())&&(i._previousPaginator=r.first)}},hostAttrs:[1,"mat-tab-header"],hostVars:4,hostBindings:function(e,i){2&e&&Rt("mat-tab-header-pagination-controls-enabled",i._showPaginationControls)("mat-tab-header-rtl","rtl"==i._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[we],ngContentSelectors:UN,decls:14,vars:10,consts:[["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-tab-header-pagination","mat-tab-header-pagination-before","mat-elevation-z4",3,"matRippleDisabled","disabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-tab-header-pagination-chevron"],[1,"mat-tab-label-container",3,"keydown"],["tabListContainer",""],["role","tablist",1,"mat-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-tab-labels"],["tabListInner",""],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-tab-header-pagination","mat-tab-header-pagination-after","mat-elevation-z4",3,"matRippleDisabled","disabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(e,i){1&e&&(Di(),v(0,"button",0,1),ne("click",function(){return i._handlePaginatorClick("before")})("mousedown",function(o){return i._handlePaginatorPress("before",o)})("touchend",function(){return i._stopInterval()}),Y(2,"div",2),b(),v(3,"div",3,4),ne("keydown",function(o){return i._handleKeydown(o)}),v(5,"div",5,6),ne("cdkObserveContent",function(){return i._onContentChanges()}),v(7,"div",7,8),nn(9),b(),Y(10,"mat-ink-bar"),b()(),v(11,"button",9,10),ne("mousedown",function(o){return i._handlePaginatorPress("after",o)})("click",function(){return i._handlePaginatorClick("after")})("touchend",function(){return i._stopInterval()}),Y(13,"div",2),b()),2&e&&(Rt("mat-tab-header-pagination-disabled",i._disableScrollBefore),R("matRippleDisabled",i._disableScrollBefore||i.disableRipple)("disabled",i._disableScrollBefore||null),I(5),Rt("_mat-animation-noopable","NoopAnimations"===i._animationMode),I(6),Rt("mat-tab-header-pagination-disabled",i._disableScrollAfter),R("matRippleDisabled",i._disableScrollAfter||i.disableRipple)("disabled",i._disableScrollAfter||null))},dependencies:[ss,Kv,$N],styles:[".mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-tab-header-pagination::-moz-focus-inner{border:0}.mat-tab-header-pagination-controls-enabled .mat-tab-header-pagination{display:flex}.mat-tab-header-pagination-before,.mat-tab-header-rtl .mat-tab-header-pagination-after{padding-left:4px}.mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-tab-header-rtl .mat-tab-header-pagination-before,.mat-tab-header-pagination-after{padding-right:4px}.mat-tab-header-rtl .mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px}.mat-tab-header-pagination-disabled{box-shadow:none;cursor:default}.mat-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-ink-bar._mat-animation-noopable{transition:none !important;animation:none !important}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}.cdk-high-contrast-active .mat-ink-bar{outline:solid 2px;height:0}.mat-tab-labels{display:flex}[mat-align-tabs=center]>.mat-tab-header .mat-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-tab-header .mat-tab-labels{justify-content:flex-end}.mat-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-tab-list._mat-animation-noopable{transition:none !important;animation:none !important}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}.mat-tab-label::before{margin:5px}@media(max-width: 599px){.mat-tab-label{min-width:72px}}"],encapsulation:2}),t})(),Ene=0;class Ane{}const One=Eu(Ts(class{constructor(t){this._elementRef=t}}),"primary");let Ine=(()=>{class t extends One{constructor(e,i,r,o){super(e),this._changeDetectorRef=i,this._animationMode=o,this._tabs=new Ks,this._indexToSelect=0,this._lastFocusedTabIndex=null,this._tabBodyWrapperHeight=0,this._tabsSubscription=Z.EMPTY,this._tabLabelSubscription=Z.EMPTY,this._dynamicHeight=!1,this._selectedIndex=null,this.headerPosition="above",this._disablePagination=!1,this._preserveContent=!1,this.selectedIndexChange=new Ge,this.focusChange=new Ge,this.animationDone=new Ge,this.selectedTabChange=new Ge(!0),this._groupId=Ene++,this.animationDuration=r&&r.animationDuration?r.animationDuration:"500ms",this.disablePagination=!(!r||null==r.disablePagination)&&r.disablePagination,this.dynamicHeight=!(!r||null==r.dynamicHeight)&&r.dynamicHeight,this.contentTabIndex=r?.contentTabIndex??null,this.preserveContent=!!r?.preserveContent}get dynamicHeight(){return this._dynamicHeight}set dynamicHeight(e){this._dynamicHeight=vt(e)}get selectedIndex(){return this._selectedIndex}set selectedIndex(e){this._indexToSelect=Vo(e,null)}get animationDuration(){return this._animationDuration}set animationDuration(e){this._animationDuration=/^\d+$/.test(e+"")?e+"ms":e}get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(e){this._contentTabIndex=Vo(e,null)}get disablePagination(){return this._disablePagination}set disablePagination(e){this._disablePagination=vt(e)}get preserveContent(){return this._preserveContent}set preserveContent(e){this._preserveContent=vt(e)}get backgroundColor(){return this._backgroundColor}set backgroundColor(e){const i=this._elementRef.nativeElement;i.classList.remove(`mat-background-${this.backgroundColor}`),e&&i.classList.add(`mat-background-${e}`),this._backgroundColor=e}ngAfterContentChecked(){const e=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=e){const i=null==this._selectedIndex;if(!i){this.selectedTabChange.emit(this._createChangeEvent(e));const r=this._tabBodyWrapper.nativeElement;r.style.minHeight=r.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((r,o)=>r.isActive=o===e),i||(this.selectedIndexChange.emit(e),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((i,r)=>{i.position=r-e,null!=this._selectedIndex&&0==i.position&&!i.origin&&(i.origin=e-this._selectedIndex)}),this._selectedIndex!==e&&(this._selectedIndex=e,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{const e=this._clampTabIndex(this._indexToSelect);if(e===this._selectedIndex){const i=this._tabs.toArray();let r;for(let o=0;o{i[e].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(e))})}this._changeDetectorRef.markForCheck()})}_subscribeToAllTabChanges(){this._allTabs.changes.pipe(ji(this._allTabs)).subscribe(e=>{this._tabs.reset(e.filter(i=>i._closestTabGroup===this||!i._closestTabGroup)),this._tabs.notifyOnChanges()})}ngOnDestroy(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()}realignInkBar(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}updatePagination(){this._tabHeader&&this._tabHeader.updatePagination()}focusTab(e){const i=this._tabHeader;i&&(i.focusIndex=e)}_focusChanged(e){this._lastFocusedTabIndex=e,this.focusChange.emit(this._createChangeEvent(e))}_createChangeEvent(e){const i=new Ane;return i.index=e,this._tabs&&this._tabs.length&&(i.tab=this._tabs.toArray()[e]),i}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=Yi(...this._tabs.map(e=>e._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(e){return Math.min(this._tabs.length-1,Math.max(e||0,0))}_getTabLabelId(e){return`mat-tab-label-${this._groupId}-${e}`}_getTabContentId(e){return`mat-tab-content-${this._groupId}-${e}`}_setTabBodyWrapperHeight(e){if(!this._dynamicHeight||!this._tabBodyWrapperHeight)return;const i=this._tabBodyWrapper.nativeElement;i.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(i.style.height=e+"px")}_removeTabBodyWrapperHeight(){const e=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=e.clientHeight,e.style.height="",this.animationDone.emit()}_handleClick(e,i,r){e.disabled||(this.selectedIndex=i.focusIndex=r)}_getTabIndex(e,i){return e.disabled?null:i===(this._lastFocusedTabIndex??this.selectedIndex)?0:-1}_tabFocusChanged(e,i){e&&"mouse"!==e&&"touch"!==e&&(this._tabHeader.focusIndex=i)}}return t.\u0275fac=function(e){return new(e||t)(D(xe),D(wn),D(QN,8),D(nr,8))},t.\u0275dir=fe({type:t,inputs:{dynamicHeight:"dynamicHeight",selectedIndex:"selectedIndex",headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:"contentTabIndex",disablePagination:"disablePagination",preserveContent:"preserveContent",backgroundColor:"backgroundColor"},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},features:[we]}),t})(),xb=(()=>{class t extends Ine{constructor(e,i,r,o){super(e,i,r,o)}}return t.\u0275fac=function(e){return new(e||t)(D(xe),D(wn),D(QN,8),D(nr,8))},t.\u0275cmp=Pe({type:t,selectors:[["mat-tab-group"]],contentQueries:function(e,i,r){if(1&e&&Qt(r,lm,5),2&e){let o;ue(o=de())&&(i._allTabs=o)}},viewQuery:function(e,i){if(1&e&&(Oe(lne,5),Oe(cne,5)),2&e){let r;ue(r=de())&&(i._tabBodyWrapper=r.first),ue(r=de())&&(i._tabHeader=r.first)}},hostAttrs:[1,"mat-tab-group"],hostVars:4,hostBindings:function(e,i){2&e&&Rt("mat-tab-group-dynamic-height",i.dynamicHeight)("mat-tab-group-inverted-header","below"===i.headerPosition)},inputs:{color:"color",disableRipple:"disableRipple"},exportAs:["matTabGroup"],features:[_t([{provide:KN,useExisting:t}]),we],decls:6,vars:7,consts:[[3,"selectedIndex","disableRipple","disablePagination","indexFocused","selectFocusedIndex"],["tabHeader",""],["class","mat-tab-label mat-focus-indicator","role","tab","matTabLabelWrapper","","mat-ripple","","cdkMonitorElementFocus","",3,"id","mat-tab-label-active","ngClass","disabled","matRippleDisabled","click","cdkFocusChange",4,"ngFor","ngForOf"],[1,"mat-tab-body-wrapper"],["tabBodyWrapper",""],["role","tabpanel",3,"id","mat-tab-body-active","ngClass","content","position","origin","animationDuration","preserveContent","_onCentered","_onCentering",4,"ngFor","ngForOf"],["role","tab","matTabLabelWrapper","","mat-ripple","","cdkMonitorElementFocus","",1,"mat-tab-label","mat-focus-indicator",3,"id","ngClass","disabled","matRippleDisabled","click","cdkFocusChange"],[1,"mat-tab-label-content"],[3,"ngIf","ngIfElse"],["tabTextLabel",""],[3,"cdkPortalOutlet"],["role","tabpanel",3,"id","ngClass","content","position","origin","animationDuration","preserveContent","_onCentered","_onCentering"]],template:function(e,i){1&e&&(v(0,"mat-tab-header",0,1),ne("indexFocused",function(o){return i._focusChanged(o)})("selectFocusedIndex",function(o){return i.selectedIndex=o}),G(2,fne,5,15,"div",2),b(),v(3,"div",3,4),G(5,pne,1,11,"mat-tab-body",5),b()),2&e&&(R("selectedIndex",i.selectedIndex||0)("disableRipple",i.disableRipple)("disablePagination",i.disablePagination),I(2),R("ngForOf",i._tabs),I(1),Rt("_mat-animation-noopable","NoopAnimations"===i._animationMode),I(2),R("ngForOf",i._tabs))},dependencies:[Zd,Eo,ui,Pa,ss,tQ,XN,ZN,Tne],styles:[".mat-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-tab-group.mat-tab-group-inverted-header{flex-direction:column-reverse}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}@media(max-width: 599px){.mat-tab-label{padding:0 12px}}@media(max-width: 959px){.mat-tab-label{padding:0 12px}}.mat-tab-group[mat-stretch-tabs]>.mat-tab-header .mat-tab-label{flex-basis:0;flex-grow:1}.mat-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-tab-body-wrapper._mat-animation-noopable{transition:none !important;animation:none !important}.mat-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-tab-body.mat-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-tab-group.mat-tab-group-dynamic-height .mat-tab-body.mat-tab-body-active{overflow-y:hidden}"],encapsulation:2}),t})(),Pne=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Ct({type:t}),t.\u0275inj=yt({imports:[Ao,zt,xc,El,Yp,tb,zt]}),t})(),Rne=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Ct({type:t}),t.\u0275inj=yt({imports:[zt,zt]}),t})();const Fne=["tooltip"],t3="tooltip-panel",n3=ku({passive:!0}),r3=new u("mat-tooltip-scroll-strategy"),Vne={provide:r3,deps:[go],useFactory:function Bne(t){return()=>t.scrollStrategies.reposition({scrollThrottle:20})}},Hne=new u("mat-tooltip-default-options",{providedIn:"root",factory:function zne(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}});let Wne=(()=>{class t{constructor(e,i,r,o,s,a,l,c,p,m,_,C){this._overlay=e,this._elementRef=i,this._scrollDispatcher=r,this._viewContainerRef=o,this._ngZone=s,this._platform=a,this._ariaDescriber=l,this._focusMonitor=c,this._dir=m,this._defaultOptions=_,this._position="below",this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._viewportMargin=8,this._cssClassPrefix="mat",this._showDelay=this._defaultOptions.showDelay,this._hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new pe,this._scrollStrategy=p,this._document=C,_&&(_.position&&(this.position=_.position),_.touchGestures&&(this.touchGestures=_.touchGestures)),m.change.pipe(rn(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})}get position(){return this._position}set position(e){e!==this._position&&(this._position=e,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get disabled(){return this._disabled}set disabled(e){this._disabled=vt(e),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(e){this._showDelay=Vo(e)}get hideDelay(){return this._hideDelay}set hideDelay(e){this._hideDelay=Vo(e),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(e){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=e?String(e).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(e){this._tooltipClass=e,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(rn(this._destroyed)).subscribe(e=>{e?"keyboard"===e&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const e=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([i,r])=>{e.removeEventListener(i,r,n3)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(e,this.message,"tooltip"),this._focusMonitor.stopMonitoring(e)}show(e=this.showDelay){if(this.disabled||!this.message||this._isTooltipVisible())return void this._tooltipInstance?._cancelPendingAnimations();const i=this._createOverlay();this._detach(),this._portal=this._portal||new Ch(this._tooltipComponent,this._viewContainerRef);const r=this._tooltipInstance=i.attach(this._portal).instance;r._triggerElement=this._elementRef.nativeElement,r._mouseLeaveHideDelay=this._hideDelay,r.afterHidden().pipe(rn(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),r.show(e)}hide(e=this.hideDelay){const i=this._tooltipInstance;i&&(i.isVisible()?i.hide(e):(i._cancelPendingAnimations(),this._detach()))}toggle(){this._isTooltipVisible()?this.hide():this.show()}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(){if(this._overlayRef)return this._overlayRef;const e=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),i=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(e);return i.positionChanges.pipe(rn(this._destroyed)).subscribe(r=>{this._updateCurrentPositionClass(r.connectionPair),this._tooltipInstance&&r.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:i,panelClass:`${this._cssClassPrefix}-${t3}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(rn(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(rn(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe(rn(this._destroyed)).subscribe(r=>{this._isTooltipVisible()&&27===r.keyCode&&!no(r)&&(r.preventDefault(),r.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(e){const i=e.getConfig().positionStrategy,r=this._getOrigin(),o=this._getOverlayPosition();i.withPositions([this._addOffset({...r.main,...o.main}),this._addOffset({...r.fallback,...o.fallback})])}_addOffset(e){return e}_getOrigin(){const e=!this._dir||"ltr"==this._dir.value,i=this.position;let r;"above"==i||"below"==i?r={originX:"center",originY:"above"==i?"top":"bottom"}:"before"==i||"left"==i&&e||"right"==i&&!e?r={originX:"start",originY:"center"}:("after"==i||"right"==i&&e||"left"==i&&!e)&&(r={originX:"end",originY:"center"});const{x:o,y:s}=this._invertPosition(r.originX,r.originY);return{main:r,fallback:{originX:o,originY:s}}}_getOverlayPosition(){const e=!this._dir||"ltr"==this._dir.value,i=this.position;let r;"above"==i?r={overlayX:"center",overlayY:"bottom"}:"below"==i?r={overlayX:"center",overlayY:"top"}:"before"==i||"left"==i&&e||"right"==i&&!e?r={overlayX:"end",overlayY:"center"}:("after"==i||"right"==i&&e||"left"==i&&!e)&&(r={overlayX:"start",overlayY:"center"});const{x:o,y:s}=this._invertPosition(r.overlayX,r.overlayY);return{main:r,fallback:{overlayX:o,overlayY:s}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe(di(1),rn(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(e){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=e,this._tooltipInstance._markForCheck())}_invertPosition(e,i){return"above"===this.position||"below"===this.position?"top"===i?i="bottom":"bottom"===i&&(i="top"):"end"===e?e="start":"start"===e&&(e="end"),{x:e,y:i}}_updateCurrentPositionClass(e){const{overlayY:i,originX:r,originY:o}=e;let s;if(s="center"===i?this._dir&&"rtl"===this._dir.value?"end"===r?"left":"right":"start"===r?"left":"right":"bottom"===i&&"top"===o?"above":"below",s!==this._currentPosition){const a=this._overlayRef;if(a){const l=`${this._cssClassPrefix}-${t3}-`;a.removePanelClass(l+this._currentPosition),a.addPanelClass(l+s)}this._currentPosition=s}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",()=>{this._setupPointerExitEventsIfNeeded(),this.show()}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",()=>{this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(),500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const e=[];if(this._platformSupportsMouseEvents())e.push(["mouseleave",i=>{const r=i.relatedTarget;(!r||!this._overlayRef?.overlayElement.contains(r))&&this.hide()}],["wheel",i=>this._wheelListener(i)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const i=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};e.push(["touchend",i],["touchcancel",i])}this._addListeners(e),this._passiveListeners.push(...e)}_addListeners(e){e.forEach(([i,r])=>{this._elementRef.nativeElement.addEventListener(i,r,n3)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(e){if(this._isTooltipVisible()){const i=this._document.elementFromPoint(e.clientX,e.clientY),r=this._elementRef.nativeElement;i!==r&&!r.contains(i)&&this.hide()}}_disableNativeGesturesIfNecessary(){const e=this.touchGestures;if("off"!==e){const i=this._elementRef.nativeElement,r=i.style;("on"===e||"INPUT"!==i.nodeName&&"TEXTAREA"!==i.nodeName)&&(r.userSelect=r.msUserSelect=r.webkitUserSelect=r.MozUserSelect="none"),("on"===e||!i.draggable)&&(r.webkitUserDrag="none"),r.touchAction="none",r.webkitTapHighlightColor="transparent"}}}return t.\u0275fac=function(e){ga()},t.\u0275dir=fe({type:t,inputs:{position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}}),t})(),Ix=(()=>{class t extends Wne{constructor(e,i,r,o,s,a,l,c,p,m,_,C){super(e,i,r,o,s,a,l,c,p,m,_,C),this._tooltipComponent=Une}}return t.\u0275fac=function(e){return new(e||t)(D(go),D(xe),D(AF),D(wi),D(bt),D(dr),D(JS),D(Ro),D(r3),D(io,8),D(Hne,8),D(Xt))},t.\u0275dir=fe({type:t,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],exportAs:["matTooltip"],features:[we]}),t})(),jne=(()=>{class t{constructor(e,i){this._changeDetectorRef=e,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new pe,this._animationsDisabled="NoopAnimations"===i}show(e){clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},e)}hide(e){clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},e)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:e}){(!e||!this._triggerElement.contains(e))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){}_handleAnimationEnd({animationName:e}){(e===this._showAnimation||e===this._hideAnimation)&&this._finalizeAnimation(e===this._showAnimation)}_cancelPendingAnimations(){clearTimeout(this._showTimeoutId),clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(e){e?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(e){const i=this._tooltip.nativeElement,r=this._showAnimation,o=this._hideAnimation;if(i.classList.remove(e?o:r),i.classList.add(e?r:o),this._isVisible=e,e&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const s=getComputedStyle(i);("0s"===s.getPropertyValue("animation-duration")||"none"===s.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}e&&this._onShow(),this._animationsDisabled&&(i.classList.add("_mat-animation-noopable"),this._finalizeAnimation(e))}}return t.\u0275fac=function(e){return new(e||t)(D(wn),D(nr,8))},t.\u0275dir=fe({type:t}),t})(),Une=(()=>{class t extends jne{constructor(e,i,r){super(e,r),this._breakpointObserver=i,this._isHandset=this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)"),this._showAnimation="mat-tooltip-show",this._hideAnimation="mat-tooltip-hide"}}return t.\u0275fac=function(e){return new(e||t)(D(wn),D(Zv),D(nr,8))},t.\u0275cmp=Pe({type:t,selectors:[["mat-tooltip-component"]],viewQuery:function(e,i){if(1&e&&Oe(Fne,7),2&e){let r;ue(r=de())&&(i._tooltip=r.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(e,i){1&e&&ne("mouseleave",function(o){return i._handleMouseLeave(o)}),2&e&&vr("zoom",i.isVisible()?1:null)},features:[we],decls:4,vars:6,consts:[[1,"mat-tooltip",3,"ngClass","animationend"],["tooltip",""]],template:function(e,i){if(1&e&&(v(0,"div",0,1),ne("animationend",function(o){return i._handleAnimationEnd(o)}),es(2,"async"),M(3),b()),2&e){let r;Rt("mat-tooltip-handset",null==(r=wa(2,4,i._isHandset))?null:r.matches),R("ngClass",i.tooltipClass),I(3),Qn(i.message)}},dependencies:[Zd,nC],styles:[".mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis;transform:scale(0)}.mat-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}.mat-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-tooltip-show{0%{opacity:0;transform:scale(0)}50%{opacity:.5;transform:scale(0.99)}100%{opacity:1;transform:scale(1)}}@keyframes mat-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(1)}}.mat-tooltip-show{animation:mat-tooltip-show 200ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-tooltip-hide{animation:mat-tooltip-hide 100ms cubic-bezier(0, 0, 0.2, 1) forwards}"],encapsulation:2,changeDetection:0}),t})(),o3=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Ct({type:t}),t.\u0275inj=yt({providers:[Vne],imports:[tb,Ao,Ou,zt,zt,wh]}),t})(),Lu=(()=>{class t{constructor(){this._vertical=!1,this._inset=!1}get vertical(){return this._vertical}set vertical(e){this._vertical=vt(e)}get inset(){return this._inset}set inset(e){this._inset=vt(e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Pe({type:t,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(e,i){2&e&&(Je("aria-orientation",i.vertical?"vertical":"horizontal"),Rt("mat-divider-vertical",i.vertical)("mat-divider-horizontal",!i.vertical)("mat-divider-inset",i.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(e,i){},styles:[".mat-divider{display:block;margin:0;border-top-width:1px;border-top-style:solid}.mat-divider.mat-divider-vertical{border-top:0;border-right-width:1px;border-right-style:solid}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}"],encapsulation:2,changeDetection:0}),t})(),$ne=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Ct({type:t}),t.\u0275inj=yt({imports:[zt,zt]}),t})();const s3=["*"],Gne=[[["","mat-list-avatar",""],["","mat-list-icon",""],["","matListAvatar",""],["","matListIcon",""]],[["","mat-line",""],["","matLine",""]],"*"],qne=["[mat-list-avatar], [mat-list-icon], [matListAvatar], [matListIcon]","[mat-line], [matLine]","*"],Xne=os(Ts(class{})),Jne=Ts(class{}),l3=new u("MatList"),eie=new u("MatNavList");let tie=(()=>{class t extends Xne{constructor(e){super(),this._elementRef=e,this._stateChanges=new pe,"action-list"===this._getListType()&&(e.nativeElement.classList.add("mat-action-list"),e.nativeElement.setAttribute("role","group"))}_getListType(){const e=this._elementRef.nativeElement.nodeName.toLowerCase();return"mat-list"===e?"list":"mat-action-list"===e?"action-list":null}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return t.\u0275fac=function(e){return new(e||t)(D(xe))},t.\u0275cmp=Pe({type:t,selectors:[["mat-list"],["mat-action-list"]],hostAttrs:[1,"mat-list","mat-list-base"],inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matList"],features:[_t([{provide:l3,useExisting:t}]),we,Tn],ngContentSelectors:s3,decls:1,vars:0,template:function(e,i){1&e&&(Di(),nn(0))},styles:['.mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}button.mat-list-item,button.mat-list-option{padding:0;width:100%;background:none;color:inherit;border:none;outline:inherit;-webkit-tap-highlight-color:rgba(0,0,0,0);text-align:left}[dir=rtl] button.mat-list-item,[dir=rtl] button.mat-list-option{text-align:right}button.mat-list-item::-moz-focus-inner,button.mat-list-option::-moz-focus-inner{border:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:rgba(0,0,0,0);width:100%;padding:0}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{display:block;top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar,.mat-list-base .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list-base .mat-list-item.mat-2-line,.mat-list-base .mat-list-option.mat-2-line{height:72px}.mat-list-base .mat-list-item.mat-3-line,.mat-list-base .mat-list-option.mat-3-line{height:88px}.mat-list-base .mat-list-item.mat-multi-line,.mat-list-base .mat-list-option.mat-multi-line{height:auto}.mat-list-base .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base .mat-list-item .mat-list-text,.mat-list-base .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base .mat-list-item .mat-list-text>*,.mat-list-base .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base .mat-list-item .mat-list-text:empty,.mat-list-base .mat-list-option .mat-list-text:empty{display:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base .mat-list-item .mat-list-avatar,.mat-list-base .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;object-fit:cover}.mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list-base .mat-list-item .mat-list-icon,.mat-list-base .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list-base .mat-list-item .mat-divider,.mat-list-base .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base .mat-list-item .mat-divider,[dir=rtl] .mat-list-base .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list-base[dense]{padding-top:4px;display:block}.mat-list-base[dense] .mat-subheader{height:40px;line-height:8px}.mat-list-base[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list-base[dense] .mat-list-item,.mat-list-base[dense] .mat-list-option{display:block;height:40px;-webkit-tap-highlight-color:rgba(0,0,0,0);width:100%;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-item-content,.mat-list-base[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list-base[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base[dense] .mat-list-item .mat-list-item-ripple,.mat-list-base[dense] .mat-list-option .mat-list-item-ripple{display:block;top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:none}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:none}.mat-list-item-disabled{pointer-events:none}.cdk-high-contrast-active .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active :host .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active .mat-list-option:hover,.cdk-high-contrast-active .mat-nav-list .mat-list-item:hover,.cdk-high-contrast-active mat-action-list .mat-list-item:hover{outline:dotted 1px;z-index:1}.cdk-high-contrast-active .mat-list-single-selected-option::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active [dir=rtl] .mat-list-single-selected-option::after{right:auto;left:16px}@media(hover: none){.mat-list-option:not(.mat-list-single-selected-option):not(.mat-list-item-disabled):hover,.mat-nav-list .mat-list-item:not(.mat-list-item-disabled):hover,.mat-action-list .mat-list-item:not(.mat-list-item-disabled):hover{background:none}}'],encapsulation:2,changeDetection:0}),t})(),c3=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=fe({type:t,selectors:[["","mat-list-avatar",""],["","matListAvatar",""]],hostAttrs:[1,"mat-list-avatar"]}),t})(),u3=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=fe({type:t,selectors:[["","mat-list-icon",""],["","matListIcon",""]],hostAttrs:[1,"mat-list-icon"]}),t})(),nie=(()=>{class t extends Jne{constructor(e,i,r,o){super(),this._element=e,this._isInteractiveList=!1,this._destroyed=new pe,this._disabled=!1,this._isInteractiveList=!!(r||o&&"action-list"===o._getListType()),this._list=r||o;const s=this._getHostElement();"button"===s.nodeName.toLowerCase()&&!s.hasAttribute("type")&&s.setAttribute("type","button"),this._list&&this._list._stateChanges.pipe(rn(this._destroyed)).subscribe(()=>{i.markForCheck()})}get disabled(){return this._disabled||!(!this._list||!this._list.disabled)}set disabled(e){this._disabled=vt(e)}ngAfterContentInit(){!function mF(t,n,e="mat"){t.changes.pipe(ji(t)).subscribe(({length:i})=>{Qp(n,`${e}-2-line`,!1),Qp(n,`${e}-3-line`,!1),Qp(n,`${e}-multi-line`,!1),2===i||3===i?Qp(n,`${e}-${i}-line`,!0):i>3&&Qp(n,`${e}-multi-line`,!0)})}(this._lines,this._element)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_isRippleDisabled(){return!this._isInteractiveList||this.disableRipple||!(!this._list||!this._list.disableRipple)}_getHostElement(){return this._element.nativeElement}}return t.\u0275fac=function(e){return new(e||t)(D(xe),D(wn),D(eie,8),D(l3,8))},t.\u0275cmp=Pe({type:t,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function(e,i,r){if(1&e&&(Qt(r,c3,5),Qt(r,u3,5),Qt(r,pF,5)),2&e){let o;ue(o=de())&&(i._avatar=o.first),ue(o=de())&&(i._icon=o.first),ue(o=de())&&(i._lines=o)}},hostAttrs:[1,"mat-list-item","mat-focus-indicator"],hostVars:4,hostBindings:function(e,i){2&e&&Rt("mat-list-item-disabled",i.disabled)("mat-list-item-with-avatar",i._avatar||i._icon)},inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matListItem"],features:[we],ngContentSelectors:qne,decls:6,vars:2,consts:[[1,"mat-list-item-content"],["mat-ripple","",1,"mat-list-item-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-list-text"]],template:function(e,i){1&e&&(Di(Gne),v(0,"span",0),Y(1,"span",1),nn(2),v(3,"span",2),nn(4,1),b(),nn(5,2),b()),2&e&&(I(1),R("matRippleTrigger",i._getHostElement())("matRippleDisabled",i._isRippleDisabled()))},dependencies:[ss],encapsulation:2,changeDetection:0}),t})(),lie=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Ct({type:t}),t.\u0275inj=yt({imports:[nb,El,zt,ax,Ao,nb,zt,ax,$ne]}),t})();const cie=["panel"];function uie(t,n){if(1&t&&(v(0,"div",0,1),nn(2),b()),2&t){const e=n.id,i=re();R("id",i.id)("ngClass",i._classList),Je("aria-label",i.ariaLabel||null)("aria-labelledby",i._getPanelAriaLabelledby(e))}}const die=["*"];let hie=0;class fie{constructor(n,e){this.source=n,this.option=e}}const pie=Ts(class{}),h3=new u("mat-autocomplete-default-options",{providedIn:"root",factory:function mie(){return{autoActiveFirstOption:!1,autoSelectActiveOption:!1}}});let gie=(()=>{class t extends pie{constructor(e,i,r,o){super(),this._changeDetectorRef=e,this._elementRef=i,this._activeOptionChanges=Z.EMPTY,this.showPanel=!1,this._isOpen=!1,this.displayWith=null,this.optionSelected=new Ge,this.opened=new Ge,this.closed=new Ge,this.optionActivated=new Ge,this._classList={},this.id="mat-autocomplete-"+hie++,this.inertGroups=o?.SAFARI||!1,this._autoActiveFirstOption=!!r.autoActiveFirstOption,this._autoSelectActiveOption=!!r.autoSelectActiveOption}get isOpen(){return this._isOpen&&this.showPanel}get autoActiveFirstOption(){return this._autoActiveFirstOption}set autoActiveFirstOption(e){this._autoActiveFirstOption=vt(e)}get autoSelectActiveOption(){return this._autoSelectActiveOption}set autoSelectActiveOption(e){this._autoSelectActiveOption=vt(e)}set classList(e){this._classList=e&&e.length?function AZ(t,n=/\s+/){const e=[];if(null!=t){const i=Array.isArray(t)?t:`${t}`.split(n);for(const r of i){const o=`${r}`.trim();o&&e.push(o)}}return e}(e).reduce((i,r)=>(i[r]=!0,i),{}):{},this._setVisibilityClasses(this._classList),this._elementRef.nativeElement.className=""}ngAfterContentInit(){this._keyManager=new iF(this.options).withWrap(),this._activeOptionChanges=this._keyManager.change.subscribe(e=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[e]||null})}),this._setVisibility()}ngOnDestroy(){this._activeOptionChanges.unsubscribe()}_setScrollTop(e){this.panel&&(this.panel.nativeElement.scrollTop=e)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options.length,this._setVisibilityClasses(this._classList),this._changeDetectorRef.markForCheck()}_emitSelectEvent(e){const i=new fie(this,e);this.optionSelected.emit(i)}_getPanelAriaLabelledby(e){return this.ariaLabel?null:this.ariaLabelledby?(e?e+" ":"")+this.ariaLabelledby:e}_setVisibilityClasses(e){e[this._visibleClass]=this.showPanel,e[this._hiddenClass]=!this.showPanel}}return t.\u0275fac=function(e){return new(e||t)(D(wn),D(xe),D(h3),D(dr))},t.\u0275dir=fe({type:t,viewQuery:function(e,i){if(1&e&&(Oe(ii,7),Oe(cie,5)),2&e){let r;ue(r=de())&&(i.template=r.first),ue(r=de())&&(i.panel=r.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],displayWith:"displayWith",autoActiveFirstOption:"autoActiveFirstOption",autoSelectActiveOption:"autoSelectActiveOption",panelWidth:"panelWidth",classList:["class","classList"]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},features:[we]}),t})(),_ie=(()=>{class t extends gie{constructor(){super(...arguments),this._visibleClass="mat-autocomplete-visible",this._hiddenClass="mat-autocomplete-hidden"}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=Ht(t)))(i||t)}}(),t.\u0275cmp=Pe({type:t,selectors:[["mat-autocomplete"]],contentQueries:function(e,i,r){if(1&e&&(Qt(r,rb,5),Qt(r,Es,5)),2&e){let o;ue(o=de())&&(i.optionGroups=o),ue(o=de())&&(i.options=o)}},hostAttrs:[1,"mat-autocomplete"],inputs:{disableRipple:"disableRipple"},exportAs:["matAutocomplete"],features:[_t([{provide:ib,useExisting:t}]),we],ngContentSelectors:die,decls:1,vars:0,consts:[["role","listbox",1,"mat-autocomplete-panel",3,"id","ngClass"],["panel",""]],template:function(e,i){1&e&&(Di(),G(0,uie,3,4,"ng-template"))},dependencies:[Zd],styles:[".mat-autocomplete-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;visibility:hidden;max-width:none;max-height:256px;position:relative;width:100%;border-bottom-left-radius:4px;border-bottom-right-radius:4px}.mat-autocomplete-panel.mat-autocomplete-visible{visibility:visible}.mat-autocomplete-panel.mat-autocomplete-hidden{visibility:hidden}.mat-autocomplete-panel-above .mat-autocomplete-panel{border-radius:0;border-top-left-radius:4px;border-top-right-radius:4px}.mat-autocomplete-panel .mat-divider-horizontal{margin-top:-1px}.cdk-high-contrast-active .mat-autocomplete-panel{outline:solid 1px}mat-autocomplete{display:none}"],encapsulation:2,changeDetection:0}),t})();const f3=new u("mat-autocomplete-scroll-strategy"),bie={provide:f3,deps:[go],useFactory:function vie(t){return()=>t.scrollStrategies.reposition()}},yie={provide:Oo,useExisting:xn(()=>p3),multi:!0};let wie=(()=>{class t{constructor(e,i,r,o,s,a,l,c,p,m,_){this._element=e,this._overlay=i,this._viewContainerRef=r,this._zone=o,this._changeDetectorRef=s,this._dir=l,this._formField=c,this._document=p,this._viewportRuler=m,this._defaults=_,this._componentDestroyed=!1,this._autocompleteDisabled=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=Z.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new pe,this._windowBlurHandler=()=>{this._canOpenOnNextFocus=this._document.activeElement!==this._element.nativeElement||this.panelOpen},this._onChange=()=>{},this._onTouched=()=>{},this.position="auto",this.autocompleteAttribute="off",this._overlayAttached=!1,this.optionSelections=Xd(()=>{const C=this.autocomplete?this.autocomplete.options:null;return C?C.changes.pipe(ji(C),Ar(()=>Yi(...C.map(k=>k.onSelectionChange)))):this._zone.onStable.pipe(di(1),Ar(()=>this.optionSelections))}),this._scrollStrategy=a}get autocompleteDisabled(){return this._autocompleteDisabled}set autocompleteDisabled(e){this._autocompleteDisabled=vt(e)}ngAfterViewInit(){const e=this._getWindow();typeof e<"u"&&this._zone.runOutsideAngular(()=>e.addEventListener("blur",this._windowBlurHandler))}ngOnChanges(e){e.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){const e=this._getWindow();typeof e<"u"&&e.removeEventListener("blur",this._windowBlurHandler),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete()}get panelOpen(){return this._overlayAttached&&this.autocomplete.showPanel}openPanel(){this._attachOverlay(),this._floatLabel()}closePanel(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this._zone.run(()=>{this.autocomplete.closed.emit()}),this.autocomplete._isOpen=this._overlayAttached=!1,this._pendingAutoselectedOption=null,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._componentDestroyed||this._changeDetectorRef.detectChanges())}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return Yi(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe(hi(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe(hi(()=>this._overlayAttached)):ct()).pipe(Ne(e=>e instanceof yF?e:null))}get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return Yi(Oa(this._document,"click"),Oa(this._document,"auxclick"),Oa(this._document,"touchend")).pipe(hi(e=>{const i=Cc(e),r=this._formField?this._formField._elementRef.nativeElement:null,o=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&i!==this._element.nativeElement&&this._document.activeElement!==this._element.nativeElement&&(!r||!r.contains(i))&&(!o||!o.contains(i))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(i)}))}writeValue(e){Promise.resolve(null).then(()=>this._assignOptionValue(e))}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this._element.nativeElement.disabled=e}_handleKeydown(e){const i=e.keyCode,r=no(e);if(27===i&&!r&&e.preventDefault(),this.activeOption&&13===i&&this.panelOpen&&!r)this.activeOption._selectViaInteraction(),this._resetActiveItem(),e.preventDefault();else if(this.autocomplete){const o=this.autocomplete._keyManager.activeItem,s=38===i||40===i;9===i||s&&!r&&this.panelOpen?this.autocomplete._keyManager.onKeydown(e):s&&this._canOpen()&&this.openPanel(),(s||this.autocomplete._keyManager.activeItem!==o)&&(this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0),this.autocomplete.autoSelectActiveOption&&this.activeOption&&(this._pendingAutoselectedOption||(this._valueBeforeAutoSelection=this._element.nativeElement.value),this._pendingAutoselectedOption=this.activeOption,this._assignOptionValue(this.activeOption.value)))}}_handleInput(e){let i=e.target,r=i.value;"number"===i.type&&(r=""==r?null:parseFloat(r)),this._previousValue!==r&&(this._previousValue=r,this._pendingAutoselectedOption=null,this._onChange(r),this._canOpen()&&this._document.activeElement===e.target&&this.openPanel())}_handleFocus(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}_handleClick(){this._canOpen()&&!this.panelOpen&&this.openPanel()}_floatLabel(e=!1){this._formField&&"auto"===this._formField.floatLabel&&(e?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField.floatLabel="auto",this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){return Yi(this._zone.onStable.pipe(di(1)),this.autocomplete.options.changes.pipe(rr(()=>this._positionStrategy.reapplyLastPosition()),gb(0))).pipe(Ar(()=>(this._zone.run(()=>{const r=this.panelOpen;this._resetActiveItem(),this.autocomplete._setVisibility(),this._changeDetectorRef.detectChanges(),this.panelOpen&&this._overlayRef.updatePosition(),r!==this.panelOpen&&(this.panelOpen?this.autocomplete.opened.emit():this.autocomplete.closed.emit())}),this.panelClosingActions)),di(1)).subscribe(r=>this._setValueAndClose(r))}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_assignOptionValue(e){const i=this.autocomplete&&this.autocomplete.displayWith?this.autocomplete.displayWith(e):e;this._updateNativeInputValue(i??"")}_updateNativeInputValue(e){this._formField?this._formField._control.value=e:this._element.nativeElement.value=e,this._previousValue=e}_setValueAndClose(e){const i=e?e.source:this._pendingAutoselectedOption;i&&(this._clearPreviousSelectedOption(i),this._assignOptionValue(i.value),this._onChange(i.value),this.autocomplete._emitSelectEvent(i),this._element.nativeElement.focus()),this.closePanel()}_clearPreviousSelectedOption(e){this.autocomplete.options.forEach(i=>{i!==e&&i.selected&&i.deselect()})}_attachOverlay(){let e=this._overlayRef;e?(this._positionStrategy.setOrigin(this._getConnectedElement()),e.updateSize({width:this._getPanelWidth()})):(this._portal=new Ia(this.autocomplete.template,this._viewContainerRef,{id:this._formField?.getLabelId()}),e=this._overlay.create(this._getOverlayConfig()),this._overlayRef=e,this._handleOverlayEvents(e),this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&e&&e.updateSize({width:this._getPanelWidth()})})),e&&!e.hasAttached()&&(e.attach(this._portal),this._closingActionsSubscription=this._subscribeToClosingActions());const i=this.panelOpen;this.autocomplete._setVisibility(),this.autocomplete._isOpen=this._overlayAttached=!0,this.panelOpen&&i!==this.panelOpen&&this.autocomplete.opened.emit()}_getOverlayConfig(){return new Sh({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir,panelClass:this._defaults?.overlayPanelClass})}_getOverlayPosition(){const e=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(e),this._positionStrategy=e,e}_setStrategyPositions(e){const i=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],r=this._aboveClass,o=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:r},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:r}];let s;s="above"===this.position?o:"below"===this.position?i:[...i,...o],e.withPositions(s)}_getConnectedElement(){return this.connectedTo?this.connectedTo.elementRef:this._formField?this._formField.getConnectedOverlayOrigin():this._element}_getPanelWidth(){return this.autocomplete.panelWidth||this._getHostWidth()}_getHostWidth(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width}_resetActiveItem(){const e=this.autocomplete;e.autoActiveFirstOption?e._keyManager.setFirstItemActive():e._keyManager.setActiveItem(-1)}_canOpen(){const e=this._element.nativeElement;return!e.readOnly&&!e.disabled&&!this._autocompleteDisabled}_getWindow(){return this._document?.defaultView||window}_scrollToOption(e){const i=this.autocomplete,r=cx(e,i.options,i.optionGroups);if(0===e&&1===r)i._setScrollTop(0);else if(i.panel){const o=i.options.toArray()[e];if(o){const s=o._getHostElement(),a=wF(s.offsetTop,s.offsetHeight,i._getScrollTop(),i.panel.nativeElement.offsetHeight);i._setScrollTop(a)}}}_handleOverlayEvents(e){e.keydownEvents().subscribe(i=>{(27===i.keyCode&&!no(i)||38===i.keyCode&&no(i,"altKey"))&&(this._pendingAutoselectedOption&&(this._updateNativeInputValue(this._valueBeforeAutoSelection??""),this._pendingAutoselectedOption=null),this._closeKeyEventStream.next(),this._resetActiveItem(),i.stopPropagation(),i.preventDefault())}),e.outsidePointerEvents().subscribe()}}return t.\u0275fac=function(e){return new(e||t)(D(xe),D(go),D(wi),D(bt),D(wn),D(f3),D(io,8),D(mb,9),D(Xt,8),D(Sc),D(h3,8))},t.\u0275dir=fe({type:t,inputs:{autocomplete:["matAutocomplete","autocomplete"],position:["matAutocompletePosition","position"],connectedTo:["matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:["autocomplete","autocompleteAttribute"],autocompleteDisabled:["matAutocompleteDisabled","autocompleteDisabled"]},features:[Tn]}),t})(),p3=(()=>{class t extends wie{constructor(){super(...arguments),this._aboveClass="mat-autocomplete-panel-above"}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=Ht(t)))(i||t)}}(),t.\u0275dir=fe({type:t,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-autocomplete-trigger"],hostVars:7,hostBindings:function(e,i){1&e&&ne("focusin",function(){return i._handleFocus()})("blur",function(){return i._onTouched()})("input",function(o){return i._handleInput(o)})("keydown",function(o){return i._handleKeydown(o)})("click",function(){return i._handleClick()}),2&e&&Je("autocomplete",i.autocompleteAttribute)("role",i.autocompleteDisabled?null:"combobox")("aria-autocomplete",i.autocompleteDisabled?null:"list")("aria-activedescendant",i.panelOpen&&i.activeOption?i.activeOption.id:null)("aria-expanded",i.autocompleteDisabled?null:i.panelOpen.toString())("aria-owns",i.autocompleteDisabled||!i.panelOpen||null==i.autocomplete?null:i.autocomplete.id)("aria-haspopup",i.autocompleteDisabled?null:"listbox")},exportAs:["matAutocompleteTrigger"],features:[_t([yie]),we]}),t})(),Cie=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Ct({type:t}),t.\u0275inj=yt({providers:[bie],imports:[Ou,ob,zt,Ao,wh,ob,zt]}),t})();const xie=[[["caption"]],[["colgroup"],["col"]]],kie=["caption","colgroup, col"];function Px(t){return class extends t{constructor(...n){super(...n),this._sticky=!1,this._hasStickyChanged=!1}get sticky(){return this._sticky}set sticky(n){const e=this._sticky;this._sticky=vt(n),this._hasStickyChanged=e!==this._sticky}hasStickyChanged(){const n=this._hasStickyChanged;return this._hasStickyChanged=!1,n}resetStickyChanged(){this._hasStickyChanged=!1}}}const Eh=new u("CDK_TABLE");let Ah=(()=>{class t{constructor(e){this.template=e}}return t.\u0275fac=function(e){return new(e||t)(D(ii))},t.\u0275dir=fe({type:t,selectors:[["","cdkCellDef",""]]}),t})(),Oh=(()=>{class t{constructor(e){this.template=e}}return t.\u0275fac=function(e){return new(e||t)(D(ii))},t.\u0275dir=fe({type:t,selectors:[["","cdkHeaderCellDef",""]]}),t})(),kb=(()=>{class t{constructor(e){this.template=e}}return t.\u0275fac=function(e){return new(e||t)(D(ii))},t.\u0275dir=fe({type:t,selectors:[["","cdkFooterCellDef",""]]}),t})();class Eie{}const Aie=Px(Eie);let Il=(()=>{class t extends Aie{constructor(e){super(),this._table=e,this._stickyEnd=!1}get name(){return this._name}set name(e){this._setNameInput(e)}get stickyEnd(){return this._stickyEnd}set stickyEnd(e){const i=this._stickyEnd;this._stickyEnd=vt(e),this._hasStickyChanged=i!==this._stickyEnd}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(e){e&&(this._name=e,this.cssClassFriendlyName=e.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}}return t.\u0275fac=function(e){return new(e||t)(D(Eh,8))},t.\u0275dir=fe({type:t,selectors:[["","cdkColumnDef",""]],contentQueries:function(e,i,r){if(1&e&&(Qt(r,Ah,5),Qt(r,Oh,5),Qt(r,kb,5)),2&e){let o;ue(o=de())&&(i.cell=o.first),ue(o=de())&&(i.headerCell=o.first),ue(o=de())&&(i.footerCell=o.first)}},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:"stickyEnd"},features:[_t([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:t}]),we]}),t})();class Rx{constructor(n,e){e.nativeElement.classList.add(...n._columnCssClassName)}}let Fx=(()=>{class t extends Rx{constructor(e,i){super(e,i)}}return t.\u0275fac=function(e){return new(e||t)(D(Il),D(xe))},t.\u0275dir=fe({type:t,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[we]}),t})(),Nx=(()=>{class t extends Rx{constructor(e,i){if(super(e,i),1===e._table?._elementRef.nativeElement.nodeType){const r=e._table._elementRef.nativeElement.getAttribute("role");i.nativeElement.setAttribute("role","grid"===r||"treegrid"===r?"gridcell":"cell")}}}return t.\u0275fac=function(e){return new(e||t)(D(Il),D(xe))},t.\u0275dir=fe({type:t,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[we]}),t})();class g3{constructor(){this.tasks=[],this.endTasks=[]}}const Lx=new u("_COALESCED_STYLE_SCHEDULER");let _3=(()=>{class t{constructor(e){this._ngZone=e,this._currentSchedule=null,this._destroyed=new pe}schedule(e){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(e)}scheduleEnd(e){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(e)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new g3,this._getScheduleObservable().pipe(rn(this._destroyed)).subscribe(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){const e=this._currentSchedule;this._currentSchedule=new g3;for(const i of e.tasks)i();for(const i of e.endTasks)i()}this._currentSchedule=null}))}_getScheduleObservable(){return this._ngZone.isStable?Bn(Promise.resolve(void 0)):this._ngZone.onStable.pipe(di(1))}}return t.\u0275fac=function(e){return new(e||t)(K(bt))},t.\u0275prov=Ee({token:t,factory:t.\u0275fac}),t})(),Bx=(()=>{class t{constructor(e,i){this.template=e,this._differs=i}ngOnChanges(e){if(!this._columnsDiffer){const i=e.columns&&e.columns.currentValue||[];this._columnsDiffer=this._differs.find(i).create(),this._columnsDiffer.diff(i)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(e){return this instanceof cm?e.headerCell.template:this instanceof um?e.footerCell.template:e.cell.template}}return t.\u0275fac=function(e){return new(e||t)(D(ii),D(pl))},t.\u0275dir=fe({type:t,features:[Tn]}),t})();class Oie extends Bx{}const Iie=Px(Oie);let cm=(()=>{class t extends Iie{constructor(e,i,r){super(e,i),this._table=r}ngOnChanges(e){super.ngOnChanges(e)}}return t.\u0275fac=function(e){return new(e||t)(D(ii),D(pl),D(Eh,8))},t.\u0275dir=fe({type:t,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[we,Tn]}),t})();class Pie extends Bx{}const Rie=Px(Pie);let um=(()=>{class t extends Rie{constructor(e,i,r){super(e,i),this._table=r}ngOnChanges(e){super.ngOnChanges(e)}}return t.\u0275fac=function(e){return new(e||t)(D(ii),D(pl),D(Eh,8))},t.\u0275dir=fe({type:t,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[we,Tn]}),t})(),Db=(()=>{class t extends Bx{constructor(e,i,r){super(e,i),this._table=r}}return t.\u0275fac=function(e){return new(e||t)(D(ii),D(pl),D(Eh,8))},t.\u0275dir=fe({type:t,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[we]}),t})(),Pl=(()=>{class t{constructor(e){this._viewContainer=e,t.mostRecentCellOutlet=this}ngOnDestroy(){t.mostRecentCellOutlet===this&&(t.mostRecentCellOutlet=null)}}return t.mostRecentCellOutlet=null,t.\u0275fac=function(e){return new(e||t)(D(wi))},t.\u0275dir=fe({type:t,selectors:[["","cdkCellOutlet",""]]}),t})(),Vx=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Pe({type:t,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,i){1&e&&mo(0,0)},dependencies:[Pl],encapsulation:2}),t})(),zx=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Pe({type:t,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,i){1&e&&mo(0,0)},dependencies:[Pl],encapsulation:2}),t})(),Mb=(()=>{class t{constructor(e){this.templateRef=e,this._contentClassName="cdk-no-data-row"}}return t.\u0275fac=function(e){return new(e||t)(D(ii))},t.\u0275dir=fe({type:t,selectors:[["ng-template","cdkNoDataRow",""]]}),t})();const v3=["top","bottom","left","right"];class Fie{constructor(n,e,i,r,o=!0,s=!0,a){this._isNativeHtmlTable=n,this._stickCellCss=e,this.direction=i,this._coalescedStyleScheduler=r,this._isBrowser=o,this._needsPositionStickyOnElement=s,this._positionListener=a,this._cachedCellWidths=[],this._borderCellCss={top:`${e}-border-elem-top`,bottom:`${e}-border-elem-bottom`,left:`${e}-border-elem-left`,right:`${e}-border-elem-right`}}clearStickyPositioning(n,e){const i=[];for(const r of n)if(r.nodeType===r.ELEMENT_NODE){i.push(r);for(let o=0;o{for(const r of i)this._removeStickyStyle(r,e)})}updateStickyColumns(n,e,i,r=!0){if(!n.length||!this._isBrowser||!e.some(_=>_)&&!i.some(_=>_))return void(this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]})));const o=n[0],s=o.children.length,a=this._getCellWidths(o,r),l=this._getStickyStartColumnPositions(a,e),c=this._getStickyEndColumnPositions(a,i),p=e.lastIndexOf(!0),m=i.indexOf(!0);this._coalescedStyleScheduler.schedule(()=>{const _="rtl"===this.direction,C=_?"right":"left",k=_?"left":"right";for(const A of n)for(let P=0;Pe[P]?A:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:-1===m?[]:a.slice(m).map((A,P)=>i[P+m]?A:null).reverse()}))})}stickRows(n,e,i){if(!this._isBrowser)return;const r="bottom"===i?n.slice().reverse():n,o="bottom"===i?e.slice().reverse():e,s=[],a=[],l=[];for(let p=0,m=0;p{for(let p=0;p{e.some(r=>!r)?this._removeStickyStyle(i,["bottom"]):this._addStickyStyle(i,"bottom",0,!1)})}_removeStickyStyle(n,e){for(const r of e)n.style[r]="",n.classList.remove(this._borderCellCss[r]);v3.some(r=>-1===e.indexOf(r)&&n.style[r])?n.style.zIndex=this._getCalculatedZIndex(n):(n.style.zIndex="",this._needsPositionStickyOnElement&&(n.style.position=""),n.classList.remove(this._stickCellCss))}_addStickyStyle(n,e,i,r){n.classList.add(this._stickCellCss),r&&n.classList.add(this._borderCellCss[e]),n.style[e]=`${i}px`,n.style.zIndex=this._getCalculatedZIndex(n),this._needsPositionStickyOnElement&&(n.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(n){const e={top:100,bottom:10,left:1,right:1};let i=0;for(const r of v3)n.style[r]&&(i+=e[r]);return i?`${i}`:""}_getCellWidths(n,e=!0){if(!e&&this._cachedCellWidths.length)return this._cachedCellWidths;const i=[],r=n.children;for(let o=0;o0;o--)e[o]&&(i[o]=r,r+=n[o]);return i}}const Wx=new u("CDK_SPL");let Tb=(()=>{class t{constructor(e,i){this.viewContainer=e,this.elementRef=i}}return t.\u0275fac=function(e){return new(e||t)(D(wi),D(xe))},t.\u0275dir=fe({type:t,selectors:[["","rowOutlet",""]]}),t})(),Eb=(()=>{class t{constructor(e,i){this.viewContainer=e,this.elementRef=i}}return t.\u0275fac=function(e){return new(e||t)(D(wi),D(xe))},t.\u0275dir=fe({type:t,selectors:[["","headerRowOutlet",""]]}),t})(),Ab=(()=>{class t{constructor(e,i){this.viewContainer=e,this.elementRef=i}}return t.\u0275fac=function(e){return new(e||t)(D(wi),D(xe))},t.\u0275dir=fe({type:t,selectors:[["","footerRowOutlet",""]]}),t})(),Ob=(()=>{class t{constructor(e,i){this.viewContainer=e,this.elementRef=i}}return t.\u0275fac=function(e){return new(e||t)(D(wi),D(xe))},t.\u0275dir=fe({type:t,selectors:[["","noDataRowOutlet",""]]}),t})(),Ib=(()=>{class t{constructor(e,i,r,o,s,a,l,c,p,m,_,C){this._differs=e,this._changeDetectorRef=i,this._elementRef=r,this._dir=s,this._platform=l,this._viewRepeater=c,this._coalescedStyleScheduler=p,this._viewportRuler=m,this._stickyPositioningListener=_,this._ngZone=C,this._onDestroy=new pe,this._columnDefsByName=new Map,this._customColumnDefs=new Set,this._customRowDefs=new Set,this._customHeaderRowDefs=new Set,this._customFooterRowDefs=new Set,this._headerRowDefChanged=!0,this._footerRowDefChanged=!0,this._stickyColumnStylesNeedReset=!0,this._forceRecalculateCellWidths=!0,this._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this.needsPositionStickyOnElement=!0,this._isShowingNoDataRow=!1,this._multiTemplateDataRows=!1,this._fixedLayout=!1,this.contentChanged=new Ge,this.viewChange=new An({start:0,end:Number.MAX_VALUE}),o||this._elementRef.nativeElement.setAttribute("role","table"),this._document=a,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}get trackBy(){return this._trackByFn}set trackBy(e){this._trackByFn=e}get dataSource(){return this._dataSource}set dataSource(e){this._dataSource!==e&&this._switchDataSource(e)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(e){this._multiTemplateDataRows=vt(e),this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(e){this._fixedLayout=vt(e),this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}ngOnInit(){this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create((e,i)=>this.trackBy?this.trackBy(i.dataIndex,i.data):i),this._viewportRuler.change().pipe(rn(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentChecked(){this._cacheRowDefs(),this._cacheColumnDefs();const i=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||i,this._forceRecalculateCellWidths=i,this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&this.updateStickyColumnStyles(),this._checkStickyStates()}ngOnDestroy(){[this._rowOutlet.viewContainer,this._headerRowOutlet.viewContainer,this._footerRowOutlet.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(e=>{e.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._onDestroy.next(),this._onDestroy.complete(),_x(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();const e=this._dataDiffer.diff(this._renderRows);if(!e)return this._updateNoDataRow(),void this.contentChanged.next();const i=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(e,i,(r,o,s)=>this._getEmbeddedViewArgs(r.item,s),r=>r.item.data,r=>{1===r.operation&&r.context&&this._renderCellTemplateForItem(r.record.item.rowDef,r.context)}),this._updateRowIndexContext(),e.forEachIdentityChange(r=>{i.get(r.currentIndex).context.$implicit=r.item.data}),this._updateNoDataRow(),this._ngZone&&bt.isInAngularZone()?this._ngZone.onStable.pipe(di(1),rn(this._onDestroy)).subscribe(()=>{this.updateStickyColumnStyles()}):this.updateStickyColumnStyles(),this.contentChanged.next()}addColumnDef(e){this._customColumnDefs.add(e)}removeColumnDef(e){this._customColumnDefs.delete(e)}addRowDef(e){this._customRowDefs.add(e)}removeRowDef(e){this._customRowDefs.delete(e)}addHeaderRowDef(e){this._customHeaderRowDefs.add(e),this._headerRowDefChanged=!0}removeHeaderRowDef(e){this._customHeaderRowDefs.delete(e),this._headerRowDefChanged=!0}addFooterRowDef(e){this._customFooterRowDefs.add(e),this._footerRowDefChanged=!0}removeFooterRowDef(e){this._customFooterRowDefs.delete(e),this._footerRowDefChanged=!0}setNoDataRow(e){this._customNoDataRow=e}updateStickyHeaderRowStyles(){const e=this._getRenderedRows(this._headerRowOutlet),r=this._elementRef.nativeElement.querySelector("thead");r&&(r.style.display=e.length?"":"none");const o=this._headerRowDefs.map(s=>s.sticky);this._stickyStyler.clearStickyPositioning(e,["top"]),this._stickyStyler.stickRows(e,o,"top"),this._headerRowDefs.forEach(s=>s.resetStickyChanged())}updateStickyFooterRowStyles(){const e=this._getRenderedRows(this._footerRowOutlet),r=this._elementRef.nativeElement.querySelector("tfoot");r&&(r.style.display=e.length?"":"none");const o=this._footerRowDefs.map(s=>s.sticky);this._stickyStyler.clearStickyPositioning(e,["bottom"]),this._stickyStyler.stickRows(e,o,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,o),this._footerRowDefs.forEach(s=>s.resetStickyChanged())}updateStickyColumnStyles(){const e=this._getRenderedRows(this._headerRowOutlet),i=this._getRenderedRows(this._rowOutlet),r=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...e,...i,...r],["left","right"]),this._stickyColumnStylesNeedReset=!1),e.forEach((o,s)=>{this._addStickyColumnStyles([o],this._headerRowDefs[s])}),this._rowDefs.forEach(o=>{const s=[];for(let a=0;a{this._addStickyColumnStyles([o],this._footerRowDefs[s])}),Array.from(this._columnDefsByName.values()).forEach(o=>o.resetStickyChanged())}_getAllRenderRows(){const e=[],i=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let r=0;r{const a=r&&r.has(s)?r.get(s):[];if(a.length){const l=a.shift();return l.dataIndex=i,l}return{data:e,rowDef:s,dataIndex:i}})}_cacheColumnDefs(){this._columnDefsByName.clear(),Pb(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(i=>{this._columnDefsByName.has(i.name),this._columnDefsByName.set(i.name,i)})}_cacheRowDefs(){this._headerRowDefs=Pb(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=Pb(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=Pb(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const e=this._rowDefs.filter(i=>!i.when);this._defaultRowDef=e[0]}_renderUpdatedColumns(){const e=(s,a)=>s||!!a.getColumnsDiff(),i=this._rowDefs.reduce(e,!1);i&&this._forceRenderDataRows();const r=this._headerRowDefs.reduce(e,!1);r&&this._forceRenderHeaderRows();const o=this._footerRowDefs.reduce(e,!1);return o&&this._forceRenderFooterRows(),i||r||o}_switchDataSource(e){this._data=[],_x(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),e||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=e}_observeRenderChanges(){if(!this.dataSource)return;let e;_x(this.dataSource)?e=this.dataSource.connect(this):function Sie(t){return!!t&&(t instanceof bn||Pt(t.lift)&&Pt(t.subscribe))}(this.dataSource)?e=this.dataSource:Array.isArray(this.dataSource)&&(e=ct(this.dataSource)),this._renderChangeSubscription=e.pipe(rn(this._onDestroy)).subscribe(i=>{this._data=i||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((e,i)=>this._renderRow(this._headerRowOutlet,e,i)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((e,i)=>this._renderRow(this._footerRowOutlet,e,i)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(e,i){const r=Array.from(i.columns||[]).map(a=>this._columnDefsByName.get(a)),o=r.map(a=>a.sticky),s=r.map(a=>a.stickyEnd);this._stickyStyler.updateStickyColumns(e,o,s,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(e){const i=[];for(let r=0;r!o.when||o.when(i,e));else{let o=this._rowDefs.find(s=>s.when&&s.when(i,e))||this._defaultRowDef;o&&r.push(o)}return r}_getEmbeddedViewArgs(e,i){return{templateRef:e.rowDef.template,context:{$implicit:e.data},index:i}}_renderRow(e,i,r,o={}){const s=e.viewContainer.createEmbeddedView(i.template,o,r);return this._renderCellTemplateForItem(i,o),s}_renderCellTemplateForItem(e,i){for(let r of this._getCellTemplates(e))Pl.mostRecentCellOutlet&&Pl.mostRecentCellOutlet._viewContainer.createEmbeddedView(r,i);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const e=this._rowOutlet.viewContainer;for(let i=0,r=e.length;i{const r=this._columnDefsByName.get(i);return e.extractCellTemplate(r)}):[]}_applyNativeTableSections(){const e=this._document.createDocumentFragment(),i=[{tag:"thead",outlets:[this._headerRowOutlet]},{tag:"tbody",outlets:[this._rowOutlet,this._noDataRowOutlet]},{tag:"tfoot",outlets:[this._footerRowOutlet]}];for(const r of i){const o=this._document.createElement(r.tag);o.setAttribute("role","rowgroup");for(const s of r.outlets)o.appendChild(s.elementRef.nativeElement);e.appendChild(o)}this._elementRef.nativeElement.appendChild(e)}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const e=(i,r)=>i||r.hasStickyChanged();this._headerRowDefs.reduce(e,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(e,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(e,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){this._stickyStyler=new Fie(this._isNativeHtmlTable,this.stickyCssClass,this._dir?this._dir.value:"ltr",this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement,this._stickyPositioningListener),(this._dir?this._dir.change:ct()).pipe(rn(this._onDestroy)).subscribe(i=>{this._stickyStyler.direction=i,this.updateStickyColumnStyles()})}_getOwnDefs(e){return e.filter(i=>!i._table||i._table===this)}_updateNoDataRow(){const e=this._customNoDataRow||this._noDataRow;if(!e)return;const i=0===this._rowOutlet.viewContainer.length;if(i===this._isShowingNoDataRow)return;const r=this._noDataRowOutlet.viewContainer;if(i){const o=r.createEmbeddedView(e.templateRef),s=o.rootNodes[0];1===o.rootNodes.length&&s?.nodeType===this._document.ELEMENT_NODE&&(s.setAttribute("role","row"),s.classList.add(e._contentClassName))}else r.clear();this._isShowingNoDataRow=i}}return t.\u0275fac=function(e){return new(e||t)(D(pl),D(wn),D(xe),ho("role"),D(io,8),D(Xt),D(dr),D(nm),D(Lx),D(Sc),D(Wx,12),D(bt,8))},t.\u0275cmp=Pe({type:t,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(e,i,r){if(1&e&&(Qt(r,Mb,5),Qt(r,Il,5),Qt(r,Db,5),Qt(r,cm,5),Qt(r,um,5)),2&e){let o;ue(o=de())&&(i._noDataRow=o.first),ue(o=de())&&(i._contentColumnDefs=o),ue(o=de())&&(i._contentRowDefs=o),ue(o=de())&&(i._contentHeaderRowDefs=o),ue(o=de())&&(i._contentFooterRowDefs=o)}},viewQuery:function(e,i){if(1&e&&(Oe(Tb,7),Oe(Eb,7),Oe(Ab,7),Oe(Ob,7)),2&e){let r;ue(r=de())&&(i._rowOutlet=r.first),ue(r=de())&&(i._headerRowOutlet=r.first),ue(r=de())&&(i._footerRowOutlet=r.first),ue(r=de())&&(i._noDataRowOutlet=r.first)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(e,i){2&e&&Rt("cdk-table-fixed-layout",i.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:"multiTemplateDataRows",fixedLayout:"fixedLayout"},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[_t([{provide:Eh,useExisting:t},{provide:nm,useClass:YF},{provide:Lx,useClass:_3},{provide:Wx,useValue:null}])],ngContentSelectors:kie,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(e,i){1&e&&(Di(xie),nn(0),nn(1,1),mo(2,0)(3,1)(4,2)(5,3))},dependencies:[Tb,Eb,Ab,Ob],styles:[".cdk-table-fixed-layout{table-layout:fixed}"],encapsulation:2}),t})();function Pb(t,n){return t.concat(Array.from(n))}let Lie=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Ct({type:t}),t.\u0275inj=yt({imports:[hx]}),t})();const Bie=[[["caption"]],[["colgroup"],["col"]]],Vie=["caption","colgroup, col"];let Rb=(()=>{class t extends Ib{constructor(){super(...arguments),this.stickyCssClass="mat-table-sticky",this.needsPositionStickyOnElement=!1}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=Ht(t)))(i||t)}}(),t.\u0275cmp=Pe({type:t,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-table"],hostVars:2,hostBindings:function(e,i){2&e&&Rt("mat-table-fixed-layout",i.fixedLayout)},exportAs:["matTable"],features:[_t([{provide:nm,useClass:YF},{provide:Ib,useExisting:t},{provide:Eh,useExisting:t},{provide:Lx,useClass:_3},{provide:Wx,useValue:null}]),we],ngContentSelectors:Vie,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(e,i){1&e&&(Di(Bie),nn(0),nn(1,1),mo(2,0)(3,1)(4,2)(5,3))},dependencies:[Tb,Eb,Ab,Ob],styles:["mat-table{display:block}mat-header-row{min-height:56px}mat-row,mat-footer-row{min-height:48px}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}table.mat-table{border-spacing:0}tr.mat-header-row{height:56px}tr.mat-row,tr.mat-footer-row{height:48px}th.mat-header-cell{text-align:left}[dir=rtl] th.mat-header-cell{text-align:right}th.mat-header-cell,td.mat-cell,td.mat-footer-cell{padding:0;border-bottom-width:1px;border-bottom-style:solid}th.mat-header-cell:first-of-type,td.mat-cell:first-of-type,td.mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] th.mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}th.mat-header-cell:last-of-type,td.mat-cell:last-of-type,td.mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] th.mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}.mat-table-sticky{position:sticky !important}.mat-table-fixed-layout{table-layout:fixed}"],encapsulation:2}),t})(),dm=(()=>{class t extends Ah{}return t.\u0275fac=function(){let n;return function(i){return(n||(n=Ht(t)))(i||t)}}(),t.\u0275dir=fe({type:t,selectors:[["","matCellDef",""]],features:[_t([{provide:Ah,useExisting:t}]),we]}),t})(),hm=(()=>{class t extends Oh{}return t.\u0275fac=function(){let n;return function(i){return(n||(n=Ht(t)))(i||t)}}(),t.\u0275dir=fe({type:t,selectors:[["","matHeaderCellDef",""]],features:[_t([{provide:Oh,useExisting:t}]),we]}),t})(),fm=(()=>{class t extends Il{get name(){return this._name}set name(e){this._setNameInput(e)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=Ht(t)))(i||t)}}(),t.\u0275dir=fe({type:t,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[_t([{provide:Il,useExisting:t},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:t}]),we]}),t})(),pm=(()=>{class t extends Fx{}return t.\u0275fac=function(){let n;return function(i){return(n||(n=Ht(t)))(i||t)}}(),t.\u0275dir=fe({type:t,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-header-cell"],features:[we]}),t})(),Ih=(()=>{class t extends Nx{}return t.\u0275fac=function(){let n;return function(i){return(n||(n=Ht(t)))(i||t)}}(),t.\u0275dir=fe({type:t,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:["role","gridcell",1,"mat-cell"],features:[we]}),t})(),Fb=(()=>{class t extends cm{}return t.\u0275fac=function(){let n;return function(i){return(n||(n=Ht(t)))(i||t)}}(),t.\u0275dir=fe({type:t,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[_t([{provide:cm,useExisting:t}]),we]}),t})(),Nb=(()=>{class t extends Db{}return t.\u0275fac=function(){let n;return function(i){return(n||(n=Ht(t)))(i||t)}}(),t.\u0275dir=fe({type:t,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[_t([{provide:Db,useExisting:t}]),we]}),t})(),Lb=(()=>{class t extends Vx{}return t.\u0275fac=function(){let n;return function(i){return(n||(n=Ht(t)))(i||t)}}(),t.\u0275cmp=Pe({type:t,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-header-row"],exportAs:["matHeaderRow"],features:[_t([{provide:Vx,useExisting:t}]),we],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,i){1&e&&mo(0,0)},dependencies:[Pl],encapsulation:2}),t})(),Bb=(()=>{class t extends zx{}return t.\u0275fac=function(){let n;return function(i){return(n||(n=Ht(t)))(i||t)}}(),t.\u0275cmp=Pe({type:t,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-row"],exportAs:["matRow"],features:[_t([{provide:zx,useExisting:t}]),we],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,i){1&e&&mo(0,0)},dependencies:[Pl],encapsulation:2}),t})(),Vb=(()=>{class t extends Mb{constructor(){super(...arguments),this._contentClassName="mat-no-data-row"}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=Ht(t)))(i||t)}}(),t.\u0275dir=fe({type:t,selectors:[["ng-template","matNoDataRow",""]],features:[_t([{provide:Mb,useExisting:t}]),we]}),t})(),Yie=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Ct({type:t}),t.\u0275inj=yt({imports:[Lie,zt,zt]}),t})();class jx extends class Zie extends class XX{}{constructor(n=[]){super(),this._renderData=new An([]),this._filter=new An(""),this._internalPageChanges=new pe,this._renderChangesSubscription=null,this.sortingDataAccessor=(e,i)=>{const r=e[i];if(YR(r)){const o=Number(r);return o<9007199254740991?o:r}return r},this.sortData=(e,i)=>{const r=i.active,o=i.direction;return r&&""!=o?e.sort((s,a)=>{let l=this.sortingDataAccessor(s,r),c=this.sortingDataAccessor(a,r);const p=typeof l,m=typeof c;p!==m&&("number"===p&&(l+=""),"number"===m&&(c+=""));let _=0;return null!=l&&null!=c?l>c?_=1:l{const r=Object.keys(e).reduce((s,a)=>s+e[a]+"\u25ec","").toLowerCase(),o=i.trim().toLowerCase();return-1!=r.indexOf(o)},this._data=new An(n),this._updateChangeSubscription()}get data(){return this._data.value}set data(n){n=Array.isArray(n)?n:[],this._data.next(n),this._renderChangesSubscription||this._filterData(n)}get filter(){return this._filter.value}set filter(n){this._filter.next(n),this._renderChangesSubscription||this._filterData(this.data)}get sort(){return this._sort}set sort(n){this._sort=n,this._updateChangeSubscription()}get paginator(){return this._paginator}set paginator(n){this._paginator=n,this._updateChangeSubscription()}_updateChangeSubscription(){const n=this._sort?Yi(this._sort.sortChange,this._sort.initialized):ct(null),e=this._paginator?Yi(this._paginator.page,this._internalPageChanges,this._paginator.initialized):ct(null),r=Qd([this._data,this._filter]).pipe(Ne(([a])=>this._filterData(a))),o=Qd([r,n]).pipe(Ne(([a])=>this._orderData(a))),s=Qd([o,e]).pipe(Ne(([a])=>this._pageData(a)));this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=s.subscribe(a=>this._renderData.next(a))}_filterData(n){return this.filteredData=null==this.filter||""===this.filter?n:n.filter(e=>this.filterPredicate(e,this.filter)),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(n){return this.sort?this.sortData(n.slice(),this.sort):n}_pageData(n){if(!this.paginator)return n;const e=this.paginator.pageIndex*this.paginator.pageSize;return n.slice(e,e+this.paginator.pageSize)}_updatePaginator(n){Promise.resolve().then(()=>{const e=this.paginator;if(e&&(e.length=n,e.pageIndex>0)){const i=Math.ceil(e.length/e.pageSize)-1||0,r=Math.min(e.pageIndex,i);r!==e.pageIndex&&(e.pageIndex=r,this._internalPageChanges.next())}})}connect(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}disconnect(){this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=null}}{}function Qie(t,n){if(1&t&&(v(0,"mat-option",19),M(1),b()),2&t){const e=n.$implicit;R("value",e),I(1),vn(" ",e," ")}}function Xie(t,n){if(1&t){const e=Zn();v(0,"mat-form-field",16)(1,"mat-select",17),ne("selectionChange",function(r){return ut(e),lt(re(2)._changePageSize(r.value))}),G(2,Qie,2,2,"mat-option",18),b()()}if(2&t){const e=re(2);R("appearance",e._formFieldAppearance)("color",e.color),I(1),R("value",e.pageSize)("disabled",e.disabled)("panelClass",e.selectConfig.panelClass||"")("disableOptionCentering",e.selectConfig.disableOptionCentering)("aria-label",e._intl.itemsPerPageLabel),I(1),R("ngForOf",e._displayedPageSizeOptions)}}function Jie(t,n){if(1&t&&(v(0,"div",20),M(1),b()),2&t){const e=re(2);I(1),Qn(e.pageSize)}}function ere(t,n){if(1&t&&(v(0,"div",12)(1,"div",13),M(2),b(),G(3,Xie,3,8,"mat-form-field",14),G(4,Jie,2,1,"div",15),b()),2&t){const e=re();I(2),vn(" ",e._intl.itemsPerPageLabel," "),I(1),R("ngIf",e._displayedPageSizeOptions.length>1),I(1),R("ngIf",e._displayedPageSizeOptions.length<=1)}}function tre(t,n){if(1&t){const e=Zn();v(0,"button",21),ne("click",function(){return ut(e),lt(re().firstPage())}),_r(),v(1,"svg",7),Y(2,"path",22),b()()}if(2&t){const e=re();R("matTooltip",e._intl.firstPageLabel)("matTooltipDisabled",e._previousButtonsDisabled())("matTooltipPosition","above")("disabled",e._previousButtonsDisabled()),Je("aria-label",e._intl.firstPageLabel)}}function nre(t,n){if(1&t){const e=Zn();_r(),Yo(),v(0,"button",23),ne("click",function(){return ut(e),lt(re().lastPage())}),_r(),v(1,"svg",7),Y(2,"path",24),b()()}if(2&t){const e=re();R("matTooltip",e._intl.lastPageLabel)("matTooltipDisabled",e._nextButtonsDisabled())("matTooltipPosition","above")("disabled",e._nextButtonsDisabled()),Je("aria-label",e._intl.lastPageLabel)}}let Hb=(()=>{class t{constructor(){this.changes=new pe,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=(e,i,r)=>{if(0==r||0==i)return`0 of ${r}`;const o=e*i;return`${o+1} \u2013 ${o<(r=Math.max(r,0))?Math.min(o+i,r):o+i} of ${r}`}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ee({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const rre={provide:Hb,deps:[[new Us,new al,Hb]],useFactory:function ire(t){return t||new Hb}},sre=new u("MAT_PAGINATOR_DEFAULT_OPTIONS"),are=os(fF(class{}));let lre=(()=>{class t extends are{constructor(e,i,r){if(super(),this._intl=e,this._changeDetectorRef=i,this._pageIndex=0,this._length=0,this._pageSizeOptions=[],this._hidePageSize=!1,this._showFirstLastButtons=!1,this.selectConfig={},this.page=new Ge,this._intlChanges=e.changes.subscribe(()=>this._changeDetectorRef.markForCheck()),r){const{pageSize:o,pageSizeOptions:s,hidePageSize:a,showFirstLastButtons:l}=r;null!=o&&(this._pageSize=o),null!=s&&(this._pageSizeOptions=s),null!=a&&(this._hidePageSize=a),null!=l&&(this._showFirstLastButtons=l)}}get pageIndex(){return this._pageIndex}set pageIndex(e){this._pageIndex=Math.max(Vo(e),0),this._changeDetectorRef.markForCheck()}get length(){return this._length}set length(e){this._length=Vo(e),this._changeDetectorRef.markForCheck()}get pageSize(){return this._pageSize}set pageSize(e){this._pageSize=Math.max(Vo(e),0),this._updateDisplayedPageSizeOptions()}get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(e){this._pageSizeOptions=(e||[]).map(i=>Vo(i)),this._updateDisplayedPageSizeOptions()}get hidePageSize(){return this._hidePageSize}set hidePageSize(e){this._hidePageSize=vt(e)}get showFirstLastButtons(){return this._showFirstLastButtons}set showFirstLastButtons(e){this._showFirstLastButtons=vt(e)}ngOnInit(){this._initialized=!0,this._updateDisplayedPageSizeOptions(),this._markInitialized()}ngOnDestroy(){this._intlChanges.unsubscribe()}nextPage(){if(!this.hasNextPage())return;const e=this.pageIndex;this.pageIndex=this.pageIndex+1,this._emitPageEvent(e)}previousPage(){if(!this.hasPreviousPage())return;const e=this.pageIndex;this.pageIndex=this.pageIndex-1,this._emitPageEvent(e)}firstPage(){if(!this.hasPreviousPage())return;const e=this.pageIndex;this.pageIndex=0,this._emitPageEvent(e)}lastPage(){if(!this.hasNextPage())return;const e=this.pageIndex;this.pageIndex=this.getNumberOfPages()-1,this._emitPageEvent(e)}hasPreviousPage(){return this.pageIndex>=1&&0!=this.pageSize}hasNextPage(){const e=this.getNumberOfPages()-1;return this.pageIndexe-i),this._changeDetectorRef.markForCheck())}_emitPageEvent(e){this.page.emit({previousPageIndex:e,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}}return t.\u0275fac=function(e){ga()},t.\u0275dir=fe({type:t,inputs:{color:"color",pageIndex:"pageIndex",length:"length",pageSize:"pageSize",pageSizeOptions:"pageSizeOptions",hidePageSize:"hidePageSize",showFirstLastButtons:"showFirstLastButtons",selectConfig:"selectConfig"},outputs:{page:"page"},features:[we]}),t})(),Ph=(()=>{class t extends lre{constructor(e,i,r){super(e,i,r),r&&null!=r.formFieldAppearance&&(this._formFieldAppearance=r.formFieldAppearance)}}return t.\u0275fac=function(e){return new(e||t)(D(Hb),D(wn),D(sre,8))},t.\u0275cmp=Pe({type:t,selectors:[["mat-paginator"]],hostAttrs:["role","group",1,"mat-paginator"],inputs:{disabled:"disabled"},exportAs:["matPaginator"],features:[we],decls:14,vars:14,consts:[[1,"mat-paginator-outer-container"],[1,"mat-paginator-container"],["class","mat-paginator-page-size",4,"ngIf"],[1,"mat-paginator-range-actions"],[1,"mat-paginator-range-label"],["mat-icon-button","","type","button","class","mat-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-previous",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["viewBox","0 0 24 24","focusable","false",1,"mat-paginator-icon"],["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-next",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"],["mat-icon-button","","type","button","class","mat-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],[1,"mat-paginator-page-size"],[1,"mat-paginator-page-size-label"],["class","mat-paginator-page-size-select",3,"appearance","color",4,"ngIf"],["class","mat-paginator-page-size-value",4,"ngIf"],[1,"mat-paginator-page-size-select",3,"appearance","color"],[3,"value","disabled","panelClass","disableOptionCentering","aria-label","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[1,"mat-paginator-page-size-value"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"]],template:function(e,i){1&e&&(v(0,"div",0)(1,"div",1),G(2,ere,5,3,"div",2),v(3,"div",3)(4,"div",4),M(5),b(),G(6,tre,3,5,"button",5),v(7,"button",6),ne("click",function(){return i.previousPage()}),_r(),v(8,"svg",7),Y(9,"path",8),b()(),Yo(),v(10,"button",9),ne("click",function(){return i.nextPage()}),_r(),v(11,"svg",7),Y(12,"path",10),b()(),G(13,nre,3,5,"button",11),b()()()),2&e&&(I(2),R("ngIf",!i.hidePageSize),I(3),vn(" ",i._intl.getRangeLabel(i.pageIndex,i.pageSize,i.length)," "),I(1),R("ngIf",i.showFirstLastButtons),I(1),R("matTooltip",i._intl.previousPageLabel)("matTooltipDisabled",i._previousButtonsDisabled())("matTooltipPosition","above")("disabled",i._previousButtonsDisabled()),Je("aria-label",i._intl.previousPageLabel),I(3),R("matTooltip",i._intl.nextPageLabel)("matTooltipDisabled",i._nextButtonsDisabled())("matTooltipPosition","above")("disabled",i._nextButtonsDisabled()),Je("aria-label",i._intl.nextPageLabel),I(3),R("ngIf",i.showFirstLastButtons))},dependencies:[Eo,ui,Ji,Fo,Fa,Es,Ix],styles:[".mat-paginator{display:block}.mat-paginator-outer-container{display:flex}.mat-paginator-container{display:flex;align-items:center;justify-content:flex-end;padding:0 8px;flex-wrap:wrap-reverse;width:100%}.mat-paginator-page-size{display:flex;align-items:baseline;margin-right:8px}[dir=rtl] .mat-paginator-page-size{margin-right:0;margin-left:8px}.mat-paginator-page-size-label{margin:0 4px}.mat-paginator-page-size-select{margin:6px 4px 0 4px;width:56px}.mat-paginator-page-size-select.mat-form-field-appearance-outline{width:64px}.mat-paginator-page-size-select.mat-form-field-appearance-fill{width:64px}.mat-paginator-range-label{margin:0 32px 0 24px}.mat-paginator-range-actions{display:flex;align-items:center}.mat-paginator-icon{display:inline-block;width:28px;fill:currentColor}[dir=rtl] .mat-paginator-icon{transform:rotate(180deg)}.cdk-high-contrast-active .mat-paginator-icon{fill:CanvasText}"],encapsulation:2,changeDetection:0}),t})(),cre=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Ct({type:t}),t.\u0275inj=yt({providers:[rre],imports:[Ao,sb,CN,o3,zt]}),t})();const ure=["mat-sort-header",""];function dre(t,n){if(1&t){const e=Zn();v(0,"div",3),ne("@arrowPosition.start",function(){return ut(e),lt(re()._disableViewStateAnimation=!0)})("@arrowPosition.done",function(){return ut(e),lt(re()._disableViewStateAnimation=!1)}),Y(1,"div",4),v(2,"div",5),Y(3,"div",6)(4,"div",7)(5,"div",8),b()()}if(2&t){const e=re();R("@arrowOpacity",e._getArrowViewState())("@arrowPosition",e._getArrowViewState())("@allowChildren",e._getArrowDirectionState()),I(2),R("@indicator",e._getArrowDirectionState()),I(1),R("@leftPointer",e._getArrowDirectionState()),I(1),R("@rightPointer",e._getArrowDirectionState())}}const hre=["*"],y3=new u("MAT_SORT_DEFAULT_OPTIONS"),fre=fF(os(class{}));let Bu=(()=>{class t extends fre{constructor(e){super(),this._defaultOptions=e,this.sortables=new Map,this._stateChanges=new pe,this.start="asc",this._direction="",this.sortChange=new Ge}get direction(){return this._direction}set direction(e){this._direction=e}get disableClear(){return this._disableClear}set disableClear(e){this._disableClear=vt(e)}register(e){this.sortables.set(e.id,e)}deregister(e){this.sortables.delete(e.id)}sort(e){this.active!=e.id?(this.active=e.id,this.direction=e.start?e.start:this.start):this.direction=this.getNextSortDirection(e),this.sortChange.emit({active:this.active,direction:this.direction})}getNextSortDirection(e){if(!e)return"";let r=function pre(t,n){let e=["asc","desc"];return"desc"==t&&e.reverse(),n||e.push(""),e}(e.start||this.start,e?.disableClear??this.disableClear??!!this._defaultOptions?.disableClear),o=r.indexOf(this.direction)+1;return o>=r.length&&(o=0),r[o]}ngOnInit(){this._markInitialized()}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return t.\u0275fac=function(e){return new(e||t)(D(y3,8))},t.\u0275dir=fe({type:t,selectors:[["","matSort",""]],hostAttrs:[1,"mat-sort"],inputs:{disabled:["matSortDisabled","disabled"],active:["matSortActive","active"],start:["matSortStart","start"],direction:["matSortDirection","direction"],disableClear:["matSortDisableClear","disableClear"]},outputs:{sortChange:"matSortChange"},exportAs:["matSort"],features:[we,Tn]}),t})();const kc=hQ.ENTERING+" "+dQ.STANDARD_CURVE,Rh={indicator:Pr("indicator",[In("active-asc, asc",wt({transform:"translateY(0px)"})),In("active-desc, desc",wt({transform:"translateY(10px)"})),ri("active-asc <=> active-desc",mi(kc))]),leftPointer:Pr("leftPointer",[In("active-asc, asc",wt({transform:"rotate(-45deg)"})),In("active-desc, desc",wt({transform:"rotate(45deg)"})),ri("active-asc <=> active-desc",mi(kc))]),rightPointer:Pr("rightPointer",[In("active-asc, asc",wt({transform:"rotate(45deg)"})),In("active-desc, desc",wt({transform:"rotate(-45deg)"})),ri("active-asc <=> active-desc",mi(kc))]),arrowOpacity:Pr("arrowOpacity",[In("desc-to-active, asc-to-active, active",wt({opacity:1})),In("desc-to-hint, asc-to-hint, hint",wt({opacity:.54})),In("hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",wt({opacity:0})),ri("* => asc, * => desc, * => active, * => hint, * => void",mi("0ms")),ri("* <=> *",mi(kc))]),arrowPosition:Pr("arrowPosition",[ri("* => desc-to-hint, * => desc-to-active",mi(kc,Vp([wt({transform:"translateY(-25%)"}),wt({transform:"translateY(0)"})]))),ri("* => hint-to-desc, * => active-to-desc",mi(kc,Vp([wt({transform:"translateY(0)"}),wt({transform:"translateY(25%)"})]))),ri("* => asc-to-hint, * => asc-to-active",mi(kc,Vp([wt({transform:"translateY(25%)"}),wt({transform:"translateY(0)"})]))),ri("* => hint-to-asc, * => active-to-asc",mi(kc,Vp([wt({transform:"translateY(0)"}),wt({transform:"translateY(-25%)"})]))),In("desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",wt({transform:"translateY(0)"})),In("hint-to-desc, active-to-desc, desc",wt({transform:"translateY(-25%)"})),In("hint-to-asc, active-to-asc, asc",wt({transform:"translateY(25%)"}))]),allowChildren:Pr("allowChildren",[ri("* <=> *",[kv("@*",xv(),{optional:!0})])])};let zb=(()=>{class t{constructor(){this.changes=new pe}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ee({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const gre={provide:zb,deps:[[new Us,new al,zb]],useFactory:function mre(t){return t||new zb}},_re=os(class{});let Ux=(()=>{class t extends _re{constructor(e,i,r,o,s,a,l,c){super(),this._intl=e,this._changeDetectorRef=i,this._sort=r,this._columnDef=o,this._focusMonitor=s,this._elementRef=a,this._ariaDescriber=l,this._showIndicatorHint=!1,this._viewState={},this._arrowDirection="",this._disableViewStateAnimation=!1,this.arrowPosition="after",this._sortActionDescription="Sort",c?.arrowPosition&&(this.arrowPosition=c?.arrowPosition),this._handleStateChanges()}get sortActionDescription(){return this._sortActionDescription}set sortActionDescription(e){this._updateSortActionDescription(e)}get disableClear(){return this._disableClear}set disableClear(e){this._disableClear=vt(e)}ngOnInit(){!this.id&&this._columnDef&&(this.id=this._columnDef.name),this._updateArrowDirection(),this._setAnimationTransitionState({toState:this._isSorted()?"active":this._arrowDirection}),this._sort.register(this),this._sortButton=this._elementRef.nativeElement.querySelector(".mat-sort-header-container"),this._updateSortActionDescription(this._sortActionDescription)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{const i=!!e;i!==this._showIndicatorHint&&(this._setIndicatorHintVisible(i),this._changeDetectorRef.markForCheck())})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._sort.deregister(this),this._rerenderSubscription.unsubscribe()}_setIndicatorHintVisible(e){this._isDisabled()&&e||(this._showIndicatorHint=e,this._isSorted()||(this._updateArrowDirection(),this._setAnimationTransitionState(this._showIndicatorHint?{fromState:this._arrowDirection,toState:"hint"}:{fromState:"hint",toState:this._arrowDirection})))}_setAnimationTransitionState(e){this._viewState=e||{},this._disableViewStateAnimation&&(this._viewState={toState:e.toState})}_toggleOnInteraction(){this._sort.sort(this),("hint"===this._viewState.toState||"active"===this._viewState.toState)&&(this._disableViewStateAnimation=!0)}_handleClick(){this._isDisabled()||this._sort.sort(this)}_handleKeydown(e){!this._isDisabled()&&(32===e.keyCode||13===e.keyCode)&&(e.preventDefault(),this._toggleOnInteraction())}_isSorted(){return this._sort.active==this.id&&("asc"===this._sort.direction||"desc"===this._sort.direction)}_getArrowDirectionState(){return`${this._isSorted()?"active-":""}${this._arrowDirection}`}_getArrowViewState(){const e=this._viewState.fromState;return(e?`${e}-to-`:"")+this._viewState.toState}_updateArrowDirection(){this._arrowDirection=this._isSorted()?this._sort.direction:this.start||this._sort.start}_isDisabled(){return this._sort.disabled||this.disabled}_getAriaSortAttribute(){return this._isSorted()?"asc"==this._sort.direction?"ascending":"descending":"none"}_renderArrow(){return!this._isDisabled()||this._isSorted()}_updateSortActionDescription(e){this._sortButton&&(this._ariaDescriber?.removeDescription(this._sortButton,this._sortActionDescription),this._ariaDescriber?.describe(this._sortButton,e)),this._sortActionDescription=e}_handleStateChanges(){this._rerenderSubscription=Yi(this._sort.sortChange,this._sort._stateChanges,this._intl.changes).subscribe(()=>{this._isSorted()&&(this._updateArrowDirection(),("hint"===this._viewState.toState||"active"===this._viewState.toState)&&(this._disableViewStateAnimation=!0),this._setAnimationTransitionState({fromState:this._arrowDirection,toState:"active"}),this._showIndicatorHint=!1),!this._isSorted()&&this._viewState&&"active"===this._viewState.toState&&(this._disableViewStateAnimation=!1,this._setAnimationTransitionState({fromState:"active",toState:this._arrowDirection})),this._changeDetectorRef.markForCheck()})}}return t.\u0275fac=function(e){return new(e||t)(D(zb),D(wn),D(Bu,8),D("MAT_SORT_HEADER_COLUMN_DEF",8),D(Ro),D(xe),D(JS,8),D(y3,8))},t.\u0275cmp=Pe({type:t,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(e,i){1&e&&ne("click",function(){return i._handleClick()})("keydown",function(o){return i._handleKeydown(o)})("mouseenter",function(){return i._setIndicatorHintVisible(!0)})("mouseleave",function(){return i._setIndicatorHintVisible(!1)}),2&e&&(Je("aria-sort",i._getAriaSortAttribute()),Rt("mat-sort-header-disabled",i._isDisabled()))},inputs:{disabled:"disabled",id:["mat-sort-header","id"],arrowPosition:"arrowPosition",start:"start",sortActionDescription:"sortActionDescription",disableClear:"disableClear"},exportAs:["matSortHeader"],features:[we],attrs:ure,ngContentSelectors:hre,decls:4,vars:7,consts:[[1,"mat-sort-header-container","mat-focus-indicator"],[1,"mat-sort-header-content"],["class","mat-sort-header-arrow",4,"ngIf"],[1,"mat-sort-header-arrow"],[1,"mat-sort-header-stem"],[1,"mat-sort-header-indicator"],[1,"mat-sort-header-pointer-left"],[1,"mat-sort-header-pointer-right"],[1,"mat-sort-header-pointer-middle"]],template:function(e,i){1&e&&(Di(),v(0,"div",0)(1,"div",1),nn(2),b(),G(3,dre,6,6,"div",2),b()),2&e&&(Rt("mat-sort-header-sorted",i._isSorted())("mat-sort-header-position-before","before"===i.arrowPosition),Je("tabindex",i._isDisabled()?null:0)("role",i._isDisabled()?null:"button"),I(3),R("ngIf",i._renderArrow()))},dependencies:[ui],styles:[".mat-sort-header-container{display:flex;cursor:pointer;align-items:center;letter-spacing:normal;outline:0}[mat-sort-header].cdk-keyboard-focused .mat-sort-header-container,[mat-sort-header].cdk-program-focused .mat-sort-header-container{border-bottom:solid 1px currentColor}.mat-sort-header-disabled .mat-sort-header-container{cursor:default}.mat-sort-header-container::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-sort-header-content{text-align:center;display:flex;align-items:center}.mat-sort-header-position-before{flex-direction:row-reverse}.mat-sort-header-arrow{height:12px;width:12px;min-width:12px;position:relative;display:flex;opacity:0}.mat-sort-header-arrow,[dir=rtl] .mat-sort-header-position-before .mat-sort-header-arrow{margin:0 0 0 6px}.mat-sort-header-position-before .mat-sort-header-arrow,[dir=rtl] .mat-sort-header-arrow{margin:0 6px 0 0}.mat-sort-header-stem{background:currentColor;height:10px;width:2px;margin:auto;display:flex;align-items:center}.cdk-high-contrast-active .mat-sort-header-stem{width:0;border-left:solid 2px}.mat-sort-header-indicator{width:100%;height:2px;display:flex;align-items:center;position:absolute;top:0;left:0}.mat-sort-header-pointer-middle{margin:auto;height:2px;width:2px;background:currentColor;transform:rotate(45deg)}.cdk-high-contrast-active .mat-sort-header-pointer-middle{width:0;height:0;border-top:solid 2px;border-left:solid 2px}.mat-sort-header-pointer-left,.mat-sort-header-pointer-right{background:currentColor;width:6px;height:2px;position:absolute;top:0}.cdk-high-contrast-active .mat-sort-header-pointer-left,.cdk-high-contrast-active .mat-sort-header-pointer-right{width:0;height:0;border-left:solid 6px;border-top:solid 2px}.mat-sort-header-pointer-left{transform-origin:right;left:0}.mat-sort-header-pointer-right{transform-origin:left;right:0}"],encapsulation:2,data:{animation:[Rh.indicator,Rh.leftPointer,Rh.rightPointer,Rh.arrowOpacity,Rh.arrowPosition,Rh.allowChildren]},changeDetection:0}),t})(),vre=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Ct({type:t}),t.\u0275inj=yt({providers:[gre],imports:[Ao,zt]}),t})(),bre=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Ct({type:t}),t.\u0275inj=yt({}),t})();const yre=["gutterEls"];function wre(t,n){if(1&t){const e=Zn();v(0,"div",2,3),ne("keydown",function(r){ut(e);const o=re().index;return lt(re().startKeyboardDrag(r,2*o+1,o+1))})("mousedown",function(r){ut(e);const o=re().index;return lt(re().startMouseDrag(r,2*o+1,o+1))})("touchstart",function(r){ut(e);const o=re().index;return lt(re().startMouseDrag(r,2*o+1,o+1))})("mouseup",function(r){ut(e);const o=re().index;return lt(re().clickGutter(r,o+1))})("touchend",function(r){ut(e);const o=re().index;return lt(re().clickGutter(r,o+1))}),Y(2,"div",4),b()}if(2&t){const e=re(),i=e.index,r=e.$implicit,o=re();vr("flex-basis",o.gutterSize,"px")("order",2*i+1),Je("aria-label",o.gutterAriaLabel)("aria-orientation",o.direction)("aria-valuemin",r.minSize)("aria-valuemax",r.maxSize)("aria-valuenow",r.size)("aria-valuetext",o.getAriaAreaSizeText(r.size))}}function Cre(t,n){1&t&&G(0,wre,3,10,"div",1),2&t&&R("ngIf",!1===n.last)}const Sre=["*"];function mm(t){if(void 0!==t.changedTouches&&t.changedTouches.length>0)return{x:t.changedTouches[0].clientX,y:t.changedTouches[0].clientY};if(void 0!==t.clientX&&void 0!==t.clientY)return{x:t.clientX,y:t.clientY};if(void 0!==t.currentTarget){const n=t.currentTarget;return{x:n.offsetLeft,y:n.offsetTop}}return null}function w3(t,n,e){return Math.abs(t.x-n.x)<=e&&Math.abs(t.y-n.y)<=e}function C3(t,n){const e=t.nativeElement.getBoundingClientRect();return"horizontal"===n?e.width:e.height}function gm(t){return"boolean"==typeof t?t:"false"!==t}function Dc(t,n){return null==t?n:(t=Number(t),!isNaN(t)&&t>=0?t:n)}function S3(t,n){if("percent"===t){const e=n.reduce((i,r)=>null!==r?i+r:i,0);return n.every(i=>null!==i)&&e>99.9&&e<100.1}if("pixel"===t)return 1===n.filter(e=>null===e).length}function Wb(t){return null===t.size?null:!0===t.component.lockSize?t.size:null===t.component.minSize?null:t.component.minSize>t.size?t.size:t.component.minSize}function jb(t){return null===t.size?null:!0===t.component.lockSize?t.size:null===t.component.maxSize?null:t.component.maxSize{const s=function kre(t,n,e,i){return 0===e?{areaSnapshot:n,pixelAbsorb:0,percentAfterAbsorption:n.sizePercentAtStart,pixelRemain:0}:0===n.sizePixelAtStart&&e<0?{areaSnapshot:n,pixelAbsorb:0,percentAfterAbsorption:0,pixelRemain:e}:"percent"===t?function Dre(t,n,e){const r=(t.sizePixelAtStart+n)/e*100;if(n>0){if(null!==t.area.maxSize&&r>t.area.maxSize){const o=t.area.maxSize/100*e;return{areaSnapshot:t,pixelAbsorb:o,percentAfterAbsorption:t.area.maxSize,pixelRemain:t.sizePixelAtStart+n-o}}return{areaSnapshot:t,pixelAbsorb:n,percentAfterAbsorption:r>100?100:r,pixelRemain:0}}if(n<0){if(null!==t.area.minSize&&r0?null!==t.area.maxSize&&i>t.area.maxSize?{areaSnapshot:t,pixelAbsorb:t.area.maxSize-t.sizePixelAtStart,percentAfterAbsorption:-1,pixelRemain:i-t.area.maxSize}:{areaSnapshot:t,pixelAbsorb:n,percentAfterAbsorption:-1,pixelRemain:0}:n<0?null!==t.area.minSize&&i{class t{constructor(e,i,r,o,s){this.ngZone=e,this.elRef=i,this.cdRef=r,this.renderer=o,this.gutterClickDeltaPx=2,this._config={direction:"horizontal",unit:"percent",gutterSize:11,gutterStep:1,restrictMove:!1,useTransition:!1,disabled:!1,dir:"ltr",gutterDblClickDuration:0},this.dragStart=new Ge(!1),this.dragEnd=new Ge(!1),this.gutterClick=new Ge(!1),this.gutterDblClick=new Ge(!1),this.dragProgressSubject=new pe,this.dragProgress$=this.dragProgressSubject.asObservable(),this.isDragging=!1,this.isWaitingClear=!1,this.isWaitingInitialMove=!1,this.dragListeners=[],this.snapshot=null,this.startPoint=null,this.endPoint=null,this.displayedAreas=[],this.hiddenAreas=[],this._clickTimeout=null,this.direction=this._direction,this._config=s?Object.assign(this._config,s):this._config,Object.keys(this._config).forEach(a=>{this[a]=this._config[a]})}set direction(e){this._direction="vertical"===e?"vertical":"horizontal",this.renderer.addClass(this.elRef.nativeElement,`as-${this._direction}`),this.renderer.removeClass(this.elRef.nativeElement,"as-"+("vertical"===this._direction?"horizontal":"vertical")),this.build(!1,!1)}get direction(){return this._direction}set unit(e){this._unit="pixel"===e?"pixel":"percent",this.renderer.addClass(this.elRef.nativeElement,`as-${this._unit}`),this.renderer.removeClass(this.elRef.nativeElement,"as-"+("pixel"===this._unit?"percent":"pixel")),this.build(!1,!0)}get unit(){return this._unit}set gutterSize(e){this._gutterSize=Dc(e,11),this.build(!1,!1)}get gutterSize(){return this._gutterSize}set gutterStep(e){this._gutterStep=Dc(e,1)}get gutterStep(){return this._gutterStep}set restrictMove(e){this._restrictMove=gm(e)}get restrictMove(){return this._restrictMove}set useTransition(e){this._useTransition=gm(e),this._useTransition?this.renderer.addClass(this.elRef.nativeElement,"as-transition"):this.renderer.removeClass(this.elRef.nativeElement,"as-transition")}get useTransition(){return this._useTransition}set disabled(e){this._disabled=gm(e),this._disabled?this.renderer.addClass(this.elRef.nativeElement,"as-disabled"):this.renderer.removeClass(this.elRef.nativeElement,"as-disabled")}get disabled(){return this._disabled}set dir(e){this._dir="rtl"===e?"rtl":"ltr",this.renderer.setAttribute(this.elRef.nativeElement,"dir",this._dir)}get dir(){return this._dir}set gutterDblClickDuration(e){this._gutterDblClickDuration=Dc(e,0)}get gutterDblClickDuration(){return this._gutterDblClickDuration}get transitionEnd(){return new bn(e=>this.transitionEndSubscriber=e).pipe(qv(20))}ngAfterViewInit(){this.ngZone.runOutsideAngular(()=>{setTimeout(()=>this.renderer.addClass(this.elRef.nativeElement,"as-init"))})}getNbGutters(){return 0===this.displayedAreas.length?0:this.displayedAreas.length-1}addArea(e){const i={component:e,order:0,size:0,minSize:null,maxSize:null,sizeBeforeCollapse:null,gutterBeforeCollapse:0};!0===e.visible?(this.displayedAreas.push(i),this.build(!0,!0)):this.hiddenAreas.push(i)}removeArea(e){if(this.displayedAreas.some(i=>i.component===e)){const i=this.displayedAreas.find(r=>r.component===e);this.displayedAreas.splice(this.displayedAreas.indexOf(i),1),this.build(!0,!0)}else if(this.hiddenAreas.some(i=>i.component===e)){const i=this.hiddenAreas.find(r=>r.component===e);this.hiddenAreas.splice(this.hiddenAreas.indexOf(i),1)}}updateArea(e,i,r){!0===e.visible&&this.build(i,r)}showArea(e){const i=this.hiddenAreas.find(o=>o.component===e);if(void 0===i)return;const r=this.hiddenAreas.splice(this.hiddenAreas.indexOf(i),1);this.displayedAreas.push(...r),this.build(!0,!0)}hideArea(e){const i=this.displayedAreas.find(o=>o.component===e);if(void 0===i)return;const r=this.displayedAreas.splice(this.displayedAreas.indexOf(i),1);r.forEach(o=>{o.order=0,o.size=0}),this.hiddenAreas.push(...r),this.build(!0,!0)}getVisibleAreaSizes(){return this.displayedAreas.map(e=>null===e.size?"*":e.size)}setVisibleAreaSizes(e){if(e.length!==this.displayedAreas.length)return!1;const i=e.map(o=>Dc(o,null));return!1!==S3(this.unit,i)&&(this.displayedAreas.forEach((o,s)=>o.component._size=i[s]),this.build(!1,!0),!0)}build(e,i){if(this.stopDragging(),!0===e&&(this.displayedAreas.every(r=>null!==r.component.order)&&this.displayedAreas.sort((r,o)=>r.component.order-o.component.order),this.displayedAreas.forEach((r,o)=>{r.order=2*o,r.component.setStyleOrder(r.order)})),!0===i){const r=S3(this.unit,this.displayedAreas.map(o=>o.component.size));switch(this.unit){case"percent":{const o=100/this.displayedAreas.length;this.displayedAreas.forEach(s=>{s.size=r?s.component.size:o,s.minSize=Wb(s),s.maxSize=jb(s)});break}case"pixel":if(r)this.displayedAreas.forEach(o=>{o.size=o.component.size,o.minSize=Wb(o),o.maxSize=jb(o)});else{const o=this.displayedAreas.filter(s=>null===s.component.size);if(0===o.length&&this.displayedAreas.length>0)this.displayedAreas.forEach((s,a)=>{s.size=0===a?null:s.component.size,s.minSize=0===a?null:Wb(s),s.maxSize=0===a?null:jb(s)});else if(o.length>1){let s=!1;this.displayedAreas.forEach(a=>{null===a.component.size?!1===s?(a.size=null,a.minSize=null,a.maxSize=null,s=!0):(a.size=100,a.minSize=null,a.maxSize=null):(a.size=a.component.size,a.minSize=Wb(a),a.maxSize=jb(a))})}}}}this.refreshStyleSizes(),this.cdRef.markForCheck()}refreshStyleSizes(){if("percent"===this.unit)if(1===this.displayedAreas.length)this.displayedAreas[0].component.setStyleFlex(0,0,"100%",!1,!1);else{const e=this.getNbGutters()*this.gutterSize;this.displayedAreas.forEach(i=>{i.component.setStyleFlex(0,0,`calc( ${i.size}% - ${i.size/100*e}px )`,null!==i.minSize&&i.minSize===i.size,null!==i.maxSize&&i.maxSize===i.size)})}else"pixel"===this.unit&&this.displayedAreas.forEach(e=>{null===e.size?e.component.setStyleFlex(1,1,1===this.displayedAreas.length?"100%":"auto",!1,!1):1===this.displayedAreas.length?e.component.setStyleFlex(0,0,"100%",!1,!1):e.component.setStyleFlex(0,0,`${e.size}px`,null!==e.minSize&&e.minSize===e.size,null!==e.maxSize&&e.maxSize===e.size)})}clickGutter(e,i){const r=mm(e);this.startPoint&&w3(this.startPoint,r,this.gutterClickDeltaPx)&&(!this.isDragging||this.isWaitingInitialMove)&&(null!==this._clickTimeout?(window.clearTimeout(this._clickTimeout),this._clickTimeout=null,this.notify("dblclick",i),this.stopDragging()):this._clickTimeout=window.setTimeout(()=>{this._clickTimeout=null,this.notify("click",i),this.stopDragging()},this.gutterDblClickDuration))}startKeyboardDrag(e,i,r){if(!0===this.disabled||!0===this.isWaitingClear)return;const o=function xre(t,n){if("horizontal"===n)switch(t.key){case"ArrowLeft":case"ArrowRight":case"PageUp":case"PageDown":break;default:return null}if("vertical"===n)switch(t.key){case"ArrowUp":case"ArrowDown":case"PageUp":case"PageDown":break;default:return null}const e=t.currentTarget,i="PageUp"===t.key||"PageDown"===t.key?500:50;let r=e.offsetLeft,o=e.offsetTop;switch(t.key){case"ArrowLeft":r-=i;break;case"ArrowRight":r+=i;break;case"ArrowUp":o-=i;break;case"ArrowDown":o+=i;break;case"PageUp":"vertical"===n?o-=i:r+=i;break;case"PageDown":"vertical"===n?o+=i:r-=i;break;default:return null}return{x:r,y:o}}(e,this.direction);null!==o&&(this.endPoint=o,this.startPoint=mm(e),e.preventDefault(),e.stopPropagation(),this.setupForDragEvent(i,r),this.startDragging(),this.drag(),this.stopDragging())}startMouseDrag(e,i,r){e.preventDefault(),e.stopPropagation(),this.startPoint=mm(e),null!==this.startPoint&&!0!==this.disabled&&!0!==this.isWaitingClear&&(this.setupForDragEvent(i,r),this.dragListeners.push(this.renderer.listen("document","mouseup",this.stopDragging.bind(this))),this.dragListeners.push(this.renderer.listen("document","touchend",this.stopDragging.bind(this))),this.dragListeners.push(this.renderer.listen("document","touchcancel",this.stopDragging.bind(this))),this.ngZone.runOutsideAngular(()=>{this.dragListeners.push(this.renderer.listen("document","mousemove",this.mouseDragEvent.bind(this))),this.dragListeners.push(this.renderer.listen("document","touchmove",this.mouseDragEvent.bind(this)))}),this.startDragging())}setupForDragEvent(e,i){this.snapshot={gutterNum:i,lastSteppedOffset:0,allAreasSizePixel:C3(this.elRef,this.direction)-this.getNbGutters()*this.gutterSize,allInvolvedAreasSizePercent:100,areasBeforeGutter:[],areasAfterGutter:[]},this.displayedAreas.forEach(r=>{const o={area:r,sizePixelAtStart:C3(r.component.elRef,this.direction),sizePercentAtStart:"percent"===this.unit?r.size:-1};r.ordere&&(!0===this.restrictMove?0===this.snapshot.areasAfterGutter.length&&(this.snapshot.areasAfterGutter=[o]):this.snapshot.areasAfterGutter.push(o))}),this.snapshot.allInvolvedAreasSizePercent=[...this.snapshot.areasBeforeGutter,...this.snapshot.areasAfterGutter].reduce((r,o)=>r+o.sizePercentAtStart,0)}startDragging(){this.displayedAreas.forEach(e=>e.component.lockEvents()),this.isDragging=!0,this.isWaitingInitialMove=!0}mouseDragEvent(e){e.preventDefault(),e.stopPropagation();const i=mm(e);null!==this._clickTimeout&&!w3(this.startPoint,i,this.gutterClickDeltaPx)&&(window.clearTimeout(this._clickTimeout),this._clickTimeout=null),!1!==this.isDragging&&(this.endPoint=mm(e),null!==this.endPoint&&this.drag())}drag(){if(this.isWaitingInitialMove){if(this.startPoint.x===this.endPoint.x&&this.startPoint.y===this.endPoint.y)return;this.ngZone.run(()=>{this.isWaitingInitialMove=!1,this.renderer.addClass(this.elRef.nativeElement,"as-dragging"),this.renderer.addClass(this.gutterEls.toArray()[this.snapshot.gutterNum-1].nativeElement,"as-dragged"),this.notify("start",this.snapshot.gutterNum)})}let e="horizontal"===this.direction?this.startPoint.x-this.endPoint.x:this.startPoint.y-this.endPoint.y;"rtl"===this.dir&&(e=-e);const i=Math.round(e/this.gutterStep)*this.gutterStep;if(i===this.snapshot.lastSteppedOffset)return;this.snapshot.lastSteppedOffset=i;let r=Fh(this.unit,this.snapshot.areasBeforeGutter,-i,this.snapshot.allAreasSizePixel),o=Fh(this.unit,this.snapshot.areasAfterGutter,i,this.snapshot.allAreasSizePixel);if(0!==r.remain&&0!==o.remain?Math.abs(r.remain)===Math.abs(o.remain)||(Math.abs(r.remain)>Math.abs(o.remain)?o=Fh(this.unit,this.snapshot.areasAfterGutter,i+r.remain,this.snapshot.allAreasSizePixel):r=Fh(this.unit,this.snapshot.areasBeforeGutter,-(i-o.remain),this.snapshot.allAreasSizePixel)):0!==r.remain?o=Fh(this.unit,this.snapshot.areasAfterGutter,i+r.remain,this.snapshot.allAreasSizePixel):0!==o.remain&&(r=Fh(this.unit,this.snapshot.areasBeforeGutter,-(i-o.remain),this.snapshot.allAreasSizePixel)),"percent"===this.unit){const s=[...r.list,...o.list],a=s.find(l=>0!==l.percentAfterAbsorption&&l.percentAfterAbsorption!==l.areaSnapshot.area.minSize&&l.percentAfterAbsorption!==l.areaSnapshot.area.maxSize);a&&(a.percentAfterAbsorption=this.snapshot.allInvolvedAreasSizePercent-s.filter(l=>l!==a).reduce((l,c)=>l+c.percentAfterAbsorption,0))}r.list.forEach(s=>x3(this.unit,s)),o.list.forEach(s=>x3(this.unit,s)),this.refreshStyleSizes(),this.notify("progress",this.snapshot.gutterNum)}stopDragging(e){if(e&&(e.preventDefault(),e.stopPropagation()),!1!==this.isDragging){for(this.displayedAreas.forEach(i=>i.component.unlockEvents());this.dragListeners.length>0;){const i=this.dragListeners.pop();i&&i()}this.isDragging=!1,!1===this.isWaitingInitialMove&&this.notify("end",this.snapshot.gutterNum),this.renderer.removeClass(this.elRef.nativeElement,"as-dragging"),this.renderer.removeClass(this.gutterEls.toArray()[this.snapshot.gutterNum-1].nativeElement,"as-dragged"),this.snapshot=null,this.isWaitingClear=!0,this.ngZone.runOutsideAngular(()=>{setTimeout(()=>{this.startPoint=null,this.endPoint=null,this.isWaitingClear=!1})})}}notify(e,i){const r=this.getVisibleAreaSizes();"start"===e?this.dragStart.emit({gutterNum:i,sizes:r}):"end"===e?this.dragEnd.emit({gutterNum:i,sizes:r}):"click"===e?this.gutterClick.emit({gutterNum:i,sizes:r}):"dblclick"===e?this.gutterDblClick.emit({gutterNum:i,sizes:r}):"transitionEnd"===e?this.transitionEndSubscriber&&this.ngZone.run(()=>this.transitionEndSubscriber.next(r)):"progress"===e&&this.dragProgressSubject.next({gutterNum:i,sizes:r})}ngOnDestroy(){this.stopDragging()}collapseArea(e,i,r){const o=this.displayedAreas.find(l=>l.component===e);if(void 0===o)return;const s="right"===r?1:-1;o.sizeBeforeCollapse||(o.sizeBeforeCollapse=o.size,o.gutterBeforeCollapse=s),o.size=i;const a=this.gutterEls.find(l=>l.nativeElement.style.order===`${o.order+s}`);a&&this.renderer.addClass(a.nativeElement,"as-split-gutter-collapsed"),this.updateArea(e,!1,!1)}expandArea(e){const i=this.displayedAreas.find(o=>o.component===e);if(void 0===i||!i.sizeBeforeCollapse)return;i.size=i.sizeBeforeCollapse,i.sizeBeforeCollapse=null;const r=this.gutterEls.find(o=>o.nativeElement.style.order===`${i.order+i.gutterBeforeCollapse}`);r&&this.renderer.removeClass(r.nativeElement,"as-split-gutter-collapsed"),this.updateArea(e,!1,!1)}getAriaAreaSizeText(e){return null===e?null:e.toFixed(0)+" "+this.unit}}return t.\u0275fac=function(e){return new(e||t)(D(bt),D(xe),D(wn),D(vs),D(Tre,8))},t.\u0275cmp=Pe({type:t,selectors:[["as-split"]],viewQuery:function(e,i){if(1&e&&Oe(yre,5),2&e){let r;ue(r=de())&&(i.gutterEls=r)}},inputs:{direction:"direction",unit:"unit",gutterSize:"gutterSize",gutterStep:"gutterStep",restrictMove:"restrictMove",useTransition:"useTransition",disabled:"disabled",dir:"dir",gutterDblClickDuration:"gutterDblClickDuration",gutterClickDeltaPx:"gutterClickDeltaPx",gutterAriaLabel:"gutterAriaLabel"},outputs:{transitionEnd:"transitionEnd",dragStart:"dragStart",dragEnd:"dragEnd",gutterClick:"gutterClick",gutterDblClick:"gutterDblClick"},exportAs:["asSplit"],ngContentSelectors:Sre,decls:2,vars:1,consts:[["ngFor","",3,"ngForOf"],["role","slider","tabindex","0","class","as-split-gutter",3,"flex-basis","order","keydown","mousedown","touchstart","mouseup","touchend",4,"ngIf"],["role","slider","tabindex","0",1,"as-split-gutter",3,"keydown","mousedown","touchstart","mouseup","touchend"],["gutterEls",""],[1,"as-split-gutter-icon"]],template:function(e,i){1&e&&(Di(),nn(0),G(1,Cre,1,1,"ng-template",0)),2&e&&(I(1),R("ngForOf",i.displayedAreas))},dependencies:[Eo,ui],styles:["[_nghost-%COMP%]{display:flex;flex-wrap:nowrap;justify-content:flex-start;align-items:stretch;overflow:hidden;width:100%;height:100%}[_nghost-%COMP%] > .as-split-gutter[_ngcontent-%COMP%]{border:none;flex-grow:0;flex-shrink:0;background-color:#eee;display:flex;align-items:center;justify-content:center}[_nghost-%COMP%] > .as-split-gutter.as-split-gutter-collapsed[_ngcontent-%COMP%]{flex-basis:1px!important;pointer-events:none}[_nghost-%COMP%] > .as-split-gutter[_ngcontent-%COMP%] > .as-split-gutter-icon[_ngcontent-%COMP%]{width:100%;height:100%;background-position:center center;background-repeat:no-repeat}[_nghost-%COMP%] >.as-split-area{flex-grow:0;flex-shrink:0;overflow-x:hidden;overflow-y:auto}[_nghost-%COMP%] >.as-split-area.as-hidden{flex:0 1 0px!important;overflow-x:hidden;overflow-y:hidden}.as-horizontal[_nghost-%COMP%]{flex-direction:row}.as-horizontal[_nghost-%COMP%] > .as-split-gutter[_ngcontent-%COMP%]{flex-direction:row;cursor:col-resize;height:100%}.as-horizontal[_nghost-%COMP%] > .as-split-gutter[_ngcontent-%COMP%] > .as-split-gutter-icon[_ngcontent-%COMP%]{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAeCAYAAADkftS9AAAAIklEQVQoU2M4c+bMfxAGAgYYmwGrIIiDjrELjpo5aiZeMwF+yNnOs5KSvgAAAABJRU5ErkJggg==)}.as-horizontal[_nghost-%COMP%] >.as-split-area{height:100%}.as-vertical[_nghost-%COMP%]{flex-direction:column}.as-vertical[_nghost-%COMP%] > .as-split-gutter[_ngcontent-%COMP%]{flex-direction:column;cursor:row-resize;width:100%}.as-vertical[_nghost-%COMP%] > .as-split-gutter[_ngcontent-%COMP%] .as-split-gutter-icon[_ngcontent-%COMP%]{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAFCAMAAABl/6zIAAAABlBMVEUAAADMzMzIT8AyAAAAAXRSTlMAQObYZgAAABRJREFUeAFjYGRkwIMJSeMHlBkOABP7AEGzSuPKAAAAAElFTkSuQmCC)}.as-vertical[_nghost-%COMP%] >.as-split-area{width:100%}.as-vertical[_nghost-%COMP%] >.as-split-area.as-hidden{max-width:0}.as-disabled[_nghost-%COMP%] > .as-split-gutter[_ngcontent-%COMP%]{cursor:default}.as-disabled[_nghost-%COMP%] > .as-split-gutter[_ngcontent-%COMP%] .as-split-gutter-icon[_ngcontent-%COMP%]{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAeCAYAAADkftS9AAAAIklEQVQoU2M4c+bMfxAGAgYYmwGrIIiDjrELjpo5aiZeMwF+yNnOs5KSvgAAAABJRU5ErkJggg==)}.as-transition.as-init[_nghost-%COMP%]:not(.as-dragging) > .as-split-gutter[_ngcontent-%COMP%], .as-transition.as-init[_nghost-%COMP%]:not(.as-dragging) >.as-split-area{transition:flex-basis .3s}"],changeDetection:0}),t})(),Ere=(()=>{class t{constructor(e,i,r,o){this.ngZone=e,this.elRef=i,this.renderer=r,this.split=o,this._order=null,this._size=null,this._minSize=null,this._maxSize=null,this._lockSize=!1,this._visible=!0,this.lockListeners=[],this.renderer.addClass(this.elRef.nativeElement,"as-split-area")}set order(e){this._order=Dc(e,null),this.split.updateArea(this,!0,!1)}get order(){return this._order}set size(e){this._size=Dc(e,null),this.split.updateArea(this,!1,!0)}get size(){return this._size}set minSize(e){this._minSize=Dc(e,null),this.split.updateArea(this,!1,!0)}get minSize(){return this._minSize}set maxSize(e){this._maxSize=Dc(e,null),this.split.updateArea(this,!1,!0)}get maxSize(){return this._maxSize}set lockSize(e){this._lockSize=gm(e),this.split.updateArea(this,!1,!0)}get lockSize(){return this._lockSize}set visible(e){this._visible=gm(e),this._visible?(this.split.showArea(this),this.renderer.removeClass(this.elRef.nativeElement,"as-hidden")):(this.split.hideArea(this),this.renderer.addClass(this.elRef.nativeElement,"as-hidden"))}get visible(){return this._visible}ngOnInit(){this.split.addArea(this),this.ngZone.runOutsideAngular(()=>{this.transitionListener=this.renderer.listen(this.elRef.nativeElement,"transitionend",e=>{"flex-basis"===e.propertyName&&this.split.notify("transitionEnd",-1)})})}setStyleOrder(e){this.renderer.setStyle(this.elRef.nativeElement,"order",e)}setStyleFlex(e,i,r,o,s){this.renderer.setStyle(this.elRef.nativeElement,"flex-grow",e),this.renderer.setStyle(this.elRef.nativeElement,"flex-shrink",i),this.renderer.setStyle(this.elRef.nativeElement,"flex-basis",r),!0===o?this.renderer.addClass(this.elRef.nativeElement,"as-min"):this.renderer.removeClass(this.elRef.nativeElement,"as-min"),!0===s?this.renderer.addClass(this.elRef.nativeElement,"as-max"):this.renderer.removeClass(this.elRef.nativeElement,"as-max")}lockEvents(){this.ngZone.runOutsideAngular(()=>{this.lockListeners.push(this.renderer.listen(this.elRef.nativeElement,"selectstart",()=>!1)),this.lockListeners.push(this.renderer.listen(this.elRef.nativeElement,"dragstart",()=>!1))})}unlockEvents(){for(;this.lockListeners.length>0;){const e=this.lockListeners.pop();e&&e()}}ngOnDestroy(){this.unlockEvents(),this.transitionListener&&this.transitionListener(),this.split.removeArea(this)}collapse(e=0,i="right"){this.split.collapseArea(this,e,i)}expand(){this.split.expandArea(this)}}return t.\u0275fac=function(e){return new(e||t)(D(bt),D(xe),D(vs),D(k3))},t.\u0275dir=fe({type:t,selectors:[["as-split-area"],["","as-split-area",""]],inputs:{order:"order",size:"size",minSize:"minSize",maxSize:"maxSize",lockSize:"lockSize",visible:"visible"},exportAs:["asSplitArea"]}),t})(),Are=(()=>{class t{static forRoot(){return console.warn("AngularSplitModule.forRoot() is deprecated and will be removed in v6"),{ngModule:t,providers:[]}}static forChild(){return console.warn("AngularSplitModule.forChild() is deprecated and will be removed in v6"),{ngModule:t,providers:[]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Ct({type:t}),t.\u0275inj=yt({imports:[Ao]}),t})();class Ore{constructor(n,e){this.newRect=n,this.oldRect=e,this.isFirst=null==e}}let $x=(()=>{class t{constructor(e,i){this.element=e,this.zone=i,this.resized=new Ge,this.observer=new ResizeObserver(r=>this.zone.run(()=>this.observe(r)))}ngOnInit(){this.observer.observe(this.element.nativeElement)}ngOnDestroy(){this.observer.disconnect()}observe(e){const i=e[0],r=new Ore(i.contentRect,this.oldRect);this.oldRect=i.contentRect,this.resized.emit(r)}}return t.\u0275fac=function(e){return new(e||t)(D(xe),D(bt))},t.\u0275dir=fe({type:t,selectors:[["","resized",""]],outputs:{resized:"resized"}}),t})(),Ire=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Ct({type:t}),t.\u0275inj=yt({}),t})();var gi=(()=>{return(t=gi||(gi={}))[t.normal=0]="normal",t[t.warning=1]="warning",t[t.alarm=2]="alarm",gi;var t})();const Ub={disableNotifications:!1,menuGrouping:!0,security:{disableSecurity:!0},devices:{disableDevices:!1,showNormalState:!1},sound:{disableSound:!1,muteNormal:!1,muteWarning:!1,muteAlert:!1,muteAlarm:!1,muteEmergency:!1}},D3={Unitless:"unitless",Speed:"knots",Flow:"l/h",Temperature:"celsius",Length:"m",Volume:"liter",Current:"A",Potential:"V",Charge:"C",Power:"W",Energy:"J",Pressure:"mmHg",Density:"kg/m3",Time:"Hours","Angular Velocity":"deg/min",Angle:"deg",Frequency:"Hz",Ratio:"ratio"},M3={configVersion:9,dataSets:[],unitDefaults:D3,notificationConfig:Ub},T3={widgets:[{uuid:"widgetno-1xxx-4xxx-yxxx-xxxxxxxxxxxx",type:"WidgetTutorial",config:null}]},E3={rootSplits:["isplitsx-xxxx-4xxx-yxxx-xxxxxxxxxxxx"],splitSets:[{uuid:"isplitsx-xxxx-4xxx-yxxx-xxxxxxxxxxxx",direction:"horizontal",splitAreas:[{uuid:"widgetno-1xxx-4xxx-yxxx-xxxxxxxxxxxx",type:"widget",size:100}]}]},A3={themeName:"modern-dark"},O3={zones:[]},Pre={configVersion:9,kipUUID:function Rre(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(t){var n=16*Math.random()|0;return("x"==t?n:3&n|8).toString(16)})}(),signalKUrl:null,useDeviceToken:!1,loginName:null,loginPassword:null,useSharedConfig:!1,sharedConfigName:"default"},I3={configVersion:9,dataSets:[{uuid:"afbe4e41-26f5-404f-a55d-9f7b9b76fbd1",path:"self.environment.wind.speedTrue",signalKSource:"default",updateTimer:1,dataPoints:15}],unitDefaults:{Unitless:"unitless",Speed:"knots",Flow:"l/h",Temperature:"celsius",Length:"m",Volume:"liter",Current:"A",Potential:"V",Charge:"C",Power:"W",Energy:"J",Pressure:"mmHg",Density:"kg/m3",Time:"Hours","Angular Velocity":"deg/min",Angle:"deg",Frequency:"Hz",Ratio:"ratio"},notificationConfig:{disableNotifications:!1,menuGrouping:!0,security:{disableSecurity:!0},devices:{disableDevices:!1,showNormalState:!1},sound:{disableSound:!1,muteNormal:!1,muteWarning:!1,muteAlert:!1,muteAlarm:!1,muteEmergency:!1}}},P3={widgets:[{uuid:"7298b3be-232f-48bf-9b3d-3b445131a908",type:"WidgetNumeric",config:{paths:{numericPath:{description:"Numeric Data",path:"self.environment.depth.belowTransducer",source:"default",pathType:"number",isPathConfigurable:!0,convertUnitTo:"m",sampleTime:500}},displayName:"Depth",filterSelfPaths:!0,showMin:!1,showMax:!1,numDecimal:1,numInt:1}},{uuid:"7298b3be-232f-48bf-9b3d-3b433131a908",type:"WidgetWindComponent",config:{paths:{headingPath:{description:"Heading",path:"self.navigation.headingTrue",source:"default",pathType:"number",isPathConfigurable:!0,convertUnitTo:"deg",sampleTime:500},trueWindAngle:{description:"True Wind Angle",path:"self.environment.wind.angleTrueWater",source:"default",pathType:"number",isPathConfigurable:!0,convertUnitTo:"deg",sampleTime:500},trueWindSpeed:{description:"True Wind Speed",path:"self.environment.wind.speedTrue",source:"default",pathType:"number",isPathConfigurable:!0,convertUnitTo:"knots",sampleTime:500},appWindAngle:{description:"Apparent Wind Angle",path:"self.environment.wind.angleApparent",source:"default",pathType:"number",isPathConfigurable:!0,convertUnitTo:"deg",sampleTime:500},appWindSpeed:{description:"Apparent Wind Speed",path:"self.environment.wind.speedApparent",source:"default",pathType:"number",isPathConfigurable:!0,convertUnitTo:"knots",sampleTime:500}},filterSelfPaths:!0,windSectorEnable:!0,windSectorWindowSeconds:10,laylineEnable:!0,laylineAngle:35}},{uuid:"912b86e4-e068-49e9-9f75-a2292d772578",type:"WidgetGaugeNgRadialComponent",config:{displayName:"SOG",filterSelfPaths:!0,paths:{gaugePath:{description:"Numeric Data",path:"self.navigation.speedOverGround",source:"default",pathType:"number",isPathConfigurable:!0,convertUnitTo:"knots",sampleTime:500}},gaugeType:"ngRadial",gaugeTicks:!1,radialSize:"measuring",minValue:0,maxValue:10,numInt:1,numDecimal:1,barColor:"accent"}},{uuid:"85525ebc-c40c-41e6-8379-05d573a331e1",type:"WidgetGaugeNgLinearComponent",config:{displayName:"Apparent Wind Speed",filterSelfPaths:!0,paths:{gaugePath:{description:"Numeric Data",path:"self.environment.wind.speedApparent",source:"default",pathType:"number",isPathConfigurable:!0,convertUnitTo:"knots",sampleTime:500}},gaugeType:"ngLinearHorizontal",gaugeTicks:!0,minValue:0,maxValue:30,numInt:1,numDecimal:1,barColor:"accent"}},{uuid:"a49a59c6-b83d-40e0-b759-9d153da69105",type:"WidgetNumeric",config:{paths:{numericPath:{description:"Numeric Data",path:"self.navigation.speedThroughWater",source:"default",pathType:"number",isPathConfigurable:!0,convertUnitTo:"knots",sampleTime:500}},displayName:"Speed",filterSelfPaths:!0,showMin:!0,showMax:!0,numDecimal:1,numInt:1}},{uuid:"62fa8155-10fd-49cb-a495-cee6e9491b8a",type:"WidgetNumeric",config:{paths:{numericPath:{description:"Numeric Data",path:"self.performance.velocityMadeGood",source:"default",pathType:"number",isPathConfigurable:!0,convertUnitTo:"knots",sampleTime:500}},displayName:"VMG",filterSelfPaths:!0,showMin:!0,showMax:!0,numDecimal:1,numInt:1}},{uuid:"42de0119-481c-4466-8b50-1407533ac2aa",type:"WidgetHistorical",config:{convertUnitTo:"knots",displayName:"WindSpeed True",filterSelfPaths:!0,dataSetUUID:"afbe4e41-26f5-404f-a55d-9f7b9b76fbd1",invertData:!1,displayMinMax:!1,includeZero:!0,minValue:null,maxValue:null,verticalGraph:!1}},{uuid:"66eb9453-73a2-4f69-9fc6-ececd3f96ce6",type:"WidgetGaugeNgRadialComponent",config:{displayName:"COG (True)",filterSelfPaths:!0,paths:{gaugePath:{description:"Numeric Data",path:"self.navigation.courseOverGroundTrue",source:"default",pathType:"number",isPathConfigurable:!0,convertUnitTo:"deg",sampleTime:500}},gaugeType:"ngRadial",gaugeTicks:!1,radialSize:"baseplateCompass",compassUseNumbers:!1,minValue:0,maxValue:360,numInt:1,numDecimal:0,barColor:"accent"}}]},R3={splitSets:[{uuid:"isplitsx-xxxx-4xxx-yxxx-xxxxxxxxxxxx",direction:"horizontal",splitAreas:[{uuid:"d107e54d-2db5-4abf-aba7-b96ce19f5abd",type:"splitSet",size:30.079353380503136},{uuid:"9249373f-7aa4-4673-8004-3e4e900e0b3d",type:"splitSet",size:38.1436713836478},{uuid:"d5be7f74-28c0-484c-a0cd-e623eb5db837",type:"splitSet",size:31.776975235849058}]},{uuid:"9249373f-7aa4-4673-8004-3e4e900e0b3d",parentUUID:"isplitsx-xxxx-4xxx-yxxx-xxxxxxxxxxxx",direction:"vertical",splitAreas:[{uuid:"7298b3be-232f-48bf-9b3d-3b433131a908",type:"widget",size:71.69133771929825},{uuid:"85525ebc-c40c-41e6-8379-05d573a331e1",type:"widget",size:28.308662280701753}]},{uuid:"d107e54d-2db5-4abf-aba7-b96ce19f5abd",parentUUID:"isplitsx-xxxx-4xxx-yxxx-xxxxxxxxxxxx",direction:"vertical",splitAreas:[{uuid:"7298b3be-232f-48bf-9b3d-3b445131a908",type:"widget",size:33.13526570048309},{uuid:"a49a59c6-b83d-40e0-b759-9d153da69105",type:"widget",size:33.432367149758456},{uuid:"62fa8155-10fd-49cb-a495-cee6e9491b8a",type:"widget",size:33.432367149758456}]},{uuid:"d5be7f74-28c0-484c-a0cd-e623eb5db837",parentUUID:"isplitsx-xxxx-4xxx-yxxx-xxxxxxxxxxxx",direction:"vertical",splitAreas:[{uuid:"912b86e4-e068-49e9-9f75-a2292d772578",type:"widget",size:25},{uuid:"42de0119-481c-4466-8b50-1407533ac2aa",type:"widget",size:25}]},{uuid:"d735c561-d413-4f7e-93d9-2c494e16184e",direction:"horizontal",splitAreas:[{uuid:"66eb9453-73a2-4f69-9fc6-ececd3f96ce6",type:"widget",size:100}]}],rootSplits:["isplitsx-xxxx-4xxx-yxxx-xxxxxxxxxxxx","d735c561-d413-4f7e-93d9-2c494e16184e"]},F3={themeName:"modern-dark"},Fre={configVersion:9,kipUUID:function Nre(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(t){var n=16*Math.random()|0;return("x"==t?n:3&n|8).toString(16)})}(),signalKUrl:"https://demo.signalk.org",useDeviceToken:!1,loginName:null,loginPassword:null,useSharedConfig:!1,sharedConfigName:"default"};function N3(t,n,e,i,r,o,s){try{var a=t[o](s),l=a.value}catch(c){return void e(c)}a.done?n(l):Promise.resolve(l).then(i,r)}function Mc(t){return function(){var n=this,e=arguments;return new Promise(function(i,r){var o=t.apply(n,e);function s(l){N3(o,i,r,s,a,"next",l)}function a(l){N3(o,i,r,s,a,"throw",l)}s(void 0)})}}const Gx=(t,n,e)=>{Hre(e);const i=((t,n)=>{const e=$b(t),i=$b(n),r=e.pop(),o=i.pop(),s=Nh(e,i);return 0!==s?s:r&&o?Nh(r.split("."),o.split(".")):r||o?r?-1:1:0})(t,n);return H3[e].includes(i)},L3=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,$b=t=>{if("string"!=typeof t)throw new TypeError("Invalid argument expected string");const n=t.match(L3);if(!n)throw new Error(`Invalid argument not valid semver ('${t}' received)`);return n.shift(),n},B3=t=>"*"===t||"x"===t||"X"===t,V3=t=>{const n=parseInt(t,10);return isNaN(n)?t:n},Vre=(t,n)=>{if(B3(t)||B3(n))return 0;const[e,i]=((t,n)=>typeof t!=typeof n?[String(t),String(n)]:[t,n])(V3(t),V3(n));return e>i?1:e{for(let e=0;e":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1]},z3=Object.keys(H3),Hre=t=>{if("string"!=typeof t)throw new TypeError("Invalid operator type, expected string but got "+typeof t);if(-1===z3.indexOf(t))throw new Error(`Invalid operator, expected one of ${z3.join("|")}`)};function Vu(t,n){const e="object"==typeof n;return new Promise((i,r)=>{let s,o=!1;t.subscribe({next:a=>{s=a,o=!0},error:r,complete:()=>{o?i(s):e?i(n.defaultValue):r(new _p)}})})}let Lh=(()=>{class t{constructor(e){this.http=e,this.serverServiceEndpoints={operation:0,message:"Not connected",serverDescrption:null,httpServiceUrl:null,WsServiceUrl:null},this.serverServiceEndpoint$=new An(this.serverServiceEndpoints),this.serverVersion$=new An(null),this.serverRoles=[]}resetSignalK(e){var i=this;return Mc(function*(){if(null===e.url)return void console.log("[Connection Service] Connection reset called with null or empty URL value");i.signalKURL=e,i.serverServiceEndpoints.message="Connecting...",i.serverServiceEndpoints.operation=1,i.serverServiceEndpoints.httpServiceUrl=null,i.serverServiceEndpoints.WsServiceUrl=null,i.serverServiceEndpoint$.next(i.serverServiceEndpoints);let r=i.signalKURL.url;new RegExp("signalk/?$").test(r)||(r+="/signalk/");try{console.log("[Connection Service] Connecting to: "+i.signalKURL.url);const s=yield Vu(i.http.get(r,{observe:"response"}));console.debug("[Connection Service] SignalK HTTP Endpoints retreived"),i.serverVersion$.next(s.body.server.version),i.serverServiceEndpoints.httpServiceUrl=s.body.endpoints.v1["signalk-http"],i.serverServiceEndpoints.WsServiceUrl=s.body.endpoints.v1["signalk-ws"],i.serverServiceEndpoints.operation=2,i.serverServiceEndpoints.message=s.status.toString(),i.serverServiceEndpoints.serverDescrption=s.body.server.id+" "+s.body.server.version}catch(s){i.serverServiceEndpoints.operation=3,i.serverServiceEndpoints.message=s.message,i.serverServiceEndpoints.serverDescrption=null,i.handleError(s)}finally{i.serverServiceEndpoint$.next(i.serverServiceEndpoints)}})()}handleError(e){throw 0===e.status?(console.error("[Connection Service] HTTP Endpoint connection error occurred:",e.error.message),console.error("[Connection Service] An error occurred:",e.error)):console.error(`[Connection Service] Backend returned code ${e.status}, body was: `,e.error),e}getServiceEndpointStatusAsO(){return this.serverServiceEndpoint$.asObservable()}setServerInfo(e,i,r){this.serverName=e,this.serverRoles=r,console.log("[Connection Service] Server Name: "+e+", Version: "+i+", Roles: "+JSON.stringify(r))}get skServerName(){return this.serverName}get skServerVersion(){return this.serverVersion$.getValue()}get skServerRoles(){return this.serverRoles}}return t.\u0275fac=function(e){return new(e||t)(K(dh))},t.\u0275prov=Ee({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Gb=(()=>{class t{constructor(e,i){this.server=e,this.http=i,this.serverEndpoint=null,this.isAppDataSupported=!1,this.serverConfigs=[],this.configVersion=null,this.InitConfig=null,this.storageServiceReady$=new pe,this.patchQueue$=new pe,this.patch=function(r){return this.http.post(r.url,r.document).pipe(rr(o=>console.log("[Storage Service] Remote config patch request completed successfuly")),xa(o=>this.handleError(o)))},e.serverServiceEndpoint$.subscribe(r=>{null!==r.httpServiceUrl&&(this.serverEndpoint=r.httpServiceUrl.substring(0,r.httpServiceUrl.length-4)+"applicationData/",console.log("[Storage Service] Service stratup. AppData API set to: "+this.serverEndpoint)),this.storageServiceReady$.next(2===r.operation)}),e.serverVersion$.subscribe(r=>{r&&(this.isAppDataSupported=Gx(r,"1.27.0",">="))}),this.patchQueue$.pipe(bl(r=>this.patch(r))).subscribe(r=>{})}listConfigs(){var e=this;return Mc(function*(){let i=[];const r=e.serverEndpoint;let o=r+"global/kip/"+e.configVersion+"/?keys=true",s=r+"user/kip/"+e.configVersion+"/?keys=true";return yield Vu(e.http.get(o)).then(a=>{for(let l of a)i.push({scope:"global",name:l});console.log("[Storage Service] Retreived Global config list")}).catch(a=>{e.handleError(a)}),yield Vu(e.http.get(s)).then(a=>{for(let l of a)i.push({scope:"user",name:l});console.log("[Storage Service] Retreived User config list")}).catch(a=>{e.handleError(a)}),i})()}getConfig(e,i,r){var o=this;return Mc(function*(){let s=null,a=o.serverEndpoint+e+"/kip/"+o.configVersion+"/"+i;return yield Vu(o.http.get(a)).then(l=>{s=l,console.log(`[Storage Service] Retreived config [${i}] from [${e}] scope`),r&&(o.InitConfig=l)}).catch(l=>{o.handleError(l)}),s})()}setConfig(e,i,r){return Vu(this.http.post(this.serverEndpoint+e+"/kip/"+this.configVersion+"/"+i,r)).then(s=>{console.log(`[Storage Service] Saved config [${i}] to [${e}] scope`)}).catch(s=>{this.handleError(s)})}patchConfig(e,i){let o,r=this.serverEndpoint+"user/kip/"+this.configVersion;switch(e){case"IAppConfig":o=[{op:"replace",path:`/${this.sharedConfigName}/app`,value:i}];break;case"IThemeConfig":o=[{op:"replace",path:`/${this.sharedConfigName}/theme/themeName`,value:i.themeName}];break;case"IWidgetConfig":o=[{op:"replace",path:`/${this.sharedConfigName}/widget`,value:i}];break;case"ILayoutConfig":o=[{op:"replace",path:`/${this.sharedConfigName}/layout`,value:i}];break;case"Array":o=[{op:"replace",path:`/${this.sharedConfigName}/app/unitDefaults`,value:i}];break;case"Array":o=[{op:"replace",path:`/${this.sharedConfigName}/app/dataSets`,value:i}];break;case"Array":o=[{op:"replace",path:`/${this.sharedConfigName}/zones/zones`,value:i}];break;case"IZonesConfig":o=[{op:"replace",path:`/${this.sharedConfigName}/zones`,value:i}];break;case"INotificationConfig":o=[{op:"replace",path:`/${this.sharedConfigName}/app/notificationConfig`,value:i}];break;default:console.warn("[Storage Service] JSON Patch request type unknown")}this.patchQueue$.next({url:r,document:o})}removeItem(e,i){this.patchQueue$.next({url:this.serverEndpoint+e+"/kip/"+this.configVersion,document:[{op:"remove",path:`/${i}`}]})}clear(){}set activeConfigVersion(e){this.configVersion=e}handleError(e){throw 0===e.status?console.error("[Storage Service] An error occurred:",e.error):console.error("[Storage Service] Backend returned error: ",e.message),e}get initConfig(){return this.InitConfig}}return t.\u0275fac=function(e){return new(e||t)(K(Lh),K(dh))},t.\u0275prov=Ee({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),wr=(()=>{class t{constructor(e,i,r){if(this.baseHref=e,this.router=i,this.storage=r,this.unlockStatus=new An(!1),this.unitDefaults=new An({}),this.themeName=new An("modern-dark"),this.kipKNotificationConfig=new An(Ub),this.useDeviceToken=!1,this.activeConfig={app:null,widget:null,layout:null,theme:null,zones:null},this.splitSets=[],this.rootSplits=[],this.dataSets=[],this.zones=new An([]),console.log("[AppSettings Service] Service startup.."),this.storage.activeConfigVersion=9,window.localStorage){let o;if(this.loadConnectionConfig(),null===this.storage.initConfig&&this.useSharedConfig&&null!==this.loginName&&null!==this.loginPassword&&null!==this.signalkUrl.url?this.resetSettings():o=this.storage.initConfig,o)console.log("[AppSettings Service] Remote configuration storage enabled"),this.activeConfig=this.validateAppConfig(o),this.pushSettings();else{console.log("[AppSettings Service] LocalStorage enabled");let s={app:null,widget:null,layout:null,theme:null,zones:null};s.app=this.loadConfigFromLocalStorage("appConfig"),s.widget=this.loadConfigFromLocalStorage("widgetConfig"),s.layout=this.loadConfigFromLocalStorage("layoutConfig"),s.theme=this.loadConfigFromLocalStorage("themeConfig"),s.zones=this.loadConfigFromLocalStorage("zonesConfig"),this.activeConfig=this.validateAppConfig(s),this.pushSettings()}}else console.error("[AppSettings Service] LocalStorage NOT SUPPORTED by browser\nThis is a requirement to run Kip. See browser documentation to enable this feature.")}loadConnectionConfig(){let e=this.loadConfigFromLocalStorage("connectionConfig");"number"!=typeof e.configVersion||9!==e.configVersion?(console.error("[AppSettings Service] Invalid onnectionConfig version. Resetting and loading configuration default"),this.resetConnection()):(this.signalkUrl={url:e.signalKUrl,new:!1},this.useDeviceToken=e.useDeviceToken,this.loginName=e.loginName,this.loginPassword=e.loginPassword,this.useSharedConfig=e.useSharedConfig,this.sharedConfigName=e.sharedConfigName,this.kipUUID=e.kipUUID)}resetConnection(){localStorage.setItem("connectionConfig",JSON.stringify(this.getDefaultConnectionConfig())),this.reloadApp()}validateAppConfig(e){return("number"!=typeof e.app.configVersion||9!==e.app.configVersion)&&(this.useSharedConfig?console.error("[AppSettings Service] Invalid Server config version. Resetting and loading configuration default"):(console.error("[AppSettings Service] Invalid localStorage config version. Replacing with Defaults"),localStorage.removeItem("appConfig"),localStorage.removeItem("widgetConfig"),localStorage.removeItem("layoutConfig"),localStorage.removeItem("themeConfig"),localStorage.removeItem("zonesConfig")),this.resetSettings()),e}loadConfigFromLocalStorage(e){let i=JSON.parse(localStorage.getItem(e));if(null===i)switch(console.log(`[AppSettings Service] Error loading ${e} config. Force loading ${e} defaults`),e){case"appConfig":i=this.getDefaultAppConfig();break;case"connectionConfig":i=this.getDefaultConnectionConfig();break;case"widgetConfig":i=this.getDefaultWidgetConfig();break;case"layoutConfig":i=this.getDefaultLayoutConfig();break;case"themeConfig":i=this.getDefaultThemeConfig();break;case"zonesConfig":i=this.getDefaultZonesConfig()}return"connectionConfig"===e&&9!==i.configVersion&&"connectionConfig"===(console.log(`[AppSettings Service] Invalide ${e} version. Force loading defaults`),e)&&(i=this.getDefaultConnectionConfig()),i}pushSettings(){this.themeName.next(this.activeConfig.theme.themeName),this.dataSets=this.activeConfig.app.dataSets,this.unitDefaults.next(this.activeConfig.app.unitDefaults),this.kipKNotificationConfig.next(this.activeConfig.app.notificationConfig),this.widgets=this.activeConfig.widget.widgets,this.zones.next(this.activeConfig.zones.zones),this.splitSets=this.activeConfig.layout.splitSets,this.rootSplits=this.activeConfig.layout.rootSplits}getDefaultUnitsAsO(){return this.unitDefaults.asObservable()}getDefaultUnits(){return this.unitDefaults.getValue()}setDefaultUnits(e){this.unitDefaults.next(e),this.useSharedConfig?this.storage.patchConfig("Array",e):this.saveAppConfigToLocalStorage()}getAppConfig(){return this.buildAppStorageObject()}getConnectionConfig(){return this.buildConnectionStorageObject()}setConnectionConfig(e){this.loginName=e.loginName,this.loginPassword=e.loginPassword,this.useSharedConfig=e.useSharedConfig,this.signalkUrl.url=e.signalKUrl,this.useDeviceToken=!e.useSharedConfig,this.saveConnectionConfigToLocalStorage()}setUseDeviceToken(e){this.useDeviceToken=e,this.saveConnectionConfigToLocalStorage()}getWidgetConfig(){return this.buildWidgetStorageObject()}getLayoutConfig(){return this.buildLayoutStorageObject()}getThemeConfig(){return this.buildThemeStorageObject()}getZonesConfig(){return this.buildZonesStorageObject()}get KipUUID(){return this.kipUUID}getUnlockStatusAsO(){return this.unlockStatus.asObservable()}setUnlockStatus(e){this.unlockStatus.next(e)}getThemeNameAsO(){return this.themeName.asObservable()}setThemName(e){this.themeName.next(e),"nightMode"!=e&&(this.useSharedConfig?this.storage.patchConfig("IThemeConfig",{themeName:e}):this.saveThemeConfigToLocalStorage())}getThemeName(){return this.themeName.getValue()}getWidgets(){return this.widgets}saveWidgets(e){this.widgets=e,this.useSharedConfig?this.storage.patchConfig("IWidgetConfig",{widgets:this.widgets}):this.saveWidgetConfigToLocalStorage()}getSplitSets(){return this.splitSets}getRootSplits(){return this.rootSplits}saveSplitSets(e){this.splitSets=e,this.useSharedConfig?this.storage.patchConfig("ILayoutConfig",{splitSets:this.splitSets,rootSplits:this.rootSplits}):this.saveLayoutConfigToLocalStorage()}saveRootUUIDs(e){this.rootSplits=e,this.useSharedConfig?this.storage.patchConfig("ILayoutConfig",{splitSets:this.splitSets,rootSplits:this.rootSplits}):this.saveLayoutConfigToLocalStorage()}saveDataSets(e){this.dataSets=e,this.useSharedConfig?this.storage.patchConfig("Array",e):this.saveAppConfigToLocalStorage()}getDataSets(){return this.dataSets}saveZones(e){this.zones.next(e),this.useSharedConfig?this.storage.patchConfig("Array",e):this.saveZonesConfigToLocalStorage()}getZonesAsO(){return this.zones.asObservable()}getZones(){return this.zones.getValue()}getNotificationServiceConfigAsO(){return this.kipKNotificationConfig.asObservable()}getNotificationConfig(){return this.kipKNotificationConfig.getValue()}setNotificationConfig(e){this.kipKNotificationConfig.next(e),this.useSharedConfig?this.storage.patchConfig("INotificationConfig",e):this.saveAppConfigToLocalStorage()}resetSettings(){let e={app:null,widget:null,layout:null,theme:null,zones:null};e.app=this.getDefaultAppConfig(),e.widget=this.getDefaultWidgetConfig(),e.layout=this.getDefaultLayoutConfig(),e.theme=this.getDefaultThemeConfig(),e.zones=this.getDefaultZonesConfig(),this.useSharedConfig?this.storage.setConfig("user",this.sharedConfigName,e).then(i=>{console.log("[AppSettings Service] Replaced server config name: "+this.sharedConfigName+", with default configuration values"),this.reloadApp()}).catch(i=>{console.error("[AppSettings Service] Error replacing server config name: "+this.sharedConfigName)}):this.reloadApp()}replaceConfig(e,i,r){let o=JSON.stringify(i);localStorage.setItem(e,o),r&&this.reloadApp()}loadDemoConfig(){localStorage.clear(),this.replaceConfig("appConfig",I3),this.replaceConfig("connectionConfig",Fre),this.replaceConfig("widgetConfig",P3),this.replaceConfig("layoutConfig",R3),this.replaceConfig("themeConfig",F3,!0)}reloadApp(){console.log("[AppSettings Service] Reload app at basehref: "+this.baseHref),location.replace(this.baseHref)}buildAppStorageObject(){return{configVersion:9,dataSets:this.dataSets,unitDefaults:this.unitDefaults.getValue(),notificationConfig:this.kipKNotificationConfig.getValue()}}buildConnectionStorageObject(){return{configVersion:9,kipUUID:this.kipUUID,signalKUrl:this.signalkUrl.url,useDeviceToken:this.useDeviceToken,loginName:this.loginName,loginPassword:this.loginPassword,useSharedConfig:this.useSharedConfig,sharedConfigName:this.sharedConfigName}}buildWidgetStorageObject(){return{widgets:this.widgets}}buildLayoutStorageObject(){return{splitSets:this.splitSets,rootSplits:this.rootSplits}}buildThemeStorageObject(){return{themeName:this.themeName.getValue()}}buildZonesStorageObject(){return{zones:this.zones.getValue()}}saveAppConfigToLocalStorage(){console.log("[AppSettings Service] Saving Application config to LocalStorage"),localStorage.setItem("appConfig",JSON.stringify(this.buildAppStorageObject()))}saveConnectionConfigToLocalStorage(){console.log("[AppSettings Service] Saving Connection config to LocalStorage"),localStorage.setItem("connectionConfig",JSON.stringify(this.buildConnectionStorageObject()))}saveWidgetConfigToLocalStorage(){console.log("[AppSettings Service] Saving Widgets config to LocalStorage"),localStorage.setItem("widgetConfig",JSON.stringify(this.buildWidgetStorageObject()))}saveLayoutConfigToLocalStorage(){console.log("[AppSettings Service] Saving Layouts config to LocalStorage"),localStorage.setItem("layoutConfig",JSON.stringify(this.buildLayoutStorageObject()))}saveThemeConfigToLocalStorage(){console.log("[AppSettings Service] Saving Theme config to LocalStorage"),localStorage.setItem("themeConfig",JSON.stringify(this.buildThemeStorageObject()))}saveZonesConfigToLocalStorage(){console.log("[AppSettings Service] Saving Zones config to LocalStorage"),localStorage.setItem("zonesConfig",JSON.stringify(this.buildZonesStorageObject()))}getDefaultAppConfig(){let e=M3;return e.notificationConfig=Ub,e.unitDefaults=D3,e.configVersion=9,localStorage.setItem("appConfig",JSON.stringify(e)),e}getDefaultConnectionConfig(){let e=Pre;return e.kipUUID=this.newUuid(),localStorage.setItem("connectionConfig",JSON.stringify(e)),e}getDefaultWidgetConfig(){let e=T3;return localStorage.setItem("widgetConfig",JSON.stringify(e)),e}getDefaultLayoutConfig(){let e=E3;return localStorage.setItem("layoutConfig",JSON.stringify(e)),e}getDefaultThemeConfig(){let e=A3;return localStorage.setItem("themeConfig",JSON.stringify(e)),e}getDefaultZonesConfig(){let e=O3;return localStorage.setItem("zonesConfig",JSON.stringify(e)),e}newUuid(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){var i=16*Math.random()|0;return("x"==e?i:3&i|8).toString(16)})}}return t.\u0275fac=function(e){return new(e||t)(K(cp),K(Or),K(Gb))},t.\u0275prov=Ee({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var Wre=qi(7611),Hn=qi.n(Wre);let _m=(()=>{class t{constructor(e){this.AppSettingsService=e,this.conversionList=[{group:"Unitless",units:[{measure:"unitless",description:"As-Is numeric value"}]},{group:"Speed",units:[{measure:"knots",description:"Knots - Nautical miles per hour"},{measure:"kph",description:"kph - Kilometers per hour"},{measure:"mph",description:"mph - Miles per hour"},{measure:"m/s",description:"m/s - Meters per second (default)"}]},{group:"Flow",units:[{measure:"m3/s",description:"Cubic meters per second (default)"},{measure:"l/min",description:"Liters per minute"},{measure:"l/h",description:"Liters per hour"},{measure:"g/min",description:"Gallons per minute"},{measure:"g/h",description:"Gallons per hour"}]},{group:"Temperature",units:[{measure:"K",description:"Kelvin (default)"},{measure:"celsius",description:"Celsius"},{measure:"fahrenheit",description:"Fahrenheit"}]},{group:"Length",units:[{measure:"m",description:"Metres (default)"},{measure:"fathom",description:"Fathoms"},{measure:"feet",description:"Feets"},{measure:"km",description:"Kilometers"},{measure:"nm",description:"Nautical Miles"},{measure:"mi",description:"Miles"}]},{group:"Volume",units:[{measure:"liter",description:"Liters (default)"},{measure:"m3",description:"Cubic Meters"},{measure:"gallon",description:"Gallons"}]},{group:"Current",units:[{measure:"A",description:"Amperes"},{measure:"mA",description:"Milliamperes"}]},{group:"Potential",units:[{measure:"V",description:"Volts"},{measure:"mV",description:"Millivolts"}]},{group:"Charge",units:[{measure:"C",description:"Coulomb"},{measure:"Ah",description:"Ampere*Hours"}]},{group:"Power",units:[{measure:"W",description:"Watts"},{measure:"mW",description:"Milliwatts"}]},{group:"Energy",units:[{measure:"J",description:"Joules"},{measure:"kWh",description:"Kilo-Watt*Hours"}]},{group:"Pressure",units:[{measure:"Pa",description:"Pascal (default)"},{measure:"bar",description:"Bars"},{measure:"psi",description:"psi"},{measure:"mmHg",description:"mmHg"},{measure:"inHg",description:"inHg"},{measure:"hPa",description:"hPa"},{measure:"mbar",description:"mbar"}]},{group:"Density",units:[{measure:"kg/m3",description:"Air density - kg/cubic meter"}]},{group:"Time",units:[{measure:"s",description:"Seconds (default)"},{measure:"Minutes",description:"Minutes"},{measure:"Hours",description:"Hours"},{measure:"Days",description:"Days"},{measure:"HH:MM:SS",description:"Hours:Minute:seconds"}]},{group:"Angular Velocity",units:[{measure:"rad/s",description:"Radians per second"},{measure:"deg/s",description:"Degrees per second"},{measure:"deg/min",description:"Degrees per minute"}]},{group:"Angle",units:[{measure:"rad",description:"Radians"},{measure:"deg",description:"Degrees"},{measure:"grad",description:"Gradians"}]},{group:"Frequency",units:[{measure:"rpm",description:"RPM - Rotations per minute"},{measure:"Hz",description:"Hz - Hertz (default)"},{measure:"KHz",description:"KHz - KiloHertz"},{measure:"MHz",description:"MHz - MegaHertz"},{measure:"GHz",description:"GHz - GigaHertz"}]},{group:"Ratio",units:[{measure:"percent",description:"As percentage value"},{measure:"percentraw",description:"As ratio 0-1 with % sign"},{measure:"ratio",description:"Ratio 0-1 (default)"}]},{group:"Position",units:[{measure:"latitudeMin",description:"Latitude in minutes"},{measure:"latitudeSec",description:"Latitude in seconds"},{measure:"longitudeMin",description:"Longitude in minutes"},{measure:"longitudeSec",description:"Longitude in seconds"}]}],this.unitConversionFunctions={unitless:function(i){return i},knots:Hn().swiftConverter("m/s","kn"),kph:Hn().swiftConverter("m/s","kph"),"m/s":function(i){return i},mph:Hn().swiftConverter("m/s","mph"),liter:Hn().swiftConverter("m^3","liter"),gallon:Hn().swiftConverter("m^3","gallon"),m3:function(i){return i},"m3/s":function(i){return i},"l/min":Hn().swiftConverter("m^3/s","liter/minute"),"l/h":Hn().swiftConverter("m^3/s","liter/hour"),"g/min":Hn().swiftConverter("m^3/s","gallon/minute"),"g/h":Hn().swiftConverter("m^3/s","gallon/hour"),K:function(i){return i},celsius:Hn().swiftConverter("tempK","tempC"),fahrenheit:Hn().swiftConverter("tempK","tempF"),m:function(i){return i},fathom:Hn().swiftConverter("m","fathom"),feet:Hn().swiftConverter("m","foot"),km:Hn().swiftConverter("m","km"),nm:Hn().swiftConverter("m","nmi"),mi:Hn().swiftConverter("m","mi"),V:function(i){return i},mV:function(i){return 1e3*i},A:function(i){return i},mA:function(i){return 1e3*i},C:function(i){return i},Ah:Hn().swiftConverter("C","Ah"),W:function(i){return i},mW:function(i){return 1e3*i},J:function(i){return i},kWh:Hn().swiftConverter("J","kWh"),Pa:function(i){return i},bar:Hn().swiftConverter("Pa","bar"),psi:Hn().swiftConverter("Pa","psi"),mmHg:Hn().swiftConverter("Pa","mmHg"),inHg:Hn().swiftConverter("Pa","inHg"),hPa:Hn().swiftConverter("Pa","hPa"),mbar:Hn().swiftConverter("Pa","millibar"),"kg/m3":function(i){return i},s:function(i){return i},Minutes:Hn().swiftConverter("s","minutes"),Hours:Hn().swiftConverter("s","hours"),Days:Hn().swiftConverter("s","days"),"HH:MM:SS":function(i){(i=parseInt(i,10))<0&&(i*=-1);var r=Math.floor(i/3600),o=Math.floor(i%3600/60),s=Math.floor(i%3600%60);return("0"+r).slice(-2)+":"+("0"+o).slice(-2)+":"+("0"+s).slice(-2)},"rad/s":function(i){return i},"deg/s":Hn().swiftConverter("rad/s","deg/s"),"deg/min":Hn().swiftConverter("rad/s","deg/min"),rpm:function(i){return 60*i},Hz:function(i){return i},KHz:function(i){return i/1e3},MHz:function(i){return i/1e6},GHz:function(i){return i/1e9},rad:function(i){return i},deg:Hn().swiftConverter("rad","deg"),grad:Hn().swiftConverter("rad","grad"),percent:function(i){return 100*i},percentraw:function(i){return i},ratio:function(i){return i},latitudeMin:function(i){i=Hn()(i,"rad").to("deg").scalar;let r=Math.trunc(i),o="N";i<0&&(o="S",r*=-1);let s=i%1*60;return"S"==o&&(s*=-1),r+"\xb0 "+s.toFixed(2).padStart(5,"0")+"' "+o},latitudeSec:function(i){i=Hn()(i,"rad").to("deg").scalar;let r=Math.trunc(i),o="N";i<0&&(o="S",r*=-1);let s=i%1*60;return"S"==o&&(s*=-1),r+"\xb0 "+Math.trunc(s)+"' "+(s%1*60).toFixed(2).padStart(5,"0")+'" '+o},longitudeMin:function(i){i=Hn()(i,"rad").to("deg").scalar;let r=Math.trunc(i),o="E";i<0&&(o="W",r*=-1);let s=i%1*60;return"W"==o&&(s*=-1),r+"\xb0 "+s.toFixed(2).padStart(5,"0")+"' "+o},longitudeSec:function(i){i=Hn()(i,"rad").to("deg").scalar;let r=Math.trunc(i),o="E";i<0&&(o="W",r*=-1);let s=i%1*60;return"W"==o&&(s*=-1),r+"\xb0 "+Math.trunc(s)+"' "+(s%1*60).toFixed(2).padStart(5,"0")+'" '+o}},this.defaultUnitsSub=this.AppSettingsService.getDefaultUnitsAsO().subscribe(i=>{this.defaultUnits=i})}convertUnit(e,i){return e in this.unitConversionFunctions&&null!==i?this.unitConversionFunctions[e](i):null}getDefaults(){return this.defaultUnits}getConversions(){return this.conversionList}}return t.\u0275fac=function(e){return new(e||t)(K(wr))},t.\u0275prov=Ee({token:t,factory:t.\u0275fac}),t})();var W3=qi(6461);class qx extends pe{constructor(n=1/0,e=1/0,i=KS){super(),this._bufferSize=n,this._windowTime=e,this._timestampProvider=i,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=e===1/0,this._bufferSize=Math.max(1,n),this._windowTime=Math.max(1,e)}next(n){const{isStopped:e,_buffer:i,_infiniteTimeWindow:r,_timestampProvider:o,_windowTime:s}=this;e||(i.push(n),!r&&i.push(o.now()+s)),this._trimBuffer(),super.next(n)}_subscribe(n){this._throwIfClosed(),this._trimBuffer();const e=this._innerSubscribe(n),{_infiniteTimeWindow:i,_buffer:r}=this,o=r.slice();for(let s=0;sJSON.parse(t.data),serializer:t=>JSON.stringify(t)};class Yx extends nt{constructor(n,e){if(super(),this._socket=null,n instanceof bn)this.destination=e,this.source=n;else{const i=this._config=Object.assign({},Ure);if(this._output=new pe,"string"==typeof n)i.url=n;else for(const r in n)n.hasOwnProperty(r)&&(i[r]=n[r]);if(!i.WebSocketCtor&&WebSocket)i.WebSocketCtor=WebSocket;else if(!i.WebSocketCtor)throw new Error("no WebSocket constructor can be found");this.destination=new qx}}lift(n){const e=new Yx(this._config,this.destination);return e.operator=n,e.source=this,e}_resetState(){this._socket=null,this.source||(this.destination=new qx),this._output=new pe}multiplex(n,e,i){const r=this;return new bn(o=>{try{r.next(n())}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:n,protocol:e,url:i,binaryType:r}=this._config,o=this._output;let s=null;try{s=e?new n(i,e):new n(i),this._socket=s,r&&(this._socket.binaryType=r)}catch(l){return void o.error(l)}const a=new Z(()=>{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:p}=this._config;p&&p.next(l);const m=this.destination;this.destination=Yt.create(_=>{if(1===s.readyState)try{const{serializer:C}=this._config;s.send(C(_))}catch(C){this.destination.error(C)}},_=>{const{closingObserver:C}=this._config;C&&C.next(void 0),_&&_.code?s.close(_.code,_.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:_}=this._config;_&&_.next(void 0),s.close(),this._resetState()}),m&&m instanceof qx&&a.add(m.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(n){const{source:e}=this;return e?e.subscribe(n):(this._socket||this._connectSocket(),this._output.subscribe(n),n.add(()=>{const{_socket:i}=this;0===this._output.observers.length&&(i&&(1===i.readyState||0===i.readyState)&&i.close(),this._resetState())}),n)}unsubscribe(){const{_socket:n}=this;n&&(1===n.readyState||0===n.readyState)&&n.close(),this._resetState(),super.unsubscribe()}}const j3="auth/login";let Rl=(()=>{class t{constructor(e,i){this.http=e,this.conn=i,this._IsLoggedIn$=new An(!1),this.isLoggedIn$=this._IsLoggedIn$.asObservable(),this._authToken$=new An(null),this.authToken$=this._authToken$.asObservable(),this.loginUrl=null,this.logoutUrl=null,this.validateTokenUrl=null;const r=JSON.parse(localStorage.getItem("authorization_token"));r&&(r.isDeviceAccessToken?null===r.expiry?(console.log("[Authentication Service] Device Access Token found with expiry: NEVER"),this._authToken$.next(r)):this.isTokenExpired(r.expiry)?(console.log("[Authentication Service] Device Access Token expired. Deleting token"),localStorage.removeItem("authorization_token")):(console.log("[Authentication Service] Device Access Token found in Local Storage"),this._authToken$.next(r)):(console.log("[Authentication Service] User session token found in Local Storage"),console.log("[Authentication Service] Deleting user session token"),localStorage.removeItem("authorization_token"))),this._authToken$.pipe(hi(o=>!!o&&null!==o.expiry),Ne(o=>o.expiry),Ar(o=>Jp(this.getTokenExpirationDate(o,60)))).subscribe(()=>{let o=JSON.parse(localStorage.getItem("authorization_token"));if(o.isDeviceAccessToken)console.warn("[Authentication Service] Device Access Token expired. Manually renew token using SignalK Connection Tab");else if(this.isTokenExpired(o.expiry))console.log("[Authentication Service] User session Token expired");else{let s=JSON.parse(localStorage.getItem("connectionConfig"));console.log("[Authentication Service] User session Token expires soon. Renewing token."),console.log("[Authentication Service] \nToken Expiry: "+this.getTokenExpirationDate(o.expiry)+"\nTimeout at: "+this.getTokenExpirationDate(o.expiry,60)),this.login({usr:s.loginName,pwd:s.loginPassword}).catch(a=>{console.error("[AppInit Service] Token renewal failure. Server returned: "+JSON.stringify(a.error))})}}),this.conn.serverServiceEndpoint$.subscribe(o=>{if(2===o.operation){let s=o.httpServiceUrl.substring(0,o.httpServiceUrl.length-4);this.loginUrl=s+j3,this.logoutUrl=s+"auth/logout",this.validateTokenUrl=s+"auth/validate"}})}login({usr:e,pwd:i,newUrl:r}){var o=this;return Mc(function*(){let s;s=r?r+"/signalk/v1/"+j3:o.loginUrl,o._IsLoggedIn$.getValue()&&(yield o.logout(!0)),yield Vu(o.http.post(s,{username:e,password:i},{observe:"response"})).then(a=>{console.log("[Authentication Service] User "+e+" login successful"),o.setSession(a.body.token)}).catch(a=>{o.deleteToken(),o.handleError(a)})})()}handleError(e){throw 0===e.status?(console.error("[Authentication Service] An error occurred:",e.error),this.deleteToken()):console.error(`[Authentication Service] Backend returned code ${e.status}, body was: `,e.error),e}setSession(e){if(e){const i=JSON.parse(atob(e.split(".")[1])).exp;let r={token:null,expiry:null,isDeviceAccessToken:!1};this.isTokenExpired(i)?console.log("[Authentication Service] Received expired Session Token from server"):(r.token=e,r.expiry=i,console.log("[Authentication Service] Session Authorization Token received. Token Expiration: "+this.getTokenExpirationDate(r.expiry)),this._IsLoggedIn$.next(!0),this._authToken$.next(r),localStorage.setItem("authorization_token",JSON.stringify(r)))}}isTokenExpired(e){return Math.floor((new Date).getTime()/1e3)>=e}getTokenExpirationDate(e,i){let r=new Date(0);if(i){let o=new Date(0);o.setUTCSeconds(e-i),r=o}else r.setUTCSeconds(e);return r}renewToken(){return this.http.post(this.validateTokenUrl,null,{observe:"response"})}logout(e){var i=this;return Mc(function*(){localStorage.removeItem("authorization_token"),yield Vu(i.http.put(i.logoutUrl,null)).then(r=>{i._IsLoggedIn$.next(!1),e||i._authToken$.next(null),console.log("[Authentication Service] User logged out")}).catch(r=>{console.error(r)})})()}deleteToken(){!this._authToken$||(console.log("[Authentication Service] Deleting Authorization token"),localStorage.removeItem("authorization_token"),this._IsLoggedIn$.next(!1),this._authToken$.next(null))}setDeviceAccessToken(e){if(e){const i=JSON.parse(atob(e.split(".")[1])).exp;let r={token:null,expiry:null,isDeviceAccessToken:!0};void 0===i?(r.token=e,console.log("[Authentication Service] Device Access Token received. Token Expiration: NEVER"),this._IsLoggedIn$.next(!1),this._authToken$.next(r),localStorage.setItem("authorization_token",JSON.stringify(r))):this.isTokenExpired(i)?console.log("[Authentication Service] Received expired Device Access Token from server"):(r.token=e,r.expiry=i,console.log("[Authentication Service] Device Access Token received. Token Expiration: "+this.getTokenExpirationDate(r.expiry)),this._IsLoggedIn$.next(!1),this._authToken$.next(r),localStorage.setItem("authorization_token",JSON.stringify(r)))}}}return t.\u0275fac=function(e){return new(e||t)(K(dh),K(Lh))},t.\u0275prov=Ee({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),zu=(()=>{class t{constructor(e,i,r){this.server=e,this.auth=i,this.zones=r,this.signalKRequests$=new pe,this.signalKNotifications$=new pe,this.signalKDatapath$=new pe,this.signalKMetadata$=new pe,this.vesselSelfUrn$=new pe,this.streamEndpoint={operation:0,message:"Not connected",hasToken:!1},this.streamEndpoint$=new An(this.streamEndpoint),this.endpointWS=null,this.WS_RECONNECT_INTERVAL=5e3,this.WS_CONNECTION_ARGUMENT="?subscribe=all&sendMeta=all",this.socketWSCloseEvent$=new pe,this.socketWSOpenEvent$=new pe,this.authToken=null,this.server.serverServiceEndpoint$.subscribe(o=>{let s=null;s=2===o.operation?"New endpoint":"Connection stopped",2===o.operation?(this.endpointWS=o.WsServiceUrl,this.socketWS$&&4!==this.streamEndpoint.operation&&this.closeWS(s),setTimeout(()=>{this.connectWS(s)},250)):this.socketWS$&&1!==o.operation&&4!==this.streamEndpoint.operation&&this.closeWS(s)}),this.auth.authToken$.subscribe(o=>{if(this.authToken!=o){this.authToken=o;let s=null;s=o?"New token":"Deleted Token",this.socketWS$&&(2===this.streamEndpoint.operation||1===this.streamEndpoint.operation)&&(this.closeWS(s),setTimeout(()=>{this.connectWS(s)},250))}}),this.socketWSOpenEvent$.subscribe(o=>{this.streamEndpoint.message="Connected",this.streamEndpoint.operation=2,this.authToken?console.log("[Delta Service] WebSocket connected with Authorization Token"):console.log("[Delta Service] WebSocket connected without Authorization Token"),this.streamEndpoint$.next(this.streamEndpoint)}),this.socketWSCloseEvent$.subscribe(o=>{o.wasClean?(this.streamEndpoint.message="WebSocket closed",this.streamEndpoint.operation=0,console.log("[Delta Service] WebSocket closed")):(console.log("[Delta Service] WebSocket terminated due to socket error"),this.streamEndpoint.message="WebSocket error",this.streamEndpoint.operation=3,console.log("[Delta Service] WebSocket closed")),this.streamEndpoint$.next(this.streamEndpoint)})}connectWS(e){this.streamEndpoint.message="Connecting",this.streamEndpoint.operation=1,console.log(`[Delta Service] ${e}: WebSocket openning...`),this.streamEndpoint$.next(this.streamEndpoint),this.socketWS$=this.getNewWebSocket(),this.zones.runOutsideAngular(()=>{this.socketWS$.pipe(function jre(t){return Ye((n,e)=>{let i,o,r=!1;const s=()=>{i=n.subscribe(Ot(e,void 0,void 0,a=>{o||(o=new pe,z(t(o)).subscribe(Ot(e,()=>i?s():r=!0))),o&&o.next(a)})),r&&(i.unsubscribe(),i=null,r=!1,s())};s()})}(i=>i.pipe(rr(r=>{console.error("[Delta Service] WebSocket error: "+JSON.stringify(r,["code","message","type"]))}),gb(this.WS_RECONNECT_INTERVAL)))).subscribe(i=>{this.processWebsocketMessage(i)})})}getNewWebSocket(){let e;return null!=this.authToken?(e=this.WS_CONNECTION_ARGUMENT+"&token="+this.authToken.token,this.streamEndpoint.hasToken=!0):(e=this.WS_CONNECTION_ARGUMENT,this.streamEndpoint.hasToken=!1),function Gre(t){return new Yx(t)}({url:this.endpointWS+e,closeObserver:this.socketWSCloseEvent$,openObserver:this.socketWSOpenEvent$})}closeWS(e){this.socketWS$&&(this.streamEndpoint.operation=4,console.log("[Delta Service] "+e+": WebSocket closing..."),this.socketWS$.complete())}publishDelta(e){this.socketWS$?(console.log("[Delta Service] WebSocket sending message"),this.socketWS$.next(e)):(setTimeout(()=>{console.log("[Delta Service] WebSocket retry sending message"),this.socketWS$.next(e)},1e3),console.log("[Delta Service] No WebSocket present to send messsage"))}processWebsocketMessage(e){e.updates?this.parseUpdates(e.updates,e.context):e.requestId?this.signalKRequests$.next(e):e.errorMessage?console.warn("[Delta Service] Service received stream error message: "+e.errorMessage):e.self?(this.vesselSelfUrn$.next(e.self),this.server.setServerInfo(e.name,e.version,e.roles)):console.warn("[Delta Service] Unknown message type. Message content:"+e)}parseUpdates(e,i){i||(i="self");for(let r of e){let o=null;o=r.source&&r.source.type&&r.source.label?"NMEA2000"==r.source.type?r.source.label+"."+r.source.src:"NMEA0183"==r.source.type?r.source.label+"."+r.source.talker:r.source.label:void 0!==r.$source?r.$source:void 0!==r.source&&void 0!==r.source.src&&void 0!==r.source.label?r.source.label+"."+r.source.src:void 0!==r.source&&void 0!==r.source.label?r.source.label:"Unknown";let s=Date.parse(r.timestamp);if(void 0!==r.values)for(let a of r.values)if(/^notifications./.test(a.path))this.signalKNotifications$.next({path:a.path,notification:a.value});else{let l=`${i}.${a.path}`;if(""==a.path&&(l=i),"object"==typeof a.value&&null!==a.value){let c=Object.keys(a.value);for(let p=0;p{r={path:`${i}.${e.path}.${o}`,meta:e.value.properties[o]},this.signalKMetadata$.next(r)}):(r={path:`${i}.${e.path}`,meta:e.value},this.signalKMetadata$.next(r))}}getDataStreamStatusAsO(){return this.streamEndpoint$.asObservable()}subscribeRequestUpdates(){return this.signalKRequests$.asObservable()}subscribeNotificationsUpdates(){return this.signalKNotifications$.asObservable()}subscribeDataPathsUpdates(){return this.signalKDatapath$.asObservable()}subscribeMetadataUpdates(){return this.signalKMetadata$.asObservable()}subscribeSelfUpdates(){return this.vesselSelfUrn$.asObservable()}OnDestroy(){this.closeWS("App terminated")}}return t.\u0275fac=function(e){return new(e||t)(K(Lh),K(Rl),K(bt))},t.\u0275prov=Ee({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const Zre={1e3:"notification",1001:"alert",1002:"warn",1003:"alarm",1004:"emergency"};let ia=(()=>{class t{constructor(e,i){this.appSettingsService=e,this.deltaService=i,this.notificationConfig$=new An(Ub),this.alarms={},this.activeAlarmsSubject=new An({}),this.alarmsInfo=new An({audioSev:0,visualSev:0,alarmCount:0,unackCount:0,isMuted:!1}),this.snackbarAppNotifications=new pe,this.isHowlIdMuted=!1,this.notificationServiceSettings=this.appSettingsService.getNotificationServiceConfigAsO().subscribe(r=>{this.notificationConfig=r,this.notificationConfig$.next(r),this.notificationConfig.disableNotifications&&this.resetAlarms(),this.notificationConfig.sound.disableSound?this.playAlarm(1e3):this.checkAlarms()}),this.deltaService.streamEndpoint$.subscribe(r=>{2===r.operation&&this.resetAlarms()}),this.deltaService.subscribeNotificationsUpdates().subscribe(r=>{this.processNotificationDelta(r)}),this.howlPlayer=this.getPlayer(1e3)}sendSnackbarNotification(e,i=1e4,r=!1){this.snackbarAppNotifications.next({message:e,duration:i,silent:r})}subscribeAlarms(){}unsubscribeAlarms(){}listAlarms(){}resetAlarms(){this.alarms={},this.activeAlarmsSubject.next(this.alarms)}getAlarms(){return this.activeAlarmsSubject.asObservable()}addAlarm(e,i){/^notifications.security./.test(e)||this.notificationConfig.disableNotifications||(e in this.alarms?this.alarms[e].notification=i:this.alarms[e]={path:e,type:"device",isAck:!1,notification:i},this.checkAlarms(),this.activeAlarmsSubject.next(this.alarms))}updateAlarm(e,i){this.alarms[e].notification=i,this.checkAlarms(),this.activeAlarmsSubject.next(this.alarms)}deleteAlarm(e){return e in this.alarms&&(delete this.alarms[e],this.checkAlarms(),this.activeAlarmsSubject.next(this.alarms),!0)}acknowledgeAlarm(e,i=0){return e in this.alarms&&(this.alarms[e].isAck=!0,this.activeAlarmsSubject.next(this.alarms),i>0&&setTimeout(()=>{console.log("unack: "+e),e in this.alarms&&(this.alarms[e].isAck=!1,this.activeAlarmsSubject.next(this.alarms))},i),this.checkAlarms(),!0)}checkAlarms(){let e=0,i=0,r=0;for(const[o,s]of Object.entries(this.alarms)){if(s.isAck)continue;e++;let a=0,l=0;if("method"in s.notification){switch(s.notification.state){case"normal":s.notification.method.includes("sound")&&!this.notificationConfig.sound.muteNormal&&(a=0),s.notification.method.includes("visual")&&(a=0);break;case"alert":s.notification.method.includes("sound")&&!this.notificationConfig.sound.muteAlert&&(a=1),s.notification.method.includes("visual")&&(l=1);break;case"warn":s.notification.method.includes("sound")&&!this.notificationConfig.sound.muteWarning&&(a=2),s.notification.method.includes("visual")&&(l=1);break;case"alarm":s.notification.method.includes("sound")&&!this.notificationConfig.sound.muteAlarm&&(a=3),s.notification.method.includes("visual")&&(l=2);break;case"emergency":s.notification.method.includes("sound")&&!this.notificationConfig.sound.muteEmergency&&(a=4),s.notification.method.includes("visual")&&(l=2);break;default:a=0,l=0,this.sendSnackbarNotification("Unknown Notification State received from SignalK",0,!1),console.log("Unknown Notification State received from SignalK\n"+JSON.stringify(s))}i=Math.max(i,a),r=Math.max(r,l)}}this.notificationConfig.sound.disableSound||this.playAlarm(1e3+i),this.alarmsInfo.next({audioSev:i,visualSev:r,alarmCount:Object.keys(this.alarms).length,unackCount:e,isMuted:this.isHowlIdMuted})}getAlarmInfoAsO(){return this.alarmsInfo.asObservable()}getSnackbarAppNotifications(){return this.snackbarAppNotifications.asObservable()}processNotificationDelta(e){this.notificationConfig.disableNotifications||(null===e.notification?this.deleteAlarm(e.path):e.path in this.alarms?(this.alarms[e.path].notification.state!==e.notification.state||this.alarms[e.path].notification.message!==e.notification.message||JSON.stringify(this.alarms[e.path].notification.method)!==JSON.stringify(e.notification.method))&&this.updateAlarm(e.path,e.notification):this.addAlarm(e.path,e.notification))}getPlayer(e){return this.activeAlarmSoundtrack=e,new W3.Howl({src:["assets/"+Zre[e]+".mp3"],autoplay:!1,preload:!0,loop:!0,onend:function(){},onloaderror:function(){console.log("player onload error")},onplayerror:function(){console.log("player locked"),this.howlPlayer.once("unlock",function(){this.howlPlayer.play()})}})}mutePlayer(e){this.howlPlayer.mute(e,this.activeHowlId),this.isHowlIdMuted=e,this.checkAlarms()}playAlarm(e){if(this.activeAlarmSoundtrack!=e){if(1e3==e)return this.howlPlayer&&this.howlPlayer.stop(),void(this.activeAlarmSoundtrack=1e3);this.howlPlayer.stop(),this.howlPlayer=this.getPlayer(e),this.activeHowlId=this.howlPlayer.play()}}getNotificationServiceConfigAsO(){return this.notificationConfig$.asObservable()}}return t.\u0275fac=function(e){return new(e||t)(K(wr),K(zu))},t.\u0275prov=Ee({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Na=(()=>{class t{constructor(e,i,r,o){this.appSettingsService=e,this.deltaService=i,this.notificationsService=r,this.unitService=o,this.degToRad=Hn().swiftConverter("deg","rad"),this.selfurn="self",this.paths=[],this.pathRegister=[],this.pathsObservale=new An([]),this.updateStatistics={currentSecond:0,secondsUpdates:[],minutesUpdates:[]},this.secondsUpdatesBehaviorSubject=new An([]),this.minutesUpdatesBehaviorSubject=new An([]),this.zones=[],setInterval(()=>{this.updateStatistics.secondsUpdates.length>=60&&this.updateStatistics.secondsUpdates.shift(),this.updateStatistics.secondsUpdates.push(this.updateStatistics.currentSecond),this.updateStatistics.currentSecond=0,this.secondsUpdatesBehaviorSubject.next(this.updateStatistics.secondsUpdates)},1e3),setInterval(()=>{this.updateStatistics.minutesUpdates.length>=60&&this.updateStatistics.minutesUpdates.shift(),this.updateStatistics.minutesUpdates.push(this.updateStatistics.secondsUpdates.reduce((s,a)=>s+a,0)),this.minutesUpdatesBehaviorSubject.next(this.updateStatistics.minutesUpdates)},6e4),this.defaultUnitsSub=this.appSettingsService.getDefaultUnitsAsO().subscribe(s=>{this.defaultUnits=s}),this.conversionList=this.unitService.getConversions(),this.zonesSub=this.appSettingsService.getZonesAsO().subscribe(s=>{this.zones=s}),this.deltaService.subscribeDataPathsUpdates().subscribe(s=>{this.updatePathData(s)}),this.deltaService.subscribeMetadataUpdates().subscribe(s=>{this.setMeta(s)}),this.deltaService.subscribeSelfUpdates().subscribe(s=>{this.setSelfUrn(s)})}getupdateStatsSecond(){return this.secondsUpdatesBehaviorSubject.asObservable()}getupdateStatMinute(){return this.minutesUpdatesBehaviorSubject.asObservable()}resetSignalKData(){this.paths=[],this.selfurn="self"}unsubscribePath(e,i){let r=this.pathRegister.findIndex(o=>o.path==i&&o.uuid==e);r>=0&&this.pathRegister.splice(r,1)}subscribePath(e,i,r){let o=this.pathRegister.findIndex(p=>p.path==i&&p.uuid==e);if(o>=0)return this.pathRegister[o].subject.asObservable();let s=null,a=gi.normal,l=this.paths.findIndex(p=>p.path==i);l>=0&&(null===r?s=this.paths[l]:"default"==r?s=this.paths[l].sources[this.paths[l].defaultSource].value:r in this.paths[l].sources&&(s=this.paths[l].sources[r].value),a=this.paths[l].state);let c={uuid:e,path:i,source:r,subject:new An({value:s,state:a})};return this.pathRegister.push(c),l=this.pathRegister.findIndex(p=>p.path==i&&p.uuid==e),this.pathRegister[l].subject.asObservable()}setSelfUrn(e){(""!=e||null!=e)&&e!=this.selfurn&&(console.debug("[SignalK Service] Setting self to: "+e),this.selfurn=e)}updatePathData(e){this.updateStatistics.currentSecond++;let i=e.path.replace(this.selfurn,"self");(i.includes("position.latitude")||i.includes("position.longitude"))&&(e.value=this.degToRad(e.value));let r=this.paths.findIndex(s=>s.path==i);r>=0?(null===this.paths[r].defaultSource&&(this.paths[r].defaultSource=e.source,this.paths[r].type=typeof e.value),this.paths[r].sources[e.source]={timestamp:e.timestamp,value:e.value}):(this.paths.push({path:i,defaultSource:e.source,sources:{[e.source]:{timestamp:e.timestamp,value:e.value}},type:typeof e.value,state:gi.normal}),r=this.paths.findIndex(s=>s.path==i));let o=gi.normal;if(this.zones.forEach(s=>{if(s.path!=i)return;let a=s.lower||-1/0,l=s.upper||1/0,c=this.unitService.convertUnit(s.unit,e.value);c>=a&&c<=l&&(o=Math.max(o,s.state))}),o!=gi.normal&&o!=this.paths[r].state){let s,a;switch(o){case gi.alarm:s="alarm",a=["visual","sound"];break;case gi.warning:s="warn",a=["visual","sound"]}this.notificationsService.addAlarm(i,{method:a,state:s,message:i+" value in "+s,timestamp:Date.now().toString()})}this.paths[r].state!=gi.normal&&o==gi.normal&&this.notificationsService.deleteAlarm(i),this.paths[r].state=o,this.pathRegister.filter(s=>s.path==i).forEach(s=>{let a=null;"default"==s.source?a=this.paths[r].defaultSource:s.source in this.paths[r].sources?a=s.source:console.warn(`Failed updating zone state. Source unknown or not defined for path: ${s.source}`),null!==a&&s.subject.next({value:this.paths[r].sources[a].value,state:this.paths[r].state})}),this.pathsObservale.next(this.paths)}setDefaultSource(e){let i=e.path.replace(this.selfurn,"self"),r=this.paths.findIndex(o=>o.path==i);r>=0&&(this.paths[r].defaultSource=e.source)}setMeta(e){let i=e.path.replace(this.selfurn,"self"),r=this.paths.findIndex(o=>o.path==i);r>=0?this.paths[r].meta=e.meta:this.paths.push({path:i,defaultSource:null,sources:{},meta:e.meta,type:null,state:gi.normal})}getPathsByType(e,i){let r=[];for(let o=0;oo.path==e);return i<0?null:JSON.parse(JSON.stringify(this.paths[i]))}getPathUnitType(e){let i=this.paths.findIndex(r=>r.path==e);return i<0?null:"meta"in this.paths[i]&&"units"in this.paths[i].meta?this.paths[i].meta.units:null}getConversionsForPath(e){let i=this.getPathUnitType(e),r=[],o=!1,s="unitless";if(null===i)return{default:"unitless",conversions:this.conversionList};for(let a=0;a{c.measure==i&&(o=!0,s=this.defaultUnits[l.group],r.push(l))})}return o?{default:s,conversions:r}:(console.log("Unit type: "+i+", found for path: "+e+"\nbut Kip does not support it."),{default:"unitless",conversions:this.conversionList})}}return t.\u0275fac=function(e){return new(e||t)(K(wr),K(zu),K(ia),K(_m))},t.\u0275prov=Ee({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function Kx(t=0,n=mh){return t<0&&(t=0),Jp(t,t,n)}let vm=(()=>{class t{constructor(e,i,r){this.AppSettingsService=e,this.SignalKService=i,this.zones=r,this.dataSets=[],this.dataSetSub=[],this.dataSetRegister=[],this.dataSets=e.getDataSets()}startAllDataSets(){console.log("[DataSet Service] Starting "+this.dataSets.length.toString()+" DataSets");for(let e=0;ea.uuid==e&&a.dataSetUuid==i);if(r>=0)return this.dataSetRegister[r].observable.asObservable();let o,s=this.dataSetSub.findIndex(a=>a.uuid==i);return o=s>=0?this.dataSetSub[s].data:null,this.dataSetRegister.push({uuid:e,dataSetUuid:i,observable:new An(o)}),r=this.dataSetRegister.findIndex(a=>a.uuid==e&&a.dataSetUuid==i),this.dataSetRegister[r].observable.asObservable()}stopDataSet(e){for(let r=this.dataSetRegister.length-1;r>=0;r--)this.dataSetRegister[r].uuid==e&&this.dataSetRegister.splice(r,1);let i=this.dataSetSub.findIndex(r=>r.uuid==e);i>=0&&(this.dataSetSub[i].pathSub.unsubscribe(),this.dataSetSub[i].updateTimerSub.unsubscribe(),this.dataSetSub.splice(i,1))}startDataSet(e){let i=this.dataSets.findIndex(o=>o.uuid==e);if(i<0)return;let r=this.dataSetSub.findIndex(o=>o.uuid==e);r>=0&&this.dataSetSub.splice(r,1),this.dataSetSub.push({uuid:e,pathSub:null,updateTimerSub:null,data:null,dataCache:null}),r=this.dataSetSub.findIndex(o=>o.uuid==e),this.dataSetSub[r].data=[],this.dataSetSub[r].dataCache={runningTotal:0,numberOfPoints:0,minValue:null,maxValue:null},this.dataSetSub[r].pathSub=this.SignalKService.subscribePath(this.dataSets[i].uuid,this.dataSets[i].path,this.dataSets[i].signalKSource).subscribe(o=>{this.updateDataCache(e,o.value)}),this.zones.runOutsideAngular(()=>{this.dataSetSub[r].updateTimerSub=Kx(1e3*this.dataSets[i].updateTimer).subscribe(o=>{this.aggregateDataCache(e)})})}addDataSet(e,i,r,o){let s=this.newUuid();this.dataSets.push({uuid:s,path:e,signalKSource:i,updateTimer:r,dataPoints:o}),this.startDataSet(s),this.AppSettingsService.saveDataSets(this.dataSets)}updateDataset(e){this.dataSetSub.findIndex(o=>o.uuid===e.uuid)>=0&&this.stopDataSet(e.uuid);let r=this.dataSets.findIndex(o=>o.uuid===e.uuid);r>=0&&(this.dataSets.splice(r,1,e),this.startDataSet(e.uuid)),this.AppSettingsService.saveDataSets(this.dataSets)}deleteDataSet(e){this.dataSetSub.findIndex(o=>o.uuid===e)>=0&&this.stopDataSet(e);let r=this.dataSets.findIndex(o=>o.uuid===e);r>=0&&this.dataSets.splice(r,1),this.AppSettingsService.saveDataSets(this.dataSets)}getDataSets(){let e=[];for(let i=0;ia.uuid==e),o=this.dataSetSub.findIndex(a=>a.uuid==e);this.dataSetSub[o].dataCache.numberOfPoints>0&&(i=this.dataSetSub[o].dataCache.runningTotal/this.dataSetSub[o].dataCache.numberOfPoints),this.dataSetSub[o].data.length>=this.dataSets[r].dataPoints&&this.dataSetSub[o].data.shift();let s={timestamp:Date.now(),average:i,minValue:this.dataSetSub[o].dataCache.minValue,maxValue:this.dataSetSub[o].dataCache.maxValue};this.dataSetSub[o].data.push(s),this.dataSetSub[o].dataCache={runningTotal:0,numberOfPoints:0,minValue:null,maxValue:null};for(let a=0;ao.uuid==e);this.dataSetSub[r].dataCache.runningTotal=this.dataSetSub[r].dataCache.runningTotal+i,this.dataSetSub[r].dataCache.numberOfPoints=this.dataSetSub[r].dataCache.numberOfPoints+1,(null===this.dataSetSub[r].dataCache.minValue||this.dataSetSub[r].dataCache.minValue>i)&&(this.dataSetSub[r].dataCache.minValue=i),(null===this.dataSetSub[r].dataCache.maxValue||this.dataSetSub[r].dataCache.maxValue{class t{constructor(e){this.AppSettingsService=e,this.widgets=this.AppSettingsService.getWidgets()}newUuid(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){const i=16*Math.random()|0;return("x"==e?i:3&i|8).toString(16)})}getWidget(e){return this.widgets.find(i=>i.uuid==e)}newWidget(){const e=this.newUuid();return this.widgets.push({uuid:e,type:"WidgetBlank",config:null}),this.saveWidgets(),e}deleteWidget(e){const i=this.widgets.findIndex(r=>r.uuid==e);i<0||this.widgets.splice(i,1)}updateWidgetType(e,i){const r=this.widgets.findIndex(o=>o.uuid==e);r<0||(this.widgets[r].config=null,this.widgets[r].type=i,this.saveWidgets())}updateWidgetConfig(e,i){const r=this.widgets.findIndex(o=>o.uuid==e);r<0||(this.widgets[r].config=i,this.saveWidgets())}saveWidgets(){this.AppSettingsService.saveWidgets(this.widgets)}}return t.\u0275fac=function(e){return new(e||t)(K(wr))},t.\u0275prov=Ee({token:t,factory:t.\u0275fac}),t})(),Yb=(()=>{class t{constructor(e,i,r){this.AppSettingsService=e,this.WidgetManagerService=i,this.router=r,this.splitSets=[],this.splitSetObs=[],this.rootUUIDs=[],this.activeRoot=new An(null),this.splitSets=this.AppSettingsService.getSplitSets();for(let o=0;or.uuid==e);return i<0?null:this.splitSetObs[i].observable.asObservable()}getSplit(e){let i=this.splitSets.findIndex(r=>r.uuid==e);return i<0?null:this.splitSets[i]}newSplit(e,i,r,o){let s=this.newUuid(),a={uuid:s,parentUUID:e,direction:i,splitAreas:[{uuid:r,type:"widget",size:50},{uuid:o,type:"widget",size:50}]};return this.splitSets.push(a),this.splitSetObs.push({uuid:s,observable:new An(a)}),s}newRootSplit(){let e=this.newUuid(),r={uuid:e,direction:"horizontal",splitAreas:[{uuid:this.WidgetManagerService.newWidget(),type:"widget",size:100}]};this.splitSets.push(r),this.splitSetObs.push({uuid:e,observable:new An(r)}),this.rootUUIDs.push(e),this.saveRootUUIDs(),this.router.navigate(["/page",this.rootUUIDs.indexOf(e)])}splitArea(e,i,r){let o=this.splitSets.findIndex(_=>_.uuid==e);if(o<0)return null;let s=this.splitSets[o].splitAreas.findIndex(_=>_.uuid==i);if(s<0)return;let a=this.splitSets[o].splitAreas[s].size,l=a/2,c=a-l,p=this.WidgetManagerService.newWidget(),m={uuid:p,type:"widget",size:c};if(this.splitSets[o].direction==r)this.splitSets[o].splitAreas[s].size=l,this.splitSets[o].splitAreas.splice(s+1,0,m);else{let _=this.newSplit(e,r,i,p);this.splitSets[o].splitAreas[s].uuid=_,this.splitSets[o].splitAreas[s].type="splitSet"}this.updateSplit(e)}updateSplitSizes(e,i){let r=this.splitSets.findIndex(o=>o.uuid==e);if(r<0)return null;for(let o=0;oo.uuid==e);if(r<0)return null;if(this.splitSets[r].splitAreas.length>1){this.WidgetManagerService.deleteWidget(i);let o=this.splitSets[r].splitAreas.findIndex(s=>s.uuid==i);if(o<0)return null;this.splitSets[r].splitAreas.splice(o,1),this.updateSplit(e)}else if(this.WidgetManagerService.deleteWidget(i),this.isRootSplit(e)){console.log("[LayoutSplit Service] Deleting last split in root"),this.splitSets.splice(r,1);let o=this.rootUUIDs.findIndex(s=>s==e);this.rootUUIDs.splice(o,1),this.saveRootUUIDs(),this.rootUUIDs.length<=0&&(console.log("[LayoutSplit Service] Deleted last page"),this.newRootSplit(),this.setActiveRootIndex(0)),this.nextRoot()}else{let o=this.splitSets.findIndex(a=>a.uuid==this.splitSets[r].parentUUID),s=this.splitSets[o].uuid;this.splitSets.splice(r,1),this.deleteArea(s,e)}}updateSplit(e){let i=this.splitSets.findIndex(o=>o.uuid==e);if(i<0)return null;let r=this.splitSetObs.findIndex(o=>o.uuid==e);if(r<0)return null;this.splitSetObs[r].observable.next(this.splitSets[i]),this.saveSplits()}isRootSplit(e){return this.rootUUIDs.includes(e)}saveRootUUIDs(){this.AppSettingsService.saveRootUUIDs(this.rootUUIDs)}saveSplits(){this.AppSettingsService.saveSplitSets(this.splitSets)}}return t.\u0275fac=function(e){return new(e||t)(K(wr),K(qb),K(Or))},t.\u0275prov=Ee({token:t,factory:t.\u0275fac}),t})();function $3(t,n=mh){return function Qre(t){return Ye((n,e)=>{let i=!1,r=null;n.subscribe(Ot(e,o=>{i=!0,r=o})),z(t).subscribe(Ot(e,()=>{if(i){i=!1;const o=r;r=null,e.next(o)}},x))})}(Kx(t,n))}let _o=(()=>{class t{constructor(){this.defaultConfig=void 0,this.dataStream=void 0,this.dataSubscription=void 0,this.signalKService=ki(Na),this.unitsService=ki(_m)}createDataOservable(){if(void 0!==this.widgetProperties){if(0==Object.keys(this.widgetProperties.config?.paths).length)return void(this.dataStream=void 0);this.dataStream=[],Object.keys(this.widgetProperties.config.paths).forEach(e=>{"string"!=typeof this.widgetProperties.config.paths[e].path||""==this.widgetProperties.config.paths[e].path||null==this.widgetProperties.config.paths[e].path||this.dataStream.push({pathName:e,observable:this.signalKService.subscribePath(this.widgetProperties.uuid,this.widgetProperties.config.paths[e].path,this.widgetProperties.config.paths[e].source)})})}}observeDataStream(e,i){void 0===this.dataStream&&this.createDataOservable();const r=this.buildObserver(e,i);let o=this.dataStream.find(s=>s.pathName===e);void 0!==o&&(void 0===this.dataSubscription?this.dataSubscription=o.observable.pipe($3(this.widgetProperties.config.paths[e].sampleTime)).subscribe(r):this.dataSubscription.add(o.observable.pipe($3(this.widgetProperties.config.paths[e].sampleTime)).subscribe(r)))}buildObserver(e,i){const r={next:o=>i(o),error:o=>console.error("Observer got an error: "+o),complete:()=>console.log("Observer got a complete notification: "+e)};return"number"===this.widgetProperties.config.paths[e].pathType&&(r.next=o=>{o.value=this.unitsService.convertUnit(this.widgetProperties.config.paths[e].convertUnitTo,o.value),i(o)}),r}formatWidgetNumberValue(e){return null==e?void 0:(e>=this.widgetProperties.config.maxValue?e=this.widgetProperties.config.maxValue:e<=this.widgetProperties.config.minValue&&(e=this.widgetProperties.config.minValue),e.toFixed(this.widgetProperties.config.numDecimal))}unsubscribeDataStream(){void 0!==this.dataSubscription&&(this.dataSubscription.unsubscribe(),Object.keys(this.widgetProperties.config.paths).forEach(e=>{this.signalKService.unsubscribePath(this.widgetProperties.uuid,this.widgetProperties.config.paths[e].path)}),this.dataSubscription=void 0,this.dataStream=void 0)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Pe({type:t,selectors:[["ng-component"]],inputs:{theme:"theme",widgetProperties:"widgetProperties"},decls:0,vars:0,template:function(e,i){},encapsulation:2}),t})(),Xre=(()=>{class t extends _o{constructor(){super(),this.defaultConfig={displayName:""}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Pe({type:t,selectors:[["app-widget-blank"]],features:[we],decls:3,vars:1,consts:[[1,"blankGenericWrapper"],[1,"text"]],template:function(e,i){1&e&&(v(0,"div",0)(1,"div",1),M(2),b()()),2&e&&(I(2),Qn(i.widgetProperties.config.displayName))},styles:[".blankGenericWrapper[_ngcontent-%COMP%]{position:relative;width:100%;height:100%;display:flex;align-items:center;justify-content:center}"]}),t})(),Jre=(()=>{class t extends _o{constructor(){super()}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Pe({type:t,selectors:[["app-widget-unknown"]],features:[we],decls:2,vars:0,template:function(e,i){1&e&&(v(0,"p"),M(1," widget-unknown!\n"),b())}}),t})();const eoe=["canvasEl"],toe=["canvasBG"],noe=["NumWrapperDiv"],ioe=["warn"],roe=["warncontrast"];let ooe=(()=>{class t extends _o{constructor(){super(),this.dataValue=null,this.IZoneState=null,this.maxValue=null,this.minValue=null,this.dataTimestamp=Date.now(),this.currentValueLength=0,this.currentMinMaxLength=0,this.valueFontSize=1,this.minMaxFontSize=1,this.flashOn=!1,this.defaultConfig={displayName:"Gauge Label",filterSelfPaths:!0,paths:{numericPath:{description:"Numeric Data",path:null,source:null,pathType:"number",isPathConfigurable:!0,convertUnitTo:"unitless",sampleTime:500}},showMax:!1,showMin:!1,numDecimal:1,numInt:1}}ngOnInit(){this.observeDataStream("numericPath",e=>{this.dataValue=e.value,null===this.minValue&&(this.minValue=this.dataValue),null===this.maxValue&&(this.maxValue=this.dataValue),this.dataValue>this.maxValue&&(this.maxValue=this.dataValue),this.dataValue{this.flashOn=!this.flashOn,this.updateCanvas()},350),this.updateCanvas()}),this.canvasCtx=this.canvasEl.nativeElement.getContext("2d"),this.canvasBGCtx=this.canvasBG.nativeElement.getContext("2d"),this.resizeWidget()}ngOnDestroy(){this.unsubscribeDataStream(),this.flashInterval&&(clearInterval(this.flashInterval),this.flashInterval=null)}ngAfterViewChecked(){this.resizeWidget()}resizeWidget(){let e=this.wrapperDiv.nativeElement.getBoundingClientRect();e.height<50||e.width<50||(this.canvasEl.nativeElement.width!=Math.floor(e.width)||this.canvasEl.nativeElement.height!=Math.floor(e.height))&&(this.canvasEl.nativeElement.width=Math.floor(e.width),this.canvasEl.nativeElement.height=Math.floor(e.height),this.canvasBG.nativeElement.width=Math.floor(e.width),this.canvasBG.nativeElement.height=Math.floor(e.height),this.currentValueLength=0,this.currentMinMaxLength=0,this.updateCanvas(),this.updateCanvasBG())}updateCanvas(){this.canvasCtx&&(this.canvasCtx.clearRect(0,0,this.canvasEl.nativeElement.width,this.canvasEl.nativeElement.height),this.drawValue(),(this.widgetProperties.config.showMax||this.widgetProperties.config.showMin)&&this.drawMinMax())}updateCanvasBG(){this.canvasBGCtx&&(this.canvasBGCtx.clearRect(0,0,this.canvasEl.nativeElement.width,this.canvasEl.nativeElement.height),this.drawTitle(),this.drawUnit())}drawValue(){let r,e=Math.floor(this.canvasEl.nativeElement.width-.15*this.canvasEl.nativeElement.width),i=Math.floor(this.canvasEl.nativeElement.height-.2*this.canvasEl.nativeElement.height);if(null!==this.dataValue){let o=this.widgetProperties.config.paths.numericPath.convertUnitTo;r="latitudeSec"==o||"latitudeMin"==o||"longitudeSec"==o||"longitudeMin"==o?this.dataValue.toString():this.applyDecorations(this.formatWidgetNumberValue(this.dataValue))}else r="--";if(this.currentValueLength!=r.length){this.currentValueLength=r.length,this.valueFontSize=i,this.canvasCtx.font="bold "+this.valueFontSize.toString()+"px Arial";let o=this.canvasCtx.measureText(r).width;for(o>e&&(this.valueFontSize=Math.floor(this.valueFontSize*(e/o)),this.canvasCtx.font="bold "+this.valueFontSize.toString()+"px Arial");this.canvasCtx.measureText(r).width>e&&this.valueFontSize>0;)this.valueFontSize--,this.canvasCtx.font="bold "+this.valueFontSize.toString()+"px Arial"}switch(this.IZoneState){case gi.alarm:this.flashOn?this.canvasCtx.fillStyle=window.getComputedStyle(this.warnElement.nativeElement).color:(this.canvasCtx.fillStyle=window.getComputedStyle(this.warnElement.nativeElement).color,this.canvasCtx.fillRect(0,0,this.canvasEl.nativeElement.width,this.canvasEl.nativeElement.height),this.canvasCtx.fillStyle=window.getComputedStyle(this.warnContrastElement.nativeElement).color);break;case gi.warning:this.canvasCtx.fillStyle=window.getComputedStyle(this.warnElement.nativeElement).color;break;default:this.canvasCtx.fillStyle=window.getComputedStyle(this.wrapperDiv.nativeElement).color}this.canvasCtx.font="bold "+this.valueFontSize.toString()+"px Arial",this.canvasCtx.textAlign="center",this.canvasCtx.textBaseline="middle",this.canvasCtx.fillText(r,this.canvasEl.nativeElement.width/2,this.canvasEl.nativeElement.height/2+this.valueFontSize/15,e)}drawTitle(){var e=Math.floor(this.canvasEl.nativeElement.width-.2*this.canvasEl.nativeElement.width),i=Math.floor(this.canvasEl.nativeElement.height-.8*this.canvasEl.nativeElement.height);if(null===this.widgetProperties.config.displayName)return;var r=i;this.canvasBGCtx.font="bold "+r.toString()+"px Arial";let o=this.canvasBGCtx.measureText(this.widgetProperties.config.displayName).width;for(o>e&&(r=Math.floor(r*(e/o)),this.canvasBGCtx.font="bold "+r.toString()+"px Arial");this.canvasBGCtx.measureText(this.widgetProperties.config.displayName).width>e&&r>0;)r--,this.canvasBGCtx.font="bold "+r.toString()+"px Arial";this.canvasBGCtx.textAlign="left",this.canvasBGCtx.textBaseline="top",this.canvasBGCtx.fillStyle=window.getComputedStyle(this.wrapperDiv.nativeElement).color,this.canvasBGCtx.fillText(this.widgetProperties.config.displayName,.03*this.canvasEl.nativeElement.width,.03*this.canvasEl.nativeElement.height,e)}drawUnit(){if("unitless"==this.widgetProperties.config.paths.numericPath.convertUnitTo||this.widgetProperties.config.paths.numericPath.convertUnitTo.startsWith("percent")||"ratio"==this.widgetProperties.config.paths.numericPath.convertUnitTo||this.widgetProperties.config.paths.numericPath.convertUnitTo.startsWith("lat")||this.widgetProperties.config.paths.numericPath.convertUnitTo.startsWith("lon"))return;var e=Math.floor(this.canvasEl.nativeElement.width-.8*this.canvasEl.nativeElement.width),r=Math.floor(this.canvasEl.nativeElement.height-.8*this.canvasEl.nativeElement.height);this.canvasBGCtx.font="bold "+r.toString()+"px Arial";let o=this.canvasBGCtx.measureText(this.widgetProperties.config.paths.numericPath.convertUnitTo).width;for(o>e&&(r=Math.floor(r*(e/o)),this.canvasBGCtx.font="bold "+r.toString()+"px Arial");this.canvasBGCtx.measureText(this.widgetProperties.config.paths.numericPath.convertUnitTo).width>e&&r>0;)r--,this.canvasBGCtx.font="bold "+r.toString()+"px Arial";this.canvasBGCtx.textAlign="right",this.canvasBGCtx.textBaseline="bottom",this.canvasBGCtx.fillStyle=window.getComputedStyle(this.wrapperDiv.nativeElement).color,this.canvasBGCtx.fillText(this.widgetProperties.config.paths.numericPath.convertUnitTo,.97*this.canvasEl.nativeElement.width,.97*this.canvasEl.nativeElement.height,e)}drawMinMax(){if(!this.widgetProperties.config.showMin&&!this.widgetProperties.config.showMax)return;let e="";if(this.widgetProperties.config.showMin&&(e=null!=this.minValue?" Min: "+this.applyDecorations(this.formatWidgetNumberValue(this.minValue)):" Min: --"),this.widgetProperties.config.showMax&&(e+=null!=this.maxValue?" Max: "+this.applyDecorations(this.formatWidgetNumberValue(this.maxValue)):e+" Max: --"),e=e.trim(),this.currentMinMaxLength!=e.length){this.currentMinMaxLength=e.length;var i=Math.floor(this.canvasEl.nativeElement.width-.6*this.canvasEl.nativeElement.width),r=Math.floor(this.canvasEl.nativeElement.height-.85*this.canvasEl.nativeElement.height);this.minMaxFontSize=r,this.canvasBGCtx.font="bold "+this.minMaxFontSize.toString()+"px Arial";let o=this.canvasBGCtx.measureText(e).width;for(o>i&&(this.minMaxFontSize=Math.floor(this.minMaxFontSize*(i/o)),this.canvasBGCtx.font="bold "+this.minMaxFontSize.toString()+"px Arial");this.canvasBGCtx.measureText(e).width>i&&this.minMaxFontSize>0;)this.minMaxFontSize--,this.canvasBGCtx.font="bold "+this.minMaxFontSize.toString()+"px Arial"}this.canvasCtx.font="bold "+this.minMaxFontSize.toString()+"px Arial",this.canvasCtx.textAlign="left",this.canvasCtx.textBaseline="bottom",this.canvasCtx.fillStyle=window.getComputedStyle(this.wrapperDiv.nativeElement).color,this.canvasCtx.fillText(e,.03*this.canvasEl.nativeElement.width,.97*this.canvasEl.nativeElement.height,i)}applyDecorations(e){switch(this.widgetProperties.config.paths.numericPath.convertUnitTo){case"percent":case"percentraw":e+="%"}return e}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Pe({type:t,selectors:[["app-widget-numeric"]],viewQuery:function(e,i){if(1&e&&(Oe(eoe,7,xe),Oe(toe,7,xe),Oe(noe,7,xe),Oe(ioe,7,xe),Oe(roe,7,xe)),2&e){let r;ue(r=de())&&(i.canvasEl=r.first),ue(r=de())&&(i.canvasBG=r.first),ue(r=de())&&(i.wrapperDiv=r.first),ue(r=de())&&(i.warnElement=r.first),ue(r=de())&&(i.warnContrastElement=r.first)}},features:[we],decls:10,vars:0,consts:[[1,"textGenericWrapper"],["NumWrapperDiv",""],["id","canvasValue",1,"canvas-size"],["canvasEl",""],["id","canvasBG",1,"canvas-size"],["canvasBG",""],[1,"warn",2,"display","none"],["warn",""],[1,"warn-contrast",2,"display","none"],["warncontrast",""]],template:function(e,i){1&e&&(v(0,"div",0,1),Y(2,"canvas",2,3)(4,"canvas",4,5)(6,"div",6,7)(8,"div",8,9),b())}}),t})();const soe=["canvasEl"],aoe=["canvasBG"],loe=["textGenericWrapperDiv"];let coe=(()=>{class t extends _o{constructor(){super(),this.dataValue=null,this.dataTimestamp=Date.now(),this.valueFontSize=1,this.currentValueLength=0,this.defaultConfig={displayName:"Gauge Label",filterSelfPaths:!0,paths:{stringPath:{description:"String Data",path:null,source:null,pathType:"string",isPathConfigurable:!0,sampleTime:500}}}}ngOnInit(){this.canvasCtx=this.canvasEl.nativeElement.getContext("2d"),this.canvasBGCtx=this.canvasBG.nativeElement.getContext("2d"),this.resizeWidget(),this.observeDataStream("stringPath",e=>{this.dataValue=e.value,this.updateCanvas()})}ngOnDestroy(){this.unsubscribeDataStream()}ngAfterViewChecked(){this.resizeWidget()}resizeWidget(){let e=this.wrapperDiv.nativeElement.getBoundingClientRect();e.height<50||e.width<50||(this.canvasEl.nativeElement.width!=Math.floor(e.width)||this.canvasEl.nativeElement.height!=Math.floor(e.height)?(this.canvasEl.nativeElement.width=Math.floor(e.width),this.canvasEl.nativeElement.height=Math.floor(e.height),this.canvasBG.nativeElement.width=Math.floor(e.width),this.canvasBG.nativeElement.height=Math.floor(e.height),this.currentValueLength=0,this.updateCanvas(),this.updateCanvasBG()):this.updateCanvasBG())}updateCanvas(){this.canvasCtx&&(this.canvasCtx.clearRect(0,0,this.canvasEl.nativeElement.width,this.canvasEl.nativeElement.height),this.drawValue())}updateCanvasBG(){this.canvasBGCtx&&(this.canvasBGCtx.clearRect(0,0,this.canvasEl.nativeElement.width,this.canvasEl.nativeElement.height),this.drawTitle())}drawValue(){let r,e=Math.floor(this.canvasEl.nativeElement.width-.15*this.canvasEl.nativeElement.width),i=Math.floor(this.canvasEl.nativeElement.height-.2*this.canvasEl.nativeElement.height);if(r=null===this.dataValue?"--":this.dataValue,this.currentValueLength!=r.length){this.currentValueLength=r.length,this.valueFontSize=i,this.canvasCtx.font="bold "+this.valueFontSize.toString()+"px Arial";let o=this.canvasCtx.measureText(r).width;for(o>e&&(this.valueFontSize=Math.floor(this.valueFontSize*(e/o)),this.canvasCtx.font="bold "+this.valueFontSize.toString()+"px Arial");this.canvasCtx.measureText(r).width>e&&this.valueFontSize>0;)this.valueFontSize--,this.canvasCtx.font="bold "+this.valueFontSize.toString()+"px Arial"}this.canvasCtx.font="bold "+this.valueFontSize.toString()+"px Arial",this.canvasCtx.textAlign="center",this.canvasCtx.textBaseline="middle",this.canvasCtx.fillStyle=window.getComputedStyle(this.wrapperDiv.nativeElement).color,this.canvasCtx.fillText(r,this.canvasEl.nativeElement.width/2,this.canvasEl.nativeElement.height/2+this.valueFontSize/15,e)}drawTitle(){var e=Math.floor(this.canvasEl.nativeElement.width-.2*this.canvasEl.nativeElement.width),i=Math.floor(this.canvasEl.nativeElement.height-.8*this.canvasEl.nativeElement.height);if(null!==this.widgetProperties.config.displayName){var r=1;for(this.canvasBGCtx.font="bold "+r.toString()+"px Arial";this.canvasBGCtx.measureText(this.widgetProperties.config.displayName).width{class t extends _o{constructor(){super(),this.dataValue=null,this.dataTimestamp=Date.now(),this.valueFontSize=1,this.currentValueLength=0,this.defaultConfig={displayName:"Time Label",filterSelfPaths:!0,paths:{gaugePath:{description:"String Data",path:null,source:null,pathType:"string",isPathConfigurable:!0,sampleTime:500}},dateFormat:"dd/MM/yyyy HH:mm:ss",dateTimezone:Intl.DateTimeFormat().resolvedOptions().timeZone}}ngOnInit(){this.observeDataStream("gaugePath",e=>{this.dataValue=e.value,this.updateCanvas()}),this.canvasCtx=this.canvasEl.nativeElement.getContext("2d"),this.canvasBGCtx=this.canvasBG.nativeElement.getContext("2d"),this.resizeWidget()}ngOnDestroy(){this.unsubscribeDataStream()}ngAfterViewChecked(){this.resizeWidget()}resizeWidget(){const e=this.wrapperDiv.nativeElement.getBoundingClientRect();e.height<50||e.width<50||(this.canvasEl.nativeElement.width!=Math.floor(e.width)||this.canvasEl.nativeElement.height!=Math.floor(e.height)?(this.canvasEl.nativeElement.width=Math.floor(e.width),this.canvasEl.nativeElement.height=Math.floor(e.height),this.canvasBG.nativeElement.width=Math.floor(e.width),this.canvasBG.nativeElement.height=Math.floor(e.height),this.currentValueLength=0,this.updateCanvas(),this.updateCanvasBG()):this.updateCanvasBG())}updateCanvas(){this.canvasCtx&&(this.canvasCtx.clearRect(0,0,this.canvasEl.nativeElement.width,this.canvasEl.nativeElement.height),this.drawValue())}updateCanvasBG(){this.canvasBGCtx&&(this.canvasBGCtx.clearRect(0,0,this.canvasEl.nativeElement.width,this.canvasEl.nativeElement.height),this.drawTitle())}drawValue(){const e=Math.floor(this.canvasEl.nativeElement.width-.15*this.canvasEl.nativeElement.width),i=Math.floor(this.canvasEl.nativeElement.height-.2*this.canvasEl.nativeElement.height);let r;if(null===this.dataValue)r="Source Path not configured";else{r=this.dataValue;try{r=U2(r,this.widgetProperties.config.dateFormat,"en-US",this.widgetProperties.config.dateTimezone)}catch(o){r=o,console.log("[Date Value Widget]: "+o)}}if(this.currentValueLength!=r.length){this.currentValueLength=r.length,this.valueFontSize=i,this.canvasCtx.font="bold "+this.valueFontSize.toString()+"px Arial";const o=this.canvasCtx.measureText(r).width;for(o>e&&(this.valueFontSize=Math.floor(this.valueFontSize*(e/o)),this.canvasCtx.font="bold "+this.valueFontSize.toString()+"px Arial");this.canvasCtx.measureText(r).width>e&&this.valueFontSize>0;)this.valueFontSize--,this.canvasCtx.font="bold "+this.valueFontSize.toString()+"px Arial"}this.canvasCtx.font="bold "+this.valueFontSize.toString()+"px Arial",this.canvasCtx.textAlign="center",this.canvasCtx.textBaseline="middle",this.canvasCtx.fillStyle=window.getComputedStyle(this.wrapperDiv.nativeElement).color,this.canvasCtx.fillText(r,this.canvasEl.nativeElement.width/2,this.canvasEl.nativeElement.height/2+this.valueFontSize/15,e)}drawTitle(){const e=Math.floor(this.canvasEl.nativeElement.width-.2*this.canvasEl.nativeElement.width),i=Math.floor(this.canvasEl.nativeElement.height-.8*this.canvasEl.nativeElement.height);if(null===this.widgetProperties.config.displayName)return;let r=1;for(this.canvasBGCtx.font="bold "+r.toString()+"px Arial";this.canvasBGCtx.measureText(this.widgetProperties.config.displayName).width"u"}function Pi(t){if(Array.isArray&&Array.isArray(t))return!0;const n=Object.prototype.toString.call(t);return"[object"===n.slice(0,7)&&"Array]"===n.slice(-6)}function zn(t){return null!==t&&"[object Object]"===Object.prototype.toString.call(t)}const Cr=t=>("number"==typeof t||t instanceof Number)&&isFinite(+t);function As(t,n){return Cr(t)?t:n}function Dn(t,n){return typeof t>"u"?n:t}const G3=(t,n)=>"string"==typeof t&&t.endsWith("%")?parseFloat(t)/100*n:+t;function Ri(t,n,e){if(t&&"function"==typeof t.call)return t.apply(e,n)}function Ci(t,n,e,i){let r,o,s;if(Pi(t))if(o=t.length,i)for(r=o-1;r>=0;r--)n.call(e,t[r],r);else for(r=0;rt,x:t=>t.x,y:t=>t.y};function Tc(t,n){return(Y3[n]||(Y3[n]=function voe(t){const n=function boe(t){const n=t.split("."),e=[];let i="";for(const r of n)i+=r,i.endsWith("\\")?i=i.slice(0,-1)+".":(e.push(i),i="");return e}(t);return e=>{for(const i of n){if(""===i)break;e=e&&e[i]}return e}}(n)))(t)}function Zx(t){return t.charAt(0).toUpperCase()+t.slice(1)}const Os=t=>typeof t<"u",Ec=t=>"function"==typeof t,K3=(t,n)=>{if(t.size!==n.size)return!1;for(const e of t)if(!n.has(e))return!1;return!0},er=Math.PI,Mi=2*er,woe=Mi+er,Qb=Number.POSITIVE_INFINITY,Coe=er/180,hr=er/2,wm=er/4,Z3=2*er/3,Is=Math.log10,La=Math.sign;function Q3(t){const n=Math.round(t);t=Cm(t,n,t/1e3)?n:t;const e=Math.pow(10,Math.floor(Is(t))),i=t/e;return(i<=1?1:i<=2?2:i<=5?5:10)*e}function Bh(t){return!isNaN(parseFloat(t))&&isFinite(t)}function Cm(t,n,e){return Math.abs(t-n)l&&c=Math.min(n,e)-i&&t<=Math.max(n,e)+i}function Jx(t,n,e){e=e||(s=>t[s]1;)o=r+i>>1,e(o)?r=o:i=o;return{lo:r,hi:i}}const Ll=(t,n,e,i)=>Jx(t,e,i?r=>t[r][n]<=e:r=>t[r][n]Jx(t,e,i=>t[i][n]>=e),tL=["push","pop","shift","splice","unshift"];function nL(t,n){const e=t._chartjs;if(!e)return;const i=e.listeners,r=i.indexOf(n);-1!==r&&i.splice(r,1),!(i.length>0)&&(tL.forEach(o=>{delete t[o]}),delete t._chartjs)}function iL(t){const n=new Set;let e,i;for(e=0,i=t.length;e"u"?function(t){return t()}:window.requestAnimationFrame;function oL(t,n,e){const i=e||(s=>Array.prototype.slice.call(s));let r=!1,o=[];return function(...s){o=i(s),r||(r=!0,rL.call(window,()=>{r=!1,t.apply(n,o)}))}}const ek=t=>"start"===t?"left":"end"===t?"right":"center",vo=(t,n,e)=>"start"===t?n:"end"===t?e:(n+e)/2;function sL(t,n,e){const i=n.length;let r=0,o=i;if(t._sorted){const{iScale:s,_parsed:a}=t,l=s.axis,{min:c,max:p,minDefined:m,maxDefined:_}=s.getUserBounds();m&&(r=Yr(Math.min(Ll(a,s.axis,c).lo,e?i:Ll(n,l,s.getPixelForValue(c)).lo),0,i-1)),o=_?Yr(Math.max(Ll(a,s.axis,p,!0).hi+1,e?0:Ll(n,l,s.getPixelForValue(p),!0).hi+1),r,i)-r:i-r}return{start:r,count:o}}function aL(t){const{xScale:n,yScale:e,_scaleRanges:i}=t,r={xmin:n.min,xmax:n.max,ymin:e.min,ymax:e.max};if(!i)return t._scaleRanges=r,!0;const o=i.xmin!==n.min||i.xmax!==n.max||i.ymin!==e.min||i.ymax!==e.max;return Object.assign(i,r),o}const Xb=t=>0===t||1===t,lL=(t,n,e)=>-Math.pow(2,10*(t-=1))*Math.sin((t-n)*Mi/e),cL=(t,n,e)=>Math.pow(2,-10*t)*Math.sin((t-n)*Mi/e)+1,xm={linear:t=>t,easeInQuad:t=>t*t,easeOutQuad:t=>-t*(t-2),easeInOutQuad:t=>(t/=.5)<1?.5*t*t:-.5*(--t*(t-2)-1),easeInCubic:t=>t*t*t,easeOutCubic:t=>(t-=1)*t*t+1,easeInOutCubic:t=>(t/=.5)<1?.5*t*t*t:.5*((t-=2)*t*t+2),easeInQuart:t=>t*t*t*t,easeOutQuart:t=>-((t-=1)*t*t*t-1),easeInOutQuart:t=>(t/=.5)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2),easeInQuint:t=>t*t*t*t*t,easeOutQuint:t=>(t-=1)*t*t*t*t+1,easeInOutQuint:t=>(t/=.5)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2),easeInSine:t=>1-Math.cos(t*hr),easeOutSine:t=>Math.sin(t*hr),easeInOutSine:t=>-.5*(Math.cos(er*t)-1),easeInExpo:t=>0===t?0:Math.pow(2,10*(t-1)),easeOutExpo:t=>1===t?1:1-Math.pow(2,-10*t),easeInOutExpo:t=>Xb(t)?t:t<.5?.5*Math.pow(2,10*(2*t-1)):.5*(2-Math.pow(2,-10*(2*t-1))),easeInCirc:t=>t>=1?t:-(Math.sqrt(1-t*t)-1),easeOutCirc:t=>Math.sqrt(1-(t-=1)*t),easeInOutCirc:t=>(t/=.5)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1),easeInElastic:t=>Xb(t)?t:lL(t,.075,.3),easeOutElastic:t=>Xb(t)?t:cL(t,.075,.3),easeInOutElastic:t=>Xb(t)?t:t<.5?.5*lL(2*t,.1125,.45):.5+.5*cL(2*t-1,.1125,.45),easeInBack:t=>t*t*(2.70158*t-1.70158),easeOutBack:t=>(t-=1)*t*(2.70158*t+1.70158)+1,easeInOutBack(t){let n=1.70158;return(t/=.5)<1?t*t*((1+(n*=1.525))*t-n)*.5:.5*((t-=2)*t*((1+(n*=1.525))*t+n)+2)},easeInBounce:t=>1-xm.easeOutBounce(1-t),easeOutBounce:t=>t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375,easeInOutBounce:t=>t<.5?.5*xm.easeInBounce(2*t):.5*xm.easeOutBounce(2*t-1)+.5};function km(t){return t+.5|0}const Ac=(t,n,e)=>Math.max(Math.min(t,e),n);function Dm(t){return Ac(km(2.55*t),0,255)}function Oc(t){return Ac(km(255*t),0,255)}function Bl(t){return Ac(km(t/2.55)/100,0,1)}function uL(t){return Ac(km(100*t),0,100)}const Ps={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},tk=[..."0123456789ABCDEF"],Ioe=t=>tk[15&t],Poe=t=>tk[(240&t)>>4]+tk[15&t],Jb=t=>(240&t)>>4==(15&t);const Boe=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function dL(t,n,e){const i=n*Math.min(e,1-e),r=(o,s=(o+t/30)%12)=>e-i*Math.max(Math.min(s-3,9-s,1),-1);return[r(0),r(8),r(4)]}function Voe(t,n,e){const i=(r,o=(r+t/60)%6)=>e-e*n*Math.max(Math.min(o,4-o,1),0);return[i(5),i(3),i(1)]}function Hoe(t,n,e){const i=dL(t,1,.5);let r;for(n+e>1&&(r=1/(n+e),n*=r,e*=r),r=0;r<3;r++)i[r]*=1-n-e,i[r]+=n;return i}function nk(t){const e=t.r/255,i=t.g/255,r=t.b/255,o=Math.max(e,i,r),s=Math.min(e,i,r),a=(o+s)/2;let l,c,p;return o!==s&&(p=o-s,c=a>.5?p/(2-o-s):p/(o+s),l=function zoe(t,n,e,i,r){return t===r?(n-e)/i+(nt<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055,Vh=t=>t<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4);function ty(t,n,e){if(t){let i=nk(t);i[n]=Math.max(0,Math.min(i[n]+i[n]*e,0===n?360:1)),i=rk(i),t.r=i[0],t.g=i[1],t.b=i[2]}}function mL(t,n){return t&&Object.assign(n||{},t)}function gL(t){var n={r:0,g:0,b:0,a:255};return Array.isArray(t)?t.length>=3&&(n={r:t[0],g:t[1],b:t[2],a:255},t.length>3&&(n.a=Oc(t[3]))):(n=mL(t,{r:0,g:0,b:0,a:1})).a=Oc(n.a),n}function Joe(t){return"r"===t.charAt(0)?function Zoe(t){const n=Koe.exec(t);let i,r,o,e=255;if(n){if(n[7]!==i){const s=+n[7];e=n[8]?Dm(s):Ac(255*s,0,255)}return i=+n[1],r=+n[3],o=+n[5],i=255&(n[2]?Dm(i):Ac(i,0,255)),r=255&(n[4]?Dm(r):Ac(r,0,255)),o=255&(n[6]?Dm(o):Ac(o,0,255)),{r:i,g:r,b:o,a:e}}}(t):function Uoe(t){const n=Boe.exec(t);let i,e=255;if(!n)return;n[5]!==i&&(e=n[6]?Dm(+n[5]):Oc(+n[5]));const r=hL(+n[2]),o=+n[3]/100,s=+n[4]/100;return i="hwb"===n[1]?function Woe(t,n,e){return ik(Hoe,t,n,e)}(r,o,s):"hsv"===n[1]?function joe(t,n,e){return ik(Voe,t,n,e)}(r,o,s):rk(r,o,s),{r:i[0],g:i[1],b:i[2],a:e}}(t)}class ny{constructor(n){if(n instanceof ny)return n;const e=typeof n;let i;"object"===e?i=gL(n):"string"===e&&(i=function Foe(t){var e,n=t.length;return"#"===t[0]&&(4===n||5===n?e={r:255&17*Ps[t[1]],g:255&17*Ps[t[2]],b:255&17*Ps[t[3]],a:5===n?17*Ps[t[4]]:255}:(7===n||9===n)&&(e={r:Ps[t[1]]<<4|Ps[t[2]],g:Ps[t[3]]<<4|Ps[t[4]],b:Ps[t[5]]<<4|Ps[t[6]],a:9===n?Ps[t[7]]<<4|Ps[t[8]]:255})),e}(n)||function Yoe(t){ey||(ey=function qoe(){const t={},n=Object.keys(pL),e=Object.keys(fL);let i,r,o,s,a;for(i=0;i>16&255,o>>8&255,255&o]}return t}(),ey.transparent=[0,0,0,0]);const n=ey[t.toLowerCase()];return n&&{r:n[0],g:n[1],b:n[2],a:4===n.length?n[3]:255}}(n)||Joe(n)),this._rgb=i,this._valid=!!i}get valid(){return this._valid}get rgb(){var n=mL(this._rgb);return n&&(n.a=Bl(n.a)),n}set rgb(n){this._rgb=gL(n)}rgbString(){return this._valid?function Qoe(t){return t&&(t.a<255?`rgba(${t.r}, ${t.g}, ${t.b}, ${Bl(t.a)})`:`rgb(${t.r}, ${t.g}, ${t.b})`)}(this._rgb):void 0}hexString(){return this._valid?function Loe(t){var n=(t=>Jb(t.r)&&Jb(t.g)&&Jb(t.b)&&Jb(t.a))(t)?Ioe:Poe;return t?"#"+n(t.r)+n(t.g)+n(t.b)+((t,n)=>t<255?n(t):"")(t.a,n):void 0}(this._rgb):void 0}hslString(){return this._valid?function Goe(t){if(!t)return;const n=nk(t),e=n[0],i=uL(n[1]),r=uL(n[2]);return t.a<255?`hsla(${e}, ${i}%, ${r}%, ${Bl(t.a)})`:`hsl(${e}, ${i}%, ${r}%)`}(this._rgb):void 0}mix(n,e){if(n){const i=this.rgb,r=n.rgb;let o;const s=e===o?.5:e,a=2*s-1,l=i.a-r.a,c=((a*l==-1?a:(a+l)/(1+a*l))+1)/2;o=1-c,i.r=255&c*i.r+o*r.r+.5,i.g=255&c*i.g+o*r.g+.5,i.b=255&c*i.b+o*r.b+.5,i.a=s*i.a+(1-s)*r.a,this.rgb=i}return this}interpolate(n,e){return n&&(this._rgb=function Xoe(t,n,e){const i=Vh(Bl(t.r)),r=Vh(Bl(t.g)),o=Vh(Bl(t.b));return{r:Oc(ok(i+e*(Vh(Bl(n.r))-i))),g:Oc(ok(r+e*(Vh(Bl(n.g))-r))),b:Oc(ok(o+e*(Vh(Bl(n.b))-o))),a:t.a+e*(n.a-t.a)}}(this._rgb,n._rgb,e)),this}clone(){return new ny(this.rgb)}alpha(n){return this._rgb.a=Oc(n),this}clearer(n){return this._rgb.a*=1-n,this}greyscale(){const n=this._rgb,e=km(.3*n.r+.59*n.g+.11*n.b);return n.r=n.g=n.b=e,this}opaquer(n){return this._rgb.a*=1+n,this}negate(){const n=this._rgb;return n.r=255-n.r,n.g=255-n.g,n.b=255-n.b,this}lighten(n){return ty(this._rgb,2,n),this}darken(n){return ty(this._rgb,2,-n),this}saturate(n){return ty(this._rgb,1,n),this}desaturate(n){return ty(this._rgb,1,-n),this}rotate(n){return function $oe(t,n){var e=nk(t);e[0]=hL(e[0]+n),e=rk(e),t.r=e[0],t.g=e[1],t.b=e[2]}(this._rgb,n),this}}function _L(t){return new ny(t)}function vL(t){if(t&&"object"==typeof t){const n=t.toString();return"[object CanvasPattern]"===n||"[object CanvasGradient]"===n}return!1}function bL(t){return vL(t)?t:_L(t)}function sk(t){return vL(t)?t:_L(t).saturate(.5).darken(.1).hexString()}const Wu=Object.create(null),ak=Object.create(null);function Mm(t,n){if(!n)return t;const e=n.split(".");for(let i=0,r=e.length;ie.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(e,i)=>sk(i.backgroundColor),this.hoverBorderColor=(e,i)=>sk(i.borderColor),this.hoverColor=(e,i)=>sk(i.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(n)}set(n,e){return lk(this,n,e)}get(n){return Mm(this,n)}describe(n,e){return lk(ak,n,e)}override(n,e){return lk(Wu,n,e)}route(n,e,i,r){const o=Mm(this,n),s=Mm(this,i),a="_"+e;Object.defineProperties(o,{[a]:{value:o[e],writable:!0},[e]:{enumerable:!0,get(){const l=this[a],c=s[r];return zn(l)?Object.assign({},c,l):Dn(l,c)},set(l){this[a]=l}}})}}({_scriptable:t=>!t.startsWith("on"),_indexable:t=>"events"!==t,hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}});function iy(t,n,e,i,r){let o=n[r];return o||(o=n[r]=t.measureText(r).width,e.push(r)),o>i&&(i=o),i}function nse(t,n,e,i){let r=(i=i||{}).data=i.data||{},o=i.garbageCollect=i.garbageCollect||[];i.font!==n&&(r=i.data={},o=i.garbageCollect=[],i.font=n),t.save(),t.font=n;let s=0;const a=e.length;let l,c,p,m,_;for(l=0;le.length){for(l=0;l0&&t.stroke()}}function Tm(t,n,e){return e=e||.5,!n||t&&t.x>n.left-e&&t.xn.top-e&&t.y0&&""!==o.strokeColor;let l,c;for(t.save(),t.font=r.string,function ose(t,n){n.translation&&t.translate(n.translation[0],n.translation[1]),Xn(n.rotation)||t.rotate(n.rotation),n.color&&(t.fillStyle=n.color),n.textAlign&&(t.textAlign=n.textAlign),n.textBaseline&&(t.textBaseline=n.textBaseline)}(t,o),l=0;l+t||0;function uk(t,n){const e={},i=zn(n),r=i?Object.keys(n):n,o=zn(t)?i?s=>Dn(t[s],t[n[s]]):s=>t[s]:()=>t;for(const s of r)e[s]=use(o(s));return e}function CL(t){return uk(t,{top:"y",right:"x",bottom:"y",left:"x"})}function $u(t){return uk(t,["topLeft","topRight","bottomLeft","bottomRight"])}function bo(t){const n=CL(t);return n.width=n.left+n.right,n.height=n.top+n.bottom,n}function Hr(t,n){let e=Dn((t=t||{}).size,(n=n||Un.font).size);"string"==typeof e&&(e=parseInt(e,10));let i=Dn(t.style,n.style);i&&!(""+i).match(lse)&&(console.warn('Invalid font style specified: "'+i+'"'),i="");const r={family:Dn(t.family,n.family),lineHeight:cse(Dn(t.lineHeight,n.lineHeight),e),size:e,style:i,weight:Dn(t.weight,n.weight),string:""};return r.string=function tse(t){return!t||Xn(t.size)||Xn(t.family)?null:(t.style?t.style+" ":"")+(t.weight?t.weight+" ":"")+t.size+"px "+t.family}(r),r}function Am(t,n,e,i){let o,s,a,r=!0;for(o=0,s=t.length;ot[0])){Os(i)||(i=ML("_fallback",t));const o={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:t,_rootScopes:e,_fallback:i,_getTarget:r,override:s=>dk([s,...t],n,e,i)};return new Proxy(o,{deleteProperty:(s,a)=>(delete s[a],delete s._keys,delete t[0][a],!0),get:(s,a)=>xL(s,a,()=>function bse(t,n,e,i){let r;for(const o of n)if(r=ML(hse(o,t),e),Os(r))return hk(t,r)?fk(e,i,t,r):r}(a,n,t,s)),getOwnPropertyDescriptor:(s,a)=>Reflect.getOwnPropertyDescriptor(s._scopes[0],a),getPrototypeOf:()=>Reflect.getPrototypeOf(t[0]),has:(s,a)=>TL(s).includes(a),ownKeys:s=>TL(s),set(s,a,l){const c=s._storage||(s._storage=r());return s[a]=c[a]=l,delete s._keys,!0}})}function Hh(t,n,e,i){const r={_cacheable:!1,_proxy:t,_context:n,_subProxy:e,_stack:new Set,_descriptors:SL(t,i),setContext:o=>Hh(t,o,e,i),override:o=>Hh(t.override(o),n,e,i)};return new Proxy(r,{deleteProperty:(o,s)=>(delete o[s],delete t[s],!0),get:(o,s,a)=>xL(o,s,()=>function fse(t,n,e){const{_proxy:i,_context:r,_subProxy:o,_descriptors:s}=t;let a=i[n];return Ec(a)&&s.isScriptable(n)&&(a=function pse(t,n,e,i){const{_proxy:r,_context:o,_subProxy:s,_stack:a}=e;if(a.has(t))throw new Error("Recursion detected: "+Array.from(a).join("->")+"->"+t);return a.add(t),n=n(o,s||i),a.delete(t),hk(t,n)&&(n=fk(r._scopes,r,t,n)),n}(n,a,t,e)),Pi(a)&&a.length&&(a=function mse(t,n,e,i){const{_proxy:r,_context:o,_subProxy:s,_descriptors:a}=e;if(Os(o.index)&&i(t))n=n[o.index%n.length];else if(zn(n[0])){const l=n,c=r._scopes.filter(p=>p!==l);n=[];for(const p of l){const m=fk(c,r,t,p);n.push(Hh(m,o,s&&s[t],a))}}return n}(n,a,t,s.isIndexable)),hk(n,a)&&(a=Hh(a,r,o&&o[n],s)),a}(o,s,a)),getOwnPropertyDescriptor:(o,s)=>o._descriptors.allKeys?Reflect.has(t,s)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(t,s),getPrototypeOf:()=>Reflect.getPrototypeOf(t),has:(o,s)=>Reflect.has(t,s),ownKeys:()=>Reflect.ownKeys(t),set:(o,s,a)=>(t[s]=a,delete o[s],!0)})}function SL(t,n={scriptable:!0,indexable:!0}){const{_scriptable:e=n.scriptable,_indexable:i=n.indexable,_allKeys:r=n.allKeys}=t;return{allKeys:r,scriptable:e,indexable:i,isScriptable:Ec(e)?e:()=>e,isIndexable:Ec(i)?i:()=>i}}const hse=(t,n)=>t?t+Zx(n):n,hk=(t,n)=>zn(n)&&"adapters"!==t&&(null===Object.getPrototypeOf(n)||n.constructor===Object);function xL(t,n,e){if(Object.prototype.hasOwnProperty.call(t,n))return t[n];const i=e();return t[n]=i,i}function kL(t,n,e){return Ec(t)?t(n,e):t}const gse=(t,n)=>!0===t?n:"string"==typeof t?Tc(n,t):void 0;function _se(t,n,e,i,r){for(const o of n){const s=gse(e,o);if(s){t.add(s);const a=kL(s._fallback,e,r);if(Os(a)&&a!==e&&a!==i)return a}else if(!1===s&&Os(i)&&e!==i)return null}return!1}function fk(t,n,e,i){const r=n._rootScopes,o=kL(n._fallback,e,i),s=[...t,...r],a=new Set;a.add(i);let l=DL(a,s,e,o||e,i);return!(null===l||Os(o)&&o!==e&&(l=DL(a,s,o,l,i),null===l))&&dk(Array.from(a),[""],r,o,()=>function vse(t,n,e){const i=t._getTarget();n in i||(i[n]={});const r=i[n];return Pi(r)&&zn(e)?e:r}(n,e,i))}function DL(t,n,e,i,r){for(;e;)e=_se(t,n,e,i,r);return e}function ML(t,n){for(const e of n){if(!e)continue;const i=e[t];if(Os(i))return i}}function TL(t){let n=t._keys;return n||(n=t._keys=function yse(t){const n=new Set;for(const e of t)for(const i of Object.keys(e).filter(r=>!r.startsWith("_")))n.add(i);return Array.from(n)}(t._scopes)),n}function EL(t,n,e,i){const{iScale:r}=t,{key:o="r"}=this._parsing,s=new Array(i);let a,l,c,p;for(a=0,l=i;an"x"===t?"y":"x";function Cse(t,n,e,i){const r=t.skip?n:t,o=n,s=e.skip?n:e,a=Xx(o,r),l=Xx(s,o);let c=a/(a+l),p=l/(a+l);c=isNaN(c)?0:c,p=isNaN(p)?0:p;const m=i*c,_=i*p;return{previous:{x:o.x-m*(s.x-r.x),y:o.y-m*(s.y-r.y)},next:{x:o.x+_*(s.x-r.x),y:o.y+_*(s.y-r.y)}}}function sy(t,n,e){return Math.max(Math.min(t,e),n)}function Mse(t,n,e,i,r){let o,s,a,l;if(n.spanGaps&&(t=t.filter(c=>!c.skip)),"monotone"===n.cubicInterpolationMode)!function kse(t,n="x"){const e=AL(n),i=t.length,r=Array(i).fill(0),o=Array(i);let s,a,l,c=zh(t,0);for(s=0;swindow.getComputedStyle(t,null),Ese=["top","right","bottom","left"];function Gu(t,n,e){const i={};e=e?"-"+e:"";for(let r=0;r<4;r++){const o=Ese[r];i[o]=parseFloat(t[n+"-"+o+e])||0}return i.width=i.left+i.right,i.height=i.top+i.bottom,i}function qu(t,n){if("native"in t)return t;const{canvas:e,currentDevicePixelRatio:i}=n,r=ly(e),o="border-box"===r.boxSizing,s=Gu(r,"padding"),a=Gu(r,"border","width"),{x:l,y:c,box:p}=function Ose(t,n){const e=t.touches,i=e&&e.length?e[0]:t,{offsetX:r,offsetY:o}=i;let a,l,s=!1;if(((t,n,e)=>(t>0||n>0)&&(!e||!e.shadowRoot))(r,o,t.target))a=r,l=o;else{const c=n.getBoundingClientRect();a=i.clientX-c.left,l=i.clientY-c.top,s=!0}return{x:a,y:l,box:s}}(t,e),m=s.left+(p&&a.left),_=s.top+(p&&a.top);let{width:C,height:k}=n;return o&&(C-=s.width+a.width,k-=s.height+a.height),{x:Math.round((l-m)/C*e.width/i),y:Math.round((c-_)/k*e.height/i)}}const mk=t=>Math.round(10*t)/10;function IL(t,n,e){const i=n||1,r=Math.floor(t.height*i),o=Math.floor(t.width*i);t.height=r/i,t.width=o/i;const s=t.canvas;return s.style&&(e||!s.style.height&&!s.style.width)&&(s.style.height=`${t.height}px`,s.style.width=`${t.width}px`),(t.currentDevicePixelRatio!==i||s.height!==r||s.width!==o)&&(t.currentDevicePixelRatio=i,s.height=r,s.width=o,t.ctx.setTransform(i,0,0,i,0,0),!0)}const Rse=function(){let t=!1;try{const n={get passive(){return t=!0,!1}};window.addEventListener("test",null,n),window.removeEventListener("test",null,n)}catch{}return t}();function PL(t,n){const e=function Tse(t,n){return ly(t).getPropertyValue(n)}(t,n),i=e&&e.match(/^(\d+)(\.\d+)?px$/);return i?+i[1]:void 0}function Yu(t,n,e,i){return{x:t.x+e*(n.x-t.x),y:t.y+e*(n.y-t.y)}}function Fse(t,n,e,i){return{x:t.x+e*(n.x-t.x),y:"middle"===i?e<.5?t.y:n.y:"after"===i?e<1?t.y:n.y:e>0?n.y:t.y}}function Nse(t,n,e,i){const r={x:t.cp2x,y:t.cp2y},o={x:n.cp1x,y:n.cp1y},s=Yu(t,r,e),a=Yu(r,o,e),l=Yu(o,n,e),c=Yu(s,a,e),p=Yu(a,l,e);return Yu(c,p,e)}const RL=new Map;function Om(t,n,e){return function Lse(t,n){n=n||{};const e=t+JSON.stringify(n);let i=RL.get(e);return i||(i=new Intl.NumberFormat(t,n),RL.set(e,i)),i}(n,e).format(t)}function Wh(t,n,e){return t?function(t,n){return{x:e=>t+t+n-e,setWidth(e){n=e},textAlign:e=>"center"===e?e:"right"===e?"left":"right",xPlus:(e,i)=>e-i,leftForLtr:(e,i)=>e-i}}(n,e):{x:t=>t,setWidth(t){},textAlign:t=>t,xPlus:(t,n)=>t+n,leftForLtr:(t,n)=>t}}function FL(t,n){let e,i;("ltr"===n||"rtl"===n)&&(e=t.canvas.style,i=[e.getPropertyValue("direction"),e.getPropertyPriority("direction")],e.setProperty("direction",n,"important"),t.prevTextDirection=i)}function NL(t,n){void 0!==n&&(delete t.prevTextDirection,t.canvas.style.setProperty("direction",n[0],n[1]))}function LL(t){return"angle"===t?{between:Sm,compare:koe,normalize:as}:{between:Nl,compare:(n,e)=>n-e,normalize:n=>n}}function BL({start:t,end:n,count:e,loop:i,style:r}){return{start:t%e,end:n%e,loop:i&&(n-t+1)%e==0,style:r}}function VL(t,n,e){if(!e)return[t];const{property:i,start:r,end:o}=e,s=n.length,{compare:a,between:l,normalize:c}=LL(i),{start:p,end:m,loop:_,style:C}=function Hse(t,n,e){const{property:i,start:r,end:o}=e,{between:s,normalize:a}=LL(i),l=n.length;let _,C,{start:c,end:p,loop:m}=t;if(m){for(c+=l,p+=l,_=0,C=l;_a({chart:n,initial:e.initial,numSteps:s,currentStep:Math.min(i-e.start,s)}))}_refresh(){this._request||(this._running=!0,this._request=rL.call(window,()=>{this._update(),this._request=null,this._running&&this._refresh()}))}_update(n=Date.now()){let e=0;this._charts.forEach((i,r)=>{if(!i.running||!i.items.length)return;const o=i.items;let l,s=o.length-1,a=!1;for(;s>=0;--s)l=o[s],l._active?(l._total>i.duration&&(i.duration=l._total),l.tick(n),a=!0):(o[s]=o[o.length-1],o.pop());a&&(r.draw(),this._notify(r,i,n,"progress")),o.length||(i.running=!1,this._notify(r,i,n,"complete"),i.initial=!1),e+=o.length}),this._lastDate=n,0===e&&(this._running=!1)}_getAnims(n){const e=this._charts;let i=e.get(n);return i||(i={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},e.set(n,i)),i}listen(n,e,i){this._getAnims(n).listeners[e].push(i)}add(n,e){!e||!e.length||this._getAnims(n).items.push(...e)}has(n){return this._getAnims(n).items.length>0}start(n){const e=this._charts.get(n);!e||(e.running=!0,e.start=Date.now(),e.duration=e.items.reduce((i,r)=>Math.max(i,r._duration),0),this._refresh())}running(n){if(!this._running)return!1;const e=this._charts.get(n);return!(!e||!e.running||!e.items.length)}stop(n){const e=this._charts.get(n);if(!e||!e.items.length)return;const i=e.items;let r=i.length-1;for(;r>=0;--r)i[r].cancel();e.items=[],this._notify(n,e,Date.now(),"complete")}remove(n){return this._charts.delete(n)}};const jL="transparent",qse={boolean:(t,n,e)=>e>.5?n:t,color(t,n,e){const i=bL(t||jL),r=i.valid&&bL(n||jL);return r&&r.valid?r.mix(i,e).hexString():n},number:(t,n,e)=>t+(n-t)*e};class Yse{constructor(n,e,i,r){const o=e[i];r=Am([n.to,r,o,n.from]);const s=Am([n.from,o,r]);this._active=!0,this._fn=n.fn||qse[n.type||typeof s],this._easing=xm[n.easing]||xm.linear,this._start=Math.floor(Date.now()+(n.delay||0)),this._duration=this._total=Math.floor(n.duration),this._loop=!!n.loop,this._target=e,this._prop=i,this._from=s,this._to=r,this._promises=void 0}active(){return this._active}update(n,e,i){if(this._active){this._notify(!1);const r=this._target[this._prop],o=i-this._start,s=this._duration-o;this._start=i,this._duration=Math.floor(Math.max(s,n.duration)),this._total+=o,this._loop=!!n.loop,this._to=Am([n.to,e,r,n.from]),this._from=Am([n.from,r,e])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(n){const e=n-this._start,i=this._duration,r=this._prop,o=this._from,s=this._loop,a=this._to;let l;if(this._active=o!==a&&(s||e1?2-l:l,l=this._easing(Math.min(1,Math.max(0,l))),this._target[r]=this._fn(o,a,l))}wait(){const n=this._promises||(this._promises=[]);return new Promise((e,i)=>{n.push({res:e,rej:i})})}_notify(n){const e=n?"res":"rej",i=this._promises||[];for(let r=0;r"onProgress"!==t&&"onComplete"!==t&&"fn"!==t}),Un.set("animations",{colors:{type:"color",properties:["color","borderColor","backgroundColor"]},numbers:{type:"number",properties:["x","y","borderWidth","radius","tension"]}}),Un.describe("animations",{_fallback:"animation"}),Un.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:t=>0|t}}}});class UL{constructor(n,e){this._chart=n,this._properties=new Map,this.configure(e)}configure(n){if(!zn(n))return;const e=this._properties;Object.getOwnPropertyNames(n).forEach(i=>{const r=n[i];if(!zn(r))return;const o={};for(const s of Qse)o[s]=r[s];(Pi(r.properties)&&r.properties||[i]).forEach(s=>{(s===i||!e.has(s))&&e.set(s,o)})})}_animateOptions(n,e){const i=e.options,r=function Jse(t,n){if(!n)return;let e=t.options;if(e)return e.$shared&&(t.options=e=Object.assign({},e,{$shared:!1,$animations:{}})),e;t.options=n}(n,i);if(!r)return[];const o=this._createAnimations(r,i);return i.$shared&&function Xse(t,n){const e=[],i=Object.keys(n);for(let r=0;r{n.options=i},()=>{}),o}_createAnimations(n,e){const i=this._properties,r=[],o=n.$animations||(n.$animations={}),s=Object.keys(e),a=Date.now();let l;for(l=s.length-1;l>=0;--l){const c=s[l];if("$"===c.charAt(0))continue;if("options"===c){r.push(...this._animateOptions(n,e));continue}const p=e[c];let m=o[c];const _=i.get(c);if(m){if(_&&m.active()){m.update(_,p,a);continue}m.cancel()}_&&_.duration?(o[c]=m=new Yse(_,n,c,p),r.push(m)):n[c]=p}return r}update(n,e){if(0===this._properties.size)return void Object.assign(n,e);const i=this._createAnimations(n,e);return i.length?(Vl.add(this._chart,i),!0):void 0}}function $L(t,n){const e=t&&t.options||{},i=e.reverse,r=void 0===e.min?n:0,o=void 0===e.max?n:0;return{start:i?o:r,end:i?r:o}}function GL(t,n){const e=[],i=t._getSortedDatasetMetas(n);let r,o;for(r=0,o=i.length;r0||!e&&o<0)return r.index}return null}function ZL(t,n){const{chart:e,_cachedMeta:i}=t,r=e._stacks||(e._stacks={}),{iScale:o,vScale:s,index:a}=i,l=o.axis,c=s.axis,p=function iae(t,n,e){return`${t.id}.${n.id}.${e.stack||e.type}`}(o,s,i),m=n.length;let _;for(let C=0;Ce[i].axis===n).shift()}function Im(t,n){const e=t.controller.index,i=t.vScale&&t.vScale.axis;if(i){n=n||t._parsed;for(const r of n){const o=r._stacks;if(!o||void 0===o[i]||void 0===o[i][e])return;delete o[i][e]}}}const _k=t=>"reset"===t||"none"===t,QL=(t,n)=>n?t:Object.assign({},t);let Ba=(()=>{class t{constructor(e,i){this.chart=e,this._ctx=e.ctx,this.index=i,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.initialize()}initialize(){const e=this._cachedMeta;this.configure(),this.linkScales(),e._stacked=YL(e.vScale,e),this.addElements()}updateIndex(e){this.index!==e&&Im(this._cachedMeta),this.index=e}linkScales(){const e=this.chart,i=this._cachedMeta,r=this.getDataset(),o=(_,C,k,A)=>"x"===_?C:"r"===_?A:k,s=i.xAxisID=Dn(r.xAxisID,gk(e,"x")),a=i.yAxisID=Dn(r.yAxisID,gk(e,"y")),l=i.rAxisID=Dn(r.rAxisID,gk(e,"r")),c=i.indexAxis,p=i.iAxisID=o(c,s,a,l),m=i.vAxisID=o(c,a,s,l);i.xScale=this.getScaleForId(s),i.yScale=this.getScaleForId(a),i.rScale=this.getScaleForId(l),i.iScale=this.getScaleForId(p),i.vScale=this.getScaleForId(m)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(e){return this.chart.scales[e]}_getOtherScale(e){const i=this._cachedMeta;return e===i.iScale?i.vScale:i.iScale}reset(){this._update("reset")}_destroy(){const e=this._cachedMeta;this._data&&nL(this._data,this),e._stacked&&Im(e)}_dataCheck(){const e=this.getDataset(),i=e.data||(e.data=[]),r=this._data;if(zn(i))this._data=function nae(t){const n=Object.keys(t),e=new Array(n.length);let i,r,o;for(i=0,r=n.length;i{const i="_onData"+Zx(e),r=t[e];Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value(...o){const s=r.apply(this,o);return t._chartjs.listeners.forEach(a=>{"function"==typeof a[i]&&a[i](...o)}),s}})}))}(i,this),this._syncList=[],this._data=i}}addElements(){const e=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(e.dataset=new this.datasetElementType)}buildOrUpdateElements(e){const i=this._cachedMeta,r=this.getDataset();let o=!1;this._dataCheck();const s=i._stacked;i._stacked=YL(i.vScale,i),i.stack!==r.stack&&(o=!0,Im(i),i.stack=r.stack),this._resyncElements(e),(o||s!==i._stacked)&&ZL(this,i._parsed)}configure(){const e=this.chart.config,i=e.datasetScopeKeys(this._type),r=e.getOptionScopes(this.getDataset(),i,!0);this.options=e.createResolver(r,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(e,i){const{_cachedMeta:r,_data:o}=this,{iScale:s,_stacked:a}=r,l=s.axis;let m,_,C,c=0===e&&i===o.length||r._sorted,p=e>0&&r._parsed[e-1];if(!1===this._parsing)r._parsed=o,r._sorted=!0,C=o;else{C=Pi(o[e])?this.parseArrayData(r,o,e,i):zn(o[e])?this.parseObjectData(r,o,e,i):this.parsePrimitiveData(r,o,e,i);const k=()=>null===_[l]||p&&_[l]t&&!n.hidden&&n._stacked&&{keys:GL(this.chart,!0),values:null})(i,r),p={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY},{min:m,max:_}=function rae(t){const{min:n,max:e,minDefined:i,maxDefined:r}=t.getUserBounds();return{min:i?n:Number.NEGATIVE_INFINITY,max:r?e:Number.POSITIVE_INFINITY}}(l);let C,k;function A(){k=o[C];const P=k[l.axis];return!Cr(k[e.axis])||m>P||_=0;--C)if(!A()){this.updateRangeFromParsed(p,e,k,c);break}return p}getAllParsedValues(e){const i=this._cachedMeta._parsed,r=[];let o,s,a;for(o=0,s=i.length;o=0&&ethis.getContext(r,o),_);return P.$shared&&(P.$shared=c,s[a]=Object.freeze(QL(P,c))),P}_resolveAnimations(e,i,r){const o=this.chart,s=this._cachedDataOpts,a=`animation-${i}`,l=s[a];if(l)return l;let c;if(!1!==o.options.animation){const m=this.chart.config,_=m.datasetAnimationScopeKeys(this._type,i),C=m.getOptionScopes(this.getDataset(),_);c=m.createResolver(C,this.getContext(e,r,i))}const p=new UL(o,c&&c.animations);return c&&c._cacheable&&(s[a]=Object.freeze(p)),p}getSharedOptions(e){if(e.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},e))}includeOptions(e,i){return!i||_k(e)||this.chart._animationsDisabled}_getSharedOptions(e,i){const r=this.resolveDataElementOptions(e,i),o=this._sharedOptions,s=this.getSharedOptions(r),a=this.includeOptions(i,s)||s!==o;return this.updateSharedOptions(s,i,r),{sharedOptions:s,includeOptions:a}}updateElement(e,i,r,o){_k(o)?Object.assign(e,r):this._resolveAnimations(i,o).update(e,r)}updateSharedOptions(e,i,r){e&&!_k(i)&&this._resolveAnimations(void 0,i).update(e,r)}_setStyle(e,i,r,o){e.active=o;const s=this.getStyle(i,o);this._resolveAnimations(i,r,o).update(e,{options:!o&&this.getSharedOptions(s)||s})}removeHoverStyle(e,i,r){this._setStyle(e,r,"active",!1)}setHoverStyle(e,i,r){this._setStyle(e,r,"active",!0)}_removeDatasetHoverStyle(){const e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,"active",!1)}_setDatasetHoverStyle(){const e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,"active",!0)}_resyncElements(e){const i=this._data,r=this._cachedMeta.data;for(const[l,c,p]of this._syncList)this[l](c,p);this._syncList=[];const o=r.length,s=i.length,a=Math.min(s,o);a&&this.parse(0,a),s>o?this._insertElements(o,s-o,e):s{for(p.length+=i,l=p.length-1;l>=a;l--)p[l]=p[l-i]};for(c(s),l=e;lr-o))}return t._cache.$bar}(n,t.type);let r,o,s,a,i=n._length;const l=()=>{32767===s||-32768===s||(Os(a)&&(i=Math.min(i,Math.abs(s-a)||i)),a=s)};for(r=0,o=e.length;rMath.abs(a)&&(l=a,c=s),n[e.axis]=c,n._custom={barStart:l,barEnd:c,start:r,end:o,min:s,max:a}}(t,n,e,i):n[e.axis]=e.parse(t,i),n}function JL(t,n,e,i){const r=t.iScale,o=t.vScale,s=r.getLabels(),a=r===o,l=[];let c,p,m,_;for(c=e,p=e+i;ct.x,e="left",i="right"):(n=t.base{class t extends Ba{parsePrimitiveData(e,i,r,o){return JL(e,i,r,o)}parseArrayData(e,i,r,o){return JL(e,i,r,o)}parseObjectData(e,i,r,o){const{iScale:s,vScale:a}=e,{xAxisKey:l="x",yAxisKey:c="y"}=this._parsing,p="x"===s.axis?l:c,m="x"===a.axis?l:c,_=[];let C,k,A,P;for(C=r,k=r+o;Cc.controller.options.grouped),s=r.options.stacked,a=[],l=c=>{const p=c.controller.getParsed(i),m=p&&p[c.vScale.axis];if(Xn(m)||isNaN(m))return!0};for(const c of o)if((void 0===i||!l(c))&&((!1===s||-1===a.indexOf(c.stack)||void 0===s&&void 0===c.stack)&&a.push(c.stack),c.index===e))break;return a.length||a.push(void 0),a}_getStackCount(e){return this._getStacks(void 0,e).length}_getStackIndex(e,i,r){const o=this._getStacks(e,r),s=void 0!==i?o.indexOf(i):-1;return-1===s?o.length-1:s}_getRuler(){const e=this.options,i=this._cachedMeta,r=i.iScale,o=[];let s,a;for(s=0,a=i.data.length;s=e?1:-1)}(A,i,a)*s,m===a&&(N-=A/2);const $=i.getPixelForDecimal(0),U=i.getPixelForDecimal(1),X=Math.min($,U),se=Math.max($,U);N=Math.max(Math.min(N,se),X),k=N+A}if(N===i.getPixelForValue(a)){const $=La(A)*i.getLineWidthForValue(a)/2;N+=$,A-=$}return{size:A,base:N,head:k,center:k+A/2}}_calculateBarIndexPixels(e,i){const r=i.scale,o=this.options,s=o.skipNull,a=Dn(o.maxBarThickness,1/0);let l,c;if(i.grouped){const p=s?this._getStackCount(e):i.stackCount,m="flex"===o.barThickness?function hae(t,n,e,i){const r=n.pixels,o=r[t];let s=t>0?r[t-1]:null,a=t{class t extends Ba{initialize(){this.enableOptionSharing=!0,super.initialize()}parsePrimitiveData(e,i,r,o){const s=super.parsePrimitiveData(e,i,r,o);for(let a=0;a=0;--r)i=Math.max(i,e[r].size(this.resolveDataElementOptions(r))/2);return i>0&&i}getLabelAndValue(e){const i=this._cachedMeta,{xScale:r,yScale:o}=i,s=this.getParsed(e),a=r.getLabelForValue(s.x),l=o.getLabelForValue(s.y),c=s._custom;return{label:i.label,value:"("+a+", "+l+(c?", "+c:"")+")"}}update(e){const i=this._cachedMeta.data;this.updateElements(i,0,i.length,e)}updateElements(e,i,r,o){const s="reset"===o,{iScale:a,vScale:l}=this._cachedMeta,{sharedOptions:c,includeOptions:p}=this._getSharedOptions(i,o),m=a.axis,_=l.axis;for(let C=i;C""}}}},t})(),n4=(()=>{class t extends Ba{constructor(e,i){super(e,i),this.enableOptionSharing=!0,this.innerRadius=void 0,this.outerRadius=void 0,this.offsetX=void 0,this.offsetY=void 0}linkScales(){}parse(e,i){const r=this.getDataset().data,o=this._cachedMeta;if(!1===this._parsing)o._parsed=r;else{let a,l,s=c=>+r[c];if(zn(r[e])){const{key:c="value"}=this._parsing;s=p=>+Tc(r[p],c)}for(a=e,l=e+i;a"string"==typeof t&&t.endsWith("%")?parseFloat(t)/100:t/n)(this.options.cutout,l),1),p=this._getRingWeight(this.index),{circumference:m,rotation:_}=this._getRotationExtents(),{ratioX:C,ratioY:k,offsetX:A,offsetY:P}=function wae(t,n,e){let i=1,r=1,o=0,s=0;if(nSm(U,a,l,!0)?1:Math.max(X,X*e,se,se*e),k=(U,X,se)=>Sm(U,a,l,!0)?-1:Math.min(X,X*e,se,se*e),A=C(0,c,m),P=C(hr,p,_),N=k(er,c,m),$=k(er+hr,p,_);i=(A-N)/2,r=(P-$)/2,o=-(A+N)/2,s=-(P+$)/2}return{ratioX:i,ratioY:r,offsetX:o,offsetY:s}}(_,m,c),U=Math.max(Math.min((r.width-a)/C,(r.height-a)/k)/2,0),X=G3(this.options.radius,U),ve=(X-Math.max(X*c,0))/this._getVisibleDatasetWeightTotal();this.offsetX=A*X,this.offsetY=P*X,o.total=this.calculateTotal(),this.outerRadius=X-ve*this._getRingWeightOffset(this.index),this.innerRadius=Math.max(this.outerRadius-ve*p,0),this.updateElements(s,0,s.length,e)}_circumference(e,i){const r=this.options,o=this._cachedMeta,s=this._getCircumference();return i&&r.animation.animateRotate||!this.chart.getDataVisibility(e)||null===o._parsed[e]||o.data[e].hidden?0:this.calculateCircumference(o._parsed[e]*s/Mi)}updateElements(e,i,r,o){const s="reset"===o,a=this.chart,l=a.chartArea,m=(l.left+l.right)/2,_=(l.top+l.bottom)/2,C=s&&a.options.animation.animateScale,k=C?0:this.innerRadius,A=C?0:this.outerRadius,{sharedOptions:P,includeOptions:N}=this._getSharedOptions(i,o);let U,$=this._getRotation();for(U=0;U0&&!isNaN(e)?Mi*(Math.abs(e)/i):0}getLabelAndValue(e){const r=this.chart,o=r.data.labels||[],s=Om(this._cachedMeta._parsed[e],r.options.locale);return{label:o[e]||"",value:s}}getMaxBorderWidth(e){let i=0;const r=this.chart;let o,s,a,l,c;if(!e)for(o=0,s=r.data.datasets.length;o"spacing"!==n,_indexable:n=>"spacing"!==n},t.overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(n){const e=n.data;if(e.labels.length&&e.datasets.length){const{labels:{pointStyle:i}}=n.legend.options;return e.labels.map((r,o)=>{const a=n.getDatasetMeta(0).controller.getStyle(o);return{text:r,fillStyle:a.backgroundColor,strokeStyle:a.borderColor,lineWidth:a.borderWidth,pointStyle:i,hidden:!n.getDataVisibility(o),index:o}})}return[]}},onClick(n,e,i){i.chart.toggleDataVisibility(e.index),i.chart.update()}},tooltip:{callbacks:{title:()=>"",label(n){let e=n.label;const i=": "+n.formattedValue;return Pi(e)?(e=e.slice(),e[0]+=i):e+=i,e}}}}},t})(),Cae=(()=>{class t extends Ba{initialize(){this.enableOptionSharing=!0,this.supportsDecimation=!0,super.initialize()}update(e){const i=this._cachedMeta,{dataset:r,data:o=[],_dataset:s}=i,a=this.chart._animationsDisabled;let{start:l,count:c}=sL(i,o,a);this._drawStart=l,this._drawCount=c,aL(i)&&(l=0,c=o.length),r._chart=this.chart,r._datasetIndex=this.index,r._decimated=!!s._decimated,r.points=o;const p=this.resolveDatasetElementOptions(e);this.options.showLine||(p.borderWidth=0),p.segment=this.options.segment,this.updateElement(r,void 0,{animated:!a,options:p},e),this.updateElements(o,l,c,e)}updateElements(e,i,r,o){const s="reset"===o,{iScale:a,vScale:l,_stacked:c,_dataset:p}=this._cachedMeta,{sharedOptions:m,includeOptions:_}=this._getSharedOptions(i,o),C=a.axis,k=l.axis,{spanGaps:A,segment:P}=this.options,N=Bh(A)?A:Number.POSITIVE_INFINITY,$=this.chart._animationsDisabled||s||"none"===o;let U=i>0&&this.getParsed(i-1);for(let X=i;X0&&Math.abs(ve[C]-U[C])>N,P&&(De.parsed=ve,De.raw=p.data[X]),_&&(De.options=m||this.resolveDataElementOptions(X,se.active?"active":o)),$||this.updateElement(se,X,De,o),U=ve}}getMaxOverflow(){const e=this._cachedMeta,i=e.dataset,r=i.options&&i.options.borderWidth||0,o=e.data||[];if(!o.length)return r;const s=o[0].size(this.resolveDataElementOptions(0)),a=o[o.length-1].size(this.resolveDataElementOptions(o.length-1));return Math.max(r,s,a)/2}draw(){const e=this._cachedMeta;e.dataset.updateControlPoints(this.chart.chartArea,e.iScale.axis),super.draw()}}return t.id="line",t.defaults={datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1},t.overrides={scales:{_index_:{type:"category"},_value_:{type:"linear"}}},t})(),Sae=(()=>{class t extends Ba{constructor(e,i){super(e,i),this.innerRadius=void 0,this.outerRadius=void 0}getLabelAndValue(e){const r=this.chart,o=r.data.labels||[],s=Om(this._cachedMeta._parsed[e].r,r.options.locale);return{label:o[e]||"",value:s}}parseObjectData(e,i,r,o){return EL.bind(this)(e,i,r,o)}update(e){const i=this._cachedMeta.data;this._updateRadius(),this.updateElements(i,0,i.length,e)}getMinMax(){const i={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY};return this._cachedMeta.data.forEach((r,o)=>{const s=this.getParsed(o).r;!isNaN(s)&&this.chart.getDataVisibility(o)&&(si.max&&(i.max=s))}),i}_updateRadius(){const e=this.chart,i=e.chartArea,r=e.options,o=Math.min(i.right-i.left,i.bottom-i.top),s=Math.max(o/2,0),l=(s-Math.max(r.cutoutPercentage?s/100*r.cutoutPercentage:1,0))/e.getVisibleDatasetCount();this.outerRadius=s-l*this.index,this.innerRadius=this.outerRadius-l}updateElements(e,i,r,o){const s="reset"===o,a=this.chart,c=a.options.animation,p=this._cachedMeta.rScale,m=p.xCenter,_=p.yCenter,C=p.getIndexAngle(0)-.5*er;let A,k=C;const P=360/this.countVisibleElements();for(A=0;A{!isNaN(this.getParsed(o).r)&&this.chart.getDataVisibility(o)&&i++}),i}_computeAngle(e,i,r){return this.chart.getDataVisibility(e)?ra(this.resolveDataElementOptions(e,i).angle||r):0}}return t.id="polarArea",t.defaults={dataElementType:"arc",animation:{animateRotate:!0,animateScale:!0},animations:{numbers:{type:"number",properties:["x","y","startAngle","endAngle","innerRadius","outerRadius"]}},indexAxis:"r",startAngle:0},t.overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(n){const e=n.data;if(e.labels.length&&e.datasets.length){const{labels:{pointStyle:i}}=n.legend.options;return e.labels.map((r,o)=>{const a=n.getDatasetMeta(0).controller.getStyle(o);return{text:r,fillStyle:a.backgroundColor,strokeStyle:a.borderColor,lineWidth:a.borderWidth,pointStyle:i,hidden:!n.getDataVisibility(o),index:o}})}return[]}},onClick(n,e,i){i.chart.toggleDataVisibility(e.index),i.chart.update()}},tooltip:{callbacks:{title:()=>"",label:n=>n.chart.data.labels[n.dataIndex]+": "+n.formattedValue}}},scales:{r:{type:"radialLinear",angleLines:{display:!1},beginAtZero:!0,grid:{circular:!0},pointLabels:{display:!1},startAngle:0}}},t})(),xae=(()=>{class t extends n4{}return t.id="pie",t.defaults={cutout:0,rotation:0,circumference:360,radius:"100%"},t})(),kae=(()=>{class t extends Ba{getLabelAndValue(e){const i=this._cachedMeta.vScale,r=this.getParsed(e);return{label:i.getLabels()[e],value:""+i.getLabelForValue(r[i.axis])}}parseObjectData(e,i,r,o){return EL.bind(this)(e,i,r,o)}update(e){const i=this._cachedMeta,r=i.dataset,o=i.data||[],s=i.iScale.getLabels();if(r.points=o,"resize"!==e){const a=this.resolveDatasetElementOptions(e);this.options.showLine||(a.borderWidth=0),this.updateElement(r,void 0,{_loop:!0,_fullLoop:s.length===o.length,options:a},e)}this.updateElements(o,0,o.length,e)}updateElements(e,i,r,o){const s=this._cachedMeta.rScale,a="reset"===o;for(let l=i;l{r[o]=i[o]&&i[o].active()?i[o]._to:this[o]}),r}}oa.defaults={},oa.defaultRoutes=void 0;const r4={values:t=>Pi(t)?t:""+t,numeric(t,n,e){if(0===t)return"0";const i=this.chart.options.locale;let r,o=t;if(e.length>1){const c=Math.max(Math.abs(e[0].value),Math.abs(e[e.length-1].value));(c<1e-4||c>1e15)&&(r="scientific"),o=function Dae(t,n){let e=n.length>3?n[2].value-n[1].value:n[1].value-n[0].value;return Math.abs(e)>=1&&t!==Math.floor(t)&&(e=t-Math.floor(t)),e}(t,e)}const s=Is(Math.abs(o)),a=Math.max(Math.min(-1*Math.floor(s),20),0),l={notation:r,minimumFractionDigits:a,maximumFractionDigits:a};return Object.assign(l,this.options.ticks.format),Om(t,i,l)},logarithmic(t,n,e){if(0===t)return"0";const i=t/Math.pow(10,Math.floor(Is(t)));return 1===i||2===i||5===i?r4.numeric.call(this,t,n,e):""}};var cy={formatters:r4};function uy(t,n,e,i,r){const o=Dn(i,0),s=Math.min(Dn(r,t.length),t.length);let l,c,p,a=0;for(e=Math.ceil(e),r&&(l=r-i,e=l/Math.floor(l/e)),p=o;p<0;)a++,p=Math.round(o+a*e);for(c=Math.max(o,0);cn.lineWidth,tickColor:(t,n)=>n.color,offset:!1,borderDash:[],borderDashOffset:0,borderWidth:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:cy.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),Un.route("scale.ticks","color","","color"),Un.route("scale.grid","color","","borderColor"),Un.route("scale.grid","borderColor","","borderColor"),Un.route("scale.title","color","","color"),Un.describe("scale",{_fallback:!1,_scriptable:t=>!t.startsWith("before")&&!t.startsWith("after")&&"callback"!==t&&"parser"!==t,_indexable:t=>"borderDash"!==t&&"tickBorderDash"!==t}),Un.describe("scales",{_fallback:"scale"}),Un.describe("scale.ticks",{_scriptable:t=>"backdropPadding"!==t&&"callback"!==t,_indexable:t=>"backdropPadding"!==t});const o4=(t,n,e)=>"top"===n||"left"===n?t[n]+e:t[n]-e;function s4(t,n){const e=[],i=t.length/n,r=t.length;let o=0;for(;os+a)))return l}function Pm(t){return t.drawTicks?t.tickLength:0}function a4(t,n){if(!t.display)return 0;const e=Hr(t.font,n),i=bo(t.padding);return(Pi(t.text)?t.text.length:1)*e.lineHeight+i.height}function Bae(t,n,e){let i=ek(t);return(e&&"right"!==n||!e&&"right"===n)&&(i=(t=>"left"===t?"right":"right"===t?"left":t)(i)),i}class Ku extends oa{constructor(n){super(),this.id=n.id,this.type=n.type,this.options=void 0,this.ctx=n.ctx,this.chart=n.chart,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this._margins={left:0,right:0,top:0,bottom:0},this.maxWidth=void 0,this.maxHeight=void 0,this.paddingTop=void 0,this.paddingBottom=void 0,this.paddingLeft=void 0,this.paddingRight=void 0,this.axis=void 0,this.labelRotation=void 0,this.min=void 0,this.max=void 0,this._range=void 0,this.ticks=[],this._gridLineItems=null,this._labelItems=null,this._labelSizes=null,this._length=0,this._maxLength=0,this._longestTextCache={},this._startPixel=void 0,this._endPixel=void 0,this._reversePixels=!1,this._userMax=void 0,this._userMin=void 0,this._suggestedMax=void 0,this._suggestedMin=void 0,this._ticksLength=0,this._borderValue=0,this._cache={},this._dataLimitsCached=!1,this.$context=void 0}init(n){this.options=n.setContext(this.getContext()),this.axis=n.axis,this._userMin=this.parse(n.min),this._userMax=this.parse(n.max),this._suggestedMin=this.parse(n.suggestedMin),this._suggestedMax=this.parse(n.suggestedMax)}parse(n,e){return n}getUserBounds(){let{_userMin:n,_userMax:e,_suggestedMin:i,_suggestedMax:r}=this;return n=As(n,Number.POSITIVE_INFINITY),e=As(e,Number.NEGATIVE_INFINITY),i=As(i,Number.POSITIVE_INFINITY),r=As(r,Number.NEGATIVE_INFINITY),{min:As(n,i),max:As(e,r),minDefined:Cr(n),maxDefined:Cr(e)}}getMinMax(n){let s,{min:e,max:i,minDefined:r,maxDefined:o}=this.getUserBounds();if(r&&o)return{min:e,max:i};const a=this.getMatchingVisibleMetas();for(let l=0,c=a.length;li?i:e,i=r&&e>i?e:i,{min:As(e,As(i,e)),max:As(i,As(e,i))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){const n=this.chart.data;return this.options.labels||(this.isHorizontal()?n.xLabels:n.yLabels)||n.labels||[]}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){Ri(this.options.beforeUpdate,[this])}update(n,e,i){const{beginAtZero:r,grace:o,ticks:s}=this.options,a=s.sampleSize;this.beforeUpdate(),this.maxWidth=n,this.maxHeight=e,this._margins=i=Object.assign({left:0,right:0,top:0,bottom:0},i),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+i.left+i.right:this.height+i.top+i.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=function dse(t,n,e){const{min:i,max:r}=t,o=G3(n,(r-i)/2),s=(a,l)=>e&&0===a?0:a+l;return{min:s(i,-Math.abs(o)),max:s(r,o)}}(this,o,r),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const l=ai)return function Oae(t,n,e,i){let s,r=0,o=e[0];for(i=Math.ceil(i),s=0;sr-o).pop(),n}(i);for(let s=0,a=o.length-1;sr)return l}return Math.max(r,1)}(r,n,i);if(o>0){let p,m;const _=o>1?Math.round((a-s)/(o-1)):null;for(uy(n,l,c,Xn(_)?0:s-_,s),p=0,m=o-1;p=o||i<=1||!this.isHorizontal())return void(this.labelRotation=r);const p=this._getLabelSizes(),m=p.widest.width,_=p.highest.height,C=Yr(this.chart.width-m,0,this.maxWidth);a=n.offset?this.maxWidth/i:C/(i-1),m+6>a&&(a=C/(i-(n.offset?.5:1)),l=this.maxHeight-Pm(n.grid)-e.padding-a4(n.title,this.chart.options.font),c=Math.sqrt(m*m+_*_),s=Qx(Math.min(Math.asin(Yr((p.highest.height+6)/a,-1,1)),Math.asin(Yr(l/c,-1,1))-Math.asin(Yr(_/c,-1,1)))),s=Math.max(r,Math.min(o,s))),this.labelRotation=s}afterCalculateLabelRotation(){Ri(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){Ri(this.options.beforeFit,[this])}fit(){const n={width:0,height:0},{chart:e,options:{ticks:i,title:r,grid:o}}=this,s=this._isVisible(),a=this.isHorizontal();if(s){const l=a4(r,e.options.font);if(a?(n.width=this.maxWidth,n.height=Pm(o)+l):(n.height=this.maxHeight,n.width=Pm(o)+l),i.display&&this.ticks.length){const{first:c,last:p,widest:m,highest:_}=this._getLabelSizes(),C=2*i.padding,k=ra(this.labelRotation),A=Math.cos(k),P=Math.sin(k);a?n.height=Math.min(this.maxHeight,n.height+(i.mirror?0:P*m.width+A*_.height)+C):n.width=Math.min(this.maxWidth,n.width+(i.mirror?0:A*m.width+P*_.height)+C),this._calculatePadding(c,p,P,A)}}this._handleMargins(),a?(this.width=this._length=e.width-this._margins.left-this._margins.right,this.height=n.height):(this.width=n.width,this.height=this._length=e.height-this._margins.top-this._margins.bottom)}_calculatePadding(n,e,i,r){const{ticks:{align:o,padding:s},position:a}=this.options,l=0!==this.labelRotation,c="top"!==a&&"x"===this.axis;if(this.isHorizontal()){const p=this.getPixelForTick(0)-this.left,m=this.right-this.getPixelForTick(this.ticks.length-1);let _=0,C=0;l?c?(_=r*n.width,C=i*e.height):(_=i*n.height,C=r*e.width):"start"===o?C=e.width:"end"===o?_=n.width:"inner"!==o&&(_=n.width/2,C=e.width/2),this.paddingLeft=Math.max((_-p+s)*this.width/(this.width-p),0),this.paddingRight=Math.max((C-m+s)*this.width/(this.width-m),0)}else{let p=e.height/2,m=n.height/2;"start"===o?(p=0,m=n.height):"end"===o&&(p=e.height,m=0),this.paddingTop=p+s,this.paddingBottom=m+s}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){Ri(this.options.afterFit,[this])}isHorizontal(){const{axis:n,position:e}=this.options;return"top"===e||"bottom"===e||"x"===n}isFullSize(){return this.options.fullSize}_convertTicksToLabels(n){let e,i;for(this.beforeTickToLabelConversion(),this.generateTickLabels(n),e=0,i=n.length;e{const i=e.gc,r=i.length/2;let o;if(r>n){for(o=0;o({width:o[De]||0,height:s[De]||0});return{first:ve(0),last:ve(e-1),widest:ve(X),highest:ve(se),widths:o,heights:s}}getLabelForValue(n){return n}getPixelForValue(n,e){return NaN}getValueForPixel(n){}getPixelForTick(n){const e=this.ticks;return n<0||n>e.length-1?null:this.getPixelForValue(e[n].value)}getPixelForDecimal(n){this._reversePixels&&(n=1-n);const e=this._startPixel+n*this._length;return function Doe(t){return Yr(t,-32768,32767)}(this._alignToPixels?ju(this.chart,e,0):e)}getDecimalForPixel(n){const e=(n-this._startPixel)/this._length;return this._reversePixels?1-e:e}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){const{min:n,max:e}=this;return n<0&&e<0?e:n>0&&e>0?n:0}getContext(n){const e=this.ticks||[];if(n>=0&&na*r?a/i:l/r:l*r0}_computeGridLineItems(n){const e=this.axis,i=this.chart,r=this.options,{grid:o,position:s}=r,a=o.offset,l=this.isHorizontal(),p=this.ticks.length+(a?1:0),m=Pm(o),_=[],C=o.setContext(this.getContext()),k=C.drawBorder?C.borderWidth:0,A=k/2,P=function(pt){return ju(i,pt,k)};let N,$,U,X,se,ve,De,He,We,Ft,an,qt;if("top"===s)N=P(this.bottom),ve=this.bottom-m,He=N-A,Ft=P(n.top)+A,qt=n.bottom;else if("bottom"===s)N=P(this.top),Ft=n.top,qt=P(n.bottom)-A,ve=N+A,He=this.top+m;else if("left"===s)N=P(this.right),se=this.right-m,De=N-A,We=P(n.left)+A,an=n.right;else if("right"===s)N=P(this.left),We=n.left,an=P(n.right)-A,se=N+A,De=this.left+m;else if("x"===e){if("center"===s)N=P((n.top+n.bottom)/2+.5);else if(zn(s)){const pt=Object.keys(s)[0];N=P(this.chart.scales[pt].getPixelForValue(s[pt]))}Ft=n.top,qt=n.bottom,ve=N+A,He=ve+m}else if("y"===e){if("center"===s)N=P((n.left+n.right)/2);else if(zn(s)){const pt=Object.keys(s)[0];N=P(this.chart.scales[pt].getPixelForValue(s[pt]))}se=N-A,De=se-m,We=n.left,an=n.right}const Nn=Dn(r.ticks.maxTicksLimit,p),Ni=Math.max(1,Math.ceil(p/Nn));for($=0;$o.value===n);return r>=0?e.setContext(this.getContext(r)).lineWidth:0}drawGrid(n){const e=this.options.grid,i=this.ctx,r=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(n));let o,s;const a=(l,c,p)=>{!p.width||!p.color||(i.save(),i.lineWidth=p.width,i.strokeStyle=p.color,i.setLineDash(p.borderDash||[]),i.lineDashOffset=p.borderDashOffset,i.beginPath(),i.moveTo(l.x,l.y),i.lineTo(c.x,c.y),i.stroke(),i.restore())};if(e.display)for(o=0,s=r.length;o{this.drawBackground(),this.drawGrid(r),this.drawTitle()}},{z:i+1,draw:()=>{this.drawBorder()}},{z:e,draw:r=>{this.drawLabels(r)}}]:[{z:e,draw:r=>{this.draw(r)}}]}getMatchingVisibleMetas(n){const e=this.chart.getSortedVisibleDatasetMetas(),i=this.axis+"AxisID",r=[];let o,s;for(o=0,s=e.length;o{const i=e.split("."),r=i.pop(),o=[t].concat(i).join("."),s=n[e].split("."),a=s.pop(),l=s.join(".");Un.route(o,r,l,a)})}(n,t.defaultRoutes),t.descriptors&&Un.describe(n,t.descriptors)}(n,s,i),this.override&&Un.override(n.id,n.overrides)),s}get(n){return this.items[n]}unregister(n){const e=this.items,i=n.id,r=this.scope;i in e&&delete e[i],r&&i in Un[r]&&(delete Un[r][i],this.override&&delete Wu[i])}}var Va=new class jae{constructor(){this.controllers=new dy(Ba,"datasets",!0),this.elements=new dy(oa,"elements"),this.plugins=new dy(Object,"plugins"),this.scales=new dy(Ku,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...n){this._each("register",n)}remove(...n){this._each("unregister",n)}addControllers(...n){this._each("register",n,this.controllers)}addElements(...n){this._each("register",n,this.elements)}addPlugins(...n){this._each("register",n,this.plugins)}addScales(...n){this._each("register",n,this.scales)}getController(n){return this._get(n,this.controllers,"controller")}getElement(n){return this._get(n,this.elements,"element")}getPlugin(n){return this._get(n,this.plugins,"plugin")}getScale(n){return this._get(n,this.scales,"scale")}removeControllers(...n){this._each("unregister",n,this.controllers)}removeElements(...n){this._each("unregister",n,this.elements)}removePlugins(...n){this._each("unregister",n,this.plugins)}removeScales(...n){this._each("unregister",n,this.scales)}_each(n,e,i){[...e].forEach(r=>{const o=i||this._getRegistryForType(r);i||o.isForType(r)||o===this.plugins&&r.id?this._exec(n,o,r):Ci(r,s=>{const a=i||this._getRegistryForType(s);this._exec(n,a,s)})})}_exec(n,e,i){const r=Zx(n);Ri(i["before"+r],[],i),e[n](i),Ri(i["after"+r],[],i)}_getRegistryForType(n){for(let e=0;e{class t extends Ba{update(e){const i=this._cachedMeta,{data:r=[]}=i,o=this.chart._animationsDisabled;let{start:s,count:a}=sL(i,r,o);if(this._drawStart=s,this._drawCount=a,aL(i)&&(s=0,a=r.length),this.options.showLine){const{dataset:l,_dataset:c}=i;l._chart=this.chart,l._datasetIndex=this.index,l._decimated=!!c._decimated,l.points=r;const p=this.resolveDatasetElementOptions(e);p.segment=this.options.segment,this.updateElement(l,void 0,{animated:!o,options:p},e)}this.updateElements(r,s,a,e)}addElements(){const{showLine:e}=this.options;!this.datasetElementType&&e&&(this.datasetElementType=Va.getElement("line")),super.addElements()}updateElements(e,i,r,o){const s="reset"===o,{iScale:a,vScale:l,_stacked:c,_dataset:p}=this._cachedMeta,m=this.resolveDataElementOptions(i,o),_=this.getSharedOptions(m),C=this.includeOptions(o,_),k=a.axis,A=l.axis,{spanGaps:P,segment:N}=this.options,$=Bh(P)?P:Number.POSITIVE_INFINITY,U=this.chart._animationsDisabled||s||"none"===o;let X=i>0&&this.getParsed(i-1);for(let se=i;se0&&Math.abs(De[k]-X[k])>$,N&&(He.parsed=De,He.raw=p.data[se]),C&&(He.options=_||this.resolveDataElementOptions(se,ve.active?"active":o)),U||this.updateElement(ve,se,He,o),X=De}this.updateSharedOptions(_,o,m)}getMaxOverflow(){const e=this._cachedMeta,i=e.data||[];if(!this.options.showLine){let l=0;for(let c=i.length-1;c>=0;--c)l=Math.max(l,i[c].size(this.resolveDataElementOptions(c))/2);return l>0&&l}const r=e.dataset,o=r.options&&r.options.borderWidth||0;if(!i.length)return o;const s=i[0].size(this.resolveDataElementOptions(0)),a=i[i.length-1].size(this.resolveDataElementOptions(i.length-1));return Math.max(o,s,a)/2}}return t.id="scatter",t.defaults={datasetElementType:!1,dataElementType:"point",showLine:!1,fill:!1},t.overrides={interaction:{mode:"point"},plugins:{tooltip:{callbacks:{title:()=>"",label:n=>"("+n.label+", "+n.formattedValue+")"}}},scales:{x:{type:"linear"},y:{type:"linear"}}},t})()});function Zu(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}var l4={_date:(()=>{class t{constructor(e){this.options=e||{}}init(e){}formats(){return Zu()}parse(e,i){return Zu()}format(e,i){return Zu()}add(e,i,r){return Zu()}diff(e,i,r){return Zu()}startOf(e,i,r){return Zu()}endOf(e,i){return Zu()}}return t.override=function(n){Object.assign(t.prototype,n)},t})()};function $ae(t,n,e,i){const{controller:r,data:o,_sorted:s}=t,a=r._cachedMeta.iScale;if(a&&n===a.axis&&"r"!==n&&s&&o.length){const l=a._reversePixels?Moe:Ll;if(!i)return l(o,n,e);if(r._sharedOptions){const c=o[0],p="function"==typeof c.getRange&&c.getRange(n);if(p){const m=l(o,n,e-p),_=l(o,n,e+p);return{lo:m.lo,hi:_.hi}}}}return{lo:0,hi:o.length-1}}function Rm(t,n,e,i,r){const o=t.getSortedVisibleDatasetMetas(),s=e[n];for(let a=0,l=o.length;a{l[s](n[e],r)&&(o.push({element:l,datasetIndex:c,index:p}),a=a||l.inRange(n.x,n.y,r))}),i&&!a?[]:o}var Kae={evaluateInteractionItems:Rm,modes:{index(t,n,e,i){const r=qu(n,t),o=e.axis||"x",s=e.includeInvisible||!1,a=e.intersect?bk(t,r,o,i,s):yk(t,r,o,!1,i,s),l=[];return a.length?(t.getSortedVisibleDatasetMetas().forEach(c=>{const p=a[0].index,m=c.data[p];m&&!m.skip&&l.push({element:m,datasetIndex:c.index,index:p})}),l):[]},dataset(t,n,e,i){const r=qu(n,t),o=e.axis||"xy",s=e.includeInvisible||!1;let a=e.intersect?bk(t,r,o,i,s):yk(t,r,o,!1,i,s);if(a.length>0){const l=a[0].datasetIndex,c=t.getDatasetMeta(l).data;a=[];for(let p=0;pbk(t,qu(n,t),e.axis||"xy",i,e.includeInvisible||!1),nearest:(t,n,e,i)=>yk(t,qu(n,t),e.axis||"xy",e.intersect,i,e.includeInvisible||!1),x:(t,n,e,i)=>c4(t,qu(n,t),"x",e.intersect,i),y:(t,n,e,i)=>c4(t,qu(n,t),"y",e.intersect,i)}};const u4=["left","top","right","bottom"];function Fm(t,n){return t.filter(e=>e.pos===n)}function d4(t,n){return t.filter(e=>-1===u4.indexOf(e.pos)&&e.box.axis===n)}function Nm(t,n){return t.sort((e,i)=>{const r=n?i:e,o=n?e:i;return r.weight===o.weight?r.index-o.index:r.weight-o.weight})}function h4(t,n,e,i){return Math.max(t[e],n[e])+Math.max(t[i],n[i])}function f4(t,n){t.top=Math.max(t.top,n.top),t.left=Math.max(t.left,n.left),t.bottom=Math.max(t.bottom,n.bottom),t.right=Math.max(t.right,n.right)}function ele(t,n,e,i){const{pos:r,box:o}=e,s=t.maxPadding;if(!zn(r)){e.size&&(t[r]-=e.size);const m=i[e.stack]||{size:0,count:1};m.size=Math.max(m.size,e.horizontal?o.height:o.width),e.size=m.size/m.count,t[r]+=e.size}o.getPadding&&f4(s,o.getPadding());const a=Math.max(0,n.outerWidth-h4(s,t,"left","right")),l=Math.max(0,n.outerHeight-h4(s,t,"top","bottom")),c=a!==t.w,p=l!==t.h;return t.w=a,t.h=l,e.horizontal?{same:c,other:p}:{same:p,other:c}}function nle(t,n){const e=n.maxPadding;return function i(r){const o={left:0,top:0,right:0,bottom:0};return r.forEach(s=>{o[s]=Math.max(n[s],e[s])}),o}(t?["left","right"]:["top","bottom"])}function Lm(t,n,e,i){const r=[];let o,s,a,l,c,p;for(o=0,s=t.length,c=0;oc.box.fullSize),!0),i=Nm(Fm(n,"left"),!0),r=Nm(Fm(n,"right")),o=Nm(Fm(n,"top"),!0),s=Nm(Fm(n,"bottom")),a=d4(n,"x"),l=d4(n,"y");return{fullSize:e,leftAndTop:i.concat(o),rightAndBottom:r.concat(l).concat(s).concat(a),chartArea:Fm(n,"chartArea"),vertical:i.concat(r).concat(l),horizontal:o.concat(s).concat(a)}}(t.boxes),l=a.vertical,c=a.horizontal;Ci(t.boxes,A=>{"function"==typeof A.beforeLayout&&A.beforeLayout()});const p=l.reduce((A,P)=>P.box.options&&!1===P.box.options.display?A:A+1,0)||1,m=Object.freeze({outerWidth:n,outerHeight:e,padding:r,availableWidth:o,availableHeight:s,vBoxMaxWidth:o/2/p,hBoxMaxHeight:s/2}),_=Object.assign({},r);f4(_,bo(i));const C=Object.assign({maxPadding:_,w:o,h:s,x:r.left,y:r.top},r),k=function Xae(t,n){const e=function Qae(t){const n={};for(const e of t){const{stack:i,pos:r,stackWeight:o}=e;if(!i||!u4.includes(r))continue;const s=n[i]||(n[i]={count:0,placed:0,weight:0,size:0});s.count++,s.weight+=o}return n}(t),{vBoxMaxWidth:i,hBoxMaxHeight:r}=n;let o,s,a;for(o=0,s=t.length;o{const P=A.box;Object.assign(P,t.chartArea),P.update(C.w,C.h,{left:0,top:0,right:0,bottom:0})})}};class m4{acquireContext(n,e){}releaseContext(n){return!1}addEventListener(n,e,i){}removeEventListener(n,e,i){}getDevicePixelRatio(){return 1}getMaximumSize(n,e,i,r){return e=Math.max(0,e||n.width),i=i||n.height,{width:e,height:Math.max(0,r?Math.floor(e/r):i)}}isAttached(n){return!0}updateConfig(n){}}class ile extends m4{acquireContext(n){return n&&n.getContext&&n.getContext("2d")||null}updateConfig(n){n.options.animation=!1}}const fy="$chartjs",rle={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},g4=t=>null===t||""===t,_4=!!Rse&&{passive:!0};function ale(t,n,e){t.canvas.removeEventListener(n,e,_4)}function py(t,n){for(const e of t)if(e===n||e.contains(n))return!0}function cle(t,n,e){const i=t.canvas,r=new MutationObserver(o=>{let s=!1;for(const a of o)s=s||py(a.addedNodes,i),s=s&&!py(a.removedNodes,i);s&&e()});return r.observe(document,{childList:!0,subtree:!0}),r}function ule(t,n,e){const i=t.canvas,r=new MutationObserver(o=>{let s=!1;for(const a of o)s=s||py(a.removedNodes,i),s=s&&!py(a.addedNodes,i);s&&e()});return r.observe(document,{childList:!0,subtree:!0}),r}const Bm=new Map;let v4=0;function b4(){const t=window.devicePixelRatio;t!==v4&&(v4=t,Bm.forEach((n,e)=>{e.currentDevicePixelRatio!==t&&n()}))}function fle(t,n,e){const i=t.canvas,r=i&&pk(i);if(!r)return;const o=oL((a,l)=>{const c=r.clientWidth;e(a,l),c{const l=a[0],c=l.contentRect.width,p=l.contentRect.height;0===c&&0===p||o(c,p)});return s.observe(r),function dle(t,n){Bm.size||window.addEventListener("resize",b4),Bm.set(t,n)}(t,o),s}function wk(t,n,e){e&&e.disconnect(),"resize"===n&&function hle(t){Bm.delete(t),Bm.size||window.removeEventListener("resize",b4)}(t)}function ple(t,n,e){const i=t.canvas,r=oL(o=>{null!==t.ctx&&e(function lle(t,n){const e=rle[t.type]||t.type,{x:i,y:r}=qu(t,n);return{type:e,chart:n,native:t,x:void 0!==i?i:null,y:void 0!==r?r:null}}(o,t))},t,o=>{const s=o[0];return[s,s.offsetX,s.offsetY]});return function sle(t,n,e){t.addEventListener(n,e,_4)}(i,n,r),r}class mle extends m4{acquireContext(n,e){const i=n&&n.getContext&&n.getContext("2d");return i&&i.canvas===n?(function ole(t,n){const e=t.style,i=t.getAttribute("height"),r=t.getAttribute("width");if(t[fy]={initial:{height:i,width:r,style:{display:e.display,height:e.height,width:e.width}}},e.display=e.display||"block",e.boxSizing=e.boxSizing||"border-box",g4(r)){const o=PL(t,"width");void 0!==o&&(t.width=o)}if(g4(i))if(""===t.style.height)t.height=t.width/(n||2);else{const o=PL(t,"height");void 0!==o&&(t.height=o)}}(n,e),i):null}releaseContext(n){const e=n.canvas;if(!e[fy])return!1;const i=e[fy].initial;["height","width"].forEach(o=>{const s=i[o];Xn(s)?e.removeAttribute(o):e.setAttribute(o,s)});const r=i.style||{};return Object.keys(r).forEach(o=>{e.style[o]=r[o]}),e.width=e.width,delete e[fy],!0}addEventListener(n,e,i){this.removeEventListener(n,e),(n.$proxies||(n.$proxies={}))[e]=({attach:cle,detach:ule,resize:fle}[e]||ple)(n,e,i)}removeEventListener(n,e){const i=n.$proxies||(n.$proxies={}),r=i[e];r&&(({attach:wk,detach:wk,resize:wk}[e]||ale)(n,e,r),i[e]=void 0)}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(n,e,i,r){return function Pse(t,n,e,i){const r=ly(t),o=Gu(r,"margin"),s=ay(r.maxWidth,t,"clientWidth")||Qb,a=ay(r.maxHeight,t,"clientHeight")||Qb,l=function Ise(t,n,e){let i,r;if(void 0===n||void 0===e){const o=pk(t);if(o){const s=o.getBoundingClientRect(),a=ly(o),l=Gu(a,"border","width"),c=Gu(a,"padding");n=s.width-c.width-l.width,e=s.height-c.height-l.height,i=ay(a.maxWidth,o,"clientWidth"),r=ay(a.maxHeight,o,"clientHeight")}else n=t.clientWidth,e=t.clientHeight}return{width:n,height:e,maxWidth:i||Qb,maxHeight:r||Qb}}(t,n,e);let{width:c,height:p}=l;if("content-box"===r.boxSizing){const m=Gu(r,"border","width"),_=Gu(r,"padding");c-=_.width+m.width,p-=_.height+m.height}return c=Math.max(0,c-o.width),p=Math.max(0,i?Math.floor(c/i):p-o.height),c=mk(Math.min(c,s,l.maxWidth)),p=mk(Math.min(p,a,l.maxHeight)),c&&!p&&(p=mk(c/2)),{width:c,height:p}}(n,e,i,r)}isAttached(n){const e=pk(n);return!(!e||!e.isConnected)}}class _le{constructor(){this._init=[]}notify(n,e,i,r){"beforeInit"===e&&(this._init=this._createDescriptors(n,!0),this._notify(this._init,n,"install"));const o=r?this._descriptors(n).filter(r):this._descriptors(n),s=this._notify(o,n,e,i);return"afterDestroy"===e&&(this._notify(o,n,"stop"),this._notify(this._init,n,"uninstall")),s}_notify(n,e,i,r){r=r||{};for(const o of n){const s=o.plugin;if(!1===Ri(s[i],[e,r,o.options],s)&&r.cancelable)return!1}return!0}invalidate(){Xn(this._cache)||(this._oldCache=this._cache,this._cache=void 0)}_descriptors(n){if(this._cache)return this._cache;const e=this._cache=this._createDescriptors(n);return this._notifyStateChanges(n),e}_createDescriptors(n,e){const i=n&&n.config,r=Dn(i.options&&i.options.plugins,{}),o=function vle(t){const n={},e=[],i=Object.keys(Va.plugins.items);for(let o=0;oo.filter(a=>!s.some(l=>a.plugin.id===l.plugin.id));this._notify(r(e,i),n,"stop"),this._notify(r(i,e),n,"start")}}function ble(t,n){return n||!1!==t?!0===t?{}:t:null}function wle(t,{plugin:n,local:e},i,r){const o=t.pluginScopeKeys(n),s=t.getOptionScopes(i,o);return e&&n.defaults&&s.push(n.defaults),t.createResolver(s,r,[""],{scriptable:!1,indexable:!1,allKeys:!0})}function Ck(t,n){return((n.datasets||{})[t]||{}).indexAxis||n.indexAxis||(Un.datasets[t]||{}).indexAxis||"x"}function Sk(t,n){return"x"===t||"y"===t?t:n.axis||function xle(t){return"top"===t||"bottom"===t?"x":"left"===t||"right"===t?"y":void 0}(n.position)||t.charAt(0).toLowerCase()}function y4(t){const n=t.options||(t.options={});n.plugins=Dn(n.plugins,{}),n.scales=function kle(t,n){const e=Wu[t.type]||{scales:{}},i=n.scales||{},r=Ck(t.type,n),o=Object.create(null),s=Object.create(null);return Object.keys(i).forEach(a=>{const l=i[a];if(!zn(l))return console.error(`Invalid scale configuration for scale: ${a}`);if(l._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${a}`);const c=Sk(a,l),p=function Sle(t,n){return t===n?"_index_":"_value_"}(c,r),m=e.scales||{};o[c]=o[c]||a,s[a]=ym(Object.create(null),[{axis:c},l,m[c],m[p]])}),t.data.datasets.forEach(a=>{const l=a.type||t.type,c=a.indexAxis||Ck(l,n),m=(Wu[l]||{}).scales||{};Object.keys(m).forEach(_=>{const C=function Cle(t,n){let e=t;return"_index_"===t?e=n:"_value_"===t&&(e="x"===n?"y":"x"),e}(_,c),k=a[C+"AxisID"]||o[C]||C;s[k]=s[k]||Object.create(null),ym(s[k],[{axis:C},i[k],m[_]])})}),Object.keys(s).forEach(a=>{const l=s[a];ym(l,[Un.scales[l.type],Un.scale])}),s}(t,n)}function w4(t){return(t=t||{}).datasets=t.datasets||[],t.labels=t.labels||[],t}const C4=new Map,S4=new Set;function my(t,n){let e=C4.get(t);return e||(e=n(),C4.set(t,e),S4.add(e)),e}const Vm=(t,n,e)=>{const i=Tc(n,e);void 0!==i&&t.add(i)};class Mle{constructor(n){this._config=function Dle(t){return(t=t||{}).data=w4(t.data),y4(t),t}(n),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(n){this._config.type=n}get data(){return this._config.data}set data(n){this._config.data=w4(n)}get options(){return this._config.options}set options(n){this._config.options=n}get plugins(){return this._config.plugins}update(){const n=this._config;this.clearCache(),y4(n)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(n){return my(n,()=>[[`datasets.${n}`,""]])}datasetAnimationScopeKeys(n,e){return my(`${n}.transition.${e}`,()=>[[`datasets.${n}.transitions.${e}`,`transitions.${e}`],[`datasets.${n}`,""]])}datasetElementScopeKeys(n,e){return my(`${n}-${e}`,()=>[[`datasets.${n}.elements.${e}`,`datasets.${n}`,`elements.${e}`,""]])}pluginScopeKeys(n){const e=n.id;return my(`${this.type}-plugin-${e}`,()=>[[`plugins.${e}`,...n.additionalOptionScopes||[]]])}_cachedScopes(n,e){const i=this._scopeCache;let r=i.get(n);return(!r||e)&&(r=new Map,i.set(n,r)),r}getOptionScopes(n,e,i){const{options:r,type:o}=this,s=this._cachedScopes(n,i),a=s.get(e);if(a)return a;const l=new Set;e.forEach(p=>{n&&(l.add(n),p.forEach(m=>Vm(l,n,m))),p.forEach(m=>Vm(l,r,m)),p.forEach(m=>Vm(l,Wu[o]||{},m)),p.forEach(m=>Vm(l,Un,m)),p.forEach(m=>Vm(l,ak,m))});const c=Array.from(l);return 0===c.length&&c.push(Object.create(null)),S4.has(e)&&s.set(e,c),c}chartOptionScopes(){const{options:n,type:e}=this;return[n,Wu[e]||{},Un.datasets[e]||{},{type:e},Un,ak]}resolveNamedOptions(n,e,i,r=[""]){const o={$shared:!0},{resolver:s,subPrefixes:a}=x4(this._resolverCache,n,r);let l=s;(function Ele(t,n){const{isScriptable:e,isIndexable:i}=SL(t);for(const r of n){const o=e(r),s=i(r),a=(s||o)&&t[r];if(o&&(Ec(a)||Tle(a))||s&&Pi(a))return!0}return!1})(s,e)&&(o.$shared=!1,l=Hh(s,i=Ec(i)?i():i,this.createResolver(n,i,a)));for(const c of e)o[c]=l[c];return o}createResolver(n,e,i=[""],r){const{resolver:o}=x4(this._resolverCache,n,i);return zn(e)?Hh(o,e,void 0,r):o}}function x4(t,n,e){let i=t.get(n);i||(i=new Map,t.set(n,i));const r=e.join();let o=i.get(r);return o||(o={resolver:dk(n,e),subPrefixes:e.filter(a=>!a.toLowerCase().includes("hover"))},i.set(r,o)),o}const Tle=t=>zn(t)&&Object.getOwnPropertyNames(t).reduce((n,e)=>n||Ec(t[e]),!1),Ole=["top","bottom","left","right","chartArea"];function k4(t,n){return"top"===t||"bottom"===t||-1===Ole.indexOf(t)&&"x"===n}function D4(t,n){return function(e,i){return e[t]===i[t]?e[n]-i[n]:e[t]-i[t]}}function M4(t){const n=t.chart,e=n.options.animation;n.notifyPlugins("afterRender"),Ri(e&&e.onComplete,[t],n)}function Ile(t){const n=t.chart,e=n.options.animation;Ri(e&&e.onProgress,[t],n)}function T4(t){return OL()&&"string"==typeof t?t=document.getElementById(t):t&&t.length&&(t=t[0]),t&&t.canvas&&(t=t.canvas),t}const gy={},E4=t=>{const n=T4(t);return Object.values(gy).filter(e=>e.canvas===n).pop()};function Ple(t,n,e){const i=Object.keys(t);for(const r of i){const o=+r;if(o>=n){const s=t[r];delete t[r],(e>0||o>n)&&(t[o+e]=s)}}}class jh{constructor(n,e){const i=this.config=new Mle(e),r=T4(n),o=E4(r);if(o)throw new Error("Canvas is already in use. Chart with ID '"+o.id+"' must be destroyed before the canvas with ID '"+o.canvas.id+"' can be reused.");const s=i.createResolver(i.chartOptionScopes(),this.getContext());this.platform=new(i.platform||function gle(t){return!OL()||typeof OffscreenCanvas<"u"&&t instanceof OffscreenCanvas?ile:mle}(r)),this.platform.updateConfig(i);const a=this.platform.acquireContext(r,s.aspectRatio),l=a&&a.canvas,c=l&&l.height,p=l&&l.width;this.id=poe(),this.ctx=a,this.canvas=l,this.width=p,this.height=c,this._options=s,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new _le,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=function Aoe(t,n){let e;return function(...i){return n?(clearTimeout(e),e=setTimeout(t,n,i)):t.apply(this,i),n}}(m=>this.update(m),s.resizeDelay||0),this._dataChanges=[],gy[this.id]=this,a&&l?(Vl.listen(this,"complete",M4),Vl.listen(this,"progress",Ile),this._initialize(),this.attached&&this.update()):console.error("Failed to create chart: can't acquire context from the given item")}get aspectRatio(){const{options:{aspectRatio:n,maintainAspectRatio:e},width:i,height:r,_aspectRatio:o}=this;return Xn(n)?e&&o?o:r?i/r:null:n}get data(){return this.config.data}set data(n){this.config.data=n}get options(){return this._options}set options(n){this.config.options=n}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():IL(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return yL(this.canvas,this.ctx),this}stop(){return Vl.stop(this),this}resize(n,e){Vl.running(this)?this._resizeBeforeDraw={width:n,height:e}:this._resize(n,e)}_resize(n,e){const i=this.options,s=this.platform.getMaximumSize(this.canvas,n,e,i.maintainAspectRatio&&this.aspectRatio),a=i.devicePixelRatio||this.platform.getDevicePixelRatio(),l=this.width?"resize":"attach";this.width=s.width,this.height=s.height,this._aspectRatio=this.aspectRatio,IL(this,a,!0)&&(this.notifyPlugins("resize",{size:s}),Ri(i.onResize,[this,s],this),this.attached&&this._doResize(l)&&this.render())}ensureScalesHaveIDs(){Ci(this.options.scales||{},(i,r)=>{i.id=r})}buildOrUpdateScales(){const n=this.options,e=n.scales,i=this.scales,r=Object.keys(i).reduce((s,a)=>(s[a]=!1,s),{});let o=[];e&&(o=o.concat(Object.keys(e).map(s=>{const a=e[s],l=Sk(s,a),c="r"===l,p="x"===l;return{options:a,dposition:c?"chartArea":p?"bottom":"left",dtype:c?"radialLinear":p?"category":"linear"}}))),Ci(o,s=>{const a=s.options,l=a.id,c=Sk(l,a),p=Dn(a.type,s.dtype);(void 0===a.position||k4(a.position,c)!==k4(s.dposition))&&(a.position=s.dposition),r[l]=!0;let m=null;l in i&&i[l].type===p?m=i[l]:(m=new(Va.getScale(p))({id:l,type:p,ctx:this.ctx,chart:this}),i[m.id]=m),m.init(a,n)}),Ci(r,(s,a)=>{s||delete i[a]}),Ci(i,s=>{yo.configure(this,s,s.options),yo.addBox(this,s)})}_updateMetasets(){const n=this._metasets,e=this.data.datasets.length,i=n.length;if(n.sort((r,o)=>r.index-o.index),i>e){for(let r=e;re.length&&delete this._stacks,n.forEach((i,r)=>{0===e.filter(o=>o===i._dataset).length&&this._destroyDatasetMeta(r)})}buildOrUpdateControllers(){const n=[],e=this.data.datasets;let i,r;for(this._removeUnreferencedMetasets(),i=0,r=e.length;i{this.getDatasetMeta(e).controller.reset()},this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(n){const e=this.config;e.update();const i=this._options=e.createResolver(e.chartOptionScopes(),this.getContext()),r=this._animationsDisabled=!i.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),!1===this.notifyPlugins("beforeUpdate",{mode:n,cancelable:!0}))return;const o=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let s=0;for(let c=0,p=this.data.datasets.length;c{c.reset()}),this._updateDatasets(n),this.notifyPlugins("afterUpdate",{mode:n}),this._layers.sort(D4("z","_idx"));const{_active:a,_lastEvent:l}=this;l?this._eventHandler(l,!0):a.length&&this._updateHoverStyles(a,a,!0),this.render()}_updateScales(){Ci(this.scales,n=>{yo.removeBox(this,n)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const n=this.options,e=new Set(Object.keys(this._listeners)),i=new Set(n.events);(!K3(e,i)||!!this._responsiveListeners!==n.responsive)&&(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:n}=this,e=this._getUniformDataChanges()||[];for(const{method:i,start:r,count:o}of e)Ple(n,r,"_removeElements"===i?-o:o)}_getUniformDataChanges(){const n=this._dataChanges;if(!n||!n.length)return;this._dataChanges=[];const e=this.data.datasets.length,i=o=>new Set(n.filter(s=>s[0]===o).map((s,a)=>a+","+s.splice(1).join(","))),r=i(0);for(let o=1;oo.split(",")).map(o=>({method:o[1],start:+o[2],count:+o[3]}))}_updateLayout(n){if(!1===this.notifyPlugins("beforeLayout",{cancelable:!0}))return;yo.update(this,this.width,this.height,n);const e=this.chartArea,i=e.width<=0||e.height<=0;this._layers=[],Ci(this.boxes,r=>{i&&"chartArea"===r.position||(r.configure&&r.configure(),this._layers.push(...r._layers()))},this),this._layers.forEach((r,o)=>{r._idx=o}),this.notifyPlugins("afterLayout")}_updateDatasets(n){if(!1!==this.notifyPlugins("beforeDatasetsUpdate",{mode:n,cancelable:!0})){for(let e=0,i=this.data.datasets.length;e=0;--e)this._drawDataset(n[e]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(n){const e=this.ctx,i=n._clip,r=!i.disabled,o=this.chartArea,s={meta:n,index:n.index,cancelable:!0};!1!==this.notifyPlugins("beforeDatasetDraw",s)&&(r&&ry(e,{left:!1===i.left?0:o.left-i.left,right:!1===i.right?this.width:o.right+i.right,top:!1===i.top?0:o.top-i.top,bottom:!1===i.bottom?this.height:o.bottom+i.bottom}),n.controller.draw(),r&&oy(e),s.cancelable=!1,this.notifyPlugins("afterDatasetDraw",s))}isPointInArea(n){return Tm(n,this.chartArea,this._minPadding)}getElementsAtEventForMode(n,e,i,r){const o=Kae.modes[e];return"function"==typeof o?o(this,n,i,r):[]}getDatasetMeta(n){const e=this.data.datasets[n],i=this._metasets;let r=i.filter(o=>o&&o._dataset===e).pop();return r||(r={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:e&&e.order||0,index:n,_dataset:e,_parsed:[],_sorted:!1},i.push(r)),r}getContext(){return this.$context||(this.$context=Ic(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(n){const e=this.data.datasets[n];if(!e)return!1;const i=this.getDatasetMeta(n);return"boolean"==typeof i.hidden?!i.hidden:!e.hidden}setDatasetVisibility(n,e){this.getDatasetMeta(n).hidden=!e}toggleDataVisibility(n){this._hiddenIndices[n]=!this._hiddenIndices[n]}getDataVisibility(n){return!this._hiddenIndices[n]}_updateVisibility(n,e,i){const r=i?"show":"hide",o=this.getDatasetMeta(n),s=o.controller._resolveAnimations(void 0,r);Os(e)?(o.data[e].hidden=!i,this.update()):(this.setDatasetVisibility(n,i),s.update(o,{visible:i}),this.update(a=>a.datasetIndex===n?r:void 0))}hide(n,e){this._updateVisibility(n,e,!1)}show(n,e){this._updateVisibility(n,e,!0)}_destroyDatasetMeta(n){const e=this._metasets[n];e&&e.controller&&e.controller._destroy(),delete this._metasets[n]}_stop(){let n,e;for(this.stop(),Vl.remove(this),n=0,e=this.data.datasets.length;n{e.addEventListener(this,o,s),n[o]=s},r=(o,s,a)=>{o.offsetX=s,o.offsetY=a,this._eventHandler(o)};Ci(this.options.events,o=>i(o,r))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const n=this._responsiveListeners,e=this.platform,i=(l,c)=>{e.addEventListener(this,l,c),n[l]=c},r=(l,c)=>{n[l]&&(e.removeEventListener(this,l,c),delete n[l])},o=(l,c)=>{this.canvas&&this.resize(l,c)};let s;const a=()=>{r("attach",a),this.attached=!0,this.resize(),i("resize",o),i("detach",s)};s=()=>{this.attached=!1,r("resize",o),this._stop(),this._resize(0,0),i("attach",a)},e.isAttached(this.canvas)?a():s()}unbindEvents(){Ci(this._listeners,(n,e)=>{this.platform.removeEventListener(this,e,n)}),this._listeners={},Ci(this._responsiveListeners,(n,e)=>{this.platform.removeEventListener(this,e,n)}),this._responsiveListeners=void 0}updateHoverStyle(n,e,i){const r=i?"set":"remove";let o,s,a,l;for("dataset"===e&&(o=this.getDatasetMeta(n[0].datasetIndex),o.controller["_"+r+"DatasetHoverStyle"]()),a=0,l=n.length;a{const a=this.getDatasetMeta(o);if(!a)throw new Error("No dataset found at index "+o);return{datasetIndex:o,element:a.data[s],index:s}});!Kb(i,e)&&(this._active=i,this._lastEvent=null,this._updateHoverStyles(i,e))}notifyPlugins(n,e,i){return this._plugins.notify(this,n,e,i)}_updateHoverStyles(n,e,i){const r=this.options.hover,o=(l,c)=>l.filter(p=>!c.some(m=>p.datasetIndex===m.datasetIndex&&p.index===m.index)),s=o(e,n),a=i?n:o(n,e);s.length&&this.updateHoverStyle(s,r.mode,!1),a.length&&r.mode&&this.updateHoverStyle(a,r.mode,!0)}_eventHandler(n,e){const i={event:n,replay:e,cancelable:!0,inChartArea:this.isPointInArea(n)},r=s=>(s.options.events||this.options.events).includes(n.native.type);if(!1===this.notifyPlugins("beforeEvent",i,r))return;const o=this._handleEvent(n,e,i.inChartArea);return i.cancelable=!1,this.notifyPlugins("afterEvent",i,r),(o||i.changed)&&this.render(),this}_handleEvent(n,e,i){const{_active:r=[],options:o}=this,a=this._getActiveElements(n,r,i,e),l=function yoe(t){return"mouseup"===t.type||"click"===t.type||"contextmenu"===t.type}(n),c=function Rle(t,n,e,i){return e&&"mouseout"!==t.type?i?n:t:null}(n,this._lastEvent,i,l);i&&(this._lastEvent=null,Ri(o.onHover,[n,a,this],this),l&&Ri(o.onClick,[n,a,this],this));const p=!Kb(a,r);return(p||e)&&(this._active=a,this._updateHoverStyles(a,r,e)),this._lastEvent=c,p}_getActiveElements(n,e,i,r){if("mouseout"===n.type)return[];if(!i)return e;const o=this.options.hover;return this.getElementsAtEventForMode(n,o.mode,o,r)}}const A4=()=>Ci(jh.instances,t=>t._plugins.invalidate()),Pc=!0;function O4(t,n,e){const{startAngle:i,pixelMargin:r,x:o,y:s,outerRadius:a,innerRadius:l}=n;let c=r/a;t.beginPath(),t.arc(o,s,a,i-c,e+c),l>r?(c=r/l,t.arc(o,s,l,e+c,i-c,!0)):t.arc(o,s,r,e+hr,i-hr),t.closePath(),t.clip()}function Uh(t,n,e,i){return{x:e+t*Math.cos(n),y:i+t*Math.sin(n)}}function xk(t,n,e,i,r,o){const{x:s,y:a,startAngle:l,pixelMargin:c,innerRadius:p}=n,m=Math.max(n.outerRadius+i+e-c,0),_=p>0?p+i+e+c:0;let C=0;const k=r-l;if(i){const je=((p>0?p-i:0)+(m>0?m-i:0))/2;C=(k-(0!==je?k*je/(je+i):k))/2}const P=(k-Math.max(.001,k*m-e/er)/m)/2,N=l+P+C,$=r-P-C,{outerStart:U,outerEnd:X,innerStart:se,innerEnd:ve}=function Nle(t,n,e,i){const r=function Fle(t){return uk(t,["outerStart","outerEnd","innerStart","innerEnd"])}(t.options.borderRadius),o=(e-n)/2,s=Math.min(o,i*n/2),a=l=>{const c=(e-Math.min(o,l))*i/2;return Yr(l,0,Math.min(o,c))};return{outerStart:a(r.outerStart),outerEnd:a(r.outerEnd),innerStart:Yr(r.innerStart,0,s),innerEnd:Yr(r.innerEnd,0,s)}}(n,_,m,$-N),De=m-U,He=m-X,We=N+U/De,Ft=$-X/He,an=_+se,qt=_+ve,Nn=N+se/an,Ni=$-ve/qt;if(t.beginPath(),o){if(t.arc(s,a,m,We,Ft),X>0){const je=Uh(He,Ft,s,a);t.arc(je.x,je.y,X,Ft,$+hr)}const pt=Uh(qt,$,s,a);if(t.lineTo(pt.x,pt.y),ve>0){const je=Uh(qt,Ni,s,a);t.arc(je.x,je.y,ve,$+hr,Ni+Math.PI)}if(t.arc(s,a,_,$-ve/_,N+se/_,!0),se>0){const je=Uh(an,Nn,s,a);t.arc(je.x,je.y,se,Nn+Math.PI,N-hr)}const Re=Uh(De,N,s,a);if(t.lineTo(Re.x,Re.y),U>0){const je=Uh(De,We,s,a);t.arc(je.x,je.y,U,N-hr,We)}}else{t.moveTo(s,a);const pt=Math.cos(We)*m+s,Re=Math.sin(We)*m+a;t.lineTo(pt,Re);const je=Math.cos(Ft)*m+s,At=Math.sin(Ft)*m+a;t.lineTo(je,At)}t.closePath()}Object.defineProperties(jh,{defaults:{enumerable:Pc,value:Un},instances:{enumerable:Pc,value:gy},overrides:{enumerable:Pc,value:Wu},registry:{enumerable:Pc,value:Va},version:{enumerable:Pc,value:"3.9.1"},getChart:{enumerable:Pc,value:E4},register:{enumerable:Pc,value:(...t)=>{Va.add(...t),A4()}},unregister:{enumerable:Pc,value:(...t)=>{Va.remove(...t),A4()}}});class _y extends oa{constructor(n){super(),this.options=void 0,this.circumference=void 0,this.startAngle=void 0,this.endAngle=void 0,this.innerRadius=void 0,this.outerRadius=void 0,this.pixelMargin=0,this.fullCircles=0,n&&Object.assign(this,n)}inRange(n,e,i){const r=this.getProps(["x","y"],i),{angle:o,distance:s}=eL(r,{x:n,y:e}),{startAngle:a,endAngle:l,innerRadius:c,outerRadius:p,circumference:m}=this.getProps(["startAngle","endAngle","innerRadius","outerRadius","circumference"],i),_=this.options.spacing/2,k=Dn(m,l-a)>=Mi||Sm(o,a,l),A=Nl(s,c+_,p+_);return k&&A}getCenterPoint(n){const{x:e,y:i,startAngle:r,endAngle:o,innerRadius:s,outerRadius:a}=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius","circumference"],n),{offset:l,spacing:c}=this.options,p=(r+o)/2,m=(s+a+c+l)/2;return{x:e+Math.cos(p)*m,y:i+Math.sin(p)*m}}tooltipPosition(n){return this.getCenterPoint(n)}draw(n){const{options:e,circumference:i}=this,r=(e.offset||0)/2,o=(e.spacing||0)/2,s=e.circular;if(this.pixelMargin="inner"===e.borderAlign?.33:0,this.fullCircles=i>Mi?Math.floor(i/Mi):0,0===i||this.innerRadius<0||this.outerRadius<0)return;n.save();let a=0;if(r){a=r/2;const c=(this.startAngle+this.endAngle)/2;n.translate(Math.cos(c)*a,Math.sin(c)*a),this.circumference>=er&&(a=r)}n.fillStyle=e.backgroundColor,n.strokeStyle=e.borderColor;const l=function Lle(t,n,e,i,r){const{fullCircles:o,startAngle:s,circumference:a}=n;let l=n.endAngle;if(o){xk(t,n,e,i,s+Mi,r);for(let c=0;ca&&o>a)?i+c-l:c-l}}function Wle(t,n,e,i){const{points:r,options:o}=n,{count:s,start:a,loop:l,ilen:c}=P4(r,e,i),p=function zle(t){return t.stepped?ise:t.tension||"monotone"===t.cubicInterpolationMode?rse:Hle}(o);let C,k,A,{move:m=!0,reverse:_}=i||{};for(C=0;C<=c;++C)k=r[(a+(_?c-C:C))%s],!k.skip&&(m?(t.moveTo(k.x,k.y),m=!1):p(t,A,k,_,o.stepped),A=k);return l&&(k=r[(a+(_?c:0))%s],p(t,A,k,_,o.stepped)),!!l}function jle(t,n,e,i){const r=n.points,{count:o,start:s,ilen:a}=P4(r,e,i),{move:l=!0,reverse:c}=i||{};let _,C,k,A,P,N,p=0,m=0;const $=X=>(s+(c?a-X:X))%o,U=()=>{A!==P&&(t.lineTo(p,P),t.lineTo(p,A),t.lineTo(p,N))};for(l&&(C=r[$(0)],t.moveTo(C.x,C.y)),_=0;_<=a;++_){if(C=r[$(_)],C.skip)continue;const X=C.x,se=C.y,ve=0|X;ve===k?(seP&&(P=se),p=(m*p+X)/++m):(U(),t.lineTo(X,se),k=ve,m=0,A=P=se),N=se}U()}function kk(t){const n=t.options;return t._decimated||t._loop||n.tension||"monotone"===n.cubicInterpolationMode||n.stepped||n.borderDash&&n.borderDash.length?Wle:jle}_y.id="arc",_y.defaults={borderAlign:"center",borderColor:"#fff",borderJoinStyle:void 0,borderRadius:0,borderWidth:2,offset:0,spacing:0,angle:void 0,circular:!0},_y.defaultRoutes={backgroundColor:"backgroundColor"};const qle="function"==typeof Path2D;let vy=(()=>{class t extends oa{constructor(e){super(),this.animated=!0,this.options=void 0,this._chart=void 0,this._loop=void 0,this._fullLoop=void 0,this._path=void 0,this._points=void 0,this._segments=void 0,this._decimated=!1,this._pointsUpdated=!1,this._datasetIndex=void 0,e&&Object.assign(this,e)}updateControlPoints(e,i){const r=this.options;!r.tension&&"monotone"!==r.cubicInterpolationMode||r.stepped||this._pointsUpdated||(Mse(this._points,r,e,r.spanGaps?this._loop:this._fullLoop,i),this._pointsUpdated=!0)}set points(e){this._points=e,delete this._segments,delete this._path,this._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||(this._segments=function jse(t,n){const e=t.points,i=t.options.spanGaps,r=e.length;if(!r)return[];const o=!!t._loop,{start:s,end:a}=function zse(t,n,e,i){let r=0,o=n-1;if(e&&!i)for(;rr&&t[o%n].skip;)o--;return o%=n,{start:r,end:o}}(e,r,o,i);return function zL(t,n,e,i){return i&&i.setContext&&e?function Use(t,n,e,i){const r=t._chart.getContext(),o=WL(t.options),{_datasetIndex:s,options:{spanGaps:a}}=t,l=e.length,c=[];let p=o,m=n[0].start,_=m;function C(k,A,P,N){const $=a?-1:1;if(k!==A){for(k+=l;e[k%l].skip;)k-=$;for(;e[A%l].skip;)A+=$;k%l!=A%l&&(c.push({start:k%l,end:A%l,loop:P,style:N}),p=N,m=A%l)}}for(const k of n){m=a?m:k.start;let P,A=e[m%l];for(_=m+1;_<=k.end;_++){const N=e[_%l];P=WL(i.setContext(Ic(r,{type:"segment",p0:A,p1:N,p0DataIndex:(_-1)%l,p1DataIndex:_%l,datasetIndex:s}))),$se(P,p)&&C(m,_-1,k.loop,p),A=N,p=P}m<_-1&&C(m,_-1,k.loop,p)}return c}(t,n,e,i):n}(t,!0===i?[{start:s,end:a,loop:o}]:function Wse(t,n,e,i){const r=t.length,o=[];let l,s=n,a=t[n];for(l=n+1;l<=e;++l){const c=t[l%r];c.skip||c.stop?a.skip||(o.push({start:n%r,end:(l-1)%r,loop:i=!1}),n=s=c.stop?l:null):(s=l,a.skip&&(n=l)),a=c}return null!==s&&o.push({start:n%r,end:s%r,loop:i}),o}(e,s,a"borderDash"!==n&&"fill"!==n},t})();function R4(t,n,e,i){const r=t.options,{[e]:o}=t.getProps([e],i);return Math.abs(n-o){class t extends oa{constructor(e){super(),this.options=void 0,this.parsed=void 0,this.skip=void 0,this.stop=void 0,e&&Object.assign(this,e)}inRange(e,i,r){const o=this.options,{x:s,y:a}=this.getProps(["x","y"],r);return Math.pow(e-s,2)+Math.pow(i-a,2){N4(n)})}var oce={id:"decimation",defaults:{algorithm:"min-max",enabled:!1},beforeElementsUpdate:(t,n,e)=>{if(!e.enabled)return void L4(t);const i=t.width;t.data.datasets.forEach((r,o)=>{const{_data:s,indexAxis:a}=r,l=t.getDatasetMeta(o),c=s||r.data;if("y"===Am([a,t.options.indexAxis])||!l.controller.supportsDecimation)return;const p=t.scales[l.xAxisID];if("linear"!==p.type&&"time"!==p.type||t.options.parsing)return;let k,{start:m,count:_}=function rce(t,n){const e=n.length;let r,i=0;const{iScale:o}=t,{min:s,max:a,minDefined:l,maxDefined:c}=o.getUserBounds();return l&&(i=Yr(Ll(n,o.axis,s).lo,0,e-1)),r=c?Yr(Ll(n,o.axis,a).hi+1,i,e)-i:e-i,{start:i,count:r}}(l,c);if(_<=(e.threshold||4*i))N4(r);else{switch(Xn(s)&&(r._data=c,delete r.data,Object.defineProperty(r,"data",{configurable:!0,enumerable:!0,get:function(){return this._decimated},set:function(A){this._data=A}})),e.algorithm){case"lttb":k=function nce(t,n,e,i,r){const o=r.samples||i;if(o>=e)return t.slice(n,n+e);const s=[],a=(e-2)/(o-2);let l=0;const c=n+e-1;let m,_,C,k,A,p=n;for(s[l++]=t[p],m=0;mC&&(C=k,_=t[$],A=$);s[l++]=_,p=A}return s[l++]=t[c],s}(c,m,_,i,e);break;case"min-max":k=function ice(t,n,e,i){let s,a,l,c,p,m,_,C,k,A,r=0,o=0;const P=[],$=t[n].x,X=t[n+e-1].x-$;for(s=n;sA&&(A=c,_=s),r=(o*r+a.x)/++o;else{const ve=s-1;if(!Xn(m)&&!Xn(_)){const De=Math.min(m,_),He=Math.max(m,_);De!==C&&De!==ve&&P.push({...t[De],x:r}),He!==C&&He!==ve&&P.push({...t[He],x:r})}s>0&&ve!==C&&P.push(t[ve]),P.push(a),p=se,o=0,k=A=c,m=_=C=s}}return P}(c,m,_,i);break;default:throw new Error(`Unsupported decimation algorithm '${e.algorithm}'`)}r._decimated=k}})},destroy(t){L4(t)}};function Tk(t,n,e,i){if(i)return;let r=n[t],o=e[t];return"angle"===t&&(r=as(r),o=as(o)),{property:t,start:r,end:o}}function Ek(t,n,e){for(;n>t;n--){const i=e[n];if(!isNaN(i.x)&&!isNaN(i.y))break}return n}function B4(t,n,e,i){return t&&n?i(t[e],n[e]):t?t[e]:n?n[e]:0}function V4(t,n){let e=[],i=!1;return Pi(t)?(i=!0,e=t):e=function ace(t,n){const{x:e=null,y:i=null}=t||{},r=n.points,o=[];return n.segments.forEach(({start:s,end:a})=>{a=Ek(s,a,r);const l=r[s],c=r[a];null!==i?(o.push({x:l.x,y:i}),o.push({x:c.x,y:i})):null!==e&&(o.push({x:e,y:l.y}),o.push({x:e,y:c.y}))}),o}(t,n),e.length?new vy({points:e,options:{tension:0},_loop:i,_fullLoop:i}):null}function H4(t){return t&&!1!==t.fill}function lce(t,n,e){let r=t[n].fill;const o=[n];let s;if(!e)return r;for(;!1!==r&&-1===o.indexOf(r);){if(!Cr(r))return r;if(s=t[r],!s)return!1;if(s.visible)return r;o.push(r),r=s.fill}return!1}function cce(t,n,e){const i=function fce(t){const n=t.options,e=n.fill;let i=Dn(e&&e.target,e);return void 0===i&&(i=!!n.backgroundColor),!1!==i&&null!==i&&(!0===i?"origin":i)}(t);if(zn(i))return!isNaN(i.value)&&i;let r=parseFloat(i);return Cr(r)&&Math.floor(r)===r?function uce(t,n,e,i){return("-"===t||"+"===t)&&(e=n+e),!(e===n||e<0||e>=i)&&e}(i[0],n,r,e):["origin","start","end","stack","shape"].indexOf(i)>=0&&i}function gce(t,n,e){const i=[];for(let r=0;r=0;--s){const a=r[s].$filler;!a||(a.line.updateControlPoints(o,a.axis),i&&a.fill&&Ak(t.ctx,a,o))}},beforeDatasetsDraw(t,n,e){if("beforeDatasetsDraw"!==e.drawTime)return;const i=t.getSortedVisibleDatasetMetas();for(let r=i.length-1;r>=0;--r){const o=i[r].$filler;H4(o)&&Ak(t.ctx,o,t.chartArea)}},beforeDatasetDraw(t,n,e){const i=n.meta.$filler;!H4(i)||"beforeDatasetDraw"!==e.drawTime||Ak(t.ctx,i,t.chartArea)},defaults:{propagate:!0,drawTime:"beforeDatasetDraw"}};const $4=(t,n)=>{let{boxHeight:e=n,boxWidth:i=n}=t;return t.usePointStyle&&(e=Math.min(e,n),i=t.pointStyleWidth||Math.min(i,n)),{boxWidth:i,boxHeight:e,itemHeight:Math.max(n,e)}};class G4 extends oa{constructor(n){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=n.chart,this.options=n.options,this.ctx=n.ctx,this.legendItems=void 0,this.columnSizes=void 0,this.lineWidths=void 0,this.maxHeight=void 0,this.maxWidth=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.height=void 0,this.width=void 0,this._margins=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(n,e,i){this.maxWidth=n,this.maxHeight=e,this._margins=i,this.setDimensions(),this.buildLabels(),this.fit()}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=this._margins.left,this.right=this.width):(this.height=this.maxHeight,this.top=this._margins.top,this.bottom=this.height)}buildLabels(){const n=this.options.labels||{};let e=Ri(n.generateLabels,[this.chart],this)||[];n.filter&&(e=e.filter(i=>n.filter(i,this.chart.data))),n.sort&&(e=e.sort((i,r)=>n.sort(i,r,this.chart.data))),this.options.reverse&&e.reverse(),this.legendItems=e}fit(){const{options:n,ctx:e}=this;if(!n.display)return void(this.width=this.height=0);const i=n.labels,r=Hr(i.font),o=r.size,s=this._computeTitleHeight(),{boxWidth:a,itemHeight:l}=$4(i,o);let c,p;e.font=r.string,this.isHorizontal()?(c=this.maxWidth,p=this._fitRows(s,o,a,l)+10):(p=this.maxHeight,c=this._fitCols(s,o,a,l)+10),this.width=Math.min(c,n.maxWidth||this.maxWidth),this.height=Math.min(p,n.maxHeight||this.maxHeight)}_fitRows(n,e,i,r){const{ctx:o,maxWidth:s,options:{labels:{padding:a}}}=this,l=this.legendHitBoxes=[],c=this.lineWidths=[0],p=r+a;let m=n;o.textAlign="left",o.textBaseline="middle";let _=-1,C=-p;return this.legendItems.forEach((k,A)=>{const P=i+e/2+o.measureText(k.text).width;(0===A||c[c.length-1]+P+2*a>s)&&(m+=p,c[c.length-(A>0?0:1)]=0,C+=p,_++),l[A]={left:0,top:C,row:_,width:P,height:r},c[c.length-1]+=P+a}),m}_fitCols(n,e,i,r){const{ctx:o,maxHeight:s,options:{labels:{padding:a}}}=this,l=this.legendHitBoxes=[],c=this.columnSizes=[],p=s-n;let m=a,_=0,C=0,k=0,A=0;return this.legendItems.forEach((P,N)=>{const $=i+e/2+o.measureText(P.text).width;N>0&&C+r+2*a>p&&(m+=_+a,c.push({width:_,height:C}),k+=_+a,A++,_=C=0),l[N]={left:k,top:C,col:A,width:$,height:r},_=Math.max(_,$),C+=r+a}),m+=_,c.push({width:_,height:C}),m}adjustHitBoxes(){if(!this.options.display)return;const n=this._computeTitleHeight(),{legendHitBoxes:e,options:{align:i,labels:{padding:r},rtl:o}}=this,s=Wh(o,this.left,this.width);if(this.isHorizontal()){let a=0,l=vo(i,this.left+r,this.right-this.lineWidths[a]);for(const c of e)a!==c.row&&(a=c.row,l=vo(i,this.left+r,this.right-this.lineWidths[a])),c.top+=this.top+n+r,c.left=s.leftForLtr(s.x(l),c.width),l+=c.width+r}else{let a=0,l=vo(i,this.top+n+r,this.bottom-this.columnSizes[a].height);for(const c of e)c.col!==a&&(a=c.col,l=vo(i,this.top+n+r,this.bottom-this.columnSizes[a].height)),c.top=l,c.left+=this.left+r,c.left=s.leftForLtr(s.x(c.left),c.width),l+=c.height+r}}isHorizontal(){return"top"===this.options.position||"bottom"===this.options.position}draw(){if(this.options.display){const n=this.ctx;ry(n,this),this._draw(),oy(n)}}_draw(){const{options:n,columnSizes:e,lineWidths:i,ctx:r}=this,{align:o,labels:s}=n,a=Un.color,l=Wh(n.rtl,this.left,this.width),c=Hr(s.font),{color:p,padding:m}=s,_=c.size,C=_/2;let k;this.drawTitle(),r.textAlign=l.textAlign("left"),r.textBaseline="middle",r.lineWidth=.5,r.font=c.string;const{boxWidth:A,boxHeight:P,itemHeight:N}=$4(s,_),X=this.isHorizontal(),se=this._computeTitleHeight();k=X?{x:vo(o,this.left+m,this.right-i[0]),y:this.top+m+se,line:0}:{x:this.left+m,y:vo(o,this.top+se+m,this.bottom-e[0].height),line:0},FL(this.ctx,n.textDirection);const ve=N+m;this.legendItems.forEach((De,He)=>{r.strokeStyle=De.fontColor||p,r.fillStyle=De.fontColor||p;const We=r.measureText(De.text).width,Ft=l.textAlign(De.textAlign||(De.textAlign=s.textAlign)),an=A+C+We;let qt=k.x,Nn=k.y;l.setWidth(this.width),X?He>0&&qt+an+m>this.right&&(Nn=k.y+=ve,k.line++,qt=k.x=vo(o,this.left+m,this.right-i[k.line])):He>0&&Nn+ve>this.bottom&&(qt=k.x=qt+e[k.line].width+m,k.line++,Nn=k.y=vo(o,this.top+se+m,this.bottom-e[k.line].height)),function(De,He,We){if(isNaN(A)||A<=0||isNaN(P)||P<0)return;r.save();const Ft=Dn(We.lineWidth,1);if(r.fillStyle=Dn(We.fillStyle,a),r.lineCap=Dn(We.lineCap,"butt"),r.lineDashOffset=Dn(We.lineDashOffset,0),r.lineJoin=Dn(We.lineJoin,"miter"),r.lineWidth=Ft,r.strokeStyle=Dn(We.strokeStyle,a),r.setLineDash(Dn(We.lineDash,[])),s.usePointStyle){const an={radius:P*Math.SQRT2/2,pointStyle:We.pointStyle,rotation:We.rotation,borderWidth:Ft},qt=l.xPlus(De,A/2);wL(r,an,qt,He+C,s.pointStyleWidth&&A)}else{const an=He+Math.max((_-P)/2,0),qt=l.leftForLtr(De,A),Nn=$u(We.borderRadius);r.beginPath(),Object.values(Nn).some(Ni=>0!==Ni)?Em(r,{x:qt,y:an,w:A,h:P,radius:Nn}):r.rect(qt,an,A,P),r.fill(),0!==Ft&&r.stroke()}r.restore()}(l.x(qt),Nn,De),qt=((t,n,e,i)=>t===(i?"left":"right")?e:"center"===t?(n+e)/2:n)(Ft,qt+A+C,X?qt+an:this.right,n.rtl),function(De,He,We){Uu(r,We.text,De,He+N/2,c,{strikethrough:We.hidden,textAlign:l.textAlign(We.textAlign)})}(l.x(qt),Nn,De),X?k.x+=an+m:k.y+=ve}),NL(this.ctx,n.textDirection)}drawTitle(){const n=this.options,e=n.title,i=Hr(e.font),r=bo(e.padding);if(!e.display)return;const o=Wh(n.rtl,this.left,this.width),s=this.ctx,a=e.position,c=r.top+i.size/2;let p,m=this.left,_=this.width;if(this.isHorizontal())_=Math.max(...this.lineWidths),p=this.top+c,m=vo(n.align,m,this.right-_);else{const k=this.columnSizes.reduce((A,P)=>Math.max(A,P.height),0);p=c+vo(n.align,this.top,this.bottom-k-n.labels.padding-this._computeTitleHeight())}const C=vo(a,m,m+_);s.textAlign=o.textAlign(ek(a)),s.textBaseline="middle",s.strokeStyle=e.color,s.fillStyle=e.color,s.font=i.string,Uu(s,e.text,C,p,i)}_computeTitleHeight(){const n=this.options.title,e=Hr(n.font),i=bo(n.padding);return n.display?e.lineHeight+i.height:0}_getLegendItemAt(n,e){let i,r,o;if(Nl(n,this.left,this.right)&&Nl(e,this.top,this.bottom))for(o=this.legendHitBoxes,i=0;inull!==t&&null!==n&&t.datasetIndex===n.datasetIndex&&t.index===n.index)(r,i);r&&!o&&Ri(e.onLeave,[n,r,this],this),this._hoveredItem=i,i&&!o&&Ri(e.onHover,[n,i,this],this)}else i&&Ri(e.onClick,[n,i,this],this)}}var Tce={id:"legend",_element:G4,start(t,n,e){const i=t.legend=new G4({ctx:t.ctx,options:e,chart:t});yo.configure(t,i,e),yo.addBox(t,i)},stop(t){yo.removeBox(t,t.legend),delete t.legend},beforeUpdate(t,n,e){const i=t.legend;yo.configure(t,i,e),i.options=e},afterUpdate(t){const n=t.legend;n.buildLabels(),n.adjustHitBoxes()},afterEvent(t,n){n.replay||t.legend.handleEvent(n.event)},defaults:{display:!0,position:"top",align:"center",fullSize:!0,reverse:!1,weight:1e3,onClick(t,n,e){const i=n.datasetIndex,r=e.chart;r.isDatasetVisible(i)?(r.hide(i),n.hidden=!0):(r.show(i),n.hidden=!1)},onHover:null,onLeave:null,labels:{color:t=>t.chart.options.color,boxWidth:40,padding:10,generateLabels(t){const n=t.data.datasets,{labels:{usePointStyle:e,pointStyle:i,textAlign:r,color:o}}=t.legend.options;return t._getSortedDatasetMetas().map(s=>{const a=s.controller.getStyle(e?0:void 0),l=bo(a.borderWidth);return{text:n[s.index].label,fillStyle:a.backgroundColor,fontColor:o,hidden:!s.visible,lineCap:a.borderCapStyle,lineDash:a.borderDash,lineDashOffset:a.borderDashOffset,lineJoin:a.borderJoinStyle,lineWidth:(l.width+l.height)/4,strokeStyle:a.borderColor,pointStyle:i||a.pointStyle,rotation:a.rotation,textAlign:r||a.textAlign,borderRadius:0,datasetIndex:s.index}},this)}},title:{color:t=>t.chart.options.color,display:!1,position:"center",text:""}},descriptors:{_scriptable:t=>!t.startsWith("on"),labels:{_scriptable:t=>!["generateLabels","filter","sort"].includes(t)}}};class Ok extends oa{constructor(n){super(),this.chart=n.chart,this.options=n.options,this.ctx=n.ctx,this._padding=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(n,e){const i=this.options;if(this.left=0,this.top=0,!i.display)return void(this.width=this.height=this.right=this.bottom=0);this.width=this.right=n,this.height=this.bottom=e;const r=Pi(i.text)?i.text.length:1;this._padding=bo(i.padding);const o=r*Hr(i.font).lineHeight+this._padding.height;this.isHorizontal()?this.height=o:this.width=o}isHorizontal(){const n=this.options.position;return"top"===n||"bottom"===n}_drawArgs(n){const{top:e,left:i,bottom:r,right:o,options:s}=this,a=s.align;let c,p,m,l=0;return this.isHorizontal()?(p=vo(a,i,o),m=e+n,c=o-i):("left"===s.position?(p=i+n,m=vo(a,r,e),l=-.5*er):(p=o-n,m=vo(a,e,r),l=.5*er),c=r-e),{titleX:p,titleY:m,maxWidth:c,rotation:l}}draw(){const n=this.ctx,e=this.options;if(!e.display)return;const i=Hr(e.font),o=i.lineHeight/2+this._padding.top,{titleX:s,titleY:a,maxWidth:l,rotation:c}=this._drawArgs(o);Uu(n,e.text,0,0,i,{color:e.color,maxWidth:l,rotation:c,textAlign:ek(e.align),textBaseline:"middle",translation:[s,a]})}}var Ace={id:"title",_element:Ok,start(t,n,e){!function Ece(t,n){const e=new Ok({ctx:t.ctx,options:n,chart:t});yo.configure(t,e,n),yo.addBox(t,e),t.titleBlock=e}(t,e)},stop(t){yo.removeBox(t,t.titleBlock),delete t.titleBlock},beforeUpdate(t,n,e){const i=t.titleBlock;yo.configure(t,i,e),i.options=e},defaults:{align:"center",display:!1,font:{weight:"bold"},fullSize:!0,padding:10,position:"top",text:"",weight:2e3},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const yy=new WeakMap;var Oce={id:"subtitle",start(t,n,e){const i=new Ok({ctx:t.ctx,options:e,chart:t});yo.configure(t,i,e),yo.addBox(t,i),yy.set(t,i)},stop(t){yo.removeBox(t,yy.get(t)),yy.delete(t)},beforeUpdate(t,n,e){const i=yy.get(t);yo.configure(t,i,e),i.options=e},defaults:{align:"center",display:!1,font:{weight:"normal"},fullSize:!0,padding:0,position:"top",text:"",weight:1500},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const Hm={average(t){if(!t.length)return!1;let n,e,i=0,r=0,o=0;for(n=0,e=t.length;n-1?t.split("\n"):t}function Ice(t,n){const{element:e,datasetIndex:i,index:r}=n,o=t.getDatasetMeta(i).controller,{label:s,value:a}=o.getLabelAndValue(r);return{chart:t,label:s,parsed:o.getParsed(r),raw:t.data.datasets[i].data[r],formattedValue:a,dataset:o.getDataset(),dataIndex:r,datasetIndex:i,element:e}}function q4(t,n){const e=t.chart.ctx,{body:i,footer:r,title:o}=t,{boxWidth:s,boxHeight:a}=n,l=Hr(n.bodyFont),c=Hr(n.titleFont),p=Hr(n.footerFont),m=o.length,_=r.length,C=i.length,k=bo(n.padding);let A=k.height,P=0,N=i.reduce((X,se)=>X+se.before.length+se.lines.length+se.after.length,0);N+=t.beforeBody.length+t.afterBody.length,m&&(A+=m*c.lineHeight+(m-1)*n.titleSpacing+n.titleMarginBottom),N&&(A+=C*(n.displayColors?Math.max(a,l.lineHeight):l.lineHeight)+(N-C)*l.lineHeight+(N-1)*n.bodySpacing),_&&(A+=n.footerMarginTop+_*p.lineHeight+(_-1)*n.footerSpacing);let $=0;const U=function(X){P=Math.max(P,e.measureText(X).width+$)};return e.save(),e.font=c.string,Ci(t.title,U),e.font=l.string,Ci(t.beforeBody.concat(t.afterBody),U),$=n.displayColors?s+2+n.boxPadding:0,Ci(i,X=>{Ci(X.before,U),Ci(X.lines,U),Ci(X.after,U)}),$=0,e.font=p.string,Ci(t.footer,U),e.restore(),P+=k.width,{width:P,height:A}}function Fce(t,n,e,i){const{x:r,width:o}=e,{width:s,chartArea:{left:a,right:l}}=t;let c="center";return"center"===i?c=r<=(a+l)/2?"left":"right":r<=o/2?c="left":r>=s-o/2&&(c="right"),function Rce(t,n,e,i){const{x:r,width:o}=i,s=e.caretSize+e.caretPadding;if("left"===t&&r+o+s>n.width||"right"===t&&r-o-s<0)return!0}(c,t,n,e)&&(c="center"),c}function Y4(t,n,e){const i=e.yAlign||n.yAlign||function Pce(t,n){const{y:e,height:i}=n;return et.height-i/2?"bottom":"center"}(t,e);return{xAlign:e.xAlign||n.xAlign||Fce(t,n,e,i),yAlign:i}}function K4(t,n,e,i){const{caretSize:r,caretPadding:o,cornerRadius:s}=t,{xAlign:a,yAlign:l}=e,c=r+o,{topLeft:p,topRight:m,bottomLeft:_,bottomRight:C}=$u(s);let k=function Nce(t,n){let{x:e,width:i}=t;return"right"===n?e-=i:"center"===n&&(e-=i/2),e}(n,a);const A=function Lce(t,n,e){let{y:i,height:r}=t;return"top"===n?i+=e:i-="bottom"===n?r+e:r/2,i}(n,l,c);return"center"===l?"left"===a?k+=c:"right"===a&&(k-=c):"left"===a?k-=Math.max(p,_)+r:"right"===a&&(k+=Math.max(m,C)+r),{x:Yr(k,0,i.width-n.width),y:Yr(A,0,i.height-n.height)}}function wy(t,n,e){const i=bo(e.padding);return"center"===n?t.x+t.width/2:"right"===n?t.x+t.width-i.right:t.x+i.left}function Z4(t){return Ha([],Hl(t))}function Q4(t,n){const e=n&&n.dataset&&n.dataset.tooltip&&n.dataset.tooltip.callbacks;return e?t.override(e):t}let X4=(()=>{class t extends oa{constructor(e){super(),this.opacity=0,this._active=[],this._eventPosition=void 0,this._size=void 0,this._cachedAnimations=void 0,this._tooltipItems=[],this.$animations=void 0,this.$context=void 0,this.chart=e.chart||e._chart,this._chart=this.chart,this.options=e.options,this.dataPoints=void 0,this.title=void 0,this.beforeBody=void 0,this.body=void 0,this.afterBody=void 0,this.footer=void 0,this.xAlign=void 0,this.yAlign=void 0,this.x=void 0,this.y=void 0,this.height=void 0,this.width=void 0,this.caretX=void 0,this.caretY=void 0,this.labelColors=void 0,this.labelPointStyles=void 0,this.labelTextColors=void 0}initialize(e){this.options=e,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){const e=this._cachedAnimations;if(e)return e;const i=this.chart,r=this.options.setContext(this.getContext()),o=r.enabled&&i.options.animation&&r.animations,s=new UL(this.chart,o);return o._cacheable&&(this._cachedAnimations=Object.freeze(s)),s}getContext(){return this.$context||(this.$context=function Bce(t,n,e){return Ic(t,{tooltip:n,tooltipItems:e,type:"tooltip"})}(this.chart.getContext(),this,this._tooltipItems))}getTitle(e,i){const{callbacks:r}=i,o=r.beforeTitle.apply(this,[e]),s=r.title.apply(this,[e]),a=r.afterTitle.apply(this,[e]);let l=[];return l=Ha(l,Hl(o)),l=Ha(l,Hl(s)),l=Ha(l,Hl(a)),l}getBeforeBody(e,i){return Z4(i.callbacks.beforeBody.apply(this,[e]))}getBody(e,i){const{callbacks:r}=i,o=[];return Ci(e,s=>{const a={before:[],lines:[],after:[]},l=Q4(r,s);Ha(a.before,Hl(l.beforeLabel.call(this,s))),Ha(a.lines,l.label.call(this,s)),Ha(a.after,Hl(l.afterLabel.call(this,s))),o.push(a)}),o}getAfterBody(e,i){return Z4(i.callbacks.afterBody.apply(this,[e]))}getFooter(e,i){const{callbacks:r}=i,o=r.beforeFooter.apply(this,[e]),s=r.footer.apply(this,[e]),a=r.afterFooter.apply(this,[e]);let l=[];return l=Ha(l,Hl(o)),l=Ha(l,Hl(s)),l=Ha(l,Hl(a)),l}_createItems(e){const i=this._active,r=this.chart.data,o=[],s=[],a=[];let c,p,l=[];for(c=0,p=i.length;ce.filter(m,_,C,r))),e.itemSort&&(l=l.sort((m,_)=>e.itemSort(m,_,r))),Ci(l,m=>{const _=Q4(e.callbacks,m);o.push(_.labelColor.call(this,m)),s.push(_.labelPointStyle.call(this,m)),a.push(_.labelTextColor.call(this,m))}),this.labelColors=o,this.labelPointStyles=s,this.labelTextColors=a,this.dataPoints=l,l}update(e,i){const r=this.options.setContext(this.getContext()),o=this._active;let s,a=[];if(o.length){const l=Hm[r.position].call(this,o,this._eventPosition);a=this._createItems(r),this.title=this.getTitle(a,r),this.beforeBody=this.getBeforeBody(a,r),this.body=this.getBody(a,r),this.afterBody=this.getAfterBody(a,r),this.footer=this.getFooter(a,r);const c=this._size=q4(this,r),p=Object.assign({},l,c),m=Y4(this.chart,r,p),_=K4(r,p,m,this.chart);this.xAlign=m.xAlign,this.yAlign=m.yAlign,s={opacity:1,x:_.x,y:_.y,width:c.width,height:c.height,caretX:l.x,caretY:l.y}}else 0!==this.opacity&&(s={opacity:0});this._tooltipItems=a,this.$context=void 0,s&&this._resolveAnimations().update(this,s),e&&r.external&&r.external.call(this,{chart:this.chart,tooltip:this,replay:i})}drawCaret(e,i,r,o){const s=this.getCaretPosition(e,r,o);i.lineTo(s.x1,s.y1),i.lineTo(s.x2,s.y2),i.lineTo(s.x3,s.y3)}getCaretPosition(e,i,r){const{xAlign:o,yAlign:s}=this,{caretSize:a,cornerRadius:l}=r,{topLeft:c,topRight:p,bottomLeft:m,bottomRight:_}=$u(l),{x:C,y:k}=e,{width:A,height:P}=i;let N,$,U,X,se,ve;return"center"===s?(se=k+P/2,"left"===o?(N=C,$=N-a,X=se+a,ve=se-a):(N=C+A,$=N+a,X=se-a,ve=se+a),U=N):($="left"===o?C+Math.max(c,m)+a:"right"===o?C+A-Math.max(p,_)-a:this.caretX,"top"===s?(X=k,se=X-a,N=$-a,U=$+a):(X=k+P,se=X+a,N=$+a,U=$-a),ve=X),{x1:N,x2:$,x3:U,y1:X,y2:se,y3:ve}}drawTitle(e,i,r){const o=this.title,s=o.length;let a,l,c;if(s){const p=Wh(r.rtl,this.x,this.width);for(e.x=wy(this,r.titleAlign,r),i.textAlign=p.textAlign(r.titleAlign),i.textBaseline="middle",a=Hr(r.titleFont),l=r.titleSpacing,i.fillStyle=r.titleColor,i.font=a.string,c=0;c0!==X)?(e.beginPath(),e.fillStyle=s.multiKeyBackground,Em(e,{x:N,y:P,w:p,h:c,radius:U}),e.fill(),e.stroke(),e.fillStyle=a.backgroundColor,e.beginPath(),Em(e,{x:$,y:P+1,w:p-2,h:c-2,radius:U}),e.fill()):(e.fillStyle=s.multiKeyBackground,e.fillRect(N,P,p,c),e.strokeRect(N,P,p,c),e.fillStyle=a.backgroundColor,e.fillRect($,P+1,p-2,c-2))}e.fillStyle=this.labelTextColors[r]}drawBody(e,i,r){const{body:o}=this,{bodySpacing:s,bodyAlign:a,displayColors:l,boxHeight:c,boxWidth:p,boxPadding:m}=r,_=Hr(r.bodyFont);let C=_.lineHeight,k=0;const A=Wh(r.rtl,this.x,this.width),P=function(We){i.fillText(We,A.x(e.x+k),e.y+C/2),e.y+=C+s},N=A.textAlign(a);let $,U,X,se,ve,De,He;for(i.textAlign=a,i.textBaseline="middle",i.font=_.string,e.x=wy(this,N,r),i.fillStyle=r.bodyColor,Ci(this.beforeBody,P),k=l&&"right"!==N?"center"===a?p/2+m:p+2+m:0,se=0,De=o.length;se0&&i.stroke()}_updateAnimationTarget(e){const i=this.chart,r=this.$animations,o=r&&r.x,s=r&&r.y;if(o||s){const a=Hm[e.position].call(this,this._active,this._eventPosition);if(!a)return;const l=this._size=q4(this,e),c=Object.assign({},a,this._size),p=Y4(i,e,c),m=K4(e,c,p,i);(o._to!==m.x||s._to!==m.y)&&(this.xAlign=p.xAlign,this.yAlign=p.yAlign,this.width=l.width,this.height=l.height,this.caretX=a.x,this.caretY=a.y,this._resolveAnimations().update(this,m))}}_willRender(){return!!this.opacity}draw(e){const i=this.options.setContext(this.getContext());let r=this.opacity;if(!r)return;this._updateAnimationTarget(i);const o={width:this.width,height:this.height},s={x:this.x,y:this.y};r=Math.abs(r)<.001?0:r;const a=bo(i.padding);i.enabled&&(this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length)&&(e.save(),e.globalAlpha=r,this.drawBackground(s,e,o,i),FL(e,i.textDirection),s.y+=a.top,this.drawTitle(s,e,i),this.drawBody(s,e,i),this.drawFooter(s,e,i),NL(e,i.textDirection),e.restore())}getActiveElements(){return this._active||[]}setActiveElements(e,i){const r=this._active,o=e.map(({datasetIndex:l,index:c})=>{const p=this.chart.getDatasetMeta(l);if(!p)throw new Error("Cannot find a dataset at index "+l);return{datasetIndex:l,element:p.data[c],index:c}}),s=!Kb(r,o),a=this._positionChanged(o,i);(s||a)&&(this._active=o,this._eventPosition=i,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(e,i,r=!0){if(i&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const o=this.options,s=this._active||[],a=this._getActiveElements(e,s,i,r),l=this._positionChanged(a,e),c=i||!Kb(a,s)||l;return c&&(this._active=a,(o.enabled||o.external)&&(this._eventPosition={x:e.x,y:e.y},this.update(!0,i))),c}_getActiveElements(e,i,r,o){const s=this.options;if("mouseout"===e.type)return[];if(!o)return i;const a=this.chart.getElementsAtEventForMode(e,s.mode,s,r);return s.reverse&&a.reverse(),a}_positionChanged(e,i){const{caretX:r,caretY:o,options:s}=this,a=Hm[s.position].call(this,e,i);return!1!==a&&(r!==a.x||o!==a.y)}}return t.positioners=Hm,t})();var Vce={id:"tooltip",_element:X4,positioners:Hm,afterInit(t,n,e){e&&(t.tooltip=new X4({chart:t,options:e}))},beforeUpdate(t,n,e){t.tooltip&&t.tooltip.initialize(e)},reset(t,n,e){t.tooltip&&t.tooltip.initialize(e)},afterDraw(t){const n=t.tooltip;if(n&&n._willRender()){const e={tooltip:n};if(!1===t.notifyPlugins("beforeTooltipDraw",e))return;n.draw(t.ctx),t.notifyPlugins("afterTooltipDraw",e)}},afterEvent(t,n){t.tooltip&&t.tooltip.handleEvent(n.event,n.replay,n.inChartArea)&&(n.changed=!0)},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(t,n)=>n.bodyFont.size,boxWidth:(t,n)=>n.bodyFont.size,multiKeyBackground:"#fff",displayColors:!0,boxPadding:0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:{beforeTitle:Fl,title(t){if(t.length>0){const n=t[0],e=n.chart.data.labels,i=e?e.length:0;if(this&&this.options&&"dataset"===this.options.mode)return n.dataset.label||"";if(n.label)return n.label;if(i>0&&n.dataIndex"filter"!==t&&"itemSort"!==t&&"external"!==t,_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]},Hce=Object.freeze({__proto__:null,Decimation:oce,Filler:kce,Legend:Tce,SubTitle:Oce,Title:Ace,Tooltip:Vce});class Cy extends Ku{constructor(n){super(n),this._startValue=void 0,this._valueRange=0,this._addedLabels=[]}init(n){const e=this._addedLabels;if(e.length){const i=this.getLabels();for(const{index:r,label:o}of e)i[r]===o&&i.splice(r,1);this._addedLabels=[]}super.init(n)}parse(n,e){if(Xn(n))return null;const i=this.getLabels();return((t,n)=>null===t?null:Yr(Math.round(t),0,n))(e=isFinite(e)&&i[e]===n?e:function Wce(t,n,e,i){const r=t.indexOf(n);return-1===r?((t,n,e,i)=>("string"==typeof n?(e=t.push(n)-1,i.unshift({index:e,label:n})):isNaN(n)&&(e=null),e))(t,n,e,i):r!==t.lastIndexOf(n)?e:r}(i,n,Dn(e,n),this._addedLabels),i.length-1)}determineDataLimits(){const{minDefined:n,maxDefined:e}=this.getUserBounds();let{min:i,max:r}=this.getMinMax(!0);"ticks"===this.options.bounds&&(n||(i=0),e||(r=this.getLabels().length-1)),this.min=i,this.max=r}buildTicks(){const n=this.min,e=this.max,i=this.options.offset,r=[];let o=this.getLabels();o=0===n&&e===o.length-1?o:o.slice(n,e+1),this._valueRange=Math.max(o.length-(i?0:1),1),this._startValue=this.min-(i?.5:0);for(let s=n;s<=e;s++)r.push({value:s});return r}getLabelForValue(n){const e=this.getLabels();return n>=0&&ne.length-1?null:this.getPixelForValue(e[n].value)}getValueForPixel(n){return Math.round(this._startValue+this.getDecimalForPixel(n)*this._valueRange)}getBasePixel(){return this.bottom}}function J4(t,n,{horizontal:e,minRotation:i}){const r=ra(i),o=(e?Math.sin(r):Math.cos(r))||.001;return Math.min(n/o,.75*n*(""+t).length)}Cy.id="category",Cy.defaults={ticks:{callback:Cy.prototype.getLabelForValue}};class Sy extends Ku{constructor(n){super(n),this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(n,e){return Xn(n)||("number"==typeof n||n instanceof Number)&&!isFinite(+n)?null:+n}handleTickRangeOptions(){const{beginAtZero:n}=this.options,{minDefined:e,maxDefined:i}=this.getUserBounds();let{min:r,max:o}=this;const s=l=>r=e?r:l,a=l=>o=i?o:l;if(n){const l=La(r),c=La(o);l<0&&c<0?a(0):l>0&&c>0&&s(0)}if(r===o){let l=1;(o>=Number.MAX_SAFE_INTEGER||r<=Number.MIN_SAFE_INTEGER)&&(l=Math.abs(.05*o)),a(o+l),n||s(r-l)}this.min=r,this.max=o}getTickLimit(){const n=this.options.ticks;let r,{maxTicksLimit:e,stepSize:i}=n;return i?(r=Math.ceil(this.max/i)-Math.floor(this.min/i)+1,r>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${i} would result generating up to ${r} ticks. Limiting to 1000.`),r=1e3)):(r=this.computeTickLimit(),e=e||11),e&&(r=Math.min(e,r)),r}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const n=this.options,e=n.ticks;let i=this.getTickLimit();i=Math.max(2,i);const s=function Uce(t,n){const e=[],{bounds:r,step:o,min:s,max:a,precision:l,count:c,maxTicks:p,maxDigits:m,includeBounds:_}=t,C=o||1,k=p-1,{min:A,max:P}=n,N=!Xn(s),$=!Xn(a),U=!Xn(c),X=(P-A)/(m+1);let ve,De,He,We,se=Q3((P-A)/k/C)*C;if(se<1e-14&&!N&&!$)return[{value:A},{value:P}];We=Math.ceil(P/se)-Math.floor(A/se),We>k&&(se=Q3(We*se/k/C)*C),Xn(l)||(ve=Math.pow(10,l),se=Math.ceil(se*ve)/ve),"ticks"===r?(De=Math.floor(A/se)*se,He=Math.ceil(P/se)*se):(De=A,He=P),N&&$&&o&&function xoe(t,n){const e=Math.round(t);return e-n<=t&&e+n>=t}((a-s)/o,se/1e3)?(We=Math.round(Math.min((a-s)/se,p)),se=(a-s)/We,De=s,He=a):U?(De=N?s:De,He=$?a:He,We=c-1,se=(He-De)/We):(We=(He-De)/se,We=Cm(We,Math.round(We),se/1e3)?Math.round(We):Math.ceil(We));const Ft=Math.max(J3(se),J3(De));ve=Math.pow(10,Xn(l)?Ft:l),De=Math.round(De*ve)/ve,He=Math.round(He*ve)/ve;let an=0;for(N&&(_&&De!==s?(e.push({value:s}),De0?i:null;this._zero=!0}determineDataLimits(){const{min:n,max:e}=this.getMinMax(!0);this.min=Cr(n)?Math.max(0,n):null,this.max=Cr(e)?Math.max(0,e):null,this.options.beginAtZero&&(this._zero=!0),this.handleTickRangeOptions()}handleTickRangeOptions(){const{minDefined:n,maxDefined:e}=this.getUserBounds();let i=this.min,r=this.max;const o=l=>i=n?i:l,s=l=>r=e?r:l,a=(l,c)=>Math.pow(10,Math.floor(Is(l))+c);i===r&&(i<=0?(o(1),s(10)):(o(a(i,-1)),s(a(r,1)))),i<=0&&o(a(r,-1)),r<=0&&s(a(i,1)),this._zero&&this.min!==this._suggestedMin&&i===a(this.min,0)&&o(a(i,-1)),this.min=i,this.max=r}buildTicks(){const n=this.options,i=function $ce(t,n){const e=Math.floor(Is(n.max)),i=Math.ceil(n.max/Math.pow(10,e)),r=[];let o=As(t.min,Math.pow(10,Math.floor(Is(n.min)))),s=Math.floor(Is(o)),a=Math.floor(o/Math.pow(10,s)),l=s<0?Math.pow(10,Math.abs(s)):1;do{r.push({value:o,major:e5(o)}),++a,10===a&&(a=1,++s,l=s>=0?1:l),o=Math.round(a*Math.pow(10,s)*l)/l}while(sr?{start:n-e,end:n}:{start:n,end:n+e}}function Yce(t,n,e,i,r){const o=Math.abs(Math.sin(e)),s=Math.abs(Math.cos(e));let a=0,l=0;i.startn.r&&(a=(i.end-n.r)/o,t.r=Math.max(t.r,n.r+a)),r.startn.b&&(l=(r.end-n.b)/s,t.b=Math.max(t.b,n.b+l))}function Zce(t){return 0===t||180===t?"center":t<180?"left":"right"}function Qce(t,n,e){return"right"===e?t-=n:"center"===e&&(t-=n/2),t}function Xce(t,n,e){return 90===e||270===e?t-=n/2:(e>270||e<90)&&(t-=n),t}function n5(t,n,e,i){const{ctx:r}=t;if(e)r.arc(t.xCenter,t.yCenter,n,0,Mi);else{let o=t.getPointPosition(0,n);r.moveTo(o.x,o.y);for(let s=1;s{const r=Ri(this.options.pointLabels.callback,[e,i],this);return r||0===r?r:""}).filter((e,i)=>this.chart.getDataVisibility(i))}fit(){const n=this.options;n.display&&n.pointLabels.display?function qce(t){const n={l:t.left+t._padding.left,r:t.right-t._padding.right,t:t.top+t._padding.top,b:t.bottom-t._padding.bottom},e=Object.assign({},n),i=[],r=[],o=t._pointLabels.length,s=t.options.pointLabels,a=s.centerPointLabels?er/o:0;for(let l=0;l=0&&n=0;r--){const o=i.setContext(t.getPointLabelContext(r)),s=Hr(o.font),{x:a,y:l,textAlign:c,left:p,top:m,right:_,bottom:C}=t._pointLabelItems[r],{backdropColor:k}=o;if(!Xn(k)){const A=$u(o.borderRadius),P=bo(o.backdropPadding);e.fillStyle=k;const N=p-P.left,$=m-P.top,U=_-p+P.width,X=C-m+P.height;Object.values(A).some(se=>0!==se)?(e.beginPath(),Em(e,{x:N,y:$,w:U,h:X,radius:A}),e.fill()):e.fillRect(N,$,U,X)}Uu(e,t._pointLabels[r],a,l+s.lineHeight/2,s,{color:o.color,textAlign:c,textBaseline:"middle"})}}(this,o),r.display&&this.ticks.forEach((c,p)=>{0!==p&&(a=this.getDistanceFromCenterForValue(c.value),function eue(t,n,e,i){const r=t.ctx,o=n.circular,{color:s,lineWidth:a}=n;!o&&!i||!s||!a||e<0||(r.save(),r.strokeStyle=s,r.lineWidth=a,r.setLineDash(n.borderDash),r.lineDashOffset=n.borderDashOffset,r.beginPath(),n5(t,e,o,i),r.closePath(),r.stroke(),r.restore())}(this,r.setContext(this.getContext(p-1)),a,o))}),i.display){for(n.save(),s=o-1;s>=0;s--){const c=i.setContext(this.getPointLabelContext(s)),{color:p,lineWidth:m}=c;!m||!p||(n.lineWidth=m,n.strokeStyle=p,n.setLineDash(c.borderDash),n.lineDashOffset=c.borderDashOffset,a=this.getDistanceFromCenterForValue(e.ticks.reverse?this.min:this.max),l=this.getPointPosition(s,a),n.beginPath(),n.moveTo(this.xCenter,this.yCenter),n.lineTo(l.x,l.y),n.stroke())}n.restore()}}drawBorder(){}drawLabels(){const n=this.ctx,e=this.options,i=e.ticks;if(!i.display)return;const r=this.getIndexAngle(0);let o,s;n.save(),n.translate(this.xCenter,this.yCenter),n.rotate(r),n.textAlign="center",n.textBaseline="middle",this.ticks.forEach((a,l)=>{if(0===l&&!e.reverse)return;const c=i.setContext(this.getContext(l)),p=Hr(c.font);if(o=this.getDistanceFromCenterForValue(this.ticks[l].value),c.showLabelBackdrop){n.font=p.string,s=n.measureText(a.label).width,n.fillStyle=c.backdropColor;const m=bo(c.backdropPadding);n.fillRect(-s/2-m.left,-o-p.size/2-m.top,s+m.width,p.size+m.height)}Uu(n,a.label,0,-o,p,{color:c.color})}),n.restore()}drawTitle(){}}zm.id="radialLinear",zm.defaults={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,lineWidth:1,borderDash:[],borderDashOffset:0},grid:{circular:!1},startAngle:0,ticks:{showLabelBackdrop:!0,callback:cy.formatters.numeric},pointLabels:{backdropColor:void 0,backdropPadding:2,display:!0,font:{size:10},callback:t=>t,padding:5,centerPointLabels:!1}},zm.defaultRoutes={"angleLines.color":"borderColor","pointLabels.color":"color","ticks.color":"color"},zm.descriptors={angleLines:{_fallback:"grid"}};const xy={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},zo=Object.keys(xy);function nue(t,n){return t-n}function r5(t,n){if(Xn(n))return null;const e=t._adapter,{parser:i,round:r,isoWeekday:o}=t._parseOpts;let s=n;return"function"==typeof i&&(s=i(s)),Cr(s)||(s="string"==typeof i?e.parse(s,i):e.parse(s)),null===s?null:(r&&(s="week"!==r||!Bh(o)&&!0!==o?e.startOf(s,r):e.startOf(s,"isoWeek",o)),+s)}function o5(t,n,e,i){const r=zo.length;for(let o=zo.indexOf(t);o=n?e[i]:e[r]]=!0}}else t[n]=!0}function a5(t,n,e){const i=[],r={},o=n.length;let s,a;for(s=0;s=0&&(n[l].major=!0);return n}(t,i,r,e):i}let Fk=(()=>{class t extends Ku{constructor(e){super(e),this._cache={data:[],labels:[],all:[]},this._unit="day",this._majorUnit=void 0,this._offsets={},this._normalized=!1,this._parseOpts=void 0}init(e,i){const r=e.time||(e.time={}),o=this._adapter=new l4._date(e.adapters.date);o.init(i),ym(r.displayFormats,o.formats()),this._parseOpts={parser:r.parser,round:r.round,isoWeekday:r.isoWeekday},super.init(e),this._normalized=i.normalized}parse(e,i){return void 0===e?null:r5(this,e)}beforeLayout(){super.beforeLayout(),this._cache={data:[],labels:[],all:[]}}determineDataLimits(){const e=this.options,i=this._adapter,r=e.time.unit||"day";let{min:o,max:s,minDefined:a,maxDefined:l}=this.getUserBounds();function c(p){!a&&!isNaN(p.min)&&(o=Math.min(o,p.min)),!l&&!isNaN(p.max)&&(s=Math.max(s,p.max))}(!a||!l)&&(c(this._getLabelBounds()),("ticks"!==e.bounds||"labels"!==e.ticks.source)&&c(this.getMinMax(!1))),o=Cr(o)&&!isNaN(o)?o:+i.startOf(Date.now(),r),s=Cr(s)&&!isNaN(s)?s:+i.endOf(Date.now(),r)+1,this.min=Math.min(o,s-1),this.max=Math.max(o+1,s)}_getLabelBounds(){const e=this.getLabelTimestamps();let i=Number.POSITIVE_INFINITY,r=Number.NEGATIVE_INFINITY;return e.length&&(i=e[0],r=e[e.length-1]),{min:i,max:r}}buildTicks(){const e=this.options,i=e.time,r=e.ticks,o="labels"===r.source?this.getLabelTimestamps():this._generate();"ticks"===e.bounds&&o.length&&(this.min=this._userMin||o[0],this.max=this._userMax||o[o.length-1]);const s=this.min,l=function Toe(t,n,e){let i=0,r=t.length;for(;ii&&t[r-1]>e;)r--;return i>0||r=zo.indexOf(e);o--){const s=zo[o];if(xy[s].common&&t._adapter.diff(r,i,s)>=n-1)return s}return zo[e?zo.indexOf(e):0]}(this,l.length,i.minUnit,this.min,this.max)),this._majorUnit=r.major.enabled&&"year"!==this._unit?function rue(t){for(let n=zo.indexOf(t)+1,e=zo.length;n+e.value))}initOffsets(e){let o,s,i=0,r=0;this.options.offset&&e.length&&(o=this.getDecimalForValue(e[0]),i=1===e.length?1-o:(this.getDecimalForValue(e[1])-o)/2,s=this.getDecimalForValue(e[e.length-1]),r=1===e.length?s:(s-this.getDecimalForValue(e[e.length-2]))/2);const a=e.length<3?.5:.25;i=Yr(i,0,a),r=Yr(r,0,a),this._offsets={start:i,end:r,factor:1/(i+1+r)}}_generate(){const e=this._adapter,i=this.min,r=this.max,o=this.options,s=o.time,a=s.unit||o5(s.minUnit,i,r,this._getLabelCapacity(i)),l=Dn(s.stepSize,1),c="week"===a&&s.isoWeekday,p=Bh(c)||!0===c,m={};let C,k,_=i;if(p&&(_=+e.startOf(_,"isoWeek",c)),_=+e.startOf(_,p?"day":a),e.diff(r,i,a)>1e5*l)throw new Error(i+" and "+r+" are too far apart with stepSize of "+l+" "+a);const A="data"===o.ticks.source&&this.getDataTimestamps();for(C=_,k=0;CP-N).map(P=>+P)}getLabelForValue(e){const r=this.options.time;return this._adapter.format(e,r.tooltipFormat?r.tooltipFormat:r.displayFormats.datetime)}_tickFormatFunction(e,i,r,o){const s=this.options,a=s.time.displayFormats,l=this._unit,c=this._majorUnit,m=c&&a[c],_=r[i],k=this._adapter.format(e,o||(c&&m&&_&&_.major?m:l&&a[l])),A=s.ticks.callback;return A?Ri(A,[k,i,r],this):k}generateTickLabels(e){let i,r,o;for(i=0,r=e.length;i0?l:1}getDataTimestamps(){let i,r,e=this._cache.data||[];if(e.length)return e;const o=this.getMatchingVisibleMetas();if(this._normalized&&o.length)return this._cache.data=o[0].controller.getAllParsedValues(this);for(i=0,r=o.length;i=t[i].pos&&n<=t[r].pos&&({lo:i,hi:r}=Ll(t,"pos",n)),({pos:o,time:a}=t[i]),({pos:s,time:l}=t[r])):(n>=t[i].time&&n<=t[r].time&&({lo:i,hi:r}=Ll(t,"time",n)),({time:o,pos:a}=t[i]),({time:s,pos:l}=t[r]));const c=s-o;return c?a+(l-a)*(n-o)/c:a}class Nk extends Fk{constructor(n){super(n),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){const n=this._getTimestampsForTable(),e=this._table=this.buildLookupTable(n);this._minPos=ky(e,this.min),this._tableRange=ky(e,this.max)-this._minPos,super.initOffsets(n)}buildLookupTable(n){const{min:e,max:i}=this,r=[],o=[];let s,a,l,c,p;for(s=0,a=n.length;s=e&&c<=i&&r.push(c);if(r.length<2)return[{time:e,pos:0},{time:i,pos:1}];for(s=0,a=r.length;s1?"s":"")+" required, but only "+n.length+" present")}function Gt(t){Et(1,arguments);var n=Object.prototype.toString.call(t);return t instanceof Date||"object"===zl(t)&&"[object Date]"===n?new Date(t.getTime()):"number"==typeof t||"[object Number]"===n?new Date(t):(("string"==typeof t||"[object String]"===n)&&typeof console<"u"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn((new Error).stack)),new Date(NaN))}function l5(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,i=new Array(n);e=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(c){throw c},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){e=e.call(t)},n:function(){var c=e.next();return o=c.done,c},e:function(c){s=!0,a=c},f:function(){try{!o&&null!=e.return&&e.return()}finally{if(s)throw a}}}}var cue={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function Lk(t){return function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=n.width?String(n.width):t.defaultWidth,i=t.formats[e]||t.formats[t.defaultWidth];return i}}const gue={date:Lk({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:Lk({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:Lk({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})};var _ue={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function Wm(t){return function(n,e){var r;if("formatting"===(null!=e&&e.context?String(e.context):"standalone")&&t.formattingValues){var o=t.defaultFormattingWidth||t.defaultWidth,s=null!=e&&e.width?String(e.width):o;r=t.formattingValues[s]||t.formattingValues[o]}else{var a=t.defaultWidth,l=null!=e&&e.width?String(e.width):t.defaultWidth;r=t.values[l]||t.values[a]}return r[t.argumentCallback?t.argumentCallback(n):n]}}const Tue={ordinalNumber:function(n,e){var i=Number(n),r=i%100;if(r>20||r<10)switch(r%10){case 1:return i+"st";case 2:return i+"nd";case 3:return i+"rd"}return i+"th"},era:Wm({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:Wm({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(n){return n-1}}),month:Wm({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:Wm({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:Wm({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})};function jm(t){return function(n){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=e.width,r=i&&t.matchPatterns[i]||t.matchPatterns[t.defaultMatchWidth],o=n.match(r);if(!o)return null;var c,s=o[0],a=i&&t.parsePatterns[i]||t.parsePatterns[t.defaultParseWidth],l=Array.isArray(a)?Aue(a,function(m){return m.test(s)}):Eue(a,function(m){return m.test(s)});c=t.valueCallback?t.valueCallback(l):l,c=e.valueCallback?e.valueCallback(c):c;var p=n.slice(s.length);return{value:c,rest:p}}}function Eue(t,n){for(var e in t)if(t.hasOwnProperty(e)&&n(t[e]))return e}function Aue(t,n){for(var e=0;e1&&void 0!==arguments[1]?arguments[1]:{},i=n.match(t.matchPattern);if(!i)return null;var r=i[0],o=n.match(t.parsePattern);if(!o)return null;var s=t.valueCallback?t.valueCallback(o[0]):o[0];s=e.valueCallback?e.valueCallback(s):s;var a=n.slice(r.length);return{value:s,rest:a}}}({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(n){return parseInt(n,10)}}),era:jm({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:jm({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(n){return n+1}}),month:jm({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:jm({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:jm({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})};const u5={code:"en-US",formatDistance:function(n,e,i){var r,o=cue[n];return r="string"==typeof o?o:1===e?o.one:o.other.replace("{{count}}",e.toString()),null!=i&&i.addSuffix?i.comparison&&i.comparison>0?"in "+r:r+" ago":r},formatLong:gue,formatRelative:function(n,e,i,r){return _ue[n]},localize:Tue,match:Uue,options:{weekStartsOn:0,firstWeekContainsDate:1}};function Ui(t){if(null===t||!0===t||!1===t)return NaN;var n=Number(t);return isNaN(n)?n:n<0?Math.ceil(n):Math.floor(n)}function Um(t,n){Et(2,arguments);var e=Gt(t).getTime(),i=Ui(n);return new Date(e+i)}function d5(t,n){Et(2,arguments);var e=Ui(n);return Um(t,-e)}function Gue(t,n){if(null==t)throw new TypeError("assign requires that input parameter not be null or undefined");for(var e in n)Object.prototype.hasOwnProperty.call(n,e)&&(t[e]=n[e]);return t}var h5=function(n,e){switch(n){case"P":return e.date({width:"short"});case"PP":return e.date({width:"medium"});case"PPP":return e.date({width:"long"});default:return e.date({width:"full"})}},f5=function(n,e){switch(n){case"p":return e.time({width:"short"});case"pp":return e.time({width:"medium"});case"ppp":return e.time({width:"long"});default:return e.time({width:"full"})}};const Bk={p:f5,P:function(n,e){var s,i=n.match(/(P+)(p+)?/)||[],r=i[1],o=i[2];if(!o)return h5(n,e);switch(r){case"P":s=e.dateTime({width:"short"});break;case"PP":s=e.dateTime({width:"medium"});break;case"PPP":s=e.dateTime({width:"long"});break;default:s=e.dateTime({width:"full"})}return s.replace("{{date}}",h5(r,e)).replace("{{time}}",f5(o,e))}};function Dy(t){var n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),t.getTime()-n.getTime()}var Kue=["D","DD"],Zue=["YY","YYYY"];function p5(t){return-1!==Kue.indexOf(t)}function m5(t){return-1!==Zue.indexOf(t)}function My(t,n,e){if("YYYY"===t)throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(n,"`) for formatting years to the input `").concat(e,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("YY"===t)throw new RangeError("Use `yy` instead of `YY` (in `".concat(n,"`) for formatting years to the input `").concat(e,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("D"===t)throw new RangeError("Use `d` instead of `D` (in `".concat(n,"`) for formatting days of the month to the input `").concat(e,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("DD"===t)throw new RangeError("Use `dd` instead of `DD` (in `".concat(n,"`) for formatting days of the month to the input `").concat(e,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}function ft(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Vk(t,n){return(Vk=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,r){return i.__proto__=r,i})(t,n)}function Jn(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),n&&Vk(t,n)}function Ty(t){return(Ty=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(t)}function Xue(t,n){if(n&&("object"===zl(n)||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return ft(t)}function ei(t){var n=function Que(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var r,i=Ty(t);if(n){var o=Ty(this).constructor;r=Reflect.construct(i,arguments,o)}else r=i.apply(this,arguments);return Xue(this,r)}}function $n(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}function g5(t){var n=function Jue(t,n){if("object"!==zl(t)||null===t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,n||"default");if("object"!==zl(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(t)}(t,"string");return"symbol"===zl(n)?n:String(n)}function _5(t,n){for(var e=0;e0,i=e?n:1-n;if(i<=50)r=t||100;else{var o=i+50;r=t+100*Math.floor(o/100)-(t>=o%100?100:0)}return e?r:1-r}function C5(t){return t%400==0||t%4==0&&t%100!=0}var ude=function(t){Jn(e,t);var n=ei(e);function e(){var i;$n(this,e);for(var r=arguments.length,o=new Array(r),s=0;s0}},{key:"set",value:function(r,o,s){var a=r.getUTCFullYear();if(s.isTwoDigitYear){var l=w5(s.year,a);return r.setUTCFullYear(l,0,1),r.setUTCHours(0,0,0,0),r}return r.setUTCFullYear("era"in o&&1!==o.era?1-s.year:s.year,0,1),r.setUTCHours(0,0,0,0),r}}]),e}(fi),S5={};function Fc(){return S5}function Qu(t,n){var e,i,r,o,s,a,l,c;Et(1,arguments);var p=Fc(),m=Ui(null!==(e=null!==(i=null!==(r=null!==(o=n?.weekStartsOn)&&void 0!==o?o:null==n||null===(s=n.locale)||void 0===s||null===(a=s.options)||void 0===a?void 0:a.weekStartsOn)&&void 0!==r?r:p.weekStartsOn)&&void 0!==i?i:null===(l=p.locale)||void 0===l||null===(c=l.options)||void 0===c?void 0:c.weekStartsOn)&&void 0!==e?e:0);if(!(m>=0&&m<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var _=Gt(t),C=_.getUTCDay(),k=(C=1&&C<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var k=new Date(0);k.setUTCFullYear(m+1,0,C),k.setUTCHours(0,0,0,0);var A=Qu(k,n),P=new Date(0);P.setUTCFullYear(m,0,C),P.setUTCHours(0,0,0,0);var N=Qu(P,n);return p.getTime()>=A.getTime()?m+1:p.getTime()>=N.getTime()?m:m-1}var dde=function(t){Jn(e,t);var n=ei(e);function e(){var i;$n(this,e);for(var r=arguments.length,o=new Array(r),s=0;s0}},{key:"set",value:function(r,o,s,a){var l=zk(r,a);if(s.isTwoDigitYear){var c=w5(s.year,l);return r.setUTCFullYear(c,0,a.firstWeekContainsDate),r.setUTCHours(0,0,0,0),Qu(r,a)}return r.setUTCFullYear("era"in o&&1!==o.era?1-s.year:s.year,0,a.firstWeekContainsDate),r.setUTCHours(0,0,0,0),Qu(r,a)}}]),e}(fi);function $h(t){Et(1,arguments);var n=1,e=Gt(t),i=e.getUTCDay(),r=(i=1&&o<=4}},{key:"set",value:function(r,o,s){return r.setUTCMonth(3*(s-1),1),r.setUTCHours(0,0,0,0),r}}]),e}(fi),mde=function(t){Jn(e,t);var n=ei(e);function e(){var i;$n(this,e);for(var r=arguments.length,o=new Array(r),s=0;s=1&&o<=4}},{key:"set",value:function(r,o,s){return r.setUTCMonth(3*(s-1),1),r.setUTCHours(0,0,0,0),r}}]),e}(fi),gde=function(t){Jn(e,t);var n=ei(e);function e(){var i;$n(this,e);for(var r=arguments.length,o=new Array(r),s=0;s=0&&o<=11}},{key:"set",value:function(r,o,s){return r.setUTCMonth(s,1),r.setUTCHours(0,0,0,0),r}}]),e}(fi),_de=function(t){Jn(e,t);var n=ei(e);function e(){var i;$n(this,e);for(var r=arguments.length,o=new Array(r),s=0;s=0&&o<=11}},{key:"set",value:function(r,o,s){return r.setUTCMonth(s,1),r.setUTCHours(0,0,0,0),r}}]),e}(fi);function vde(t,n){var e,i,r,o,s,a,l,c;Et(1,arguments);var p=Fc(),m=Ui(null!==(e=null!==(i=null!==(r=null!==(o=n?.firstWeekContainsDate)&&void 0!==o?o:null==n||null===(s=n.locale)||void 0===s||null===(a=s.options)||void 0===a?void 0:a.firstWeekContainsDate)&&void 0!==r?r:p.firstWeekContainsDate)&&void 0!==i?i:null===(l=p.locale)||void 0===l||null===(c=l.options)||void 0===c?void 0:c.firstWeekContainsDate)&&void 0!==e?e:1),_=zk(t,n),C=new Date(0);C.setUTCFullYear(_,0,m),C.setUTCHours(0,0,0,0);var k=Qu(C,n);return k}function x5(t,n){Et(1,arguments);var e=Gt(t),i=Qu(e,n).getTime()-vde(e,n).getTime();return Math.round(i/6048e5)+1}var wde=function(t){Jn(e,t);var n=ei(e);function e(){var i;$n(this,e);for(var r=arguments.length,o=new Array(r),s=0;s=1&&o<=53}},{key:"set",value:function(r,o,s,a){return Qu(function yde(t,n,e){Et(2,arguments);var i=Gt(t),r=Ui(n),o=x5(i,e)-r;return i.setUTCDate(i.getUTCDate()-7*o),i}(r,s,a),a)}}]),e}(fi);function k5(t){Et(1,arguments);var n=Gt(t),e=n.getUTCFullYear(),i=new Date(0);i.setUTCFullYear(e+1,0,4),i.setUTCHours(0,0,0,0);var r=$h(i),o=new Date(0);o.setUTCFullYear(e,0,4),o.setUTCHours(0,0,0,0);var s=$h(o);return n.getTime()>=r.getTime()?e+1:n.getTime()>=s.getTime()?e:e-1}function Cde(t){Et(1,arguments);var n=k5(t),e=new Date(0);e.setUTCFullYear(n,0,4),e.setUTCHours(0,0,0,0);var i=$h(e);return i}function D5(t){Et(1,arguments);var n=Gt(t),e=$h(n).getTime()-Cde(n).getTime();return Math.round(e/6048e5)+1}var kde=function(t){Jn(e,t);var n=ei(e);function e(){var i;$n(this,e);for(var r=arguments.length,o=new Array(r),s=0;s=1&&o<=53}},{key:"set",value:function(r,o,s){return $h(function xde(t,n){Et(2,arguments);var e=Gt(t),i=Ui(n),r=D5(e)-i;return e.setUTCDate(e.getUTCDate()-7*r),e}(r,s))}}]),e}(fi),Dde=[31,28,31,30,31,30,31,31,30,31,30,31],Mde=[31,29,31,30,31,30,31,31,30,31,30,31],Tde=function(t){Jn(e,t);var n=ei(e);function e(){var i;$n(this,e);for(var r=arguments.length,o=new Array(r),s=0;s=1&&o<=Mde[l]:o>=1&&o<=Dde[l]}},{key:"set",value:function(r,o,s){return r.setUTCDate(s),r.setUTCHours(0,0,0,0),r}}]),e}(fi),Ede=function(t){Jn(e,t);var n=ei(e);function e(){var i;$n(this,e);for(var r=arguments.length,o=new Array(r),s=0;s=1&&o<=366:o>=1&&o<=365}},{key:"set",value:function(r,o,s){return r.setUTCMonth(0,s),r.setUTCHours(0,0,0,0),r}}]),e}(fi);function Wk(t,n,e){var i,r,o,s,a,l,c,p;Et(2,arguments);var m=Fc(),_=Ui(null!==(i=null!==(r=null!==(o=null!==(s=e?.weekStartsOn)&&void 0!==s?s:null==e||null===(a=e.locale)||void 0===a||null===(l=a.options)||void 0===l?void 0:l.weekStartsOn)&&void 0!==o?o:m.weekStartsOn)&&void 0!==r?r:null===(c=m.locale)||void 0===c||null===(p=c.options)||void 0===p?void 0:p.weekStartsOn)&&void 0!==i?i:0);if(!(_>=0&&_<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var C=Gt(t),k=Ui(n),A=C.getUTCDay(),P=k%7,N=(P+7)%7,$=(N<_?7:0)+k-A;return C.setUTCDate(C.getUTCDate()+$),C}var Ade=function(t){Jn(e,t);var n=ei(e);function e(){var i;$n(this,e);for(var r=arguments.length,o=new Array(r),s=0;s=0&&o<=6}},{key:"set",value:function(r,o,s,a){return(r=Wk(r,s,a)).setUTCHours(0,0,0,0),r}}]),e}(fi),Ode=function(t){Jn(e,t);var n=ei(e);function e(){var i;$n(this,e);for(var r=arguments.length,o=new Array(r),s=0;s=0&&o<=6}},{key:"set",value:function(r,o,s,a){return(r=Wk(r,s,a)).setUTCHours(0,0,0,0),r}}]),e}(fi),Ide=function(t){Jn(e,t);var n=ei(e);function e(){var i;$n(this,e);for(var r=arguments.length,o=new Array(r),s=0;s=0&&o<=6}},{key:"set",value:function(r,o,s,a){return(r=Wk(r,s,a)).setUTCHours(0,0,0,0),r}}]),e}(fi),Rde=function(t){Jn(e,t);var n=ei(e);function e(){var i;$n(this,e);for(var r=arguments.length,o=new Array(r),s=0;s=1&&o<=7}},{key:"set",value:function(r,o,s){return r=function Pde(t,n){Et(2,arguments);var e=Ui(n);e%7==0&&(e-=7);var i=1,r=Gt(t),o=r.getUTCDay(),l=((e%7+7)%7=1&&o<=12}},{key:"set",value:function(r,o,s){var a=r.getUTCHours()>=12;return r.setUTCHours(a&&s<12?s+12:a||12!==s?s:0,0,0,0),r}}]),e}(fi),Vde=function(t){Jn(e,t);var n=ei(e);function e(){var i;$n(this,e);for(var r=arguments.length,o=new Array(r),s=0;s=0&&o<=23}},{key:"set",value:function(r,o,s){return r.setUTCHours(s,0,0,0),r}}]),e}(fi),Hde=function(t){Jn(e,t);var n=ei(e);function e(){var i;$n(this,e);for(var r=arguments.length,o=new Array(r),s=0;s=0&&o<=11}},{key:"set",value:function(r,o,s){var a=r.getUTCHours()>=12;return r.setUTCHours(a&&s<12?s+12:s,0,0,0),r}}]),e}(fi),zde=function(t){Jn(e,t);var n=ei(e);function e(){var i;$n(this,e);for(var r=arguments.length,o=new Array(r),s=0;s=1&&o<=24}},{key:"set",value:function(r,o,s){return r.setUTCHours(s<=24?s%24:s,0,0,0),r}}]),e}(fi),Wde=function(t){Jn(e,t);var n=ei(e);function e(){var i;$n(this,e);for(var r=arguments.length,o=new Array(r),s=0;s=0&&o<=59}},{key:"set",value:function(r,o,s){return r.setUTCMinutes(s,0,0),r}}]),e}(fi),jde=function(t){Jn(e,t);var n=ei(e);function e(){var i;$n(this,e);for(var r=arguments.length,o=new Array(r),s=0;s=0&&o<=59}},{key:"set",value:function(r,o,s){return r.setUTCSeconds(s,0),r}}]),e}(fi),Ude=function(t){Jn(e,t);var n=ei(e);function e(){var i;$n(this,e);for(var r=arguments.length,o=new Array(r),s=0;s2)return n;if(/:/.test(e[0])?i=e[0]:(n.date=e[0],i=e[1],Iy.timeZoneDelimiter.test(n.date)&&(n.date=t.split(Iy.timeZoneDelimiter)[0],i=t.substr(n.date.length,t.length))),i){var r=Iy.timezone.exec(i);r?(n.time=i.replace(r[1],""),n.timezone=r[1]):n.time=i}return n}function che(t,n){var e=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+n)+"})|(\\d{2}|[+-]\\d{"+(2+n)+"})$)"),i=t.match(e);if(!i)return{year:NaN,restDateString:""};var r=i[1]?parseInt(i[1]):null,o=i[2]?parseInt(i[2]):null;return{year:null===o?r:100*o,restDateString:t.slice((i[1]||i[2]).length)}}function uhe(t,n){if(null===n)return new Date(NaN);var e=t.match(ohe);if(!e)return new Date(NaN);var i=!!e[4],r=$m(e[1]),o=$m(e[2])-1,s=$m(e[3]),a=$m(e[4]),l=$m(e[5])-1;if(i)return function _he(t,n,e){return n>=1&&n<=53&&e>=0&&e<=6}(0,a,l)?function fhe(t,n,e){var i=new Date(0);i.setUTCFullYear(t,0,4);var o=7*(n-1)+e+1-(i.getUTCDay()||7);return i.setUTCDate(i.getUTCDate()+o),i}(n,a,l):new Date(NaN);var c=new Date(0);return function mhe(t,n,e){return n>=0&&n<=11&&e>=1&&e<=(phe[n]||(M5(t)?29:28))}(n,o,s)&&function ghe(t,n){return n>=1&&n<=(M5(t)?366:365)}(n,r)?(c.setUTCFullYear(n,o,Math.max(r,s)),c):new Date(NaN)}function $m(t){return t?parseInt(t):1}function dhe(t){var n=t.match(she);if(!n)return NaN;var e=jk(n[1]),i=jk(n[2]),r=jk(n[3]);return function vhe(t,n,e){return 24===t?0===n&&0===e:e>=0&&e<60&&n>=0&&n<60&&t>=0&&t<25}(e,i,r)?e*Ay+i*Ey+1e3*r:NaN}function jk(t){return t&&parseFloat(t.replace(",","."))||0}function hhe(t){if("Z"===t)return 0;var n=t.match(ahe);if(!n)return 0;var e="+"===n[1]?-1:1,i=parseInt(n[2]),r=n[3]&&parseInt(n[3])||0;return function bhe(t,n){return n>=0&&n<=59}(0,r)?e*(i*Ay+r*Ey):NaN}var phe=[31,null,31,30,31,30,31,31,30,31,30,31];function M5(t){return t%400==0||t%4==0&&t%100!=0}function yhe(t){return Et(1,arguments),t instanceof Date||"object"===zl(t)&&"[object Date]"===Object.prototype.toString.call(t)}function T5(t){if(Et(1,arguments),!yhe(t)&&"number"!=typeof t)return!1;var n=Gt(t);return!isNaN(Number(n))}function Si(t,n){for(var e=t<0?"-":"",i=Math.abs(t).toString();i.length0?i:1-i;return Si("yy"===e?r%100:r,e.length)},Nc_M=function(n,e){var i=n.getUTCMonth();return"M"===e?String(i+1):Si(i+1,2)},Nc_d=function(n,e){return Si(n.getUTCDate(),e.length)},Nc_h=function(n,e){return Si(n.getUTCHours()%12||12,e.length)},Nc_H=function(n,e){return Si(n.getUTCHours(),e.length)},Nc_m=function(n,e){return Si(n.getUTCMinutes(),e.length)},Nc_s=function(n,e){return Si(n.getUTCSeconds(),e.length)},Nc_S=function(n,e){var i=e.length,r=n.getUTCMilliseconds();return Si(Math.floor(r*Math.pow(10,i-3)),e.length)};var xhe={G:function(n,e,i){var r=n.getUTCFullYear()>0?1:0;switch(e){case"G":case"GG":case"GGG":return i.era(r,{width:"abbreviated"});case"GGGGG":return i.era(r,{width:"narrow"});default:return i.era(r,{width:"wide"})}},y:function(n,e,i){if("yo"===e){var r=n.getUTCFullYear();return i.ordinalNumber(r>0?r:1-r,{unit:"year"})}return Nc_y(n,e)},Y:function(n,e,i,r){var o=zk(n,r),s=o>0?o:1-o;return"YY"===e?Si(s%100,2):"Yo"===e?i.ordinalNumber(s,{unit:"year"}):Si(s,e.length)},R:function(n,e){return Si(k5(n),e.length)},u:function(n,e){return Si(n.getUTCFullYear(),e.length)},Q:function(n,e,i){var r=Math.ceil((n.getUTCMonth()+1)/3);switch(e){case"Q":return String(r);case"QQ":return Si(r,2);case"Qo":return i.ordinalNumber(r,{unit:"quarter"});case"QQQ":return i.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return i.quarter(r,{width:"narrow",context:"formatting"});default:return i.quarter(r,{width:"wide",context:"formatting"})}},q:function(n,e,i){var r=Math.ceil((n.getUTCMonth()+1)/3);switch(e){case"q":return String(r);case"qq":return Si(r,2);case"qo":return i.ordinalNumber(r,{unit:"quarter"});case"qqq":return i.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return i.quarter(r,{width:"narrow",context:"standalone"});default:return i.quarter(r,{width:"wide",context:"standalone"})}},M:function(n,e,i){var r=n.getUTCMonth();switch(e){case"M":case"MM":return Nc_M(n,e);case"Mo":return i.ordinalNumber(r+1,{unit:"month"});case"MMM":return i.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return i.month(r,{width:"narrow",context:"formatting"});default:return i.month(r,{width:"wide",context:"formatting"})}},L:function(n,e,i){var r=n.getUTCMonth();switch(e){case"L":return String(r+1);case"LL":return Si(r+1,2);case"Lo":return i.ordinalNumber(r+1,{unit:"month"});case"LLL":return i.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return i.month(r,{width:"narrow",context:"standalone"});default:return i.month(r,{width:"wide",context:"standalone"})}},w:function(n,e,i,r){var o=x5(n,r);return"wo"===e?i.ordinalNumber(o,{unit:"week"}):Si(o,e.length)},I:function(n,e,i){var r=D5(n);return"Io"===e?i.ordinalNumber(r,{unit:"week"}):Si(r,e.length)},d:function(n,e,i){return"do"===e?i.ordinalNumber(n.getUTCDate(),{unit:"date"}):Nc_d(n,e)},D:function(n,e,i){var r=function Che(t){Et(1,arguments);var n=Gt(t),e=n.getTime();n.setUTCMonth(0,1),n.setUTCHours(0,0,0,0);var i=n.getTime();return Math.floor((e-i)/864e5)+1}(n);return"Do"===e?i.ordinalNumber(r,{unit:"dayOfYear"}):Si(r,e.length)},E:function(n,e,i){var r=n.getUTCDay();switch(e){case"E":case"EE":case"EEE":return i.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return i.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return i.day(r,{width:"short",context:"formatting"});default:return i.day(r,{width:"wide",context:"formatting"})}},e:function(n,e,i,r){var o=n.getUTCDay(),s=(o-r.weekStartsOn+8)%7||7;switch(e){case"e":return String(s);case"ee":return Si(s,2);case"eo":return i.ordinalNumber(s,{unit:"day"});case"eee":return i.day(o,{width:"abbreviated",context:"formatting"});case"eeeee":return i.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return i.day(o,{width:"short",context:"formatting"});default:return i.day(o,{width:"wide",context:"formatting"})}},c:function(n,e,i,r){var o=n.getUTCDay(),s=(o-r.weekStartsOn+8)%7||7;switch(e){case"c":return String(s);case"cc":return Si(s,e.length);case"co":return i.ordinalNumber(s,{unit:"day"});case"ccc":return i.day(o,{width:"abbreviated",context:"standalone"});case"ccccc":return i.day(o,{width:"narrow",context:"standalone"});case"cccccc":return i.day(o,{width:"short",context:"standalone"});default:return i.day(o,{width:"wide",context:"standalone"})}},i:function(n,e,i){var r=n.getUTCDay(),o=0===r?7:r;switch(e){case"i":return String(o);case"ii":return Si(o,e.length);case"io":return i.ordinalNumber(o,{unit:"day"});case"iii":return i.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return i.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return i.day(r,{width:"short",context:"formatting"});default:return i.day(r,{width:"wide",context:"formatting"})}},a:function(n,e,i){var o=n.getUTCHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return i.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"aaa":return i.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return i.dayPeriod(o,{width:"narrow",context:"formatting"});default:return i.dayPeriod(o,{width:"wide",context:"formatting"})}},b:function(n,e,i){var o,r=n.getUTCHours();switch(o=12===r?"noon":0===r?"midnight":r/12>=1?"pm":"am",e){case"b":case"bb":return i.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"bbb":return i.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return i.dayPeriod(o,{width:"narrow",context:"formatting"});default:return i.dayPeriod(o,{width:"wide",context:"formatting"})}},B:function(n,e,i){var o,r=n.getUTCHours();switch(o=r>=17?"evening":r>=12?"afternoon":r>=4?"morning":"night",e){case"B":case"BB":case"BBB":return i.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"BBBBB":return i.dayPeriod(o,{width:"narrow",context:"formatting"});default:return i.dayPeriod(o,{width:"wide",context:"formatting"})}},h:function(n,e,i){if("ho"===e){var r=n.getUTCHours()%12;return 0===r&&(r=12),i.ordinalNumber(r,{unit:"hour"})}return Nc_h(n,e)},H:function(n,e,i){return"Ho"===e?i.ordinalNumber(n.getUTCHours(),{unit:"hour"}):Nc_H(n,e)},K:function(n,e,i){var r=n.getUTCHours()%12;return"Ko"===e?i.ordinalNumber(r,{unit:"hour"}):Si(r,e.length)},k:function(n,e,i){var r=n.getUTCHours();return 0===r&&(r=24),"ko"===e?i.ordinalNumber(r,{unit:"hour"}):Si(r,e.length)},m:function(n,e,i){return"mo"===e?i.ordinalNumber(n.getUTCMinutes(),{unit:"minute"}):Nc_m(n,e)},s:function(n,e,i){return"so"===e?i.ordinalNumber(n.getUTCSeconds(),{unit:"second"}):Nc_s(n,e)},S:function(n,e){return Nc_S(n,e)},X:function(n,e,i,r){var s=(r._originalDate||n).getTimezoneOffset();if(0===s)return"Z";switch(e){case"X":return A5(s);case"XXXX":case"XX":return Xu(s);default:return Xu(s,":")}},x:function(n,e,i,r){var s=(r._originalDate||n).getTimezoneOffset();switch(e){case"x":return A5(s);case"xxxx":case"xx":return Xu(s);default:return Xu(s,":")}},O:function(n,e,i,r){var s=(r._originalDate||n).getTimezoneOffset();switch(e){case"O":case"OO":case"OOO":return"GMT"+E5(s,":");default:return"GMT"+Xu(s,":")}},z:function(n,e,i,r){var s=(r._originalDate||n).getTimezoneOffset();switch(e){case"z":case"zz":case"zzz":return"GMT"+E5(s,":");default:return"GMT"+Xu(s,":")}},t:function(n,e,i,r){return Si(Math.floor((r._originalDate||n).getTime()/1e3),e.length)},T:function(n,e,i,r){return Si((r._originalDate||n).getTime(),e.length)}};function E5(t,n){var e=t>0?"-":"+",i=Math.abs(t),r=Math.floor(i/60),o=i%60;if(0===o)return e+String(r);var s=n||"";return e+String(r)+s+Si(o,2)}function A5(t,n){return t%60==0?(t>0?"-":"+")+Si(Math.abs(t)/60,2):Xu(t,n)}function Xu(t,n){var e=n||"",i=t>0?"-":"+",r=Math.abs(t);return i+Si(Math.floor(r/60),2)+e+Si(r%60,2)}const khe=xhe;var Dhe=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Mhe=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,The=/^'([^]*?)'?$/,Ehe=/''/g,Ahe=/[a-zA-Z]/;function Ihe(t){var n=t.match(The);return n?n[1].replace(Ehe,"'"):t}function O5(t,n){Et(2,arguments);var e=Gt(t),i=Ui(n);return isNaN(i)?new Date(NaN):(i&&e.setDate(e.getDate()+i),e)}function Uk(t,n){Et(2,arguments);var e=Gt(t),i=Ui(n);if(isNaN(i))return new Date(NaN);if(!i)return e;var r=e.getDate(),o=new Date(e.getTime());o.setMonth(e.getMonth()+i+1,0);var s=o.getDate();return r>=s?o:(e.setFullYear(o.getFullYear(),o.getMonth(),r),e)}function Py(t,n){return Et(2,arguments),Gt(t).getTime()-Gt(n).getTime()}var I5={ceil:Math.ceil,round:Math.round,floor:Math.floor,trunc:function(n){return n<0?Math.ceil(n):Math.floor(n)}};function Gm(t){return t?I5[t]:I5.trunc}function $k(t){Et(1,arguments);var n=Gt(t);return n.setHours(0,0,0,0),n}function Ghe(t,n){Et(2,arguments);var e=$k(t),i=$k(n),r=e.getTime()-Dy(e),o=i.getTime()-Dy(i);return Math.round((r-o)/864e5)}function P5(t,n){var e=t.getFullYear()-n.getFullYear()||t.getMonth()-n.getMonth()||t.getDate()-n.getDate()||t.getHours()-n.getHours()||t.getMinutes()-n.getMinutes()||t.getSeconds()-n.getSeconds()||t.getMilliseconds()-n.getMilliseconds();return e<0?-1:e>0?1:e}function R5(t,n){Et(2,arguments);var e=Gt(t),i=Gt(n),r=P5(e,i),o=Math.abs(Ghe(e,i));e.setDate(e.getDate()-r*o);var s=Number(P5(e,i)===-r),a=r*(o-s);return 0===a?0:a}function Yhe(t,n){Et(2,arguments);var e=Gt(t),i=Gt(n),r=e.getFullYear()-i.getFullYear(),o=e.getMonth()-i.getMonth();return 12*r+o}function qm(t,n){Et(2,arguments);var e=Gt(t),i=Gt(n),r=e.getTime()-i.getTime();return r<0?-1:r>0?1:r}function F5(t){Et(1,arguments);var n=Gt(t);return n.setHours(23,59,59,999),n}function N5(t){Et(1,arguments);var n=Gt(t),e=n.getMonth();return n.setFullYear(n.getFullYear(),e+1,0),n.setHours(23,59,59,999),n}function Khe(t){Et(1,arguments);var n=Gt(t);return F5(n).getTime()===N5(n).getTime()}function L5(t,n){Et(2,arguments);var s,e=Gt(t),i=Gt(n),r=qm(e,i),o=Math.abs(Yhe(e,i));if(o<1)s=0;else{1===e.getMonth()&&e.getDate()>27&&e.setDate(30),e.setMonth(e.getMonth()-r*o);var a=qm(e,i)===-r;Khe(Gt(t))&&1===o&&1===qm(t,i)&&(a=!1),s=r*(o-Number(a))}return 0===s?0:s}function Qhe(t,n){Et(2,arguments);var e=Gt(t),i=Gt(n);return e.getFullYear()-i.getFullYear()}function B5(t,n){var e,i,r,o,s,a,l,c;Et(1,arguments);var p=Fc(),m=Ui(null!==(e=null!==(i=null!==(r=null!==(o=n?.weekStartsOn)&&void 0!==o?o:null==n||null===(s=n.locale)||void 0===s||null===(a=s.options)||void 0===a?void 0:a.weekStartsOn)&&void 0!==r?r:p.weekStartsOn)&&void 0!==i?i:null===(l=p.locale)||void 0===l||null===(c=l.options)||void 0===c?void 0:c.weekStartsOn)&&void 0!==e?e:0);if(!(m>=0&&m<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var _=Gt(t),C=_.getDay(),k=(C"u")return null;const e=typeof t;return"number"===e||t instanceof Date?t=Gt(t):"string"===e&&(t="string"==typeof n?function nhe(t,n,e,i){var r,o,s,a,l,c,p,m,_,C,k,A,P,N,$,U,X,se;Et(3,arguments);var ve=String(t),De=String(n),He=Fc(),We=null!==(r=null!==(o=i?.locale)&&void 0!==o?o:He.locale)&&void 0!==r?r:u5;if(!We.match)throw new RangeError("locale must contain match property");var Ft=Ui(null!==(s=null!==(a=null!==(l=null!==(c=i?.firstWeekContainsDate)&&void 0!==c?c:null==i||null===(p=i.locale)||void 0===p||null===(m=p.options)||void 0===m?void 0:m.firstWeekContainsDate)&&void 0!==l?l:He.firstWeekContainsDate)&&void 0!==a?a:null===(_=He.locale)||void 0===_||null===(C=_.options)||void 0===C?void 0:C.firstWeekContainsDate)&&void 0!==s?s:1);if(!(Ft>=1&&Ft<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var an=Ui(null!==(k=null!==(A=null!==(P=null!==(N=i?.weekStartsOn)&&void 0!==N?N:null==i||null===($=i.locale)||void 0===$||null===(U=$.options)||void 0===U?void 0:U.weekStartsOn)&&void 0!==P?P:He.weekStartsOn)&&void 0!==A?A:null===(X=He.locale)||void 0===X||null===(se=X.options)||void 0===se?void 0:se.weekStartsOn)&&void 0!==k?k:0);if(!(an>=0&&an<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(""===De)return""===ve?Gt(e):new Date(NaN);var je,qt={firstWeekContainsDate:Ft,weekStartsOn:an,locale:We},Nn=[new nde],Ni=De.match(Qde).map(function(Bi){var Pn=Bi[0];return Pn in Bk?(0,Bk[Pn])(Bi,We.formatLong):Bi}).join("").match(Zde),pt=[],Re=c5(Ni);try{var At=function(){var Pn=je.value;!(null!=i&&i.useAdditionalWeekYearTokens)&&m5(Pn)&&My(Pn,De,t),(null==i||!i.useAdditionalDayOfYearTokens)&&p5(Pn)&&My(Pn,De,t);var oo=Pn[0],Vc=Kde[oo];if(Vc){var QB=Vc.incompatibleTokens;if(Array.isArray(QB)){var XB=pt.find(function(JB){return QB.includes(JB.token)||JB.token===oo});if(XB)throw new RangeError("The format string mustn't contain `".concat(XB.fullToken,"` and `").concat(Pn,"` at the same time"))}else if("*"===Vc.incompatibleTokens&&pt.length>0)throw new RangeError("The format string mustn't contain `".concat(Pn,"` and any other token at the same time"));pt.push({token:oo,fullToken:Pn});var dD=Vc.run(ve,Pn,We.match,qt);if(!dD)return{v:new Date(NaN)};Nn.push(dD.setter),ve=dD.rest}else{if(oo.match(the))throw new RangeError("Format string contains an unescaped latin alphabet character `"+oo+"`");if("''"===Pn?Pn="'":"'"===oo&&(Pn=ihe(Pn)),0!==ve.indexOf(Pn))return{v:new Date(NaN)};ve=ve.slice(Pn.length)}};for(Re.s();!(je=Re.n()).done;){var En=At();if("object"===zl(En))return En.v}}catch(Bi){Re.e(Bi)}finally{Re.f()}if(ve.length>0&&ehe.test(ve))return new Date(NaN);var Ti=Nn.map(function(Bi){return Bi.priority}).sort(function(Bi,Pn){return Pn-Bi}).filter(function(Bi,Pn,oo){return oo.indexOf(Bi)===Pn}).map(function(Bi){return Nn.filter(function(Pn){return Pn.priority===Bi}).sort(function(Pn,oo){return oo.subPriority-Pn.subPriority})}).map(function(Bi){return Bi[0]}),zr=Gt(e);if(isNaN(zr.getTime()))return new Date(NaN);var jl,Li=d5(zr,Dy(zr)),ro={},oi=c5(Ti);try{for(oi.s();!(jl=oi.n()).done;){var Bc=jl.value;if(!Bc.validate(Li,qt))return new Date(NaN);var kr=Bc.set(Li,ro,qt);Array.isArray(kr)?(Li=kr[0],Gue(ro,kr[1])):Li=kr}}catch(Bi){oi.e(Bi)}finally{oi.f()}return Li}(t,n,new Date,this.options):function rhe(t,n){var e;Et(1,arguments);var i=Ui(null!==(e=n?.additionalDigits)&&void 0!==e?e:2);if(2!==i&&1!==i&&0!==i)throw new RangeError("additionalDigits must be 0, 1 or 2");if("string"!=typeof t&&"[object String]"!==Object.prototype.toString.call(t))return new Date(NaN);var o,r=lhe(t);if(r.date){var s=che(r.date,i);o=uhe(s.restDateString,s.year)}if(!o||isNaN(o.getTime()))return new Date(NaN);var c,a=o.getTime(),l=0;if(r.time&&(l=dhe(r.time),isNaN(l)))return new Date(NaN);if(!r.timezone){var p=new Date(a+l),m=new Date(0);return m.setFullYear(p.getUTCFullYear(),p.getUTCMonth(),p.getUTCDate()),m.setHours(p.getUTCHours(),p.getUTCMinutes(),p.getUTCSeconds(),p.getUTCMilliseconds()),m}return c=hhe(r.timezone),isNaN(c)?new Date(NaN):new Date(a+l+c)}(t,this.options)),T5(t)?t.getTime():null},format:function(t,n){return function Ohe(t,n,e){var i,r,o,s,a,l,c,p,m,_,C,k,A,P,N,$,U,X;Et(2,arguments);var se=String(n),ve=Fc(),De=null!==(i=null!==(r=e?.locale)&&void 0!==r?r:ve.locale)&&void 0!==i?i:u5,He=Ui(null!==(o=null!==(s=null!==(a=null!==(l=e?.firstWeekContainsDate)&&void 0!==l?l:null==e||null===(c=e.locale)||void 0===c||null===(p=c.options)||void 0===p?void 0:p.firstWeekContainsDate)&&void 0!==a?a:ve.firstWeekContainsDate)&&void 0!==s?s:null===(m=ve.locale)||void 0===m||null===(_=m.options)||void 0===_?void 0:_.firstWeekContainsDate)&&void 0!==o?o:1);if(!(He>=1&&He<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var We=Ui(null!==(C=null!==(k=null!==(A=null!==(P=e?.weekStartsOn)&&void 0!==P?P:null==e||null===(N=e.locale)||void 0===N||null===($=N.options)||void 0===$?void 0:$.weekStartsOn)&&void 0!==A?A:ve.weekStartsOn)&&void 0!==k?k:null===(U=ve.locale)||void 0===U||null===(X=U.options)||void 0===X?void 0:X.weekStartsOn)&&void 0!==C?C:0);if(!(We>=0&&We<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!De.localize)throw new RangeError("locale must contain localize property");if(!De.formatLong)throw new RangeError("locale must contain formatLong property");var Ft=Gt(t);if(!T5(Ft))throw new RangeError("Invalid time value");var an=Dy(Ft),qt=d5(Ft,an),Nn={firstWeekContainsDate:He,weekStartsOn:We,locale:De,_originalDate:Ft};return se.match(Mhe).map(function(pt){var Re=pt[0];return"p"===Re||"P"===Re?(0,Bk[Re])(pt,De.formatLong):pt}).join("").match(Dhe).map(function(pt){if("''"===pt)return"'";var Re=pt[0];if("'"===Re)return Ihe(pt);var je=khe[Re];if(je)return!(null!=e&&e.useAdditionalWeekYearTokens)&&m5(pt)&&My(pt,n,String(t)),!(null!=e&&e.useAdditionalDayOfYearTokens)&&p5(pt)&&My(pt,n,String(t)),je(qt,pt,De.localize,Nn);if(Re.match(Ahe))throw new RangeError("Format string contains an unescaped latin alphabet character `"+Re+"`");return pt}).join("")}(t,n,this.options)},add:function(t,n,e){switch(e){case"millisecond":return Um(t,n);case"second":return function Phe(t,n){Et(2,arguments);var e=Ui(n);return Um(t,1e3*e)}(t,n);case"minute":return function Fhe(t,n){Et(2,arguments);var e=Ui(n);return Um(t,6e4*e)}(t,n);case"hour":return function Lhe(t,n){Et(2,arguments);var e=Ui(n);return Um(t,36e5*e)}(t,n);case"day":return O5(t,n);case"week":return function Bhe(t,n){Et(2,arguments);var e=Ui(n);return O5(t,7*e)}(t,n);case"month":return Uk(t,n);case"quarter":return function Vhe(t,n){Et(2,arguments);var e=Ui(n);return Uk(t,3*e)}(t,n);case"year":return function Hhe(t,n){Et(2,arguments);var e=Ui(n);return Uk(t,12*e)}(t,n);default:return t}},diff:function(t,n,e){switch(e){case"millisecond":return Py(t,n);case"second":return function Whe(t,n,e){Et(2,arguments);var i=Py(t,n)/1e3;return Gm(e?.roundingMethod)(i)}(t,n);case"minute":return function jhe(t,n,e){Et(2,arguments);var i=Py(t,n)/Ey;return Gm(e?.roundingMethod)(i)}(t,n);case"hour":return function Uhe(t,n,e){Et(2,arguments);var i=Py(t,n)/Ay;return Gm(e?.roundingMethod)(i)}(t,n);case"day":return R5(t,n);case"week":return function qhe(t,n,e){Et(2,arguments);var i=R5(t,n)/7;return Gm(e?.roundingMethod)(i)}(t,n);case"month":return L5(t,n);case"quarter":return function Zhe(t,n,e){Et(2,arguments);var i=L5(t,n)/3;return Gm(e?.roundingMethod)(i)}(t,n);case"year":return function Xhe(t,n){Et(2,arguments);var e=Gt(t),i=Gt(n),r=qm(e,i),o=Math.abs(Qhe(e,i));e.setFullYear(1584),i.setFullYear(1584);var s=qm(e,i)===-r,a=r*(o-Number(s));return 0===a?0:a}(t,n);default:return 0}},startOf:function(t,n,e){switch(n){case"second":return function Jhe(t){Et(1,arguments);var n=Gt(t);return n.setMilliseconds(0),n}(t);case"minute":return function efe(t){Et(1,arguments);var n=Gt(t);return n.setSeconds(0,0),n}(t);case"hour":return function tfe(t){Et(1,arguments);var n=Gt(t);return n.setMinutes(0,0,0),n}(t);case"day":return $k(t);case"week":return B5(t);case"isoWeek":return B5(t,{weekStartsOn:+e});case"month":return function nfe(t){Et(1,arguments);var n=Gt(t);return n.setDate(1),n.setHours(0,0,0,0),n}(t);case"quarter":return function ife(t){Et(1,arguments);var n=Gt(t),e=n.getMonth();return n.setMonth(e-e%3,1),n.setHours(0,0,0,0),n}(t);case"year":return function rfe(t){Et(1,arguments);var n=Gt(t),e=new Date(0);return e.setFullYear(n.getFullYear(),0,1),e.setHours(0,0,0,0),e}(t);default:return t}},endOf:function(t,n){switch(n){case"second":return function ofe(t){Et(1,arguments);var n=Gt(t);return n.setMilliseconds(999),n}(t);case"minute":return function sfe(t){Et(1,arguments);var n=Gt(t);return n.setSeconds(59,999),n}(t);case"hour":return function afe(t){Et(1,arguments);var n=Gt(t);return n.setMinutes(59,59,999),n}(t);case"day":return F5(t);case"week":return function lfe(t,n){var e,i,r,o,s,a,l,c;Et(1,arguments);var p=Fc(),m=Ui(null!==(e=null!==(i=null!==(r=null!==(o=n?.weekStartsOn)&&void 0!==o?o:null==n||null===(s=n.locale)||void 0===s||null===(a=s.options)||void 0===a?void 0:a.weekStartsOn)&&void 0!==r?r:p.weekStartsOn)&&void 0!==i?i:null===(l=p.locale)||void 0===l||null===(c=l.options)||void 0===c?void 0:c.weekStartsOn)&&void 0!==e?e:0);if(!(m>=0&&m<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var _=Gt(t),C=_.getDay(),k=6+(C{class t extends _o{constructor(e){super(),this.dataSetService=e,this.chart=null,this.chartDataMin=[],this.chartDataAvg=[],this.chartDataMax=[],this.dataSetSub=null,this.defaultConfig={displayName:"Display Label",filterSelfPaths:!0,convertUnitTo:"unitless",dataSetUUID:null,invertData:!1,displayMinMax:!1,includeZero:!0,minValue:null,maxValue:null,verticalGraph:!1}}ngOnInit(){this.textColor=window.getComputedStyle(this.lineGraph.nativeElement).color,this.chartCtx=this.lineGraph.nativeElement.getContext("2d"),this.startChart(),this.subscribeDataSet()}startChart(){null!==this.chart&&this.chart.destroy();let e=[{label:`${this.widgetProperties.config.displayName}-Avg.`,data:this.chartDataAvg,fill:"false",borderColor:this.textColor}];this.widgetProperties.config.displayMinMax&&e.push({label:`${this.widgetProperties.config.displayName}-Min`,data:this.chartDataMin,fill:"+1",borderColor:this.textColor,borderDash:[10,10]},{label:`${this.widgetProperties.config.displayName}-Max`,data:this.chartDataMax,fill:"-1",borderColor:this.textColor,borderDash:[5,5]});let i=this.widgetProperties.config.verticalGraph?"y":"x",r=this.widgetProperties.config.verticalGraph?"x":"y";this.chart=new jh(this.chartCtx,{type:"line",data:{datasets:e},options:{maintainAspectRatio:!1,indexAxis:this.widgetProperties.config.verticalGraph?"y":"x",parsing:{xAxisKey:i,yAxisKey:r},scales:{[r]:{position:this.widgetProperties.config.verticalGraph?"top":"right",...null!==this.widgetProperties.config.minValue&&{suggestedMin:this.widgetProperties.config.minValue},...null!==this.widgetProperties.config.maxValue&&{suggestedMax:this.widgetProperties.config.maxValue},...this.widgetProperties.config.includeZero&&{beginAtZero:!0},ticks:{color:this.textColor,autoSkip:!0,autoSkipPadding:40}},[i]:{position:this.widgetProperties.config.verticalGraph?"right":"bottom",type:"time",time:{minUnit:"second",round:"second"},ticks:{color:this.textColor,callback:function o(s,a,l){let c=l[a].value,p=Date.now(),m=Math.floor((p-c)/1e3);if(m<60)return m.toString()+" sec ago";if(m<3600){let C=m%60;return Math.floor(m/60).toString()+":"+C.toString().padStart(2,"0")+" min ago"}return m<86400?Math.floor(m/3600).toString()+" hour ago":Math.floor(m/86400).toString()+" day ago"},autoSkip:!0,autoSkipPadding:40}}},plugins:{legend:{labels:{color:this.textColor}}}}})}subscribeDataSet(){this.unsubscribeDataSet(),null!==this.widgetProperties.config.dataSetUUID&&(this.dataSetSub=this.dataSetService.subscribeDataSet(this.widgetProperties.uuid,this.widgetProperties.config.dataSetUUID).subscribe(e=>{if(null===e)return;let i=1;this.widgetProperties.config.invertData&&(i=-1),this.chartDataAvg=[];for(let o=0;oo.reduce((s,a)=>s+a,0)/o.length;this.chart.data.datasets[0].label=this.widgetProperties.config.displayName+" ["+r(this.chartDataAvg.map(o=>o.y)).toFixed(2)+"]",this.widgetProperties.config.displayMinMax&&(this.chart.data.datasets[1].label=this.widgetProperties.config.displayName+" ["+r(this.chartDataMin.map(o=>o.y)).toFixed(2)+"]",this.chart.data.datasets[2].label=this.widgetProperties.config.displayName+" ["+r(this.chartDataMax.map(o=>o.y)).toFixed(2)+"]"),this.chart.update("none")}))}unsubscribeDataSet(){null!==this.dataSetSub&&(this.dataSetSub.unsubscribe(),this.dataSetSub=null)}ngOnDestroy(){this.unsubscribeDataSet()}}return t.\u0275fac=function(e){return new(e||t)(D(vm))},t.\u0275cmp=Pe({type:t,selectors:[["app-widget-historical"]],viewQuery:function(e,i){if(1&e&&Oe(hfe,7,xe),2&e){let r;ue(r=de())&&(i.lineGraph=r.first)}},features:[we],decls:4,vars:0,consts:[[1,"mainWrapper"],[1,"chart-container"],["id","chart"],["lineGraph",""]],template:function(e,i){1&e&&(v(0,"div",0)(1,"div",1),Y(2,"canvas",2,3),b()())},styles:[".mainWrapper[_ngcontent-%COMP%]{position:relative;width:100%;height:100%}.chart-container[_ngcontent-%COMP%]{position:relative;margin:auto;height:100%;width:100%}"]}),t})();const pfe=["compassAnimate"],mfe=["appWindAnimate"],gfe=["trueWindAnimate"],_fe=["appWindValueAnimate"],vfe=["trueWindValueAnimate"];function bfe(t,n){1&t&&(_r(),v(0,"g",136)(1,"g",137),Y(2,"path",138)(3,"path",139)(4,"path",140)(5,"path",141)(6,"path",142)(7,"path",143)(8,"path",144)(9,"path",145)(10,"path",146),b(),Y(11,"path",147)(12,"path",148)(13,"path",149)(14,"path",150)(15,"path",151)(16,"path",152)(17,"path",153),b())}function yfe(t,n){1&t&&(_r(),Y(0,"path",157)),2&t&&Je("d",re(2).portWindSectorPath)}function wfe(t,n){1&t&&(_r(),Y(0,"path",158)),2&t&&Je("d",re(2).stbdWindSectorPath)}function Cfe(t,n){if(1&t&&(_r(),v(0,"g",154),G(1,yfe,1,1,"path",155),G(2,wfe,1,1,"path",156),b()),2&t){const e=re();I(1),R("ngIf","none"!=e.portWindSectorPath),I(1),R("ngIf","none"!=e.stbdWindSectorPath)}}function Sfe(t,n){1&t&&(_r(),Y(0,"path",162)),2&t&&Je("d",re(2).laylinePortPath)}function xfe(t,n){1&t&&(_r(),Y(0,"path",163)),2&t&&Je("d",re(2).laylineStbdPath)}function kfe(t,n){if(1&t&&(_r(),v(0,"g",159),G(1,Sfe,1,1,"path",160),G(2,xfe,1,1,"path",161),b()),2&t){const e=re();I(1),R("ngIf",null!=e.trueWindAngle),I(1),R("ngIf",null!=e.trueWindAngle)}}const Ry=([t,n],[e,i],[r,o])=>(Math.atan2(o-i,r-e)-Math.atan2(n-i,t-e)+3*Math.PI)%(2*Math.PI)-Math.PI;let Dfe=(()=>{class t{constructor(){this.headingValue="--",this.appWindSpeedDisplay="--",this.trueWindSpeedDisplay="--",this.trueWindHeading=0,this.laylinePortPath="M 231,231 231,90",this.laylineStbdPath="M 231,231 231,90",this.portWindSectorPath="none",this.stbdWindSectorPath="none",this.appWind={oldDegreeIndicator:"0",newDegreeIndicator:"0",animationElement:void 0},this.appWindValue={oldDegreeIndicator:"0",newDegreeIndicator:"0",animationElement:void 0},this.trueWind={oldDegreeIndicator:"0",newDegreeIndicator:"0",animationElement:void 0},this.trueWindValue={oldDegreeIndicator:"0",newDegreeIndicator:"0",animationElement:void 0},this.compassFaceplate={oldDegreeIndicator:"0",newDegreeIndicator:"0",animationElement:void 0}}ngAfterViewInit(){this.compassFaceplate.animationElement=this.compassAnimate,this.appWind.animationElement=this.appWindAnimate,this.appWindValue.animationElement=this.appWindValueAnimate,this.trueWind.animationElement=this.trueWindAnimate,this.trueWindValue.animationElement=this.trueWindValueAnimate}ngOnChanges(e){if(e.compassHeading&&(e.compassHeading.firstChange||(this.compassFaceplate.oldDegreeIndicator=this.compassFaceplate.newDegreeIndicator,this.compassFaceplate.newDegreeIndicator=e.compassHeading.currentValue.toFixed(0),this.headingValue=this.compassFaceplate.newDegreeIndicator,this.smoothCircularRotation(this.compassFaceplate),this.updateLaylines(),this.updateWindSectors())),e.appWindAngle&&!e.appWindAngle.firstChange){this.appWind.oldDegreeIndicator=this.appWind.newDegreeIndicator,this.appWindValue.oldDegreeIndicator=this.appWindValue.newDegreeIndicator,this.appWind.newDegreeIndicator=e.appWindAngle.currentValue.toFixed(0);let i=-1*Number(e.appWindAngle.currentValue);this.appWindValue.newDegreeIndicator=i.toFixed(0),this.smoothCircularRotation(this.appWind,this.appWindValue)}if(e.appWindSpeed&&(e.appWindSpeed.firstChange||(this.appWindSpeedDisplay=e.appWindSpeed.currentValue.toFixed(1))),e.trueWindAngle&&!e.trueWindAngle.firstChange){this.trueWind.oldDegreeIndicator=this.trueWind.newDegreeIndicator,this.trueWindValue.oldDegreeIndicator=this.trueWindValue.newDegreeIndicator,this.trueWindHeading=e.trueWindAngle.currentValue,this.trueWind.newDegreeIndicator=this.addHeading(this.trueWindHeading,-1*Number(this.compassFaceplate.newDegreeIndicator)).toFixed(0);let i=-1*Number(this.trueWind.newDegreeIndicator);this.trueWindValue.newDegreeIndicator=i.toFixed(0),this.smoothCircularRotation(this.trueWind,this.trueWindValue),this.updateLaylines()}e.trueWindSpeed&&(e.trueWindSpeed.firstChange||(this.trueWindSpeedDisplay=e.trueWindSpeed.currentValue.toFixed(1))),(e.trueWindMinHistoric&&!e.trueWindMinHistoric.firstChange||e.trueWindMaxHistoric&&!e.trueWindMaxHistoric.firstChange)&&isNaN(Number(this.trueWindMinHistoric))&&isNaN(Number(this.trueWindMaxHistoric))&&this.updateWindSectors()}updateLaylines(){let e=this.addHeading(Number(this.trueWind.newDegreeIndicator),-1*this.laylineAngle),i=160*Math.sin(e*Math.PI/180)+231,r=160*Math.cos(e*Math.PI/180)*-1+231;this.laylinePortPath="M 231,231 "+i+","+r;let o=this.addHeading(Number(this.trueWind.newDegreeIndicator),this.laylineAngle),s=160*Math.sin(o*Math.PI/180)+231,a=160*Math.cos(o*Math.PI/180)*-1+231;this.laylineStbdPath="M 231,231 "+s+","+a}updateWindSectors(){let e=this.addHeading(this.addHeading(this.trueWindMinHistoric,-1*Number(this.compassFaceplate.newDegreeIndicator)),-1*this.laylineAngle),i=this.addHeading(this.addHeading(this.trueWindMidHistoric,-1*Number(this.compassFaceplate.newDegreeIndicator)),-1*this.laylineAngle),r=this.addHeading(this.addHeading(this.trueWindMaxHistoric,-1*Number(this.compassFaceplate.newDegreeIndicator)),-1*this.laylineAngle),o=160*Math.sin(e*Math.PI/180)+231,s=160*Math.cos(e*Math.PI/180)*-1+231,a=160*Math.sin(i*Math.PI/180)+231,l=160*Math.cos(i*Math.PI/180)*-1+231,c=160*Math.sin(r*Math.PI/180)+231,p=160*Math.cos(r*Math.PI/180)*-1+231,m=Math.abs(Ry([o,s],[a,l],[c,p]))>Math.PI/2?0:1,_=Ry([c,p],[o,s],[a,l])>0?0:1;this.portWindSectorPath="M 231,231 L "+o+","+s+" A 160,160 0 "+m+" "+_+" "+c+","+p+" z";let C=this.addHeading(this.addHeading(this.trueWindMinHistoric,-1*Number(this.compassFaceplate.newDegreeIndicator)),this.laylineAngle),k=this.addHeading(this.addHeading(this.trueWindMidHistoric,-1*Number(this.compassFaceplate.newDegreeIndicator)),this.laylineAngle),A=this.addHeading(this.addHeading(this.trueWindMaxHistoric,-1*Number(this.compassFaceplate.newDegreeIndicator)),this.laylineAngle),P=160*Math.sin(C*Math.PI/180)+231,N=160*Math.cos(C*Math.PI/180)*-1+231,$=160*Math.sin(k*Math.PI/180)+231,U=160*Math.cos(k*Math.PI/180)*-1+231,X=160*Math.sin(A*Math.PI/180)+231,se=160*Math.cos(A*Math.PI/180)*-1+231,ve=Math.abs(Ry([P,N],[$,U],[X,se]))>Math.PI/2?0:1,De=Ry([X,se],[P,N],[$,U])>0?0:1;this.stbdWindSectorPath="M 231,231 L "+P+","+N+" A 160,160 0 "+ve+" "+De+" "+X+","+se+" z"}addHeading(e=0,i=0){let r=e+i;for(;r>359;)r-=359;for(;r<0;)r+=359;return r}smoothCircularRotation(e,i){const r=Number(e.oldDegreeIndicator),o=Number(e.newDegreeIndicator),s=r-o;e.animationElement&&0!=s&&(Math.abs(s)>180?1==Math.sign(s)?359==r?(e.oldDegreeIndicator="0",e.animationElement.nativeElement.beginElement(),void 0!==i&&(i.oldDegreeIndicator="0",i.animationElement.nativeElement.beginElement())):(e.newDegreeIndicator="359",e.animationElement.nativeElement.beginElement(),void 0!==i&&(i.newDegreeIndicator="359",i.animationElement.nativeElement.beginElement()),e.oldDegreeIndicator="0",e.newDegreeIndicator=o.toFixed(0),e.animationElement.nativeElement.beginElement(),void 0!==i&&(i.oldDegreeIndicator=e.oldDegreeIndicator,i.newDegreeIndicator="0",i.animationElement.nativeElement.beginElement())):0==r?(e.oldDegreeIndicator="359",e.animationElement.nativeElement.beginElement(),void 0!==i&&(i.oldDegreeIndicator="359",i.animationElement.nativeElement.beginElement())):(e.newDegreeIndicator="0",e.animationElement.nativeElement.beginElement(),void 0!==i&&(i.newDegreeIndicator="0",i.animationElement.nativeElement.beginElement()),e.oldDegreeIndicator="359",e.newDegreeIndicator=o.toFixed(0),e.animationElement.nativeElement.beginElement(),void 0!==i&&(i.oldDegreeIndicator="359",i.newDegreeIndicator=o.toFixed(0),i.animationElement.nativeElement.beginElement())):(e.animationElement.nativeElement.beginElement(),void 0!==i&&i.animationElement.nativeElement.beginElement()))}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Pe({type:t,selectors:[["app-svg-wind"]],viewQuery:function(e,i){if(1&e&&(Oe(pfe,7,xe),Oe(mfe,7,xe),Oe(gfe,7,xe),Oe(_fe,7,xe),Oe(vfe,7,xe)),2&e){let r;ue(r=de())&&(i.compassAnimate=r.first),ue(r=de())&&(i.appWindAnimate=r.first),ue(r=de())&&(i.trueWindAnimate=r.first),ue(r=de())&&(i.appWindValueAnimate=r.first),ue(r=de())&&(i.trueWindValueAnimate=r.first)}},inputs:{compassHeading:"compassHeading",trueWindAngle:"trueWindAngle",trueWindSpeed:"trueWindSpeed",appWindAngle:"appWindAngle",appWindSpeed:"appWindSpeed",laylineAngle:"laylineAngle",laylineEnable:"laylineEnable",sailSetupEnable:"sailSetupEnable",windSectorEnable:"windSectorEnable",trueWindMinHistoric:"trueWindMinHistoric",trueWindMidHistoric:"trueWindMidHistoric",trueWindMaxHistoric:"trueWindMaxHistoric"},features:[Tn],decls:161,vars:16,consts:[["width","100%","height","100%","viewBox","0 0 462 462","version","1.1","id","svg8",0,"xmlns","xlink","http://www.w3.org/1999/xlink","xmlns","http://www.w3.org/2000/svg",0,"xmlns","svg","http://www.w3.org/2000/svg",0,"xmlns","rdf","http://www.w3.org/1999/02/22-rdf-syntax-ns#",0,"xmlns","cc","http://creativecommons.org/ns#"],["id","defs2"],["id","linearGradient14212"],["offset","0","id","stop14208",1,"boatBackground",2,"stop-opacity","1"],["offset","1","id","stop14210",1,"boatBackground",2,"stop-opacity","0"],["id","linearGradient7154"],["offset","0","id","stop7150",2,"stop-color","#ff0000","stop-opacity","1"],["offset","0.39871383","id","stop7152",1,"boatBackground",2,"stop-opacity","0.56470591"],["id","linearGradient1133"],["offset","0","id","stop1129",2,"stop-color","#48b438","stop-opacity","1"],["offset","0.39871383","id","stop1131",1,"boatBackground",2,"stop-opacity","0.56603771"],[0,"xlink","href","#linearGradient1133","id","linearGradient1135","x1","472.6088","y1","531.48444","x2","472.49197","y2","879.10449","gradientUnits","userSpaceOnUse","spreadMethod","pad","gradientTransform","matrix(-1,0,0,1,703.32731,-474.28644)"],[0,"xlink","href","#linearGradient7154","id","linearGradient7156","x1","-472.64746","y1","531.50549","x2","-472.46103","y2","879.07489","gradientUnits","userSpaceOnUse","gradientTransform","translate(703.32731,-474.28644)"],[0,"xlink","href","#linearGradient14212","id","linearGradient14214","x1","250.36952","y1","296.6875","x2","252.56253","y2","512.70984","gradientUnits","userSpaceOnUse"],[0,"xlink","href","#linearGradient14212","id","linearGradient20477","gradientUnits","userSpaceOnUse","x1","250.84233","y1","382.58936","x2","249.67986","y2","510.65265","gradientTransform","matrix(1.0960272,0,0,0.99845438,-43.954738,-169.73034)",1,"boatBackground"],[0,"xlink","href","#linearGradient14212","id","linearGradient24749","gradientUnits","userSpaceOnUse","gradientTransform","matrix(-1.0960272,0,0,0.99845438,505.95474,-169.73034)","x1","250.84233","y1","382.58936","x2","249.67986","y2","510.65265"],["id","layer1","transform","matrix(0.1248082,0,0,0.11220779,-23.713913,416.39261)","style","display:inline",4,"ngIf"],["id","layerBackground",2,"display","inline"],["id","portStarboardDial","transform","matrix(1.2528928,0,0,1.2528928,-58.41824,-58.418234)",2,"display","inline"],["id","dial",2,"display","inline"],["d","M 230.84956,397.3848 A 165.94029,166.38596 0 0 1 65.282663,231.0632 165.94029,166.38596 0 0 1 230.72204,64.614075","id","Port",2,"display","inline","fill","none","fill-opacity","0","stroke","url(#linearGradient7156)","stroke-width","14.8205","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["d","M 230.68031,397.38592 A 165.94029,166.38596 0 0 0 374.4654,314.23407 165.94029,166.38596 0 0 0 374.48627,147.80217 165.94029,166.38596 0 0 0 230.72204,64.614055","id","Starboard",2,"display","inline","opacity","1","fill","none","fill-opacity","1","stroke","url(#linearGradient1135)","stroke-width","14.8205","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["id","Markers",1,"compass-inner-ring",2,"display","inline"],["id","path7189","d","m 80.687566,144.4454 12.77685,7.39357",2,"fill","none","stroke-width","1.61443","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["d","m 144.00413,80.713346 7.37674,12.80605","id","path7191",2,"fill","none","stroke-width","1.61443","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["id","path7193","d","m 317.35705,80.343646 -7.37672,12.80611",2,"fill","none","stroke-width","1.61443","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["d","m 380.94363,143.80506 -12.77686,7.39366","id","path7195",2,"fill","none","stroke-width","1.61443","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["id","path7197","d","m 404.35295,230.63031 -14.75348,3e-5",2,"fill","none","stroke-width","1.61443","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["d","m 381.31248,317.55462 -12.77692,-7.3936","id","path7199",2,"fill","none","stroke-width","1.61443","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["id","path7201","d","m 317.99591,381.28669 -7.37678,-12.80612",2,"fill","none","stroke-width","1.61443","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["d","m 231.36885,404.74957 -3e-5,-14.78727","id","path7203",2,"fill","none","stroke-width","1.61443","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["id","path7205","d","m 144.64297,381.65636 7.37672,-12.80615",2,"fill","none","stroke-width","1.61443","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["d","m 81.056382,318.19494 12.776874,-7.39367","id","path7207",2,"fill","none","stroke-width","1.61443","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["id","path7209","d","m 57.647056,231.36969 14.753506,-6e-5",2,"fill","none","stroke-width","1.61443","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["d","m 230.63116,57.250436 6e-5,14.78725","id","path7211",2,"fill","none","stroke-width","1.61443","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["ry","1.4716377","rx","1.4684811","transform","matrix(0.98473974,0.17403345,-0.1732637,0.98487547,0,0)","cy","20.915556","cx","267.08746","id","path7213",2,"fill-opacity","1","stroke-width","1.61443","stroke-linecap","butt","stroke-linejoin","round","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["ry","1.4713458","rx","1.4687726","id","circle7219","cx","295.5636","cy","-28.405027","transform","matrix(0.93944096,0.3427108,-0.34133044,0.93994337,0,0)",2,"fill-opacity","1","stroke-width","1.61443","stroke-linecap","butt","stroke-linejoin","round","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["ry","1.4703517","rx","1.4697686","transform","matrix(0.7653205,0.64364938,-0.64192532,0.76676716,0,0)","cy","-137.90392","cx","325.09726","id","circle7221",2,"fill-opacity","1","stroke-width","1.61443","stroke-linecap","butt","stroke-linejoin","round","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["ry","1.4697686","rx","1.4703517","id","circle7223","cx","325.22626","cy","-194.73386","transform","matrix(0.64192538,0.76676711,-0.76532046,0.64364943,0,0)",2,"fill-opacity","1","stroke-width","1.61443","stroke-linecap","butt","stroke-linejoin","round","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["ry","1.4687726","rx","1.4713458","transform","matrix(0.34133049,0.93994335,-0.93944093,0.34271086,0,0)","cy","-304.00223","cx","296.08084","id","circle7225",2,"fill-opacity","1","stroke-width","1.61443","stroke-linecap","butt","stroke-linejoin","round","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["ry","1.4684812","rx","1.4716377","id","circle7227","cx","267.66086","cy","-353.1622","transform","matrix(0.1732637,0.98487547,-0.98473974,0.17403346,0,0)",2,"fill-opacity","1","stroke-width","1.61443","stroke-linecap","butt","stroke-linejoin","round","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["ry","1.4684812","rx","1.4716377","transform","matrix(-0.1732637,0.98487547,-0.98473974,-0.17403346,0,0)","cy","-433.23273","cx","187.41795","id","circle7229",2,"fill-opacity","1","stroke-width","1.61443","stroke-linecap","butt","stroke-linejoin","round","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["ry","1.4687726","rx","1.4713457","id","circle7231","cx","138.06422","cy","-461.74182","transform","matrix(-0.34133048,0.93994335,-0.93944094,-0.34271083,0,0)",2,"fill-opacity","1","stroke-width","1.61443","stroke-linecap","butt","stroke-linejoin","round","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["ry","1.4697688","rx","1.4703517","transform","matrix(-0.64192535,0.76676714,-0.7653205,-0.64364938,0,0)","cy","-491.38818","cx","28.452917","id","circle7233",2,"fill-opacity","1","stroke-width","1.61443","stroke-linecap","butt","stroke-linejoin","round","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["ry","1.4703517","rx","1.4697688","id","circle7235","cx","-28.442974","cy","-491.58316","transform","matrix(-0.7653205,0.64364938,-0.64192535,-0.76676714,0,0)",2,"fill-opacity","1","stroke-width","1.61443","stroke-linecap","butt","stroke-linejoin","round","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["ry","1.4713457","rx","1.4687726","transform","matrix(-0.93944094,0.34271083,-0.34133048,-0.93994335,0,0)","cy","-462.55035","cx","-137.82401","id","circle7237",2,"fill-opacity","1","stroke-width","1.61443","stroke-linecap","butt","stroke-linejoin","round","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["ry","1.4716377","rx","1.4684812","id","circle7239","cx","-187.01695","cy","-434.16339","transform","matrix(-0.98473974,0.17403346,-0.1732637,-0.98487547,0,0)",2,"fill-opacity","1","stroke-width","1.61443","stroke-linecap","butt","stroke-linejoin","round","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["ry","1.4716377","rx","1.4684812","transform","matrix(-0.98473974,-0.17403346,0.1732637,-0.98487547,0,0)","cy","-353.92023","cx","-267.08746","id","circle7241",2,"fill-opacity","1","stroke-width","1.61443","stroke-linecap","butt","stroke-linejoin","round","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["ry","1.4713457","rx","1.4687726","id","circle7243","cx","-295.56357","cy","-304.53366","transform","matrix(-0.93944094,-0.34271083,0.34133048,-0.93994335,0,0)",2,"fill-opacity","1","stroke-width","1.61443","stroke-linecap","butt","stroke-linejoin","round","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["ry","1.4703517","rx","1.4697688","transform","matrix(-0.7653205,-0.64364938,0.64192535,-0.76676714,0,0)","cy","-194.80986","cx","-325.09729","id","circle7245",2,"fill-opacity","1","stroke-width","1.61443","stroke-linecap","butt","stroke-linejoin","round","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["ry","1.4697688","rx","1.4703517","id","circle7247","cx","-325.22629","cy","-137.84785","transform","matrix(-0.64192535,-0.76676714,0.7653205,-0.64364938,0,0)",2,"fill-opacity","1","stroke-width","1.61443","stroke-linecap","butt","stroke-linejoin","round","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["ry","1.4687726","rx","1.4713457","transform","matrix(-0.34133048,-0.93994335,0.93944094,-0.34271083,0,0)","cy","-28.354155","cx","-296.08081","id","circle7249",2,"fill-opacity","1","stroke-width","1.61443","stroke-linecap","butt","stroke-linejoin","round","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["ry","1.4684812","rx","1.4716377","id","circle7251","cx","-267.66086","cy","20.871838","transform","matrix(-0.1732637,-0.98487547,0.98473974,-0.17403346,0,0)",2,"fill-opacity","1","stroke-width","1.61443","stroke-linecap","butt","stroke-linejoin","round","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["ry","1.4684812","rx","1.4716377","transform","matrix(0.1732637,-0.98487547,0.98473974,0.17403346,0,0)","cy","100.94239","cx","-187.41795","id","circle7253",2,"fill-opacity","1","stroke-width","1.61443","stroke-linecap","butt","stroke-linejoin","round","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["ry","1.4687726","rx","1.4713458","id","circle7255","cx","-138.06422","cy","129.38542","transform","matrix(0.34133049,-0.93994335,0.93944093,0.34271086,0,0)",2,"fill-opacity","1","stroke-width","1.61443","stroke-linecap","butt","stroke-linejoin","round","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["ry","1.4697686","rx","1.4703517","transform","matrix(0.64192538,-0.76676711,0.76532046,0.64364943,0,0)","cy","158.80649","cx","-28.452925","id","circle7257",2,"fill-opacity","1","stroke-width","1.61443","stroke-linecap","butt","stroke-linejoin","round","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["ry","1.4703517","rx","1.4697686","id","circle7259","cx","28.442968","cy","158.86946","transform","matrix(0.7653205,-0.64364938,0.64192532,0.76676716,0,0)",2,"fill-opacity","1","stroke-width","1.61443","stroke-linecap","butt","stroke-linejoin","round","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["ry","1.4713458","rx","1.4687726","transform","matrix(0.93944096,-0.3427108,0.34133044,0.93994337,0,0)","cy","129.61153","cx","137.82397","id","circle7261",2,"fill-opacity","1","stroke-width","1.61443","stroke-linecap","butt","stroke-linejoin","round","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["ry","1.4716377","rx","1.4684811","id","circle7263","cx","187.01694","cy","101.15855","transform","matrix(0.98473974,-0.17403345,0.1732637,0.98487547,0,0)",2,"fill-opacity","1","stroke-width","1.61443","stroke-linecap","butt","stroke-linejoin","round","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["ry","1.4716377","rx","1.4684811","transform","matrix(0.98473974,-0.17403345,0.1732637,0.98487547,0,0)","cy","101.15855","cx","187.01694","id","circle7265",2,"fill-opacity","1","stroke-width","1.61443","stroke-linecap","butt","stroke-linejoin","round","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["id","vessel"],["d","m 290.42597,338.16266 c 2.63751,1.24549 18.13789,-172.91133 -60.18622,-214.49975","id","rightSide",2,"display","inline","fill","none","fill-opacity","1","stroke","url(#linearGradient20477)","stroke-width","3.29218","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["d","m 171.57403,338.16266 c -2.63751,1.24549 -18.13789,-172.91133 60.18622,-214.49975","id","LeftSide",2,"display","inline","fill","none","fill-opacity","1","stroke","url(#linearGradient24749)","stroke-width","3.29218","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["id","layerCompassHeading",2,"display","inline"],["ry","180.0916","rx","180.39105","id","circle4732","cx","231","cy","231",1,"compass-inner-ring",2,"display","inline","fill","none","stroke-width","25.7045","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["d","m 263.57231,46.351529 -2.645,14.975662","id","use6608",1,"wind-text",2,"display","inline","fill-opacity","1","stroke-width","2.02924","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["d","m 295.14524,54.854852 -5.20963,14.289576","id","use6610",1,"wind-text",2,"display","inline","fill-opacity","1","stroke-width","2.02924","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["d","m 351.51519,87.473623 -9.79086,11.648999","id","use6614",1,"wind-text",2,"display","inline","fill-opacity","1","stroke-width","2.02924","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["d","m 374.59941,110.59797 -11.66832,9.77463","id","use6616",1,"wind-text",2,"display","inline","fill-opacity","1","stroke-width","2.02924","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["d","m 407.08076,166.9848 -14.31341,5.20098","id","use6620",1,"wind-text",2,"display","inline","fill-opacity","1","stroke-width","2.02924","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["d","m 415.4909,198.53405 -15.00058,2.64064","id","use6622",1,"wind-text",2,"display","inline","fill-opacity","1","stroke-width","2.02924","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["d","m 415.3802,263.58022 -15.00058,-2.64063","id","use6626",1,"wind-text",2,"display","inline","fill-opacity","1","stroke-width","2.02924","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["d","m 406.86273,295.10073 -14.31336,-5.201","id","use6628",1,"wind-text",2,"display","inline","fill-opacity","1","stroke-width","2.02924","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["d","m 374.82713,351.8892 -11.66835,-9.77469","id","use6632",1,"wind-text",2,"display","inline","fill-opacity","1","stroke-width","2.02924","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["d","m 351.6643,374.93512 -9.79091,-11.64903","id","use6634",1,"wind-text",2,"display","inline","fill-opacity","1","stroke-width","2.02924","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["d","m 295.18368,407.36246 -5.20963,-14.28959","id","use6638",1,"wind-text",2,"display","inline","fill-opacity","1","stroke-width","2.02924","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["d","m 263.582,415.7587 -2.64498,-14.97568","id","use6640",1,"wind-text",2,"display","inline","fill-opacity","1","stroke-width","2.02924","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["d","m 198.42768,415.64815 2.64502,-14.97563","id","use6644",1,"wind-text",2,"display","inline","fill-opacity","1","stroke-width","2.02924","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["d","m 166.85475,407.14491 5.20963,-14.28964","id","use6646",1,"wind-text",2,"display","inline","fill-opacity","1","stroke-width","2.02924","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["d","m 110.48482,374.52608 9.7909,-11.64895","id","use6650",1,"wind-text",2,"display","inline","fill-opacity","1","stroke-width","2.02924","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["d","m 87.400578,351.40175 11.668341,-9.77468","id","use6652",1,"wind-text",2,"display","inline","fill-opacity","1","stroke-width","2.02924","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["d","m 54.919243,295.01489 14.313345,-5.20101","id","use6656",1,"wind-text",2,"display","inline","fill-opacity","1","stroke-width","2.02924","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["d","m 46.509108,263.46566 15.000536,-2.64062","id","use6658",1,"wind-text",2,"display","inline","fill-opacity","1","stroke-width","2.02924","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["d","m 46.619797,198.41948 15.000536,2.64063","id","use6662",1,"wind-text",2,"display","inline","fill-opacity","1","stroke-width","2.02924","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["d","m 55.137227,166.89897 14.313356,5.20102","id","use6664",1,"wind-text",2,"display","inline","fill-opacity","1","stroke-width","2.02924","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["d","m 87.172904,110.11054 11.668332,9.77464","id","use6668",1,"wind-text",2,"display","inline","fill-opacity","1","stroke-width","2.02924","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["d","m 110.33569,87.064604 9.79094,11.648998","id","use6670",1,"wind-text",2,"display","inline","fill-opacity","1","stroke-width","2.02924","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["d","m 166.81632,54.63722 5.20964,14.289621","id","use6674",1,"wind-text",2,"display","inline","fill-opacity","1","stroke-width","2.02924","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["d","m 198.41802,46.241065 2.645,14.975629","id","use6676",1,"wind-text",2,"display","inline","fill-opacity","1","stroke-width","2.02924","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["transform","scale(1.0008192,0.99918148)","id","textNorth","y","59.938854","x","220.36444",0,"xml","space","preserve",1,"wind-text",2,"font-style","normal","font-variant","normal","font-weight","bold","font-stretch","normal","font-size","24.6764px","line-height","1.25","font-family","sans-serif","-inkscape-font-specification","sans-serif, Bold","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-variant-east-asian","normal","text-align","start","letter-spacing","0px","word-spacing","0px","writing-mode","lr-tb","text-anchor","start","fill-opacity","1","stroke","none","stroke-width","20.2921","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","0.854271"],["y","59.938854","x","220.36444","id","tspan4586",2,"font-style","normal","font-variant","normal","font-weight","bold","font-stretch","normal","font-size","24.6764px","font-family","sans-serif","-inkscape-font-specification","sans-serif, Bold","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-variant-east-asian","normal","text-align","start","writing-mode","lr-tb","text-anchor","start","stroke","none","stroke-width","20.2921","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","0.854271"],["transform","matrix(0.85624422,0.51732097,-0.51817793,0.85482117,0,0)",0,"xml","space","preserve","x","306.34256","y","-96.410698","id","use7031",1,"wind-text",2,"font-style","normal","font-variant","normal","font-weight","bold","font-stretch","normal","font-size","13.709px","line-height","1.25","font-family","Arial","-inkscape-font-specification","Arial, Bold","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-variant-east-asian","normal","text-align","start","letter-spacing","0px","word-spacing","0px","writing-mode","lr-tb","text-anchor","start","display","inline","fill-opacity","1","stroke","none","stroke-width","1.02642"],["y","-96.410698","x","306.34256","id","tspan7101",2,"font-style","normal","font-variant","normal","font-weight","bold","font-stretch","normal","font-size","13.709px","font-family","Arial","-inkscape-font-specification","Arial, Bold","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-variant-east-asian","normal","stroke-width","1.02642"],["transform","matrix(0.48244023,0.87542368,-0.87687739,0.48163639,0,0)",0,"xml","space","preserve","x","301.879","y","-266.04935","id","use7033",1,"wind-text",2,"font-style","normal","font-variant","normal","font-weight","bold","font-stretch","normal","font-size","13.709px","line-height","1.25","font-family","Arial","-inkscape-font-specification","Arial, Bold","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-variant-east-asian","normal","text-align","start","letter-spacing","0px","word-spacing","0px","writing-mode","lr-tb","text-anchor","start","display","inline","fill-opacity","1","stroke","none","stroke-width","1.02642"],["y","-266.04935","x","301.879","id","tspan7103",2,"font-style","normal","font-variant","normal","font-weight","bold","font-stretch","normal","font-size","13.709px","font-family","Arial","-inkscape-font-specification","Arial, Bold","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-variant-east-asian","normal","stroke-width","1.02642"],["transform","matrix(-0.02063317,0.99895735,-1.0006182,-0.0206025,0,0)",0,"xml","space","preserve","x","214.30859","y","-410.76288","id","use7035",1,"wind-text",2,"font-style","normal","font-variant","normal","font-weight","bold","font-stretch","normal","font-size","13.709px","line-height","1.25","font-family","Arial","-inkscape-font-specification","Arial, Bold","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-variant-east-asian","normal","text-align","start","letter-spacing","0px","word-spacing","0px","writing-mode","lr-tb","text-anchor","start","display","inline","fill-opacity","1","stroke","none","stroke-width","1.02642"],["y","-410.76288","x","214.30859","id","tspan7105",2,"font-style","normal","font-variant","normal","font-weight","bold","font-stretch","normal","font-size","13.709px","font-family","Arial","-inkscape-font-specification","Arial, Bold","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-variant-east-asian","normal","stroke-width","1.02642"],["transform","matrix(-0.51817793,0.85482117,-0.85624422,-0.51732097,0,0)",0,"xml","space","preserve","x","60.744469","y","-490.80396","id","use7037",1,"wind-text",2,"font-style","normal","font-variant","normal","font-weight","bold","font-stretch","normal","font-size","13.709px","line-height","1.25","font-family","Arial","-inkscape-font-specification","Arial, Bold","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-variant-east-asian","normal","text-align","start","letter-spacing","0px","word-spacing","0px","writing-mode","lr-tb","text-anchor","start","display","inline","fill-opacity","1","stroke","none","stroke-width","1.02642"],["y","-490.80396","x","60.744469","id","tspan7109",2,"font-style","normal","font-variant","normal","font-weight","bold","font-stretch","normal","font-size","13.709px","font-family","Arial","-inkscape-font-specification","Arial, Bold","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-variant-east-asian","normal","stroke-width","1.02642"],["transform","matrix(-0.87687739,0.48163639,-0.48244023,-0.87542368,0,0)",0,"xml","space","preserve","x","-109.23221","y","-488.53186","id","use7039",1,"wind-text",2,"font-style","normal","font-variant","normal","font-weight","bold","font-stretch","normal","font-size","13.709px","line-height","1.25","font-family","Arial","-inkscape-font-specification","Arial, Bold","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-variant-east-asian","normal","text-align","start","letter-spacing","0px","word-spacing","0px","writing-mode","lr-tb","text-anchor","start","display","inline","fill-opacity","1","stroke","none","stroke-width","1.02642"],["y","-488.53186","x","-109.23221","id","tspan7111",2,"font-style","normal","font-variant","normal","font-weight","bold","font-stretch","normal","font-size","13.709px","font-family","Arial","-inkscape-font-specification","Arial, Bold","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-variant-east-asian","normal","stroke-width","1.02642"],["transform","matrix(-1.0006182,-0.0206025,0.02063317,-0.99895735,0,0)",0,"xml","space","preserve","x","-250.87608","y","-401.37546","id","use7041",1,"wind-text",2,"font-style","normal","font-variant","normal","font-weight","bold","font-stretch","normal","font-size","13.709px","line-height","1.25","font-family","Arial","-inkscape-font-specification","Arial, Bold","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-variant-east-asian","normal","text-align","start","letter-spacing","0px","word-spacing","0px","writing-mode","lr-tb","text-anchor","start","display","inline","fill-opacity","1","stroke","none","stroke-width","1.02642"],["y","-401.37546","x","-250.87608","id","tspan7113",2,"font-style","normal","font-variant","normal","font-weight","bold","font-stretch","normal","font-size","13.709px","font-family","Arial","-inkscape-font-specification","Arial, Bold","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-variant-east-asian","normal","stroke-width","1.02642"],["transform","matrix(-0.85624422,-0.51732097,0.51817793,-0.85482117,0,0)",0,"xml","space","preserve","x","-332.97412","y","-254.26855","id","use7043",1,"wind-text",2,"font-style","normal","font-variant","normal","font-weight","bold","font-stretch","normal","font-size","13.709px","line-height","1.25","font-family","Arial","-inkscape-font-specification","Arial, Bold","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-variant-east-asian","normal","text-align","start","letter-spacing","0px","word-spacing","0px","writing-mode","lr-tb","text-anchor","start","display","inline","fill-opacity","1","stroke","none","stroke-width","1.02642"],["y","-254.26855","x","-332.97412","id","tspan7115",2,"font-style","normal","font-variant","normal","font-weight","bold","font-stretch","normal","font-size","13.709px","font-family","Arial","-inkscape-font-specification","Arial, Bold","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-variant-east-asian","normal","stroke-width","1.02642"],["transform","matrix(-0.48244023,-0.87542368,0.87687739,-0.48163639,0,0)",0,"xml","space","preserve","x","-328.56262","y","-84.81398","id","use7045",1,"wind-text",2,"font-style","normal","font-variant","normal","font-weight","bold","font-stretch","normal","font-size","13.709px","line-height","1.25","font-family","Arial","-inkscape-font-specification","Arial, Bold","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-variant-east-asian","normal","text-align","start","letter-spacing","0px","word-spacing","0px","writing-mode","lr-tb","text-anchor","start","display","inline","fill-opacity","1","stroke","none","stroke-width","1.02642"],["y","-84.81398","x","-328.56262","id","tspan7117",2,"font-style","normal","font-variant","normal","font-weight","bold","font-stretch","normal","font-size","13.709px","font-family","Arial","-inkscape-font-specification","Arial, Bold","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-variant-east-asian","normal","stroke-width","1.02642"],["transform","matrix(0.02063317,-0.99895735,1.0006182,0.0206025,0,0)",0,"xml","space","preserve","x","-243.82649","y","60.284389","id","use7047",1,"wind-text",2,"font-style","normal","font-variant","normal","font-weight","bold","font-stretch","normal","font-size","13.709px","line-height","1.25","font-family","Arial","-inkscape-font-specification","Arial, Bold","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-variant-east-asian","normal","text-align","start","letter-spacing","0px","word-spacing","0px","writing-mode","lr-tb","text-anchor","start","display","inline","fill-opacity","1","stroke","none","stroke-width","1.02642"],["y","60.284389","x","-243.82649","id","tspan7119",2,"font-style","normal","font-variant","normal","font-weight","bold","font-stretch","normal","font-size","13.709px","font-family","Arial","-inkscape-font-specification","Arial, Bold","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-variant-east-asian","normal","stroke-width","1.02642"],["transform","matrix(0.51817793,-0.85482117,0.85624422,0.51732097,0,0)",0,"xml","space","preserve","x","-94.569901","y","141.12741","id","use7049",1,"wind-text",2,"font-style","normal","font-variant","normal","font-weight","bold","font-stretch","normal","font-size","13.709px","line-height","1.25","font-family","Arial","-inkscape-font-specification","Arial, Bold","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-variant-east-asian","normal","text-align","start","letter-spacing","0px","word-spacing","0px","writing-mode","lr-tb","text-anchor","start","display","inline","fill-opacity","1","stroke","none","stroke-width","1.02642"],["y","141.12741","x","-94.569901","id","tspan7121",2,"font-style","normal","font-variant","normal","font-weight","bold","font-stretch","normal","font-size","13.709px","font-family","Arial","-inkscape-font-specification","Arial, Bold","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-variant-east-asian","normal","stroke-width","1.02642"],["transform","matrix(0.84497054,-0.53548077,0.5363647,0.84356435,0,0)",0,"xml","space","preserve","x","68.010208","y","143.99249","id","use7051",1,"wind-text",2,"font-style","normal","font-variant","normal","font-weight","bold","font-stretch","normal","font-size","13.709px","line-height","1.25","font-family","Arial","-inkscape-font-specification","Arial, Bold","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-variant-east-asian","normal","text-align","start","letter-spacing","0px","word-spacing","0px","writing-mode","lr-tb","text-anchor","start","display","inline","fill-opacity","1","stroke","none","stroke-width","1.02642"],["y","143.99249","x","68.010208","id","tspan7125",2,"font-style","normal","font-variant","normal","font-weight","bold","font-stretch","normal","font-size","13.709px","font-family","Arial","-inkscape-font-specification","Arial, Bold","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-variant-east-asian","normal","stroke-width","1.02642"],["attributeName","transform","type","rotate","begin","indefinite","dur","0.5s","additive","replace","fill","freeze"],["compassAnimate",""],["style","display:inline","id","layerLayline",4,"ngIf"],["id","LayerLayline","style","display:inline",4,"ngIf"],["id","layerWindAngle",2,"display","inline"],["x","0","y","0","width","33","height","83","viewBox","0 0 33 83","id","AppWindCoord",2,"overflow","visible"],["id","NeddleAWA","d","m 231,7.2483045 a 16.130346,16.130346 0 0 0 -16.13086,16.1308605 16.130346,16.130346 0 0 0 4.87109,11.494141 l 11.40039,54.181641 0.006,0.01367 11.27539,-54.357423 A 16.130346,16.130346 0 0 0 247.13086,23.379165 16.130346,16.130346 0 0 0 231,7.2483045 Z",1,"app-wind",2,"display","inline","fill-opacity","1","stroke","#000000","stroke-width","0.496609","stroke-dasharray","none","stroke-opacity","1"],[0,"xml","space","preserve","x","233","y","52.233677","id","LabelAWS",1,"wind-text",2,"font-style","normal","font-variant","normal","font-weight","bold","font-stretch","normal","font-size","13.3333px","font-family","Arial","-inkscape-font-specification","Arial, Bold","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-variant-east-asian","normal","text-anchor","middle","display","inline","fill-opacity","1","stroke","none","stroke-width","0","stroke-dasharray","none","stroke-opacity","1"],["viewBox","-231.5 -8 33 53","id","AWSCoord",2,"overflow","visible"],[0,"xml","space","preserve","alignment-baseline","middle","x","0","y","0","id","ValueAWS","transform","scale(1.0128481,0.98731488)",1,"wind-text",2,"font-style","normal","font-variant","normal","font-weight","bold","font-stretch","normal","font-size","15.3333px","font-family","Arial","-inkscape-font-specification","Arial, Bold","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-variant-east-asian","normal","text-anchor","middle","display","inline","fill-opacity","1","stroke-width","1.0135"],["appWindValueAnimate",""],["appWindAnimate",""],["x","0","y","0","width","33","height","53","viewBox","0 0 33 53","id","TrueWindCoord",2,"overflow","visible"],["id","NeddleTWA","d","m 231,7.25 a 16.122065,16.122065 0 0 0 -16.12109,16.121093 16.122065,16.122065 0 0 0 4.70117,11.322266 l 11.52148,24.009766 0.008,0.0059 11.41015,-24.115234 A 16.122065,16.122065 0 0 0 247.12109,23.371093 16.122065,16.122065 0 0 0 231,7.25 Z",1,"true-wind",2,"display","inline","fill-opacity","0.996078","stroke","#000000","stroke-width","0.5","stroke-dasharray","none","stroke-opacity","1"],[0,"xml","space","preserve","x","232.99219","y","52.227623","id","LabelTWS",1,"wind-text",2,"font-style","normal","font-variant","normal","font-weight","bold","font-stretch","normal","font-size","13.3333px","font-family","Arial","-inkscape-font-specification","Arial, Bold","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-variant-east-asian","normal","text-anchor","middle","display","inline","fill-opacity","1","stroke","none","stroke-width","0","stroke-dasharray","none","stroke-opacity","1"],["viewBox","-231.5 -24 33 53","id","TWSCoord",2,"overflow","visible"],[0,"xml","space","preserve","alignment-baseline","middle","x","0","y","0","id","ValueTWS",1,"wind-text",2,"font-style","normal","font-variant","normal","font-weight","bold","font-stretch","normal","font-size","15.3333px","font-family","Arial","-inkscape-font-specification","Arial, Bold","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-variant-east-asian","normal","text-anchor","middle","display","inline","fill-opacity","1","stroke","none","stroke-width","0","stroke-dasharray","none","stroke-opacity","1"],["trueWindValueAnimate",""],["trueWindAnimate",""],["id","LayerHeadingIndicator","transform","translate(4,8)",2,"display","inline"],["id","FaceplateHeading","width","67.073669","height","38.361046","x","194.46938","y","30.8176","d","m 225.64754,33.805625 1.6301,0.0048 c 17.39931,0.05072 31.39725,3.329857 31.38553,7.35232 l -0.0685,23.494107 c -0.0117,4.022464 -14.02856,7.21993 -31.42786,7.169208 l -1.63011,-0.0048 c -17.3993,-0.05072 -31.39725,-3.329857 -31.38552,-7.352321 l 0.0685,-23.494107 c 0.0117,-4.022463 14.02855,-7.219929 31.42786,-7.169207 z","ry","7.3267355","rx","32.688519","transform","matrix(1.002028,0,0,0.77009941,-0.86633959,3.237595)",1,"heading-background",2,"display","inline","opacity","1","fill-opacity","1","stroke-width","2.5","stroke-linecap","butt","stroke-linejoin","round","stroke-dasharray","none","stroke-opacity","1"],[0,"xml","space","preserve","x","226.14061","y","52.178043","id","ValueHeading",1,"wind-text",2,"font-style","normal","font-variant","normal","font-weight","bold","font-stretch","normal","font-size","24px","font-family","Arial","-inkscape-font-specification","Arial, Bold","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-variant-east-asian","normal","text-anchor","middle","display","inline"],["id","tspan349","x","226.14061","y","52.178043"],["id","layer1","transform","matrix(0.1248082,0,0,0.11220779,-23.713913,416.39261)",2,"display","inline"],["id","Boat","transform","matrix(2.4762966,0,0,2.4762966,312.32639,-480.88375)",1,"sailSetupBoat",2,"display","inline"],["d","m 117.80581,288.1415 -22.540223,29.3722 h -16.5349 l 0.25052,-26.32688 c -1.06637,-2.75393 -2.56049,-3.06484 -4.84601,-3.55125 z","id","path2110",2,"display","inline","fill","none","fill-rule","evenodd","stroke-width","3","stroke-linecap","butt","stroke-linejoin","miter","stroke-dasharray","none","stroke-opacity","1"],["d","m 8.9767971,282.82435 -4.95991,24.75841 h 7.7154099 l 7.16432,-23.7875","id","path2148",2,"display","inline","fill","none","fill-rule","evenodd","stroke-width","3","stroke-linecap","butt","stroke-linejoin","miter","stroke-dasharray","none","stroke-opacity","1"],["id","scafo_1_","d","m 195.42256,265.29369 c 0,0 -12.46584,10.53388 -18.18235,16.95385 -1.87779,2.10888 -8.08356,2.76316 -16.33955,3.62976 -32.36804,3.39759 -103.815953,4.14078 -157.1129429,-4.52397 3.49616,-2.32158 3.79424,-8.74891 5.51442,-13.35052 7.1e-4,0 131.6522929,-0.0975 186.1204229,-2.70912 z",2,"display","inline","fill","none","stroke-width","3","stroke-dasharray","none"],["d","m 23.541277,239.61115 h 94.045203 l 0.39645,2.12132 -94.545213,0.35355 z","id","path2154",2,"display","inline","fill","none","fill-rule","evenodd","stroke-width","3","stroke-linecap","butt","stroke-linejoin","miter","stroke-dasharray","none","stroke-opacity","1"],["d","m 102.35735,2.5312768 h 4.37983 c 8.9756,36.5347612 12.51565,95.9939792 14.23441,163.1344432 v 92.86113 h -2.73738 l 0.54748,-92.86113 C 116.16119,110.0212 115.191,52.56101 105.64222,4.5390852 Z","id","path2158",2,"display","inline","fill","none","fill-rule","evenodd","stroke-width","3","stroke-linecap","butt","stroke-linejoin","miter","stroke-dasharray","none","stroke-opacity","1"],["d","m 104.27966,267.15927 -0.22723,-7.83783 c 22.67574,-0.50375 30.37822,0.37193 37.04087,7.36281","id","path2116",2,"display","inline","fill","none","fill-rule","evenodd","stroke-width","3","stroke-linecap","butt","stroke-linejoin","miter","stroke-dasharray","none","stroke-opacity","1"],["d","m 1.0329568,282.20014 5.7927027,-15.82819 1.9208522,1.18337","id","path2104",2,"display","inline","fill","none","fill-rule","evenodd","stroke-width","2.13494","stroke-linecap","butt","stroke-linejoin","miter","stroke-dasharray","none","stroke-opacity","1"],["d","M 116.99965,68.100007 190.49965,265.1","id","path2160",2,"display","inline","fill","none","fill-rule","evenodd","stroke-width","3","stroke-linecap","butt","stroke-linejoin","miter","stroke-dasharray","none","stroke-opacity","1"],["d","M 8.8139634,266.87847 102.98152,3.5208385","id","path2208",2,"display","inline","fill","none","fill-rule","evenodd","stroke-width","3","stroke-linecap","butt","stroke-linejoin","miter","stroke-dasharray","none","stroke-opacity","1"],["d","m 268.56631,196.18971 -7.52466,-0.0957 -42.6992,68.72135 -26.43173,67.95776 -0.29576,0.48195 -0.11878,1.21163 -0.092,1.15201 76.51843,-0.0845 0.0422,-3.68441 0.0578,-2.60466 -0.0832,-3.58678 0.40814,-30.21044 0.43451,-38.16536 0.11267,-19.13053 0.008,-13.73528 -0.12432,-16.23422 z","id","Reef3","transform","matrix(1.5736253,0,0,1.5736253,181.67439,-417.86068)",1,"sailSetupReef3",2,"display","inline","fill-opacity","1","fill-rule","evenodd","stroke-width","2.34613","stroke-linecap","butt","stroke-linejoin","miter","stroke-dasharray","none","stroke-opacity","1"],["d","m 266.10811,139.30664 h -7.42901 l -42.69918,68.72134 -26.43173,67.95777 -14.01711,50.03862 -1.05129,5.07493 -0.70001,4.5951 94.06196,-0.0639 0.15835,-8.47316 0.0577,-2.44384 0.46668,-44.66571 0.42579,-41.29152 -0.2351,-38.16536 -0.74826,-19.13053 -0.75663,-13.54396 -0.6982,-16.61687 z","id","Reef2","transform","matrix(1.5736253,0,0,1.5736253,181.67439,-417.86068)",1,"sailSetupReef2",2,"display","inline","fill-opacity","1","fill-rule","evenodd","stroke-width","2.34613","stroke-linecap","butt","stroke-linejoin","miter","stroke-dasharray","none","stroke-opacity","1"],["d","m 261.10546,61.763841 h -6.78005 l -42.69918,68.721369 -26.43173,67.95776 -20.02404,74.06637 -14.96301,59.55366 -0.75384,3.65964 118.40312,-0.24747 0.3958,-35.2044 0.55482,-54.44997 0.036,-42.1476 -1.91047,-41.81069 -1.92241,-38.16537 -1.00784,-19.5199 -0.75663,-13.803549 -1.08758,-16.746654 z","id","Reef1","transform","matrix(1.5736253,0,0,1.5736253,181.67439,-417.86068)",1,"sailSetupReef1",2,"display","inline","fill-opacity","1","fill-rule","evenodd","stroke-width","2.34613","stroke-linecap","butt","stroke-linejoin","miter","stroke-dasharray","none","stroke-opacity","1"],["d","m 250.83842,-17.681808 h -6.40769 l -42.45096,68.72137 -26.43173,67.957768 -20.02404,74.06638 -17.62115,71.77563 -15.21827,71.01207 145.19283,-0.39575 0.95061,-116.19575 v -15.85565 l -3.08946,-66.73565 -2.85177,-52.536575 -3.08946,-39.284109 -2.37648,-20.588657 -1.9012,-14.6723772 -2.13885,-14.9090281 z","id","Main","transform","matrix(1.5736253,0,0,1.5736253,181.67439,-417.86068)",1,"sailSetupFull",2,"display","inline","fill-opacity","1","fill-rule","evenodd","stroke-width","2.34613","stroke-linecap","butt","stroke-linejoin","miter","stroke-dasharray","none","stroke-opacity","1"],["d","m 308.08151,183.27812 -13.93148,139.40275 65.92617,-1.08343","id","WorkingJib","transform","matrix(1.5736253,0,0,1.5736253,181.67439,-417.86068)",1,"sailSetupReef2",2,"display","inline","fill-opacity","1","fill-rule","evenodd","stroke","#000000","stroke-width","1.67085","stroke-linecap","butt","stroke-linejoin","miter","stroke-dasharray","none","stroke-opacity","1"],["d","m 291.85104,138.47323 -31.19542,207.55672 108.08107,-0.81342","id","Jib","transform","matrix(1.5736253,0,0,1.5736253,181.67439,-417.86068)",1,"sailSetupReef1",2,"display","inline","fill-opacity","1","fill-rule","evenodd","stroke","#000000","stroke-width","2.33332","stroke-linecap","butt","stroke-linejoin","miter","stroke-dasharray","none","stroke-opacity","1"],["d","m 272.14328,86.627245 -57.69332,284.259845 162.9035,-2.80365","id","Genoa","transform","matrix(1.5736253,0,0,1.5736253,181.67439,-417.86068)",1,"sailSetupFull",2,"display","inline","fill-opacity","1","fill-rule","evenodd","stroke","#000000","stroke-width","2.36044","stroke-linecap","butt","stroke-linejoin","miter","stroke-dasharray","none","stroke-opacity","1"],["id","layerLayline",2,"display","inline"],["id","portSectorShift","class","wind-sector-port","style","fill-opacity:0.3;stroke:none;stroke-width:1.90858;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:0.483517",4,"ngIf"],["id","StbdSectorShift","class","wind-sector-stbd","style","fill-opacity:0.3;stroke:none;stroke-width:1.90858;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:0.483517",4,"ngIf"],["id","portSectorShift",1,"wind-sector-port",2,"fill-opacity","0.3","stroke","none","stroke-width","1.90858","stroke-linecap","butt","stroke-linejoin","round","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","0.483517"],["id","StbdSectorShift",1,"wind-sector-stbd",2,"fill-opacity","0.3","stroke","none","stroke-width","1.90858","stroke-linecap","butt","stroke-linejoin","round","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","0.483517"],["id","LayerLayline",2,"display","inline"],["id","PortLayline","style","display:inline;fill:none;stroke-width:3.06951;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:7.16218;stroke-opacity:1","class","laylines",4,"ngIf"],["class","laylines","style","display:inline;fill:none;stroke-width:3.06951;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:7.16218;stroke-opacity:1","id","StbdLayline",4,"ngIf"],["id","PortLayline",1,"laylines",2,"display","inline","fill","none","stroke-width","3.06951","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","7.16218","stroke-opacity","1"],["id","StbdLayline",1,"laylines",2,"display","inline","fill","none","stroke-width","3.06951","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","7.16218","stroke-opacity","1"]],template:function(e,i){1&e&&(_r(),v(0,"svg",0)(1,"defs",1)(2,"linearGradient",2),Y(3,"stop",3)(4,"stop",4),b(),v(5,"linearGradient",5),Y(6,"stop",6)(7,"stop",7),b(),v(8,"linearGradient",8),Y(9,"stop",9)(10,"stop",10),b(),Y(11,"linearGradient",11)(12,"linearGradient",12)(13,"linearGradient",13)(14,"linearGradient",14)(15,"linearGradient",15),b(),G(16,bfe,18,0,"g",16),v(17,"g",17)(18,"g",18)(19,"g",19),Y(20,"path",20)(21,"path",21),b(),v(22,"g",22),Y(23,"path",23)(24,"path",24)(25,"path",25)(26,"path",26)(27,"path",27)(28,"path",28)(29,"path",29)(30,"path",30)(31,"path",31)(32,"path",32)(33,"path",33)(34,"path",34)(35,"ellipse",35)(36,"ellipse",36)(37,"ellipse",37)(38,"ellipse",38)(39,"ellipse",39)(40,"ellipse",40)(41,"ellipse",41)(42,"ellipse",42)(43,"ellipse",43)(44,"ellipse",44)(45,"ellipse",45)(46,"ellipse",46)(47,"ellipse",47)(48,"ellipse",48)(49,"ellipse",49)(50,"ellipse",50)(51,"ellipse",51)(52,"ellipse",52)(53,"ellipse",53)(54,"ellipse",54)(55,"ellipse",55)(56,"ellipse",56)(57,"ellipse",57)(58,"ellipse",58)(59,"ellipse",59),b()(),v(60,"g",60),Y(61,"path",61)(62,"path",62),b()(),v(63,"g",63),Y(64,"ellipse",64)(65,"path",65)(66,"path",66)(67,"path",67)(68,"path",68)(69,"path",69)(70,"path",70)(71,"path",71)(72,"path",72)(73,"path",73)(74,"path",74)(75,"path",75)(76,"path",76)(77,"path",77)(78,"path",78)(79,"path",79)(80,"path",80)(81,"path",81)(82,"path",82)(83,"path",83)(84,"path",84)(85,"path",85)(86,"path",86)(87,"path",87)(88,"path",88),v(89,"text",89)(90,"tspan",90),M(91,"N"),b()(),v(92,"text",91)(93,"tspan",92),M(94,"30"),b()(),v(95,"text",93)(96,"tspan",94),M(97,"60"),b()(),v(98,"text",95)(99,"tspan",96),M(100,"90"),b()(),v(101,"text",97)(102,"tspan",98),M(103,"120"),b()(),v(104,"text",99)(105,"tspan",100),M(106,"150"),b()(),v(107,"text",101)(108,"tspan",102),M(109,"180"),b()(),v(110,"text",103)(111,"tspan",104),M(112,"210"),b()(),v(113,"text",105)(114,"tspan",106),M(115,"240"),b()(),v(116,"text",107)(117,"tspan",108),M(118,"270"),b()(),v(119,"text",109)(120,"tspan",110),M(121,"300"),b()(),v(122,"text",111)(123,"tspan",112),M(124,"330"),b()(),Y(125,"animateTransform",113,114),b(),G(127,Cfe,3,2,"g",115),G(128,kfe,3,2,"g",116),v(129,"g",117)(130,"svg",118)(131,"g"),Y(132,"path",119),v(133,"text",120),M(134,"A "),b(),v(135,"svg",121)(136,"g")(137,"text",122),M(138),b(),Y(139,"animateTransform",113,123),b()(),Y(141,"animateTransform",113,124),b()(),v(143,"svg",125)(144,"g"),Y(145,"path",126),v(146,"text",127),M(147,"T "),b(),v(148,"svg",128)(149,"g")(150,"text",129),M(151),b(),Y(152,"animateTransform",113,130),b()(),Y(154,"animateTransform",113,131),b()()(),v(156,"g",132),Y(157,"path",133),v(158,"text",134)(159,"tspan",135),M(160),b()()()()),2&e&&(I(16),R("ngIf",i.sailSetupEnable),I(109),Je("from","-"+i.compassFaceplate.oldDegreeIndicator+" 231 231")("to","-"+i.compassFaceplate.newDegreeIndicator+" 231 231"),I(2),R("ngIf",i.windSectorEnable),I(1),R("ngIf",i.laylineEnable),I(10),vn(" ",i.appWindSpeedDisplay," "),I(1),Je("from",i.appWindValue.oldDegreeIndicator)("to",i.appWindValue.newDegreeIndicator),I(2),Je("from",i.appWind.oldDegreeIndicator+" 231 231")("to",i.appWind.newDegreeIndicator+" 231 231"),I(10),vn(" ",i.trueWindSpeedDisplay," "),I(1),Je("from",i.trueWindValue.oldDegreeIndicator)("to",i.trueWindValue.newDegreeIndicator),I(2),Je("from",i.trueWind.oldDegreeIndicator+" 231 231")("to",i.trueWind.newDegreeIndicator+" 231 231"),I(6),Qn(i.headingValue))},dependencies:[ui],encapsulation:2}),t})(),Mfe=(()=>{class t extends _o{constructor(e){super(),this.zones=e,this.currentHeading=0,this.appWindAngle=0,this.appWindSpeed=0,this.trueWindAngle=0,this.trueWindSpeed=0,this.trueWindHistoric=[],this.windSectorObservableSub=null,this.defaultConfig={filterSelfPaths:!0,paths:{headingPath:{description:"Heading",path:"self.navigation.headingTrue",source:"default",pathType:"number",isPathConfigurable:!0,convertUnitTo:"deg",sampleTime:500},trueWindAngle:{description:"True Wind Angle",path:"self.environment.wind.angleTrueWater",source:"default",pathType:"number",isPathConfigurable:!0,convertUnitTo:"deg",sampleTime:500},trueWindSpeed:{description:"True Wind Speed",path:"self.environment.wind.speedTrue",source:"default",pathType:"number",isPathConfigurable:!0,convertUnitTo:"knots",sampleTime:500},appWindAngle:{description:"Apparent Wind Angle",path:"self.environment.wind.angleApparent",source:"default",pathType:"number",isPathConfigurable:!0,convertUnitTo:"deg",sampleTime:500},appWindSpeed:{description:"Apparent Wind Speed",path:"self.environment.wind.speedApparent",source:"default",pathType:"number",isPathConfigurable:!0,convertUnitTo:"knots",sampleTime:500}},windSectorEnable:!0,windSectorWindowSeconds:10,laylineEnable:!0,laylineAngle:35,sailSetupEnable:!1}}ngOnInit(){this.observeDataStream("headingPath",e=>{null===e.value&&(this.currentHeading=0),this.currentHeading=e.value}),this.observeDataStream("appWindAngle",e=>{null===e.value&&(this.appWindAngle=0),this.appWindAngle=e.value<0?360+e.value:e.value}),this.observeDataStream("appWindSpeed",e=>{null===e&&(this.appWindSpeed=0),this.appWindSpeed=e.value}),this.observeDataStream("trueWindSpeed",e=>{null===e&&(this.trueWindSpeed=0),this.trueWindSpeed=e.value}),this.observeDataStream("trueWindAngle",e=>{null===e.value&&(this.trueWindAngle=0),this.trueWindAngle=this.widgetProperties.config.paths.trueWindAngle.path.match("angleTrueWater")||this.widgetProperties.config.paths.trueWindAngle.path.match("angleTrueGround")?this.addHeading(this.currentHeading,e.value):(this.widgetProperties.config.paths.trueWindAngle.path.match("direction"),e.value),this.widgetProperties.config.windSectorEnable&&this.addHistoricalTrue(this.trueWindAngle)}),this.startWindSectors()}ngOnDestroy(){this.unsubscribeDataStream(),this.stopWindSectors()}startWindSectors(){this.zones.runOutsideAngular(()=>{this.windSectorObservableSub=Kx(500).subscribe(e=>{this.historicalCleanup()})})}addHistoricalTrue(e){this.trueWindHistoric.push({timestamp:Date.now(),heading:e});let i=this.arcForAngles(this.trueWindHistoric.map(r=>r.heading));this.trueWindMinHistoric=i[0],this.trueWindMaxHistoric=i[1],this.trueWindMidHistoric=i[2]}arcForAngles(e){return e.slice(1).reduce((i,r)=>{let o=r;for(;oi[1]+180;)o-=360;return i[0]=Math.min(i[0],o),i[1]=Math.max(i[1],o),i[2]=(i[1]-i[0])/2+i[0],i},[e[0],e[0]])}historicalCleanup(){let e=Date.now()-1e3*this.widgetProperties.config.windSectorWindowSeconds;for(var i=this.trueWindHistoric.length-1;i>=0;--i)this.trueWindHistoric[i].timestamp359;)r-=359;for(;r<0;)r+=359;return r}}return t.\u0275fac=function(e){return new(e||t)(D(bt))},t.\u0275cmp=Pe({type:t,selectors:[["app-widget-wind"]],features:[we],decls:2,vars:12,consts:[[1,"windWrapper"],[3,"compassHeading","trueWindAngle","trueWindSpeed","appWindAngle","appWindSpeed","laylineAngle","laylineEnable","windSectorEnable","trueWindMinHistoric","trueWindMidHistoric","trueWindMaxHistoric","sailSetupEnable"]],template:function(e,i){1&e&&(v(0,"div",0),Y(1,"app-svg-wind",1),b()),2&e&&(I(1),R("compassHeading",i.currentHeading)("trueWindAngle",i.trueWindAngle)("trueWindSpeed",i.trueWindSpeed)("appWindAngle",i.appWindAngle)("appWindSpeed",i.appWindSpeed)("laylineAngle",i.widgetProperties.config.laylineAngle)("laylineEnable",i.widgetProperties.config.laylineEnable)("windSectorEnable",i.widgetProperties.config.windSectorEnable)("trueWindMinHistoric",i.trueWindMinHistoric)("trueWindMidHistoric",i.trueWindMidHistoric)("trueWindMaxHistoric",i.trueWindMaxHistoric)("sailSetupEnable",i.defaultConfig.sailSetupEnable))},dependencies:[Dfe],encapsulation:2}),t})();const Tfe=["sgWrapperDiv"],V5={darkGray:steelseries.BackgroundColor.DARK_GRAY,satinGray:steelseries.BackgroundColor.SATIN_GRAY,lightGray:steelseries.BackgroundColor.LIGHT_GRAY,white:steelseries.BackgroundColor.WHITE,black:steelseries.BackgroundColor.BLACK,beige:steelseries.BackgroundColor.BEIGE,brown:steelseries.BackgroundColor.BROWN,red:steelseries.BackgroundColor.RED,green:steelseries.BackgroundColor.GREEN,blue:steelseries.BackgroundColor.BLUE,anthracite:steelseries.BackgroundColor.ANTHRACITE,mud:steelseries.BackgroundColor.MUD,punchedSheet:steelseries.BackgroundColor.PUNCHED_SHEET,carbon:steelseries.BackgroundColor.CARBON,stainless:steelseries.BackgroundColor.STAINLESS,brushedMetal:steelseries.BackgroundColor.BRUSHED_METAL,brushedStainless:steelseries.BackgroundColor.BRUSHED_STAINLESS,turned:steelseries.BackgroundColor.TURNED},H5={blackMetal:steelseries.FrameDesign.BLACK_METAL,metal:steelseries.FrameDesign.METAL,shinyMetal:steelseries.FrameDesign.SHINY_METAL,brass:steelseries.FrameDesign.BRASS,steel:steelseries.FrameDesign.STEEL,chrome:steelseries.FrameDesign.CHROME,gold:steelseries.FrameDesign.GOLD,anthracite:steelseries.FrameDesign.ANTHRACITE,tiltedGray:steelseries.FrameDesign.TILTED_GRAY,tiltedBlack:steelseries.FrameDesign.TILTED_BLACK,glossyMetal:steelseries.FrameDesign.GLOSSY_METAL};let Efe=(()=>{class t{constructor(){this.gaugeWidth=0,this.gaugeHeight=0,this.isInResizeWindow=!1,this.gaugeStarted=!1,this.gaugeOptions={}}ngAfterViewInit(){this.gaugeType||(this.gaugeType="radial")}buildOptions(){if(this.gaugeOptions={},"radial"==this.gaugeType?this.gaugeOptions.size=Math.min(this.gaugeHeight,this.gaugeWidth):(this.gaugeOptions.width=this.gaugeWidth,this.gaugeOptions.height=this.gaugeHeight),this.gaugeOptions.minValue=this.minValue,this.gaugeOptions.maxValue=this.maxValue,this.gaugeOptions.titleString=this.title,this.gaugeOptions.unitString=this.units,"radial"==this.gaugeType)switch(this.radialSize){case"quarter":this.gaugeOptions.gaugeType=steelseries.GaugeType.TYPE1;break;case"half":this.gaugeOptions.gaugeType=steelseries.GaugeType.TYPE2;break;case"three-quarter":this.gaugeOptions.gaugeType=steelseries.GaugeType.TYPE3;break;default:this.gaugeOptions.gaugeType=steelseries.GaugeType.TYPE4}if(this.zones){let e=[],i=[];for(let r=0;r{let i=this.sgWrapperDiv.nativeElement.getBoundingClientRect();this.gaugeWidth=i.width,this.gaugeHeight=i.height,this.isInResizeWindow=!1,this.startGauge()},500))}ngOnChanges(e){!this.gaugeStarted||(e.value&&(e.value.firstChange||this.gauge.setValueAnimated(e.value.currentValue)),e.gaugeType&&(e.gaugeType.firstChange||this.startGauge()),e.barGauge&&(e.barGauge.firstChange||this.startGauge()),e.title&&(e.title.firstChange||this.startGauge()),e.units&&(e.units.firstChange||this.startGauge()),e.minValue&&(e.minValue.firstChange||this.startGauge()),e.maxValue&&(e.maxValue.firstChange||this.startGauge()),e.radialSize&&(e.radialSize.firstChange||this.startGauge()),e.backgroundColor&&(e.backgroundColor.firstChange||this.startGauge()),e.frameColor&&(e.frameColor.firstChange||this.startGauge()))}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Pe({type:t,selectors:[["gauge-steel"]],viewQuery:function(e,i){if(1&e&&Oe(Tfe,7,xe),2&e){let r;ue(r=de())&&(i.sgWrapperDiv=r.first)}},inputs:{widgetUUID:"widgetUUID",gaugeType:"gaugeType",barGauge:"barGauge",radialSize:"radialSize",backgroundColor:"backgroundColor",frameColor:"frameColor",minValue:"minValue",maxValue:"maxValue",zones:"zones",title:"title",units:"units",value:"value"},features:[Tn],decls:4,vars:1,consts:[[1,"sgWrapper",3,"resized"],["sgWrapperDiv",""],["width","201","height","201",3,"id"]],template:function(e,i){1&e&&(v(0,"div",0,1),ne("resized",function(o){return i.onResized(o)}),v(2,"canvas",2),M(3,"Browser does not support canvas element."),b()()),2&e&&(I(2),hc("id",i.widgetUUID))},dependencies:[$x],styles:[".sgWrapper[_ngcontent-%COMP%]{height:100%;width:100%;text-align:center}"]}),t})(),Afe=(()=>{class t extends _o{constructor(){super(),this.dataValue=0,this.defaultConfig={displayName:"Gauge Label",filterSelfPaths:!0,paths:{gaugePath:{description:"Numeric Data",path:null,source:null,pathType:"number",isPathConfigurable:!0,convertUnitTo:"unitless",sampleTime:500}},gaugeType:"linear",barGraph:!1,radialSize:"full",minValue:0,maxValue:100,rotateFace:!1,backgroundColor:"carbon",frameColor:"anthracite"}}ngOnInit(){this.observeDataStream("gaugePath",e=>{this.dataValue=e.value})}ngOnDestroy(){this.unsubscribeDataStream()}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Pe({type:t,selectors:[["app-widget-gauge"]],features:[we],decls:3,vars:11,consts:[[1,"gaugeWrapper"],["gaugeWrapperDiv",""],[3,"widgetUUID","gaugeType","barGauge","radialSize","backgroundColor","frameColor","minValue","maxValue","zones","title","units","value"]],template:function(e,i){1&e&&(v(0,"div",0,1),Y(2,"gauge-steel",2),b()),2&e&&(I(2),R("widgetUUID",i.widgetProperties.uuid)("gaugeType",i.widgetProperties.config.gaugeType)("barGauge",i.widgetProperties.config.barGraph)("radialSize",i.widgetProperties.config.radialSize)("backgroundColor",i.widgetProperties.config.backgroundColor)("frameColor",i.widgetProperties.config.frameColor)("minValue",i.widgetProperties.config.minValue)("maxValue",i.widgetProperties.config.maxValue)("title",i.widgetProperties.config.displayName)("units",i.widgetProperties.config.paths.gaugePath.convertUnitTo)("value",i.dataValue))},dependencies:[Efe],styles:[".gaugeWrapper[_ngcontent-%COMP%]{position:relative;width:100%;height:100%}"]}),t})();const Gk={200:"The request was successfully.",202:"The request is awaiting authorization.",400:"Bad Client request format.",401:"Login failed. Your User ID or Password is incorrect.",403:"DENIED: You must be authenticated to send commands. Configure server connection authentication or requets a Device Authorization token.",405:"The server does not support the request.",500:"The request failed.",502:"Something went wrong carrying out the request on the server side.",504:"Timeout on the server side trying to carry out the request."};let qk=(()=>{class t{constructor(e,i,r,o){this.signalKDeltaService=e,this.appSettingsService=i,this.NotificationsService=r,this.auth=o,this.requestStatus$=new pe,this.requests=[],this.signalKDeltaService.subscribeRequestUpdates().subscribe(a=>{this.updateRequest(a)})}requestDeviceAccessToken(){let e=this.newUuid(),i={requestId:e,accessRequest:{clientId:this.appSettingsService.KipUUID,description:"Kip web app",permissions:"admin"}};console.log("[Request Service] Requesting Device Authorization Token"),this.signalKDeltaService.publishDelta(i),this.requests.push({requestId:e,state:null,statusCode:null})}requestUserLogin(e,i){let r=this.newUuid(),o={requestId:r,login:{username:e,password:i}};return console.log("[Request Service] Requesting User Login"),this.signalKDeltaService.publishDelta(o),this.requests.push({requestId:r,state:null,statusCode:null}),r}putRequest(e,i,r){let o=this.newUuid(),s=e.replace(/^(self\.)/,"");return this.signalKDeltaService.publishDelta({context:"vessels.self",requestId:o,put:{path:s,value:i}}),this.requests.push({requestId:o,state:null,statusCode:null,widgetUUID:r}),o}updateRequest(e){let i=this.requests.findIndex(r=>r.requestId==e.requestId);if(i>-1){this.requests[i].state=e.state,this.requests[i].statusCode=e.statusCode,this.requests[i].message=e.message;const r=Gk[e.statusCode];if(typeof r<"u"&&(200==this.requests[i].statusCode||202==this.requests[i].statusCode||401==this.requests[i].statusCode||405==this.requests[i].statusCode)){if(this.requests[i].statusCodeDescription=r,202==this.requests[i].statusCode)return void this.NotificationsService.sendSnackbarNotification(this.requests[i].statusCodeDescription);405==this.requests[i].statusCode&&console.log("[Request Service] Status Code: "+this.requests[i].statusCode+" - "+this.requests[i].message),void 0!==e.accessRequest&&void 0!==e.accessRequest.token&&(this.NotificationsService.sendSnackbarNotification(e.accessRequest.permission+": Device Access Token received from server."),console.log(`[Request Service] ${e.accessRequest.permission}: Device Access Token received`),this.auth.setDeviceAccessToken(e.accessRequest.token))}else this.NotificationsService.sendSnackbarNotification("ERROR: Unknown Request Status Code received: "+this.requests[i].statusCode+" - "+Gk[this.requests[i].statusCode]+" - "+this.requests[i].message),console.error("[Request Service] Unknown Request Status Code received: "+this.requests[i].statusCode+" - "+Gk[this.requests[i].statusCode]+" - "+this.requests[i].message);try{this.requestStatus$.next(this.requests[i]),this.requests.splice(i,1)}catch(o){this.requestStatus$.error(o),console.error("[Request Service] "+o),this.requests=[]}}else this.NotificationsService.sendSnackbarNotification("ERROR: A request message that contains an unknown Request ID was received. Request Delta:\n"+JSON.stringify(e)),console.error("[Request Service] A Request message that contains an unknown Request ID was received. from delta:\n"+JSON.stringify(e))}subscribeRequest(){return this.requestStatus$.asObservable()}newUuid(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){var i=16*Math.random()|0;return("x"==e?i:3&i|8).toString(16)})}}return t.\u0275fac=function(e){return new(e||t)(K(zu),K(wr),K(ia),K(Rl))},t.\u0275prov=Ee({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const Ofe=["btnDiv"],Ife=["lightDiv"],Pfe=["btnLabelCanvas"];let Rfe=(()=>{class t extends _o{constructor(e,i){super(),this.signalkRequestsService=e,this.notification=i,this.buttonBorberColorOn="",this.buttonColorOn="",this.buttonLabelColorOn="",this.buttonBorberColorOff="",this.buttonColorOff="",this.buttonLabelColorOff="",this.lightColorOn="",this.lightColorOff="",this.currentValueLength=0,this.valueFontSize=1,this.state=null,this.pressed=!1,this.skRequestSub=new Z,this.defaultConfig={displayName:"Switch Label",filterSelfPaths:!0,paths:{boolPath:{description:"Boolean Data",path:null,source:null,pathType:"boolean",isPathConfigurable:!0,convertUnitTo:"unitless",sampleTime:500}},putEnable:!1,putMomentary:!1,putMomentaryValue:!0,barColor:"accent"}}ngOnInit(){this.canvasButtonTxt=this.canvasBtnTxtElement.nativeElement.getContext("2d"),this.observeDataStream("boolPath",e=>{this.state=e.value,this.updateBtnCanvas()}),this.subscribeSKRequest()}updateGaugeSettings(){switch(this.buttonColorOff="",this.buttonColorOn=this.theme.background,this.widgetProperties.config.barColor){case"primary":this.buttonLabelColorOff=this.theme.background,this.buttonLabelColorOn=this.theme.primary,this.buttonBorberColorOff=this.theme.primary,this.buttonBorberColorOn=this.theme.primaryDark,this.lightColorOff=this.theme.background,this.lightColorOn=this.theme.primaryDark;break;case"accent":this.buttonLabelColorOff=this.theme.background,this.buttonLabelColorOn=this.theme.accent,this.buttonBorberColorOff=this.theme.accent,this.buttonBorberColorOn=this.theme.accentDark,this.lightColorOff=this.theme.background,this.lightColorOn=this.theme.accentDark;break;case"warn":this.buttonLabelColorOff=this.theme.background,this.buttonLabelColorOn=this.theme.warn,this.buttonBorberColorOff=this.theme.warn,this.buttonBorberColorOn=this.theme.warnDark,this.lightColorOff=this.theme.background,this.lightColorOn=this.theme.warnDark}}ngAfterViewChecked(){this.resizeWidget()}ngOnChanges(e){e.theme&&(this.updateGaugeSettings(),this.updateBtnCanvas())}resizeWidget(){let e=this.divBtnElement.nativeElement.getBoundingClientRect();e.height<50||e.width<50||(this.canvasBtnTxtElement.nativeElement.width!=Math.floor(e.width)||this.canvasBtnTxtElement.nativeElement.height!=Math.floor(e.height))&&(this.canvasBtnTxtElement.nativeElement.width=Math.floor(e.width),this.canvasBtnTxtElement.nativeElement.height=Math.floor(e.height),this.currentValueLength=0,this.updateBtnCanvas())}subscribeSKRequest(){this.skRequestSub=this.signalkRequestsService.subscribeRequest().subscribe(e=>{if(e.widgetUUID==this.widgetProperties.uuid){let i=`Button ${this.widgetProperties.config.displayName}: `;200!=e.statusCode&&(i+=e.message?e.message:e.statusCode+" - "+e.statusCodeDescription,this.notification.sendSnackbarNotification(i,0))}})}unsubscribeSKRequest(){this.skRequestSub.unsubscribe()}handleClickDown(){if(this.widgetProperties.config.putEnable){if(this.widgetProperties.config.putMomentary)return this.pressed=!0,this.signalkRequestsService.putRequest(this.widgetProperties.config.paths.boolPath.path,this.widgetProperties.config.paths.boolPath.source,this.widgetProperties.uuid),void(this.timeoutHandler=setInterval(()=>{this.signalkRequestsService.putRequest(this.widgetProperties.config.paths.boolPath.path,this.widgetProperties.config.paths.boolPath.source,this.widgetProperties.uuid)},100));if(this.signalkRequestsService.putRequest(this.widgetProperties.config.paths.boolPath.path,this.widgetProperties.config.paths.boolPath.source,this.widgetProperties.uuid),!this.state)return}}handleClickUp(){!this.widgetProperties.config.putEnable||!this.pressed||this.widgetProperties.config.putMomentary&&(this.pressed=!1,clearInterval(this.timeoutHandler),this.signalkRequestsService.putRequest(this.widgetProperties.config.paths.boolPath.path,this.widgetProperties.config.paths.boolPath.source,this.widgetProperties.uuid))}ngOnDestroy(){this.unsubscribeDataStream(),this.unsubscribeSKRequest()}updateBtnCanvas(){this.canvasButtonTxt&&(this.canvasButtonTxt.clearRect(0,0,this.canvasBtnTxtElement.nativeElement.width,this.canvasBtnTxtElement.nativeElement.height),this.drawBtnLabel())}drawBtnLabel(){let r,e=Math.floor(this.canvasBtnTxtElement.nativeElement.width-.15*this.canvasBtnTxtElement.nativeElement.width),i=Math.floor(this.canvasBtnTxtElement.nativeElement.height-.2*this.canvasBtnTxtElement.nativeElement.height);if(r=null===this.widgetProperties.config.displayName?"":this.widgetProperties.config.displayName,this.currentValueLength!=r.length){this.currentValueLength=r.length,this.valueFontSize=i,this.canvasButtonTxt.font=this.valueFontSize.toString()+"px Arial";let o=this.canvasButtonTxt.measureText(r).width;for(o>e&&(this.valueFontSize=Math.floor(this.valueFontSize*(e/o)),this.canvasButtonTxt.font=this.valueFontSize.toString()+"px Arial");this.canvasButtonTxt.measureText(r).width>e&&this.valueFontSize>0;)this.valueFontSize--,this.canvasButtonTxt.font=this.valueFontSize.toString()+"px Arial"}this.canvasButtonTxt.font=this.valueFontSize.toString()+"px Arial",this.canvasButtonTxt.textAlign="center",this.canvasButtonTxt.textBaseline="middle",this.canvasButtonTxt.fillStyle=this.theme.text,this.canvasButtonTxt.fillText(r,this.canvasBtnTxtElement.nativeElement.width/2,this.canvasBtnTxtElement.nativeElement.height/2+this.valueFontSize/15,e)}}return t.\u0275fac=function(e){return new(e||t)(D(qk),D(ia))},t.\u0275cmp=Pe({type:t,selectors:[["app-widget-button"]],viewQuery:function(e,i){if(1&e&&(Oe(Ofe,7,xe),Oe(Ife,7,xe),Oe(Pfe,7,xe)),2&e){let r;ue(r=de())&&(i.divBtnElement=r.first),ue(r=de())&&(i.divLightElement=r.first),ue(r=de())&&(i.canvasBtnTxtElement=r.first)}},features:[we,Tn],decls:9,vars:6,consts:[[2,"margin","0px","padding","0px","width","100%","height","100%"],[1,"switchWrapper"],[1,"square"],[1,"light"],["lighDiv",""],[1,"label"],["btnLabelCanvas",""],[1,"button",3,"mousedown","mouseup","mouseout"],["btnDiv",""]],template:function(e,i){1&e&&(v(0,"div",0)(1,"div",1)(2,"div",2),Y(3,"div",3,4),b(),Y(5,"canvas",5,6),v(7,"div",7,8),ne("mousedown",function(){return i.handleClickDown()})("mouseup",function(){return i.handleClickUp()})("mouseout",function(){return i.handleClickUp()}),b()()()),2&e&&(I(3),vr("background",i.state?i.lightColorOn:i.lightColorOff),I(4),vr("color",i.state?i.buttonBorberColorOn:i.buttonBorberColorOff)("background-color",i.buttonColorOn))},styles:['.switchWrapper[_ngcontent-%COMP%]{position:relative;margin:0;top:47%;transform:translateY(-47%);display:flex;flex-direction:row;align-items:center;justify-content:center}.light[_ngcontent-%COMP%]{position:absolute;inset:0;border-radius:50%;border-color:#262626;border-style:solid;border-width:medium}.square[_ngcontent-%COMP%]{position:relative;width:10%}.square[_ngcontent-%COMP%]:before{content:"";display:block;padding-top:100%}.label[_ngcontent-%COMP%]{position:relative;width:60%}.button[_ngcontent-%COMP%]{position:relative;width:25%;box-sizing:border-box;border:inset 4px;border-radius:20px}.button[_ngcontent-%COMP%]:before{content:"";display:block;padding-top:70%}.button[_ngcontent-%COMP%]:active{border-style:outset}']}),t})(),Ffe=(()=>{class t{constructor(e){this.sanitizer=e}transform(e){return this.sanitizer.bypassSecurityTrustResourceUrl(e)}}return t.\u0275fac=function(e){return new(e||t)(D(z_,16))},t.\u0275pipe=Lr({name:"safe",type:t,pure:!0}),t})();function Nfe(t,n){1&t&&(Y(0,"iframe",3),es(1,"safe")),2&t&&R("src",wa(1,1,re().widgetUrl),vw)}function Lfe(t,n){1&t&&(v(0,"div")(1,"h4"),M(2,"URL Not Configured"),b(),v(3,"p"),M(4,'For Example in Graphana, select share for the graph you want, go to embed tab, and take the "src" url.'),b(),v(5,"p"),M(6,'You should probably change the from/to timestamps to "from=now-15m" and "to=now" and make sure you have "refresh=30" in the parameters as well!'),b(),v(7,"p"),M(8,"Of note, cross-domain loading security rules apply! "),v(9,"a",4),M(10,"Link!"),b()()())}let Bfe=(()=>{class t extends _o{constructor(){super(),this.widgetUrl=null,this.defaultConfig={widgetUrl:null}}ngOnInit(){this.widgetUrl=this.widgetProperties.config.widgetUrl}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Pe({type:t,selectors:[["app-widget-iframe"]],features:[we],decls:3,vars:2,consts:[[1,"iFrameWrapper"],["width","100%","height","100%","frameborder","0",3,"src",4,"ngIf"],[4,"ngIf"],["width","100%","height","100%","frameborder","0",3,"src"],["href","https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Frame-Options","target","_blank"]],template:function(e,i){1&e&&(v(0,"div",0),G(1,Nfe,2,3,"iframe",1),G(2,Lfe,11,0,"div",2),b()),2&e&&(I(1),R("ngIf",i.widgetUrl),I(1),R("ngIf",!i.widgetUrl))},dependencies:[ui,Ffe],styles:[".iFrameWrapper[_ngcontent-%COMP%]{position:relative;width:100%;height:100%}"]}),t})();function Vfe(t,n){1&t&&(v(0,"div")(1,"h3"),M(2,"Kip Installation Notes"),b(),v(3,"p"),M(4,"For complete functionality, certain Signal K plugin should be installed on the server you are connecting to: "),b(),v(5,"ul")(6,"li"),M(7,"@signalk-alarm-silencer: To silence Notifications on the server. This enables Kip to instruct the Signal K server to silence said alarm for on all devices supporting Signal K Notifications, else Kip will be silenced."),b(),v(8,"li"),M(9,"@signalk/signalk-autopilot: required for the N2k Autopilot to function. "),Y(10,"br"),v(11,"b"),M(12,"Use the Kip N2k autopilot at your own risk. Use with caution and constant supervision."),b()()()())}function Hfe(t,n){1&t&&(v(0,"div")(1,"h3"),M(2,"Getting Started"),b(),v(3,"h4"),M(4,"Two options are available:"),b(),v(5,"ol")(6,"li"),M(7,"Load Live Demo "),v(8,"p"),M(9,"To dive right in and see what KIP can do! Load the demo configuration with simulated data from demo.signalk.org. Note that an internet connection is required."),b(),v(10,"button",2),M(11,"Load Demo"),b(),Y(12,"br")(13,"br"),b(),v(14,"li"),M(15,"Connect to a Signal K server, then start configuring instruments "),v(16,"p"),M(17,' Configure KIP\'s Signal K server URL connection and connect to receive data. Use the "Set Sign In credentials" button to authenticate to the server with a pre existing Signal K user/password and enable KIP configuration to be shared by any device. See '),v(18,"a",3),M(19,"Configuration Management Help"),b(),M(20," for more instructions. "),b(),v(21,"button",4),M(22,"Configure"),b(),Y(23,"br"),b()(),v(24,"h4"),M(25,"Then start editing Page Layouts"),b(),v(26,"p"),M(27,' Page layouts are "Locked" by default. This is to prevent accidental touch screens interaction from changing anything. A page layout is a screen where you can add, configure and remove the various avalable widgets such as gauges and components. Multiple pages can be added to facilitate organization. You can unlock page layout using the hamburger icon in the lower right corner and selecting "Configuration -> Edit Layout". Go Ahead try it now! '),b()())}function zfe(t,n){1&t&&(v(0,"div")(1,"h1"),M(2,"Next Steps..."),b(),v(3,"h2"),M(4,"Configuring Page Layout"),b(),v(5,"p"),M(6," Now that the page layout is unlocked, you can do a few actions: "),b(),v(7,"ul")(8,"li"),M(9,"The icon in the lower right can be used to select the Widget you would like to display"),b(),v(10,"li"),M(11,'The icon in the lower left can be used to "split" the pages into various areas. You can use area to display different widgets on one page. Areas can be resized to better fit designs'),b(),v(12,"li"),M(13,'The "X" in the upper right can be used to delete an area (basically undoing a split)'),b(),v(14,"li"),M(15,"Once a widget is selected, there will be a gear in the lower middle. Clicking it will allow you to setup the widget parameters"),b()(),v(16,"h2"),M(17,"Getting Data from Signalk"),b(),v(18,"p"),M(19,'The next steps is to configure your connection to a Signal K server using the hamburger icon in the lower right corner and selecting "Configuration -> Settings".'),b()())}let Wfe=(()=>{class t extends _o{constructor(){super(),this.defaultConfig={}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Pe({type:t,selectors:[["app-widget-tutorial"]],inputs:{unlockStatus:"unlockStatus"},features:[we],decls:4,vars:3,consts:[[1,"tabGroupPanel","mat-typography"],[4,"ngIf"],["mat-raised-button","","routerLink","/demo"],["routerLink","/help"],["mat-raised-button","","routerLink","/settings"]],template:function(e,i){1&e&&(v(0,"div",0),G(1,Vfe,13,0,"div",1),G(2,Hfe,28,0,"div",1),G(3,zfe,20,0,"div",1),b()),2&e&&(I(1),R("ngIf",!i.unlockStatus),I(1),R("ngIf",!i.unlockStatus),I(1),R("ngIf",i.unlockStatus))},dependencies:[ui,Ip,Pp,Ji],encapsulation:2}),t})();var Fy=qi(8023),z5=qi.n(Fy),jfe=qi(5578);const Ufe=["gauge"],Gfe=t=>t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),W5=t=>(t=>t.replace(/(\-\w)/g,n=>n[1].toUpperCase()))(t);let j5=(()=>{class t{constructor(e,i){this.el=e,this.zone=i,this.isInited=!1}get options(){const e={};e.renderTo=this.canvas.nativeElement;for(const i of this.el.nativeElement.attributes)e[W5(i.name)]=Fy.DomObserver.parse(i.value);for(const i in this.preInitOptions)e[i]=this.preInitOptions[i];return this.isInited&&(this.preInitOptions=null),e}set options(e){this.isInited?this.update(e):this.preInitOptions=e}set value(e){this.isInited?this.zone.runOutsideAngular(()=>{this.gauge.value=e}):this.preInitValue=e}update(e){if(e)for(const i in e){const r=e[i].toString();if("value"===i)this.value=Fy.DomObserver.parse(r);else{const o=Gfe(i);this.el.nativeElement.setAttribute(o,r)}}}ngAfterViewInit(){this.initGauge(),this.listenForDOMEvents(),this.isInited=!0,this.preInitValue&&(this.value=this.preInitValue)}listenForDOMEvents(){this.domListener=jfe.DOM.fromMutationObserver(this.el.nativeElement,{attributes:!0}).subscribe(e=>{const i={};e.forEach(r=>{"attributes"===r.type&&(i[W5(r.attributeName)]=Fy.DomObserver.parse(this.el.nativeElement.getAttribute(r.attributeName)))}),this.basicUpdate(i)})}stopListeningForDOMEvents(){this.domListener&&(this.domListener.disconnect(),this.domListener=null)}initGauge(){const e=this.options;(!e.hasOwnProperty("renderTo")||!e.renderTo)&&(e.renderTo=this.canvas.nativeElement),this.basicUpdate(e)}basicUpdate(e){"number"==typeof e.value&&(this.value=e.value,delete e.value),Object.keys(e).length&&this.gauge.update(e)}}return t.\u0275fac=function(e){return new(e||t)(D(xe),D(bt))},t.\u0275dir=fe({type:t,viewQuery:function(e,i){if(1&e&&Oe(Ufe,7),2&e){let r;ue(r=de())&&(i.canvas=r.first)}},inputs:{options:"options",value:"value"}}),t})(),qfe=(()=>{class t extends j5{constructor(e,i){super(e,i)}ngOnInit(){this.gauge=new(z5().LinearGauge)(this.options).draw()}}return t.\u0275fac=function(e){return new(e||t)(D(xe),D(bt))},t.\u0275cmp=Pe({type:t,selectors:[["linear-gauge"]],features:[we],decls:2,vars:0,consts:[["gauge",""]],template:function(e,i){1&e&&Y(0,"canvas",null,0)},encapsulation:2}),t})();const Yfe=["linearWrapperDiv"],Kfe=["linearGauge"];let Zfe=(()=>{class t extends _o{constructor(e){super(),this.appSettingsService=e,this.dataValue=0,this.dataValueTrimmed=0,this.sample=500,this.gaugeOptions={},this.isGaugeVertical=!0,this.zones=[],this.defaultConfig={displayName:"Gauge Label",filterSelfPaths:!0,paths:{gaugePath:{description:"Numeric Data",path:null,source:null,pathType:"number",isPathConfigurable:!0,convertUnitTo:"unitless",sampleTime:500}},gaugeType:"ngLinearVertical",gaugeTicks:!1,minValue:0,maxValue:100,numInt:1,numDecimal:0,barColor:"accent"}}ngOnInit(){this.observeDataStream("gaugePath",e=>{let i=this.dataValue,r=this.formatWidgetNumberValue(e.value);switch(i!=r&&(this.dataValue=r),e.state){case gi.warning:case gi.alarm:this.gaugeOptions.colorValueText=this.theme.warnDark;break;default:this.gaugeOptions.colorValueText=getComputedStyle(this.wrapper.nativeElement).color}}),this.subscribeZones()}ngOnDestroy(){this.unsubscribeDataStream(),this.unsubscribeZones()}ngOnChanges(e){e.theme&&this.updateGaugeConfig()}subscribeZones(){this.zonesSub=this.appSettingsService.getZonesAsO().subscribe(e=>{this.zones=e,this.updateGaugeConfig()})}unsubscribeZones(){null!==this.zonesSub&&(this.zonesSub.unsubscribe(),this.zonesSub=null)}updateGaugeConfig(){let e="",i="";switch(this.gaugeOptions.colorTitle=this.gaugeOptions.colorUnits=this.gaugeOptions.colorValueText=window.getComputedStyle(this.wrapper.nativeElement).color,this.gaugeOptions.colorPlate=window.getComputedStyle(this.wrapper.nativeElement).backgroundColor,this.gaugeOptions.colorBar=this.theme.background,this.gaugeOptions.colorMajorTicks=this.gaugeOptions.colorTitle,this.gaugeOptions.colorMinorTicks=this.gaugeOptions.colorTitle,this.gaugeOptions.colorNeedleEnd="",this.gaugeOptions.colorNeedleShadowUp="",this.gaugeOptions.colorNeedleShadowDown="black",this.widgetProperties.config.barColor){case"primary":e=this.theme.primary,i=this.theme.primaryDark,this.gaugeOptions.colorBarProgress=e,this.gaugeOptions.colorBarProgressEnd=i,this.gaugeOptions.colorNeedle=i,this.gaugeOptions.needleWidth=5;break;case"accent":e=this.theme.accent,i=this.theme.accentDark,this.gaugeOptions.colorBarProgress=e,this.gaugeOptions.colorBarProgressEnd=i,this.gaugeOptions.colorNeedle=i,this.gaugeOptions.needleWidth=5;break;case"warn":e=this.theme.warn,i=this.theme.warnDark,this.gaugeOptions.colorBarProgress=e,this.gaugeOptions.colorBarProgressEnd=i,this.gaugeOptions.colorNeedle=i,this.gaugeOptions.needleWidth=5;break;case"nobar":e=this.theme.background,i=this.theme.warnDark,this.gaugeOptions.colorBar=e,this.gaugeOptions.colorBarProgress=e,this.gaugeOptions.colorBarProgressEnd=e,this.gaugeOptions.colorNeedle=i,this.gaugeOptions.needleWidth=20}let r=[];this.zones.forEach(o=>{if(o.path==this.widgetProperties.config.paths.gaugePath.path){let l,s=o.lower||this.widgetProperties.config.minValue,a=o.upper||this.widgetProperties.config.maxValue;switch(o.state){case 1:l=this.theme.warn;break;case gi.alarm:l=this.theme.warnDark;break;default:l=this.theme.primary}r.push({from:s,to:a,color:l})}}),this.gaugeOptions.highlights=r,this.gaugeOptions.minValue=this.widgetProperties.config.minValue,this.gaugeOptions.maxValue=this.widgetProperties.config.maxValue,this.gaugeOptions.valueInt=this.widgetProperties.config.numInt,this.gaugeOptions.valueDec=this.widgetProperties.config.numDecimal,this.gaugeOptions.majorTicksInt=this.widgetProperties.config.numInt,this.gaugeOptions.majorTicksDec=this.widgetProperties.config.numDecimal,this.gaugeOptions.animationDuration=this.sample-25,this.gaugeOptions.colorMajorTicks=this.gaugeOptions.colorNumbers=this.gaugeOptions.colorMinorTicks=this.widgetProperties.config.gaugeTicks?this.gaugeOptions.colorTitle:"",this.gaugeOptions.valueBox=!0,this.gaugeOptions.valueBoxWidth=100,this.gaugeOptions.valueBoxBorderRadius=0,this.gaugeOptions.needle=!0,this.gaugeOptions.needleType="line",this.gaugeOptions.needleShadow=!1,this.gaugeOptions.needleSide="both","ngLinearVertical"==this.widgetProperties.config.gaugeType?(this.isGaugeVertical=!0,this.gaugeOptions.barLength=75,this.gaugeOptions.fontUnitsSize=40,this.gaugeOptions.fontTitleSize=40,1==this.widgetProperties.config.gaugeTicks?(this.gaugeOptions.barWidth=30,this.gaugeOptions.needleStart=-45,this.gaugeOptions.needleEnd=55,this.gaugeOptions.exactTicks=!1,this.gaugeOptions.tickSide="right",this.gaugeOptions.ticksWidth=8,this.gaugeOptions.ticksPadding=4,this.gaugeOptions.strokeTicks=!1,this.gaugeOptions.majorTicks=[this.widgetProperties.config.minValue,this.widgetProperties.config.maxValue],this.gaugeOptions.numberSide="right",this.gaugeOptions.numbersMargin=0,this.gaugeOptions.fontNumbersSize=25,this.gaugeOptions.minorTicks=10,this.gaugeOptions.ticksWidthMinor=4,this.gaugeOptions.highlightsWidth=15):(this.gaugeOptions.barWidth=100,this.gaugeOptions.needleStart=0,this.gaugeOptions.needleEnd=100,this.gaugeOptions.ticksWidth=0,this.gaugeOptions.strokeTicks=!1,this.gaugeOptions.majorTicks=[],this.gaugeOptions.ticksPadding=0,this.gaugeOptions.minorTicks=0,this.gaugeOptions.ticksWidthMinor=0,this.gaugeOptions.numbersMargin=0,this.gaugeOptions.fontNumbersSize=0,this.gaugeOptions.highlightsWidth=15)):(this.isGaugeVertical=!1,this.gaugeOptions.barLength=80,this.gaugeOptions.fontTitleSize=45,this.gaugeOptions.fontUnitsSize=35,this.gaugeOptions.barWidth=40,1==this.widgetProperties.config.gaugeTicks?(this.gaugeOptions.exactTicks=!1,this.gaugeOptions.barWidth=30,this.gaugeOptions.needleStart=-45,this.gaugeOptions.needleEnd=56,this.gaugeOptions.tickSide="right",this.gaugeOptions.ticksWidth=8,this.gaugeOptions.ticksPadding=5,this.gaugeOptions.strokeTicks=!1,this.gaugeOptions.majorTicks=[this.widgetProperties.config.minValue,this.widgetProperties.config.maxValue],this.gaugeOptions.numberSide="right",this.gaugeOptions.numbersMargin=-5,this.gaugeOptions.fontNumbersSize=25,this.gaugeOptions.minorTicks=10,this.gaugeOptions.ticksWidthMinor=5,this.gaugeOptions.highlightsWidth=15):(this.gaugeOptions.barWidth=60,this.gaugeOptions.needleStart=0,this.gaugeOptions.needleEnd=100,this.gaugeOptions.ticksWidth=0,this.gaugeOptions.strokeTicks=!1,this.gaugeOptions.majorTicks=[],this.gaugeOptions.ticksPadding=0,this.gaugeOptions.minorTicks=0,this.gaugeOptions.ticksWidthMinor=0,this.gaugeOptions.numbersMargin=0,this.gaugeOptions.fontNumbersSize=0,this.gaugeOptions.highlightsWidth=15))}onResized(e){this.gaugeOptions.height=e.newRect.height,this.gaugeOptions.width=1==this.isGaugeVertical?.3*e.newRect.height:e.newRect.width}}return t.\u0275fac=function(e){return new(e||t)(D(wr))},t.\u0275cmp=Pe({type:t,selectors:[["app-widget-gauge-ng-linear"]],viewQuery:function(e,i){if(1&e&&(Oe(Yfe,7,xe),Oe(Kfe,7,xe)),2&e){let r;ue(r=de())&&(i.wrapper=r.first),ue(r=de())&&(i.linearGauge=r.first)}},features:[we,Tn],decls:6,vars:60,consts:[[2,"margin","0px","padding","0px","width","100%","height","100%"],[3,"className","resized"],["linearWrapperDiv",""],["font-title","arial","font-title-weight","bold","font-Units","arial","font-Units-weight","","borders","false","border-outer-width","0","color-border-outer","red","color-border-outer-end","red","border-middle-width","0","color-border-middle","#63afdf","color-border-middle-end","#63afdf","border-inner-width","0","color-border-inner","red","color-border-inner-end","#121212","border-shadow-width","0","border-radius","0","bar-progress","true","bar-begin-circle","false","bar-stroke-width","0","bar-shadow","0","color-bar-end","","color-bar-stroke","0","value-box-stroke","0","color-value-box-rect","","color-value-box-rect-end","","value-text","","font-value","arial","font-value-size","50","font-value-weight","bold","value-text-shadow","false","color-value-box-shadow","","color-stroke-ticks","","font-numbers","arial","font-numbers-weight","","animation","true","animation-rule","linear","animated-value","false","animate-on-init","false",1,"linearGauge",3,"id","value"],["linearGauge",""]],template:function(e,i){1&e&&(v(0,"div",0)(1,"div",1,2),ne("resized",function(o){return i.onResized(o)}),Y(3,"linear-gauge",3,4),es(5,"json"),b()()),2&e&&(I(1),R("className",i.isGaugeVertical?"verticalLinearWrapper":"horizontalLinearWrapper"),I(2),hc("id",i.widgetProperties.uuid),R("value",i.dataValue),Je("width",i.gaugeOptions.width)("height",i.gaugeOptions.height)("title",i.widgetProperties.config.displayName)("font-title-size",i.gaugeOptions.fontTitleSize)("color-title",i.gaugeOptions.colorTitle)("units",i.widgetProperties.config.paths.gaugePath.convertUnitTo)("min-value",i.gaugeOptions.minValue)("max-value",i.gaugeOptions.maxValue)("font-Units-size",i.gaugeOptions.fontUnitsSize)("color-units",i.gaugeOptions.colorUnits)("color-plate",i.gaugeOptions.colorPlate)("color-plate-end",i.gaugeOptions.colorPlate)("bar-width",i.gaugeOptions.barWidth)("bar-length",i.gaugeOptions.barLength)("color-bar",i.gaugeOptions.colorBar)("color-bar-progress",i.gaugeOptions.colorBarProgress)("color-bar-progress-end",i.gaugeOptions.colorBarProgressEnd)("value-box",i.gaugeOptions.valueBox)("value-box-width",i.gaugeOptions.valueBoxWidth)("value-box-border-radius",i.gaugeOptions.valueBoxBorderRadius)("color-value-box-background",i.gaugeOptions.colorBar)("value-int",i.gaugeOptions.valueInt)("value-dec",i.gaugeOptions.valueDec)("color-value-text",i.gaugeOptions.colorValueText)("exact-ticks",i.gaugeOptions.exactTicks)("stroke-ticks",i.gaugeOptions.strokeTicks)("tick-side",i.gaugeOptions.tickSide)("ticks-padding",i.gaugeOptions.ticksPadding)("major-ticks",i.gaugeOptions.majorTicks)("major-ticks-int",i.gaugeOptions.majorTicksInt)("major-ticks-dec",i.gaugeOptions.majorTicksDec)("color-major-ticks",i.gaugeOptions.colorMajorTicks)("ticks-width",i.gaugeOptions.ticksWidth)("minor-ticks",i.gaugeOptions.minorTicks)("color-minor-ticks",i.gaugeOptions.colorMinorTicks)("number-side",i.gaugeOptions.numberSide)("numbers-margin",i.gaugeOptions.numbersMargin)("font-numbers-size",i.gaugeOptions.fontNumbersSize)("color-numbers",i.gaugeOptions.colorNumbers)("ticks-width-minor",i.gaugeOptions.ticksWidthMinor)("highlights",wa(5,58,i.gaugeOptions.highlights))("highlights-width",i.gaugeOptions.highlightsWidth)("needle-side",i.gaugeOptions.needleSide)("animation-duration",i.gaugeOptions.animationDuration)("needle",i.gaugeOptions.needle)("needle-end",i.gaugeOptions.needleEnd)("needle-start",i.gaugeOptions.needleStart)("needle-shadow",i.gaugeOptions.needleShadow)("needle-side",i.gaugeOptions.needleSide)("needle-width",i.gaugeOptions.needleWidth)("needle-type",i.gaugeOptions.needleType)("color-needle",i.gaugeOptions.colorNeedle)("color-needle-end",i.gaugeOptions.colorNeedleEnd)("color-needle-shadow-up",i.gaugeOptions.colorNeedleShadowUp)("color-needle-shadow-down",i.gaugeOptions.colorNeedleShadowDown))},dependencies:[$x,qfe,iC],styles:['.verticalLinearWrapper[_ngcontent-%COMP%]{position:relative;top:3%;height:97%;width:100%}.verticalLinearWrapper[_ngcontent-%COMP%] > .linearGauge[_ngcontent-%COMP%]{position:absolute;inset:0;text-align:center}.horizontalLinearWrapper[_ngcontent-%COMP%]{position:relative;margin:0;top:47%;transform:translateY(-47%)}.horizontalLinearWrapper[_ngcontent-%COMP%]:before{display:block;content:"";width:100%;padding-top:24.25%;margin-top:3%}.horizontalLinearWrapper[_ngcontent-%COMP%] > .linearGauge[_ngcontent-%COMP%]{position:absolute;inset:0}']}),t})(),U5=(()=>{class t extends j5{constructor(e,i){super(e,i)}ngOnInit(){this.gauge=new(z5().RadialGauge)(this.options).draw()}}return t.\u0275fac=function(e){return new(e||t)(D(xe),D(bt))},t.\u0275cmp=Pe({type:t,selectors:[["radial-gauge"]],features:[we],decls:2,vars:0,consts:[["gauge",""]],template:function(e,i){1&e&&Y(0,"canvas",null,0)},encapsulation:2}),t})();const Qfe=["ngRadialWrapperDiv"],Xfe=["radialGauge"];let Jfe=(()=>{class t extends _o{constructor(e){super(),this.appSettingsService=e,this.dataValue=0,this.valueSub$=null,this.sample=500,this.gaugeOptions={},this.colorStrokeTicks="",this.unitName=null,this.zones=[],this.defaultConfig={displayName:null,filterSelfPaths:!0,paths:{gaugePath:{description:"Numeric Data",path:null,source:null,pathType:"number",isPathConfigurable:!0,convertUnitTo:"unitless",sampleTime:500}},gaugeType:"ngRadial",gaugeTicks:!1,radialSize:"measuring",compassUseNumbers:!1,minValue:0,maxValue:100,numInt:1,numDecimal:0,barColor:"accent"}}ngOnInit(){this.observeDataStream("gaugePath",e=>{let i=this.dataValue,r=this.formatWidgetNumberValue(e.value);switch(i!=r&&(this.dataValue=r),e.state){case gi.warning:case gi.alarm:this.gaugeOptions.colorValueText=this.theme.warnDark;break;default:this.gaugeOptions.colorValueText=this.theme.text}}),this.subscribeZones()}ngOnDestroy(){this.unsubscribeDataStream(),this.unsubscribeZones()}ngOnChanges(e){e.theme&&this.updateGaugeConfig()}subscribeZones(){this.zonesSub=this.appSettingsService.getZonesAsO().subscribe(e=>{this.zones=e,this.updateGaugeConfig()})}unsubscribeZones(){null!==this.zonesSub&&(this.zonesSub.unsubscribe(),this.zonesSub=null)}updateGaugeConfig(){let e="",i="";switch(this.gaugeOptions.colorTitle=this.gaugeOptions.colorUnits=this.theme.text,this.gaugeOptions.colorPlate=getComputedStyle(this.wrapper.nativeElement).backgroundColor,this.gaugeOptions.colorBar=this.theme.background,this.gaugeOptions.colorNeedleShadowUp="",this.gaugeOptions.colorNeedleShadowDown="black",this.gaugeOptions.colorNeedleCircleInner=this.gaugeOptions.colorPlate,this.gaugeOptions.colorNeedleCircleInnerEnd=this.gaugeOptions.colorPlate,this.gaugeOptions.colorNeedleCircleOuter=this.gaugeOptions.colorPlate,this.gaugeOptions.colorNeedleCircleOuterEnd=this.gaugeOptions.colorPlate,this.widgetProperties.config.barColor){case"primary":e=this.theme.primary,i=this.theme.primaryDark,this.gaugeOptions.colorBarProgress=e,this.gaugeOptions.colorNeedle=i,this.gaugeOptions.colorNeedleEnd=i;break;case"accent":e=this.theme.accent,i=this.theme.accentDark,this.gaugeOptions.colorBarProgress=e,this.gaugeOptions.colorNeedle=i,this.gaugeOptions.colorNeedleEnd=i;break;case"warn":e=this.theme.warn,i=this.theme.warnDark,this.gaugeOptions.colorBarProgress=e,this.gaugeOptions.colorNeedle=i,this.gaugeOptions.colorNeedleEnd=i}let r=[];switch(this.zones.forEach(o=>{if(o.path==this.widgetProperties.config.paths.gaugePath.path){let l,s=o.lower||this.widgetProperties.config.minValue,a=o.upper||this.widgetProperties.config.maxValue;switch(o.state){case 1:l=this.theme.warn;break;case gi.alarm:l=this.theme.warnDark;break;default:l=this.theme.primary}r.push({from:s,to:a,color:l})}}),this.gaugeOptions.highlights=r,this.gaugeOptions.valueInt=this.widgetProperties.config.numInt,this.gaugeOptions.valueDec=this.widgetProperties.config.numDecimal,this.gaugeOptions.majorTicksInt=this.widgetProperties.config.numInt,this.gaugeOptions.majorTicksDec=this.widgetProperties.config.numDecimal,this.gaugeOptions.animationDuration=this.sample-25,this.widgetProperties.config.radialSize){case"capacity":this.unitName=this.widgetProperties.config.paths.gaugePath.convertUnitTo,this.gaugeOptions.colorMajorTicks=this.gaugeOptions.colorPlate,this.gaugeOptions.colorNumbers=this.gaugeOptions.colorMinorTicks="",this.gaugeOptions.fontTitleSize=60,this.gaugeOptions.minValue=this.widgetProperties.config.minValue,this.gaugeOptions.maxValue=this.widgetProperties.config.maxValue,this.gaugeOptions.barProgress=!0,this.gaugeOptions.barWidth=15,this.gaugeOptions.valueBox=!0,this.gaugeOptions.fontValueSize=110,this.gaugeOptions.valueBoxWidth=100,this.gaugeOptions.valueBoxBorderRadius=0,this.gaugeOptions.valueBoxStroke=0,this.gaugeOptions.colorValueBoxBackground="",this.gaugeOptions.ticksAngle=360,this.gaugeOptions.startAngle=180,this.gaugeOptions.exactTicks=!1,this.gaugeOptions.strokeTicks=!1,this.gaugeOptions.majorTicks=[],this.gaugeOptions.minorTicks=0,this.gaugeOptions.numbersMargin=0,this.gaugeOptions.fontNumbersSize=0,this.gaugeOptions.highlightsWidth=15,this.gaugeOptions.needle=!0,this.gaugeOptions.needleType="line",this.gaugeOptions.needleWidth=2,this.gaugeOptions.needleShadow=!1,this.gaugeOptions.needleStart=80,this.gaugeOptions.needleEnd=95,this.gaugeOptions.needleCircleSize=1,this.gaugeOptions.needleCircleInner=!1,this.gaugeOptions.needleCircleOuter=!1,this.gaugeOptions.borders=!0,this.gaugeOptions.borderOuterWidth=0,this.gaugeOptions.borderMiddleWidth=2,this.gaugeOptions.borderInnerWidth=2,this.gaugeOptions.borderShadowWidth=0,this.gaugeOptions.animationTarget="needle",this.gaugeOptions.useMinPath=!1;break;case"measuring":this.unitName=this.widgetProperties.config.paths.gaugePath.convertUnitTo;let o=this.calculateMajorTicks(this.widgetProperties.config.minValue,this.widgetProperties.config.maxValue);this.gaugeOptions.colorTitle=this.colorStrokeTicks=this.gaugeOptions.colorMinorTicks=this.gaugeOptions.colorNumbers=this.gaugeOptions.colorTitle,this.gaugeOptions.fontTitleSize=20,this.gaugeOptions.minValue=this.widgetProperties.config.minValue,this.gaugeOptions.maxValue=this.widgetProperties.config.maxValue,this.gaugeOptions.barProgress=!0,this.gaugeOptions.barWidth=15,this.gaugeOptions.valueBox=!0,this.gaugeOptions.fontValueSize=60,this.gaugeOptions.valueBoxWidth=100,this.gaugeOptions.valueBoxBorderRadius=0,this.gaugeOptions.valueBoxStroke=0,this.gaugeOptions.colorValueBoxBackground="",this.gaugeOptions.ticksAngle=270,this.gaugeOptions.startAngle=45,this.gaugeOptions.exactTicks=!1,this.gaugeOptions.strokeTicks=!0,this.gaugeOptions.majorTicks=[o.toString()],this.gaugeOptions.minorTicks=2,this.gaugeOptions.numbersMargin=3,this.gaugeOptions.fontNumbersSize=15,this.gaugeOptions.highlightsWidth=15,this.gaugeOptions.needle=!0,this.gaugeOptions.needleType="line",this.gaugeOptions.needleWidth=2,this.gaugeOptions.needleShadow=!1,this.gaugeOptions.needleStart=0,this.gaugeOptions.needleEnd=95,this.gaugeOptions.needleCircleSize=10,this.gaugeOptions.needleCircleInner=!1,this.gaugeOptions.needleCircleOuter=!1,this.gaugeOptions.borders=!1,this.gaugeOptions.borderOuterWidth=0,this.gaugeOptions.borderMiddleWidth=0,this.gaugeOptions.borderInnerWidth=0,this.gaugeOptions.borderShadowWidth=0,this.gaugeOptions.animationTarget="needle",this.gaugeOptions.useMinPath=!1;break;case"marineCompass":this.widgetProperties.config.minValue=0,this.widgetProperties.config.maxValue=360,this.widgetProperties.config.paths.gaugePath.convertUnitTo="deg",this.unitName=null,this.gaugeOptions.colorMajorTicks=this.gaugeOptions.colorNumbers=this.gaugeOptions.colorMinorTicks=this.gaugeOptions.colorUnits,this.gaugeOptions.fontTitleSize=60,this.gaugeOptions.minValue=0,this.gaugeOptions.maxValue=360,this.gaugeOptions.barProgress=!1,this.gaugeOptions.barWidth=0,this.gaugeOptions.valueBox=!0,this.gaugeOptions.fontValueSize=50,this.gaugeOptions.valueBoxWidth=0,this.gaugeOptions.valueBoxBorderRadius=5,this.gaugeOptions.valueBoxStroke=0,this.gaugeOptions.colorValueBoxBackground=this.gaugeOptions.colorBar,this.gaugeOptions.ticksAngle=360,this.gaugeOptions.startAngle=180,this.gaugeOptions.exactTicks=!1,this.gaugeOptions.strokeTicks=!1,this.gaugeOptions.majorTicks=this.widgetProperties.config.compassUseNumbers?["0,45,90,135,180,225,270,315,0"]:["N,NE,E,SE,S,SW,W,NW,N"],this.gaugeOptions.numbersMargin=3,this.gaugeOptions.fontNumbersSize=15,this.gaugeOptions.minorTicks=22,this.gaugeOptions.highlights=[],this.gaugeOptions.highlightsWidth=0,this.gaugeOptions.needle=!0,this.gaugeOptions.needleType="line",this.gaugeOptions.needleWidth=3,this.gaugeOptions.needleShadow=!1,this.gaugeOptions.needleStart=75,this.gaugeOptions.needleEnd=99,this.gaugeOptions.needleCircleSize=2,this.gaugeOptions.needleCircleInner=!1,this.gaugeOptions.needleCircleOuter=!1,this.gaugeOptions.borders=!0,this.gaugeOptions.borderOuterWidth=0,this.gaugeOptions.borderMiddleWidth=2,this.gaugeOptions.borderInnerWidth=2,this.gaugeOptions.borderShadowWidth=0,this.gaugeOptions.animationTarget="plate",this.gaugeOptions.useMinPath=!0;break;case"baseplateCompass":this.widgetProperties.config.minValue=0,this.widgetProperties.config.maxValue=360,this.widgetProperties.config.paths.gaugePath.convertUnitTo="deg",this.unitName=null,this.gaugeOptions.colorMajorTicks=this.gaugeOptions.colorNumbers=this.gaugeOptions.colorMinorTicks=this.gaugeOptions.colorUnits,this.gaugeOptions.fontTitleSize=60,this.gaugeOptions.minValue=0,this.gaugeOptions.maxValue=360,this.gaugeOptions.barProgress=!1,this.gaugeOptions.barWidth=0,this.gaugeOptions.valueBox=!0,this.gaugeOptions.fontValueSize=50,this.gaugeOptions.valueBoxWidth=0,this.gaugeOptions.valueBoxBorderRadius=5,this.gaugeOptions.valueBoxStroke=0,this.gaugeOptions.colorValueBoxBackground=this.gaugeOptions.colorBar,this.gaugeOptions.ticksAngle=360,this.gaugeOptions.startAngle=180,this.gaugeOptions.exactTicks=!1,this.gaugeOptions.strokeTicks=!1,this.gaugeOptions.majorTicks=this.widgetProperties.config.compassUseNumbers?["0,45,90,135,180,225,270,315,0"]:["N,NE,E,SE,S,SW,W,NW,N"],this.gaugeOptions.numbersMargin=3,this.gaugeOptions.fontNumbersSize=15,this.gaugeOptions.minorTicks=22,this.gaugeOptions.highlights=[],this.gaugeOptions.highlightsWidth=0,this.gaugeOptions.needle=!0,this.gaugeOptions.needleType="line",this.gaugeOptions.needleWidth=3,this.gaugeOptions.needleShadow=!1,this.gaugeOptions.needleStart=75,this.gaugeOptions.needleEnd=99,this.gaugeOptions.needleCircleSize=2,this.gaugeOptions.needleCircleInner=!1,this.gaugeOptions.needleCircleOuter=!1,this.gaugeOptions.borders=!0,this.gaugeOptions.borderOuterWidth=0,this.gaugeOptions.borderMiddleWidth=2,this.gaugeOptions.borderInnerWidth=2,this.gaugeOptions.borderShadowWidth=0,this.gaugeOptions.animationTarget="needle",this.gaugeOptions.useMinPath=!0}}onResized(e){this.gaugeOptions.height=Math.floor(.88*e.newRect.height),this.gaugeOptions.width=Math.floor(.88*e.newRect.width)}calculateMajorTicks(e,i){let r=e,o=i,s=i-e,a=0,c=[];s=this.calcNiceNumber(i-e,!1),a=this.calcNiceNumber(s/9,!0),r=Math.floor(e/a)*a,o=Math.ceil(i/a)*a,c.push(r);for(let p=0;po?1:3>o?2:7>o?5:10:1>=o?1:2>=o?2:5>=o?5:10,s*Math.pow(10,r)}}return t.\u0275fac=function(e){return new(e||t)(D(wr))},t.\u0275cmp=Pe({type:t,selectors:[["app-widget-gauge-ng-radial"]],viewQuery:function(e,i){if(1&e&&(Oe(Qfe,7,xe),Oe(Xfe,7,U5)),2&e){let r;ue(r=de())&&(i.wrapper=r.first),ue(r=de())&&(i.radialGauge=r.first)}},features:[we,Tn],decls:5,vars:75,consts:[[1,"ngRadialWrapper",3,"resized"],["ngRadialWrapperDiv",""],["font-title","arial","font-title-weight","bold","font-Units","arial","font-Units-size","25","font-Units-weight","","color-border-outer","red","color-border-outer-end","green","bar-stroke-width","0","bar-shadow","0","color-bar-stroke","","value-text","","font-value","arial","font-value-weight","bold","value-text-shadow","false","color-value-box-shadow","","font-numbers","arial","font-numbers-weight","bold","animation","true","animation-rule","linear","animated-value","false","animate-on-init","false",1,"radialGauge",3,"id","value"],["radialGauge",""]],template:function(e,i){1&e&&(v(0,"div",0,1),ne("resized",function(o){return i.onResized(o)}),Y(2,"radial-gauge",2,3),es(4,"json"),b()),2&e&&(I(2),hc("id",i.widgetProperties.uuid),R("value",i.dataValue),Je("width",i.gaugeOptions.width)("height",i.gaugeOptions.height)("title",i.widgetProperties.config.displayName)("font-title-size",i.gaugeOptions.fontTitleSize)("color-title",i.gaugeOptions.colorTitle)("units",i.unitName)("min-value",i.widgetProperties.config.minValue)("max-value",i.widgetProperties.config.maxValue)("color-units",i.gaugeOptions.colorUnits)("borders",i.gaugeOptions.borders)("border-outer-width",i.gaugeOptions.borderOuterWidth)("border-middle-width",i.gaugeOptions.borderMiddleWidth)("border-inner-width",i.gaugeOptions.borderInnerWidth)("border-shadow-width",i.gaugeOptions.borderShadowWidth)("color-border-middle",i.gaugeOptions.colorBarProgress)("color-border-middle-end",i.gaugeOptions.colorBarProgress)("color-border-inner",i.gaugeOptions.colorPlate)("color-border-inner-end",i.gaugeOptions.colorPlate)("color-plate",i.gaugeOptions.colorPlate)("color-plate-end",i.gaugeOptions.colorPlate)("bar-progress",i.gaugeOptions.barProgress)("bar-width",i.gaugeOptions.barWidth)("color-bar",i.gaugeOptions.colorBar)("color-bar-progress",i.gaugeOptions.colorBarProgress)("value-box",i.gaugeOptions.valueBox)("value-box-stroke",i.gaugeOptions.valueBoxStroke)("color-value-box-rect",i.gaugeOptions.colorValueBoxRect)("color-value-box-rect-end",i.gaugeOptions.colorValueBoxRectEnd)("value-box-width",i.gaugeOptions.valueBoxWidth)("value-box-border-radius",i.gaugeOptions.valueBoxBorderRadius)("color-value-box-background",i.gaugeOptions.colorValueBoxBackground)("value-int",i.gaugeOptions.valueInt)("value-dec",i.gaugeOptions.valueDec)("font-value-size",i.gaugeOptions.fontValueSize)("color-value-text",i.gaugeOptions.colorValueText)("ticks-angle",i.gaugeOptions.ticksAngle)("start-angle",i.gaugeOptions.startAngle)("exact-ticks",i.gaugeOptions.exactTicks)("stroke-ticks",i.gaugeOptions.strokeTicks)("color-stroke-ticks",i.colorStrokeTicks)("major-ticks",i.gaugeOptions.majorTicks)("major-ticks-int",i.gaugeOptions.majorTicksInt)("major-ticks-dec",i.gaugeOptions.majorTicksDec)("color-major-ticks",i.gaugeOptions.colorMajorTicks)("minor-ticks",i.gaugeOptions.minorTicks)("color-minor-ticks",i.gaugeOptions.colorMinorTicks)("numbers-margin",i.gaugeOptions.numbersMargin)("font-numbers-size",i.gaugeOptions.fontNumbersSize)("color-numbers",i.gaugeOptions.colorNumbers)("highlights",wa(4,73,i.gaugeOptions.highlights))("highlights-width",i.gaugeOptions.highlightsWidth)("animation-duration",i.gaugeOptions.animationDuration)("animation-target",i.gaugeOptions.animationTarget)("use-min-path",i.gaugeOptions.useMinPath)("needle",i.gaugeOptions.needle)("needle-end",i.gaugeOptions.needleEnd)("needle-start",i.gaugeOptions.needleStart)("needle-shadow",i.gaugeOptions.needleShadow)("needle-width",i.gaugeOptions.needleWidth)("needle-type",i.gaugeOptions.needleType)("needle-circle-size",i.gaugeOptions.needleCircleSize)("needle-circle-inner",i.gaugeOptions.needleCircleInner)("needle-circle-outer",i.gaugeOptions.needleCircleOuter)("color-needle",i.gaugeOptions.colorNeedle)("color-needle-end",i.gaugeOptions.colorNeedleEnd)("color-needle-shadow-up",i.gaugeOptions.colorNeedleShadowUp)("color-needle-shadow-down",i.gaugeOptions.colorNeedleShadowDown)("color-needle-circle-inner",i.gaugeOptions.colorNeedleCircleInner)("color-needle-circle-inner-end",i.gaugeOptions.colorNeedleCircleInnerEnd)("color-needle-circle-outer",i.gaugeOptions.colorNeedleCircleOuter)("color-needle-circle-outer-end",i.gaugeOptions.colorNeedleCircleOuterEnd))},dependencies:[$x,U5,iC],styles:["radial-gauge.radialGauge[_ngcontent-%COMP%]{position:relative;width:94%!important;height:auto!important;top:6%}.ngRadialWrapper[_ngcontent-%COMP%]{position:relative;width:100%;height:100%;text-align:center}"]}),t})();const epe=["apStencil"],tpe=["countDown"],npe=["compassAnimate"],ipe=["appWindAnimate"],rpe=["rudderPrtAnimate"],ope=["rudderStbAnimate"];function spe(t,n){if(1&t&&(_r(),v(0,"tspan",206),M(1),b()),2&t){const e=re();I(1),vn("Wind: ",e.apTargetAppWindAngle,"\xb0")}}let ape=(()=>{class t{constructor(){this.headingValue="--",this.oldRudderPrtAngle=0,this.newRudderPrtAngle=0,this.oldRudderStbAngle=0,this.newRudderStbAngle=0,this.activityIconVisibility="hidden;",this.errorIconVisibility="hidden",this.msgStencilVisibility="hidden",this.msgStencilInnerHTML="Empty Message Stencil",this.errorStencilVisibility="hidden",this.errorStencilInnerText="Empty Error Stencil",this.messageVisibility="hidden",this.messageInnerText="",this.compassFaceplate={oldDegreeIndicator:"0",newDegreeIndicator:"0",animationElement:void 0},this.appWind={oldDegreeIndicator:"0",newDegreeIndicator:"0",animationElement:void 0}}ngAfterViewInit(){this.compassFaceplate.animationElement=this.compassAnimate,this.appWind.animationElement=this.appWindAnimate}ngOnChanges(e){e.compassHeading&&(e.compassHeading.firstChange||(this.compassFaceplate.oldDegreeIndicator=this.compassFaceplate.newDegreeIndicator,this.headingValue=this.compassFaceplate.newDegreeIndicator=e.compassHeading.currentValue.toFixed(0),this.smoothCircularRotation(this.compassFaceplate))),e.apState&&(e.apState.firstChange||(this.apState=this.apState.toUpperCase())),e.apTargetAppWindAngle&&(e.apTargetAppWindAngle.firstChange||(this.apTargetAppWindAngle=e.apTargetAppWindAngle.currentValue.toFixed(0))),e.appWindAngle&&(e.appWindAngle.firstChange||(this.appWind.oldDegreeIndicator=this.appWind.newDegreeIndicator,this.appWind.newDegreeIndicator=e.appWindAngle.currentValue.toFixed(0),this.smoothCircularRotation(this.appWind))),e.rudderAngle&&(e.rudderAngle.firstChange||(e.rudderAngle.currentValue<=0?(this.oldRudderPrtAngle=0,this.newRudderPrtAngle=0,this.oldRudderStbAngle=this.newRudderStbAngle,this.newRudderStbAngle=Math.round(7.16*e.rudderAngle.currentValue*-1)):(this.oldRudderStbAngle=0,this.newRudderStbAngle=0,this.oldRudderPrtAngle=this.newRudderPrtAngle,this.newRudderPrtAngle=Math.round(7.16*e.rudderAngle.currentValue)),this.rudderPrtAnimate&&this.rudderPrtAnimate.nativeElement.beginElement(),this.rudderStbAnimate&&this.rudderStbAnimate.nativeElement.beginElement()))}smoothCircularRotation(e){const i=Number(e.oldDegreeIndicator),r=Number(e.newDegreeIndicator),o=i-r;e.animationElement&&0!=o&&(Math.abs(o)>180?1==Math.sign(o)?359==i?(e.oldDegreeIndicator="0",e.animationElement.nativeElement.beginElement()):(e.newDegreeIndicator="359",e.animationElement.nativeElement.beginElement(),e.oldDegreeIndicator="0",e.newDegreeIndicator=r.toFixed(0),e.animationElement.nativeElement.beginElement()):0==i?(e.oldDegreeIndicator="359",e.animationElement.nativeElement.beginElement()):(e.newDegreeIndicator="0",e.animationElement.nativeElement.beginElement(),e.oldDegreeIndicator="359",e.newDegreeIndicator=r.toFixed(0),e.animationElement.nativeElement.beginElement()):e.animationElement.nativeElement.beginElement())}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Pe({type:t,selectors:[["app-svg-autopilot"]],viewQuery:function(e,i){if(1&e&&(Oe(epe,7,xe),Oe(tpe,7,xe),Oe(npe,7,xe),Oe(ipe,7,xe),Oe(rpe,7,xe),Oe(ope,7,xe)),2&e){let r;ue(r=de())&&(i.ApStencil=r.first),ue(r=de())&&(i.countDown=r.first),ue(r=de())&&(i.compassAnimate=r.first),ue(r=de())&&(i.appWindAnimate=r.first),ue(r=de())&&(i.rudderPrtAnimate=r.first),ue(r=de())&&(i.rudderStbAnimate=r.first)}},inputs:{compassHeading:"compassHeading",appWindAngle:"appWindAngle",rudderAngle:"rudderAngle",apState:"apState",apTargetAppWindAngle:"apTargetAppWindAngle",isApConnected:"isApConnected"},features:[Tn],decls:253,vars:25,consts:[[1,"apScreen"],[1,"apCompass"],[0,"xmlns","osb","http://www.openswatchbook.org/uri/2009/osb",0,"xmlns","dc","http://purl.org/dc/elements/1.1/",0,"xmlns","cc","http://creativecommons.org/ns#",0,"xmlns","rdf","http://www.w3.org/1999/02/22-rdf-syntax-ns#",0,"xmlns","svg","http://www.w3.org/2000/svg","xmlns","http://www.w3.org/2000/svg","id","svg8","version","1.1","viewBox","0 0 452 255","height","100%","width","100%"],["id","defs2"],[0,"osb","paint","solid","id","linearGradient7155"],["id","stop7153","offset","0",2,"stop-color","#6d6d6d","stop-opacity","1"],["id","layerCompassDial",2,"display","inline"],["transform","translate(-49,76)","id","gDial"],["id","path4584","cx","275","cy","200","rx","203.96022","ry","204.07419",1,"compass-outer-ring",2,"display","inline","fill","none","stroke-width","30.60257721","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","0.85427091"],["cy","200.00005","cx","275","id","circle4732","rx","181.16154","ry","181.26276",1,"compass-inner-ring",2,"display","inline","fill","none","stroke-width","15.7575798","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["id","use6608","d","m 307.7114,14.150798 -2.65629,15.073051",2,"display","inline","fill","#000000","fill-opacity","1","stroke","#000000","stroke-width","2.04017186","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["id","use6610","d","m 339.4192,22.709418 -5.23189,14.382504",2,"display","inline","fill","#000000","fill-opacity","1","stroke","#000000","stroke-width","2.04017186","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["id","use6614","d","m 396.02992,55.540321 -9.83269,11.72475",2,"display","inline","fill","#000000","fill-opacity","1","stroke","#000000","stroke-width","2.04017186","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["id","use6616","d","m 419.21273,78.815041 -11.71816,9.83821",2,"display","inline","fill","#000000","fill-opacity","1","stroke","#000000","stroke-width","2.04017186","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["id","use6620","d","m 451.8328,135.56858 -14.37454,5.23479",2,"display","inline","fill","#000000","fill-opacity","1","stroke","#000000","stroke-width","2.04017186","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["id","use6622","d","m 460.27887,167.32298 -15.06464,2.65782",2,"display","inline","fill","#000000","fill-opacity","1","stroke","#000000","stroke-width","2.04017186","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["id","use6626","d","m 460.16769,232.79216 -15.06465,-2.6578",2,"display","inline","fill","#000000","fill-opacity","1","stroke","#000000","stroke-width","2.04017186","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["id","use6628","d","m 451.61385,264.51765 -14.3745,-5.23482",2,"display","inline","fill","#000000","fill-opacity","1","stroke","#000000","stroke-width","2.04017186","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["id","use6632","d","m 419.44142,321.67543 -11.71819,-9.83826",2,"display","inline","fill","#000000","fill-opacity","1","stroke","#000000","stroke-width","2.04017186","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["id","use6634","d","m 396.17966,344.87121 -9.83274,-11.72477",2,"display","inline","fill","#000000","fill-opacity","1","stroke","#000000","stroke-width","2.04017186","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["id","use6638","d","m 339.45779,377.50944 -5.23188,-14.38252",2,"display","inline","fill","#000000","fill-opacity","1","stroke","#000000","stroke-width","2.04017186","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["id","use6640","d","m 307.72114,385.96028 -2.65629,-15.07307",2,"display","inline","fill","#000000","fill-opacity","1","stroke","#000000","stroke-width","2.04017186","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["id","use6644","d","m 242.28854,385.84901 2.65631,-15.07302",2,"display","inline","fill","#000000","fill-opacity","1","stroke","#000000","stroke-width","2.04017186","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["id","use6646","d","m 210.58075,377.29047 5.23187,-14.38255",2,"display","inline","fill","#000000","fill-opacity","1","stroke","#000000","stroke-width","2.04017186","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["id","use6650","d","m 153.97004,344.45952 9.83272,-11.72471",2,"display","inline","fill","#000000","fill-opacity","1","stroke","#000000","stroke-width","2.04017186","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["id","use6652","d","m 130.7872,321.1848 11.71819,-9.83825",2,"display","inline","fill","#000000","fill-opacity","1","stroke","#000000","stroke-width","2.04017186","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["id","use6656","d","m 98.167138,264.43125 14.374482,-5.23482",2,"display","inline","fill","#000000","fill-opacity","1","stroke","#000000","stroke-width","2.04017186","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["id","use6658","d","m 89.72108,232.67686 15.06461,-2.6578",2,"display","inline","fill","#000000","fill-opacity","1","stroke","#000000","stroke-width","2.04017186","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["id","use6662","d","m 89.832242,167.20768 15.064608,2.6578",2,"display","inline","fill","#000000","fill-opacity","1","stroke","#000000","stroke-width","2.04017186","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["id","use6664","d","m 98.386053,135.48218 14.374497,5.23484",2,"display","inline","fill","#000000","fill-opacity","1","stroke","#000000","stroke-width","2.04017186","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["id","use6668","d","m 130.55856,78.324441 11.71817,9.83821",2,"display","inline","fill","#000000","fill-opacity","1","stroke","#000000","stroke-width","2.04017186","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["id","use6670","d","m 153.82027,55.128641 9.83276,11.72475",2,"display","inline","fill","#000000","fill-opacity","1","stroke","#000000","stroke-width","2.04017186","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["id","use6674","d","m 210.54215,22.49037 5.23189,14.382551",2,"display","inline","fill","#000000","fill-opacity","1","stroke","#000000","stroke-width","2.04017186","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["id","use6676","d","m 242.27883,14.039615 2.65629,15.073018",2,"display","inline","fill","#000000","fill-opacity","1","stroke","#000000","stroke-width","2.04017186","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],[0,"xml","space","preserve","x","261.23273","y","7.5849795","id","text4588","transform","scale(0.99972065,1.0002794)",1,"apText",2,"font-style","normal","font-variant","normal","font-weight","bold","font-stretch","normal","font-size","32.64274979px","line-height","1.25","font-family","sans-serif","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-feature-settings","normal","text-align","start","letter-spacing","0px","word-spacing","0px","writing-mode","lr-tb","text-anchor","start","stroke","none","stroke-width","20.40172005","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","0.85427091"],["id","tspan4586","x","261.23273","y","7.5849795",2,"font-style","normal","font-variant","normal","font-weight","bold","font-stretch","normal","font-size","32.64274979px","font-family","sans-serif","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-feature-settings","normal","text-align","start","writing-mode","lr-tb","text-anchor","start","stroke","none","stroke-width","20.40172005","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","0.85427091"],[0,"xml","space","preserve","x","-288.64084","y","-391.88641","id","text4588-7","transform","scale(-0.99972065,-1.0002794)",1,"apText",2,"font-style","normal","font-variant","normal","font-weight","bold","font-stretch","normal","font-size","32.64274979px","line-height","1.25","font-family","sans-serif","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-feature-settings","normal","text-align","start","letter-spacing","0px","word-spacing","0px","writing-mode","lr-tb","text-anchor","start","stroke","none","stroke-width","20.40172005","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","0.85427091"],["id","tspan4608","x","-288.64084","y","-391.88641",2,"stroke-width","20.40172005"],[0,"xml","space","preserve","x","188.83127","y","-467.20248","id","text4588-0","transform","matrix(0,1.0002794,-0.99972065,0,0,0)",1,"apText",2,"font-style","normal","font-variant","normal","font-weight","bold","font-stretch","normal","font-size","32.64274979px","line-height","1.25","font-family","sans-serif","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-feature-settings","normal","text-align","start","letter-spacing","0px","word-spacing","0px","writing-mode","lr-tb","text-anchor","start","stroke","none","stroke-width","20.40172005","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","0.85427091"],["id","tspan4628","x","188.83127","y","-467.20248",2,"stroke-width","20.40172005"],[0,"xml","space","preserve","x","-220.33897","y","83.127594","id","text4588-79","transform","matrix(0,-1.0002794,0.99972065,0,0,0)",1,"apText",2,"font-style","normal","font-variant","normal","font-weight","bold","font-stretch","normal","font-size","32.64274979px","line-height","1.25","font-family","sans-serif","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-feature-settings","normal","text-align","start","letter-spacing","0px","word-spacing","0px","writing-mode","lr-tb","text-anchor","start","stroke","none","stroke-width","20.40172005","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","0.85427091"],["id","tspan4648","x","-220.33897","y","83.127594",2,"stroke-width","20.40172005"],["id","text4656","y","-249.69855","x","319.23901",0,"xml","space","preserve","transform","matrix(0.70690928,0.70730433,-0.70690928,0.70730433,0,0)",1,"apText",2,"font-style","normal","font-variant","normal","font-weight","normal","font-stretch","normal","font-size","21.76183891px","line-height","1.25","font-family","sans-serif","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-feature-settings","normal","text-align","start","letter-spacing","0px","word-spacing","0px","writing-mode","lr-tb","text-anchor","start","stroke","none","stroke-width","20.40171623","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","0.85427091"],["id","tspan4658","x","319.23901","y","-249.69855",2,"stroke-width","20.40171623"],[0,"xml","space","preserve","x","37.022793","y","141.15974","id","text4664","transform","matrix(0.70690928,-0.70730433,0.70690928,0.70730433,0,0)",1,"apText",2,"font-style","normal","font-variant","normal","font-weight","normal","font-stretch","normal","font-size","21.76183891px","line-height","1.25","font-family","sans-serif","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-feature-settings","normal","text-align","start","letter-spacing","0px","word-spacing","0px","writing-mode","lr-tb","text-anchor","start","stroke","none","stroke-width","20.40171623","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","0.85427091"],["id","tspan4666","x","37.022793","y","141.15974",2,"stroke-width","20.40171623"],["transform","matrix(-0.70690928,-0.70730433,0.70690928,-0.70730433,0,0)","id","text4670","y","-142.26419","x","-351.17065",0,"xml","space","preserve",1,"apText",2,"font-style","normal","font-variant","normal","font-weight","normal","font-stretch","normal","font-size","21.76183891px","line-height","1.25","font-family","sans-serif","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-feature-settings","normal","text-align","start","letter-spacing","0px","word-spacing","0px","writing-mode","lr-tb","text-anchor","start","stroke","none","stroke-width","20.40171623","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","0.85427091"],["id","tspan4672","x","-351.17065","y","-142.26419",2,"stroke-width","20.40171623"],[0,"xml","space","preserve","x","-68.111122","y","-532.27917","id","text4676","transform","matrix(-0.70690928,0.70730433,-0.70690928,-0.70730433,0,0)",1,"apText",2,"font-style","normal","font-variant","normal","font-weight","normal","font-stretch","normal","font-size","21.76183891px","line-height","1.25","font-family","sans-serif","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-feature-settings","normal","text-align","start","letter-spacing","0px","word-spacing","0px","writing-mode","lr-tb","text-anchor","start","stroke","none","stroke-width","20.40171623","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","0.85427091"],["id","tspan4678","x","-68.111122","y","-532.27917",2,"stroke-width","20.40171623"],[0,"xml","space","preserve","x","318.18405","y","-119.23701","id","text4684","transform","matrix(0.92362146,0.38279035,-0.38257655,0.92413768,0,0)",1,"apText",2,"font-style","normal","font-variant","normal","font-weight","normal","font-stretch","normal","font-size","10.88091946px","line-height","1.25","font-family","sans-serif","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-feature-settings","normal","text-align","start","letter-spacing","0px","word-spacing","0px","writing-mode","lr-tb","text-anchor","start","stroke","none","stroke-width","20.40171814","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","0.85427091"],["id","tspan4686","x","318.18405","y","-119.23701",2,"stroke-width","20.40171814"],["transform","matrix(0.38257655,0.92413768,-0.92362146,0.38279035,0,0)","id","text4690","y","-377.56421","x","278.92706",0,"xml","space","preserve",1,"apText",2,"font-style","normal","font-variant","normal","font-weight","normal","font-stretch","normal","font-size","10.88091946px","line-height","1.25","font-family","sans-serif","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-feature-settings","normal","text-align","start","letter-spacing","0px","word-spacing","0px","writing-mode","lr-tb","text-anchor","start","stroke","none","stroke-width","20.40171814","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","0.85427091"],["id","tspan4694","x","278.92706","y","-377.56421",2,"stroke-width","20.40171814"],[0,"xml","space","preserve","x","69.223236","y","-529.73126","id","text4698","transform","matrix(-0.38257655,0.92413768,-0.92362146,-0.38279035,0,0)",1,"apText",2,"font-style","normal","font-variant","normal","font-weight","normal","font-stretch","normal","font-size","10.88091946px","line-height","1.25","font-family","sans-serif","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-feature-settings","normal","text-align","start","letter-spacing","0px","word-spacing","0px","writing-mode","lr-tb","text-anchor","start","stroke","none","stroke-width","20.40171814","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","0.85427091"],["id","tspan4700","x","69.223236","y","-529.73126",2,"stroke-width","20.40171814"],["transform","matrix(-0.92362146,0.38279035,-0.38257655,-0.92413768,0,0)","id","text4704","y","-489.35358","x","-188.60149",0,"xml","space","preserve",1,"apText",2,"font-style","normal","font-variant","normal","font-weight","normal","font-stretch","normal","font-size","10.88091946px","line-height","1.25","font-family","sans-serif","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-feature-settings","normal","text-align","start","letter-spacing","0px","word-spacing","0px","writing-mode","lr-tb","text-anchor","start","stroke","none","stroke-width","20.40171814","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","0.85427091"],["id","tspan4706","x","-188.60149","y","-489.35358",2,"stroke-width","20.40171814"],[0,"xml","space","preserve","x","-341.82956","y","-279.7951","id","text4710","transform","matrix(-0.92362146,-0.38279035,0.38257655,-0.92413768,0,0)",1,"apText",2,"font-style","normal","font-variant","normal","font-weight","normal","font-stretch","normal","font-size","10.88091946px","line-height","1.25","font-family","sans-serif","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-feature-settings","normal","text-align","start","letter-spacing","0px","word-spacing","0px","writing-mode","lr-tb","text-anchor","start","stroke","none","stroke-width","20.40171814","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","0.85427091"],["id","tspan4712","x","-341.82956","y","-279.7951",2,"stroke-width","20.40171814"],["transform","matrix(-0.38257655,-0.92413768,0.92362146,-0.38279035,0,0)","id","text4716","y","-22.359142","x","-304.323",0,"xml","space","preserve",1,"apText",2,"font-style","normal","font-variant","normal","font-weight","normal","font-stretch","normal","font-size","10.88091946px","line-height","1.25","font-family","sans-serif","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-feature-settings","normal","text-align","start","letter-spacing","0px","word-spacing","0px","writing-mode","lr-tb","text-anchor","start","stroke","none","stroke-width","20.40171814","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","0.85427091"],["id","tspan4718","x","-304.323","y","-22.359142",2,"stroke-width","20.40171814"],[0,"xml","space","preserve","x","-93.375298","y","130.60631","id","text4722","transform","matrix(0.38257655,-0.92413768,0.92362146,0.38279035,0,0)",1,"apText",2,"font-style","normal","font-variant","normal","font-weight","normal","font-stretch","normal","font-size","10.88091946px","line-height","1.25","font-family","sans-serif","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-feature-settings","normal","text-align","start","letter-spacing","0px","word-spacing","0px","writing-mode","lr-tb","text-anchor","start","stroke","none","stroke-width","20.40171814","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","0.85427091"],["id","tspan4724","x","-93.375298","y","130.60631",2,"stroke-width","20.40171814"],["transform","matrix(0.92362146,-0.38279035,0.38257655,0.92413768,0,0)","id","text4728","y","89.936447","x","165.05888",0,"xml","space","preserve",1,"apText",2,"font-style","normal","font-variant","normal","font-weight","normal","font-stretch","normal","font-size","10.88091946px","line-height","1.25","font-family","sans-serif","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-feature-settings","normal","text-align","start","letter-spacing","0px","word-spacing","0px","writing-mode","lr-tb","text-anchor","start","stroke","none","stroke-width","20.40171814","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","0.85427091"],["id","tspan4730","x","165.05888","y","89.936447",2,"stroke-width","20.40171814"],["id","use7029","y","25.345657","x","269.16998",0,"xml","space","preserve","transform","scale(0.99972065,1.0002794)",1,"apText",2,"font-style","normal","font-variant","normal","font-weight","normal","font-stretch","normal","font-size","19.04160881px","line-height","1.25","font-family","sans-serif","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-feature-settings","normal","text-align","start","letter-spacing","0px","word-spacing","0px","writing-mode","lr-tb","text-anchor","start","display","inline","stroke","none","stroke-width","1.02008593"],["y","25.345657","x","269.16998","id","tspan7053",2,"font-style","normal","font-variant","normal","font-weight","normal","font-stretch","normal","font-size","19.04160881px","font-family","sans-serif","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-feature-settings","normal","text-align","start","writing-mode","lr-tb","text-anchor","start","stroke-width","1.02008593"],["id","use7031","y","-138.13023","x","326.06656",0,"xml","space","preserve","transform","matrix(0.86578352,0.50013971,-0.49986031,0.86626737,0,0)",1,"apText",2,"font-style","normal","font-variant","normal","font-weight","normal","font-stretch","normal","font-size","19.0416069px","line-height","1.25","font-family","sans-serif","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-feature-settings","normal","text-align","start","letter-spacing","0px","word-spacing","0px","writing-mode","lr-tb","text-anchor","start","display","inline","stroke","none","stroke-width","1.02008593"],["id","tspan7101","x","326.06656","y","-138.13023",2,"stroke-width","1.02008593"],["id","use7033","y","-311.27252","x","298.64697",0,"xml","space","preserve","transform","matrix(0.49986031,0.86626737,-0.86578352,0.50013971,0,0)",1,"apText",2,"font-style","normal","font-variant","normal","font-weight","normal","font-stretch","normal","font-size","19.0416069px","line-height","1.25","font-family","sans-serif","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-feature-settings","normal","text-align","start","letter-spacing","0px","word-spacing","0px","writing-mode","lr-tb","text-anchor","start","display","inline","stroke","none","stroke-width","1.02008593"],["id","tspan7103","x","298.64697","y","-311.27252",2,"stroke-width","1.02008593"],["id","use7035","y","-448.97495","x","188.02534",0,"xml","space","preserve","transform","matrix(0,1.0002794,-0.99972065,0,0,0)",1,"apText",2,"font-style","normal","font-variant","normal","font-weight","normal","font-stretch","normal","font-size","19.04160881px","line-height","1.25","font-family","sans-serif","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-feature-settings","normal","text-align","start","letter-spacing","0px","word-spacing","0px","writing-mode","lr-tb","text-anchor","start","display","inline","stroke","none","stroke-width","1.02008593"],["id","tspan7105","x","188.02534","y","-448.97495",2,"stroke-width","1.02008593"],["id","use7037","y","-511.58801","x","18.152977",0,"xml","space","preserve","transform","matrix(-0.49986031,0.86626737,-0.86578352,-0.50013971,0,0)",1,"apText",2,"font-style","normal","font-variant","normal","font-weight","normal","font-stretch","normal","font-size","19.0416069px","line-height","1.25","font-family","sans-serif","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-feature-settings","normal","text-align","start","letter-spacing","0px","word-spacing","0px","writing-mode","lr-tb","text-anchor","start","display","inline","stroke","none","stroke-width","1.02008593"],["id","tspan7109","x","18.152977","y","-511.58801",2,"stroke-width","1.02008593"],["id","use7039","y","-485.03159","x","-157.02438",0,"xml","space","preserve","transform","matrix(-0.86578352,0.50013971,-0.49986031,-0.86626737,0,0)",1,"apText",2,"font-style","normal","font-variant","normal","font-weight","normal","font-stretch","normal","font-size","19.0416069px","line-height","1.25","font-family","sans-serif","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-feature-settings","normal","text-align","start","letter-spacing","0px","word-spacing","0px","writing-mode","lr-tb","text-anchor","start","display","inline","stroke","none","stroke-width","1.02008593"],["id","tspan7111","x","-157.02438","y","-485.03159",2,"stroke-width","1.02008593"],["id","use7041","y","-374.19531","x","-293.47723",0,"xml","space","preserve","transform","scale(-0.99972065,-1.0002794)",1,"apText",2,"font-style","normal","font-variant","normal","font-weight","normal","font-stretch","normal","font-size","19.04160881px","line-height","1.25","font-family","sans-serif","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-feature-settings","normal","text-align","start","letter-spacing","0px","word-spacing","0px","writing-mode","lr-tb","text-anchor","start","display","inline","stroke","none","stroke-width","1.02008593"],["id","tspan7113","x","-293.47723","y","-374.19531",2,"stroke-width","1.02008593"],["id","use7043","y","-210.0593","x","-356.61142",0,"xml","space","preserve","transform","matrix(-0.86578352,-0.50013971,0.49986031,-0.86626737,0,0)",1,"apText",2,"font-style","normal","font-variant","normal","font-weight","normal","font-stretch","normal","font-size","19.0416069px","line-height","1.25","font-family","sans-serif","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-feature-settings","normal","text-align","start","letter-spacing","0px","word-spacing","0px","writing-mode","lr-tb","text-anchor","start","display","inline","stroke","none","stroke-width","1.02008593"],["id","tspan7115","x","-356.61142","y","-210.0593",2,"stroke-width","1.02008593"],["id","use7045","y","-35.933571","x","-328.77301",0,"xml","space","preserve","transform","matrix(-0.49986031,-0.86626737,0.86578352,-0.50013971,0,0)",1,"apText",2,"font-style","normal","font-variant","normal","font-weight","normal","font-stretch","normal","font-size","19.0416069px","line-height","1.25","font-family","sans-serif","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-feature-settings","normal","text-align","start","letter-spacing","0px","word-spacing","0px","writing-mode","lr-tb","text-anchor","start","display","inline","stroke","none","stroke-width","1.02008593"],["id","tspan7117","x","-328.77301","y","-35.933571",2,"stroke-width","1.02008593"],["id","use7047","y","101.6399","x","-217.66704",0,"xml","space","preserve","transform","matrix(0,-1.0002794,0.99972065,0,0,0)",1,"apText",2,"font-style","normal","font-variant","normal","font-weight","normal","font-stretch","normal","font-size","19.04160881px","line-height","1.25","font-family","sans-serif","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-feature-settings","normal","text-align","start","letter-spacing","0px","word-spacing","0px","writing-mode","lr-tb","text-anchor","start","display","inline","stroke","none","stroke-width","1.02008593"],["id","tspan7119","x","-217.66704","y","101.6399",2,"stroke-width","1.02008593"],["id","use7049","y","163.86317","x","-52.594109",0,"xml","space","preserve","transform","matrix(0.49986031,-0.86626737,0.86578352,0.50013971,0,0)",1,"apText",2,"font-style","normal","font-variant","normal","font-weight","normal","font-stretch","normal","font-size","19.0416069px","line-height","1.25","font-family","sans-serif","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-feature-settings","normal","text-align","start","letter-spacing","0px","word-spacing","0px","writing-mode","lr-tb","text-anchor","start","display","inline","stroke","none","stroke-width","1.02008593"],["id","tspan7121","x","-52.594109","y","163.86317",2,"stroke-width","1.02008593"],["id","use7051","y","136.26141","x","120.06727",0,"xml","space","preserve","transform","matrix(0.86578352,-0.50013971,0.49986031,0.86626737,0,0)",1,"apText",2,"font-style","normal","font-variant","normal","font-weight","normal","font-stretch","normal","font-size","19.0416069px","line-height","1.25","font-family","sans-serif","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-feature-settings","normal","text-align","start","letter-spacing","0px","word-spacing","0px","writing-mode","lr-tb","text-anchor","start","display","inline","stroke","none","stroke-width","1.02008593"],["id","tspan7125","x","120.06727","y","136.26141",2,"stroke-width","1.02008593"],["attributeName","transform","type","rotate","begin","indefinite","dur","0.1s","additive","replace","fill","freeze"],["compassAnimate",""],["transform","translate(-48.447528,53.7796)","id","layerAPModes",2,"display","inline"],["id","textHeadingUnits","y","195.59286","x","375.5509",0,"xml","space","preserve",1,"apText",2,"font-style","normal","font-variant","normal","font-weight","normal","font-stretch","normal","font-size","16px","line-height","1.25","font-family","Arial","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-feature-settings","normal","text-align","start","letter-spacing","0px","word-spacing","0px","writing-mode","lr-tb","text-anchor","start","stroke","none"],["y","195.59286","x","375.5509","id","tspan7332"],["id","textPilotMode","y","-5.9288187","x","53.518887",0,"xml","space","preserve",1,"apText",2,"font-style","normal","font-variant","normal","font-weight","normal","font-stretch","normal","font-size","21.33333397px","line-height","1.25","font-family","Arial","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-feature-settings","normal","text-align","start","letter-spacing","0px","word-spacing","0px","writing-mode","lr-tb","text-anchor","start","stroke","none"],["y","-5.9288187","x","53.518887","id","tspan7336"],["id","textLockedWindAngle","y","-5.63585","x","388.37534",0,"xml","space","preserve",1,"apText",2,"font-style","normal","font-variant","normal","font-weight","normal","font-stretch","normal","font-size","21.33333397px","line-height","1.25","font-family","Arial","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-feature-settings","normal","text-align","start","letter-spacing","0px","word-spacing","0px","writing-mode","lr-tb","text-anchor","start","stroke","none"],["y","-5.63585","x","388.37534","id","tspan7340",4,"ngIf"],["transform","translate(-48.447528,53.7796)","id","layerHeading",2,"display","inline"],["transform","translate(7.0707071,-37.373737)","id","textHeadingValue"],[0,"xml","space","preserve","x","261.90826","y","230.58067","id","text7163","transform","scale(0.98289846,1.0173991)",1,"apText",2,"font-style","normal","font-variant","normal","font-weight","bold","font-stretch","normal","font-size","124.02593231px","line-height","1.25","font-family","Arial","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-feature-settings","normal","text-align","center","letter-spacing","0px","word-spacing","0px","writing-mode","lr-tb","text-anchor","middle","stroke","none","stroke-width","3.24648261"],["id","tspan7406","x","261.90826","y","230.58067",2,"font-style","normal","font-variant","normal","font-weight","bold","font-stretch","normal","font-size","124.02593231px","font-family","Arial","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-feature-settings","normal","text-align","center","writing-mode","lr-tb","text-anchor","middle","stroke-width","3.24648261"],["x","350.04529",0,"xml","space","preserve","y","192.68625","id","text5715",1,"apText",2,"font-style","normal","font-variant","normal","font-weight","normal","font-stretch","normal","font-size","64px","line-height","1.25","font-family","sans-serif","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-feature-settings","normal","text-align","start","letter-spacing","0px","word-spacing","0px","writing-mode","lr-tb","text-anchor","start","stroke","none"],["id","tspan5713","x","350.04529","y","192.68625"],["transform","translate(-48.447528,53.7796)","id","layerRudder",2,"display","inline"],["y","-53.399956","x","274.99667","height","14.987642","width","0","id","rudderAnglePrt",1,"rudderStarboard",2,"display","inline","opacity","1","stroke","none","stroke-width","2","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["attributeType","XML","attributeName","width","dur","0.5s","begin","indefinite","additive","replace","fill","freeze"],["rudderStbAnimate",""],["transform","scale(-1,1)","y","-53.399956","x","-274.44928","height","14.987642","width","0","id","rudderAngleStb",1,"rudderPort",2,"display","inline","opacity","1","stroke","none","stroke-width","2","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["rudderPrtAnimate",""],["transform","translate(-48.447528,-110.9287)","id","layerBackground",2,"display","inline"],["id","g276"],["id","g7471","transform","translate(24.722982,-28.057562)"],["transform","translate(721.94867,-290.57106)","id","g5688"],["id","path4652-4","d","m -472.47775,871.67124 a 165.94029,166.38596 0 0 1 -165.5669,-166.3216 165.94029,166.38596 0 0 1 165.43938,-166.44913",1,"port",2,"display","inline","fill","none","stroke-width","14.82046986","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["id","path4652-4-2","d","M 472.647,871.67236 A 165.94029,166.38596 0 0 1 328.86191,788.52051 165.94029,166.38596 0 0 1 328.84104,622.0886 165.94029,166.38596 0 0 1 472.60527,538.90049","transform","scale(-1,1)",1,"starboard",2,"display","inline","fill","none","stroke-width","14.82046986","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["id","g5754"],["d","m 99.32582,328.14958 12.77685,7.39357","id","path7189",2,"fill","none","stroke","#000000","stroke-width","2.95406151","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["id","path7191","d","m 162.64238,264.41753 7.37674,12.80605",2,"fill","none","stroke","#000000","stroke-width","2.95406151","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["d","m 335.9953,264.04783 -7.37672,12.80611","id","path7193",2,"fill","none","stroke","#000000","stroke-width","2.95406151","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["id","path7195","d","m 399.58188,327.50924 -12.77686,7.39366",2,"fill","none","stroke","#000000","stroke-width","2.95406151","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["d","m 422.9912,414.33449 -14.75348,3e-5","id","path7197",2,"fill","none","stroke","#000000","stroke-width","2.95406151","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["id","path7199","d","m 399.95073,501.2588 -12.77692,-7.3936",2,"fill","none","stroke","#000000","stroke-width","2.95406151","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["d","m 336.63416,564.99087 -7.37678,-12.80612","id","path7201",2,"fill","none","stroke","#000000","stroke-width","2.95406151","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["id","path7203","d","m 250.0071,588.45375 -3e-5,-14.78727",2,"fill","none","stroke","#000000","stroke-width","2.95406151","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["d","m 163.28122,565.36054 7.37672,-12.80615","id","path7205",2,"fill","none","stroke","#000000","stroke-width","2.95406151","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["id","path7207","d","m 99.694636,501.89912 12.776874,-7.39367",2,"fill","none","stroke","#000000","stroke-width","2.95406151","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["d","m 76.28531,415.07387 14.753506,-6e-5","id","path7209",2,"fill","none","stroke","#000000","stroke-width","2.95406151","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["id","path7211","d","m 249.26941,240.95462 6e-5,14.78725",2,"fill","none","stroke","#000000","stroke-width","2.95406151","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["id","path7213","cx","317.2731","cy","198.57274","transform","matrix(0.98473974,0.17403345,-0.1732637,0.98487547,0,0)","rx","1.4684811","ry","1.4716377",2,"fill","#040404","fill-opacity","1","stroke","#000000","stroke-width","2.95406199","stroke-linecap","butt","stroke-linejoin","round","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["transform","matrix(0.93944096,0.3427108,-0.34133044,0.93994337,0,0)","cy","137.78685","cx","375.78641","id","circle7219","rx","1.4687726","ry","1.4713458",2,"fill","#040404","fill-opacity","1","stroke","#000000","stroke-width","2.95406342","stroke-linecap","butt","stroke-linejoin","round","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["id","circle7221","cx","457.31314","cy","-9.3075047","transform","matrix(0.7653205,0.64364938,-0.64192532,0.76676716,0,0)","rx","1.4697686","ry","1.4703517",2,"fill","#040404","fill-opacity","1","stroke","#000000","stroke-width","2.95406508","stroke-linecap","butt","stroke-linejoin","round","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["transform","matrix(0.64192538,0.76676711,-0.76532046,0.64364943,0,0)","cy","-91.100418","cx","477.8157","id","circle7223","rx","1.4703517","ry","1.4697686",2,"fill","#040404","fill-opacity","1","stroke","#000000","stroke-width","2.95406508","stroke-linecap","butt","stroke-linejoin","round","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["id","circle7225","cx","475.04779","cy","-258.81723","transform","matrix(0.34133049,0.93994335,-0.93944093,0.34271086,0,0)","rx","1.4713458","ry","1.4687726",2,"fill","#040404","fill-opacity","1","stroke","#000000","stroke-width","2.95406318","stroke-linecap","butt","stroke-linejoin","round","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["transform","matrix(0.1732637,0.98487547,-0.98473974,0.17403346,0,0)","cy","-339.68927","cx","451.80542","id","circle7227","rx","1.4716377","ry","1.4684812",2,"fill","#040404","fill-opacity","1","stroke","#000000","stroke-width","2.95406199","stroke-linecap","butt","stroke-linejoin","round","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["id","circle7229","cx","365.07513","cy","-483.41837","transform","matrix(-0.1732637,0.98487547,-0.98473974,-0.17403346,0,0)","rx","1.4716377","ry","1.4684812",2,"fill","#040404","fill-opacity","1","stroke","#000000","stroke-width","2.95406199","stroke-linecap","butt","stroke-linejoin","round","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["transform","matrix(-0.34133048,0.93994335,-0.93944094,-0.34271083,0,0)","cy","-541.96466","cx","304.2561","id","circle7231","rx","1.4713457","ry","1.4687726",2,"fill","#040404","fill-opacity","1","stroke","#000000","stroke-width","2.95406294","stroke-linecap","butt","stroke-linejoin","round","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["id","circle7233","cx","157.04932","cy","-623.60413","transform","matrix(-0.64192535,0.76676714,-0.7653205,-0.64364938,0,0)","rx","1.4703517","ry","1.4697688",2,"fill","#040404","fill-opacity","1","stroke","#000000","stroke-width","2.95406508","stroke-linecap","butt","stroke-linejoin","round","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["transform","matrix(-0.7653205,0.64364938,-0.64192535,-0.76676714,0,0)","cy","-644.17261","cx","75.19046","id","circle7235","rx","1.4697688","ry","1.4703517",2,"fill","#040404","fill-opacity","1","stroke","#000000","stroke-width","2.95406508","stroke-linecap","butt","stroke-linejoin","round","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["id","circle7237","cx","-92.639015","cy","-641.51727","transform","matrix(-0.93944094,0.34271083,-0.34133048,-0.93994335,0,0)","rx","1.4687726","ry","1.4713457",2,"fill","#040404","fill-opacity","1","stroke","#000000","stroke-width","2.95406294","stroke-linecap","butt","stroke-linejoin","round","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["transform","matrix(-0.98473974,0.17403346,-0.1732637,-0.98487547,0,0)","cy","-618.30792","cx","-173.54405","id","circle7239","rx","1.4684812","ry","1.4716377",2,"fill","#040404","fill-opacity","1","stroke","#000000","stroke-width","2.95406199","stroke-linecap","butt","stroke-linejoin","round","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["id","circle7241","cx","-317.2731","cy","-531.57745","transform","matrix(-0.98473974,-0.17403346,0.1732637,-0.98487547,0,0)","rx","1.4684812","ry","1.4716377",2,"fill","#040404","fill-opacity","1","stroke","#000000","stroke-width","2.95406199","stroke-linecap","butt","stroke-linejoin","round","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["transform","matrix(-0.93944094,-0.34271083,0.34133048,-0.93994335,0,0)","cy","-470.72552","cx","-375.78641","id","circle7243","rx","1.4687726","ry","1.4713457",2,"fill","#040404","fill-opacity","1","stroke","#000000","stroke-width","2.95406294","stroke-linecap","butt","stroke-linejoin","round","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["id","circle7245","cx","-457.3132","cy","-323.40628","transform","matrix(-0.7653205,-0.64364938,0.64192535,-0.76676714,0,0)","rx","1.4697688","ry","1.4703517",2,"fill","#040404","fill-opacity","1","stroke","#000000","stroke-width","2.95406508","stroke-linecap","butt","stroke-linejoin","round","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["transform","matrix(-0.64192535,-0.76676714,0.7653205,-0.64364938,0,0)","cy","-241.48129","cx","-477.81573","id","circle7247","rx","1.4703517","ry","1.4697688",2,"fill","#040404","fill-opacity","1","stroke","#000000","stroke-width","2.95406508","stroke-linecap","butt","stroke-linejoin","round","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["id","circle7249","cx","-475.04776","cy","-73.539139","transform","matrix(-0.34133048,-0.93994335,0.93944094,-0.34271083,0,0)","rx","1.4713457","ry","1.4687726",2,"fill","#040404","fill-opacity","1","stroke","#000000","stroke-width","2.95406294","stroke-linecap","butt","stroke-linejoin","round","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["transform","matrix(-0.1732637,-0.98487547,0.98473974,-0.17403346,0,0)","cy","7.3989258","cx","-451.80542","id","circle7251","rx","1.4716377","ry","1.4684812",2,"fill","#040404","fill-opacity","1","stroke","#000000","stroke-width","2.95406199","stroke-linecap","butt","stroke-linejoin","round","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["id","circle7253","cx","-365.07513","cy","151.12804","transform","matrix(0.1732637,-0.98487547,0.98473974,0.17403346,0,0)","rx","1.4716377","ry","1.4684812",2,"fill","#040404","fill-opacity","1","stroke","#000000","stroke-width","2.95406199","stroke-linecap","butt","stroke-linejoin","round","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["transform","matrix(0.34133049,-0.93994335,0.93944093,0.34271086,0,0)","cy","209.60825","cx","-304.2561","id","circle7255","rx","1.4713458","ry","1.4687726",2,"fill","#040404","fill-opacity","1","stroke","#000000","stroke-width","2.95406318","stroke-linecap","butt","stroke-linejoin","round","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["id","circle7257","cx","-157.04932","cy","291.0224","transform","matrix(0.64192538,-0.76676711,0.76532046,0.64364943,0,0)","rx","1.4703517","ry","1.4697686",2,"fill","#040404","fill-opacity","1","stroke","#000000","stroke-width","2.95406508","stroke-linecap","butt","stroke-linejoin","round","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["transform","matrix(0.7653205,-0.64364938,0.64192532,0.76676716,0,0)","cy","311.45892","cx","-75.19046","id","circle7259","rx","1.4697686","ry","1.4703517",2,"fill","#040404","fill-opacity","1","stroke","#000000","stroke-width","2.95406508","stroke-linecap","butt","stroke-linejoin","round","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["id","circle7261","cx","92.639","cy","308.57849","transform","matrix(0.93944096,-0.3427108,0.34133044,0.93994337,0,0)","rx","1.4687726","ry","1.4713458",2,"fill","#040404","fill-opacity","1","stroke","#000000","stroke-width","2.95406342","stroke-linecap","butt","stroke-linejoin","round","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["transform","matrix(0.98473974,-0.17403345,0.1732637,0.98487547,0,0)","cy","285.3031","cx","173.54404","id","circle7263","rx","1.4684811","ry","1.4716377",2,"fill","#040404","fill-opacity","1","stroke","#000000","stroke-width","2.95406199","stroke-linecap","butt","stroke-linejoin","round","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["id","circle7265","cx","173.54404","cy","285.3031","transform","matrix(0.98473974,-0.17403345,0.1732637,0.98487547,0,0)","rx","1.4684811","ry","1.4716377",2,"fill","#040404","fill-opacity","1","stroke","#000000","stroke-width","2.95406199","stroke-linecap","butt","stroke-linejoin","round","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["r","221.99022","cy","414.70831","cx","250","id","path7341",2,"display","inline","fill","none","fill-opacity","0.80952382","stroke","#000000","stroke-width","6.01955366","stroke-linecap","butt","stroke-linejoin","round","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","0.71794876"],["id","path4120","d","m 249.26947,259.74187 -25.47864,22.43141 h 51.40958 z",2,"display","inline","opacity","0.5","fill","#000000","stroke","none","stroke-width","2.18676066px","stroke-linecap","butt","stroke-linejoin","miter","stroke-opacity","1"],["id","g7661","transform","matrix(1,0,0,0.40619912,-0.01308156,81.255803)"],["y","73.984749","x","49.443867","height","36.007324","width","450.58438","id","rect7491",2,"display","inline","opacity","1","fill","none","fill-opacity","1","stroke","#000000","stroke-width","1.99267745","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["y","74.014343","x","275.45538","height","35.807354","width","142.73141","id","rect7491-8-1-1",2,"display","inline","opacity","1","fill","none","fill-opacity","1","stroke","#000000","stroke-width","2.21205759","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["y","74.014343","x","132.72397","height","35.807354","width","142.73141","id","rect7491-8-1-1-1",2,"display","inline","opacity","1","fill","none","fill-opacity","1","stroke","#000000","stroke-width","2.21205759","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["y","74.014343","x","59.762901","height","35.807354","width","142.73141","id","rect7491-8-1-1-1-0",2,"display","inline","opacity","1","fill","none","fill-opacity","1","stroke","#000000","stroke-width","2.21205759","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["y","74.014343","x","346.97778","height","35.807354","width","142.73141","id","rect7491-8-1-1-1-6",2,"display","inline","opacity","1","fill","none","fill-opacity","1","stroke","#000000","stroke-width","2.21205759","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],[0,"xml","space","preserve","x","196.81769","y","135.53325","id","text7612",1,"apText",2,"font-style","normal","font-variant","normal","font-weight","normal","font-stretch","normal","font-size","10.66666698px","line-height","1.25","font-family","Arial","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-feature-settings","normal","text-align","start","letter-spacing","0px","word-spacing","0px","writing-mode","lr-tb","text-anchor","start","stroke","none"],["id","tspan7610","x","196.81769","y","135.53325"],[0,"xml","space","preserve","x","126.64516","y","135.53325","id","text7616",1,"apText",2,"font-style","normal","font-variant","normal","font-weight","normal","font-stretch","normal","font-size","10.66666698px","line-height","1.25","font-family","Arial","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-feature-settings","normal","text-align","start","letter-spacing","0px","word-spacing","0px","writing-mode","lr-tb","text-anchor","start","stroke","none"],["id","tspan7614","x","126.64516","y","135.53325"],[0,"xml","space","preserve","x","54.179352","y","135.53325","id","text7620",1,"apText",2,"font-style","normal","font-variant","normal","font-weight","normal","font-stretch","normal","font-size","10.66666698px","line-height","1.25","font-family","Arial","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-feature-settings","normal","text-align","start","letter-spacing","0px","word-spacing","0px","writing-mode","lr-tb","text-anchor","start","stroke","none"],["id","tspan7618","x","54.179352","y","135.53325"],[0,"xml","space","preserve","x","341.181","y","135.53325","id","text7612-4",1,"apText",2,"font-style","normal","font-variant","normal","font-weight","normal","font-stretch","normal","font-size","10.66666698px","line-height","1.25","font-family","Arial","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-feature-settings","normal","text-align","start","letter-spacing","0px","word-spacing","0px","writing-mode","lr-tb","text-anchor","start","display","inline","stroke","none"],["id","tspan7610-0","x","341.181","y","135.53325"],[0,"xml","space","preserve","x","413.27536","y","135.53325","id","text7616-8",1,"apText",2,"font-style","normal","font-variant","normal","font-weight","normal","font-stretch","normal","font-size","10.66666698px","line-height","1.25","font-family","Arial","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-feature-settings","normal","text-align","start","letter-spacing","0px","word-spacing","0px","writing-mode","lr-tb","text-anchor","start","display","inline","stroke","none"],["id","tspan7614-7","x","413.27536","y","135.53325"],[0,"xml","space","preserve","x","484.21832","y","135.53325","id","text7620-7",1,"apText",2,"font-style","normal","font-variant","normal","font-weight","normal","font-stretch","normal","font-size","10.66666698px","line-height","1.25","font-family","Arial","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-feature-settings","normal","text-align","start","letter-spacing","0px","word-spacing","0px","writing-mode","lr-tb","text-anchor","start","display","inline","stroke","none"],["id","tspan7618-0","x","484.21832","y","135.53325"],[0,"xml","space","preserve","x","257.13232","y","135.12598","id","text7612-7",1,"apText",2,"font-style","normal","font-variant","normal","font-weight","normal","font-stretch","normal","font-size","10.66666698px","line-height","1.25","font-family","Arial","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-feature-settings","normal","text-align","start","letter-spacing","0px","word-spacing","0px","writing-mode","lr-tb","text-anchor","start","display","inline","stroke","none"],["id","tspan7610-08","x","257.13232","y","135.12598"],[0,"xml","space","preserve","x","131.37558","y","360.30118","id","text7334-7",1,"apText",2,"font-style","normal","font-variant","normal","font-weight","normal","font-stretch","normal","font-size","16px","line-height","1.25","font-family","Arial","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-feature-settings","normal","text-align","start","letter-spacing","0px","word-spacing","0px","writing-mode","lr-tb","text-anchor","start","display","inline","stroke","none"],["id","tspan7332-3","x","131.37558","y","360.30118"],["id","layerWindAngle",2,"display","inline"],["transform","rotate(179.60924,237.62275,95.469746)","id","windAngleIndicator",2,"display","inline"],["transform","matrix(-5.1082345,0,0,-4.5354333,587.61946,139.05361)","id","g7361",1,"app-wind",2,"display","inline","fill-opacity","1"],["d","M 62.243972,4.0584953 A 3.9408352,3.9073367 0 0 1 66.184807,0.15115881 3.9408352,3.9073367 0 0 1 70.125642,4.0584955","id","path7357",1,"app-wind",2,"fill-opacity","1","stroke","#000000","stroke-width","0.30782673","stroke-linecap","butt","stroke-linejoin","round","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["id","path7359","d","m 62.177083,3.96875 3.968749,6.614583 3.96875,-6.614583",1,"app-wind",2,"fill-opacity","1","stroke","#000000","stroke-width","0.26458332px","stroke-linecap","butt","stroke-linejoin","miter","stroke-opacity","1"],["transform","scale(-1.0096233,-0.99046843)","id","text7365","y","-117.71236","x","-247.47594",0,"xml","space","preserve",1,"apText",2,"font-style","normal","font-variant","normal","font-weight","bold","font-stretch","normal","font-size","13.33333302px","line-height","1.25","font-family","Arial","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-feature-settings","normal","text-align","center","letter-spacing","0px","word-spacing","0px","writing-mode","lr-tb","text-anchor","middle","stroke","none","stroke-width","1.02742887"],["id","tspan7417","x","-247.47594","y","-117.71236"],["id","tspan184","x","-247.47594","y","-101.04569"],["transform","rotate(-179.60924)","id","text188","y","-125.73083","x","-374.62845",0,"xml","space","preserve",1,"apText",2,"font-style","normal","font-weight","normal","font-size","40px","line-height","1.25","font-family","sans-serif","letter-spacing","0px","word-spacing","0px","stroke","none"],["y","-89.237617","x","-374.62845","id","tspan186"],["appWindAnimate",""],[1,"apStatusBar"],["apStatusBar",""],[1,"",2,"width","calc((100% - 50px))",3,"innerText"],[1,"activityIcon"],["aria-hidden","true",1,"fa-solid","fa-exchange"],[2,"width","25px"],["aria-hidden","true",1,"fa-solid","fa-exclamation-triangle",2,"color","darkgoldenrod"],[1,"apStencil"],["apStencil",""],[2,"font-weight","bold","opacity","75%"],[2,"opacity","75%"],["aria-hidden","true",1,"fa-solid","fa-power-off"],[1,"apStencil","confirmCommand",3,"innerHTML"],[1,"apStencil","error"],["aria-hidden","true",1,"fa-solid","fa-exclamation-triangle","fa-5x",2,"color","darkgoldenrod","padding-top","15px"],[3,"innerHTML"],["y","-5.63585","x","388.37534","id","tspan7340"]],template:function(e,i){1&e&&(v(0,"div",0)(1,"div",1),_r(),v(2,"svg",2)(3,"defs",3)(4,"linearGradient",4),Y(5,"stop",5),b()(),v(6,"g",6)(7,"g",7),Y(8,"ellipse",8)(9,"ellipse",9)(10,"path",10)(11,"path",11)(12,"path",12)(13,"path",13)(14,"path",14)(15,"path",15)(16,"path",16)(17,"path",17)(18,"path",18)(19,"path",19)(20,"path",20)(21,"path",21)(22,"path",22)(23,"path",23)(24,"path",24)(25,"path",25)(26,"path",26)(27,"path",27)(28,"path",28)(29,"path",29)(30,"path",30)(31,"path",31)(32,"path",32)(33,"path",33),v(34,"text",34)(35,"tspan",35),M(36,"N"),b()(),v(37,"text",36)(38,"tspan",37),M(39,"S"),b()(),v(40,"text",38)(41,"tspan",39),M(42,"E"),b()(),v(43,"text",40)(44,"tspan",41),M(45,"W"),b()(),v(46,"text",42)(47,"tspan",43),M(48,"NE"),b()(),v(49,"text",44)(50,"tspan",45),M(51,"NW"),b()(),v(52,"text",46)(53,"tspan",47),M(54,"SW"),b()(),v(55,"text",48)(56,"tspan",49),M(57,"SE"),b()(),v(58,"text",50)(59,"tspan",51),M(60,"NNE"),b()(),v(61,"text",52)(62,"tspan",53),M(63,"ENE"),b()(),v(64,"text",54)(65,"tspan",55),M(66,"ESE"),b()(),v(67,"text",56)(68,"tspan",57),M(69,"SSE"),b()(),v(70,"text",58)(71,"tspan",59),M(72,"SSW"),b()(),v(73,"text",60)(74,"tspan",61),M(75,"WSW"),b()(),v(76,"text",62)(77,"tspan",63),M(78,"WNW"),b()(),v(79,"text",64)(80,"tspan",65),M(81,"NNW"),b()(),v(82,"text",66)(83,"tspan",67),M(84,"0"),b()(),v(85,"text",68)(86,"tspan",69),M(87,"30"),b()(),v(88,"text",70)(89,"tspan",71),M(90,"60"),b()(),v(91,"text",72)(92,"tspan",73),M(93,"90"),b()(),v(94,"text",74)(95,"tspan",75),M(96,"120"),b()(),v(97,"text",76)(98,"tspan",77),M(99,"150"),b()(),v(100,"text",78)(101,"tspan",79),M(102,"180"),b()(),v(103,"text",80)(104,"tspan",81),M(105,"210"),b()(),v(106,"text",82)(107,"tspan",83),M(108,"240"),b()(),v(109,"text",84)(110,"tspan",85),M(111,"270"),b()(),v(112,"text",86)(113,"tspan",87),M(114,"300"),b()(),v(115,"text",88)(116,"tspan",89),M(117,"330"),b()()(),Y(118,"animateTransform",90,91),b(),v(120,"g",92)(121,"text",93)(122,"tspan",94),M(123,"Mag"),b()(),v(124,"text",95)(125,"tspan",96),M(126),b()(),v(127,"text",97),G(128,spe,2,1,"tspan",98),b()(),v(129,"g",99)(130,"g",100)(131,"text",101)(132,"tspan",102),M(133),b()(),v(134,"text",103)(135,"tspan",104),M(136,"\xb0"),b()()()(),v(137,"g",105)(138,"rect",106),Y(139,"animate",107,108),b(),v(141,"rect",109),Y(142,"animate",107,110),b()(),v(144,"g",111)(145,"g",112)(146,"g",113)(147,"g",114),Y(148,"path",115)(149,"path",116),b(),v(150,"g",117),Y(151,"path",118)(152,"path",119)(153,"path",120)(154,"path",121)(155,"path",122)(156,"path",123)(157,"path",124)(158,"path",125)(159,"path",126)(160,"path",127)(161,"path",128)(162,"path",129)(163,"ellipse",130)(164,"ellipse",131)(165,"ellipse",132)(166,"ellipse",133)(167,"ellipse",134)(168,"ellipse",135)(169,"ellipse",136)(170,"ellipse",137)(171,"ellipse",138)(172,"ellipse",139)(173,"ellipse",140)(174,"ellipse",141)(175,"ellipse",142)(176,"ellipse",143)(177,"ellipse",144)(178,"ellipse",145)(179,"ellipse",146)(180,"ellipse",147)(181,"ellipse",148)(182,"ellipse",149)(183,"ellipse",150)(184,"ellipse",151)(185,"ellipse",152)(186,"ellipse",153)(187,"ellipse",154),b(),Y(188,"circle",155)(189,"path",156),b(),v(190,"g",157),Y(191,"rect",158)(192,"rect",159)(193,"rect",160)(194,"rect",161)(195,"rect",162),b(),v(196,"text",163)(197,"tspan",164),M(198,"10\xb0"),b()(),v(199,"text",165)(200,"tspan",166),M(201,"20\xb0"),b()(),v(202,"text",167)(203,"tspan",168),M(204,"30\xb0"),b()(),v(205,"text",169)(206,"tspan",170),M(207,"10\xb0"),b()(),v(208,"text",171)(209,"tspan",172),M(210,"20\xb0"),b()(),v(211,"text",173)(212,"tspan",174),M(213,"30\xb0"),b()(),v(214,"text",175)(215,"tspan",176),M(216,"Rudder"),b()(),v(217,"text",177)(218,"tspan",178),M(219,"Hdg"),b()()()(),v(220,"g",179)(221,"g",180)(222,"g",181),Y(223,"path",182)(224,"path",183),b(),v(225,"text",184)(226,"tspan",185),M(227,"Wind"),b(),v(228,"tspan",186),M(229,"A"),b()(),v(230,"text",187),Y(231,"tspan",188),b()(),Y(232,"animateTransform",90,189),b()()(),Yo(),v(234,"div",190,191),Y(236,"div",192),v(237,"div",193),Y(238,"i",194),b(),v(239,"div",195),Y(240,"i",196),b()(),v(241,"div",197,198)(243,"p",199),M(244,"OFFLINE"),b(),v(245,"p",200),M(246,"Press "),Y(247,"i",201),M(248," to connect to Signal K server"),b()(),Y(249,"div",202),v(250,"div",203),Y(251,"i",204)(252,"p",205),b()()),2&e&&(I(118),Je("from","-"+i.compassFaceplate.oldDegreeIndicator+" 226 276")("to","-"+i.compassFaceplate.newDegreeIndicator+" 226 276"),I(8),vn(" ",i.apState," "),I(2),R("ngIf","Wind"==i.apState),I(5),Qn(i.headingValue),I(6),Je("from",i.oldRudderStbAngle)("to",i.newRudderStbAngle),I(3),Je("from",i.oldRudderPrtAngle)("to",i.newRudderPrtAngle),I(90),Je("from",i.appWind.oldDegreeIndicator+" 226 276")("to",i.appWind.newDegreeIndicator+" 226 276"),I(4),vr("visibility",i.messageVisibility),R("innerText",i.messageInnerText),I(1),vr("visibility",i.activityIconVisibility),I(2),vr("visibility",i.errorIconVisibility),I(2),R("@fadeInOut",i.isApConnected?"connected":"disconnected"),I(8),vr("visibility",i.msgStencilVisibility),R("innerHTML",i.msgStencilInnerHTML,gw),I(1),vr("visibility",i.errorStencilVisibility),I(2),R("innerHTML",i.errorStencilInnerText,gw))},dependencies:[ui],encapsulation:2,data:{animation:[Pr("fadeInOut",[In("connected",wt({opacity:0})),In("disconnected",wt({opacity:1})),ri("connected => disconnected",[mi(".3s")]),ri("disconnected => connected",[mi("1s")])])]}}),t})();const lpe=["powerBtn"],cpe=["stbTackBtn"],upe=["plus1Btn"],dpe=["minus1Btn"],hpe=["prtTackBtn"],fpe=["standbyBtn"],ppe=["plus10Btn"],mpe=["minus10Btn"],gpe=["autoBtn"],_pe=["windModeBtn"],vpe=["trackModeBtn"],bpe=["muteBtn"],ype=["messageBtn"],wpe=["appSvgAutopilot"];function Cpe(t,n){1&t&&Y(0,"i",51)}function Spe(t,n){1&t&&Y(0,"i",52)}function xpe(t,n){1&t&&Y(0,"span",53),2&t&&hc("matBadge",re().alarmsCount)}const kpe={wind:"windAngleApparent",route:"headingMag",auto:"headingMag",standby:"headingMag"},$5={auto:{path:"self.steering.autopilot.state",value:"auto"},wind:{path:"self.steering.autopilot.state",value:"wind"},route:{path:"self.steering.autopilot.state",value:"route"},standby:{path:"self.steering.autopilot.state",value:"standby"},"+1":{path:"self.steering.autopilot.actions.adjustHeading",value:1},"+10":{path:"self.steering.autopilot.actions.adjustHeading",value:10},"-1":{path:"self.steering.autopilot.actions.adjustHeading",value:-1},"-10":{path:"self.steering.autopilot.actions.adjustHeading",value:-10},tackToPort:{path:"self.steering.autopilot.actions.tack",value:"port"},tackToStarboard:{path:"self.steering.autopilot.actions.tack",value:"starboard"},advanceWaypoint:{path:"self.steering.autopilot.actions.advanceWaypoint",value:"1"}};let Mpe=(()=>{class t extends _o{constructor(e,i){super(),this.signalkRequestsService=e,this.widgetManagerService=i,this.currentAPState=null,this.currentAPTargetAppWind=0,this.currentHeading=0,this.currentAppWindAngle=null,this.currentRudder=null,this.skApNotificationSub=new Z,this.skRequestSub=new Z,this.handleCountDownCounterTimeout=null,this.handleConfirmActionTimeout=null,this.handleMessageTimeout=null,this.handleReceiveTimeout=null,this.handleDisplayErrorTimeout=null,this.countDownValue=0,this.actionToBeConfirmed="",this.skPathToAck="",this.preferedDisplayMode=kpe,this.isWChecked=!1,this.isTChecked=!1,this.isApConnected=!1,this.notificationsArray={},this.alarmsCount=0,this.notificationTest={},this.defaultConfig={displayName:"N2k Autopilot",filterSelfPaths:!0,paths:{apState:{description:"Autopilot State",path:"self.steering.autopilot.state",source:"default",pathType:"string",isPathConfigurable:!1,convertUnitTo:"",sampleTime:500},apTargetHeadingMag:{description:"Autopilot Target Heading Mag",path:"self.steering.autopilot.target.headingMagnetic",source:"default",pathType:"number",convertUnitTo:"deg",isPathConfigurable:!0,sampleTime:500},apTargetWindAngleApp:{description:"Autopilot Target Wind Angle Apparent",path:"self.steering.autopilot.target.windAngleApparent",source:"default",pathType:"number",convertUnitTo:"deg",isPathConfigurable:!0,sampleTime:500},apNotifications:{description:"Autopilot Notifications",path:"self.notifications.autopilot.*",source:"default",pathType:"string",convertUnitTo:"",isPathConfigurable:!1,sampleTime:500},headingMag:{description:"Heading Magnetic",path:"self.navigation.headingMagnetic",source:"default",pathType:"number",convertUnitTo:"deg",isPathConfigurable:!0,sampleTime:500},headingTrue:{description:"Heading True",path:"self.navigation.headingTrue",source:"default",pathType:"number",convertUnitTo:"deg",isPathConfigurable:!0,sampleTime:500},windAngleApparent:{description:"Wind Angle Apparent",path:"self.environment.wind.angleApparent",source:"default",pathType:"number",convertUnitTo:"deg",isPathConfigurable:!0,sampleTime:500},windAngleTrueWater:{description:"Wind Angle True Water",path:"self.environment.wind.angleTrueWater",source:"default",pathType:"number",convertUnitTo:"deg",isPathConfigurable:!0,sampleTime:500},rudderAngle:{description:"Rudder Angle",path:"self.steering.rudderAngle",source:"default",pathType:"number",convertUnitTo:"deg",isPathConfigurable:!0,sampleTime:500}},usage:{headingMag:["wind","route","auto","standby"],headingTrue:["wind","route","auto","standby"],windAngleApparent:["wind"],windAngleTrueWater:["wind"]},typeVal:{headingMag:"Mag",headingTrue:"True",windAngleApparent:"AWA",windAngleTrueWater:"TWA"},barColor:"accent",autoStart:!1}}ngOnInit(){this.widgetProperties.config.autoStart&&setTimeout(()=>{this.startApHead()})}demoMode(){}ngOnDestroy(){this.unsubscribeDataStream(),this.unsubscribeSKRequest(),this.unsubscribeAPNotification(),console.log("Autopilot Subs Stopped")}startAllSubscriptions(){this.observeDataStream("apState",e=>{this.currentAPState=e.value,this.SetKeyboardMode(this.currentAPState)}),this.observeDataStream("headingMag",e=>{this.currentHeading=null===e.value?0:e.value}),this.observeDataStream("windAngleApparent",e=>{this.currentAppWindAngle=null!==e.value?e.value<0?360+e.value:e.value:null}),this.observeDataStream("rudderAngle",e=>{this.currentRudder=null===e.value?0:e.value}),this.observeDataStream("apTargetWindAngleApp",e=>{this.currentAPTargetAppWind=null===e.value?0:e.value}),this.subscribeSKRequest(),this.subscribeAPNotification(),console.log("Autopilot Subs Started")}stopAllSubscriptions(){this.unsubscribeDataStream(),this.unsubscribeSKRequest(),this.unsubscribeAPNotification(),console.log("Autopilot Subs Stopped")}subscribeAPNotification(){"string"==typeof this.widgetProperties.config.paths.apNotifications.path&&(this.skApNotificationSub=this.signalKService.subscribePath(this.widgetProperties.uuid,this.widgetProperties.config.paths.apNotifications.path,this.widgetProperties.config.paths.apNotifications.source).subscribe(e=>{null==!e.value&&(this.setNotificationMessage(e.value),console.log(e.value))}))}unsubscribeAPNotification(){null!==this.skApNotificationSub&&(this.skApNotificationSub.unsubscribe(),this.skApNotificationSub=null,this.signalKService.unsubscribePath(this.widgetProperties.uuid,this.widgetProperties.config.paths.apNotifications.path))}subscribeSKRequest(){this.skRequestSub=this.signalkRequestsService.subscribeRequest().subscribe(e=>{e.widgetUUID==this.widgetProperties.uuid&&this.commandReceived(e)})}unsubscribeSKRequest(){null!==this.skRequestSub&&(this.skRequestSub.unsubscribe(),this.skRequestSub=null)}addHeading(e,i){let r=e+i;for(;r>359;)r-=359;for(;r<0;)r+=359;return r}powerBtnClick(e){this.isApConnected?this.stopApHead():this.startApHead()}startApHead(){this.startAllSubscriptions(),this.widgetProperties.config.autoStart=!0,this.widgetManagerService.updateWidgetConfig(this.widgetProperties.uuid,this.widgetProperties.config),this.isApConnected=!0,this.muteBtn.disabled=!0,this.messageBtn.disabled=!1}stopApHead(){this.muteBtn.disabled=!0,this.messageBtn.disabled=!0,this.windModeBtn.disabled=!0,this.trackModeBtn.disabled=!0,this.autoBtn.disabled=!0,this.standbyBtn.disabled=!0,this.plus1Btn.disabled=!0,this.plus10Btn.disabled=!0,this.minus1Btn.disabled=!0,this.minus10Btn.disabled=!0,this.prtTackBtn.disabled=!0,this.stbTackBtn.disabled=!0,this.apScreen.errorIconVisibility="hidden",this.isApConnected=!1,this.stopAllSubscriptions(),this.widgetProperties.config.autoStart=!1,this.widgetManagerService.updateWidgetConfig(this.widgetProperties.uuid,this.widgetProperties.config)}SetKeyboardMode(e){switch(e){case"standby":this.trackModeBtn.disabled=!0,this.autoBtn.disabled=!1,this.standbyBtn.disabled=!1,this.windModeBtn.disabled=!1,this.plus1Btn.disabled=!0,this.plus10Btn.disabled=!0,this.minus1Btn.disabled=!0,this.minus10Btn.disabled=!0,this.prtTackBtn.disabled=!0,this.stbTackBtn.disabled=!0;break;case"auto":this.trackModeBtn.disabled=!1,this.autoBtn.disabled=!1,this.standbyBtn.disabled=!1,this.windModeBtn.disabled=!1,this.plus1Btn.disabled=!1,this.plus10Btn.disabled=!1,this.minus1Btn.disabled=!1,this.minus10Btn.disabled=!1,this.prtTackBtn.disabled=!0,this.stbTackBtn.disabled=!0;break;case"wind":this.trackModeBtn.disabled=!0,this.autoBtn.disabled=!1,this.standbyBtn.disabled=!1,this.windModeBtn.disabled=!1,this.plus1Btn.disabled=!1,this.plus10Btn.disabled=!1,this.minus1Btn.disabled=!1,this.minus10Btn.disabled=!1,this.prtTackBtn.disabled=!1,this.stbTackBtn.disabled=!1;break;case"route":this.trackModeBtn.disabled=!1,this.autoBtn.disabled=!1,this.standbyBtn.disabled=!1,this.windModeBtn.disabled=!0,this.plus1Btn.disabled=!0,this.plus10Btn.disabled=!0,this.minus1Btn.disabled=!0,this.minus10Btn.disabled=!0,this.prtTackBtn.disabled=!0,this.stbTackBtn.disabled=!0}}buildAndSendCommand(e){let i=$5[e];return typeof i>"u"?(alert("Unknown Autopilot command: "+e),null):(""!==this.actionToBeConfirmed&&this.actionToBeConfirmed!==e&&this.clearConfirmCmd(),"tackToPort"!==e&&"tackToStarboard"!==e||""!==this.actionToBeConfirmed?"route"===e&&"route"===this.currentAPState&&""===this.actionToBeConfirmed?(this.confirmAdvanceWaypoint(e),null):this.actionToBeConfirmed===e?(this.clearConfirmCmd(),("tackToPort"===e||"tackToStarboard"===e)&&this.sendCommand(i),"route"===e&&"route"===this.currentAPState&&this.sendCommand($5.advanceWaypoint),null):void this.sendCommand(i):(this.confirmTack(e),null))}confirmAdvanceWaypoint(e){this.startConfirmCmd(e,"Repeat key [Next Wpt]
to confirm
Advance Waypoint")}confirmTack(e){let i="Repeat same key
to confirm
tack to ";if("tackToPort"===e)i+="port",this.actionToBeConfirmed=e;else{if("tackToStarboard"!==e)return this.actionToBeConfirmed="",null;i+="starboard",this.actionToBeConfirmed=e}this.startConfirmCmd(e,i)}sendCommand(e){this.signalkRequestsService.putRequest(e.path,e.value,this.widgetProperties.uuid),this.apScreen.activityIconVisibility="visible",setTimeout(()=>{this.apScreen.activityIconVisibility="hidden"},250),console.log("AP Action:\n"+JSON.stringify(e))}commandReceived(e){this.apScreen.activityIconVisibility="visible",clearTimeout(this.handleReceiveTimeout),this.handleReceiveTimeout=setTimeout(()=>{this.apScreen.activityIconVisibility="hidden"},250),200!=e.statusCode?this.displayApError(e):console.log("AP Received: \n"+JSON.stringify(e))}startConfirmCmd(e,i){this.countDownValue=5,this.actionToBeConfirmed=e,this.apScreen.msgStencilInnerHTML="

"+i+"

",this.apScreen.msgStencilVisibility="visible",this.updateCountDownCounter(i),clearTimeout(this.handleConfirmActionTimeout),this.handleConfirmActionTimeout=setTimeout(()=>{this.apScreen.msgStencilVisibility="hidden",this.apScreen.msgStencilInnerHTML="",this.actionToBeConfirmed=""},5e3)}clearConfirmCmd(){return clearTimeout(this.handleConfirmActionTimeout),clearTimeout(this.handleCountDownCounterTimeout),this.countDownValue=-1,this.apScreen.msgStencilVisibility="hidden",this.apScreen.msgStencilInnerHTML="",this.actionToBeConfirmed="",null}updateCountDownCounter(e){this.countDownValue>0?(clearTimeout(this.handleCountDownCounterTimeout),this.apScreen.msgStencilInnerHTML="

"+e+"

"+this.countDownValue.toString()+"

",this.countDownValue-=1,this.handleCountDownCounterTimeout=setTimeout(()=>{this.updateCountDownCounter(e)},1e3)):clearTimeout(this.handleCountDownCounterTimeout)}displayApError(e){let i=e.statusCode+" - "+e.statusCodeDescription;e.message&&(i=i+" Server Message: "+e.message),this.apScreen.errorStencilInnerText=i,this.apScreen.errorStencilVisibility="visible",clearTimeout(this.handleDisplayErrorTimeout),this.handleDisplayErrorTimeout=setTimeout(()=>{this.apScreen.errorStencilVisibility="hidden",this.apScreen.errorStencilInnerText=""},6e3),this.apScreen.errorIconVisibility="visible"}getNextNotification(e){let i=Object.keys(this.notificationsArray),r="",o=0;return i.length>0&&(o=typeof e<"u"?i.indexOf(e)+1:0,i.length<=o&&(o=0),r=i[o]),r}setNotificationMessage(e){this.apScreen.activityIconVisibility="visible",clearTimeout(this.handleReceiveTimeout),this.handleReceiveTimeout=setTimeout(()=>{this.apScreen.activityIconVisibility="hidden"},250),typeof e.path<"u"&&(e.path=e.path.replace("notifications.",""),typeof e.value<"u"&&("normal"===e.value.state?(this.apScreen.messageInnerText===this.notificationsArray[e.path]&&(this.apScreen.messageInnerText=""),delete this.notificationsArray[e.path]):(this.notificationsArray[e.path]=e.value.message.replace("Pilot",""),this.apScreen.messageInnerText=this.notificationsArray[e.path]))),this.alarmsCount=Object.keys(this.notificationsArray).length,this.alarmsCount>0?(this.muteBtn.disabled=!1,""==this.apScreen.messageInnerText&&(this.apScreen.messageInnerText=Object.keys(this.notificationsArray)[0])):(this.muteBtn.disabled=!0,this.alarmsCount=0,this.apScreen.messageInnerText="")}notificationToValue(e){let i=this.notificationsArray[e];return typeof i>"u"&&(i="No alarm present..."),i}notificationScroll(){Object.keys(this.notificationsArray).length>0&&""==this.skPathToAck&&(this.skPathToAck=Object.keys(this.notificationsArray)[0]),this.skPathToAck=this.getNextNotification(this.skPathToAck),this.apScreen.messageInnerText=this.notificationToValue(this.skPathToAck),this.apScreen.messageVisibility="visible",clearTimeout(this.handleMessageTimeout),this.handleMessageTimeout=setTimeout(()=>{this.apScreen.messageInnerText="",this.apScreen.messageVisibility="hidden"},2e3)}sendSilence(){"visible"!=this.apScreen.messageVisibility?(this.apScreen.messageVisibility="visible",Object.keys(this.notificationsArray).length>0&&""==this.skPathToAck&&(this.skPathToAck=Object.keys(this.notificationsArray)[0])):(""!==this.skPathToAck&&this.sendCommand({path:"notifications."+this.skPathToAck+".state",value:"normal"}),this.apScreen.messageVisibility="hidden"),this.apScreen.messageInnerText=this.notificationToValue(this.skPathToAck)}}return t.\u0275fac=function(e){return new(e||t)(D(qk),D(qb))},t.\u0275cmp=Pe({type:t,selectors:[["app-widget-autopilot"]],viewQuery:function(e,i){if(1&e&&(Oe(lpe,5),Oe(cpe,5),Oe(upe,5),Oe(dpe,5),Oe(hpe,5),Oe(fpe,5),Oe(ppe,5),Oe(mpe,5),Oe(gpe,5),Oe(_pe,5),Oe(vpe,5),Oe(bpe,5),Oe(ype,5),Oe(wpe,5)),2&e){let r;ue(r=de())&&(i.powerBtn=r.first),ue(r=de())&&(i.stbTackBtn=r.first),ue(r=de())&&(i.plus1Btn=r.first),ue(r=de())&&(i.minus1Btn=r.first),ue(r=de())&&(i.prtTackBtn=r.first),ue(r=de())&&(i.standbyBtn=r.first),ue(r=de())&&(i.plus10Btn=r.first),ue(r=de())&&(i.minus10Btn=r.first),ue(r=de())&&(i.autoBtn=r.first),ue(r=de())&&(i.windModeBtn=r.first),ue(r=de())&&(i.trackModeBtn=r.first),ue(r=de())&&(i.muteBtn=r.first),ue(r=de())&&(i.messageBtn=r.first),ue(r=de())&&(i.apScreen=r.first)}},features:[we],decls:63,vars:10,consts:[[1,"autopilotWidget",3,"id"],["autopilot",""],[1,"headerAutopilot"],[1,"apTitle"],[1,"apPower"],["mat-flat-button","","color","primary","id","powerBtn","disabled","false",1,"powerBtn",3,"click"],["powerBtn",""],["aria-hidden","true",1,"fa-solid","fa-power-off"],[3,"compassHeading","appWindAngle","rudderAngle","apState","apTargetAppWindAngle","isApConnected"],["appSvgAutopilot",""],[1,"autopilotGridBtnContainer"],[1,"itemStbTack"],["type","button","mat-flat-button","","color","accent","id","stbTackBtn","disabled","true",1,"autoPilotBtn",3,"click"],["stbTackBtn",""],[1,"itemPlus1"],["type","button","mat-flat-button","","color","accent","id","plus1Btn","disabled","true",1,"autoPilotBtn",3,"click"],["plus1Btn",""],[1,"itemMinus1"],["type","button","mat-flat-button","","color","accent","id","minus1Btn","disabled","true",1,"autoPilotBtn",3,"click"],["minus1Btn",""],[1,"itemPrtTack"],["type","button","mat-flat-button","","color","accent","id","prtTackBtn","disabled","true",1,"autoPilotBtn",3,"click"],["prtTackBtn",""],[1,"itemStandby"],["type","button","mat-flat-button","","color","warn","id","standbyBtn","disabled","true",1,"autoPilotBtn",3,"click"],["standbyBtn",""],[1,"itemPlus10"],["type","button","mat-flat-button","","color","accent","id","plus10Btn","disabled","true",1,"autoPilotBtn",3,"click"],["plus10Btn",""],[1,"itemMinus10"],["type","button","mat-flat-button","","color","accent","id","minus10Btn","disabled","true",1,"autoPilotBtn",3,"click"],["minus10Btn",""],[1,"itemAuto"],["type","button","mat-flat-button","","color","warn","id","autoBtn","disabled","true",1,"autoPilotBtn",3,"click"],["autoBtn",""],[1,"itemWindmode"],["type","button","mat-flat-button","","color","warn","id","windModeBtn","disabled","true",1,"autoPilotBtn",3,"click"],["windModeBtn",""],[1,"itemTrackmode"],["type","button","mat-flat-button","","color","primary","id","trackModeBtn","disabled","true",1,"autoPilotBtn",3,"click"],["trackModeBtn",""],[1,"itemMute"],["type","button","mat-mini-fab","","color","primary","id","muteBtn","disabled","true",1,"autoPilotBtnCtrl",3,"click"],["muteBtn",""],["class","fa-solid fa-bell-slash","aria-hidden","true",4,"ngIf"],["class","fa-solid fa-bell","aria-hidden","true",4,"ngIf"],[1,"itemMessage"],["type","button","mat-mini-fab","","color","primary","id","messageBtn","disabled","true",1,"autoPilotBtnCtrl",3,"click"],["messageBtn",""],["aria-hidden","true",1,"fa-solid","fa-envelope"],["matBadgeColor","warn","matBadgeSize","medium","matBadgeHidden","false","matBadgeOverlap","false",3,"matBadge",4,"ngIf"],["aria-hidden","true",1,"fa-solid","fa-bell-slash"],["aria-hidden","true",1,"fa-solid","fa-bell"],["matBadgeColor","warn","matBadgeSize","medium","matBadgeHidden","false","matBadgeOverlap","false",3,"matBadge"]],template:function(e,i){1&e&&(v(0,"div",0,1)(2,"div",2)(3,"div",3)(4,"span"),M(5,"N2K Autopilot"),b()(),v(6,"div",4)(7,"button",5,6),ne("click",function(o){return i.powerBtnClick(o)}),Y(9,"i",7),b()()(),Y(10,"app-svg-autopilot",8,9),v(12,"div",10)(13,"div",11)(14,"button",12,13),ne("click",function(){return i.buildAndSendCommand("tackToStarboard")}),M(16,"Std Tack"),b()(),v(17,"div",14)(18,"button",15,16),ne("click",function(){return i.buildAndSendCommand("+1")}),M(20,"+1\xb0"),b()(),v(21,"div",17)(22,"button",18,19),ne("click",function(){return i.buildAndSendCommand("-1")}),M(24,"-1\xb0"),b()(),v(25,"div",20)(26,"button",21,22),ne("click",function(){return i.buildAndSendCommand("tackToPort")}),M(28,"Prt Tack"),b()(),v(29,"div",23)(30,"button",24,25),ne("click",function(){return i.buildAndSendCommand("standby")}),M(32,"Standby"),b()(),v(33,"div",26)(34,"button",27,28),ne("click",function(){return i.buildAndSendCommand("+10")}),M(36,"+10\xb0"),b()(),v(37,"div",29)(38,"button",30,31),ne("click",function(){return i.buildAndSendCommand("-10")}),M(40,"-10\xb0"),b()(),v(41,"div",32)(42,"button",33,34),ne("click",function(){return i.buildAndSendCommand("auto")}),M(44,"Auto"),b()(),v(45,"div",35)(46,"button",36,37),ne("click",function(){return i.buildAndSendCommand("wind")}),M(48,"Wind"),b()(),v(49,"div",38)(50,"button",39,40),ne("click",function(){return i.buildAndSendCommand("route")}),M(52,"Route"),b()(),v(53,"div",41)(54,"button",42,43),ne("click",function(){return i.sendSilence()}),G(56,Cpe,1,0,"i",44),G(57,Spe,1,0,"i",45),b()(),v(58,"div",46)(59,"button",47,48),ne("click",function(){return i.notificationScroll()}),Y(61,"span",49),G(62,xpe,1,1,"span",50),b()()()()),2&e&&(hc("id",i.widgetProperties.uuid),I(10),R("compassHeading",i.currentHeading)("appWindAngle",i.currentAppWindAngle)("rudderAngle",i.currentRudder)("apState",i.currentAPState)("apTargetAppWindAngle",i.currentAPTargetAppWind)("isApConnected",i.isApConnected),I(46),R("ngIf",i.alarmsCount),I(1),R("ngIf",!i.alarmsCount),I(5),R("ngIf",i.alarmsCount))},dependencies:[ui,Ji,SF,ape],encapsulation:2}),t})();const Tpe=["gaugeBarAnimate"];let Epe=(()=>{class t{constructor(){this.newGaugeValue=1,this.oldGaugeValue=1}ngOnChanges(e){if(e.dataValue&&(e.dataValue.firstChange||(this.dataValue=e.dataValue.currentValue)),e.gaugeValue&&!e.gaugeValue.firstChange){let r=195/(this.gaugeMaxValue-this.gaugeMinValue);this.oldGaugeValue=this.newGaugeValue,this.newGaugeValue=(e.gaugeValue.currentValue-this.gaugeMinValue)*r,this.gaugeBarAnimate.nativeElement.beginElement()}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Pe({type:t,selectors:[["svg-simple-linear-gauge"]],viewQuery:function(e,i){if(1&e&&Oe(Tpe,7),2&e){let r;ue(r=de())&&(i.gaugeBarAnimate=r.first)}},inputs:{displayName:"displayName",dataValue:"dataValue",unitLabel:"unitLabel",barColor:"barColor",barColorGradient:"barColorGradient",barColorBackground:"barColorBackground",gaugeValue:"gaugeValue",gaugeMinValue:"gaugeMinValue",gaugeMaxValue:"gaugeMaxValue"},features:[Tn],decls:24,vars:13,consts:[[0,"xmlns","osb","http://www.openswatchbook.org/uri/2009/osb",0,"xmlns","dc","http://purl.org/dc/elements/1.1/",0,"xmlns","cc","http://creativecommons.org/ns#",0,"xmlns","rdf","http://www.w3.org/1999/02/22-rdf-syntax-ns#",0,"xmlns","svg","http://www.w3.org/2000/svg","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink","height","100%","width","100%","viewBox","0 0 205 50","version","1.1","id","svg8"],["id","defs2"],["id","gaugeBarGradient"],["id","stop849","offset","0",2,"stop-opacity","1"],["id","stop851","offset","0.40",2,"stop-opacity","0"],["gradientTransform","translate(5,-30)","gradientUnits","userSpaceOnUse","y2","34.5","x2","-5","y1","34.5","x1","-6","id","linearGradient855",0,"xlink","href","#gaugeBarGradient"],["id","layer1",2,"display","inline"],["id","GaugeBackground","width","195","height","9","x","5","y","30","ry","0",2,"opacity","1","fill-opacity","1","stroke","none","stroke-width","0.265899","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["id","gaugeBar"],["id","gaugeValue","width","1","height","9","x","0","y","0","ry","0",2,"mix-blend-mode","normal","fill-opacity","1","stroke-width","0.0864229"],["id","GaugeValueGradient","transform","scale(-1,1)","width","1","height","9","x","-1","y","0","ry","0",2,"display","inline","opacity","0.38141","mix-blend-mode","multiply","fill","url(#linearGradient855)","fill-opacity","1","stroke-width","0.0864229"],[0,"xlink","href","#gaugeBar","transform","translate(5,30)"],["attributeName","transform","type","scale","begin","indefinite","dur","0.5s","additive","sum","fill","freeze"],["gaugeBarAnimate",""],["id","layer2",2,"display","inline"],[0,"xml","space","preserve","x","4.1731763","y","25.413595","id","displayNameText",1,"simpleLinear-text",2,"font-style","normal","font-variant","normal","font-weight","bold","font-stretch","normal","font-size","12.7px","line-height","1.25","font-family","Arial","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-variant-east-asian","normal","letter-spacing","0px","word-spacing","0px"],["id","tspan1945","x","4.1731763","y","25.413595",2,"font-style","normal","font-variant","normal","font-weight","bold","font-stretch","normal","font-size","12.7px","font-family","Arial","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-variant-east-asian","normal"],["text-anchor","end","id","gaugeTexts","y","25.293016","x","200.37138",0,"xml","space","preserve",1,"simpleLinear-text",2,"font-style","normal","font-variant","normal","font-weight","bold","font-stretch","normal","font-size","22.5778px","line-height","1.25","font-family","Arial","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-variant-east-asian","normal","letter-spacing","0px","word-spacing","0px"],["y","25.293016","x","200.37138","id","valueText",2,"font-style","normal","font-variant","normal","font-weight","bold","font-stretch","normal","font-size","22.5778px","font-family","Arial","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-variant-east-asian","normal"],["dy","-9","id","unitText",2,"text-transform","capitalize","font-size","9.87778px"]],template:function(e,i){1&e&&(_r(),v(0,"svg",0)(1,"defs",1)(2,"linearGradient",2),Y(3,"stop",3)(4,"stop",4),b(),Y(5,"linearGradient",5),b(),v(6,"g",6),Y(7,"rect",7),v(8,"defs")(9,"g",8),Y(10,"rect",9)(11,"rect",10),b()(),v(12,"use",11),Y(13,"animateTransform",12,13),b()(),v(15,"g",14)(16,"text",15)(17,"tspan",16),M(18),b()(),v(19,"text",17)(20,"tspan",18),M(21),b(),v(22,"tspan",19),M(23),b()()()()),2&e&&(I(3),vr("stop-color",i.barColorGradient),I(1),vr("stop-color",i.barColorGradient),I(3),vr("fill",i.barColorBackground),I(5),vr("fill",i.barColor),I(1),Je("from",i.oldGaugeValue+" 1")("to",i.newGaugeValue+" 1"),I(5),Qn(i.displayName),I(3),Qn(i.dataValue),I(2),Qn(i.unitLabel))},encapsulation:2}),t})(),Ape=(()=>{class t extends _o{constructor(){super(),this.unitsLabel="",this.dataLabelValue="0",this.dataValue=0,this.barColor="",this.barColorGradient="",this.barColorBackground="",this.defaultConfig={displayName:"Gauge Label",filterSelfPaths:!0,paths:{gaugePath:{description:"Numeric Data",path:null,source:null,pathType:"number",isPathConfigurable:!0,convertUnitTo:"V",sampleTime:500}},minValue:0,maxValue:15,numInt:1,numDecimal:2,gaugeType:"simpleLinear",gaugeUnitLabelFormat:"full",barColor:"accent"}}ngOnInit(){this.unitsLabel="abr"==this.widgetProperties.config.gaugeUnitLabelFormat?this.widgetProperties.config.paths.gaugePath.convertUnitTo.substr(0,1):this.widgetProperties.config.paths.gaugePath.convertUnitTo,this.observeDataStream("gaugePath",e=>{null!=e.value&&(e.value=this.formatWidgetNumberValue(e.value),this.dataValue=e.value,this.dataLabelValue=e.value.padStart(0!=this.widgetProperties.config.numDecimal?this.widgetProperties.config.numInt+1+this.widgetProperties.config.numDecimal:this.widgetProperties.config.numInt,"0"))})}ngOnChanges(e){e.theme&&this.updateGaugeSettings()}updateGaugeSettings(){switch(this.barColorBackground=this.theme.background,this.widgetProperties.config.barColor){case"primary":this.barColor=this.theme.primary,this.barColorGradient=this.theme.primaryDark;break;case"accent":this.barColor=this.theme.accent,this.barColorGradient=this.theme.accentDark;break;case"warn":this.barColor=this.theme.warn,this.barColorGradient=this.theme.warnDark}}ngOnDestroy(){this.unsubscribeDataStream()}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Pe({type:t,selectors:[["app-widget-simple-linear"]],features:[we,Tn],decls:19,vars:10,consts:[[1,"simpleLinearWidget",2,"margin","0px","padding","0px","width","100%","height","100%",3,"id"],["simpleLinear",""],[1,"simpleLinearGauge",3,"displayName","unitLabel","dataValue","barColor","barColorGradient","barColorBackground","gaugeValue","gaugeMaxValue","gaugeMinValue"],[1,"primary",2,"display","none"],["primary",""],[1,"accent",2,"display","none"],["accent",""],[1,"warn",2,"display","none"],["warn",""],[1,"primaryDark",2,"display","none"],["primaryDark",""],[1,"accentDark",2,"display","none"],["accentDark",""],[1,"warnDark",2,"display","none"],["warnDark",""],[1,"background",2,"display","none"],["background",""],[1,"text",2,"display","none"],["text",""]],template:function(e,i){1&e&&(v(0,"div",0,1),Y(2,"svg-simple-linear-gauge",2)(3,"div",3,4)(5,"div",5,6)(7,"div",7,8)(9,"div",9,10)(11,"div",11,12)(13,"div",13,14)(15,"div",15,16)(17,"div",17,18),b()),2&e&&(hc("id",i.widgetProperties.uuid),I(2),R("displayName",i.widgetProperties.config.displayName)("unitLabel",i.unitsLabel)("dataValue",i.dataLabelValue)("barColor",i.barColor)("barColorGradient",i.barColorGradient)("barColorBackground",i.barColorBackground)("gaugeValue",i.dataLabelValue)("gaugeMaxValue",i.widgetProperties.config.maxValue)("gaugeMinValue",i.widgetProperties.config.minValue))},dependencies:[Epe],styles:[".simpleLinearGauge[_ngcontent-%COMP%]{display:block;position:relative;border:none;margin:0;padding:5px 0;width:100%;height:100%}"]}),t})(),G5=(()=>{class t{constructor(){this.kipTimers={}}createTimer(e,i,r){return e in this.kipTimers||(this.kipTimers[e]={currentValue:new An(i),timeoutID:null,intervalMS:r}),this.kipTimers[e].currentValue.asObservable()}startTimer(e){!this.kipTimers.hasOwnProperty(e)||null===this.kipTimers[e].timeoutID&&(this.kipTimers[e].timeoutID=setInterval(()=>{this.kipTimers[e].currentValue.next(this.kipTimers[e].currentValue.value+1)},this.kipTimers[e].intervalMS))}stopTimer(e){!this.kipTimers.hasOwnProperty(e)||null!==this.kipTimers[e].timeoutID&&(clearInterval(this.kipTimers[e].timeoutID),this.kipTimers[e].timeoutID=null)}setTimer(e,i){!this.kipTimers.hasOwnProperty(e)||this.kipTimers[e].currentValue.next(i)}deleteTimer(e){!this.kipTimers.hasOwnProperty(e)||(this.stopTimer(e),delete this.kipTimers[e])}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ee({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const Ope=["canvasEl"],Ipe=["canvasBG"],Ppe=["raceTimerWrapperDiv"],Rpe=["warn"],Fpe=["warncontrast"];function Npe(t,n){if(1&t){const e=Zn();v(0,"button",15),ne("click",function(){return ut(e),lt(re().startTimer())}),M(1," Start "),b()}}function Lpe(t,n){if(1&t){const e=Zn();v(0,"button",15),ne("click",function(){return ut(e),lt(re().pauseTimer())}),M(1," Pause "),b()}}let Bpe=(()=>{class t extends _o{constructor(e){super(),this.TimersService=e,this.dataValue=null,this.IZoneState=null,this.currentValueLength=0,this.valueFontSize=1,this.flashOn=!1,this.timerRunning=!1,this.timerSub=null,this.defaultConfig={timerLength:300}}ngOnInit(){this.subscribeTimer(),this.canvasCtx=this.canvasEl.nativeElement.getContext("2d"),this.canvasBGCtx=this.canvasBG.nativeElement.getContext("2d")}ngOnDestroy(){this.unsubscribeTimer(),this.flashInterval&&(clearInterval(this.flashInterval),this.flashInterval=null)}ngAfterViewChecked(){this.resizeWidget()}resizeWidget(){let e=this.wrapperDiv.nativeElement.getBoundingClientRect();e.height<50||e.width<50||(this.canvasEl.nativeElement.width!=Math.floor(e.width)||this.canvasEl.nativeElement.height!=Math.floor(e.height))&&(this.canvasEl.nativeElement.width=Math.floor(e.width),this.canvasEl.nativeElement.height=Math.floor(e.height),this.canvasBG.nativeElement.width=Math.floor(e.width),this.canvasBG.nativeElement.height=Math.floor(e.height),this.currentValueLength=0,this.updateCanvas(),this.updateCanvasBG())}subscribeTimer(){this.unsubscribeTimer(),this.timerSub=this.TimersService.createTimer("race",-3e3,100).subscribe(i=>{this.dataValue=i,this.IZoneState=i>0?gi.normal:i>-100?gi.alarm:i>-300?gi.warning:gi.normal,this.IZoneState!=gi.alarm||this.flashInterval?this.IZoneState!=gi.alarm&&this.flashInterval&&(clearInterval(this.flashInterval),this.flashInterval=null):this.flashInterval=setInterval(()=>{this.flashOn=!this.flashOn,this.updateCanvas()},500),this.updateCanvas()})}unsubscribeTimer(){null!==this.timerSub&&(this.timerSub.unsubscribe(),this.timerSub=null)}startTimer(){this.TimersService.startTimer("race"),this.timerRunning=!0}resetTimer(){this.unsubscribeTimer(),this.TimersService.deleteTimer("race"),this.timerRunning=!1,this.subscribeTimer()}pauseTimer(){this.TimersService.stopTimer("race"),this.timerRunning=!1}roundToMin(){let e=this.dataValue;this.dataValue<0&&(e*=-1);var i=e%600;this.TimersService.setTimer("race",this.dataValue>0?i>300?this.dataValue+(600-i):this.dataValue-i:i>300?this.dataValue-(600-i):this.dataValue+i)}addOneMin(){this.TimersService.setTimer("race",this.dataValue+600)}remOneMin(){this.TimersService.setTimer("race",this.dataValue-600)}updateCanvas(){this.canvasCtx&&(this.canvasCtx.clearRect(0,0,this.canvasEl.nativeElement.width,this.canvasEl.nativeElement.height),this.drawValue())}updateCanvasBG(){this.canvasBGCtx&&this.canvasBGCtx.clearRect(0,0,this.canvasEl.nativeElement.width,this.canvasEl.nativeElement.height)}drawValue(){let r,e=Math.floor(this.canvasEl.nativeElement.width-.15*this.canvasEl.nativeElement.width),i=Math.floor(this.canvasEl.nativeElement.height-.2*this.canvasEl.nativeElement.height);if(null!=this.dataValue){let l=this.dataValue;this.dataValue<0&&(l*=-1);var o=Math.floor(l/600),s=Math.floor(l%600/10),a=Math.floor(l%600%10);r=o+":"+("0"+s).slice(-2)+"."+a,this.dataValue<0&&(r="-"+r)}else r="--";if(this.currentValueLength!=r.length){this.currentValueLength=r.length,this.valueFontSize=i,this.canvasCtx.font="bold "+this.valueFontSize.toString()+"px Arial";let l=this.canvasCtx.measureText(r).width;l>e&&(this.valueFontSize=Math.floor(this.valueFontSize*(e/l)),this.canvasCtx.font="bold "+this.valueFontSize.toString()+"px Arial");let c=0;for(;this.canvasCtx.measureText(r).width>e&&this.valueFontSize>0;)c++,this.valueFontSize--,this.canvasCtx.font="bold "+this.valueFontSize.toString()+"px Arial";console.log(`Recalculated font size, loops: ${c}`)}switch(this.IZoneState){case gi.alarm:this.flashOn?this.canvasCtx.fillStyle=window.getComputedStyle(this.warnElement.nativeElement).color:(this.canvasCtx.fillStyle=window.getComputedStyle(this.warnElement.nativeElement).color,this.canvasCtx.fillRect(0,0,this.canvasEl.nativeElement.width,this.canvasEl.nativeElement.height),this.canvasCtx.fillStyle=window.getComputedStyle(this.warnContrastElement.nativeElement).color);break;case gi.warning:this.canvasCtx.fillStyle=window.getComputedStyle(this.warnElement.nativeElement).color;break;default:this.canvasCtx.fillStyle=window.getComputedStyle(this.wrapperDiv.nativeElement).color}this.canvasCtx.font="bold "+this.valueFontSize.toString()+"px Arial",this.canvasCtx.textAlign="center",this.canvasCtx.textBaseline="middle",this.canvasCtx.fillText(r,this.canvasEl.nativeElement.width/2,this.canvasEl.nativeElement.height/2+this.valueFontSize/15,e)}}return t.\u0275fac=function(e){return new(e||t)(D(G5))},t.\u0275cmp=Pe({type:t,selectors:[["app-widget-race-timer"]],viewQuery:function(e,i){if(1&e&&(Oe(Ope,7,xe),Oe(Ipe,7,xe),Oe(Ppe,7,xe),Oe(Rpe,7,xe),Oe(Fpe,7,xe)),2&e){let r;ue(r=de())&&(i.canvasEl=r.first),ue(r=de())&&(i.canvasBG=r.first),ue(r=de())&&(i.wrapperDiv=r.first),ue(r=de())&&(i.warnElement=r.first),ue(r=de())&&(i.warnContrastElement=r.first)}},features:[we],decls:25,vars:2,consts:[[1,"raceTimerWrapper"],["raceTimerWrapperDiv",""],["id","canvasValue",1,"canvas-size"],["canvasEl",""],["id","canvasBG",1,"canvas-size","numeric-labels"],["canvasBG",""],[1,"warn",2,"display","none"],["warn",""],[1,"warn-contrast",2,"display","none"],["warncontrast",""],[1,"timerBar"],[1,"timerBarContainer"],[1,"timerButtonGroups"],["color","accent","mat-flat-button","",1,"timerButtonsSmall",3,"click"],["color","accent","mat-flat-button","","class","timerButtons",3,"click",4,"ngIf"],["color","accent","mat-flat-button","",1,"timerButtons",3,"click"]],template:function(e,i){1&e&&(v(0,"div",0,1),Y(2,"canvas",2,3)(4,"canvas",4,5)(6,"div",6,7)(8,"div",8,9),v(10,"div",10)(11,"div",11)(12,"div",12)(13,"button",13),ne("click",function(){return i.remOneMin()}),M(14," -1 "),b(),v(15,"button",13),ne("click",function(){return i.roundToMin()}),M(16," 0 "),b(),v(17,"button",13),ne("click",function(){return i.addOneMin()}),M(18," +1 "),b()(),v(19,"div",12),G(20,Npe,2,0,"button",14),G(21,Lpe,2,0,"button",14),b(),v(22,"div",12)(23,"button",15),ne("click",function(){return i.resetTimer()}),M(24," Reset "),b()()()()()),2&e&&(I(20),R("ngIf",!i.timerRunning),I(1),R("ngIf",i.timerRunning))},dependencies:[ui,Ji],styles:[".raceTimerWrapper[_ngcontent-%COMP%]{position:relative;width:100%;height:100%}.canvas-size[_ngcontent-%COMP%]{position:absolute;top:0;left:0}.timerBar[_ngcontent-%COMP%]{flex:1}.timerBarContainer[_ngcontent-%COMP%]{position:absolute;bottom:5%;height:10%;width:100%;display:flex;flex-direction:row;justify-content:space-between;flex-wrap:nowrap}.timerBarContainer[_ngcontent-%COMP%] .timerButtonGroups[_ngcontent-%COMP%]{flex-grow:1;text-align:center;width:33%}.timerBarContainer[_ngcontent-%COMP%] .timerButtons[_ngcontent-%COMP%]{width:75%;height:100%}.timerBarContainer[_ngcontent-%COMP%] .timerButtonsSmall[_ngcontent-%COMP%]{width:25%;height:100%;margin-left:5px}"]}),t})(),Kk=(()=>{class t{constructor(){this.widgetList={Basic:[{name:"WidgetBlank",componentName:Xre,description:"Blank"},{name:"WidgetNumeric",componentName:ooe,description:"Numeric display"},{name:"WidgetTextGeneric",componentName:coe,description:"Text display"},{name:"WidgetDateGeneric",componentName:foe,description:"Date value display"},{name:"WidgetStateComponent",componentName:Rfe,description:"Button/Switch control"}],Gauge:[{name:"WidgetGaugeNgLinearComponent",componentName:Zfe,description:"Linear Gauge"},{name:"WidgetSimpleLinearComponent",componentName:Ape,description:"Linear Electrical Gauge"},{name:"WidgetGaugeNgRadialComponent",componentName:Jfe,description:"Radial Gauge"},{name:"WidgetGaugeComponent",componentName:Afe,description:"Radial & Linear Steel Gauges"}],Components:[{name:"WidgetHistorical",componentName:ffe,description:"Historical Datagram chart"},{name:"WidgetWindComponent",componentName:Mfe,description:"Wind Gauge"},{name:"WidgetAutopilotComponent",componentName:Mpe,description:"N2k Autopilot head"},{name:"WidgetRaceTimerComponent",componentName:Bpe,description:"Race Timer display"},{name:"WidgetIframeComponent",componentName:Bfe,description:"Embed Webpage"},{name:"WidgetTutorial",componentName:Wfe,description:"Tutorial"}]}}getComponentName(e){for(let[i,r]of Object.entries(this.widgetList)){let o=r.find(s=>s.name==e);if(o)return o.componentName}return Jre}getList(){return this.widgetList}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Ee({token:t,factory:t.\u0275fac}),t})(),q5=(()=>{class t{constructor(e,i,r,o){this.connection=e,this.auth=i,this.router=r,this.storage=o,this.auth.isLoggedIn$.subscribe(s=>{this.isLoggedIn=s})}initNetworkServices(){var e=this;return Mc(function*(){e.loadLocalStorageConfig();try{void 0!==e.config?.signalKUrl&&null!==e.config.signalKUrl&&(yield e.connection.resetSignalK({url:e.config.signalKUrl,new:!1})),!e.isLoggedIn&&e.config?.signalKUrl&&e.config?.useSharedConfig&&e.config?.loginName&&e.config?.loginPassword&&(yield e.login()),e.isLoggedIn&&e.config?.useSharedConfig&&(e.storage.activeConfigVersion=e.config.configVersion,e.storage.sharedConfigName=e.config.sharedConfigName,yield e.storage.getConfig("user",e.config.sharedConfigName,!0)),!e.isLoggedIn&&e.config?.signalKUrl&&e.config?.useSharedConfig&&e.router.navigate(["/login"])}catch(i){return console.warn("[AppInit Network Service] Services loaded. Connection is not configured"),console.error(i),Promise.reject("[AppInit Network Service] Services loaded. Conneciton not configured")}finally{console.log("[AppInit Network Service] Initialyzation completed")}})()}login(){var e=this;return Mc(function*(){!e.isLoggedIn&&e.config.useSharedConfig&&e.config.loginName&&e.config.loginPassword&&(yield e.auth.login({usr:e.config.loginName,pwd:e.config.loginPassword}).catch(i=>{0===i.status?e.router.navigate(["/settings"]):401===i.status&&e.router.navigate(["/login"]),console.error("[AppInit Network Service] Login failure. Server returned: "+JSON.stringify(i.error))}))})()}loadLocalStorageConfig(){this.config=JSON.parse(localStorage.getItem("connectionConfig")),this.config?this.config.signalKUrl||console.warn("[AppInit Network Service] Config found but no server URL is present"):console.log("[AppInit Network Service] No Connection Config found in LocalStorage. Maybe a first time app start")}}return t.\u0275fac=function(e){return new(e||t)(K(Lh),K(Rl),K(Or),K(Gb))},t.\u0275prov=Ee({token:t,factory:t.\u0275fac}),t})(),Vpe=(()=>{class t{constructor(e){this.auth=e,this.authToken=null,this.auth.authToken$.subscribe(i=>{this.authToken=i})}intercept(e,i){let r=e.clone();return this.authToken&&(r=e.clone({headers:e.headers.set("authorization","JWT "+this.authToken.token)})),i.handle(r)}}return t.\u0275fac=function(e){return new(e||t)(K(Rl))},t.\u0275prov=Ee({token:t,factory:t.\u0275fac}),t})();const Y5=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],Wl=(()=>{if(typeof document>"u")return!1;const t=Y5[0],n={};for(const e of Y5)if(e?.[1]in document){for(const[r,o]of e.entries())n[t[r]]=o;return n}return!1})(),K5={change:Wl.fullscreenchange,error:Wl.fullscreenerror};let ls={request:(t=document.documentElement,n)=>new Promise((e,i)=>{const r=()=>{ls.off("change",r),e()};ls.on("change",r);const o=t[Wl.requestFullscreen](n);o instanceof Promise&&o.then(r).catch(i)}),exit:()=>new Promise((t,n)=>{if(!ls.isFullscreen)return void t();const e=()=>{ls.off("change",e),t()};ls.on("change",e);const i=document[Wl.exitFullscreen]();i instanceof Promise&&i.then(e).catch(n)}),toggle:(t,n)=>ls.isFullscreen?ls.exit():ls.request(t,n),onchange(t){ls.on("change",t)},onerror(t){ls.on("error",t)},on(t,n){const e=K5[t];e&&document.addEventListener(e,n,!1)},off(t,n){const e=K5[t];e&&document.removeEventListener(e,n,!1)},raw:Wl};Object.defineProperties(ls,{isFullscreen:{get:()=>Boolean(document[Wl.fullscreenElement])},element:{enumerable:!0,get:()=>document[Wl.fullscreenElement]??void 0},isEnabled:{enumerable:!0,get:()=>Boolean(document[Wl.fullscreenEnabled])}}),Wl||(ls={isEnabled:!1});const Ny=ls;function Hpe(t,n){if(1&t&&Y(0,"span",8),2&t){const e=re();R("matBadgeHidden",!e.unAckAlarms)("matBadge",e.unAckAlarms)}}function zpe(t,n){1&t&&(v(0,"span",9),Y(1,"i",10)(2,"i",11),b())}function Wpe(t,n){1&t&&Y(0,"span",18)}function jpe(t,n){1&t&&Y(0,"span",19)}function Upe(t,n){if(1&t){const e=Zn();v(0,"div")(1,"button",12),G(2,Wpe,1,0,"span",13),G(3,jpe,1,0,"span",14),M(4),b(),v(5,"mat-menu",null,15)(7,"button",16),ne("click",function(){const o=ut(e).$implicit;return lt(re().ackAlarm(o.key))}),M(8," Acknowledge "),b(),v(9,"button",17),ne("click",function(){const o=ut(e).$implicit;return lt(re().ackAlarm(o.key,3e5))}),M(10," Acknowledge (5 Min) "),b()()()}if(2&t){const e=n.$implicit,i=yi(6);I(1),R("matMenuTriggerFor",i)("matTooltip",e.value.notification.message),I(1),R("ngIf",e.value.isAck),I(1),R("ngIf",!e.value.isAck),I(1),vn(" ",e.value.notification.message.replace("self.","")," ")}}function $pe(t,n){1&t&&(v(0,"span",20),Y(1,"i",21),M(2," Mute Alarm Audio "),b())}function Gpe(t,n){1&t&&(v(0,"span",20),Y(1,"i",22),M(2," Unmute Alarm Audio "),b())}let qpe=(()=>{class t{constructor(e){this.notificationsService=e,this.alarmMenu={},this.alarmCount=0,this.unAckAlarms=0,this.blinkWarn=!1,this.blinkCrit=!1,this.isMuted=!1,this.notificationServiceSettings=this.notificationsService.getNotificationServiceConfigAsO().subscribe(i=>{this.notificationConfig=i})}ngOnInit(){this.alarmSub=this.notificationsService.getAlarms().subscribe(e=>{this.notificationAlarms=e,this.buildAlarmMenu()}),this.notificationsService.getAlarmInfoAsO().subscribe(e=>{switch(this.unAckAlarms=e.unackCount,this.isMuted=e.isMuted,this.alarmCount=e.alarmCount,e.visualSev){case 0:this.blinkWarn=!1,this.blinkCrit=!1;break;case 1:this.blinkWarn=!0,this.blinkCrit=!1;break;case 2:this.blinkCrit=!0,this.blinkWarn=!1}})}mutePlayer(e){this.notificationsService.mutePlayer(e)}buildAlarmMenu(){if(!this.notificationConfig.devices.showNormalState)for(const[e,i]of Object.entries(this.notificationAlarms)){let r=this.notificationAlarms[e];if("normal"==r.notification.state&&"device"==r.type){delete this.notificationAlarms[e];break}}this.alarms=this.notificationAlarms}createMenuRootItem(e){let i={label:e};if(Object.entries(this.alarmMenu).length){let r=Object.keys(this.alarmMenu).indexOf(e);return-1==r?(console.log("Root: "+e+" not found. Search index: "+r),i):(console.log("Root: "+e+" found. Search index: "+r),console.log(JSON.stringify(Object.values(this.alarmMenu))),null)}return console.log(JSON.stringify(Object.values(this.alarmMenu))),i}createMenuChildItem(e,i,r,o){let s;const a=r.length-1;let l=r[i-1];Object.keys(this.alarmMenu).indexOf(r[l]),s=i!=a?{label:r[i]}:{label:r[i],Alarm:o};for(const[p,m]of Object.entries(this.alarmMenu))p==l&&(console.log(JSON.stringify(m)),m.childNode=s,i!=a&&(s=++i!=a?{label:r[i]}:{label:r[i],Alarm:o},m.childNode[0].childNode=s));return null}ackAlarm(e,i=0){this.notificationsService.acknowledgeAlarm(e,i)}trackAlarmPath(e,i){return i?i.value.path:void 0}ngOnDestroy(){this.notificationServiceSettings.unsubscribe(),this.alarmSub.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(D(ia))},t.\u0275cmp=Pe({type:t,selectors:[["app-alarm-menu"]],decls:12,vars:14,consts:[["color","accent","mat-flat-button","",1,"menuBarAlarmsButton",3,"matMenuTriggerFor","disabled"],["matBadgeSize","medium","matBadgePosition","after","matBadgeOverlap","false","matBadgeColor","warn","class","fa-solid fa-envelope fa-2x matBadge",3,"matBadgeHidden","matBadge",4,"ngIf"],["class","fa-stack fa-lg",4,"ngIf"],["focusFirstItem",""],["alarmMenu","matMenu"],[4,"ngFor","ngForOf","ngForTrackBy"],["mat-list-item","","matTooltip","Mute notification sounds",1,"muteSoundButton",3,"click"],["class","mute-unmte-alarm",4,"ngIf"],["matBadgeSize","medium","matBadgePosition","after","matBadgeOverlap","false","matBadgeColor","warn",1,"fa-solid","fa-envelope","fa-2x","matBadge",3,"matBadgeHidden","matBadge"],[1,"fa-stack","fa-lg"],["aria-hidden","true",1,"fa-solid","fa-bell","fa-1x"],["aria-hidden","true",1,"fa-solid","fa-ban","fa-stack-2x","text-danger"],["mat-menu-item","",3,"matMenuTriggerFor","matTooltip"],["class","fa-solid fa-lg fa-check",4,"ngIf"],["class","fa-solid fa-lg fa-exclamation",4,"ngIf"],["actions","matMenu"],["mat-menu-item","","matTooltip","Silence Alarm (until state change)",3,"click"],["mat-menu-item","","matTooltip","Silence Alarm for 5 minutes(state change can re-trigger)",3,"click"],[1,"fa-solid","fa-lg","fa-check"],[1,"fa-solid","fa-lg","fa-exclamation"],[1,"mute-unmte-alarm"],["aria-hidden","true",1,"fa-solid","fa-bell"],["aria-hidden","true",1,"fa-solid","fa-bell-slash"]],template:function(e,i){if(1&e&&(v(0,"button",0),G(1,Hpe,1,2,"span",1),G(2,zpe,3,0,"span",2),b(),v(3,"mat-menu",3,4),G(5,Upe,11,5,"div",5),es(6,"keyvalue"),v(7,"mat-action-list"),Y(8,"mat-divider"),v(9,"button",6),ne("click",function(){return i.mutePlayer(!i.isMuted)}),G(10,$pe,3,0,"span",7),G(11,Gpe,3,0,"span",7),b()()()),2&e){const r=yi(4);Rt("alarmCrit",i.blinkCrit)("alarmWarning",i.blinkWarn),R("matMenuTriggerFor",r)("disabled",0==i.alarmCount||i.notificationConfig.disableNotifications),I(1),R("ngIf",!i.notificationConfig.disableNotifications),I(1),R("ngIf",i.notificationConfig.disableNotifications),I(3),R("ngForOf",wa(6,12,i.alarms))("ngForTrackBy",i.trackAlarmPath),I(5),R("ngIf",!i.isMuted),I(1),R("ngIf",i.isMuted)}},dependencies:[Eo,ui,xx,Mh,kx,Ji,Ix,SF,tie,nie,Lu,fp],styles:[".mat-menu-panel{max-width:-moz-fit-content!important;max-width:fit-content!important}"]}),t})();function Ype(t,n){1&t&&(v(0,"span"),Y(1,"i",30),M(2," Night Mode"),b())}function Kpe(t,n){1&t&&(v(0,"span"),Y(1,"i",31),M(2," Day Mode"),b())}function Zpe(t,n){1&t&&(v(0,"span"),Y(1,"i",32),M(2," Fullscreen"),b())}function Qpe(t,n){1&t&&(v(0,"span"),Y(1,"i",33),M(2," Exit Fullscreen"),b())}function Xpe(t,n){1&t&&(v(0,"span"),Y(1,"i",34),M(2," Edit Layout"),b())}function Jpe(t,n){1&t&&(v(0,"span"),Y(1,"i",35),M(2," Lock Layout"),b())}function eme(t,n){1&t&&Y(0,"i",36)}function tme(t,n){1&t&&Y(0,"i",37)}function nme(t,n){1&t&&Y(0,"i",36)}function ime(t,n){1&t&&Y(0,"i",37)}function rme(t,n){1&t&&Y(0,"i",36)}function ome(t,n){1&t&&Y(0,"i",37)}function sme(t,n){1&t&&Y(0,"i",36)}function ame(t,n){1&t&&Y(0,"i",37)}function lme(t,n){1&t&&Y(0,"i",36)}function cme(t,n){1&t&&Y(0,"i",37)}function ume(t,n){1&t&&Y(0,"i",36)}function dme(t,n){1&t&&Y(0,"i",37)}let hme=(()=>{class t{constructor(e,i,r,o,s,a,l,c,p,m){this.baseHref=e,this._snackBar=i,this.overlayContainer=r,this.LayoutSplitsService=o,this.appSettingsService=s,this.DataSetService=a,this.notificationsService=l,this.auththeticationService=c,this.deltaService=p,this.signalKDeltaService=m,this.noSleep=new NoSleep,this.pageName="",this.unlockStatus=!1,this.fullscreenStatus=!1,this.activeThemeClass="modern-dark fullheight",this.isNightMode=!1}ngOnInit(){this.unlockStatusSub=this.appSettingsService.getUnlockStatusAsO().subscribe(e=>{this.unlockStatus=e}),this.themeNameSub=this.appSettingsService.getThemeNameAsO().subscribe(e=>{this.activeThemeClass=e+" fullheight",this.themeName?this.overlayContainer.getContainerElement().classList.remove(this.activeTheme):this.themeName=e,this.isNightMode?this.overlayContainer.getContainerElement().classList.add(e):e!==this.themeName?(this.overlayContainer.getContainerElement().classList.add(e),this.themeName=e):this.overlayContainer.getContainerElement().classList.add(this.themeName),this.activeTheme=e}),this.appNotificationSub=this.notificationsService.getSnackbarAppNotifications().subscribe(e=>{this._snackBar.open(e.message,"dismiss",{duration:e.duration,verticalPosition:"top"}),!this.appSettingsService.getNotificationConfig().sound.disableSound&&!e.silent&&(new W3.Howl({src:["assets/notification.mp3"],autoplay:!0,preload:!0,loop:!1,volume:.3,onend:function(){},onloaderror:function(){console.log("snackbar: player onload error")},onplayerror:function(){console.log("snackbar: player locked"),this.howlPlayer.once("unlock",function(){this.howlPlayer.play()})}}).play(),Howler.autoUnlock=!0,Howler.autoSuspend=!1)}),this.connectionStatusSub=this.deltaService.getDataStreamStatusAsO().subscribe(e=>{this.displayConnectionsStatusNotification(e)}),this.DataSetService.startAllDataSets()}displayConnectionsStatusNotification(e){switch(e.operation){case 0:this.notificationsService.sendSnackbarNotification("Not connected to server.",5e3,!0);break;case 1:this.notificationsService.sendSnackbarNotification("Connecting to server.",2e3,!0);break;case 2:this.notificationsService.sendSnackbarNotification("Connection successful.",2e3,!1);break;case 3:this.notificationsService.sendSnackbarNotification("Error connecting to server.",0,!1);break;default:this.notificationsService.sendSnackbarNotification("Unknown stream connection status.",0,!1)}}setTheme(e){this.appSettingsService.setThemName(e)}setNightMode(e){this.isNightMode=e,this.appSettingsService.setThemName(this.isNightMode?"nightMode":this.themeName)}unlockPage(){this.unlockStatus?(console.log("Locking"),this.unlockStatus=!1):(console.log("Unlocking"),this.unlockStatus=!0),this.appSettingsService.setUnlockStatus(this.unlockStatus)}newPage(){this.LayoutSplitsService.newRootSplit()}pageDown(){this.LayoutSplitsService.previousRoot()}pageUp(){this.LayoutSplitsService.nextRoot()}toggleFullScreen(){Ny.isEnabled&&(this.fullscreenStatus?(Ny.isFullscreen&&Ny.exit(),this.noSleep.disable()):(Ny.request(),this.noSleep.enable())),this.fullscreenStatus=!this.fullscreenStatus}ngOnDestroy(){this.unlockStatusSub.unsubscribe(),this.themeNameSub.unsubscribe(),this.appNotificationSub.unsubscribe(),this.connectionStatusSub.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(D(cp),D(ote),D(em),D(Yb),D(wr),D(vm),D(ia),D(Rl),D(zu),D(zu))},t.\u0275cmp=Pe({type:t,selectors:[["app-root"]],decls:92,vars:25,consts:[[1,"mainContainer","app-defaults"],[1,"mainWindow"],[1,"menuBar"],[1,"menuBarContainer","theme-menu"],[1,"menuBarButtonGroups"],["color","accent","mat-flat-button","",1,"menuBarNavButtons",3,"click"],["aria-hidden","true",1,"fa-solid","fa-chevron-left","fa-2x"],["aria-hidden","true",1,"fa-solid","fa-chevron-right","fa-2x"],["color","accent","mat-flat-button","",1,"menuBarSettingsButton",3,"matMenuTriggerFor"],["aria-hidden","true",1,"fa-solid","fa-bars","fa-2x"],["settingsMenu","matMenu"],["mat-menu-item","","routerLink","/help"],["aria-hidden","true",1,"fa-solid","fa-question-circle"],["mat-menu-item","",3,"matMenuTriggerFor"],["aria-hidden","true",1,"fa-solid","fa-cog"],["mat-menu-item","","routerLink","/data"],["aria-hidden","true",1,"fa-solid","fa-info"],["mat-menu-item","",3,"click"],[4,"ngIf"],["configMenu","matMenu"],["mat-menu-item","","routerLink","/settings"],["aria-hidden","true",1,"fa-solid","fa-sliders"],["mat-menu-item","",3,"disabled","matMenuTriggerFor"],[1,"fa-solid","fa-paint-brush"],["mat-menu-item","",3,"disabled","click"],["aria-hidden","true",1,"fa-solid","fa-plus-square"],["xPosition","before"],["themesMenu","matMenu"],["class","fa-solid fa-circle","aria-hidden","true",4,"ngIf","ngIfElse"],["elseBlock",""],["aria-hidden","true",1,"fa-solid","fa-moon-o"],["aria-hidden","true",1,"fa-solid","fa-sun-o"],["aria-hidden","true",1,"fa-solid","fa-window-maximize"],["aria-hidden","true",1,"fa-solid","fa-window-restore"],["aria-hidden","true",1,"fa-solid","fa-columns"],["aria-hidden","true",1,"fa-solid","fa-lock"],["aria-hidden","true",1,"fa-solid","fa-circle"],["aria-hidden","true",1,"fa-solid","fa-circle-o"]],template:function(e,i){if(1&e&&(v(0,"div")(1,"div",0)(2,"div",1),Y(3,"router-outlet"),b(),v(4,"div",2)(5,"div",3)(6,"div",4),Y(7,"app-alarm-menu"),b(),v(8,"div",4)(9,"button",5),ne("click",function(){return i.pageDown()}),Y(10,"i",6),b()(),v(11,"div",4)(12,"button",5),ne("click",function(){return i.pageUp()}),Y(13,"i",7),b()(),v(14,"div",4)(15,"button",8),Y(16,"i",9),b()()()()()(),v(17,"mat-menu",null,10)(19,"button",11)(20,"span"),Y(21,"i",12),M(22," Help"),b()(),v(23,"button",13)(24,"span"),Y(25,"i",14),M(26," Configuration"),b()(),v(27,"button",15)(28,"span"),Y(29,"i",16),M(30," Data Browser"),b()(),v(31,"button",17),ne("click",function(){return i.setNightMode(!i.isNightMode)}),G(32,Ype,3,0,"span",18),G(33,Kpe,3,0,"span",18),b(),v(34,"button",17),ne("click",function(){return i.toggleFullScreen()}),G(35,Zpe,3,0,"span",18),G(36,Qpe,3,0,"span",18),b()(),v(37,"mat-menu",null,19)(39,"button",20)(40,"span"),Y(41,"i",21),M(42," Settings"),b()(),v(43,"button",22)(44,"span"),Y(45,"i",23),M(46," Themes"),b()(),v(47,"button",24),ne("click",function(){return i.newPage()}),v(48,"span"),Y(49,"i",25),M(50," Add Page"),b()(),v(51,"button",17),ne("click",function(){return i.unlockPage()}),G(52,Xpe,3,0,"span",18),G(53,Jpe,3,0,"span",18),b()(),v(54,"mat-menu",26,27)(56,"button",17),ne("click",function(){return i.setTheme("default-light")}),v(57,"span"),G(58,eme,1,0,"i",28),M(59," Light Blue"),b(),G(60,tme,1,0,"ng-template",null,29,Zs),b(),v(62,"button",17),ne("click",function(){return i.setTheme("signalk-light")}),v(63,"span"),G(64,nme,1,0,"i",28),M(65," Signal K"),b(),G(66,ime,1,0,"ng-template",null,29,Zs),b(),v(68,"button",17),ne("click",function(){return i.setTheme("high-contrast-light")}),v(69,"span"),G(70,rme,1,0,"i",28),M(71," High Contrast"),b(),G(72,ome,1,0,"ng-template",null,29,Zs),b(),v(74,"button",17),ne("click",function(){return i.setTheme("platypus-light")}),v(75,"span"),G(76,sme,1,0,"i",28),M(77," Platypus"),b(),G(78,ame,1,0,"ng-template",null,29,Zs),b(),v(80,"button",17),ne("click",function(){return i.setTheme("darkBlue-dark")}),v(81,"span"),G(82,lme,1,0,"i",28),M(83," Dark Blue"),b(),G(84,cme,1,0,"ng-template",null,29,Zs),b(),v(86,"button",17),ne("click",function(){return i.setTheme("modern-dark")}),v(87,"span"),G(88,ume,1,0,"i",28),M(89," Modern Dark"),b(),G(90,dme,1,0,"ng-template",null,29,Zs),b()()),2&e){const r=yi(18),o=yi(38),s=yi(55),a=yi(61);(function CE(t){Ys(Qo,ya,t,!0)})(i.activeThemeClass),I(15),R("matMenuTriggerFor",r),I(8),R("matMenuTriggerFor",o),I(9),R("ngIf",!i.isNightMode),I(1),R("ngIf",i.isNightMode),I(2),R("ngIf",!i.fullscreenStatus),I(1),R("ngIf",i.fullscreenStatus),I(7),R("disabled",i.isNightMode)("matMenuTriggerFor",s),I(4),R("disabled",!i.unlockStatus),I(5),R("ngIf",!i.unlockStatus),I(1),R("ngIf",i.unlockStatus),I(5),R("ngIf","default-light"==i.themeName)("ngIfElse",a),I(6),R("ngIf","signalk-light"==i.themeName)("ngIfElse",a),I(6),R("ngIf","high-contrast-light"==i.themeName)("ngIfElse",a),I(6),R("ngIf","platypus-light"==i.themeName)("ngIfElse",a),I(6),R("ngIf","darkBlue-dark"==i.themeName)("ngIfElse",a),I(6),R("ngIf","modern-dark"==i.themeName)("ngIfElse",a)}},dependencies:[ui,IC,Ip,xx,Mh,kx,Ji,qpe],styles:[".fullheight[_ngcontent-%COMP%]{height:100%}.mainContainer[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:stretch;height:100%}.mainWindow[_ngcontent-%COMP%]{flex:30;overflow:auto}.menuBar[_ngcontent-%COMP%]{flex:1}.menuBarContainer[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:space-between;flex-wrap:nowrap}.menuBarContainer[_ngcontent-%COMP%] .menuBarButtonGroups[_ngcontent-%COMP%]{flex-grow:1}.menuBarContainer[_ngcontent-%COMP%] .menuBarButtonGroups[_ngcontent-%COMP%]:first-child{text-align:left;margin-left:2px}.menuBarContainer[_ngcontent-%COMP%] .menuBarButtonGroups[_ngcontent-%COMP%]{text-align:center}.menuBarContainer[_ngcontent-%COMP%] .menuBarButtonGroups[_ngcontent-%COMP%]:last-child{text-align:right;margin-right:2px}.menuBarButtonGroups[_ngcontent-%COMP%] .menuBarNavButtons[_ngcontent-%COMP%]{width:99%}.menuBarButtonGroups[_ngcontent-%COMP%] .menuBarAlarmsButton[_ngcontent-%COMP%], .menuBarButtonGroups[_ngcontent-%COMP%] .menuBarSettingsButton[_ngcontent-%COMP%]{width:25%}"]}),t})();function fme(t,n){1&t&&(v(0,"div")(1,"h3"),M(2,"Unlocking"),b(),v(3,"p"),M(4,' The layout is "Locked" by default. This is to prevent accidental interaction from touch screens from changing anything. You can unlock KIP using the hamburger icon in the lower right corner and selecting "Configuration -> Edit Layout". Go Ahead try it now! '),b()())}function pme(t,n){1&t&&(v(0,"div")(1,"h3"),M(2,"Configuring Layout"),b(),v(3,"p"),M(4," Now that KIP is unlocked, you can do a few actions. "),b(),v(5,"ul")(6,"li"),M(7,"The icon in the lower right can be used to select the Widget you would like to display"),b(),v(8,"li"),M(9,'The icon in the lower left can be used to "split" the existing area. You can use this to display multiple items on one page'),b(),v(10,"li"),M(11,'The "X" in the upper right can be used to delete an area (basically undoing a split)'),b(),v(12,"li"),M(13,"Once a widget is selected, there will be a gear in the lower middle. Clicking it will allow you to setup the widget parameters"),b(),v(14,"li"),M(15,"You can drag the bars between widgits to resize them"),b()()())}function mme(t,n){if(1&t){const e=Zn();v(0,"mat-tab-group",7)(1,"mat-tab",8)(2,"div",2)(3,"mat-accordion")(4,"mat-expansion-panel",9),ne("opened",function(){return ut(e),lt(re().setStep(0))}),v(5,"mat-expansion-panel-header")(6,"mat-panel-title"),M(7," 5 Minutes with Kip (by Boating with the Baileys) "),b(),v(8,"mat-panel-description"),M(9," Introduction to using KIP "),b()(),Y(10,"iframe",10),b(),v(11,"mat-expansion-panel",9),ne("opened",function(){return ut(e),lt(re().setStep(1))}),v(12,"mat-expansion-panel-header")(13,"mat-panel-title"),M(14," Graphana embeded in KIP (by Boating with the Baileys) "),b(),v(15,"mat-panel-description"),M(16," Pretty graphs "),b()(),Y(17,"iframe",11),b(),v(18,"mat-expansion-panel",9),ne("opened",function(){return ut(e),lt(re().setStep(2))}),v(19,"mat-expansion-panel-header")(20,"mat-panel-title"),M(21," Setting up zones in KIP (by Boating with the Baileys) "),b(),v(22,"mat-panel-description"),M(23," Warnings/Alarms "),b()(),Y(24,"iframe",12),b()()()(),v(25,"mat-tab",13)(26,"div",2)(27,"mat-accordion")(28,"mat-expansion-panel",9),ne("opened",function(){return ut(e),lt(re().setStep(2))}),v(29,"mat-expansion-panel-header")(30,"mat-panel-title"),M(31," 5 Minutes with Graphana (by Boating with the Baileys) "),b(),v(32,"mat-panel-description"),M(33," Introduction to using Graphana "),b()(),Y(34,"iframe",14),b(),v(35,"mat-expansion-panel",9),ne("opened",function(){return ut(e),lt(re().setStep(3))}),v(36,"mat-expansion-panel-header")(37,"mat-panel-title"),M(38," Signal K to InfluxDB (by Boating with the Baileys) "),b(),v(39,"mat-panel-description"),M(40," Database to store historical data "),b()(),Y(41,"iframe",15),b()()()(),v(42,"mat-tab",16)(43,"div",2)(44,"mat-accordion")(45,"mat-expansion-panel",9),ne("opened",function(){return ut(e),lt(re().setStep(4))}),v(46,"mat-expansion-panel-header")(47,"mat-panel-title"),M(48," OpenPlotter (by Boating with the Baileys) "),b(),v(49,"mat-panel-description"),M(50," Installing OpenPlotter "),b()(),Y(51,"iframe",17),b(),v(52,"mat-expansion-panel",9),ne("opened",function(){return ut(e),lt(re().setStep(5))}),v(53,"mat-expansion-panel-header")(54,"mat-panel-title"),M(55," OpenPlotter instruction video (by Smart Sailing Boat) "),b(),v(56,"mat-panel-description"),M(57," Installing OpenPlotter "),b()(),Y(58,"iframe",18),b()()()()()}if(2&t){const e=re();I(4),R("expanded",0===e.step),I(7),R("expanded",1===e.step),I(7),R("expanded",2===e.step),I(10),R("expanded",2===e.step),I(7),R("expanded",3===e.step),I(10),R("expanded",4===e.step),I(7),R("expanded",5===e.step)}}let gme=(()=>{class t{constructor(e){this.AppSettingsService=e,this.step=-1}ngOnInit(){this.unlockStatusSub=this.AppSettingsService.getUnlockStatusAsO().subscribe(e=>{this.unlockStatus=e})}ngOnDestroy(){this.unlockStatusSub.unsubscribe()}setStep(e){this.step=e}}return t.\u0275fac=function(e){return new(e||t)(D(wr))},t.\u0275cmp=Pe({type:t,selectors:[["app-help"]],decls:54,vars:2,consts:[[1,"tabGroups","mat-typography"],["label","Configuration Management"],[1,"tabGroupPanel"],["label","Editing Layout"],[4,"ngIf"],["label","Video Tutorials"],["matTabContent",""],[1,"tabGroups"],["label","KIP"],[3,"expanded","opened"],["width","560","height","315","src","https://www.youtube.com/embed/v6o4uK-Iq8s","title","YouTube video player","frameborder","0","allow","accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture","allowfullscreen",""],["width","560","height","315","src","https://www.youtube.com/embed/S8FbtwBwW3w","title","YouTube video player","frameborder","0","allow","accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture","allowfullscreen",""],["width","560","height","315","src","https://www.youtube.com/embed/BJFjLzjlpuY","title","YouTube video player","frameborder","0","allow","accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture","allowfullscreen",""],["label","Graphana"],["width","560","height","315","src","https://www.youtube.com/embed/b3lHwLnYgx0","title","YouTube video player","frameborder","0","allow","accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture","allowfullscreen",""],["width","560","height","315","src","https://www.youtube.com/embed/ULnN-cByQXE","title","YouTube video player","frameborder","0","allow","accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture","allowfullscreen",""],["label","OpenPlotter"],["width","560","height","315","src","https://www.youtube.com/embed/Q0sEpgzhHTE","title","YouTube video player","frameborder","0","allow","accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture","allowfullscreen",""],["width","560","height","315","src","https://www.youtube.com/embed/r8CGixMl18k","title","YouTube video player","frameborder","0","allow","accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture","allowfullscreen",""]],template:function(e,i){1&e&&(v(0,"mat-tab-group",0)(1,"mat-tab",1)(2,"div",2)(3,"h3"),M(4,"How does KIP manage configuration"),b(),v(5,"p"),M(6,'Essentially, KIP has two modes when it comes configuration mnagement. Note that all related settings are located in the "Signal K" tab under the Configuration/Settings menu option.'),b(),v(7,"h4"),M(8,"Default: Local Configuration"),b(),v(9,"p"),M(10,'If you simply enter the Signalk URL and click the Connect button to use KIP, meaning you have not switched on the "Enable user Sign in and configuration sharing" option, KIP will connect to the server and store it\'s configuration (your layouts and settings) locally in the Browser.'),b(),v(11,"p"),M(12,"In this mode, "),v(13,"strong"),M(14,"configuration cannot be shared"),b(),M(15,"."),b(),v(16,"h4"),M(17,"Shared Configuration"),b(),v(18,"p"),M(19,'If you switch on the "Enable user Sign in and configuration sharing" option, supply a valid user and password then click the Connect button, KIP will connect to the server and automatically Save, Retreive and Update it\'s configuration from the server, '),v(20,"strong"),M(21,"under that users storage space"),b(),M(22,". This means that "),v(23,"strong"),M(24,"each user has it's own configuration"),b(),M(25,"."),b(),v(26,"p"),M(27,"To reuse that configuration, on any device or browser, simply Sign in with that "),v(28,"strong"),M(29,"same user"),b(),M(30,". Nothing more is required. "),b(),v(31,"p"),M(32,"To create an alternavite configuration, Sign in with "),v(33,"strong"),M(34,"a different user"),b(),M(35," and create your configuration. "),b(),v(36,"p"),M(37,"To Sign in to Signal K, a user must first be created, or you can use the default admin user (not recommended). Here are the steps to create a Signal K User: "),b(),v(38,"ol")(39,"li"),M(40,'Go to Signal K server\'s Security/Users menu and click "Add" to create a user'),b(),v(41,"li"),M(42,"Provide a User ID and Password"),b(),v(43,"li"),M(44,"Assign Read/Write Permissions at a minimum"),b(),v(45,"li"),M(46,"Click Apply and you are done"),b()()()(),v(47,"mat-tab",3)(48,"div",2),G(49,fme,5,0,"div",4),G(50,pme,16,0,"div",4),b()(),v(51,"mat-tab",5)(52,"div",2),G(53,mme,59,7,"ng-template",6),b()()()),2&e&&(I(49),R("ngIf",!i.unlockStatus),I(1),R("ngIf",i.unlockStatus))},dependencies:[ui,xb,lm,_ne,nN,hb,fb,tN,eN],encapsulation:2}),t})(),_me=(()=>{class t{transform(e,i){return e&&e.length?i?e.filter(r=>r.includes("self")):e:[]}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=Lr({name:"filterSelf",type:t,pure:!0}),t})();function vme(t,n){1&t&&(v(0,"mat-header-cell",27),M(1," Path "),b())}function bme(t,n){if(1&t&&(v(0,"mat-cell",28),M(1),b()),2&t){const e=n.$implicit;I(1),vn(" ",e.path," ")}}function yme(t,n){1&t&&(v(0,"mat-header-cell",29),M(1," Interval "),b())}function wme(t,n){if(1&t&&(v(0,"mat-cell",30),M(1),b()),2&t){const e=n.$implicit;I(1),vn("every ",e.updateTimer," sec")}}function Cme(t,n){1&t&&(v(0,"mat-header-cell",29),M(1," Data Points "),b())}function Sme(t,n){if(1&t&&(v(0,"mat-cell",31),M(1),b()),2&t){const e=n.$implicit;I(1),vn("",e.dataPoints," times")}}function xme(t,n){1&t&&Y(0,"mat-header-cell",32)}function kme(t,n){if(1&t){const e=Zn();v(0,"mat-cell",33)(1,"button",34),ne("click",function(){const o=ut(e).$implicit;return lt(re().openDatasetModal(o.uuid))}),M(2,"Edit"),b(),v(3,"button",34),ne("click",function(){const o=ut(e).$implicit;return lt(re().deleteDataset(o.uuid))}),M(4,"Delete"),b()()}}function Dme(t,n){1&t&&Y(0,"mat-header-row",35)}function Mme(t,n){1&t&&Y(0,"mat-row",36)}function Tme(t,n){if(1&t&&(v(0,"mat-row"),M(1),b()),2&t){re();const e=yi(11);I(1),vn(' No data matching the filter "',e.value,'" ')}}const Eme=function(){return[5,10,25,100]};function Ame(t,n){if(1&t&&(v(0,"mat-option",16),M(1),b()),2&t){const e=n.$implicit;R("value",e),I(1),vn(" ",e," ")}}function Ome(t,n){if(1&t&&(v(0,"mat-option",16),M(1),b()),2&t){const e=n.$implicit;R("value",e),I(1),vn(" ",e," ")}}const Z5=".full-display[_ngcontent-%COMP%]{width:100%;height:100%;position:relative;z-index:500}.full-width[_ngcontent-%COMP%]{width:100%}.mat-column-actions[_ngcontent-%COMP%]{text-align:end}.buttons[_ngcontent-%COMP%]{margin-right:5px}.pathCell[_ngcontent-%COMP%], .pathHeader[_ngcontent-%COMP%]{flex:1 1 50%}.dataHeader[_ngcontent-%COMP%], .dataCell[_ngcontent-%COMP%]{flex:1 1 10%;justify-content:center}.actionHeader[_ngcontent-%COMP%]{flex:1 1 20%}.actionCell[_ngcontent-%COMP%]{flex:1 1 20%;justify-content:end}@media screen and (max-width: 750px){.pathHeader[_ngcontent-%COMP%], .dataHeader[_ngcontent-%COMP%]{flex:1 1 30%}.actionHeader[_ngcontent-%COMP%]{display:none}.mat-table[_ngcontent-%COMP%] .mat-cell[_ngcontent-%COMP%]:before{content:attr(data-label);float:left;padding-right:5px}mat-row[_ngcontent-%COMP%]:after{min-height:auto;padding-bottom:10px}.dataRow[_ngcontent-%COMP%]{flex-direction:column;align-items:flex-start}.dataCell[_ngcontent-%COMP%], .actionCell[_ngcontent-%COMP%]{margin-left:24px}}";let Ime=(()=>{class t{constructor(e,i,r,o){this.dialog=e,this.cdRef=i,this.SignalKService=r,this.DataSetService=o,this.tableData=new jx([]),this.displayedColumns=["path","updateTimer","dataPoints","actions"]}ngOnInit(){this.loadDataSets()}loadDataSets(){this.tableData.data=this.DataSetService.getDataSets()}ngAfterViewInit(){this.tableData.paginator=this.paginator,this.tableData.sort=this.sort,this.tableData.filter="",this.cdRef.detectChanges()}openDatasetModal(e){let i;if(e){const r=this.tableData.data.find(o=>o.uuid===e);r&&(i=this.dialog.open(Q5,{data:r}))}else i=this.dialog.open(Q5,{});i.afterClosed().subscribe(r=>{void 0===r||!r||(r.uuid?this.editDataset(r):this.addDataset(r),this.loadDataSets())})}addDataset(e){this.DataSetService.addDataSet(e.path,e.signalKSource,e.updateTimer,e.dataPoints)}editDataset(e){this.DataSetService.updateDataset(e)}deleteDataset(e){this.DataSetService.deleteDataSet(e),this.loadDataSets()}trackByUuid(e,i){return`${i.uuid}`}applyFilter(e){this.tableData.filter=e.target.value.trim().toLowerCase(),this.tableData.paginator&&this.tableData.paginator.firstPage()}}return t.\u0275fac=function(e){return new(e||t)(D(Al),D(wn),D(Na),D(vm))},t.\u0275cmp=Pe({type:t,selectors:[["settings-datasets"]],viewQuery:function(e,i){if(1&e&&(Oe(Ph,5),Oe(Bu,5)),2&e){let r;ue(r=de())&&(i.paginator=r.first),ue(r=de())&&(i.sort=r.first)}},decls:35,vars:7,consts:[[1,"mat-typography"],["name","existingDataSet"],["existingDataSet","ngForm"],[1,"mat-card-subtitle"],["matInput","","placeholder","Ex: navigation","value","",3,"keyup"],["input",""],[1,"mat-elevation-z8","full-width","table-container"],["matSort","","matSortActive","path","matSortDirection","asc",1,"full-display",3,"dataSource","trackBy"],["matColumnDef","path"],["class","pathHeader","mat-sort-header","",4,"matHeaderCellDef"],["class","pathCell","data-label","Path: ",4,"matCellDef"],["matColumnDef","updateTimer"],["class","dataHeader","mat-sort-header","",4,"matHeaderCellDef"],["class","dataCell","data-label","Interval: ",4,"matCellDef"],["matColumnDef","dataPoints"],["class","dataCell","data-label","Data Points: ",4,"matCellDef"],["matColumnDef","actions"],["class","actionHeader","mat-sort-header","",4,"matHeaderCellDef"],["class","actionCell",4,"matCellDef"],["class","headerRow",4,"matHeaderRowDef","matHeaderRowDefSticky"],["class","dataRow",4,"matRowDef","matRowDefColumns"],[4,"matNoDataRow"],[1,"paginator"],["pageSize","5",3,"pageSizeOptions"],[1,"formActionFooter"],[1,"formActionDivider"],["mat-raised-button","","color","accent",1,"formActionButton",3,"click"],["mat-sort-header","",1,"pathHeader"],["data-label","Path: ",1,"pathCell"],["mat-sort-header","",1,"dataHeader"],["data-label","Interval: ",1,"dataCell"],["data-label","Data Points: ",1,"dataCell"],["mat-sort-header","",1,"actionHeader"],[1,"actionCell"],["mat-raised-button","","color","accent",1,"small-button","buttons",3,"click"],[1,"headerRow"],[1,"dataRow"]],template:function(e,i){1&e&&(v(0,"div",0)(1,"form",1,2)(3,"h1"),M(4,"Datasets Configuration"),b(),v(5,"p",3),M(6,"Create historical datasets to record data values over time and display them on charts with the Historical DataSet widget."),b(),v(7,"mat-form-field")(8,"mat-label"),M(9,"Filter"),b(),v(10,"input",4,5),ne("keyup",function(o){return i.applyFilter(o)}),b()(),v(12,"div",6)(13,"mat-table",7),zi(14,8),G(15,vme,2,0,"mat-header-cell",9),G(16,bme,2,1,"mat-cell",10),Wi(),zi(17,11),G(18,yme,2,0,"mat-header-cell",12),G(19,wme,2,1,"mat-cell",13),Wi(),zi(20,14),G(21,Cme,2,0,"mat-header-cell",12),G(22,Sme,2,1,"mat-cell",15),Wi(),zi(23,16),G(24,xme,1,0,"mat-header-cell",17),G(25,kme,5,0,"mat-cell",18),Wi(),G(26,Dme,1,0,"mat-header-row",19),G(27,Mme,1,0,"mat-row",20),G(28,Tme,2,1,"mat-row",21),b()(),v(29,"div",22),Y(30,"mat-paginator",23),b(),v(31,"div",24),Y(32,"mat-divider",25),v(33,"button",26),ne("click",function(){return i.openDatasetModal()}),M(34,"Add"),b()()()()),2&e&&(I(13),R("dataSource",i.tableData)("trackBy",i.trackByUuid),I(13),R("matHeaderRowDef",i.displayedColumns)("matHeaderRowDefSticky",!0),I(1),R("matRowDefColumns",i.displayedColumns),I(3),R("pageSizeOptions",Xi(6,Eme)))},dependencies:[ks,ts,ns,Ji,Fo,Ho,na,Lu,Rb,hm,Fb,fm,dm,Nb,pm,Ih,Lb,Bb,Vb,Ph,Bu,Ux],styles:[Z5]}),t})(),Q5=(()=>{class t{constructor(e,i,r){this.SignalKService=e,this.dialogRef=i,this.dataset=r,this.titleDialog=null,this.newDataset={uuid:null,path:null,signalKSource:null,updateTimer:1,dataPoints:30,name:null},this.formDataset=null,this.availablePaths=[],this.availableSources=[],this.filterSelfPaths=!0}ngOnInit(){if(this.dataset){this.titleDialog="Edit Dataset",this.formDataset=this.dataset;let e=this.SignalKService.getPathObject(this.formDataset.path);null!==e&&(this.availableSources=["default"].concat(Object.keys(e.sources)))}else this.titleDialog="Add Dataset",this.formDataset=this.newDataset;this.availablePaths=this.SignalKService.getPathsByType("number").sort()}changePath(){let e=this.SignalKService.getPathObject(this.formDataset.path);null!==e&&(this.availableSources=["default"].concat(Object.keys(e.sources)),this.formDataset.signalKSource="default")}closeForm(){this.dialogRef.close(this.formDataset)}}return t.\u0275fac=function(e){return new(e||t)(D(Na),D(Ra),D(Iu))},t.\u0275cmp=Pe({type:t,selectors:[["settings-datasets-modal"]],decls:39,vars:13,consts:[["mat-dialog-title",""],["name","datasetForm",3,"ngSubmit"],["datasetForm","ngForm"],["label","Source Data"],[1,"tab-content"],["appearance","outline","floatLabel","always",1,"full-width"],["placeholder","Select data path","name","selectedPath","required","",3,"ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],["name","filterSelfPaths",3,"ngModel","ngModelChange"],["placeholder","Select data source","name","selectedSource","required","",3,"ngModel","ngModelChange"],["type","button","mat-raised-button","","color","accent","matStepperNext","",3,"disabled"],["label","Data Points"],["matInput","","placeholder","Interval(seconds)","type","number","name","interval","required","",3,"ngModel","ngModelChange"],["matInput","","placeholder","Data Points","type","number","name","decimals","required","",3,"ngModel","ngModelChange"],["type","button","mat-raised-button","","color","accent","matStepperPrevious","",1,"buttons"],["mat-raised-button","","type","submit","color","accent",1,"buttons",3,"disabled"],[3,"value"]],template:function(e,i){if(1&e&&(v(0,"h2",0),M(1),b(),v(2,"mat-dialog-content")(3,"form",1,2),ne("ngSubmit",function(){return i.closeForm()}),v(5,"mat-horizontal-stepper")(6,"mat-step",3)(7,"div",4)(8,"mat-form-field",5)(9,"mat-label"),M(10,"Signal K Path"),b(),v(11,"mat-select",6),ne("ngModelChange",function(o){return i.formDataset.path=o})("ngModelChange",function(){return i.changePath()}),G(12,Ame,2,2,"mat-option",7),es(13,"filterSelf"),b()(),v(14,"mat-checkbox",8),ne("ngModelChange",function(o){return i.filterSelfPaths=o}),M(15," Restrict to own vessel "),b(),Y(16,"br")(17,"br"),v(18,"mat-form-field",5)(19,"mat-label"),M(20,"Source"),b(),v(21,"mat-select",9),ne("ngModelChange",function(o){return i.formDataset.signalKSource=o}),G(22,Ome,2,2,"mat-option",7),b()()(),v(23,"button",10),M(24," Next "),b()(),v(25,"mat-step",11)(26,"div",4)(27,"mat-form-field",5)(28,"mat-label"),M(29,"Set data capture interval (sec)"),b(),v(30,"input",12),ne("ngModelChange",function(o){return i.formDataset.updateTimer=o}),b()(),v(31,"mat-form-field",5)(32,"mat-label"),M(33,"Total most recent data points that makes the dataset"),b(),v(34,"input",13),ne("ngModelChange",function(o){return i.formDataset.dataPoints=o}),b()(),v(35,"button",14),M(36," Back "),b(),v(37,"button",15),M(38," Save "),b()()()()()()),2&e){const r=yi(4);I(1),vn(" ",i.titleDialog," "),I(10),R("ngModel",i.formDataset.path),I(1),R("ngForOf",_1(13,10,i.availablePaths,i.filterSelfPaths)),I(2),R("ngModel",i.filterSelfPaths),I(7),R("ngModel",i.formDataset.signalKSource),I(1),R("ngForOf",i.availableSources),I(1),R("disabled",!i.formDataset.path),I(7),R("ngModel",i.formDataset.updateTimer),I(4),R("ngModel",i.formDataset.dataPoints),I(3),R("disabled",!r.valid)}},dependencies:[Eo,ks,ea,uh,xs,ts,ta,Sl,ns,Ji,Pu,Ru,Fo,Ho,Fa,Es,yh,WN,jN,Zte,Qte,na,_me],styles:[Z5]}),t})();jh.register(...aue);const Pme=jh;function Rme(t,n){if(1&t&&(v(0,"div",9),Y(1,"i",10),M(2),b()),2&t){const e=re();I(2),vn(" ",e.data.error," ")}}const X5=function(){return{standalone:!1}};let J5=(()=>{class t{constructor(e,i){this.dialogRef=e,this.data=i,this.titleDialog="Sign in to Signal K"}ngOnInit(){}SaveCredential(){this.data.error=null,this.dialogRef.close(this.data)}}return t.\u0275fac=function(e){return new(e||t)(D(Ra),D(Iu))},t.\u0275cmp=Pe({type:t,selectors:[["app-modal-user-credential"]],decls:21,vars:10,consts:[["name","login",3,"ngSubmit"],["login","ngForm"],["mat-dialog-title",""],["class","errorMsgBox",4,"ngIf"],[1,"userLoginInput"],["type","text","autocomplete","username","id","username","matInput","","placeholder","User ID","name","username","required","",3,"ngModel","ngModelOptions","ngModelChange"],["type","password","autocomplete","current-password","id","current-password","matInput","","placeholder","Password","name","current-password","required","",3,"ngModel","ngModelOptions","ngModelChange"],["mat-raised-button","","type","button",3,"mat-dialog-close"],["mat-raised-button","","color","accent","type","submit",3,"disabled"],[1,"errorMsgBox"],["aria-hidden","true",1,"fa-solid","fa-times-circle",2,"color","red","padding-right","5px"]],template:function(e,i){if(1&e&&(v(0,"form",0,1),ne("ngSubmit",function(){return i.SaveCredential()}),v(2,"span",2),M(3),b(),v(4,"mat-dialog-content"),G(5,Rme,3,1,"div",3),Y(6,"br"),v(7,"mat-form-field",4)(8,"input",5),ne("ngModelChange",function(o){return i.data.user=o}),b(),v(9,"mat-error"),M(10," You must enter a User ID value "),b()(),Y(11,"br"),v(12,"mat-form-field",4)(13,"input",6),ne("ngModelChange",function(o){return i.data.password=o}),b(),v(14,"mat-error"),M(15," You must enter a password value "),b()()(),v(16,"mat-dialog-actions")(17,"button",7),M(18,"Cancel"),b(),v(19,"button",8),M(20,"Sign in"),b()()()),2&e){const r=yi(1);I(3),Qn(i.titleDialog),I(2),R("ngIf",i.data.error),I(3),R("ngModel",i.data.user)("ngModelOptions",Xi(8,X5)),I(5),R("ngModel",i.data.password)("ngModelOptions",Xi(9,X5)),I(4),R("mat-dialog-close",!1),I(2),R("disabled",!r.valid)}},dependencies:[ui,ks,ea,xs,ts,ta,Sl,ns,Ji,kh,Pu,Ru,Dh,im,Fo,na],styles:[".errorMsgBox[_ngcontent-%COMP%]{background-color:#fff8dc;color:#2f4f4f;display:flex;width:auto;padding:5px;font-family:Arial,Times,serif;font-size:14px}"]}),t})();const Fme=["lineGraph"];function Nme(t,n){if(1&t){const e=Zn();v(0,"span")(1,"button",24),ne("click",function(){return ut(e),lt(re().deleteToken())}),M(2," Delete Token "),b()()}if(2&t){const e=re();I(1),R("disabled",!e.authToken)}}function Lme(t,n){if(1&t){const e=Zn();v(0,"span")(1,"button",25),ne("click",function(){return ut(e),lt(re().requestDeviceAccessToken())}),M(2," Request Token "),b()()}if(2&t){const e=re();I(1),R("disabled",2!==e.streamStatus.operation)}}function Bme(t,n){1&t&&(v(0,"div"),M(1," Type: Session "),b())}function Vme(t,n){1&t&&(v(0,"div"),M(1," Type: Device Access "),b())}function Hme(t,n){if(1&t&&(v(0,"div"),G(1,Bme,2,0,"div",11),G(2,Vme,2,0,"div",11),M(3),es(4,"slice"),b()),2&t){const e=re();I(1),R("ngIf",!e.authToken.isDeviceAccessToken),I(1),R("ngIf",e.authToken.isDeviceAccessToken),I(1),vn(" Token: ",function PA(t,n,e,i,r){const o=t+22,s=Ae(),a=Jl(s,o);return op(s,o)?AA(s,Xr(),n,a.transform,e,i,r,a):a.transform(e,i,r)}(4,3,e.authToken.token,0,20),"... ")}}function zme(t,n){1&t&&(v(0,"div"),M(1," No Authorization Token "),b())}function Wme(t,n){1&t&&Y(0,"i",26)}function jme(t,n){1&t&&Y(0,"i",27)}function Ume(t,n){1&t&&Y(0,"i",26)}function $me(t,n){1&t&&Y(0,"i",27)}const Gme=function(){return{standalone:!1}},qme=function(){return{standalone:!0}};let Yme=(()=>{class t{constructor(e,i,r,o,s,a,l,c){this.dialog=e,this.appSettingsService=i,this.notificationsService=r,this.signalKService=o,this.signalKConnectionService=s,this.signalkRequestsService=a,this.deltaService=l,this.auth=c,this.updatesSeconds=[],this.chart=null,this.themeNameSub=null}ngOnInit(){this.isLoggedIn=!!this.auth.isLoggedIn$,this.connectionConfig=this.appSettingsService.getConnectionConfig(),this.authTokenSub=this.auth.authToken$.subscribe(e=>{this.authToken=e||null}),this.isLoggedInSub=this.auth.isLoggedIn$.subscribe(e=>{this.isLoggedIn=e}),this.skEndpointServiceStatusSub=this.signalKConnectionService.getServiceEndpointStatusAsO().subscribe(e=>{this.endpointServiceStatus=e}),this.skStreamStatusSub=this.deltaService.getDataStreamStatusAsO().subscribe(e=>{this.streamStatus=e}),this.updatesSecondSub=this.signalKService.getupdateStatsSecond().subscribe(e=>{this.lastSecondsUpdate=e[e.length-1],this.updatesSeconds=e,null!==this.chart&&(this.chart.config.data.datasets[0].data=e,this.chart.update("none"))}),this.textColor=window.getComputedStyle(this.lineGraph.nativeElement).color,this.chartCtx=this.lineGraph.nativeElement.getContext("2d"),this.startChart(),this.subscribeTheme()}openUserCredentialModal(e){this.dialog.open(J5,{data:{user:this.connectionConfig.loginName,password:this.connectionConfig.loginPassword,error:e}}).afterClosed().subscribe(r=>{!r||(this.connectionConfig.loginName=r.user,this.connectionConfig.loginPassword=r.password,this.connectToServer())})}connectToServer(){!this.connectionConfig.useSharedConfig||this.connectionConfig.loginName&&this.connectionConfig.loginPassword?this.connectionConfig.signalKUrl!=this.appSettingsService.signalkUrl.url?(this.appSettingsService.setConnectionConfig(this.connectionConfig),this.connectionConfig.useSharedConfig?this.serverLogin(this.connectionConfig.signalKUrl):(this.authToken&&this.auth.deleteToken(),location.reload())):(this.appSettingsService.setConnectionConfig(this.connectionConfig),this.authToken&&this.authToken.isDeviceAccessToken&&this.connectionConfig.useSharedConfig?this.serverLogin(this.connectionConfig.signalKUrl):!this.authToken||this.authToken.isDeviceAccessToken||this.connectionConfig.useSharedConfig?this.connectionConfig.useSharedConfig?this.serverLogin(this.connectionConfig.signalKUrl):location.reload():(this.deleteToken(),location.reload())):this.openUserCredentialModal("Credentials required")}serverLogin(e){this.auth.login({usr:this.connectionConfig.loginName,pwd:this.connectionConfig.loginPassword,newUrl:e}).then(i=>{location.reload()}).catch(i=>{401==i.status?(this.openUserCredentialModal("Sign in failed: Incorrect user/password. Enter valide credentials"),console.log("[Setting-SignalK Component] Sign in failed: "+i.error.message)):404==i.status?(this.notificationsService.sendSnackbarNotification("Sign in failed: Login API not found",5e3,!1),console.log("[Setting-SignalK Component] Sign in failed: "+i.error.message)):0==i.status?(this.notificationsService.sendSnackbarNotification("Sign in failed: Cannot reach server at Signal K URL",5e3,!1),console.log("[Setting-SignalK Component] Sign in failed: Cannot reach server at Signal K URL:"+i.message)):(this.notificationsService.sendSnackbarNotification("Unknown authentication failure: "+JSON.stringify(i),5e3,!1),console.log("[Setting-SignalK Component] Unknown login error response: "+JSON.stringify(i)))})}requestDeviceAccessToken(){this.signalkRequestsService.requestDeviceAccessToken()}deleteToken(){this.auth.deleteToken()}startChart(){null!==this.chart&&this.chart.destroy(),this.chart=new Pme(this.chartCtx,{type:"line",data:{labels:Array.from(Array(60).keys()).reverse(),datasets:[{label:"Updates Per Second",data:this.updatesSeconds,borderColor:this.textColor}]},options:{maintainAspectRatio:!1,scales:{x:{beginAtZero:!0,position:"bottom",ticks:{autoSkip:!0,autoSkipPadding:30}},y:{beginAtZero:!0,type:"linear",position:"left"}},plugins:{legend:{labels:{color:this.textColor}}}}})}subscribeTheme(){this.themeNameSub=this.appSettingsService.getThemeNameAsO().subscribe(e=>{setTimeout(()=>{this.textColor=window.getComputedStyle(this.lineGraph.nativeElement).color,this.startChart()},100)})}useSharedConfigToggleClick(e){if(e.checked){let i=this.signalKConnectionService.serverVersion$.getValue();if(!Gx(i,"1.46.2",">="))return this.notificationsService.sendSnackbarNotification("Configuration sharing requires Signal K version 1.46.2 or better",0),void(this.connectionConfig.useSharedConfig=!1);this.openUserCredentialModal(null)}}ngOnDestroy(){this.skEndpointServiceStatusSub.unsubscribe(),this.skStreamStatusSub.unsubscribe(),this.authTokenSub.unsubscribe(),this.isLoggedInSub.unsubscribe(),this.updatesSecondSub.unsubscribe(),this.themeNameSub.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(D(Al),D(wr),D(ia),D(Na),D(Lh),D(qk),D(zu),D(Rl))},t.\u0275cmp=Pe({type:t,selectors:[["settings-signalk"]],viewQuery:function(e,i){if(1&e&&Oe(Fme,7,xe),2&e){let r;ue(r=de())&&(i.lineGraph=r.first)}},decls:61,vars:21,consts:[[1,"mat-typography"],["name","connectionForm",3,"ngSubmit"],["connectionForm","ngForm"],[1,"mat-card-subtitle"],[1,"connectUrlInput"],["type","url","matInput","","placeholder","Ex. http://192.168.0.1:3000","name","signalKURL","required","","pattern","https?://.+",3,"ngModel","ngModelOptions","ngModelChange"],["name","useSharedConfigToggle",3,"ngModel","ngModelOptions","disabled","ngModelChange","change"],["useSharedConfigToggle",""],["mat-raised-button","","type","button","color","primary","matTooltip","Configure User Credentials",3,"disabled","click"],[1,"formActionFooter"],[1,"formActionDivider"],[4,"ngIf"],["mat-raised-button","","type","submit","color","accent",1,"formActionButton",3,"disabled"],[1,"serverStatus"],[1,"mat-card-subtitle",2,"margin","0px"],[1,"flex-container"],[1,"flex-item-detail"],[1,"mat-card-subtitle","tableCellLabel"],[1,"mat-card-subtitle","tableCellData"],["class","fa-solid fa-check","style","color:green;","aria-hidden","true",4,"ngIf"],["class","fa-solid fa-times-circle","style","color:red;","aria-hidden","true",4,"ngIf"],[1,"flex-item-chart"],["id","chart"],["lineGraph",""],["mat-raised-button","","color","primary","matTooltip","Delete Signal K Authorization Token",1,"formActionButton",3,"disabled","click"],["mat-raised-button","","type","button","color","primary","matTooltip","Request a Device Authorization token. EXPLANNATION: Device Authorization token is only needed when Kip is used to send data to the server (ie. Using State, Switch, Autopilot Widgets) or when saving Kip configuration remotly. USAGE: Once a Devive Authorization token request is submitted, the request must be approved from the server. See Signal K Server - Security/Access Requests menu. Once approved, Kip will complete the process automatically.",3,"disabled","click"],["aria-hidden","true",1,"fa-solid","fa-check",2,"color","green"],["aria-hidden","true",1,"fa-solid","fa-times-circle",2,"color","red"]],template:function(e,i){if(1&e&&(v(0,"div",0)(1,"form",1,2),ne("ngSubmit",function(){return i.connectToServer()}),v(3,"h1"),M(4,"Settings"),b(),v(5,"p",3),M(6,"Set server connection properties, Sign in credential and manage Device Authorisation token."),b(),v(7,"mat-form-field",4)(8,"mat-label"),M(9,"Signal K URL"),b(),v(10,"input",5),ne("ngModelChange",function(o){return i.connectionConfig.signalKUrl=o}),b(),v(11,"mat-error"),M(12,' Valid URL is required. Ex. "https://demo.signalK.com" or "http://my.server.com:3000" '),b()(),Y(13,"br"),v(14,"mat-slide-toggle",6,7),ne("ngModelChange",function(o){return i.connectionConfig.useSharedConfig=o})("change",function(o){return i.useSharedConfigToggleClick(o)}),M(16," Enable user Sign in and configuration sharing "),b(),Y(17,"br")(18,"br"),v(19,"button",8),ne("click",function(){return i.openUserCredentialModal(null)}),M(20," Set Sign in credentials "),b(),v(21,"div",9),Y(22,"mat-divider",10),G(23,Nme,3,1,"span",11),G(24,Lme,3,1,"span",11),v(25,"button",12),M(26," Connect "),b()()(),v(27,"div",13)(28,"h3",14),M(29," Connection Status "),b(),v(30,"div",15)(31,"div",16)(32,"table")(33,"tr")(34,"td",17),M(35," Version: "),b(),v(36,"td",18),M(37),b()(),v(38,"tr")(39,"td",17),M(40," Authorization: "),b(),v(41,"td",18),G(42,Hme,5,7,"div",11),G(43,zme,2,0,"div",11),b()(),v(44,"tr")(45,"td",17),M(46," API Endpoint: "),b(),v(47,"td",18),G(48,Wme,1,0,"i",19),G(49,jme,1,0,"i",20),M(50),b()(),v(51,"tr")(52,"td",17),M(53," Data Stream: "),b(),v(54,"td",18),G(55,Ume,1,0,"i",19),G(56,$me,1,0,"i",20),M(57),b()()()(),v(58,"div",21),Y(59,"canvas",22,23),b()()()()),2&e){const r=yi(2);I(10),R("ngModel",i.connectionConfig.signalKUrl)("ngModelOptions",Xi(19,Gme)),I(4),R("ngModel",i.connectionConfig.useSharedConfig)("ngModelOptions",Xi(20,qme))("disabled",!i.connectionConfig.signalKUrl),I(5),R("disabled",!i.connectionConfig.useSharedConfig),I(4),R("ngIf",!i.connectionConfig.useSharedConfig&&i.authToken&&!i.isLoggedIn),I(1),R("ngIf",!i.connectionConfig.useSharedConfig&&!i.authToken),I(1),R("disabled",!r.form.valid),I(12),vn(" ",i.endpointServiceStatus.serverDescrption," "),I(5),R("ngIf",i.authToken),I(1),R("ngIf",!i.authToken),I(5),R("ngIf",2===i.endpointServiceStatus.operation),I(1),R("ngIf",2!==i.endpointServiceStatus.operation),I(1),vn(" ",i.endpointServiceStatus.message," "),I(5),R("ngIf",2===i.streamStatus.operation),I(1),R("ngIf",2!==i.streamStatus.operation),I(1),Wd(" ",i.streamStatus.message," - Token: ",i.streamStatus.hasToken," ")}},dependencies:[ui,ks,ea,xs,ts,ta,cS,Sl,ns,Ji,Ix,im,Fo,Ho,na,Tx,Lu,rO],styles:[".connectUrlInput[_ngcontent-%COMP%]{width:100%}.userLoginInput[_ngcontent-%COMP%]{width:50%}.flex-container[_ngcontent-%COMP%]{width:100%;display:flex;flex-direction:row;flex-wrap:wrap;justify-content:flex-start;align-items:stretch;gap:10px 10px}.flex-item-detail[_ngcontent-%COMP%]{flex:0 0 290px}.flex-item-chart[_ngcontent-%COMP%]{flex:1 1 350px;position:relative;margin:0;height:130px;width:100%;border:2px inset}table[_ngcontent-%COMP%]{width:-moz-fit-content;width:fit-content}tr[_ngcontent-%COMP%]{vertical-align:top}.tableCellLabel[_ngcontent-%COMP%]{display:table-cell;text-align:right;padding:5px}.tableCellData[_ngcontent-%COMP%]{display:table-cell;margin:0!important;padding:5px}"]}),t})();function Kme(t,n){1&t&&(v(0,"div"),M(1," Writing to the server requires user Sign in or a Device token "),b())}const Zme=function(){return{standalone:!1}};function Qme(t,n){if(1&t){const e=Zn();v(0,"div")(1,"mat-form-field",41)(2,"mat-label"),M(3,"Scope"),b(),v(4,"mat-select",42),ne("ngModelChange",function(r){return ut(e),lt(re().saveConfigScope=r)}),v(5,"mat-option",43),M(6," Global "),b(),v(7,"mat-option",44),M(8," User "),b()()(),v(9,"mat-form-field",45)(10,"mat-label"),M(11,"Configuration Name"),b(),v(12,"input",46),ne("ngModelChange",function(r){return ut(e),lt(re().saveConfigName=r)}),b()(),G(13,Kme,2,0,"div",47),b()}if(2&t){const e=re();I(4),R("ngModel",e.saveConfigScope),I(8),R("ngModel",e.saveConfigName)("ngModelOptions",Xi(4,Zme)),I(1),R("ngIf",!e.hasToken)}}function Xme(t,n){1&t&&(v(0,"div",48)(1,"p"),M(2,"Sign in or Device Token required"),b()())}function Jme(t,n){if(1&t&&(v(0,"mat-option",51),M(1),b()),2&t){const e=n.$implicit;R("value",e),I(1),Wd(" ",e.scope," / ",e.name," ")}}function ege(t,n){if(1&t){const e=Zn();v(0,"div")(1,"mat-form-field",49)(2,"mat-label"),M(3,"Configuration"),b(),v(4,"mat-select",50),ne("ngModelChange",function(r){return ut(e),lt(re().deleteConfigItem=r)}),G(5,Jme,2,3,"mat-option",24),b()()()}if(2&t){const e=re();I(4),R("ngModel",e.deleteConfigItem),I(1),R("ngForOf",e.serverConfigList)}}function tge(t,n){1&t&&(v(0,"div",48)(1,"p"),M(2,"Sign in or Device Token required"),b()())}function nge(t,n){if(1&t&&(v(0,"mat-radio-button",52),M(1),b()),2&t){const e=n.$implicit;R("value",e),I(1),vn(" ",e," ")}}function ige(t,n){if(1&t&&(v(0,"mat-option",51),M(1),b()),2&t){const e=n.$implicit;R("value",e),I(1),Wd(" ",e.scope," / ",e.name," ")}}function rge(t,n){if(1&t&&(v(0,"mat-radio-button",52),M(1),b()),2&t){const e=n.$implicit;R("value",e),I(1),vn(" ",e," ")}}function oge(t,n){if(1&t&&(v(0,"mat-option",51),M(1),b()),2&t){const e=n.$implicit;R("value",e),I(1),Wd(" ",e.scope," / ",e.name," ")}}const sge=function(){return{name:"connectionConfig",updateOn:"submit"}},age=function(){return{name:"appConfig",updateOn:"submit"}},lge=function(){return{name:"widgetConfig",updateOn:"submit"}},cge=function(){return{name:"layoutConfig",updateOn:"submit"}},uge=function(){return{name:"themeConfig",updateOn:"submit"}},dge=function(){return{name:"zonesConfig",updateOn:"submit"}};function hge(t,n){if(1&t){const e=Zn();v(0,"div",17)(1,"div",53),Y(2,"mat-divider",11),v(3,"h3"),M(4,"Local Configration Editor"),b(),v(5,"i"),M(6,"Config is in raw json and no validation on save. Make sure you double check your changes, else you lose your configuration. A good choice is to back up first using the Save feature above first!"),b()(),v(7,"div",54)(8,"form",55),ne("ngSubmit",function(){return ut(e),lt(re().rawConfigSave("IConnectionConfig"))}),v(9,"mat-expansion-panel",56)(10,"mat-expansion-panel-header"),M(11,"Connection"),b(),v(12,"mat-form-field",57)(13,"textarea",58),ne("ngModelChange",function(r){return ut(e),lt(re().jsonConnectionConfig=r)}),b()(),v(14,"mat-action-row")(15,"button",59),M(16," Save Edits "),b()()()(),Y(17,"br"),v(18,"form",55),ne("ngSubmit",function(){return ut(e),lt(re().rawConfigSave("IAppConfig"))}),v(19,"mat-expansion-panel")(20,"mat-expansion-panel-header"),M(21,"General"),b(),v(22,"mat-form-field",57)(23,"textarea",58),ne("ngModelChange",function(r){return ut(e),lt(re().jsonAppConfig=r)}),M(24," "),b()(),v(25,"mat-action-row")(26,"button",59),M(27," Save Edits "),b()()()(),Y(28,"br"),v(29,"form",55),ne("ngSubmit",function(){return ut(e),lt(re().rawConfigSave("IWidgetConfig"))}),v(30,"mat-expansion-panel")(31,"mat-expansion-panel-header"),M(32,"Widgets"),b(),v(33,"mat-form-field",57)(34,"textarea",60),ne("ngModelChange",function(r){return ut(e),lt(re().jsonWidgetConfig=r)}),b()(),v(35,"mat-action-row")(36,"button",59),M(37," Save Edits "),b()()()(),Y(38,"br"),v(39,"form",55),ne("ngSubmit",function(){return ut(e),lt(re().rawConfigSave("ILayoutConfig"))}),v(40,"mat-expansion-panel")(41,"mat-expansion-panel-header"),M(42,"Layouts"),b(),v(43,"mat-form-field",57)(44,"textarea",61),ne("ngModelChange",function(r){return ut(e),lt(re().jsonLayoutConfig=r)}),b()(),v(45,"mat-action-row")(46,"button",59),M(47," Save Edits "),b()()()(),Y(48,"br"),v(49,"form",55),ne("ngSubmit",function(){return ut(e),lt(re().rawConfigSave("IThemeConfig"))}),v(50,"mat-expansion-panel")(51,"mat-expansion-panel-header"),M(52,"Theme"),b(),v(53,"mat-form-field",57)(54,"textarea",62),ne("ngModelChange",function(r){return ut(e),lt(re().jsonThemeConfig=r)}),b()(),v(55,"mat-action-row")(56,"button",59),M(57," Save Edits "),b()()()(),Y(58,"br"),v(59,"form",55),ne("ngSubmit",function(){return ut(e),lt(re().rawConfigSave("IZonesConfig"))}),v(60,"mat-expansion-panel")(61,"mat-expansion-panel-header"),M(62,"Zones"),b(),v(63,"mat-form-field",57)(64,"textarea",61),ne("ngModelChange",function(r){return ut(e),lt(re().jsonZonesConfig=r)}),b()(),v(65,"mat-action-row")(66,"button",59),M(67," Save Edits "),b()()()()()()}if(2&t){const e=re();I(13),R("ngModel",e.jsonConnectionConfig)("ngModelOptions",Xi(12,sge)),I(10),R("ngModel",e.jsonAppConfig)("ngModelOptions",Xi(13,age)),I(11),R("ngModel",e.jsonWidgetConfig)("ngModelOptions",Xi(14,lge)),I(10),R("ngModel",e.jsonLayoutConfig)("ngModelOptions",Xi(15,cge)),I(10),R("ngModel",e.jsonThemeConfig)("ngModelOptions",Xi(16,uge)),I(10),R("ngModel",e.jsonZonesConfig)("ngModelOptions",Xi(17,dge))}}let fge=(()=>{class t{constructor(e,i,r,o,s){this.appSettingsService=e,this.storageSvc=i,this.notificationsService=r,this.auth=o,this.fb=s,this.hasToken=!1,this.isTokenTypeDevice=!1,this.supportApplicationData=!1,this.serverConfigList=[],this.storageLocation=null,this.locations=["Local Storage","Remote Storage"],this.saveConfigName=null,this.saveConfigScope=null,this.showRawEditor=!1}ngOnInit(){if(this.tokenSub=this.auth.authToken$.subscribe(e=>{e&&e.token?(this.hasToken=!0,this.isTokenTypeDevice=e.isDeviceAccessToken,this.saveConfigScope=e.isDeviceAccessToken?"glodal":"user"):this.hasToken=!1}),this.copyConfigForm=this.fb.group({copySource:["",Da.required],sourceTarget:[{value:"",disabled:!0},Da.required],copyDestination:["",Da.required],destinationTarget:[{value:"",disabled:!0},Da.required]}),!this.hasToken){let e=this.copyConfigForm.get("copySource");e.setValue("Remote Storage"),e.disable(),this.copyConfigForm.get("sourceTarget").enable();let i=this.copyConfigForm.get("copyDestination");i.setValue("Local Storage"),i.disable()}this.supportApplicationData=this.storageSvc.isAppDataSupported,this.getLiveConfig(),this.getServerConfigList()}getServerConfigList(){this.supportApplicationData&&this.storageSvc.listConfigs().then(e=>{this.serverConfigList=e}).catch(e=>{this.notificationsService.sendSnackbarNotification("Error listing server configurations: "+e,3e3,!1)})}saveConfig(e,i,r){this.supportApplicationData&&(this.storageSvc.setConfig(i,r,e)?(this.notificationsService.sendSnackbarNotification(`Configuration [${r}] saved to [${i}] storage scope`,5e3,!1),this.getServerConfigList()):this.notificationsService.sendSnackbarNotification("Error saving configuration to server",0,!1))}copyConfig(){var e=this;return Mc(function*(){if("Local Storage"===e.copyConfigForm.value.copySource)"Remote Storage"===e.copyConfigForm.value.copyDestination?"user"===e.copyConfigForm.value.destinationTarget.scope&&"default"===e.copyConfigForm.value.destinationTarget.name&&e.hasToken&&!e.isTokenTypeDevice?e.notificationsService.sendSnackbarNotification("Local Storage cannot be copied to [user / default] when Sign in option is enabled. Use another copy source",0,!1):e.saveConfig(e.getLocalConfig(),e.copyConfigForm.value.destinationTarget.scope,e.copyConfigForm.value.destinationTarget.name):"Local Storage"===e.copyConfigForm.value.copyDestination&&e.notificationsService.sendSnackbarNotification("Local Storage cannot be copies to Local Storage ",0,!1);else{let i=null;try{yield e.storageSvc.getConfig(e.copyConfigForm.value.sourceTarget.scope,e.copyConfigForm.value.sourceTarget.name).then(r=>{i=r})}catch(r){return void e.notificationsService.sendSnackbarNotification("Error retreiving configuration from server: "+r.statusText,3e3,!1)}"Remote Storage"===e.copyConfigForm.value.copyDestination?(e.saveConfig(i,e.copyConfigForm.value.destinationTarget.scope,e.copyConfigForm.value.destinationTarget.name),"user"===e.copyConfigForm.value.destinationTarget.scope&&"default"===e.copyConfigForm.value.destinationTarget.name&&e.hasToken&&!e.isTokenTypeDevice&&e.appSettingsService.reloadApp()):(e.appSettingsService.replaceConfig("appConfig",i.app,!1),e.appSettingsService.replaceConfig("widgetConfig",i.widget,!1),e.appSettingsService.replaceConfig("layoutConfig",i.layout,!1),e.appSettingsService.replaceConfig("themeConfig",i.theme,!1),e.appSettingsService.replaceConfig("zonesConfig",i.zones,!0))}})()}deleteConfig(e,i){this.storageSvc.removeItem(e,i),this.getServerConfigList(),this.notificationsService.sendSnackbarNotification(`Configuration [${i}] deleted from [${e}] storage scope`,5e3,!1)}rawConfigSave(e){switch(e){case"IConnectionConfig":this.appSettingsService.replaceConfig("connectionConfig",this.liveConnectionConfig,!0);break;case"IAppConfig":this.hasToken&&!this.isTokenTypeDevice?this.storageSvc.patchConfig(e,this.liveAppConfig):this.appSettingsService.replaceConfig("appConfig",this.liveAppConfig,!0);break;case"IWidgetConfig":this.hasToken&&!this.isTokenTypeDevice?this.storageSvc.patchConfig(e,this.liveWidgetConfig):this.appSettingsService.replaceConfig("widgetConfig",this.liveWidgetConfig,!0);break;case"ILayoutConfig":this.hasToken&&!this.isTokenTypeDevice?this.storageSvc.patchConfig(e,this.liveLayoutConfig):this.appSettingsService.replaceConfig("layoutConfig",this.liveLayoutConfig,!0);break;case"IThemeConfig":this.hasToken&&!this.isTokenTypeDevice?this.storageSvc.patchConfig(e,this.liveThemeConfig):this.appSettingsService.replaceConfig("themeConfig",this.liveThemeConfig,!0);break;case"IZonesConfig":this.hasToken&&!this.isTokenTypeDevice?this.storageSvc.patchConfig(e,this.liveZonesConfig):this.appSettingsService.replaceConfig("zonesConfig",this.liveZonesConfig,!0)}}resetConfigToDefault(){this.appSettingsService.resetSettings()}resetConnectionToDefault(){this.appSettingsService.resetConnection()}loadDemoConfig(){this.appSettingsService.loadDemoConfig()}getLiveConfig(){this.liveAppConfig=this.appSettingsService.getAppConfig(),this.liveConnectionConfig=this.appSettingsService.getConnectionConfig(),this.liveWidgetConfig=this.appSettingsService.getWidgetConfig(),this.liveLayoutConfig=this.appSettingsService.getLayoutConfig(),this.liveThemeConfig=this.appSettingsService.getThemeConfig(),this.liveZonesConfig=this.appSettingsService.getZonesConfig()}get jsonZonesConfig(){return JSON.stringify(this.liveZonesConfig,null,2)}set jsonZonesConfig(e){try{this.liveZonesConfig=JSON.parse(e)}catch(i){console.log(`JSON syntax error: ${i}`)}}get jsonThemeConfig(){return JSON.stringify(this.liveThemeConfig,null,2)}set jsonThemeConfig(e){try{this.liveThemeConfig=JSON.parse(e)}catch(i){console.log(`JSON syntax error: ${i}`)}}get jsonLayoutConfig(){return JSON.stringify(this.liveLayoutConfig,null,2)}set jsonLayoutConfig(e){try{this.liveLayoutConfig=JSON.parse(e)}catch(i){console.log(`JSON syntax error: ${i}`)}}get jsonWidgetConfig(){return JSON.stringify(this.liveWidgetConfig,null,2)}set jsonWidgetConfig(e){try{this.liveWidgetConfig=JSON.parse(e)}catch(i){console.log(`JSON syntax error: ${i}`)}}get jsonAppConfig(){return JSON.stringify(this.liveAppConfig,null,2)}set jsonAppConfig(e){try{this.liveAppConfig=JSON.parse(e)}catch(i){console.log(`JSON syntax error: ${i}`)}}get jsonConnectionConfig(){return JSON.stringify(this.liveConnectionConfig,null,2)}set jsonConnectionConfig(e){try{this.liveConnectionConfig=JSON.parse(e)}catch(i){console.log(`JSON syntax error: ${i}`)}}getLocalConfig(){return{app:this.appSettingsService.getAppConfig(),widget:this.appSettingsService.getWidgetConfig(),layout:this.appSettingsService.getLayoutConfig(),theme:this.appSettingsService.getThemeConfig(),zones:this.appSettingsService.getZonesConfig()}}onSourceSelectChange(e){"Local Storage"===e.value?this.copyConfigForm.get("sourceTarget").disable():this.copyConfigForm.get("sourceTarget").enable()}onDestinationSelectChange(e){"Local Storage"===e.value?this.copyConfigForm.get("destinationTarget").disable():this.copyConfigForm.get("destinationTarget").enable()}ngOnDestroy(){this.tokenSub.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(D(wr),D(Gb),D(ia),D(Rl),D(Xq))},t.\u0275cmp=Pe({type:t,selectors:[["settings-config"]],decls:100,vars:14,consts:[[1,"mat-typography"],[1,"mat-card-subtitle"],["routerLink","/help"],[1,"flex-container"],[1,"flex-item"],["name","saveConfigForm",3,"ngSubmit"],["saveConfigForm","ngForm"],[2,"margin-bottom","16px"],[4,"ngIf","ngIfElse"],["elseBlock",""],[1,"formActionFooter"],[1,"formActionDivider"],["mat-raised-button","","type","submit","color","accent",3,"disabled"],["name","deleteConfigForm",3,"ngSubmit"],["deleteConfigForm","ngForm"],[1,"flex-item-copy"],[3,"formGroup","ngSubmit"],[1,"config-row"],[1,"config-column"],["id","sources-radio-group-label"],["formControlName","copySource","aria-labelledby","sources-radio-group-label",1,"sources-radio-group",3,"change"],["class","sources-radio-button",3,"value",4,"ngFor","ngForOf"],[1,"select-config"],["formControlName","sourceTarget"],[3,"value",4,"ngFor","ngForOf"],["formControlName","copyDestination","aria-labelledby","sources-radio-group-label",1,"sources-radio-group",3,"change"],["formControlName","destinationTarget"],[2,"margin-top","20px"],[1,"config-operation-container"],[1,"demo-txt"],[1,"descriptiveTexts"],[1,"demo-btn","btn-div"],["mat-raised-button","","type","button","color","accent",3,"click"],[1,"reset-txt"],[1,"reset-btn","btn-div"],[1,"config-txt"],[1,"config-btn","btn-div"],[1,"editor-txt"],[1,"editor-bnt","btn-div"],[1,"example-margin",3,"ngModel","ngModelChange"],["class","config-row",4,"ngIf"],[2,"width","25%"],["name","serverConfiScope","required","",3,"ngModel","ngModelChange"],["value","global"],["value","user"],[2,"width","70%","padding-left","3%"],["matInput","","name","serverConfigName","placeholder","Enter a name for the configuration","required","",3,"ngModel","ngModelOptions","ngModelChange"],[4,"ngIf"],[1,"no-token-notice"],[2,"width","100%"],["name","selectedDeleteItem","required","",3,"ngModel","ngModelChange"],[3,"value"],[1,"sources-radio-button",3,"value"],[2,"padding-top","10px","margin-bottom","10px"],[2,"margin-left","10px","margin-right","10px","width","100%"],[3,"ngSubmit"],["color","accent"],[1,"config-size"],["matInput","","placeholder","Raw Application JSON configuration","wrap","off","autocomplete","off","autocorrect","off","spellcheck","false",1,"textheight",3,"ngModel","ngModelOptions","ngModelChange"],["mat-raised-button","","type","submit","color","accent"],["matInput","","placeholder","Raw Widget JSON configuration","wrap","off","autocomplete","off","autocorrect","off","spellcheck","false",1,"textheight",3,"ngModel","ngModelOptions","ngModelChange"],["matInput","","placeholder","Raw Layout JSON configuration","wrap","off","autocomplete","off","autocorrect","off","spellcheck","false",1,"textheight",3,"ngModel","ngModelOptions","ngModelChange"],["matInput","","placeholder","Raw Theme JSON configuration","wrap","off","autocomplete","off","autocorrect","off","spellcheck","false",1,"textheight",3,"ngModel","ngModelOptions","ngModelChange"]],template:function(e,i){if(1&e&&(v(0,"div",0)(1,"h1"),M(2,"Configuration Management"),b(),v(3,"p",1),M(4," Recommended Reading: To understand configuration management and storage options, consult the "),v(5,"a",2),M(6,"Configuration Management Help"),b(),M(7," section. "),b(),v(8,"div",3)(9,"div",4)(10,"form",5,6),ne("ngSubmit",function(){return i.saveConfig(i.getLocalConfig(),i.saveConfigScope,i.saveConfigName)}),v(12,"h3"),M(13,"Save"),b(),v(14,"p",7),M(15,"Save current configuration to server"),b(),G(16,Qme,14,5,"div",8),G(17,Xme,3,0,"ng-template",null,9,Zs),v(19,"div",10),Y(20,"mat-divider",11),v(21,"button",12),M(22," Save "),b()()()(),v(23,"div",4)(24,"form",13,14),ne("ngSubmit",function(){return i.deleteConfig(i.deleteConfigItem.scope,i.deleteConfigItem.name)}),v(26,"h3"),M(27,"Delete"),b(),v(28,"p",7),M(29,"Delete a configuration from the server"),b(),G(30,ege,6,2,"div",8),G(31,tge,3,0,"ng-template",null,9,Zs),v(33,"div",10),Y(34,"mat-divider",11),v(35,"button",12),M(36," Delete "),b()()()(),v(37,"div",15)(38,"form",16),ne("ngSubmit",function(){return i.copyConfig()}),v(39,"h3"),M(40,"Copy"),b(),v(41,"p",7),M(42,"Create, duplicate and overwrite configurations."),b(),v(43,"div",17)(44,"div",18)(45,"label",19),M(46,"Source"),b(),v(47,"mat-radio-group",20),ne("change",function(o){return i.onSourceSelectChange(o)}),G(48,nge,2,2,"mat-radio-button",21),b(),v(49,"mat-form-field",22)(50,"mat-label"),M(51,"Configuration"),b(),v(52,"mat-select",23),G(53,ige,2,3,"mat-option",24),b()()(),v(54,"div",18)(55,"label",19),M(56,"Destination"),b(),v(57,"mat-radio-group",25),ne("change",function(o){return i.onDestinationSelectChange(o)}),G(58,rge,2,2,"mat-radio-button",21),b(),v(59,"mat-form-field",22)(60,"mat-label"),M(61,"Configuration"),b(),v(62,"mat-select",26),G(63,oge,2,3,"mat-option",24),b()()()(),v(64,"div",10),Y(65,"mat-divider",11),v(66,"button",12),M(67," Copy "),b()()()()(),v(68,"div",17)(69,"div",27)(70,"h3"),M(71,"Operations"),b(),v(72,"p",1),M(73,"Load predefined configuration or reset configurations to defaults."),b()(),v(74,"div",28)(75,"div",29)(76,"span",30),M(77,"Load Demo configuration and connect to Signal K demo server to see Kip in action. Warning: this will reset your connection settings and local layout configuration. "),b()(),v(78,"div",31)(79,"button",32),ne("click",function(){return i.loadDemoConfig()}),M(80," Load demo "),b()(),v(81,"div",33)(82,"span",30),M(83,"Reset the current application configuration (Layouts, Widgets, etc.) and restores defaults. The default configuration has a single Getting Started instruction widget to get you started. The server connections settingd will be kept. "),b()(),v(84,"div",34)(85,"button",32),ne("click",function(){return i.resetConfigToDefault()}),M(86," Reset app "),b()(),v(87,"div",35)(88,"span",30),M(89,"Reset the current connection configuration to defaults. The default connection configuration is empty and ready for configuration. This will not affect the app configuration (Layouts, widgets, etc.). "),b()(),v(90,"div",36)(91,"button",32),ne("click",function(){return i.resetConnectionToDefault()}),M(92," Reset connection "),b()(),v(93,"div",37)(94,"span",30),M(95,"Enable the configuration editor. The editor modifies the active in-memory configuration. This configuration represent the current state of the application. You can edit those values by configuration areas and save them to persist your changes. "),b()(),v(96,"div",38)(97,"mat-checkbox",39),ne("ngModelChange",function(o){return i.showRawEditor=o}),M(98,"Show Editor"),b()()()(),G(99,hge,68,18,"div",40),b()),2&e){const r=yi(11),o=yi(18),s=yi(25);I(16),R("ngIf",i.hasToken)("ngIfElse",o),I(5),R("disabled",!i.hasToken||!r.valid),I(9),R("ngIf",i.hasToken)("ngIfElse",o),I(5),R("disabled",!i.hasToken||!s.valid),I(3),R("formGroup",i.copyConfigForm),I(10),R("ngForOf",i.locations),I(5),R("ngForOf",i.serverConfigList),I(5),R("ngForOf",i.locations),I(5),R("ngForOf",i.serverConfigList),I(3),R("disabled",!i.copyConfigForm.valid),I(31),R("ngModel",i.showRawEditor),I(2),R("ngIf",i.showRawEditor)}},dependencies:[Eo,ui,ks,ea,xs,ts,ta,Sl,ns,Ta,yu,Pp,Ji,Fo,Ho,Fa,Es,yh,Dx,Mx,na,hb,fJ,fb,Lu],styles:['a[_ngcontent-%COMP%]{font-size:14px}a[_ngcontent-%COMP%]:hover{text-decoration:underline;cursor:pointer}a[_ngcontent-%COMP%]:link, a[_ngcontent-%COMP%]:visited{color:#8ab4f8;text-decoration:none}.confirmTextarea[_ngcontent-%COMP%]{resize:none}.config-size[_ngcontent-%COMP%]{width:100%}.textheight[_ngcontent-%COMP%]{height:120px;background-color:#000}.warningText[_ngcontent-%COMP%]{padding-left:15px}.no-token-notice[_ngcontent-%COMP%]{height:58px;contain:content;text-align:center;font-style:italic}.mat-radio-button[_ngcontent-%COMP%] ~ .mat-radio-button[_ngcontent-%COMP%]{margin-right:16px;margin-left:16px}.config-row[_ngcontent-%COMP%]{display:flex;flex-direction:row;flex-wrap:wrap;width:100%}.config-column[_ngcontent-%COMP%]{display:flex;flex-direction:column;flex-basis:100%;flex:1;margin:0 10px}.flex-container[_ngcontent-%COMP%]{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center;align-items:stretch;gap:10px;min-height:100%;height:100%}.sources-radio-group[_ngcontent-%COMP%]{display:flex;flex-direction:column;margin:15px 0}.sources-radio-button[_ngcontent-%COMP%]{margin:5px;margin-left:0!important}.select-config[_ngcontent-%COMP%]{margin-left:0}.btn-div[_ngcontent-%COMP%]{align-self:center}.btn-div[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:-webkit-fill-available}.config-operation-container[_ngcontent-%COMP%]{display:grid;grid-template-columns:[col-start] auto [col1-end] min-content [col2-end];grid-template-rows:[row-start] max-content [row1-end] max-content [row2-end];grid-template-areas:"demo-txt demo-btn" "reset-txt reset-btn" "config-txt config-btn" "editor-txt editor-btn";row-gap:20px;column-gap:10px}.demo-txt[_ngcontent-%COMP%]{grid-area:demo-txt}.demo-btn[_ngcontent-%COMP%]{grid-area:demo-btn}.reset-txt[_ngcontent-%COMP%]{grid-area:reset-txt}.reset-btn[_ngcontent-%COMP%]{grid-area:reset-btn}.config-txt[_ngcontent-%COMP%]{grid-area:config-txt}.config-btn[_ngcontent-%COMP%]{grid-area:config-btn}.editor-txt[_ngcontent-%COMP%]{grid-area:editor-txt}.editor-btn[_ngcontent-%COMP%]{grid-area:editor-btn}']}),t})();function pge(t,n){if(1&t&&(v(0,"mat-option",10),M(1),b()),2&t){const e=n.$implicit;R("value",e.measure),I(1),Qn(e.description)}}function mge(t,n){if(1&t&&(v(0,"mat-form-field",7)(1,"mat-select",8),G(2,pge,2,2,"mat-option",9),b()()),2&t){const e=n.$implicit,i=re();I(1),R("placeholder",e.key)("formControlName",e.key),I(1),R("ngForOf",i.groupUnits[e.key])}}let gge=(()=>{class t{constructor(e,i,r){this.UnitsService=e,this.appSettingsService=i,this.notificationsService=r,this.groupUnits=[]}ngOnInit(){this.defaultUnits=this.appSettingsService.getDefaultUnits();let e=this.UnitsService.getConversions();for(let r=0;r{i.addControl(r,new Po(this.defaultUnits[r]))}),this.formUnitMaster=i,this.formUnitMaster.updateValueAndValidity()}submitConfig(){this.appSettingsService.setDefaultUnits(this.formUnitMaster.value),this.notificationsService.sendSnackbarNotification("Default units configuration saved",5e3,!1)}}return t.\u0275fac=function(e){return new(e||t)(D(_m),D(wr),D(ia))},t.\u0275cmp=Pe({type:t,selectors:[["settings-units"]],decls:12,vars:5,consts:[[1,"mat-typography"],[2,"height","100%",3,"formGroup","ngSubmit"],[1,"mat-card-subtitle"],["class","UnitSettings",4,"ngFor","ngForOf"],[1,"formActionFooter"],[1,"formActionDivider"],["mat-raised-button","","color","accent","type","submit",1,"formActionButton",3,"disabled"],[1,"UnitSettings"],[3,"placeholder","formControlName"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(e,i){1&e&&(v(0,"div",0)(1,"form",1),ne("ngSubmit",function(){return i.submitConfig()}),v(2,"h1"),M(3,"Application Default Units"),b(),v(4,"p",2),M(5,"Set the default units preferences per types of unit groups. The values will be automatically converted for display."),b(),G(6,mge,3,3,"mat-form-field",3),es(7,"keyvalue"),v(8,"div",4),Y(9,"mat-divider",5),v(10,"button",6),M(11,"Save"),b()()()()),2&e&&(I(1),R("formGroup",i.formUnitMaster),I(5),R("ngForOf",wa(7,3,i.defaultUnits)),I(4),R("disabled",!i.formUnitMaster.valid))},dependencies:[Eo,ks,xs,ts,Ta,yu,Ji,Fo,Fa,Es,Lu,fp],styles:[".UnitSettings[_ngcontent-%COMP%]{padding-right:30px}"]}),t})();function _ge(t,n){if(1&t){const e=Zn();v(0,"button",14),ne("click",function(){return ut(e),lt(re(2).formGroup.controls.path.patchValue(""))}),Y(1,"span",15),b()}}function vge(t,n){if(1&t&&(zi(0),v(1,"span"),M(2),b(),Y(3,"br"),v(4,"small",17),M(5),b(),Wi()),2&t){const e=re().$implicit;I(2),Qn(e.path),I(3),Qn(e.meta.description)}}function bge(t,n){if(1&t&&(zi(0),M(1),Wi()),2&t){const e=re().$implicit;I(1),vn(" ",e.path," ")}}function yge(t,n){if(1&t&&(v(0,"mat-option",16),G(1,vge,6,2,"ng-container",9),G(2,bge,2,1,"ng-container",9),b()),2&t){const e=n.$implicit;R("value",e.path),I(1),R("ngIf",null!=e.meta),I(1),R("ngIf",null==e.meta)}}function wge(t,n){1&t&&(v(0,"mat-error"),M(1," Path "),v(2,"strong"),M(3,"required"),b()())}function Cge(t,n){1&t&&(v(0,"mat-error"),M(1," Please select an existing path "),b())}function Sge(t,n){if(1&t&&(v(0,"mat-option",18),M(1),b()),2&t){const e=n.$implicit;R("value",e),I(1),vn(" ",e," ")}}function xge(t,n){if(1&t&&(v(0,"mat-option",18),M(1),b()),2&t){const e=n.$implicit;R("value",e.measure),I(1),vn(" ",e.description," ")}}function kge(t,n){if(1&t&&(v(0,"mat-optgroup",22),G(1,xge,2,2,"mat-option",12),b()),2&t){const e=n.$implicit;R("label",e.group),I(1),R("ngForOf",e.units)}}function Dge(t,n){if(1&t&&(v(0,"mat-form-field",19)(1,"mat-label"),M(2,"Display Format"),b(),v(3,"mat-select",20),G(4,kge,2,2,"mat-optgroup",21),b()()),2&t){const e=re(2);I(4),R("ngForOf",e.unitList.conversions)}}function Mge(t,n){if(1&t&&(v(0,"div",2)(1,"p"),M(2),b(),v(3,"div",3)(4,"mat-form-field",4)(5,"mat-label"),M(6,"Signal K Path"),b(),Y(7,"input",5),G(8,_ge,2,0,"button",6),v(9,"mat-autocomplete",null,7),G(11,yge,3,3,"mat-option",8),es(12,"async"),b(),G(13,wge,4,0,"mat-error",9),G(14,Cge,2,0,"mat-error",9),b(),v(15,"mat-form-field",10)(16,"mat-label"),M(17,"Data Source"),b(),v(18,"mat-select",11),G(19,Sge,2,2,"mat-option",12),b()(),G(20,Dge,5,1,"mat-form-field",13),b()()),2&t){const e=yi(10),i=re();I(2),Qn(i.formGroup.value.description),I(5),R("matAutocomplete",e),I(1),R("ngIf",i.formGroup.value.path),I(3),R("ngForOf",wa(12,8,i.filteredPaths)),I(2),R("ngIf",i.formGroup.controls.path.hasError("required")),I(1),R("ngIf",i.formGroup.controls.path.hasError("requireMatch")),I(5),R("ngForOf",i.availableSources),I(1),R("ngIf","number"==i.formGroup.value.pathType)}}let eB=(()=>{class t{constructor(e){this.signalKService=e,this.filteredPaths=new bn,this.requirePathMatch=i=>r=>{const o=r.value;return i.some(s=>s.path===o)?null:{requireMatch:!0}}}ngOnInit(){this.unitList={},null==this.formGroup.value.path&&(this.formGroup.controls.source.disable(),"number"==this.formGroup.value.pathType&&this.formGroup.controls.convertUnitTo.disable()),this.getPaths(this.filterSelfPaths),this.updateSourcesAndUnits(),this.filteredPaths=this.formGroup.controls.path.valueChanges.pipe(ji(""),Ne(e=>this.filterPaths(e))),this.formGroup.controls.path.valueChanges.subscribe(e=>{this.updateSourcesAndUnits();try{this.formGroup.controls.path.valid?(this.formGroup.controls.source.enable(),this.formGroup.controls.source.patchValue("default"),"number"==this.formGroup.controls.pathType.value&&(this.formGroup.controls.convertUnitTo.enable(),this.formGroup.controls.convertUnitTo.patchValue(this.unitList.default))):(this.formGroup.controls.source.disable(),"number"==this.formGroup.controls.pathType.value&&this.formGroup.controls.convertUnitTo.disable())}catch(i){console.debug(i)}})}ngOnChanges(e){e.filterSelfPaths&&!e.filterSelfPaths.firstChange&&(this.getPaths(this.filterSelfPaths),this.formGroup.controls.path.patchValue(""))}getPaths(e){this.availablePaths=this.signalKService.getPathsAndMetaByType(this.formGroup.value.pathType,e).sort(),this.formGroup.controls.path.setValidators([Da.required])}filterPaths(e){const i=e.toLowerCase();return this.availablePaths.filter(r=>r.path.toLowerCase().includes(i)).slice(0,50)}updateSourcesAndUnits(){if(null==this.formGroup.controls.path.value||null==this.formGroup.controls.path.value||""==this.formGroup.controls.path.value)this.availableSources=null==this.formGroup.value.source||null==this.formGroup.value.source||""==this.formGroup.value.source?["default"]:["default"].concat([this.formGroup.value.source]);else{let e=this.signalKService.getPathObject(this.formGroup.controls.path.value);if(null!=e)this.availableSources=["default"].concat(Object.keys(e.sources));else try{this.formGroup.controls.source.disable(),"number"==this.formGroup.controls.pathType.value&&this.formGroup.controls.convertUnitTo.disable()}catch(i){console.debug(i)}}this.unitList=this.signalKService.getConversionsForPath(this.formGroup.controls.path.value)}}return t.\u0275fac=function(e){return new(e||t)(D(Na))},t.\u0275cmp=Pe({type:t,selectors:[["modal-path-selector"]],inputs:{formGroup:"formGroup",filterSelfPaths:"filterSelfPaths"},features:[Tn],decls:2,vars:2,consts:[[3,"formGroup"],["class","pathGroup",4,"ngIf"],[1,"pathGroup"],[1,"pathGroupFields"],["appearance","outline","floatLabel","always",1,"pathField"],["type","text","matInput","","placeholder","Select path (note dropdown limited to 50, type to use autocomplete)","formControlName","path","required","",3,"matAutocomplete"],["mat-button","","matSuffix","","mat-icon-button","","aria-label","Clear",3,"click",4,"ngIf"],["pathAutoComplete","matAutocomplete"],["style","min-height: 48px; line-height: 1.15; height: auto; padding: 8px 16px; white-space: normal;",3,"value",4,"ngFor","ngForOf"],[4,"ngIf"],["appearance","outline","floatLabel","always",1,"sourceField"],["placeholder","Select source","formControlName","source","Ripple","","required",""],[3,"value",4,"ngFor","ngForOf"],["class","unitField","appearance","outline","floatLabel","always",4,"ngIf"],["mat-button","","matSuffix","","mat-icon-button","","aria-label","Clear",3,"click"],[1,"fa-solid","fa-close"],[2,"min-height","48px","line-height","1.15","height","auto","padding","8px 16px","white-space","normal",3,"value"],[1,"pathMetaDescription"],[3,"value"],["appearance","outline","floatLabel","always",1,"unitField"],["placeholder","Select unit","formControlName","convertUnitTo","disableRipple","","required",""],[3,"label",4,"ngFor","ngForOf"],[3,"label"]],template:function(e,i){1&e&&(v(0,"div",0),G(1,Mge,21,10,"div",1),b()),2&e&&(R("formGroup",i.formGroup),I(1),R("ngIf",i.formGroup.value.isPathConfigurable))},dependencies:[Eo,ui,ea,xs,ts,ta,Ta,yu,Ji,im,Fo,Ho,WJ,Fa,Es,lx,na,_ie,p3,nC],styles:[".pathGroup[_ngcontent-%COMP%]{display:inline-block;width:100%}.pathGroupFields[_ngcontent-%COMP%]{display:inline-block;padding-left:15px;width:calc(100% - 30px)}.pathField[_ngcontent-%COMP%]{display:inline-block;width:100%}.sourceField[_ngcontent-%COMP%]{display:inline-block;width:calc(50% - 15px);padding-right:30px}.unitField[_ngcontent-%COMP%]{display:inline-block;width:calc(50% - 15px)}"]}),t})();function Tge(t,n){1&t&&(v(0,"mat-header-cell",29),M(1,"Path"),b())}function Ege(t,n){if(1&t&&(v(0,"mat-cell",30),M(1),b()),2&t){const e=n.$implicit;I(1),vn(" ",e.path," ")}}function Age(t,n){1&t&&(v(0,"mat-header-cell",31),M(1,"Unit"),b())}function Oge(t,n){if(1&t&&(v(0,"mat-cell",32),M(1),b()),2&t){const e=n.$implicit;I(1),vn(" ",e.unit," ")}}function Ige(t,n){1&t&&(v(0,"mat-header-cell",31),M(1,"Lower"),b())}function Pge(t,n){if(1&t&&(v(0,"mat-cell",33),M(1),b()),2&t){const e=n.$implicit;I(1),vn(" ",e.lower," ")}}function Rge(t,n){1&t&&(v(0,"mat-header-cell",31),M(1,"Upper"),b())}function Fge(t,n){if(1&t&&(v(0,"mat-cell",34),M(1),b()),2&t){const e=n.$implicit;I(1),vn(" ",e.upper," ")}}function Nge(t,n){1&t&&(v(0,"mat-header-cell",31),M(1,"State"),b())}function Lge(t,n){1&t&&(v(0,"div"),M(1,"Normal"),b())}function Bge(t,n){1&t&&(v(0,"div"),M(1,"Warning"),b())}function Vge(t,n){1&t&&(v(0,"div"),M(1,"Alarm"),b())}function Hge(t,n){if(1&t&&(v(0,"mat-cell",35)(1,"div",36),G(2,Lge,2,0,"div",37),G(3,Bge,2,0,"div",37),G(4,Vge,2,0,"div",37),b()()),2&t){const e=n.$implicit;I(1),R("ngSwitch",e.state),I(1),R("ngSwitchCase",0),I(1),R("ngSwitchCase",1),I(1),R("ngSwitchCase",2)}}function zge(t,n){1&t&&Y(0,"mat-header-cell",38)}function Wge(t,n){if(1&t){const e=Zn();v(0,"mat-cell",39)(1,"button",40),ne("click",function(){const o=ut(e).$implicit;return lt(re().openZoneDialog(o.uuid))}),M(2,"Edit"),b(),v(3,"button",41),ne("click",function(){const o=ut(e).$implicit;return lt(re().deleteZone(o.uuid))}),M(4,"Delete"),b()()}}function jge(t,n){1&t&&Y(0,"mat-header-row",42)}function Uge(t,n){1&t&&Y(0,"mat-row",43)}function $ge(t,n){if(1&t&&(v(0,"mat-row"),M(1),b()),2&t){re();const e=yi(9);I(1),vn(' No data matching the filter "',e.value,'" ')}}const Gge=function(){return[5,10,25,100]};function qge(t,n){1&t&&(v(0,"mat-error",15),M(1," At least one value is required (lower / upper) "),b())}function Yge(t,n){1&t&&(v(0,"mat-error",15),M(1," At least one value is required (lower / upper) "),b())}const tB=".full-width[_ngcontent-%COMP%]{width:100%}.flex-container[_ngcontent-%COMP%]{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:space-between;align-items:stretch;align-content:flex-start;gap:10px 10px}";let Kge=(()=>{class t{constructor(e,i,r){this.appSettingsService=e,this.dialog=i,this.cdRef=r,this.tableData=new jx([]),this.displayedColumns=["path","unit","lower","upper","state","actions"]}ngOnInit(){this.zonesSub=this.appSettingsService.getZonesAsO().subscribe(e=>{this.tableData.data=e})}ngAfterViewInit(){this.tableData.paginator=this.paginator,this.tableData.sort=this.sort,this.tableData.filter="",this.cdRef.detectChanges()}trackByUuid(e,i){return`${i.uuid}`}applyFilter(e){this.tableData.filter=e.target.value.trim().toLowerCase(),this.tableData.paginator&&this.tableData.paginator.firstPage()}openZoneDialog(e){let i;if(e){const r=this.tableData.data.find(o=>o.uuid===e);r&&(i=this.dialog.open(Qge,{data:r}))}else i=this.dialog.open(Zge,{});i.afterClosed().subscribe(r=>{void 0===r||!r||(r.uuid?this.editZone(r):(r.uuid=this.newUuid(),this.addZone(r)))})}addZone(e){let i=this.appSettingsService.getZones();i.push(e),this.appSettingsService.saveZones(i)}editZone(e){if(e.uuid){const i=this.appSettingsService.getZones(),r=i.findIndex(o=>o.uuid===e.uuid);r>=0&&(i.splice(r,1,e),this.appSettingsService.saveZones(i))}}deleteZone(e){let i=this.appSettingsService.getZones(),r=i.findIndex(o=>o.uuid===e);r>=0&&(i.splice(r,1),this.appSettingsService.saveZones(i))}newUuid(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){var i=16*Math.random()|0;return("x"==e?i:3&i|8).toString(16)})}}return t.\u0275fac=function(e){return new(e||t)(D(wr),D(Al),D(wn))},t.\u0275cmp=Pe({type:t,selectors:[["settings-zones"]],viewQuery:function(e,i){if(1&e&&(Oe(Ph,5),Oe(Bu,5)),2&e){let r;ue(r=de())&&(i.paginator=r.first),ue(r=de())&&(i.sort=r.first)}},decls:39,vars:7,consts:[[1,"mat-typography"],[1,"mat-card-subtitle"],["matInput","","placeholder","Ex: navigation","value","",3,"keyup"],["input",""],[1,"mat-elevation-z8","full-width","table-container"],["matSort","","matSortActive","path","matSortDirection","asc",1,"full-display",3,"dataSource","trackBy"],["matColumnDef","path"],["class","pathHeader","mat-sort-header","",4,"matHeaderCellDef"],["class","pathCell","data-label","Path: ",4,"matCellDef"],["matColumnDef","unit"],["class","dataHeader","mat-sort-header","",4,"matHeaderCellDef"],["class","dataCell","data-label","Unit: ",4,"matCellDef"],["matColumnDef","lower"],["class","dataCell","data-label","Lower: ",4,"matCellDef"],["matColumnDef","upper"],["class","dataCell","data-label","Upper: ",4,"matCellDef"],["matColumnDef","state"],["class","dataCell","data-label","State: ",4,"matCellDef"],["matColumnDef","actions"],["class","actionHeader","mat-sort-header","",4,"matHeaderCellDef"],["class","actionCell",4,"matCellDef"],["class","headerRow",4,"matHeaderRowDef","matHeaderRowDefSticky"],["class","dataRow",4,"matRowDef","matRowDefColumns"],[4,"matNoDataRow"],[1,"paginator"],["pageSize","5",3,"pageSizeOptions"],[1,"formActionFooter"],[1,"formActionDivider"],["type","button","mat-raised-button","","color","accent",1,"formActionButton",3,"click"],["mat-sort-header","",1,"pathHeader"],["data-label","Path: ",1,"pathCell"],["mat-sort-header","",1,"dataHeader"],["data-label","Unit: ",1,"dataCell"],["data-label","Lower: ",1,"dataCell"],["data-label","Upper: ",1,"dataCell"],["data-label","State: ",1,"dataCell"],[3,"ngSwitch"],[4,"ngSwitchCase"],["mat-sort-header","",1,"actionHeader"],[1,"actionCell"],["mat-raised-button","","color","accent",1,"buttons",3,"click"],["mat-raised-button","","color","accent",3,"click"],[1,"headerRow"],[1,"dataRow"]],template:function(e,i){1&e&&(v(0,"div",0)(1,"h1"),M(2,"Zones Configuration"),b(),v(3,"p",1),M(4,"Zones can be used to inform Kip about the state the data it receives. For example is a battery voltage of 12.1V normal, requires attention or is in critical state."),b(),v(5,"mat-form-field")(6,"mat-label"),M(7,"Filter"),b(),v(8,"input",2,3),ne("keyup",function(o){return i.applyFilter(o)}),b()(),v(10,"div",4)(11,"mat-table",5),zi(12,6),G(13,Tge,2,0,"mat-header-cell",7),G(14,Ege,2,1,"mat-cell",8),Wi(),zi(15,9),G(16,Age,2,0,"mat-header-cell",10),G(17,Oge,2,1,"mat-cell",11),Wi(),zi(18,12),G(19,Ige,2,0,"mat-header-cell",10),G(20,Pge,2,1,"mat-cell",13),Wi(),zi(21,14),G(22,Rge,2,0,"mat-header-cell",10),G(23,Fge,2,1,"mat-cell",15),Wi(),zi(24,16),G(25,Nge,2,0,"mat-header-cell",10),G(26,Hge,5,4,"mat-cell",17),Wi(),zi(27,18),G(28,zge,1,0,"mat-header-cell",19),G(29,Wge,5,0,"mat-cell",20),Wi(),G(30,jge,1,0,"mat-header-row",21),G(31,Uge,1,0,"mat-row",22),G(32,$ge,2,1,"mat-row",23),b()(),v(33,"div",24),Y(34,"mat-paginator",25),b(),v(35,"div",26),Y(36,"mat-divider",27),v(37,"button",28),ne("click",function(){return i.openZoneDialog()}),M(38,"Add"),b()()()),2&e&&(I(11),R("dataSource",i.tableData)("trackBy",i.trackByUuid),I(19),R("matHeaderRowDef",i.displayedColumns)("matHeaderRowDefSticky",!0),I(1),R("matRowDefColumns",i.displayedColumns),I(3),R("pageSizeOptions",Xi(6,Gge)))},dependencies:[vl,pu,Ji,Fo,Ho,na,Lu,Rb,hm,Fb,fm,dm,Nb,pm,Ih,Lb,Bb,Vb,Ph,Bu,Ux],styles:[".full-display[_ngcontent-%COMP%]{width:100%;height:100%;position:relative;z-index:500}.full-width[_ngcontent-%COMP%]{width:100%}.buttons[_ngcontent-%COMP%]{margin-right:5px}.pathCell[_ngcontent-%COMP%], .pathHeader[_ngcontent-%COMP%]{flex:1 1 40%}.dataHeader[_ngcontent-%COMP%], .dataCell[_ngcontent-%COMP%]{flex:1 1 8%;justify-content:center}.actionHeader[_ngcontent-%COMP%]{flex:1 1 20%}.actionCell[_ngcontent-%COMP%]{flex:1 1 20%;justify-content:end}@media screen and (max-width: 750px){.pathHeader[_ngcontent-%COMP%], .dataHeader[_ngcontent-%COMP%]{flex:1 1 30%}.actionHeader[_ngcontent-%COMP%]{display:none}.mat-table[_ngcontent-%COMP%] .mat-cell[_ngcontent-%COMP%]:before{content:attr(data-label);float:left;padding-right:5px}mat-row[_ngcontent-%COMP%]:after{min-height:auto;padding-bottom:10px}.dataRow[_ngcontent-%COMP%]{flex-direction:column;align-items:flex-start}.dataCell[_ngcontent-%COMP%], .actionCell[_ngcontent-%COMP%]{margin-left:24px}}"]}),t})(),Zge=(()=>{class t{constructor(e){this.dialogRef=e,this.zoneForm=new gv({upper:new Po(null),lower:new Po(null),state:new Po("0",Da.required),filterSelfPaths:new Po(!0),path:new gv({path:new Po(null),isPathConfigurable:new Po(!0),convertUnitTo:new Po("unitless"),pathType:new Po("number"),source:new Po(null)})},this.rangeValidationFunction),this.filteredPaths=new bn,this.selectedUnit=null}rangeValidationFunction(e){let i=e.get("upper").value,r=e.get("lower").value;return null===i&&null===r?{needUpperLower:!0}:null}closeForm(){let e={uuid:null,upper:this.zoneForm.get("upper").value,lower:this.zoneForm.get("lower").value,path:this.zoneForm.get("path.path").value,unit:this.zoneForm.get("path.convertUnitTo").value,state:parseInt(this.zoneForm.get("state").value)};this.dialogRef.close(e)}}return t.\u0275fac=function(e){return new(e||t)(D(Ra))},t.\u0275cmp=Pe({type:t,selectors:[["dialog-new-zone"]],inputs:{filterSelfPaths:"filterSelfPaths"},decls:32,vars:5,consts:[["mat-dialog-title",""],[3,"formGroup","ngSubmit"],[1,"flex-container"],["name","filterSelfPaths","formControlName","filterSelfPaths"],[1,"full-width",3,"formGroup","filterSelfPaths"],["appearance","outline","floatLabel","always"],["type","number","matInput","","placeholder","Enter or select number...","name","lower","formControlName","lower"],["type","number","matInput","","placeholder","Enter or select number...","name","upper","formControlName","upper"],["placeholder","Value State","formControlName","state","name","state","required",""],["value","0"],["value","1"],["value","2"],["mat-raised-button","","mat-dialog-close",""],["mat-raised-button","","color","accent","type","submit",3,"disabled"],["style","padding-left: 10px;",4,"ngIf"],[2,"padding-left","10px"]],template:function(e,i){1&e&&(v(0,"h2",0),M(1,"Add Zone"),b(),v(2,"form",1),ne("ngSubmit",function(){return i.closeForm()}),v(3,"mat-dialog-content")(4,"div",2)(5,"mat-checkbox",3),M(6,"Restrict to own vessel"),b(),Y(7,"modal-path-selector",4),v(8,"mat-form-field",5)(9,"mat-label"),M(10,"Lower value"),b(),Y(11,"input",6),b(),v(12,"mat-form-field",5)(13,"mat-label"),M(14,"Upper value"),b(),Y(15,"input",7),b(),v(16,"mat-form-field",5)(17,"mat-label"),M(18,"State"),b(),v(19,"mat-select",8)(20,"mat-option",9),M(21,"Normal"),b(),v(22,"mat-option",10),M(23,"Warning"),b(),v(24,"mat-option",11),M(25,"Alarm"),b()()()()(),v(26,"mat-dialog-actions")(27,"button",12),M(28,"Cancel"),b(),v(29,"button",13),M(30," Add "),b(),G(31,qge,2,0,"mat-error",14),b()()),2&e&&(I(2),R("formGroup",i.zoneForm),I(5),R("formGroup",i.zoneForm.controls.path)("filterSelfPaths",i.zoneForm.value.filterSelfPaths),I(22),R("disabled",!i.zoneForm.valid),I(2),R("ngIf",i.zoneForm.hasError("needUpperLower")))},dependencies:[ui,ks,ea,uh,xs,ts,ta,Ta,yu,Ji,kh,Pu,Ru,Dh,im,Fo,Ho,Fa,Es,yh,na,eB],styles:[tB]}),t})(),Qge=(()=>{class t{constructor(e,i){this.dialogRef=e,this.zone=i}closeForm(){this.dialogRef.close(this.zone)}}return t.\u0275fac=function(e){return new(e||t)(D(Ra),D(Iu))},t.\u0275cmp=Pe({type:t,selectors:[["dialog-edit-zone"]],decls:34,vars:9,consts:[["name","zoneEditForm",3,"ngSubmit"],["zoneEditForm","ngForm"],["mat-dialog-title",""],["appearance","fill","floatLabel","always",1,"full-width"],["type","text","matInput","","placeholder","Enter or select number...","name","path","disabled","",3,"ngModel"],[1,"flex-container"],["appearance","outline","floatLabel","always",1,"leftThirdField"],["type","number","matInput","","placeholder","Enter or select number...","name","lower",3,"ngModel","ngModelChange"],["type","number","matInput","","placeholder","Enter or select number...","name","upper",3,"ngModel","ngModelChange"],["appearance","outline","floatLabel","always",1,"rightThirdField"],["placeholder","Value State","name","state","name","selectedState","required","",3,"ngModel","ngModelChange"],[3,"value"],["mat-raised-button","","mat-dialog-close",""],["mat-raised-button","","color","accent","type","submit",3,"disabled"],["style","padding-left: 10px;",4,"ngIf"],[2,"padding-left","10px"]],template:function(e,i){if(1&e&&(v(0,"form",0,1),ne("ngSubmit",function(){return i.closeForm()}),v(2,"h2",2),M(3,"Edit Zone"),b(),v(4,"mat-dialog-content")(5,"mat-form-field",3)(6,"mat-label"),M(7,"Signal K Path"),b(),Y(8,"input",4),b(),v(9,"div",5)(10,"mat-form-field",6)(11,"mat-label"),M(12,"Lower value"),b(),v(13,"input",7),ne("ngModelChange",function(o){return i.zone.lower=o}),b()(),v(14,"mat-form-field",6)(15,"mat-label"),M(16,"Upper value"),b(),v(17,"input",8),ne("ngModelChange",function(o){return i.zone.upper=o}),b()(),v(18,"mat-form-field",9)(19,"mat-label"),M(20,"State"),b(),v(21,"mat-select",10),ne("ngModelChange",function(o){return i.zone.state=o}),v(22,"mat-option",11),M(23,"Normal"),b(),v(24,"mat-option",11),M(25,"Warning"),b(),v(26,"mat-option",11),M(27,"Alarm"),b()()()()(),v(28,"mat-dialog-actions")(29,"button",12),M(30,"Cancel"),b(),v(31,"button",13),M(32,"Save"),b(),G(33,Yge,2,0,"mat-error",14),b()()),2&e){const r=yi(1);I(8),R("ngModel",i.zone.path),I(5),R("ngModel",i.zone.lower),I(4),R("ngModel",i.zone.upper),I(4),R("ngModel",i.zone.state),I(1),R("value",0),I(2),R("value",1),I(2),R("value",2),I(5),R("disabled",!r.valid||!i.zone.lower&&!i.zone.upper),I(2),R("ngIf",!i.zone.lower&&!i.zone.upper)}},dependencies:[ui,ks,ea,uh,xs,ts,ta,Sl,ns,Ji,kh,Pu,Ru,Dh,im,Fo,Ho,Fa,Es,na],styles:[tB]}),t})();const Lc=function(){return{standalone:!0}};let Xge=(()=>{class t{constructor(e,i){this.notificationsService=e,this.appSettingsService=i}ngOnInit(){this.notificationConfig=this.appSettingsService.getNotificationConfig()}saveNotificationsSettings(){this.appSettingsService.setNotificationConfig(this.notificationConfig),this.notificationsService.sendSnackbarNotification("Notification configuration saved",5e3,!1)}}return t.\u0275fac=function(e){return new(e||t)(D(ia),D(wr))},t.\u0275cmp=Pe({type:t,selectors:[["settings-notifications"]],decls:59,vars:24,consts:[[1,"mat-typography"],["name","notificationSetting"],[1,"mat-card-subtitle"],["name","disableNotifications",3,"ngModel","ngModelOptions","ngModelChange"],["expanded","true"],[3,"ngModel","ngModelOptions","ngModelChange"],["expanded","false"],[1,"formActionFooter"],[1,"formActionDivider"],["mat-raised-button","","color","accent",1,"formActionButton",3,"click"]],template:function(e,i){1&e&&(v(0,"div",0)(1,"form",1)(2,"h1"),M(3,"Server Notifications"),b(),v(4,"p",2),M(5,"Notifications are a special type of data sent from Signal K and displayed in the notification menu. They are meant to alert or inform operators. Set server notification preferences such as types of messages to display and audio prompts."),b(),v(6,"mat-slide-toggle",3),ne("ngModelChange",function(o){return i.notificationConfig.disableNotifications=o}),M(7,"Disable All Notifications"),b(),v(8,"mat-accordion")(9,"mat-expansion-panel",4)(10,"mat-expansion-panel-header")(11,"mat-panel-title"),M(12," Messages "),b(),v(13,"mat-panel-description"),M(14," Control what messages the server will send "),b()(),v(15,"mat-checkbox",5),ne("ngModelChange",function(o){return i.notificationConfig.devices.showNormalState=o}),M(16,"Show Devices Informational notifications"),b()(),v(17,"mat-expansion-panel",6)(18,"mat-expansion-panel-header")(19,"mat-panel-title"),M(20," Audio "),b(),v(21,"mat-panel-description"),M(22," Configure sound options "),b()(),v(23,"mat-checkbox",5),ne("ngModelChange",function(o){return i.notificationConfig.sound.disableSound=o}),M(24,"Disable All Audio notification"),b(),Y(25,"br"),v(26,"mat-checkbox",5),ne("ngModelChange",function(o){return i.notificationConfig.sound.muteNormal=o}),M(27,"Disable "),v(28,"b"),M(29,"Information"),b(),M(30," notifications"),b(),Y(31,"br"),v(32,"mat-checkbox",5),ne("ngModelChange",function(o){return i.notificationConfig.sound.muteAlert=o}),M(33,"Disable "),v(34,"b"),M(35,"Alert Severity"),b(),M(36," notifications"),b(),Y(37,"br"),v(38,"mat-checkbox",5),ne("ngModelChange",function(o){return i.notificationConfig.sound.muteWarning=o}),M(39,"Disable "),v(40,"b"),M(41,"Warning"),b(),M(42," notifications"),b(),Y(43,"br"),v(44,"mat-checkbox",5),ne("ngModelChange",function(o){return i.notificationConfig.sound.muteAlarm=o}),M(45,"Disable "),v(46,"b"),M(47,"Alarm Severity"),b(),M(48," notifications"),b(),Y(49,"br"),v(50,"mat-checkbox",5),ne("ngModelChange",function(o){return i.notificationConfig.sound.muteEmergency=o}),M(51,"Disable "),v(52,"b"),M(53,"Emergency Severity"),b(),M(54," notifications"),b()()(),v(55,"div",7),Y(56,"mat-divider",8),v(57,"button",9),ne("click",function(){return i.saveNotificationsSettings()}),M(58,"Save"),b()()()()),2&e&&(I(6),R("ngModel",i.notificationConfig.disableNotifications)("ngModelOptions",Xi(16,Lc)),I(9),R("ngModel",i.notificationConfig.devices.showNormalState)("ngModelOptions",Xi(17,Lc)),I(8),R("ngModel",i.notificationConfig.sound.disableSound)("ngModelOptions",Xi(18,Lc)),I(3),R("ngModel",i.notificationConfig.sound.muteNormal)("ngModelOptions",Xi(19,Lc)),I(6),R("ngModel",i.notificationConfig.sound.muteAlert)("ngModelOptions",Xi(20,Lc)),I(6),R("ngModel",i.notificationConfig.sound.muteWarning)("ngModelOptions",Xi(21,Lc)),I(6),R("ngModel",i.notificationConfig.sound.muteAlarm)("ngModelOptions",Xi(22,Lc)),I(6),R("ngModel",i.notificationConfig.sound.muteEmergency)("ngModelOptions",Xi(23,Lc)))},dependencies:[ks,xs,ts,Sl,ns,Ji,yh,nN,hb,fb,tN,eN,Tx,Lu]}),t})(),Jge=(()=>{class t{constructor(){}ngOnInit(){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Pe({type:t,selectors:[["settings-tabs"]],decls:13,vars:0,consts:[[1,"tabGroups"],["label","Signal K"],[1,"tabGroupPanel"],["label","Historical Data"],["label","Units"],["label","Zones"],["label","Notifications"],["label","Configurations"]],template:function(e,i){1&e&&(v(0,"mat-tab-group",0)(1,"mat-tab",1),Y(2,"settings-signalk",2),b(),v(3,"mat-tab",3),Y(4,"settings-datasets",2),b(),v(5,"mat-tab",4),Y(6,"settings-units",2),b(),v(7,"mat-tab",5),Y(8,"settings-zones",2),b(),v(9,"mat-tab",6),Y(10,"settings-notifications",2),b(),v(11,"mat-tab",7),Y(12,"settings-config",2),b()())},dependencies:[xb,lm,Ime,Yme,fge,gge,Kge,Xge],encapsulation:2}),t})();const nB=function n_e(t,n){return t===n||t!=t&&n!=n},Ly=function i_e(t,n){for(var e=t.length;e--;)if(nB(t[e][0],n))return e;return-1};var o_e=Array.prototype.splice;function qh(t){var n=-1,e=null==t?0:t.length;for(this.clear();++n-1},qh.prototype.set=function h_e(t,n){var e=this.__data__,i=Ly(e,t);return i<0?(++this.size,e.push([t,n])):e[i][1]=n,this};const By=qh,iB="object"==typeof global&&global&&global.Object===Object&&global;var S_e="object"==typeof self&&self&&self.Object===Object&&self;const ja=iB||S_e||Function("return this")(),Yh=ja.Symbol;var rB=Object.prototype,D_e=rB.hasOwnProperty,M_e=rB.toString,Ym=Yh?Yh.toStringTag:void 0;var O_e=Object.prototype.toString;var oB=Yh?Yh.toStringTag:void 0;const Km=function N_e(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":oB&&oB in Object(t)?function T_e(t){var n=D_e.call(t,Ym),e=t[Ym];try{t[Ym]=void 0;var i=!0}catch{}var r=M_e.call(t);return i&&(n?t[Ym]=e:delete t[Ym]),r}(t):function I_e(t){return O_e.call(t)}(t)},Zm=function L_e(t){var n=typeof t;return null!=t&&("object"==n||"function"==n)},sB=function W_e(t){if(!Zm(t))return!1;var n=Km(t);return"[object Function]"==n||"[object GeneratorFunction]"==n||"[object AsyncFunction]"==n||"[object Proxy]"==n};var t,j_e=ja["__core-js_shared__"],aB=(t=/[^.]+$/.exec(j_e&&j_e.keys&&j_e.keys.IE_PROTO||""))?"Symbol(src)_1."+t:"";var q_e=Function.prototype.toString;const Ju=function Y_e(t){if(null!=t){try{return q_e.call(t)}catch{}try{return t+""}catch{}}return""};var Z_e=/^\[object .+?Constructor\]$/,tve=RegExp("^"+Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const ive=function nve(t){return!(!Zm(t)||function U_e(t){return!!aB&&aB in t}(t))&&(sB(t)?tve:Z_e).test(Ju(t))},ed=function sve(t,n){var e=function rve(t,n){return t?.[n]}(t,n);return ive(e)?e:void 0},Qm=ed(ja,"Map"),Xm=ed(Object,"create");var mve=Object.prototype.hasOwnProperty;var bve=Object.prototype.hasOwnProperty;function Kh(t){var n=-1,e=null==t?0:t.length;for(this.clear();++n-1&&t%1==0&&t-1&&t%1==0&&t<=9007199254740991};var $i={};$i["[object Float32Array]"]=$i["[object Float64Array]"]=$i["[object Int8Array]"]=$i["[object Int16Array]"]=$i["[object Int32Array]"]=$i["[object Uint8Array]"]=$i["[object Uint8ClampedArray]"]=$i["[object Uint16Array]"]=$i["[object Uint32Array]"]=!0,$i["[object Arguments]"]=$i["[object Array]"]=$i["[object ArrayBuffer]"]=$i["[object Boolean]"]=$i["[object DataView]"]=$i["[object Date]"]=$i["[object Error]"]=$i["[object Function]"]=$i["[object Map]"]=$i["[object Number]"]=$i["[object Object]"]=$i["[object RegExp]"]=$i["[object Set]"]=$i["[object String]"]=$i["[object WeakMap]"]=!1;const Xk=function Ube(t){return function(n){return t(n)}};var bB="object"==typeof exports&&exports&&!exports.nodeType&&exports,eg=bB&&"object"==typeof module&&module&&!module.nodeType&&module,Jk=eg&&eg.exports===bB&&iB.process;const Xh=function(){try{return eg&&eg.require&&eg.require("util").types||Jk&&Jk.binding&&Jk.binding("util")}catch{}}();var yB=Xh&&Xh.isTypedArray;const Ybe=yB?Xk(yB):function Wbe(t){return Jm(t)&&vB(t.length)&&!!$i[Km(t)]};var Zbe=Object.prototype.hasOwnProperty;const wB=function Qbe(t,n){var e=Qk(t),i=!e&&obe(t),r=!e&&!i&&_B(t),o=!e&&!i&&!r&&Ybe(t),s=e||i||r||o,a=s?function Qve(t,n){for(var e=-1,i=Array(t);++e{class t{constructor(e){this.viewContainerRef=e}}return t.\u0275fac=function(e){return new(e||t)(D(wi))},t.\u0275dir=fe({type:t,selectors:[["","dynamic-widget",""]]}),t})(),Dwe=(()=>{class t{transform(e,i){return Object.keys(e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=Lr({name:"objectKeys",type:t,pure:!0}),t})();function Mwe(t,n){1&t&&(v(0,"mat-form-field",15)(1,"mat-label"),M(2,"URL"),b(),Y(3,"input",16),b())}function Twe(t,n){1&t&&(v(0,"mat-form-field",15)(1,"mat-label"),M(2,"Widget Label"),b(),Y(3,"input",17),b())}function Ewe(t,n){1&t&&(v(0,"div",6)(1,"mat-form-field",18)(2,"mat-label"),M(3,"Minimum Integer Places"),b(),Y(4,"input",19),b(),v(5,"mat-form-field",20)(6,"mat-label"),M(7,"Minimum of Decimals"),b(),Y(8,"input",21),b()())}function Awe(t,n){1&t&&(v(0,"div",22)(1,"mat-checkbox",23),M(2," Show Max recorded value "),b()())}function Owe(t,n){1&t&&(v(0,"div",24)(1,"mat-checkbox",25),M(2," Show Min recorded value "),b()())}function Iwe(t,n){1&t&&(v(0,"div",6)(1,"mat-form-field",26)(2,"mat-label"),M(3,"Date format"),b(),Y(4,"input",27),b()())}function Pwe(t,n){1&t&&(v(0,"div",6)(1,"mat-form-field",26)(2,"mat-label"),M(3,"Timezone"),b(),Y(4,"input",28),b()())}function Rwe(t,n){1&t&&(v(0,"div",6)(1,"mat-form-field",18)(2,"mat-label"),M(3,"Layline Angle"),b(),Y(4,"input",29),b(),v(5,"mat-checkbox",30),M(6," Show Laylines "),b()())}function Fwe(t,n){1&t&&(v(0,"div",6)(1,"mat-form-field",18)(2,"mat-label"),M(3,"Wind Sector Duration"),b(),Y(4,"input",31),b(),v(5,"mat-checkbox",32),M(6," Show Wind Sectors "),b()())}function Nwe(t,n){1&t&&(v(0,"div",6)(1,"mat-form-field",18)(2,"mat-label"),M(3,"Minimum Value"),b(),Y(4,"input",33),b(),v(5,"mat-form-field",20)(6,"mat-label"),M(7,"Maximum Value"),b(),Y(8,"input",34),b()())}function Lwe(t,n){1&t&&(v(0,"div",6)(1,"mat-form-field",18)(2,"mat-label"),M(3,"Background Style"),b(),v(4,"mat-select",35)(5,"mat-option",36),M(6,"Dark Gray"),b(),v(7,"mat-option",37),M(8,"Satin Gray"),b(),v(9,"mat-option",38),M(10,"Light Gray"),b(),v(11,"mat-option",39),M(12,"White"),b(),v(13,"mat-option",40),M(14,"Black"),b(),v(15,"mat-option",41),M(16,"Beige"),b(),v(17,"mat-option",42),M(18,"Brown"),b(),v(19,"mat-option",43),M(20,"Red"),b(),v(21,"mat-option",44),M(22,"Green"),b(),v(23,"mat-option",45),M(24,"Blue"),b(),v(25,"mat-option",46),M(26,"Anthracite"),b(),v(27,"mat-option",47),M(28,"Mud"),b(),v(29,"mat-option",48),M(30,"Punched Sheet"),b(),v(31,"mat-option",49),M(32,"Carbon"),b(),v(33,"mat-option",50),M(34,"Stainless"),b(),v(35,"mat-option",51),M(36,"Brushed Metal"),b(),v(37,"mat-option",52),M(38,"Brushed Stainless"),b(),v(39,"mat-option",53),M(40,"Turned"),b()()(),v(41,"mat-form-field",20)(42,"mat-label"),M(43,"Frame Style"),b(),v(44,"mat-select",54)(45,"mat-option",55),M(46,"Black Metal"),b(),v(47,"mat-option",56),M(48,"Metal"),b(),v(49,"mat-option",57),M(50,"Shiny Metal"),b(),v(51,"mat-option",58),M(52,"Brass"),b(),v(53,"mat-option",59),M(54,"Steel"),b(),v(55,"mat-option",60),M(56,"Chrome"),b(),v(57,"mat-option",61),M(58,"Gold"),b(),v(59,"mat-option",46),M(60,"Anthracite"),b(),v(61,"mat-option",62),M(62,"Tilted Gray"),b(),v(63,"mat-option",63),M(64,"Tilted Black"),b(),v(65,"mat-option",64),M(66,"Glossy Metal"),b()()()())}function Bwe(t,n){1&t&&(v(0,"mat-option",70),M(1,"No Progress"),b())}function Vwe(t,n){if(1&t&&(v(0,"div",6)(1,"mat-form-field",15)(2,"mat-label"),M(3,"Color"),b(),v(4,"mat-select",65)(5,"mat-option",66),M(6,"Primary Color"),b(),v(7,"mat-option",67),M(8,"Accent Color"),b(),v(9,"mat-option",68),M(10,"Warn Color"),b(),G(11,Bwe,2,0,"mat-option",69),b()()()),2&t){const e=re();I(11),R("ngIf","ngLinearVertical"==e.widgetConfig.gaugeType||"ngLinearHorizontal"==e.widgetConfig.gaugeType)}}function Hwe(t,n){1&t&&Y(0,"span",76)}function zwe(t,n){1&t&&(G(0,Hwe,1,0,"span",75),M(1," Paths ")),2&t&&R("ngIf",!re(2).formMaster.controls.paths.valid)}function Wwe(t,n){if(1&t&&Y(0,"modal-path-selector",77),2&t){const e=n.$implicit,i=re(2);R("formGroup",i.formMaster.controls.paths.get(e))("filterSelfPaths",i.formMaster.value.filterSelfPaths)}}function jwe(t,n){if(1&t&&(v(0,"mat-tab",71),G(1,zwe,2,1,"ng-template",72),G(2,Wwe,1,2,"modal-path-selector",73),es(3,"objectKeys"),v(4,"mat-checkbox",74),M(5,"Restrict to own vessel"),b()()),2&t){const e=re();I(2),R("ngForOf",wa(3,1,e.formMaster.controls.paths.controls))}}function Uwe(t,n){1&t&&(v(0,"mat-tab",78)(1,"div",3)(2,"mat-form-field",15)(3,"mat-label"),M(4,"Unit Label Options"),b(),v(5,"mat-select",79)(6,"mat-option",80),M(7,"Full Label"),b(),v(8,"mat-option",81),M(9,"First Letter Only"),b()()()()())}function $we(t,n){1&t&&(v(0,"p")(1,"label",89),M(2,"Tick Labels:"),b(),v(3,"mat-radio-group",90)(4,"mat-radio-button",91),M(5,"N/E/S/W"),b(),v(6,"mat-radio-button",91),M(7,"0/90/180/270"),b()()()),2&t&&(I(4),R("value",!1),I(2),R("value",!0))}const Gwe=function(){return["marineCompass","baseplateCompass"]};function qwe(t,n){if(1&t&&(v(0,"mat-tab",78)(1,"div",3)(2,"p")(3,"label",82),M(4,"Radial Gauge type:"),b(),v(5,"mat-radio-group",83)(6,"mat-radio-button",84),M(7,"Measuring"),b(),v(8,"mat-radio-button",85),M(9,"Capacity"),b(),v(10,"mat-radio-button",86),M(11,"Marine Compass"),b(),v(12,"mat-radio-button",87),M(13,"Baseplate Compass"),b()()(),G(14,$we,8,2,"p",88),b()()),2&t){const e=re();I(14),R("ngIf",Xi(1,Gwe).indexOf(e.formMaster.controls.radialSize.value)>-1)}}function Ywe(t,n){1&t&&(v(0,"mat-tab",78)(1,"div",3)(2,"mat-form-field",15)(3,"mat-label"),M(4,"Gauge Type"),b(),v(5,"mat-select",92)(6,"mat-option",93),M(7,"Vertical layout"),b(),v(8,"mat-option",94),M(9,"Horizontal layout"),b()()(),v(10,"p")(11,"mat-checkbox",95),M(12," Display Gauge Ticks "),b()()()())}function Kwe(t,n){1&t&&(v(0,"mat-radio-group",100)(1,"mat-radio-button",101),M(2,"1/4"),b(),v(3,"mat-radio-button",102),M(4,"1/2"),b(),v(5,"mat-radio-button",103),M(6,"3/4"),b(),v(7,"mat-radio-button",80),M(8,"Full"),b()())}function Zwe(t,n){if(1&t&&(v(0,"p"),G(1,Kwe,9,0,"mat-radio-group",99),b()),2&t){const e=re(2);I(1),R("ngIf","radial"==e.formMaster.controls.gaugeType.value)}}function Qwe(t,n){if(1&t&&(v(0,"mat-tab",78)(1,"div",3)(2,"mat-form-field",15)(3,"mat-label"),M(4,"Gauge Type"),b(),v(5,"mat-select",92)(6,"mat-option",96),M(7,"Linear"),b(),v(8,"mat-option",97),M(9,"Radial"),b()()(),v(10,"p")(11,"mat-checkbox",98),M(12," Digital display "),b()(),G(13,Zwe,2,1,"p",88),b()()),2&t){const e=re();I(13),R("ngIf","radial"==e.formMaster.controls.gaugeType.value)}}function Xwe(t,n){1&t&&(v(0,"p")(1,"mat-checkbox",107),M(2," Value to send on button push (checked = on, unchecked = off) "),b()())}function Jwe(t,n){if(1&t&&(v(0,"mat-tab",104)(1,"div",3)(2,"p")(3,"mat-checkbox",105),M(4," Enable Put Requests "),b()(),v(5,"p")(6,"mat-checkbox",106),M(7," Momentary mode (instead of switching between on/off) "),b()(),G(8,Xwe,3,0,"p",88),b()()),2&t){const e=re();I(8),R("ngIf",e.formMaster.controls.putMomentary.value)}}function e1e(t,n){1&t&&Y(0,"span",76)}function t1e(t,n){1&t&&(G(0,e1e,1,0,"span",75),M(1," Dataset ")),2&t&&R("ngIf",!re(2).formMaster.controls.dataSetUUID.valid)}function n1e(t,n){if(1&t&&(v(0,"mat-option",118),M(1),b()),2&t){const e=n.$implicit;R("value",e.uuid),I(1),vn(" ",e.name," ")}}function i1e(t,n){if(1&t&&(v(0,"mat-option",118),M(1),b()),2&t){const e=n.$implicit;R("value",e.measure),I(1),vn(" ",e.description," ")}}function r1e(t,n){if(1&t&&(v(0,"mat-optgroup",119),G(1,i1e,2,2,"mat-option",110),b()),2&t){const e=n.$implicit;R("label",e.group),I(1),R("ngForOf",e.units)}}function o1e(t,n){if(1&t&&(v(0,"mat-tab",108),G(1,t1e,2,1,"ng-template",72),v(2,"div",3)(3,"mat-form-field",15)(4,"mat-label"),M(5,"Configured Datasets"),b(),v(6,"mat-select",109),G(7,n1e,2,2,"mat-option",110),b()(),v(8,"mat-form-field",111)(9,"mat-label"),M(10,"Display Format"),b(),v(11,"mat-select",112),G(12,r1e,2,2,"mat-optgroup",113),b()(),v(13,"p")(14,"mat-checkbox",114),M(15," Show vertical graph "),b()(),v(16,"p")(17,"mat-checkbox",115),M(18," Invert Data (multiply by -1) "),b()(),v(19,"p")(20,"mat-checkbox",116),M(21," Display Min/Max value "),b()(),v(22,"p")(23,"mat-checkbox",117),M(24," Y axis always start from zero "),b()()()()),2&t){const e=re();I(7),R("ngForOf",e.availableDataSets),I(5),R("ngForOf",e.unitList.conversions)}}let s1e=(()=>{class t{constructor(e,i,r,o){this.dialogRef=e,this.DataSetService=i,this.signalKService=r,this.widgetConfig=o,this.titleDialog="Widget Options",this.unitList={}}ngOnInit(){this.availableDataSets=this.DataSetService.getDataSets().sort(),this.unitList=this.signalKService.getConversionsForPath(""),this.formMaster=this.generateFormGroups(this.widgetConfig),this.formMaster.updateValueAndValidity()}generateFormGroups(e,i){let r=new gv({});return Object.keys(e).forEach(o=>{if("object"==typeof e[o]&&null!==e[o])"paths"===i?this.widgetConfig.paths[o].isPathConfigurable&&r.addControl(o,this.generateFormGroups(e[o],o)):r.addControl(o,this.generateFormGroups(e[o],o));else if("convertUnitTo"==i)("number"==this.widgetConfig.paths[o].pathType||"datasetUUID"in this.widgetConfig)&&r.addControl(o,new Po(e[o]));else switch(o){case"path":case"dataSetUUID":r.addControl(o,new Po(e[o],Da.required));break;default:r.addControl(o,new Po(e[o]))}}),r}submitConfig(){this.dialogRef.close(this.formMaster.value)}}return t.\u0275fac=function(e){return new(e||t)(D(Ra),D(vm),D(Na),D(Iu))},t.\u0275cmp=Pe({type:t,selectors:[["modal-widget-config"]],decls:33,vars:22,consts:[[3,"formGroup","ngSubmit"],["mat-dialog-title",""],["label","Display"],[1,"tab-content"],["class","full-width","appearance","outline","floatLabel","always",4,"ngIf"],["class","full-width",4,"ngIf"],[1,"full-width"],["class","minField",4,"ngIf"],["class","maxField",4,"ngIf"],["label","Paths",4,"ngIf"],["label","Settings",4,"ngIf"],["label","Put Request",4,"ngIf"],["label","Dataset",4,"ngIf"],["type","button","mat-dialog-close","","mat-raised-button",""],["mat-raised-button","","color","accent","type","submit",3,"disabled"],["appearance","outline","floatLabel","always",1,"full-width"],["type","url","matInput","","placeholder","Enter URL to page/resource","name","widgetUrl","formControlName","widgetUrl"],["matInput","","placeholder","Enter a label to display","name","displayName","formControlName","displayName"],["appearance","outline","floatLabel","always",1,"minField"],["type","number","min","0","max","5","matInput","","placeholder","Enter or select number...","name","numInt","formControlName","numInt"],["appearance","outline","floatLabel","always",1,"maxField"],["type","number","min","0","max","5","matInput","","placeholder","Enter or select number...","name","numDecimal","formControlName","numDecimal"],[1,"minField"],["name","showMax","formControlName","showMax"],[1,"maxField"],["name","showMin","formControlName","showMin"],["appearance","outline","floatLabel","always",1,"dateFormat"],["matInput","","placeholder","dd/MM/yyyy HH:mm:ss","name","dateFormat","formControlName","dateFormat"],["matInput","","placeholder","es: +0430 | Europe/Rome","name","dateTimezone","formControlName","dateTimezone"],["type","number","min","10","max","90","matInput","","placeholder","Select angle...","name","laylineAngle","formControlName","laylineAngle"],["name","laylineEnable","formControlName","laylineEnable"],["type","number","min","1","max","90","matInput","","placeholder","Select or enter duration...","name","windSectorWindowSeconds","formControlName","windSectorWindowSeconds"],["name","windSectorEnable","formControlName","windSectorEnable"],["matInput","","type","number","name","minValue","formControlName","minValue","placeholder","Enter or select number..."],["matInput","","type","number","name","maxValue","formControlName","maxValue","placeholder","Enter or select number..."],["placeholder","Select style...","formControlName","backgroundColor","name","backgroundColor"],["value","darkGray"],["value","satinGray"],["value","lightGray"],["value","white"],["value","black"],["value","beige"],["value","brown"],["value","red"],["value","green"],["value","blue"],["value","anthracite"],["value","mud"],["value","punchedSheet"],["value","carbon"],["value","stainless"],["value","brushedMetal"],["value","brushedStainless"],["value","turned"],["placeholder","Select style...","formControlName","frameColor","name","frameColor"],["value","blackMetal"],["value","metal"],["value","shinyMetal"],["value","brass"],["value","steel"],["value","chrome"],["value","gold"],["value","tiltedGray"],["value","tiltedBlack"],["value","glossyMetal"],["placeholder","Select Theme Color","formControlName","barColor","name","barColor"],["value","primary"],["value","accent"],["value","warn"],["value","nobar",4,"ngIf"],["value","nobar"],["label","Paths"],["mat-tab-label",""],["class","full-width",3,"formGroup","filterSelfPaths",4,"ngFor","ngForOf"],["name","filterSelfPaths","formControlName","filterSelfPaths"],["class","warning fa fa-exclamation-circle",4,"ngIf"],[1,"warning","fa","fa-exclamation-circle"],[1,"full-width",3,"formGroup","filterSelfPaths"],["label","Settings"],["placeholder","Select label format","formControlName","gaugeUnitLabelFormat","name","gaugeUnitLabelFormat"],["value","full"],["value","abr"],["id","radial-type-label"],["aria-labelledby","radial-type-label","name","radialSize","formControlName","radialSize",1,"radio-group"],["value","measuring",1,"radio-button"],["value","capacity",1,"radio-button"],["value","marineCompass",1,"radio-button"],["value","baseplateCompass",1,"radio-button"],[4,"ngIf"],["id","tick-type-label"],["aria-labelledby","tick-type-label","name","compassUseNumbers","formControlName","compassUseNumbers",1,"radio-group"],[1,"radio-button",3,"value"],["placeholder","Select type...","formControlName","gaugeType","name","gaugeType"],["value","ngLinearVertical"],["value","ngLinearHorizontal"],["formControlName","gaugeTicks","name","gaugeTicks"],["value","linear"],["value","radial"],["formControlName","barGraph","name","barGraph"],["name","radialSize","formControlName","radialSize",4,"ngIf"],["name","radialSize","formControlName","radialSize"],["value","quarter"],["value","half"],["value","three-quarter"],["label","Put Request"],["formControlName","putEnable","name","putEnable"],["formControlName","putMomentary","name","putMomentary"],["formControlName","putMomentaryValue","name","putMomentaryValue"],["label","Dataset"],["placeholder","Select dataset to use...","formControlName","dataSetUUID","name","dataSetUUID","required",""],[3,"value",4,"ngFor","ngForOf"],["appearance","outline","floatLabel","always",1,"unitField"],["placeholder","Select unit","formControlName","convertUnitTo","disableRipple","","required",""],[3,"label",4,"ngFor","ngForOf"],["formControlName","verticalGraph","name","verticalGraph"],["formControlName","invertData","name","invertData"],["formControlName","displayMinMax","name","displayMinMax"],["formControlName","includeZero","name","includeZero"],[3,"value"],[3,"label"]],template:function(e,i){1&e&&(v(0,"form",0),ne("ngSubmit",function(){return i.submitConfig()}),v(1,"span",1),M(2),b(),v(3,"mat-dialog-content")(4,"mat-tab-group")(5,"mat-tab",2)(6,"div",3),G(7,Mwe,4,0,"mat-form-field",4),G(8,Twe,4,0,"mat-form-field",4),G(9,Ewe,9,0,"div",5),v(10,"div",6),G(11,Awe,3,0,"div",7),G(12,Owe,3,0,"div",8),b(),v(13,"div",6),G(14,Iwe,5,0,"div",5),G(15,Pwe,5,0,"div",5),b(),G(16,Rwe,7,0,"div",5),G(17,Fwe,7,0,"div",5),G(18,Nwe,9,0,"div",5),G(19,Lwe,67,0,"div",5),G(20,Vwe,12,1,"div",5),b()(),G(21,jwe,6,3,"mat-tab",9),G(22,Uwe,10,0,"mat-tab",10),G(23,qwe,15,2,"mat-tab",10),G(24,Ywe,13,0,"mat-tab",10),G(25,Qwe,14,1,"mat-tab",10),G(26,Jwe,9,1,"mat-tab",11),G(27,o1e,25,2,"mat-tab",12),b()(),v(28,"mat-dialog-actions")(29,"button",13),M(30,"Cancel"),b(),v(31,"button",14),M(32,"Save"),b()()()),2&e&&(R("formGroup",i.formMaster),I(2),Qn(i.titleDialog),I(5),R("ngIf",void 0!==i.widgetConfig.widgetUrl),I(1),R("ngIf",void 0!==i.widgetConfig.displayName),I(1),R("ngIf",void 0!==i.widgetConfig.numInt),I(2),R("ngIf",void 0!==i.widgetConfig.showMax),I(1),R("ngIf",void 0!==i.widgetConfig.showMin),I(2),R("ngIf",void 0!==i.widgetConfig.dateFormat),I(1),R("ngIf",void 0!==i.widgetConfig.dateTimezone),I(1),R("ngIf",void 0!==i.widgetConfig.laylineEnable),I(1),R("ngIf",void 0!==i.widgetConfig.windSectorEnable),I(1),R("ngIf",void 0!==i.widgetConfig.minValue),I(1),R("ngIf",void 0!==i.widgetConfig.backgroundColor&&("linear"==i.widgetConfig.gaugeType||"radial"==i.widgetConfig.gaugeType)),I(1),R("ngIf",void 0!==i.widgetConfig.barColor),I(1),R("ngIf",void 0!==i.widgetConfig.paths),I(1),R("ngIf","simpleLinear"==i.widgetConfig.gaugeType),I(1),R("ngIf","ngRadial"==i.widgetConfig.gaugeType),I(1),R("ngIf","ngLinearVertical"==i.widgetConfig.gaugeType||"ngLinearHorizontal"==i.widgetConfig.gaugeType),I(1),R("ngIf","linear"==i.widgetConfig.gaugeType||"radial"==i.widgetConfig.gaugeType),I(1),R("ngIf",void 0!==i.widgetConfig.putEnable),I(1),R("ngIf",void 0!==i.widgetConfig.dataSetUUID),I(4),R("disabled",!i.formMaster.valid))},dependencies:[Eo,ui,ks,ea,uh,xs,ts,ta,lS,aS,Ta,yu,Ji,kh,Pu,Ru,Dh,Fo,Ho,Fa,Es,lx,yh,Dx,Mx,xb,vne,lm,na,eB,Dwe],styles:[".warning[_ngcontent-%COMP%]{color:red}.full-width[_ngcontent-%COMP%]{width:100%}.half-width[_ngcontent-%COMP%]{width:49%}.mat-radio-button[_ngcontent-%COMP%] ~ .mat-radio-button[_ngcontent-%COMP%]{margin-left:16px}.minField[_ngcontent-%COMP%]{display:inline-block;width:calc(50% - 15px);padding-right:30px}.maxField[_ngcontent-%COMP%]{display:inline-block;width:calc(50% - 15px)}.radio-group[_ngcontent-%COMP%]{display:flex;flex-direction:column;margin:15px 0}.radio-button[_ngcontent-%COMP%]{margin-left:16px}.tab-content[_ngcontent-%COMP%]{margin-top:20px}"]}),t})();const a1e=["primary"],l1e=["accent"],c1e=["warn"],u1e=["primaryDark"],d1e=["accentDark"],h1e=["warnDark"],f1e=["background"],p1e=["text"];function m1e(t,n){}function g1e(t,n){if(1&t){const e=Zn();v(0,"button",21),ne("click",function(){return ut(e),lt(re().selectWidget())}),Y(1,"span",22),b()}}function _1e(t,n){if(1&t){const e=Zn();v(0,"div",23)(1,"button",21),ne("click",function(){return ut(e),lt(re().openWidgetSettings())}),Y(2,"span",24),b()()}}function v1e(t,n){if(1&t&&(v(0,"mat-option",11),M(1),b()),2&t){const e=n.$implicit;R("value",e.name),I(1),vn(" ",e.description," ")}}function b1e(t,n){if(1&t){const e=Zn();v(0,"mat-tab",6)(1,"div",7)(2,"mat-form-field",8)(3,"mat-label"),M(4,"Widget Type"),b(),v(5,"mat-select",9),ne("ngModelChange",function(r){return ut(e),lt(re().newWidget=r)}),G(6,v1e,2,2,"mat-option",10),b()()()()}if(2&t){const e=n.$implicit,i=re();R("label",e.key),I(5),R("ngModel",i.newWidget),I(1),R("ngForOf",e.value)}}const KB=".dynamicWidgetContainer[_ngcontent-%COMP%]{position:relative;width:100%;height:100%}.mat-card[_ngcontent-%COMP%]{display:block;position:absolute!important;width:calc(100% - 4px);height:calc(100% - 5px);margin:3px auto auto 2px;padding:0;transition:none;transition-property:none}.selectWidgetMenu[_ngcontent-%COMP%]{position:absolute;right:5%;bottom:5%}.settingsButton[_ngcontent-%COMP%]{position:absolute;bottom:5%;left:50%;transform:translate(-50%)}.mat-select-trigger[_ngcontent-%COMP%]{min-width:30px!important}.full-width[_ngcontent-%COMP%]{width:100%}";let y1e=(()=>{class t{constructor(e,i,r,o){this.dialog=e,this.appSettingsService=i,this.WidgetManagerService=r,this.widgetListService=o,this.themeNameSub=null,this.themeColor={primary:"",accent:"",warn:"",primaryDark:"",accentDark:"",warnDark:"",background:"",text:""}}ngOnInit(){this.subscribeTheme()}loadTheme(){this.themeColor.primary=getComputedStyle(this.primary.nativeElement).color,this.themeColor.accent=getComputedStyle(this.accent.nativeElement).color,this.themeColor.warn=getComputedStyle(this.warn.nativeElement).color,this.themeColor.primaryDark=getComputedStyle(this.primaryDark.nativeElement).color,this.themeColor.accentDark=getComputedStyle(this.accentDark.nativeElement).color,this.themeColor.warnDark=getComputedStyle(this.warnDark.nativeElement).color,this.themeColor.background=getComputedStyle(this.background.nativeElement).color,this.themeColor.text=getComputedStyle(this.text.nativeElement).color}ngOnChanges(e){e.splitUUID&&!e.splitUUID.firstChange&&this.instanciateWidget(),e.unlockStatus&&!e.unlockStatus.firstChange&&"WidgetTutorial"==this.splitWidgetSettings.type&&(this.widgetInstance.unlockStatus=this.unlockStatus)}ngOnDestroy(){this.unsubscribeTheme()}instanciateWidget(){this.splitWidgetSettings=null,this.splitWidgetSettings=uD(this.WidgetManagerService.getWidget(this.splitUUID));const e=this.widgetListService.getComponentName(this.splitWidgetSettings.type);this.widgetInstance=null,this.dynamicWidgetContainerRef.clear();const i=this.dynamicWidgetContainerRef.createComponent(e);this.widgetInstance=i.instance,null==this.splitWidgetSettings.config&&this.loadWidgetDefaults(),i.setInput("widgetProperties",this.splitWidgetSettings),i.setInput("theme",this.themeColor),"WidgetTutorial"==this.splitWidgetSettings.type&&i.setInput("unlockStatus",this.unlockStatus)}selectWidget(){this.dialog.open(w1e,{data:{currentType:this.splitWidgetSettings.type}}).afterClosed().subscribe(i=>{let r=this.widgetListService.getList();for(let[o,s]of Object.entries(r))s.findIndex(a=>a.name==i)>=0&&this.splitWidgetSettings.type!=i&&(this.WidgetManagerService.updateWidgetType(this.splitUUID,i),this.instanciateWidget())})}openWidgetSettings(){this.dialog.open(s1e,{width:"80%",data:{...this.splitWidgetSettings.config}}).afterClosed().subscribe(i=>{if(i){if(null!=i.paths){var o={...{...this.splitWidgetSettings.config.paths},...i.paths};this.splitWidgetSettings.config=uD(i),this.splitWidgetSettings.config.paths={...o}}else this.splitWidgetSettings.config=uD(i);this.WidgetManagerService.updateWidgetConfig(this.splitWidgetSettings.uuid,this.splitWidgetSettings.config),this.instanciateWidget()}})}loadWidgetDefaults(){this.WidgetManagerService.updateWidgetConfig(this.splitWidgetSettings.uuid,{...this.widgetInstance.defaultConfig}),this.splitWidgetSettings.config=this.widgetInstance.defaultConfig}subscribeTheme(){this.themeNameSub=this.appSettingsService.getThemeNameAsO().subscribe(e=>{setTimeout(()=>{this.loadTheme(),this.instanciateWidget()},50)})}unsubscribeTheme(){null!==this.themeNameSub&&(this.themeNameSub.unsubscribe(),this.themeNameSub=null)}}return t.\u0275fac=function(e){return new(e||t)(D(Al),D(wr),D(qb),D(Kk))},t.\u0275cmp=Pe({type:t,selectors:[["app-dynamic-widget-container"]],viewQuery:function(e,i){if(1&e&&(Oe(YB,7,wi),Oe(a1e,7,xe),Oe(l1e,7,xe),Oe(c1e,7,xe),Oe(u1e,7,xe),Oe(d1e,7,xe),Oe(h1e,7,xe),Oe(f1e,7,xe),Oe(p1e,7,xe)),2&e){let r;ue(r=de())&&(i.dynamicWidgetContainerRef=r.first),ue(r=de())&&(i.primary=r.first),ue(r=de())&&(i.accent=r.first),ue(r=de())&&(i.warn=r.first),ue(r=de())&&(i.primaryDark=r.first),ue(r=de())&&(i.accentDark=r.first),ue(r=de())&&(i.warnDark=r.first),ue(r=de())&&(i.background=r.first),ue(r=de())&&(i.text=r.first)}},inputs:{splitUUID:"splitUUID",unlockStatus:"unlockStatus"},features:[Tn],decls:22,vars:2,consts:[[1,"dynamicWidgetContainer"],["dynamic-widget",""],[1,"selectWidgetMenu"],["color","accent","mat-mini-fab","","class","selector-fab",3,"click",4,"ngIf"],["class","settingsButton",4,"ngIf"],[1,"primary",2,"display","none"],["primary",""],[1,"accent",2,"display","none"],["accent",""],[1,"warn",2,"display","none"],["warn",""],[1,"primaryDark",2,"display","none"],["primaryDark",""],[1,"accentDark",2,"display","none"],["accentDark",""],[1,"warnDark",2,"display","none"],["warnDark",""],[1,"background",2,"display","none"],["background",""],[1,"text",2,"display","none"],["text",""],["color","accent","mat-mini-fab","",1,"selector-fab",3,"click"],[1,"fa-solid","fa-list"],[1,"settingsButton"],[1,"fa-solid","fa-cog"]],template:function(e,i){1&e&&(v(0,"div",0)(1,"mat-card"),G(2,m1e,0,0,"ng-template",1),b(),v(3,"div",2),G(4,g1e,2,0,"button",3),b(),G(5,_1e,3,0,"div",4),Y(6,"div",5,6)(8,"div",7,8)(10,"div",9,10)(12,"div",11,12)(14,"div",13,14)(16,"div",15,16)(18,"div",17,18)(20,"div",19,20),b()),2&e&&(I(4),R("ngIf",i.unlockStatus),I(1),R("ngIf",i.unlockStatus))},dependencies:[ui,Ji,NQ,YB],styles:[KB]}),t})(),w1e=(()=>{class t{constructor(e,i,r){this.widgetListService=e,this.dialogRef=i,this.data=r,this.selectedTab=new Po(0),this.keepOrder=(o,s)=>o}onNoClick(){this.dialogRef.close()}ngOnInit(){this.widgetList=this.widgetListService.getList(),this.newWidget=this.data.currentType;let e=0;for(let[i,r]of Object.entries(this.widgetList)){if(r.findIndex(o=>o.name==this.data.currentType)>=0){this.selectedTab.setValue(e);break}e++}}submitNewWidget(){this.dialogRef.close(this.newWidget)}}return t.\u0275fac=function(e){return new(e||t)(D(Kk),D(Ra),D(Iu))},t.\u0275cmp=Pe({type:t,selectors:[["app-dynamic-widget-container-modal"]],decls:12,vars:5,consts:[["name","widgetForm",3,"ngSubmit"],["mat-dialog-title",""],[1,"tabGroup",3,"selectedIndex","selectedIndexChange"],[3,"label",4,"ngFor","ngForOf"],["mat-raised-button","","mat-dialog-close",""],["mat-raised-button","","color","accent","type","submit"],[3,"label"],[1,"tab-content"],["appearance","outline","floatLabel","always",1,"full-width"],["placeholder","Please select one","name","newWidget",3,"ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(e,i){1&e&&(v(0,"form",0),ne("ngSubmit",function(){return i.submitNewWidget()}),v(1,"h1",1),M(2,"Choose Widget:"),b(),v(3,"mat-dialog-content")(4,"mat-tab-group",2),ne("selectedIndexChange",function(o){return i.selectedTab.setValue(o)}),G(5,b1e,7,3,"mat-tab",3),es(6,"keyvalue"),b()(),v(7,"mat-dialog-actions")(8,"button",4),M(9,"Cancel"),b(),v(10,"button",5),M(11,"Confirm"),b()()()),2&e&&(I(4),R("selectedIndex",i.selectedTab.value),I(1),R("ngForOf",_1(6,2,i.widgetList,i.keepOrder)))},dependencies:[Eo,ks,xs,ts,Sl,ns,Ji,kh,Pu,Ru,Dh,Fo,Ho,Fa,Es,xb,lm,fp],styles:[KB]}),t})();function C1e(t,n){if(1&t){const e=Zn();v(0,"div",9)(1,"mat-menu",null,10)(3,"button",11),ne("click",function(){ut(e);const r=re(2).$implicit;return lt(re().splitArea(r.uuid,"vertical"))}),M(4,"Split Horz."),b(),v(5,"button",11),ne("click",function(){ut(e);const r=re(2).$implicit;return lt(re().splitArea(r.uuid,"horizontal"))}),M(6,"Split Vert."),b()(),v(7,"button",12),Y(8,"span",13),b()()}if(2&t){const e=yi(2);I(7),R("matMenuTriggerFor",e)}}function S1e(t,n){if(1&t){const e=Zn();v(0,"div",14)(1,"button",15),ne("click",function(){ut(e);const r=re(2).$implicit;return lt(re().deleteArea(r.uuid))}),Y(2,"span",16),b()()}}function x1e(t,n){if(1&t&&(v(0,"div",5),Y(1,"app-dynamic-widget-container",6),G(2,C1e,9,1,"div",7),G(3,S1e,3,0,"div",8),b()),2&t){const e=re().$implicit,i=re();I(1),R("splitUUID",e.uuid)("unlockStatus",i.unlockStatus),I(1),R("ngIf",i.unlockStatus),I(1),R("ngIf",i.unlockStatus)}}function k1e(t,n){if(1&t&&Y(0,"layout-split",17),2&t){const e=re().$implicit;R("unlockStatus",re().unlockStatus)("splitUUID",e.uuid)}}function D1e(t,n){if(1&t&&(v(0,"as-split-area",2),G(1,x1e,4,4,"div",3),G(2,k1e,1,2,"layout-split",4),b()),2&t){const e=n.$implicit;R("order",n.index)("size",e.size)("ngSwitch",e.type),I(1),R("ngSwitchCase","widget"),I(1),R("ngSwitchCase","splitSet")}}let M1e=(()=>{class t{constructor(e){this.layoutSplitsService=e}ngOnInit(){this.splitSetSub=this.layoutSplitsService.getSplitObs(this.splitUUID).subscribe(e=>{this.splitSet=e})}ngOnDestroy(){this.splitSetSub.unsubscribe()}ngOnChanges(e){e.splitUUID&&(e.splitUUID.firstChange||(this.ngOnDestroy(),this.ngOnInit()))}onDragEnd(e){this.layoutSplitsService.updateSplitSizes(this.splitSet.uuid,e.sizes)}splitArea(e,i){this.layoutSplitsService.splitArea(this.splitSet.uuid,e,i)}deleteArea(e){this.layoutSplitsService.deleteArea(this.splitSet.uuid,e)}}return t.\u0275fac=function(e){return new(e||t)(D(Yb))},t.\u0275cmp=Pe({type:t,selectors:[["layout-split"]],inputs:{unlockStatus:"unlockStatus",splitUUID:"splitUUID"},features:[Tn],decls:2,vars:3,consts:[["gutterSize","4",3,"direction","disabled","dragEnd"],["ngFor","",3,"ngForOf"],[3,"order","size","ngSwitch"],["class","splitArea",4,"ngSwitchCase"],[3,"unlockStatus","splitUUID",4,"ngSwitchCase"],[1,"splitArea"],[3,"splitUUID","unlockStatus"],["class","splitMenu",4,"ngIf"],["class","splitdelete",4,"ngIf"],[1,"splitMenu"],["splitMenu","matMenu"],["mat-menu-item","",3,"click"],["color","accent","mat-mini-fab","",3,"matMenuTriggerFor"],[1,"fa-solid","fa-columns"],[1,"splitdelete"],["color","warn","mat-mini-fab","",3,"click"],[1,"fa-solid","fa-times"],[3,"unlockStatus","splitUUID"]],template:function(e,i){1&e&&(v(0,"as-split",0),ne("dragEnd",function(o){return i.onDragEnd(o)}),G(1,D1e,3,5,"ng-template",1),b()),2&e&&(R("direction",i.splitSet.direction)("disabled",!i.unlockStatus),I(1),R("ngForOf",i.splitSet.splitAreas))},dependencies:[Eo,ui,vl,pu,k3,Ere,xx,Mh,kx,Ji,y1e,t],styles:["as-split-area[_ngcontent-%COMP%]{overflow-y:hidden!important}.as-disabled[_ngcontent-%COMP%] > .as-split-gutter[_ngcontent-%COMP%] > .as-split-gutter-icon[_ngcontent-%COMP%]{visibility:hidden}.splitArea[_ngcontent-%COMP%]{width:100%;height:100%;position:relative;z-index:500}.splitMenu[_ngcontent-%COMP%]{position:absolute;left:5%;bottom:5%;z-index:500}.splitdelete[_ngcontent-%COMP%]{position:absolute;right:5%;top:5%;z-index:500}"]}),t})(),T1e=(()=>{class t{constructor(e,i,r){this.AppSettingsService=e,this.LayoutSplitsService=i,this.route=r,this.currentRootUUID=null}ngOnInit(){this.pageNumberSub=this.route.params.subscribe(e=>{this.pageNumber=+e.id,this.LayoutSplitsService.setActiveRootIndex(this.pageNumber)}),this.rootUUIDSub=this.LayoutSplitsService.getActiveRootSub().subscribe(e=>{null!==e&&(this.currentRootUUID=e)}),this.unlockStatusSub=this.AppSettingsService.getUnlockStatusAsO().subscribe(e=>{this.unlockStatus=e})}ngOnDestroy(){this.rootUUIDSub.unsubscribe(),this.unlockStatusSub.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(D(wr),D(Yb),D(Cl))},t.\u0275cmp=Pe({type:t,selectors:[["app-root-display"]],decls:1,vars:2,consts:[[3,"unlockStatus","splitUUID"]],template:function(e,i){1&e&&Y(0,"layout-split",0),2&e&&R("unlockStatus",i.unlockStatus)("splitUUID",i.currentRootUUID)},dependencies:[M1e],encapsulation:2}),t})(),ZB=(()=>{class t{constructor(e,i){this.AppSettingsService=e,this.route=i}ngOnInit(){this.route.url.subscribe(e=>{"demo"==e[0].path?this.AppSettingsService.loadDemoConfig():this.AppSettingsService.resetSettings()})}}return t.\u0275fac=function(e){return new(e||t)(D(wr),D(Cl))},t.\u0275cmp=Pe({type:t,selectors:[["app-reset-config"]],decls:0,vars:0,template:function(e,i){}}),t})();function E1e(t,n){if(1&t&&(v(0,"mat-option",8),M(1),b()),2&t){const e=n.$implicit;R("value",e.measure),I(1),vn(" ",e.measure," ")}}function A1e(t,n){if(1&t&&(v(0,"mat-optgroup",6),G(1,E1e,2,2,"mat-option",7),b()),2&t){const e=n.$implicit;R("label",e.group),I(1),R("ngForOf",e.units)}}let O1e=(()=>{class t{constructor(e,i,r){this.signalKService=e,this.unitsService=i,this.dialog=r,this.units=null,this.selectedUnit="unitless"}ngOnInit(){this.units=this.signalKService.getConversionsForPath(this.path),this.selectedUnit=this.units.default}convertValue(e){return"number"!=typeof e?e:this.unitsService.convertUnit(this.selectedUnit,e)}openDialog(){this.dialog.open(I1e,{data:{selectedUnit:this.selectedUnit,units:this.units}}).afterClosed().subscribe(i=>{i&&(this.selectedUnit=i)})}}return t.\u0275fac=function(e){return new(e||t)(D(Na),D(_m),D(Al))},t.\u0275cmp=Pe({type:t,selectors:[["data-browser-row"]],inputs:{path:"path",source:"source",pathValue:"pathValue"},decls:7,vars:3,consts:[[1,"cell-source"],[1,"cell-value"],[1,"cell-action"],["mat-raised-button","","color","accent",1,"small-button",3,"click"]],template:function(e,i){1&e&&(v(0,"mat-cell",0),M(1),b(),v(2,"mat-cell",1),M(3),b(),v(4,"mat-cell",2)(5,"button",3),ne("click",function(){return i.openDialog()}),M(6),b()()),2&e&&(I(1),Qn(i.source),I(2),Qn(i.convertValue(i.pathValue)),I(3),Qn(i.selectedUnit))},dependencies:[Ji,Ih],styles:[".small-button{width:20px;height:20px;line-height:20px;min-height:20px;vertical-align:top;font-size:14px;padding:0;margin:0}.cell-source:first-of-type{padding-left:0}.cell-source:first-of-type{flex:1 1 40%}.cell-value{justify-content:center;flex:1 1 22%}.cell-action{justify-content:end;flex:1 1 14%}\n"],encapsulation:2}),t})(),I1e=(()=>{class t{constructor(e,i){this.dialogRef=e,this.data=i,this.selectedUnit=null}}return t.\u0275fac=function(e){return new(e||t)(D(Ra),D(Iu))},t.\u0275cmp=Pe({type:t,selectors:[["dialog-unit-selector"]],decls:13,vars:3,consts:[["mat-dialog-title",""],["appearance","outline","floatLabel","always"],[3,"value","valueChange"],[3,"label",4,"ngFor","ngForOf"],["mat-raised-button","","color","accent","mat-dialog-close",""],["mat-raised-button","","color","accent",3,"mat-dialog-close"],[3,"label"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(e,i){1&e&&(v(0,"h2",0),M(1,"Select Unit type"),b(),v(2,"mat-dialog-content")(3,"mat-form-field",1)(4,"mat-label"),M(5,"Unit"),b(),v(6,"mat-select",2),ne("valueChange",function(o){return i.data.selectedUnit=o}),G(7,A1e,2,2,"mat-optgroup",3),b()()(),v(8,"mat-dialog-actions")(9,"button",4),M(10,"Cancel"),b(),v(11,"button",5),M(12,"Ok"),b()()),2&e&&(I(6),R("value",i.data.selectedUnit),I(1),R("ngForOf",i.data.units.conversions),I(4),R("mat-dialog-close",i.data.selectedUnit))},dependencies:[Eo,Ji,kh,Pu,Ru,Dh,Fo,Ho,Fa,Es,lx],encapsulation:2}),t})();function P1e(t,n){1&t&&(v(0,"mat-header-cell",17),M(1," Path "),b())}function R1e(t,n){if(1&t&&(v(0,"mat-cell",18),M(1),b()),2&t){const e=n.$implicit;I(1),vn(" ",e.path," ")}}function F1e(t,n){1&t&&(v(0,"mat-header-cell",19),M(1," Source / Value"),b())}function N1e(t,n){if(1&t&&(v(0,"div",22),Y(1,"data-browser-row",23),b()),2&t){const e=n.$implicit,i=re().$implicit;I(1),R("path",i.path)("source",e.key)("pathValue",e.value.value)}}function L1e(t,n){if(1&t&&(v(0,"mat-cell",20),G(1,N1e,2,3,"div",21),es(2,"keyvalue"),b()),2&t){const e=n.$implicit,i=re();I(1),R("ngForOf",wa(2,2,e.sources))("ngForTrackBy",i.trackBySource)}}function B1e(t,n){1&t&&Y(0,"mat-header-row",24)}function V1e(t,n){1&t&&Y(0,"mat-row",25)}function H1e(t,n){if(1&t&&(v(0,"tr",26)(1,"td",27),M(2),b()()),2&t){re();const e=yi(5);I(2),vn('No data matching the filter "',e.value,'"')}}const z1e=function(){return[5,10,25,100]},W1e=[{path:"",redirectTo:"/page/0",pathMatch:"full"},{path:"page/:id",component:T1e},{path:"settings",component:Jge},{path:"help",component:gme},{path:"data",component:(()=>{class t{constructor(e,i){this.SignalKService=e,this.cdRef=i,this.pageSize=10,this.tableData=new jx([]),this.displayedColumns=["path","defaultSource"]}onResize(e){this.setNumPerPage(e.target.innerHeight,e.target.innerWidth)}ngOnInit(){setTimeout(()=>{this.pathsSub=this.SignalKService.getPathsObservable().subscribe(e=>{this.tableData.data=e})},0)}ngAfterViewInit(){this.tableData.paginator=this.paginator,this.tableData.sort=this.sort,this.tableData.filter="self.",this.setNumPerPage(window.innerHeight,window.innerWidth),this.cdRef.detectChanges()}applyFilter(e){this.tableData.filter=e.target.value.trim().toLowerCase(),this.tableData.paginator&&this.tableData.paginator.firstPage()}trackByPath(e,i){return`${i.path}`}trackBySource(e,i){return`${i.key}`}setNumPerPage(e,i){this.pageSize=i<750?5:e>900?15:e>750&&e<900?10:5}}return t.\u0275fac=function(e){return new(e||t)(D(Na),D(wn))},t.\u0275cmp=Pe({type:t,selectors:[["data-browser"]],viewQuery:function(e,i){if(1&e&&(Oe(Ph,5),Oe(Bu,5)),2&e){let r;ue(r=de())&&(i.paginator=r.first),ue(r=de())&&(i.sort=r.first)}},decls:19,vars:8,consts:[[1,"full-display",3,"resize"],[1,"filter-field"],["matInput","","placeholder","Ex: navigation","value","self.",3,"keyup"],["input",""],[1,"mat-elevation-z8","full-width","table-container"],["matSort","","matSortActive","path","matSortDirection","asc",1,"full-display",3,"dataSource","trackBy"],["matColumnDef","path"],["class","pathHeader","mat-sort-header","",4,"matHeaderCellDef"],["class","pathCell",4,"matCellDef"],["matColumnDef","defaultSource"],["class","dataHeader","mat-sort-header","",4,"matHeaderCellDef"],["class","dataCell",4,"matCellDef"],["class","headerRow",4,"matHeaderRowDef","matHeaderRowDefSticky"],["class","cellRow",4,"matRowDef","matRowDefColumns"],["class","mat-row",4,"matNoDataRow"],[1,"paginator"],[3,"pageSize","pageSizeOptions"],["mat-sort-header","",1,"pathHeader"],[1,"pathCell"],["mat-sort-header","",1,"dataHeader"],[1,"dataCell"],["style","width: 100%;",4,"ngFor","ngForOf","ngForTrackBy"],[2,"width","100%"],[1,"flex-container",3,"path","source","pathValue"],[1,"headerRow"],[1,"cellRow"],[1,"mat-row"],["colspan","4",1,"mat-cell"]],template:function(e,i){1&e&&(v(0,"div",0),ne("resize",function(o){return i.onResize(o)},0,JM),v(1,"mat-form-field",1)(2,"mat-label"),M(3,"Filter"),b(),v(4,"input",2,3),ne("keyup",function(o){return i.applyFilter(o)}),b()(),v(6,"div",4)(7,"mat-table",5),zi(8,6),G(9,P1e,2,0,"mat-header-cell",7),G(10,R1e,2,1,"mat-cell",8),Wi(),zi(11,9),G(12,F1e,2,0,"mat-header-cell",10),G(13,L1e,3,4,"mat-cell",11),Wi(),G(14,B1e,1,0,"mat-header-row",12),G(15,V1e,1,0,"mat-row",13),G(16,H1e,3,1,"tr",14),b()(),v(17,"div",15),Y(18,"mat-paginator",16),b()()),2&e&&(I(7),R("dataSource",i.tableData)("trackBy",i.trackByPath),I(7),R("matHeaderRowDef",i.displayedColumns)("matHeaderRowDefSticky",!0),I(1),R("matRowDefColumns",i.displayedColumns),I(3),R("pageSize",i.pageSize)("pageSizeOptions",Xi(7,z1e)))},dependencies:[Eo,Fo,Ho,na,Rb,hm,Fb,fm,dm,Nb,pm,Ih,Lb,Bb,Vb,Ph,Bu,Ux,O1e,fp],styles:[".full-display[_ngcontent-%COMP%]{width:100%;height:100%;position:relative;z-index:500}.full-width[_ngcontent-%COMP%]{width:100%}.full-height[_ngcontent-%COMP%]{height:100%}.mat-column-path[_ngcontent-%COMP%]{flex:0 0 50%;width:50%}.mat-table[_ngcontent-%COMP%]{overflow:auto}.table-container[_ngcontent-%COMP%]{overflow:auto;height:auto}.paginator[_ngcontent-%COMP%]{width:100%;position:sticky}.filter-field[_ngcontent-%COMP%]{padding-left:10px;padding-top:10px}.flex-container[_ngcontent-%COMP%]{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center;align-items:stretch;gap:10px}.pathCell[_ngcontent-%COMP%], .pathHeader[_ngcontent-%COMP%], .dataHeader[_ngcontent-%COMP%]{flex:1 1 50%}.dataCell[_ngcontent-%COMP%]{flex:1 1 50%;flex-flow:column;flex-wrap:wrap;gap:2px}@media screen and (max-width: 750px){.pathHeader[_ngcontent-%COMP%], .dataHeader[_ngcontent-%COMP%]{flex:1 1 50%}.dataCell[_ngcontent-%COMP%]{flex:1 1 100%}.dataCell[_ngcontent-%COMP%]{flex:1 1 100%;margin-left:24px}.mat-table[_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%]{flex-direction:row;flex-wrap:wrap}.mat-table[_ngcontent-%COMP%] .mat-cell[_ngcontent-%COMP%]:before{content:attr(data-label);float:left;padding-right:5px}mat-row[_ngcontent-%COMP%]:after{min-height:auto;padding-bottom:10px}.dataRow[_ngcontent-%COMP%]{flex-direction:column;align-items:flex-start}.actionCell[_ngcontent-%COMP%]{margin-left:24px}}"]}),t})()},{path:"reset",component:ZB},{path:"login",component:(()=>{class t{constructor(e,i,r,o){this.dialog=e,this.auth=i,this.notificationsService=r,this.appSettingsService=o,this.connectionConfig=null}ngOnInit(){this.connectionConfig=this.appSettingsService.getConnectionConfig(),this.openUserCredentialModal("Sign in failed: Incorrect user/password. Enter valide credentials or access the Confifuration/Settings menu, validate the server URL or/and disable the user Sign in option")}openUserCredentialModal(e){this.dialog.open(J5,{disableClose:!0,data:{user:this.connectionConfig.loginName,password:this.connectionConfig.loginPassword,error:e}}).afterClosed().subscribe(r=>{void 0===r||!r||(this.connectionConfig.loginName=r.user,this.connectionConfig.loginPassword=r.password,this.appSettingsService.setConnectionConfig(this.connectionConfig),this.serverLogin())})}serverLogin(e){this.auth.login({usr:this.connectionConfig.loginName,pwd:this.connectionConfig.loginPassword,newUrl:e}).then(i=>{this.appSettingsService.reloadApp()}).catch(i=>{401==i.status?(this.openUserCredentialModal("Sign in failed: Invalide user/password. Enter valide credentials"),console.log("[Setting-SignalK Component] Sign in failed: "+i.error.message)):404==i.status?(this.notificationsService.sendSnackbarNotification("Sign in failed: Login API not found at URL. See connection detail status in Configuration/Settings",5e3,!1),console.log("[Setting-SignalK Component] Sign in failed: "+i.error.message)):0==i.status?(this.notificationsService.sendSnackbarNotification("Sign in failed: Cannot reach server at Signal K URL. See connection detail status in Configuration/Settings",5e3,!1),console.log("[Setting-SignalK Component] Sign in failed: Cannot reach server at Signal K URL:"+i.message)):(this.notificationsService.sendSnackbarNotification("Unknown authentication failure: "+JSON.stringify(i),5e3,!1),console.log("[Setting-SignalK Component] Unknown login error response: "+JSON.stringify(i)))})}}return t.\u0275fac=function(e){return new(e||t)(D(Al),D(Rl),D(ia),D(wr))},t.\u0275cmp=Pe({type:t,selectors:[["app-widget-login"]],decls:0,vars:0,template:function(e,i){}}),t})()},{path:"demo",component:ZB}],j1e=t=>()=>t.initNetworkServices().then(n=>{}).catch(n=>{});let U1e=(()=>{class t{constructor(){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Ct({type:t,bootstrap:[hme]}),t.\u0275inj=yt({providers:[{provide:pS,useClass:Vpe,multi:!0},q5,{provide:ap,useFactory:j1e,deps:[q5],multi:!0},Rl,Na,Lh,zu,vm,Yb,Kk,qb,_m,wr,ia,G5,Gb,{provide:cp,useFactory:n=>n.getBaseHrefFromDOM(),deps:[x_]}],imports:[MO,Zq,uS,hY,KG.forRoot(W1e,{useHash:!0,relativeLinkResolution:"legacy"}),Are,Ire,hZ,lee,sb,o3,QX,CN,Rne,ZQ,bJ,bee,Pne,LQ,kN,Xte,ZJ,gJ,TQ,Kee,lie,Cie,bre,Yie,cre,vre]}),t})();(function Wz(){D2=!1})(),vU().bootstrapModule(U1e)},8023:Gi=>{!function(ln){"use strict";function qi(S){if(Array.isArray(S)){for(var w=0,T=Array(S.length);w"u"?global:window),void 0!==w[S])return w[S];for(var T=["webkit","moz","ms","o"],B=0,z=T.length,q=S.charAt(0).toUpperCase()+S.substr(1);B1&&(ae=1),1!==ae&&(_e=B(ae),isFinite(_e)&&!isNaN(_e)&&(ae=_e)),w&&w(ae),me0){for(q=B-(ee=S.toFixed(T).toString().split("."))[0].length;z0?Ze.roundRect(S,B,z,q,ee,T):S.rect(B,z,q,ee),S.stroke(),S.closePath()}function Ne(S,w,T,B,z,q,ee){var me=function Wn(S,w,T,B,z,q){var ee=Wr.pixelRatio,me=q>=z,ae=me?.85*z:q,_e=me?q:z;T=me?Kt(T+(z-ae)/2):T;var H=!!w.title,Ve=!!w.units,Qe=!!w.valueBox,Nt=void 0,mt=void 0,hn=void 0;me?(mt=Kt(.05*_e),Nt=Kt(.075*_e),hn=Kt(.11*_e),H&&(_e-=Nt,B+=Nt),Ve&&(_e-=mt),Qe&&(_e-=hn)):(mt=Nt=Kt(.15*ae),H&&(ae-=Nt,B+=Nt),Ve&&(ae-=mt));var St=2*w.barStrokeWidth,Mt=w.barBeginCircle?Kt(ae*w.barBeginCircle/200-St/2):0,Cn=Kt(ae*w.barWidth/100-St),fn=Kt(_e*w.barLength/100-St),Zt=Kt((_e-fn)/2),it=Kt(T+(me?ae/2:Zt+Mt)),xt=Kt(B+(me?_e-Zt-Mt+St/2:ae/2)),et=!me||w.hasLeft&&w.hasRight?0:(w.hasRight?-1:1)*w.ticksWidth/100*ae,dn=me||w.hasLeft&&w.hasRight?0:(w.hasRight?-1:1)*w.ticksWidth/100*ae;return S.barDimensions={isVertical:me,width:ae,length:_e,barWidth:Cn,barLength:fn,strokeWidth:St,barMargin:Zt,radius:Mt,pixelRatio:ee,barOffset:null,titleMargin:H?Nt:0,unitsMargin:Ve?mt:0,get ticksLength(){return this.barLength-this.barOffset-this.strokeWidth},X:T+et,Y:B+dn,x0:it+et,y0:xt+dn,baseX:T,baseY:B,ticksPadding:w.ticksPadding/100},S.barDimensions}(S,w,B,z,q,ee),ae=me.isVertical,_e=me.width,H=me.barWidth,Ve=me.barLength,Qe=me.strokeWidth,Nt=me.barMargin,mt=me.radius,hn=me.x0,St=me.y0,Mt=me.X,Cn=me.Y,fn=Ve;if(S.save(),S.beginPath(),w.barBeginCircle){var Zt=Ze.radians(ae?270:0),it=Math.asin(H/2/mt),xt=Math.cos(it),et=Math.sin(it),dn=hn+(ae?mt*et:mt*xt-Qe/2),Le=ae?St-mt*xt:St+mt*et,Lt=Kr(ae?Le-St:dn-hn);S.barDimensions.barOffset=Kt(Lt+mt);var It=ae?Kt(hn-mt*et):dn,Vi=ae?Le:Kt(St-mt*et);"progress"===T&&(Ve=S.barDimensions.barOffset+(Ve-S.barDimensions.barOffset)*(Ze.normalizedValue(w).normal-w.minValue)/(w.maxValue-w.minValue));var Mr=Kt(dn+Ve-S.barDimensions.barOffset+Qe/2),Ns=Kt(Le-Ve+S.barDimensions.barOffset-Qe/2);S.arc(hn,St,mt,Zt+it,Zt-it),ae?(S.moveTo(dn,Vi),S.lineTo(dn,Ns),S.lineTo(It,Ns),S.lineTo(It,Vi)):(S.moveTo(dn,Vi),S.lineTo(Mr,Vi),S.lineTo(Mr,Le),S.lineTo(dn,Le))}else{var Ls=Kt(ae?Mt+(_e-H)/2:Mt+Nt),Bs=Kt(ae?Cn+Ve+Nt:Cn+(_e-H)/2);"progress"===T&&(Ve*=(w.value-w.minValue)/(w.maxValue-w.minValue)),ae?S.rect(Ls,Bs,H,-Ve):S.rect(Ls,Bs,Ve,H)}"progress"!==T&&w.barStrokeWidth&&(S.lineWidth=Qe,S.strokeStyle=w.colorBarStroke,S.stroke()),"progress"!==T&&w.colorBar?(S.fillStyle=w.colorBarEnd?Ze.linearGradient(S,w.colorBar,w.colorBarEnd,Ve,ae,ae?Cn:Mt):w.colorBar,S.fill()):"progress"===T&&w.colorBarProgress&&(S.fillStyle=w.colorBarProgressEnd?Ze.linearGradient(S,w.colorBarProgress,w.colorBarProgressEnd,fn,ae,ae?Cn:Mt):w.colorBarProgress,S.fill()),S.closePath(),w.barBeginCircle&&(S.barDimensions.radius+=Qe),S.barDimensions.barWidth+=Qe,S.barDimensions.barLength+=Qe}function jt(S,w,T,B,z,q){Ne(S,w,"",T,B,z,q)}function on(S,w){return w.needleSide!==S||w.tickSide!==S||w.numberSide!==S}function Rn(S,w,T,B,z,q){w.barProgress&&Ne(S,w,"progress",T,B,z,q)}function tr(S,w,T,B,z){S.beginPath(),S.moveTo(w,T),S.lineTo(B,z),S.stroke(),S.closePath(),S.save()}function ti(S,w,T,B,z,q,ee,me,ae){var _e=S.barDimensions,H=_e.isVertical,Ve=_e.length,Qe=_e.barWidth,Nt=_e.barOffset,mt=_e.barMargin,hn=_e.pixelRatio,St=_e.width,Mt=_e.X,Cn=_e.Y,fn=_e.ticksLength,Zt=_e.ticksPadding,it=(St-Qe)/2,xt=void 0,et=void 0,dn=0,Le=T.length,Lt=void 0,It=ae*St,Vi=it-Zt*St,Mr=it+Qe+It+Zt*St,Ns=w instanceof Array?w:new Array(T.length).fill(w);S.lineWidth=me*hn,S.save();for(var Ls=fn/(z-B);dnq&&(_e*=-1),S.moveTo(T-Ve,B),S.lineTo(T+Ve,B),S.lineTo(T+Ve,B+_e),S.lineTo(T,q),S.lineTo(T-Ve,B+_e),S.lineTo(T-Ve,B)):(T>z&&(_e*=-1),S.moveTo(T,B-Ve),S.lineTo(T,B+Ve),S.lineTo(T+_e,B+Ve),S.lineTo(z,B),S.lineTo(T+_e,B-Ve),S.lineTo(T,B-Ve)),S.fill(),S.closePath()}function jo(S,w,T,B,z,q,ee){var me=(parseFloat(w.fontValueSize)||0)*q/200;S.barDimensions.isVertical&&Ze.drawValueBox(S,w,T,B+q/2,z+ee-me-(.11*ee-me)/2,q)}var qa=function(w,T){if(Array.isArray(w))return w;if(Symbol.iterator in Object(w))return function S(w,T){var B=[],z=!0,q=!1,ee=void 0;try{for(var me,ae=w[Symbol.iterator]();!(z=(me=ae.next()).done)&&(B.push(me.value),!T||B.length!==T);z=!0);}catch(_e){q=!0,ee=_e}finally{try{!z&&ae.return&&ae.return()}finally{if(q)throw ee}}return B}(w,T);throw new TypeError("Invalid attempt to destructure non-iterable instance")},Ya=function S(w,T,B){null===w&&(w=Function.prototype);var z=Object.getOwnPropertyDescriptor(w,T);if(void 0===z){var q=Object.getPrototypeOf(w);return null===q?void 0:S(q,T,B)}if("value"in z)return z.value;var ee=z.get;return void 0!==ee?ee.call(B):void 0},Ka=function S(w,T,B,z){var q=Object.getOwnPropertyDescriptor(w,T);if(void 0===q){var ee=Object.getPrototypeOf(w);null!==ee&&S(ee,T,B,z)}else if("value"in q&&q.writable)q.value=B;else{var me=q.set;void 0!==me&&me.call(z,B)}return B},ar=function(){function S(w,T){for(var B=0;B>>0;if(0===z)return-1;var q=+w||0;if(Math.abs(q)===1/0&&(q=0),q>=z)return-1;for(T=Math.max(q>=0?q:z-Math.abs(q),0);T>>0,B=arguments[1],z=B>>0,q=z<0?Math.max(T+z,0):Math.min(z,T),ee=arguments[2],me=void 0===ee?T:ee>>0,ae=me<0?Math.max(T+me,0):Math.min(me,T);q"u"&&(window=typeof global>"u"?{}:global);var $l=function(){function S(){j(this,S),this._events={},this.addListener=this.on,this.removeListener=this.off}return ar(S,[{key:"emit",value:function(w){if(this._events[w]){for(var T=0,B=this._events[w].length,z=arguments.length,q=Array(z>1?z-1:0),ee=1;ee1?T-1:0),z=1;z=(7-4*w)/11)return-Math.pow((11-6*w-11*S)/4,2)+Math.pow(T,2)},elastic:function(S){return 1-ds.delastic(1-S)},delastic:function(S){return Math.pow(2,10*(S-1))*Math.cos(20*Math.PI*1.5/3*S)}},Za=function(){function S(){var w=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"linear",T=arguments.length>1&&void 0!==arguments[1]?arguments[1]:250,B=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){},z=arguments.length>3&&void 0!==arguments[3]?arguments[3]:function(){};if(j(this,S),this.duration=T,this.rule=w,this.draw=B,this.end=z,"function"!=typeof this.draw)throw new TypeError("Invalid animation draw callback:",B);if("function"!=typeof this.end)throw new TypeError("Invalid animation end callback:",z)}return ar(S,[{key:"animate",value:function(w,T){var B=this;this.frame&&this.cancel();var z=window.performance&&window.performance.now?window.performance.now():ge("animationStartTime")||Date.now();T=T||this.end,this.draw=w=w||this.draw,this.end=T,this.frame=Gl(function(q){return Z(q,w,z,ds[B.rule]||B.rule,B.duration,T,B)})}},{key:"cancel",value:function(){this.frame&&((ge("cancelAnimationFrame")||function(w){})(this.frame),this.frame=null)}},{key:"destroy",value:function(){this.cancel(),this.draw=null,this.end=null}}]),S}();Za.rules=ds;var hs=function(){function S(w,T,B){j(this,S),this.options=w,this.element=T.toLowerCase(),this.type=S.toDashed(B),this.Type=ln[B],this.mutationsObserved=!1,this.isObservable=!!window.MutationObserver,window.GAUGES_NO_AUTO_INIT||S.domReady(this.traverse.bind(this))}return ar(S,[{key:"isValidNode",value:function(w){return!(!w.tagName||w.tagName.toLowerCase()!==this.element||w.getAttribute("data-type")!==this.type)}},{key:"traverse",value:function(){for(var w=document.getElementsByTagName(this.element),T=0,B=w.length;T1&&void 0!==arguments[1])||arguments[1],B=w.split(/-/),z=0,q=B.length,ee="";z1&&void 0!==arguments[1]?arguments[1]:0;return T=parseFloat(T),!isNaN(T)&&isFinite(T)||(T=parseFloat(B)||0),T}},{key:"mod",value:function(T,B){return(T%B+B)%B}},{key:"version",get:function(){return la}}]),w}($l);void 0!==ln&&(ln.BaseGauge=jr,ln.gauges=(window.document||{}).gauges=jn);var Xa=/{([_a-zA-Z]+[_a-zA-Z0-9]*)}/g,Ze={roundRect:Me,padValue:qn,formatMajorTickNumber:function x(S,w){var T=void 0,B=!1;return T=0===w.majorTicksDec?Math.round(S).toString():S.toFixed(w.majorTicksDec),w.majorTicksInt>1?(B=~T.indexOf("."),~T.indexOf("-")?"-"+[w.majorTicksInt+w.majorTicksDec+2+(B?1:0)-T.length].join("0")+T.replace("-",""):[w.majorTicksInt+w.majorTicksDec+1+(B?1:0)-T.length].join("0")+T):T},radians:function E(S){return S*Math.PI/180},radialPoint:function V(S,w){return{x:-S*Math.sin(w),y:S*Math.cos(w)}},linearGradient:function Q(S,w,T,B){var z=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],q=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0,ee=S.createLinearGradient(z?0:q,z?q:0,z?0:B,z?B:0);return ee.addColorStop(0,w),ee.addColorStop(1,T),ee},drawNeedleShadow:function be(S,w){w.needleShadow&&(S.shadowOffsetX=2,S.shadowOffsetY=2,S.shadowBlur=10,S.shadowColor=w.colorNeedleShadowDown)},drawValueBox:function tt(S,w,T,B,z,q){if(w.valueBox){Ue(S);var ee=w.valueDec?1+w.valueDec:0,me="9".repeat(Math.max.apply(null,[String(parseInt(T)).length+ee].concat(w.majorTicks.map(function(Le){return String(parseInt(Le,10)).length+ee})))),ae=w.valueText||qn(T,w),_e=q/200,H=q/100,Ve=.4*H,Qe=1.2*H;S.font=he(w,"Value",_e),Yt(S,w,Ve,Qe);var Nt=S.measureText(w.valueText?ae:"-"+qn(Number(me),w)).width;Ue(S);var mt=parseFloat(w.fontValueSize)*_e+Ve+Qe,hn=H*parseFloat(w.valueBoxStroke),St=2*q-2*hn,Mt=Nt+10*H,Cn=1.1*mt+Ve+Qe,fn=H*w.valueBoxBorderRadius,Zt=(parseFloat(w.valueBoxWidth)||0)/100*St;Zt>Mt&&(Mt=Zt),Mt>St&&(Mt=St);var it=B-Mt/2,xt=z-Cn/2,et=z-5.75*H;if(S.beginPath(),fn?Me(S,it,xt,Mt,Cn,fn):S.rect(it,xt,Mt,Cn),hn){var dn=S.createRadialGradient(B,et,10*H,B,et,20*H);dn.addColorStop(0,w.colorValueBoxRect),dn.addColorStop(1,w.colorValueBoxRectEnd),S.strokeStyle=dn,S.lineWidth=hn,S.stroke()}w.colorValueBoxShadow&&(S.shadowBlur=1.2*H,S.shadowColor=w.colorValueBoxShadow),w.colorValueBoxBackground&&(S.fillStyle=w.colorValueBoxBackground,S.fill()),S.closePath(),S.restore(),Yt(S,w,Ve,Qe),S.fillStyle=w.colorValueText,S.textAlign="center",S.textBaseline="alphabetic",S.fillText(ae,it+Mt/2,z+Cn/2-mt/3),S.restore()}},verifyError:function ot(S){if(!(S instanceof DOMException&&2152923147===S.result))throw S},prepareTicks:function ht(S){return S.majorTicks instanceof Array||(S.majorTicks=S.majorTicks?[S.majorTicks]:[]),S.majorTicks.length||(S.majorTicks.push(Ze.formatMajorTickNumber(S.minValue,S)),S.majorTicks.push(Ze.formatMajorTickNumber(S.maxValue,S))),["right"!==S.tickSide,"left"!==S.tickSide]},drawShadow:function Ce(S,w){if(arguments.length>2&&void 0!==arguments[2]&&arguments[2])return S.restore(),!0;S.save();var T=w.borderShadowWidth;return T&&(S.shadowBlur=T,S.shadowColor=w.colorBorderShadow),!0},font:he,normalizedValue:function qe(S){var w=S.value,T=S.minValue,B=S.maxValue,z=.01*(B-T);return{normal:wB?B:w,indented:wB?B+z:w}},formatContext:function Mn(S,w){return w.replace(Xa,function(T,B){var z=S[B];return void 0!==z?z:T})}},L=Math.PI,te=L/2,ce=Object.assign({},Qa,{ticksAngle:270,startAngle:45,colorNeedleCircleOuter:"#f0f0f0",colorNeedleCircleOuterEnd:"#ccc",colorNeedleCircleInner:"#e8e8e8",colorNeedleCircleInnerEnd:"#f5f5f5",needleCircleSize:10,needleCircleInner:!0,needleCircleOuter:!0,needleStart:20,animationTarget:"needle",useMinPath:!1,barWidth:0,barStartPosition:"left"}),Te=function(S){function w(T){return j(this,w),T=Object.assign({},ce,T||{}),Pt(this,(w.__proto__||Object.getPrototypeOf(w)).call(this,w.configure(T)))}return cn(w,S),ar(w,[{key:"draw",value:function(){try{var T=this.canvas,B=[-T.drawX,-T.drawY,T.drawWidth,T.drawHeight],z=B[0],q=B[1],ee=B[2],me=B[3],ae=this.options;if("needle"===ae.animationTarget){if(!T.elementClone.initialized){var _e=T.contextClone;_e.clearRect(z,q,ee,me),_e.save(),this.emit("beforePlate"),Fr(_e,ae),this.emit("beforeHighlights"),ye(_e,ae),this.emit("beforeMinorTicks"),si(_e,ae),this.emit("beforeMajorTicks"),wo(_e,ae),this.emit("beforeNumbers"),so(_e,ae),this.emit("beforeTitle"),bn(_e,ae),this.emit("beforeUnits"),cs(_e,ae),T.elementClone.initialized=!0}this.canvas.commit(),T.context.clearRect(z,q,ee,me),T.context.save(),T.context.drawImage(T.elementClone,z,q,ee,me),T.context.save(),this.emit("beforeProgressBar"),pe(T.context,ae),this.emit("beforeValueBox"),aa(T.context,ae,nt(this)),this.emit("beforeNeedle"),sa(T.context,ae)}else{var H=-Ze.radians((ae.value-ae.minValue)/(ae.maxValue-ae.minValue)*ae.ticksAngle);if(T.context.clearRect(z,q,ee,me),T.context.save(),this.emit("beforePlate"),Fr(T.context,ae),T.context.rotate(H),this.emit("beforeHighlights"),ye(T.context,ae),this.emit("beforeMinorTicks"),si(T.context,ae),this.emit("beforeMajorTicks"),wo(T.context,ae),this.emit("beforeNumbers"),so(T.context,ae),this.emit("beforeProgressBar"),pe(T.context,ae),T.context.rotate(-H),T.context.save(),!T.elementClone.initialized){var Ve=T.contextClone;Ve.clearRect(z,q,ee,me),Ve.save(),this.emit("beforeTitle"),bn(Ve,ae),this.emit("beforeUnits"),cs(Ve,ae),this.emit("beforeNeedle"),sa(Ve,ae),T.elementClone.initialized=!0}T.context.drawImage(T.elementClone,z,q,ee,me)}this.emit("beforeValueBox"),aa(T.context,ae,nt(this)),Ya(w.prototype.__proto__||Object.getPrototypeOf(w.prototype),"draw",this).call(this)}catch(Qe){Ze.verifyError(Qe)}return this}},{key:"value",set:function(T){T=jr.ensureValue(T,this.options.minValue),this.options.animation&&360===this.options.ticksAngle&&this.options.useMinPath&&(this._value=T,T=this.options.value+((T-this.options.value)%360+540)%360-180),Ka(w.prototype.__proto__||Object.getPrototypeOf(w.prototype),"value",T,this)},get:function(){return Ya(w.prototype.__proto__||Object.getPrototypeOf(w.prototype),"value",this)}}],[{key:"configure",value:function(T){return T.barWidth>50&&(T.barWidth=50),isNaN(T.startAngle)&&(T.startAngle=45),isNaN(T.ticksAngle)&&(T.ticksAngle=270),T.ticksAngle>360&&(T.ticksAngle=360),T.ticksAngle<0&&(T.ticksAngle=0),T.startAngle<0&&(T.startAngle=0),T.startAngle>360&&(T.startAngle=360),T}}]),w}(jr);void 0!==ln&&(ln.RadialGauge=Te),jr.initialize("RadialGauge",ce);var $e=Object.assign({},Qa,{borderRadius:0,barBeginCircle:30,colorBarEnd:"",colorBarProgressEnd:"",needleWidth:6,tickSide:"both",needleSide:"both",numberSide:"both",ticksWidth:10,ticksWidthMinor:5,ticksPadding:5,barLength:85,fontTitleSize:26,highlightsWidth:10}),at=function(S){function w(T){return j(this,w),T=Object.assign({},$e,T||{}),Pt(this,(w.__proto__||Object.getPrototypeOf(w)).call(this,w.configure(T)))}return cn(w,S),ar(w,[{key:"draw",value:function(){try{var T=this.canvas,B=[-T.drawX,-T.drawY,T.drawWidth,T.drawHeight],z=B[0],q=B[1],ee=B[2],me=B[3],ae=this.options;if(!T.elementClone.initialized){var _e=T.contextClone;_e.clearRect(z,q,ee,me),_e.save(),this.emit("beforePlate"),this.drawBox=function Ot(S,w,T,B,z,q){var ee=Wr.pixelRatio;S.save();var me=w.borderRadius*ee,ae=z-w.borderShadowWidth-w.borderOuterWidth*ee,_e=ae-w.borderOuterWidth*ee-w.borderMiddleWidth*ee,H=_e-w.borderMiddleWidth*ee-w.borderInnerWidth*ee,Ve=H-w.borderInnerWidth*ee,Qe=q-w.borderShadowWidth-w.borderOuterWidth*ee,Nt=Qe-w.borderOuterWidth*ee-w.borderMiddleWidth*ee,mt=Nt-w.borderMiddleWidth*ee-w.borderInnerWidth*ee,hn=mt-w.borderInnerWidth*ee,St=T-(_e-ae)/2,Mt=St-(H-_e)/2,Cn=Mt-(Ve-H)/2,fn=B-(Nt-Qe)/2,Zt=fn-(mt-Nt)/2,it=Zt-(hn-mt)/2,xt=0,et=!1;return w.borderOuterWidth&&(et=Ze.drawShadow(S,w,et),Ye(S,w.borderOuterWidth*ee,me,T+w.borderOuterWidth*ee/2-xt,B+w.borderOuterWidth*ee/2-xt,ae,Qe,w.colorBorderOuter,w.colorBorderOuterEnd),xt+=.5*ee),w.borderMiddleWidth&&(et=Ze.drawShadow(S,w,et),Ye(S,w.borderMiddleWidth*ee,me-=1+2*xt,St+w.borderMiddleWidth*ee/2-xt,fn+w.borderMiddleWidth*ee/2-xt,_e+2*xt,Nt+2*xt,w.colorBorderMiddle,w.colorBorderMiddleEnd),xt+=.5*ee),w.borderInnerWidth&&(et=Ze.drawShadow(S,w,et),Ye(S,w.borderInnerWidth*ee,me-=1+2*xt,Mt+w.borderInnerWidth*ee/2-xt,Zt+w.borderInnerWidth*ee/2-xt,H+2*xt,mt+2*xt,w.colorBorderInner,w.colorBorderInnerEnd),xt+=.5*ee),Ze.drawShadow(S,w,et),function Wt(S,w,T,B,z,q,ee,me){S.beginPath(),S.fillStyle=me?Ze.linearGradient(S,ee,me,z>q?z:q,q>z,z>q?T:B):ee,w>0?Ze.roundRect(S,T,B,z,q,w):S.rect(T,B,z,q),S.fill(),S.closePath()}(S,me,Cn,it,Ve+2*xt,hn+2*xt,w.colorPlate,w.colorPlateEnd),S.restore(),[Cn,it,Ve,hn]}(_e,ae,z,q,ee,me),this.emit("beforeBar"),jt.apply(void 0,[_e,ae].concat(qi(this.drawBox))),T.context.barDimensions=_e.barDimensions,this.emit("beforeHighlights"),function Ei(S,w){var T=S.barDimensions,B=T.isVertical,z=T.width,q=T.length,ee=T.barWidth,me=T.barOffset,ae=T.barMargin,_e=T.X,H=T.Y,Ve=T.ticksLength,Qe=T.ticksPadding,Nt=z*(parseFloat(w.highlightsWidth)||0)/100;if(w.highlights&&Nt){var mt="right"!==w.tickSide,hn="left"!==w.tickSide,St=0,Mt=w.highlights.length,Cn=(z-ee)/2,fn=w.maxValue-w.minValue,Zt=Kt(B?_e+Cn:_e+ae+me),it=Nt,xt=B?H+q-ae-me:H+Cn,et=Kt((w.ticksWidth/100+Qe)*z)+(Nt-w.ticksWidth/100*z),dn=Kt(ee+Qe*z);for(S.save();St=T.barWidth&&(T.barStrokeWidth=Kt(T.barWidth/2)),T.hasLeft=on("right",T),T.hasRight=on("left",T),T.value>T.maxValue&&(T.value=T.maxValue),T.value{var Pt;!function(){"use strict";var cn=function(){this.init()};cn.prototype={init:function(){var x=this||j;return x._counter=1e3,x._html5AudioPool=[],x.html5PoolSize=10,x._codecs={},x._howls=[],x._muted=!1,x._volume=1,x._canPlayEvent="canplaythrough",x._navigator=typeof window<"u"&&window.navigator?window.navigator:null,x.masterGain=null,x.noAudio=!1,x.usingWebAudio=!0,x.autoSuspend=!0,x.ctx=null,x.autoUnlock=!0,x._setup(),x},volume:function(x){var E=this||j;if(x=parseFloat(x),E.ctx||qn(),typeof x<"u"&&x>=0&&x<=1){if(E._volume=x,E._muted)return E;E.usingWebAudio&&E.masterGain.gain.setValueAtTime(x,j.ctx.currentTime);for(var V=0;V=0;E--)x._howls[E].unload();return x.usingWebAudio&&x.ctx&&typeof x.ctx.close<"u"&&(x.ctx.close(),x.ctx=null,qn()),x},codecs:function(x){return(this||j)._codecs[x.replace(/^x-/,"")]},_setup:function(){var x=this||j;if(x.state=x.ctx&&x.ctx.state||"suspended",x._autoSuspend(),!x.usingWebAudio)if(typeof Audio<"u")try{typeof(new Audio).oncanplaythrough>"u"&&(x._canPlayEvent="canplay")}catch{x.noAudio=!0}else x.noAudio=!0;try{(new Audio).muted&&(x.noAudio=!0)}catch{}return x.noAudio||x._setupCodecs(),x},_setupCodecs:function(){var x=this||j,E=null;try{E=typeof Audio<"u"?new Audio:null}catch{return x}if(!E||"function"!=typeof E.canPlayType)return x;var V=E.canPlayType("audio/mpeg;").replace(/^no$/,""),Q=x._navigator?x._navigator.userAgent:"",Ce=Q.match(/OPR\/(\d+)/g),be=Ce&&parseInt(Ce[0].split("/")[1],10)<33,he=-1!==Q.indexOf("Safari")&&-1===Q.indexOf("Chrome"),Ue=Q.match(/Version\/(.*?) /),Yt=he&&Ue&&parseInt(Ue[1],10)<15;return x._codecs={mp3:!(be||!V&&!E.canPlayType("audio/mp3;").replace(/^no$/,"")),mpeg:!!V,opus:!!E.canPlayType('audio/ogg; codecs="opus"').replace(/^no$/,""),ogg:!!E.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),oga:!!E.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),wav:!!(E.canPlayType('audio/wav; codecs="1"')||E.canPlayType("audio/wav")).replace(/^no$/,""),aac:!!E.canPlayType("audio/aac;").replace(/^no$/,""),caf:!!E.canPlayType("audio/x-caf;").replace(/^no$/,""),m4a:!!(E.canPlayType("audio/x-m4a;")||E.canPlayType("audio/m4a;")||E.canPlayType("audio/aac;")).replace(/^no$/,""),m4b:!!(E.canPlayType("audio/x-m4b;")||E.canPlayType("audio/m4b;")||E.canPlayType("audio/aac;")).replace(/^no$/,""),mp4:!!(E.canPlayType("audio/x-mp4;")||E.canPlayType("audio/mp4;")||E.canPlayType("audio/aac;")).replace(/^no$/,""),weba:!(Yt||!E.canPlayType('audio/webm; codecs="vorbis"').replace(/^no$/,"")),webm:!(Yt||!E.canPlayType('audio/webm; codecs="vorbis"').replace(/^no$/,"")),dolby:!!E.canPlayType('audio/mp4; codecs="ec-3"').replace(/^no$/,""),flac:!!(E.canPlayType("audio/x-flac;")||E.canPlayType("audio/flac;")).replace(/^no$/,"")},x},_unlockAudio:function(){var x=this||j;if(!x._audioUnlocked&&x.ctx){x._audioUnlocked=!1,x.autoUnlock=!1,!x._mobileUnloaded&&44100!==x.ctx.sampleRate&&(x._mobileUnloaded=!0,x.unload()),x._scratchBuffer=x.ctx.createBuffer(1,1,22050);var E=function(V){for(;x._html5AudioPool.length"u"?Yt.noteOn(0):Yt.start(0),"function"==typeof x.ctx.resume&&x.ctx.resume(),Yt.onended=function(){Yt.disconnect(0),x._audioUnlocked=!0,document.removeEventListener("touchstart",E,!0),document.removeEventListener("touchend",E,!0),document.removeEventListener("click",E,!0),document.removeEventListener("keydown",E,!0);for(var tt=0;tt"u")&&j.usingWebAudio){for(var E=0;E"u")&&j.usingWebAudio)return"running"===x.state&&"interrupted"!==x.ctx.state&&x._suspendTimer?(clearTimeout(x._suspendTimer),x._suspendTimer=null):"suspended"===x.state||"running"===x.state&&"interrupted"===x.ctx.state?(x.ctx.resume().then(function(){x.state="running";for(var E=0;E"u"&&(x="__default",!V._playLock)){for(var Ce=0,be=0;be0?he._seek:V._sprite[x][0]/1e3),tt=Math.max(0,(V._sprite[x][0]+V._sprite[x][1])/1e3-Yt),qe=1e3*tt/Math.abs(he._rate),un=V._sprite[x][0]/1e3,Se=(V._sprite[x][0]+V._sprite[x][1])/1e3;he._sprite=x,he._ended=!1;var Fr=function(){he._paused=!1,he._seek=Yt,he._start=un,he._stop=Se,he._loop=!(!he._loop&&!V._sprite[x][2])};if(!(Yt>=Se)){var ye=he._node;if(V._webAudio){var si=function(){V._playLock=!1,Fr(),V._refreshBuffer(he),ye.gain.setValueAtTime(he._muted||V._muted?0:he._volume,j.ctx.currentTime),he._playStart=j.ctx.currentTime,typeof ye.bufferSource.start>"u"?ye.bufferSource.noteGrainOn(0,Yt,he._loop?86400:tt):ye.bufferSource.start(0,Yt,he._loop?86400:tt),qe!==1/0&&(V._endTimers[he._id]=setTimeout(V._ended.bind(V,he),qe)),E||setTimeout(function(){V._emit("play",he._id),V._loadQueue()},0)};"running"===j.state&&"interrupted"!==j.ctx.state?si():(V._playLock=!0,V.once("resume",si),V._clearTimer(he._id))}else{var sr=function(){ye.currentTime=Yt,ye.muted=he._muted||V._muted||j._muted||ye.muted,ye.volume=he._volume*j.volume(),ye.playbackRate=he._rate;try{var Dr=ye.play();if(Dr&&typeof Promise<"u"&&(Dr instanceof Promise||"function"==typeof Dr.then)?(V._playLock=!0,Fr(),Dr.then(function(){V._playLock=!1,ye._unlocked=!0,E?V._loadQueue():V._emit("play",he._id)}).catch(function(){V._playLock=!1,V._emit("playerror",he._id,"Playback was unable to start. This is most commonly an issue on mobile devices and Chrome where playback was not within a user interaction."),he._ended=!0,he._paused=!0})):E||(V._playLock=!1,Fr(),V._emit("play",he._id)),ye.playbackRate=he._rate,ye.paused)return void V._emit("playerror",he._id,"Playback was unable to start. This is most commonly an issue on mobile devices and Chrome where playback was not within a user interaction.");"__default"!==x||he._loop?V._endTimers[he._id]=setTimeout(V._ended.bind(V,he),qe):(V._endTimers[he._id]=function(){V._ended(he),ye.removeEventListener("ended",V._endTimers[he._id],!1)},ye.addEventListener("ended",V._endTimers[he._id],!1))}catch(so){V._emit("playerror",he._id,so)}};"data:audio/wav;base64,UklGRigAAABXQVZFZm10IBIAAAABAAEARKwAAIhYAQACABAAAABkYXRhAgAAAAEA"===ye.src&&(ye.src=V._src,ye.load());var wo=window&&window.ejecta||!ye.readyState&&j._navigator.isCocoonJS;if(ye.readyState>=3||wo)sr();else{V._playLock=!0,V._state="loading";var pr=function(){V._state="loaded",sr(),ye.removeEventListener(j._canPlayEvent,pr,!1)};ye.addEventListener(j._canPlayEvent,pr,!1),V._clearTimer(he._id)}}return he._id}V._ended(he)},pause:function(x){var E=this;if("loaded"!==E._state||E._playLock)return E._queue.push({event:"pause",action:function(){E.pause(x)}}),E;for(var V=E._getSoundIds(x),Q=0;Q"u"?Ce._node.bufferSource.noteOff(0):Ce._node.bufferSource.stop(0),E._cleanBuffer(Ce._node)}else(!isNaN(Ce._node.duration)||Ce._node.duration===1/0)&&Ce._node.pause();arguments[1]||E._emit("pause",Ce?Ce._id:null)}return E},stop:function(x,E){var V=this;if("loaded"!==V._state||V._playLock)return V._queue.push({event:"stop",action:function(){V.stop(x)}}),V;for(var Q=V._getSoundIds(x),Ce=0;Ce"u"?be._node.bufferSource.noteOff(0):be._node.bufferSource.stop(0),V._cleanBuffer(be._node)):(!isNaN(be._node.duration)||be._node.duration===1/0)&&(be._node.currentTime=be._start||0,be._node.pause(),be._node.duration===1/0&&V._clearSound(be._node))),E||V._emit("stop",be._id))}return V},mute:function(x,E){var V=this;if("loaded"!==V._state||V._playLock)return V._queue.push({event:"mute",action:function(){V.mute(x,E)}}),V;if(typeof E>"u"){if("boolean"!=typeof x)return V._muted;V._muted=x}for(var Q=V._getSoundIds(E),Ce=0;Ce"u"){var Ce=x._getSoundIds(),be=Ce.indexOf(E[0]);be>=0?Q=parseInt(E[0],10):V=parseFloat(E[0])}else E.length>=2&&(V=parseFloat(E[0]),Q=parseInt(E[1],10));if(!(typeof V<"u"&&V>=0&&V<=1))return(he=Q?x._soundById(Q):x._sounds[0])?he._volume:0;if("loaded"!==x._state||x._playLock)return x._queue.push({event:"volume",action:function(){x.volume.apply(x,E)}}),x;typeof Q>"u"&&(x._volume=V),Q=x._getSoundIds(Q);for(var Ue=0;Ue"u")}}return Ce},_startFadeInterval:function(x,E,V,Q,Ce,be){var he=this,Ue=E,Yt=V-E,tt=Math.abs(Yt/.01),qe=Math.max(4,tt>0?Q/tt:Q),un=Date.now();x._fadeTo=V,x._interval=setInterval(function(){var Se=(Date.now()-un)/Q;un=Date.now(),Ue+=Yt*Se,Ue=Math.round(100*Ue)/100,Ue=Yt<0?Math.max(V,Ue):Math.min(V,Ue),he._webAudio?x._volume=Ue:he.volume(Ue,x._id,!0),be&&(he._volume=Ue),(VE&&Ue>=V)&&(clearInterval(x._interval),x._interval=null,x._fadeTo=null,he.volume(V,x._id),he._emit("fade",x._id))},qe)},_stopFade:function(x){var E=this,V=E._soundById(x);return V&&V._interval&&(E._webAudio&&V._node.gain.cancelScheduledValues(j.ctx.currentTime),clearInterval(V._interval),V._interval=null,E.volume(V._fadeTo,x),V._fadeTo=null,E._emit("fade",x)),E},loop:function(){var V,Q,Ce,x=this,E=arguments;if(0===E.length)return x._loop;if(1===E.length){if("boolean"!=typeof E[0])return!!(Ce=x._soundById(parseInt(E[0],10)))&&Ce._loop;x._loop=V=E[0]}else 2===E.length&&(V=E[0],Q=parseInt(E[1],10));for(var be=x._getSoundIds(Q),he=0;he=0?Q=parseInt(E[0],10):V=parseFloat(E[0])}else 2===E.length&&(V=parseFloat(E[0]),Q=parseInt(E[1],10));if("number"!=typeof V)return(he=x._soundById(Q))?he._rate:x._rate;if("loaded"!==x._state||x._playLock)return x._queue.push({event:"rate",action:function(){x.rate.apply(x,E)}}),x;typeof Q>"u"&&(x._rate=V),Q=x._getSoundIds(Q);for(var Ue=0;Ue=0?Q=parseInt(E[0],10):x._sounds.length&&(Q=x._sounds[0]._id,V=parseFloat(E[0]))}else 2===E.length&&(V=parseFloat(E[0]),Q=parseInt(E[1],10));if(typeof Q>"u")return 0;if("number"==typeof V&&("loaded"!==x._state||x._playLock))return x._queue.push({event:"seek",action:function(){x.seek.apply(x,E)}}),x;var he=x._soundById(Q);if(he){if(!("number"==typeof V&&V>=0)){if(x._webAudio){var qe=x.playing(Q)?j.ctx.currentTime-he._playStart:0,un=he._rateSeek?he._rateSeek-he._seek:0;return he._seek+(un+qe*Math.abs(he._rate))}return he._node.currentTime}var Ue=x.playing(Q);Ue&&x.pause(Q,!0),he._seek=V,he._ended=!1,x._clearTimer(Q),!x._webAudio&&he._node&&!isNaN(he._node.duration)&&(he._node.currentTime=V);var Yt=function(){Ue&&x.play(Q,!0),x._emit("seek",Q)};if(Ue&&!x._webAudio){var tt=function(){x._playLock?setTimeout(tt,0):Yt()};setTimeout(tt,0)}else Yt()}return x},playing:function(x){var E=this;if("number"==typeof x){var V=E._soundById(x);return!!V&&!V._paused}for(var Q=0;Q=0&&j._howls.splice(Q,1);var Ce=!0;for(V=0;V=0){Ce=!1;break}return Ke&&Ce&&delete Ke[x._src],j.noAudio=!1,x._state="unloaded",x._sounds=[],x=null,null},on:function(x,E,V,Q){return"function"==typeof E&&this["_on"+x].push(Q?{id:V,fn:E,once:Q}:{id:V,fn:E}),this},off:function(x,E,V){var Q=this,Ce=Q["_on"+x],be=0;if("number"==typeof E&&(V=E,E=null),E||V)for(be=0;be=0;be--)(!Ce[be].id||Ce[be].id===E||"load"===x)&&(setTimeout(function(he){he.call(this,E,V)}.bind(Q,Ce[be].fn),0),Ce[be].once&&Q.off(x,Ce[be].fn,Ce[be].id));return Q._loadQueue(x),Q},_loadQueue:function(x){var E=this;if(E._queue.length>0){var V=E._queue[0];V.event===x&&(E._queue.shift(),E._loadQueue()),x||V.action()}return E},_ended:function(x){var E=this,V=x._sprite;if(!E._webAudio&&x._node&&!x._node.paused&&!x._node.ended&&x._node.currentTime=0;Q--){if(V<=E)return;x._sounds[Q]._ended&&(x._webAudio&&x._sounds[Q]._node&&x._sounds[Q]._node.disconnect(0),x._sounds.splice(Q,1),V--)}}},_getSoundIds:function(x){if(typeof x>"u"){for(var V=[],Q=0;Q=0;if(!x.bufferSource)return this;if(j._scratchBuffer&&x.bufferSource&&(x.bufferSource.onended=null,x.bufferSource.disconnect(0),V))try{x.bufferSource.buffer=j._scratchBuffer}catch{}return x.bufferSource=null,this},_clearSound:function(x){/MSIE |Trident\//.test(j._navigator&&j._navigator.userAgent)||(x.src="data:audio/wav;base64,UklGRigAAABXQVZFZm10IBIAAAABAAEARKwAAIhYAQACABAAAABkYXRhAgAAAAEA")}};var Z=function(x){this._parent=x,this.init()};Z.prototype={init:function(){var x=this,E=x._parent;return x._muted=E._muted,x._loop=E._loop,x._volume=E._volume,x._rate=E._rate,x._seek=0,x._paused=!0,x._ended=!0,x._sprite="__default",x._id=++j._counter,E._sounds.push(x),x.create(),x},create:function(){var x=this,E=x._parent,V=j._muted||x._muted||x._parent._muted?0:x._volume;return E._webAudio?(x._node=typeof j.ctx.createGain>"u"?j.ctx.createGainNode():j.ctx.createGain(),x._node.gain.setValueAtTime(V,j.ctx.currentTime),x._node.paused=!0,x._node.connect(j.masterGain)):j.noAudio||(x._node=j._obtainHtml5Audio(),x._errorFn=x._errorListener.bind(x),x._node.addEventListener("error",x._errorFn,!1),x._loadFn=x._loadListener.bind(x),x._node.addEventListener(j._canPlayEvent,x._loadFn,!1),x._endFn=x._endListener.bind(x),x._node.addEventListener("ended",x._endFn,!1),x._node.src=E._src,x._node.preload=!0===E._preload?"auto":E._preload,x._node.volume=V*j.volume(),x._node.load()),x},reset:function(){var x=this,E=x._parent;return x._muted=E._muted,x._loop=E._loop,x._volume=E._volume,x._rate=E._rate,x._seek=0,x._rateSeek=0,x._paused=!0,x._ended=!0,x._sprite="__default",x._id=++j._counter,x},_errorListener:function(){var x=this;x._parent._emit("loaderror",x._id,x._node.error?x._node.error.code:0),x._node.removeEventListener("error",x._errorFn,!1)},_loadListener:function(){var x=this,E=x._parent;E._duration=Math.ceil(10*x._node.duration)/10,0===Object.keys(E._sprite).length&&(E._sprite={__default:[0,1e3*E._duration]}),"loaded"!==E._state&&(E._state="loaded",E._emit("load"),E._loadQueue()),x._node.removeEventListener(j._canPlayEvent,x._loadFn,!1)},_endListener:function(){var x=this,E=x._parent;E._duration===1/0&&(E._duration=Math.ceil(10*x._node.duration)/10,E._sprite.__default[1]===1/0&&(E._sprite.__default[1]=1e3*E._duration),E._ended(x)),x._node.removeEventListener("ended",x._endFn,!1)}};var Ke={},ot=function(x){var E=x._src;if(Ke[E])return x._duration=Ke[E].duration,void Me(x);if(/^data:[^;]+;base64,/.test(E)){for(var V=atob(E.split(",")[1]),Q=new Uint8Array(V.length),Ce=0;Ce0?(Ke[E._src]=Ce,Me(E,Ce)):V()};typeof Promise<"u"&&1===j.ctx.decodeAudioData.length?j.ctx.decodeAudioData(x).then(Q).catch(V):j.ctx.decodeAudioData(x,Q,V)},Me=function(x,E){E&&!x._duration&&(x._duration=E.duration),0===Object.keys(x._sprite).length&&(x._sprite={__default:[0,1e3*x._duration]}),"loaded"!==x._state&&(x._state="loaded",x._emit("load"),x._loadQueue())},qn=function(){if(j.usingWebAudio){try{typeof AudioContext<"u"?j.ctx=new AudioContext:typeof webkitAudioContext<"u"?j.ctx=new webkitAudioContext:j.usingWebAudio=!1}catch{j.usingWebAudio=!1}j.ctx||(j.usingWebAudio=!1);var x=/iP(hone|od|ad)/.test(j._navigator&&j._navigator.platform),E=j._navigator&&j._navigator.appVersion.match(/OS (\d+)_(\d+)_?(\d+)?/),V=E?parseInt(E[1],10):null;if(x&&V&&V<9){var Q=/safari/.test(j._navigator&&j._navigator.userAgent.toLowerCase());j._navigator&&!Q&&(j.usingWebAudio=!1)}j.usingWebAudio&&(j.masterGain=typeof j.ctx.createGain>"u"?j.ctx.createGainNode():j.ctx.createGain(),j.masterGain.gain.setValueAtTime(j._muted?0:j._volume,j.ctx.currentTime),j.masterGain.connect(j.ctx.destination)),j._setup()}};void 0!==(Pt=function(){return{Howler:j,Howl:ge}}.apply(ln,[]))&&(Gi.exports=Pt),ln.Howler=j,ln.Howl=ge,typeof global<"u"?(global.HowlerGlobal=cn,global.Howler=j,global.Howl=ge,global.Sound=Z):typeof window<"u"&&(window.HowlerGlobal=cn,window.Howler=j,window.Howl=ge,window.Sound=Z)}(),function(){"use strict";var j;HowlerGlobal.prototype._pos=[0,0,0],HowlerGlobal.prototype._orientation=[0,0,-1,0,1,0],HowlerGlobal.prototype.stereo=function(j){var ge=this;if(!ge.ctx||!ge.ctx.listener)return ge;for(var Z=ge._howls.length-1;Z>=0;Z--)ge._howls[Z].stereo(j);return ge},HowlerGlobal.prototype.pos=function(j,ge,Z){var Ke=this;return Ke.ctx&&Ke.ctx.listener?"number"!=typeof j?Ke._pos:(Ke._pos=[j,ge="number"!=typeof ge?Ke._pos[1]:ge,Z="number"!=typeof Z?Ke._pos[2]:Z],typeof Ke.ctx.listener.positionX<"u"?(Ke.ctx.listener.positionX.setTargetAtTime(Ke._pos[0],Howler.ctx.currentTime,.1),Ke.ctx.listener.positionY.setTargetAtTime(Ke._pos[1],Howler.ctx.currentTime,.1),Ke.ctx.listener.positionZ.setTargetAtTime(Ke._pos[2],Howler.ctx.currentTime,.1)):Ke.ctx.listener.setPosition(Ke._pos[0],Ke._pos[1],Ke._pos[2]),Ke):Ke},HowlerGlobal.prototype.orientation=function(j,ge,Z,Ke,ot,Mn){var ht=this;if(!ht.ctx||!ht.ctx.listener)return ht;var Me=ht._orientation;return"number"!=typeof j?Me:(ht._orientation=[j,ge="number"!=typeof ge?Me[1]:ge,Z="number"!=typeof Z?Me[2]:Z,Ke="number"!=typeof Ke?Me[3]:Ke,ot="number"!=typeof ot?Me[4]:ot,Mn="number"!=typeof Mn?Me[5]:Mn],typeof ht.ctx.listener.forwardX<"u"?(ht.ctx.listener.forwardX.setTargetAtTime(j,Howler.ctx.currentTime,.1),ht.ctx.listener.forwardY.setTargetAtTime(ge,Howler.ctx.currentTime,.1),ht.ctx.listener.forwardZ.setTargetAtTime(Z,Howler.ctx.currentTime,.1),ht.ctx.listener.upX.setTargetAtTime(Ke,Howler.ctx.currentTime,.1),ht.ctx.listener.upY.setTargetAtTime(ot,Howler.ctx.currentTime,.1),ht.ctx.listener.upZ.setTargetAtTime(Mn,Howler.ctx.currentTime,.1)):ht.ctx.listener.setOrientation(j,ge,Z,Ke,ot,Mn),ht)},Howl.prototype.init=(j=Howl.prototype.init,function(ge){var Z=this;return Z._orientation=ge.orientation||[1,0,0],Z._stereo=ge.stereo||null,Z._pos=ge.pos||null,Z._pannerAttr={coneInnerAngle:typeof ge.coneInnerAngle<"u"?ge.coneInnerAngle:360,coneOuterAngle:typeof ge.coneOuterAngle<"u"?ge.coneOuterAngle:360,coneOuterGain:typeof ge.coneOuterGain<"u"?ge.coneOuterGain:0,distanceModel:typeof ge.distanceModel<"u"?ge.distanceModel:"inverse",maxDistance:typeof ge.maxDistance<"u"?ge.maxDistance:1e4,panningModel:typeof ge.panningModel<"u"?ge.panningModel:"HRTF",refDistance:typeof ge.refDistance<"u"?ge.refDistance:1,rolloffFactor:typeof ge.rolloffFactor<"u"?ge.rolloffFactor:1},Z._onstereo=ge.onstereo?[{fn:ge.onstereo}]:[],Z._onpos=ge.onpos?[{fn:ge.onpos}]:[],Z._onorientation=ge.onorientation?[{fn:ge.onorientation}]:[],j.call(this,ge)}),Howl.prototype.stereo=function(j,ge){var Z=this;if(!Z._webAudio)return Z;if("loaded"!==Z._state)return Z._queue.push({event:"stereo",action:function(){Z.stereo(j,ge)}}),Z;var Ke=typeof Howler.ctx.createStereoPanner>"u"?"spatial":"stereo";if(typeof ge>"u"){if("number"!=typeof j)return Z._stereo;Z._stereo=j,Z._pos=[j,0,0]}for(var ot=Z._getSoundIds(ge),Mn=0;Mn"u"){if("number"!=typeof j)return ot._pos;ot._pos=[j,ge,Z]}for(var Mn=ot._getSoundIds(Ke),ht=0;ht"u"){if("number"!=typeof j)return ot._orientation;ot._orientation=[j,ge,Z]}for(var Mn=ot._getSoundIds(Ke),ht=0;ht"u"&&(Z.pannerAttr||(Z.pannerAttr={coneInnerAngle:Z.coneInnerAngle,coneOuterAngle:Z.coneOuterAngle,coneOuterGain:Z.coneOuterGain,distanceModel:Z.distanceModel,maxDistance:Z.maxDistance,refDistance:Z.refDistance,rolloffFactor:Z.rolloffFactor,panningModel:Z.panningModel}),j._pannerAttr={coneInnerAngle:typeof Z.pannerAttr.coneInnerAngle<"u"?Z.pannerAttr.coneInnerAngle:j._coneInnerAngle,coneOuterAngle:typeof Z.pannerAttr.coneOuterAngle<"u"?Z.pannerAttr.coneOuterAngle:j._coneOuterAngle,coneOuterGain:typeof Z.pannerAttr.coneOuterGain<"u"?Z.pannerAttr.coneOuterGain:j._coneOuterGain,distanceModel:typeof Z.pannerAttr.distanceModel<"u"?Z.pannerAttr.distanceModel:j._distanceModel,maxDistance:typeof Z.pannerAttr.maxDistance<"u"?Z.pannerAttr.maxDistance:j._maxDistance,refDistance:typeof Z.pannerAttr.refDistance<"u"?Z.pannerAttr.refDistance:j._refDistance,rolloffFactor:typeof Z.pannerAttr.rolloffFactor<"u"?Z.pannerAttr.rolloffFactor:j._rolloffFactor,panningModel:typeof Z.pannerAttr.panningModel<"u"?Z.pannerAttr.panningModel:j._panningModel})}else 2===ge.length&&(Z=ge[0],Ke=parseInt(ge[1],10));for(var Mn=j._getSoundIds(Ke),ht=0;ht":[["googol"],1e100,"prefix"],"":[["Ki","Kibi","kibi"],Math.pow(2,10),"prefix"],"":[["Mi","Mebi","mebi"],Math.pow(2,20),"prefix"],"":[["Gi","Gibi","gibi"],Math.pow(2,30),"prefix"],"":[["Ti","Tebi","tebi"],Math.pow(2,40),"prefix"],"":[["Pi","Pebi","pebi"],Math.pow(2,50),"prefix"],"":[["Ei","Exi","exi"],Math.pow(2,60),"prefix"],"":[["Zi","Zebi","zebi"],Math.pow(2,70),"prefix"],"":[["Yi","Yebi","yebi"],Math.pow(2,80),"prefix"],"":[["Y","Yotta","yotta"],1e24,"prefix"],"":[["Z","Zetta","zetta"],1e21,"prefix"],"":[["E","Exa","exa"],1e18,"prefix"],"":[["P","Peta","peta"],1e15,"prefix"],"":[["T","Tera","tera"],1e12,"prefix"],"":[["G","Giga","giga"],1e9,"prefix"],"":[["M","Mega","mega"],1e6,"prefix"],"":[["k","kilo"],1e3,"prefix"],"":[["h","Hecto","hecto"],100,"prefix"],"":[["da","Deca","deca","deka"],10,"prefix"],"":[["d","Deci","deci"],.1,"prefix"],"":[["c","Centi","centi"],.01,"prefix"],"":[["m","Milli","milli"],.001,"prefix"],"":[["u","\u03bc","\xb5","Micro","mc","micro"],1e-6,"prefix"],"":[["n","Nano","nano"],1e-9,"prefix"],"":[["p","Pico","pico"],1e-12,"prefix"],"":[["f","Femto","femto"],1e-15,"prefix"],"":[["a","Atto","atto"],1e-18,"prefix"],"":[["z","Zepto","zepto"],1e-21,"prefix"],"":[["y","Yocto","yocto"],1e-24,"prefix"],"<1>":[["1","<1>"],1,""],"":[["m","meter","meters","metre","metres"],1,"length",[""]],"":[["in","inch","inches",'"'],.0254,"length",[""]],"":[["ft","foot","feet","'"],.3048,"length",[""]],"":[["yd","yard","yards"],.9144,"length",[""]],"":[["mi","mile","miles"],1609.344,"length",[""]],"":[["nmi","naut-mile"],1852,"length",[""]],"":[["league","leagues"],4828,"length",[""]],"":[["furlong","furlongs"],201.2,"length",[""]],"":[["rd","rod","rods"],5.029,"length",[""]],"":[["mil","mils"],254e-7,"length",[""]],"":[["ang","angstrom","angstroms"],1e-10,"length",[""]],"":[["fathom","fathoms"],1.829,"length",[""]],"":[["pica","picas"],.00423333333,"length",[""]],"":[["pt","point","points"],.000352777778,"length",[""]],"":[["z","red-shift","redshift"],1302773e20,"length",[""]],"":[["AU","astronomical-unit"],1495979e5,"length",[""]],"":[["ls","light-second"],299792500,"length",[""]],"":[["lmin","light-minute"],1798755e4,"length",[""]],"":[["ly","light-year"],9460528e9,"length",[""]],"":[["pc","parsec","parsecs"],3085678e10,"length",[""]],"":[["DM","datamile"],1828.8,"length",[""]],"":[["kg","kilogram","kilograms"],1,"mass",[""]],"":[["u","AMU","amu"],1660538921e-36,"mass",[""]],"":[["Da","Dalton","Daltons","dalton","daltons"],1660538921e-36,"mass",[""]],"":[["slug","slugs"],14.5939029,"mass",[""]],"":[["tn","ton","short-ton"],907.18474,"mass",[""]],"":[["t","tonne","metric-ton"],1e3,"mass",[""]],"":[["ct","carat","carats"],2e-4,"mass",[""]],"":[["lbs","lb","pound","pounds","#"],.45359237,"mass",[""]],"":[["oz","ounce","ounces"],.0283495231,"mass",[""]],"":[["g","gram","grams","gramme","grammes"],.001,"mass",[""]],"":[["grain","grains","gr"],6479891e-11,"mass",[""]],"":[["dram","drams","dr"],.0017718452,"mass",[""]],"":[["stone","stones","st"],6.35029318,"mass",[""]],"":[["hectare"],1e4,"area",["",""]],"":[["acre","acres"],4046.85642,"area",["",""]],"":[["sqft"],1,"area",["",""]],"":[["l","L","liter","liters","litre","litres"],.001,"volume",["","",""]],"":[["gal","gallon","gallons"],.0037854118,"volume",["","",""]],"":[["galimp","gallon-imp","gallons-imp"],.00454609,"volume",["","",""]],"":[["qt","quart","quarts"],.00094635295,"volume",["","",""]],"":[["pt","pint","pints"],.000473176475,"volume",["","",""]],"":[["ptimp","pint-imp","pints-imp"],.00056826125,"volume",["","",""]],"":[["cu","cup","cups"],.000236588238,"volume",["","",""]],"":[["floz","fluid-ounce","fluid-ounces"],295735297e-13,"volume",["","",""]],"":[["flozimp","floz-imp","fluid-ounce-imp","fluid-ounces-imp"],284130625e-13,"volume",["","",""]],"":[["tb","tbsp","tbs","tablespoon","tablespoons"],147867648e-13,"volume",["","",""]],"":[["tsp","teaspoon","teaspoons"],492892161e-14,"volume",["","",""]],"":[["bu","bsh","bushel","bushels"],.035239072,"volume",["","",""]],"":[["bbl","oilbarrel","oilbarrels","oil-barrel","oil-barrels"],.158987294928,"volume",["","",""]],"":[["bl","bl-us","beerbarrel","beerbarrels","beer-barrel","beer-barrels"],.1173477658,"volume",["","",""]],"":[["blimp","bl-imp","beerbarrel-imp","beerbarrels-imp","beer-barrel-imp","beer-barrels-imp"],.16365924,"volume",["","",""]],"":[["kph"],.277777778,"speed",[""],[""]],"":[["mph"],.44704,"speed",[""],[""]],"":[["kt","kn","kts","knot","knots"],.514444444,"speed",[""],[""]],"":[["fps"],.3048,"speed",[""],[""]],"":[["gee"],9.80665,"acceleration",[""],["",""]],"":[["Gal"],.01,"acceleration",[""],["",""]],"":[["degK","kelvin"],1,"temperature",[""]],"":[["degC","celsius","celsius","centigrade"],1,"temperature",[""]],"":[["degF","fahrenheit"],5/9,"temperature",[""]],"":[["degR","rankine"],5/9,"temperature",[""]],"":[["tempK","temp-K"],1,"temperature",[""]],"":[["tempC","temp-C"],1,"temperature",[""]],"":[["tempF","temp-F"],5/9,"temperature",[""]],"":[["tempR","temp-R"],5/9,"temperature",[""]],"":[["s","sec","secs","second","seconds"],1,"time",[""]],"":[["min","mins","minute","minutes"],60,"time",[""]],"":[["h","hr","hrs","hour","hours"],3600,"time",[""]],"":[["d","day","days"],86400,"time",[""]],"":[["wk","week","weeks"],604800,"time",[""]],"":[["fortnight","fortnights"],1209600,"time",[""]],"":[["y","yr","year","years","annum"],31556926,"time",[""]],"":[["decade","decades"],315569260,"time",[""]],"":[["century","centuries"],3155692600,"time",[""]],"":[["Pa","pascal","Pascal"],1,"pressure",[""],["","",""]],"":[["bar","bars"],1e5,"pressure",[""],["","",""]],"":[["mmHg"],133.322368,"pressure",[""],["","",""]],"":[["inHg"],3386.3881472,"pressure",[""],["","",""]],"":[["torr"],133.322368,"pressure",[""],["","",""]],"":[["atm","ATM","atmosphere","atmospheres"],101325,"pressure",[""],["","",""]],"":[["psi"],6894.76,"pressure",[""],["","",""]],"":[["cmH2O","cmh2o"],98.0638,"pressure",[""],["","",""]],"":[["inH2O","inh2o"],249.082052,"pressure",[""],["","",""]],"":[["P","poise"],.1,"viscosity",[""],["",""]],"":[["St","stokes"],1e-4,"viscosity",["",""],[""]],"":[["mol","mole"],1,"substance",[""]],"":[["M","molar"],1e3,"molar_concentration",[""],["","",""]],"":[["wt%","wtpercent"],10,"molar_concentration",[""],["","",""]],"":[["kat","katal","Katal"],1,"activity",[""],[""]],"":[["U","enzUnit","unit"],16667e-19,"activity",[""],[""]],"":[["F","farad","Farad"],1,"capacitance",["","","","","",""],["","",""]],"":[["C","coulomb","Coulomb"],1,"charge",["",""]],"":[["Ah"],3600,"charge",["",""]],"":[["A","Ampere","ampere","amp","amps"],1,"current",[""]],"":[["S","Siemens","siemens"],1,"conductance",["","","","",""],["","",""]],"":[["H","Henry","henry"],1,"inductance",["","",""],["","","",""]],"":[["V","Volt","volt","volts"],1,"potential",["","",""],["","","",""]],"":[["Ohm","ohm","\u03a9","\u2126"],1,"resistance",["","",""],["","","","",""]],"":[["Wb","weber","webers"],1,"magnetism",["","",""],["","",""]],"":[["T","tesla","teslas"],1,"magnetism",[""],["","",""]],"":[["G","gauss"],1e-4,"magnetism",[""],["","",""]],"":[["Mx","maxwell","maxwells"],1e-8,"magnetism",["","",""],["","",""]],"":[["Oe","oersted","oersteds"],250/Math.PI,"magnetism",[""],[""]],"":[["J","joule","Joule","joules","Joules"],1,"energy",["","",""],["",""]],"":[["erg","ergs"],1e-7,"energy",["","",""],["",""]],"":[["BTU","btu","BTUs"],1055.056,"energy",["","",""],["",""]],"":[["cal","calorie","calories"],4.184,"energy",["","",""],["",""]],"":[["Cal","Calorie","Calories"],4184,"energy",["","",""],["",""]],"":[["th","therm","therms","Therm","therm-US"],105480400,"energy",["","",""],["",""]],"":[["Wh"],3600,"energy",["","",""],["",""]],"":[["eV","electronvolt","electronvolts"],1602176634e-28,"energy",["","",""],["",""]],"":[["N","Newton","newton"],1,"force",["",""],["",""]],"":[["dyn","dyne"],1e-5,"force",["",""],["",""]],"":[["lbf","pound-force"],4.448222,"force",["",""],["",""]],"":[["Hz","hertz","Hertz"],1,"frequency",["<1>"],[""]],"":[["rad","radian","radians"],1,"angle",[""]],"":[["deg","degree","degrees"],Math.PI/180,"angle",[""]],"":[["arcmin","arcminute","arcminutes"],Math.PI/10800,"angle",[""]],"":[["arcsec","arcsecond","arcseconds"],Math.PI/648e3,"angle",[""]],"":[["gon","grad","gradian","grads"],Math.PI/200,"angle",[""]],"":[["sr","steradian","steradians"],1,"solid_angle",[""]],"":[["rotation"],2*Math.PI,"angle",[""]],"":[["rpm"],2*Math.PI/60,"angular_velocity",[""],[""]],"":[["B","byte","bytes"],1,"information",[""]],"":[["b","bit","bits"],.125,"information",[""]],"":[["Bps"],1,"information_rate",[""],[""]],"":[["bps"],.125,"information_rate",[""],[""]],"":[["USD","dollar"],1,"currency",[""]],"":[["cents"],.01,"currency",[""]],"":[["cd","candela"],1,"luminosity",[""]],"":[["lm","lumen"],1,"luminous_power",["",""]],"":[["lux"],1,"illuminance",["",""],["",""]],"":[["W","watt","watts"],1,"power",["","",""],["","",""]],"":[["VA","volt-ampere"],1,"power",["","",""],["","",""]],"":[["var","Var","VAr","VAR","volt-ampere-reactive"],1,"power",["","",""],["","",""]],"":[["hp","horsepower"],745.699872,"power",["","",""],["","",""]],"":[["Gy","gray","grays"],1,"radiation",["",""],["",""]],"":[["R","roentgen"],.00933,"radiation",["",""],["",""]],"":[["Sv","sievert","sieverts"],1,"radiation",["",""],["",""]],"":[["Bq","becquerel","becquerels"],1,"radiation",["<1>"],[""]],"":[["Ci","curie","curies"],37e9,"radiation",["<1>"],[""]],"":[["cpm"],1/60,"rate",[""],[""]],"":[["dpm"],1/60,"rate",[""],[""]],"":[["bpm"],1/60,"rate",[""],[""]],"":[["dot","dots"],1,"resolution",[""]],"":[["pixel","px"],1,"resolution",[""]],"":[["ppi"],1,"resolution",[""],[""]],"":[["dpi"],1,"typography",[""],[""]],"":[["cells","cell"],1,"counting",[""]],"":[["each"],1,"counting",[""]],"":[["count"],1,"counting",[""]],"":[["bp","base-pair"],1,"counting",[""]],"":[["nt","nucleotide"],1,"counting",[""]],"":[["molecule","molecules"],1,"counting",["<1>"]],"":[["doz","dz","dozen"],12,"prefix_only",[""]],"":[["%","percent"],.01,"prefix_only",["<1>"]],"":[["ppm"],1e-6,"prefix_only",["<1>"]],"":[["ppb"],1e-9,"prefix_only",["<1>"]],"":[["ppt"],1e-12,"prefix_only",["<1>"]],"":[["ppq"],1e-15,"prefix_only",["<1>"]],"":[["gr","gross"],144,"prefix_only",["",""]],"":[["dB","decibel","decibels"],1,"logarithmic",[""]]},E=["","","","","","","","","","","","","",""],V="<1>",Q=[V];function Ce(L,te){var Te=te[3]||[],$e=te[4]||[];if(!Pt(te[1]))throw new Me(L+": Invalid unit definition. 'scalar' must be a number");Te.forEach(function(at){if(void 0===x[at])throw new Me(L+": Invalid unit definition. Unit "+at+" in 'numerator' is not recognized")}),$e.forEach(function(at){if(void 0===x[at])throw new Me(L+": Invalid unit definition. Unit "+at+" in 'denominator' is not recognized")})}var be={},he={},Ue={},Yt={},tt={};for(var qe in x)if(x.hasOwnProperty(qe)){var un=x[qe];if("prefix"===un[2]){be[qe]=un[1];for(var Se=0;Se=0&&(L[Te]=L[Te]+1);for(var at=0;at=0&&(L[Te]=L[Te]-1);return L}var Wt=new RegExp("^([+-]?\\s*(?:(?:\\d+(?:\\.\\d+)?)|(?:\\.\\d+))(?:[Ee][+-]?\\d+)?)?\\s*([^/]*)(?:/(.+))?$"),Ye="\\^|\\*{2}",Ot="[01234]",Wn=new RegExp("([^ \\*\\d]+?)(?:"+Ye+")?(-?"+Ot+"(?![a-zA-Z]))"),Ne=new RegExp("([^ \\*\\d]+?)(?:"+Ye+")?("+Ot+"(?![a-zA-Z]))");function jt(L){ln(L)||(L=L.toString()),L=L.trim();var te=Wt.exec(L);if(!te)throw new Me(L+": Quantity not recognized");var ce=te[1];ce?(ce=ce.replace(/\s/g,""),this.scalar=parseFloat(ce)):this.scalar=1;for(var at,S,w,Te=te[2],$e=te[3];te=Wn.exec(Te);){if(at=parseFloat(te[2]),isNaN(at))throw new Me("Unit exponent is not a number");if(0===at&&!ti.test(te[1]))throw new Me("Unit not recognized");S=te[1]+" ",w="";for(var T=0;T=0?Te=Te.replace(te[0],w):($e=$e?$e+w:w,Te=Te.replace(te[0],""))}for(;te=Ne.exec($e);){if(at=parseFloat(te[2]),isNaN(at))throw new Me("Unit exponent is not a number");if(0===at&&!ti.test(te[1]))throw new Me("Unit not recognized");S=te[1]+" ",w="";for(var B=0;B=0)throw new Me("Cannot divide with temperatures");if(this.numerator.join("*").indexOf("temp")>=0){if(this.numerator.length>1)throw new Me("Cannot multiply by temperatures");if(!ge(this.denominator,Q))throw new Me("Cannot divide with temperatures")}if(this.initValue=L,Hc.call(this),this.isTemperature()&&this.baseScalar<0)throw new Me("Temperatures must not be less than absolute zero")}function Ul(L,te){if(te){if(!Pt(L)||!ln(te))throw new Me("Only number accepted as initialization value when units are explicitly provided")}else if(!(ln(L)||Pt(L)||Rs(L)||Fs(L)))throw new Me("Only string, number or quantity accepted as single initialization value")}function Fs(L){return L&&"object"==typeof L&&L.hasOwnProperty("scalar")}function Hc(){if(this.baseScalar)return this.baseScalar;if(this.isBase())this.baseScalar=this.scalar,this.signature=wo.call(this);else{var L=this.toBase();this.baseScalar=L.scalar,this.signature=L.signature}}var us={"-312078":"elastance","-312058":"resistance","-312038":"inductance","-152058":"potential","-152040":"magnetism","-152038":"magnetism","-7997":"specific_volume","-79":"snap","-59":"jolt","-39":"acceleration","-38":"radiation","-20":"frequency","-19":"speed","-18":"viscosity","-17":"volumetric_flow","-1":"wavenumber",0:"unitless",1:"length",2:"area",3:"volume",20:"time",400:"temperature",7941:"yank",7942:"power",7959:"pressure",7961:"force",7962:"energy",7979:"viscosity",7981:"momentum",7982:"angular_momentum",7997:"density",7998:"area_density",8e3:"mass",152020:"radiation_exposure",159999:"magnetism",16e4:"current",160020:"charge",312058:"conductance",312078:"capacitance",3199980:"activity",3199997:"molar_concentration",32e5:"substance",63999998:"illuminance",64e6:"luminous_power",128e7:"currency",25599999980:"information_rate",256e8:"information",511999999980:"angular_velocity",512e9:"angle"};function Ka(L,te){var ce=te.to(ar(L.units()));return Dt({scalar:L.scalar+ce.scalar,numerator:L.numerator,denominator:L.denominator})}function ar(L){if("tempK"===L)return"degK";if("tempC"===L)return"degC";if("tempF"===L)return"degF";if("tempR"===L)return"degR";throw new Me("Unknown type for temp conversion from: "+L)}function $l(L,te){var $e,ce=function Gl(L){var ce,te=L.units();if(te.match(/(deg)[CFRK]/))ce=L.baseScalar;else if("tempK"===te)ce=L.scalar;else if("tempC"===te)ce=L.scalar;else if("tempF"===te)ce=5*L.scalar/9;else{if("tempR"!==te)throw new Me("Unknown type for temp conversion from: "+te);ce=5*L.scalar/9}return Dt({scalar:ce,numerator:[""],denominator:Q})}(L),Te=te.units();if("degK"===Te)$e=ce.scalar;else if("degC"===Te)$e=ce.scalar;else if("degF"===Te)$e=9*ce.scalar/5;else{if("degR"!==Te)throw new Me("Unknown type for degree conversion to: "+Te);$e=9*ce.scalar/5}return Dt({scalar:$e,numerator:te.numerator,denominator:te.denominator})}(Dt.prototype={constructor:Dt}).kind=function(){return us[this.signature.toString()]},Z(Dt.prototype,{isDegrees:function(){return(null===this.signature||400===this.signature)&&1===this.numerator.length&&ge(this.denominator,Q)&&(this.numerator[0].match(//)||this.numerator[0].match(/<(kelvin|celsius|rankine|fahrenheit)>/))},isTemperature:function(){return this.isDegrees()&&this.numerator[0].match(//)}}),Z(Dt.prototype,{to:function(L){var te,ce;return null==L?this:ln(L)?(te=this._conversionCache[L])?te:(ce=Dt(L)).units()===this.units()?this:(this.isCompatible(ce)?ce=ce.isTemperature()?function ds(L,te){var Te,ce=te.units();if("tempK"===ce)Te=L.baseScalar;else if("tempC"===ce)Te=L.baseScalar-273.15;else if("tempF"===ce)Te=9*L.baseScalar/5-459.67;else{if("tempR"!==ce)throw new Me("Unknown type for temp conversion to: "+ce);Te=9*L.baseScalar/5}return Dt({scalar:Te,numerator:te.numerator,denominator:te.denominator})}(this,ce):ce.isDegrees()?$l(this,ce):Dt({scalar:ot(this.baseScalar,ce.baseScalar),numerator:ce.numerator,denominator:ce.denominator}):this.isInverse(ce)?ce=this.inverse().to(L):qn(this.units(),ce.units()),this._conversionCache[L]=ce,ce):this.to(L.units())},toBase:function(){if(this.isBase())return this;if(this.isTemperature())return function Za(L){var ce,te=L.units();if(te.match(/(deg)[CFRK]/))ce=L.baseScalar;else if("tempK"===te)ce=L.scalar;else if("tempC"===te)ce=L.scalar+273.15;else if("tempF"===te)ce=5*(L.scalar+459.67)/9;else{if("tempR"!==te)throw new Me("Unknown type for temp conversion from: "+te);ce=5*L.scalar/9}return Dt({scalar:ce,numerator:[""],denominator:Q})}(this);var L=Wr[this.units()];return L||(L=function Qa(L,te){for(var at,ce=[],Te=[],$e=1,S=0;S0)for(ee=0;ee"u")for(te=0;teat.toLowerCase()?1:0})},Dt.getAliases=function si(L){if(!Yt[L])throw new Me("Unit not recognized");return x[Yt[L]][0]},Dt.mulSafe=Ke,Dt.divSafe=ot,Dt.getKinds=function jo(){return function j(L){var te={};return L.filter(function(ce){return!te.hasOwnProperty(ce)&&(te[ce]=!0)})}(Object.keys(us).map(function(L){return us[L]}))},Dt.swiftConverter=function hs(L,te){var $e,ce=Dt(L),Te=Dt(te);return ce.eq(Te)?cn:($e=ce.isTemperature()?function(at){return ce.mul(at).to(Te).scalar}:function(at){return at*ce.baseScalar/Te.baseScalar},function(S){var w,T,B;if(Array.isArray(S)){for(T=S.length,B=[],w=0;wL.baseScalar?1:void 0)},same:function(L){return this.scalar===L.scalar&&this.units()===L.units()}}),Z(Dt.prototype,{isUnitless:function(){return[this.numerator,this.denominator].every(function(L){return ge(L,Q)})},isCompatible:function(L){return ln(L)?this.isCompatible(Dt(L)):!(!Rs(L)||void 0===L.signature)&&this.signature===L.signature},isInverse:function(L){return this.inverse().isCompatible(L)},isBase:function(){return void 0!==this._isBase?this._isBase:this.isDegrees()&&this.numerator[0].match(/<(kelvin|temp-K)>/)?(this._isBase=!0,this._isBase):(this.numerator.concat(this.denominator).forEach(function(L){L!==V&&-1===E.indexOf(L)&&(this._isBase=!1)},this),!1===this._isBase||(this._isBase=!0),this._isBase)}}),Kt.prototype.get=function(L){return arguments.length>1&&(L=Array.apply(null,arguments)),L.reduce(function(te,ce,Te){if(te){var $e=te[ce];return Te===L.length-1?$e?$e.data:void 0:$e}},this)},Kt.prototype.set=function(L,te){return arguments.length>2&&(L=Array.prototype.slice.call(arguments,0,-1),te=arguments[arguments.length-1]),L.reduce(function(ce,Te,$e){var at=ce[Te];return void 0===at&&(at=ce[Te]={}),$e===L.length-1?(at.data=te,te):at},this)},Dt.formatter=function Kr(L,te){return(L+" "+te).trim()},Z(Dt.prototype,{units:function(){if(void 0!==this._units)return this._units;var L=ge(this.numerator,Q),te=ge(this.denominator,Q);if(L&&te)return this._units="",this._units;var ce=jr(this.numerator),Te=jr(this.denominator);return this._units=ce+(te?"":"/"+Te),this._units},toString:function(L,te){var ce;if(Pt(L))ce=this.units(),te=L;else if(ln(L))ce=L;else if(Rs(L))return this.toPrec(L).toString(te);var Te=this.to(ce);return((void 0!==te?Mn(Te.scalar,te):Te.scalar)+" "+Te.units()).trim()},format:function(L,te){1===arguments.length&&"function"==typeof L&&(te=L,L=void 0),te=te||Dt.formatter;var ce=this.to(L);return te.call(this,ce.scalar,ce.units())}});var jn=new Kt;function jr(L){var te=jn.get(L);return te||(te=ge(L,Q)?"1":function Ze(L){return L.reduce(function(ce,Te){var $e=ce[Te];return $e||ce.push($e=ce[Te]=[Te,0]),$e[1]++,ce},[]).map(function(ce){return ce[0]+(ce[1]>1?ce[1]:"")})}(function Xa(L){for(var ce,te=[],$e=0;$ed?1:u=pr&&f<=V0}function aa(u){return-1!==u.indexOf("(module.js:")||-1!==u.indexOf("(node.js:")}function Wo(){if(sr)try{throw new Error}catch(f){var u=f.stack.split("\n"),h=pe(u[0].indexOf("@")>0?u[1]:u[2]);return h?(Dr=h[0],h[1]):void 0}}function pe(u){var d=/at .+ \((.+):(\d+):(?:\d+)\)$/.exec(u);if(d)return[d[1],Number(d[2])];var h=/at ([^ ]+):(\d+):(?:\d+)$/.exec(u);if(h)return[h[1],Number(h[2])];var f=/.*@(.+):(\d+)$/.exec(u);return f?[f[1],Number(f[2])]:void 0}var nt=E.EmptyError=function(){this.message="Sequence contains no elements.",Error.call(this)};nt.prototype=Object.create(Error.prototype),nt.prototype.name="EmptyError";var Wt=E.ObjectDisposedError=function(){this.message="Object has been disposed",Error.call(this)};Wt.prototype=Object.create(Error.prototype),Wt.prototype.name="ObjectDisposedError";var Ye=E.ArgumentOutOfRangeError=function(){this.message="Argument out of range",Error.call(this)};Ye.prototype=Object.create(Error.prototype),Ye.prototype.name="ArgumentOutOfRangeError";var Ot=E.NotSupportedError=function(u){this.message=u||"This operation is not supported",Error.call(this)};Ot.prototype=Object.create(Error.prototype),Ot.prototype.name="NotSupportedError";var Wn=E.NotImplementedError=function(u){this.message=u||"This operation is not implemented",Error.call(this)};Wn.prototype=Object.create(Error.prototype),Wn.prototype.name="NotImplementedError";var Ne=E.helpers.notImplemented=function(){throw new Wn},on=(E.helpers.notSupported=function(){throw new Ot},"function"==typeof Symbol&&Symbol.iterator||"_es6shim_iterator_");x.Set&&"function"==typeof(new x.Set)["@@iterator"]&&(on="@@iterator");var Rn=E.doneEnumerator={done:!0,value:cn},Ei=E.helpers.isIterable=function(u){return u&&u[on]!==cn},tr=E.helpers.isArrayLike=function(u){return u&&u.length!==cn};E.helpers.iterator=on;var ti=E.internals.bindCallback=function(u,d,h){if(typeof d>"u")return u;switch(h){case 0:return function(){return u.call(d)};case 1:return function(f){return u.call(d,f)};case 2:return function(f,g){return u.call(d,f,g)};case 3:return function(f,g,y){return u.call(d,f,g,y)}}return function(){return u.apply(d,arguments)}},$a="[object Arguments]",Ga="[object Array]",Rs="[object Boolean]",Dt="[object Date]",Ul="[object Error]",us="[object Number]",jo="[object Object]",qa="[object RegExp]",Ka="[object String]",jn={};jn["[object Float32Array]"]=jn["[object Float64Array]"]=jn["[object Int8Array]"]=jn["[object Int16Array]"]=jn["[object Int32Array]"]=jn["[object Uint8Array]"]=jn["[object Uint8ClampedArray]"]=jn["[object Uint16Array]"]=jn["[object Uint32Array]"]=!0,jn[$a]=jn[Ga]=jn["[object ArrayBuffer]"]=jn[Rs]=jn[Dt]=jn[Ul]=jn["[object Function]"]=jn["[object Map]"]=jn[us]=jn[jo]=jn[qa]=jn["[object Set]"]=jn[Ka]=jn["[object WeakMap]"]=!1;var jr=Object.prototype,Xa=jr.hasOwnProperty,Ze=jr.toString,L=Math.pow(2,53)-1,te=Object.keys||function(){var u=Object.prototype.hasOwnProperty,d=!{toString:null}.propertyIsEnumerable("toString"),h=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],f=h.length;return function(g){if("object"!=typeof g&&("function"!=typeof g||null===g))throw new TypeError("Object.keys called on non-object");var O,F,y=[];for(O in g)u.call(g,O)&&y.push(O);if(d)for(F=0;F-1&&u%1==0&&u<=L}var S=function(){try{Object({toString:0}+"")}catch{return function(){return!1}}return function(u){return"function"!=typeof u.toString&&"string"==typeof(u+"")}}(),T=Array.isArray||function(u){return $e(u)&&at(u.length)&&Ze.call(u)===Ga};function B(u,d){for(var h=-1,f=u.length;++hF))return!1;for(;++O=this.length||u<0)){var d=u-1>>1;if(!(d<0||d===u)&&this.isHigherPriority(u,d)){var h=this.items[u];this.items[u]=this.items[d],this.items[d]=h,this.percolate(d)}}},St.heapify=function(u){if(+u||(u=0),!(u>=this.length||u<0)){var d=2*u+1,h=2*u+2,f=u;if(d"u")throw new Ot;h=Yi(h);var g=d,y=x.setInterval(function(){g=f(g)},h);return Zt(function(){x.clearInterval(y)})}}(Bn.prototype),function(u){u.catchError=u.catch=function(d){return new sn(this,d)}}(Bn.prototype);var ca,xn,Jh=E.internals.SchedulePeriodicRecursive=function(){function d(h,f,g,y){this._scheduler=h,this._state=f,this._period=g,this._action=y}return d.prototype.start=function(){var h=new Le;return this._cancel=h,h.setDisposable(this._scheduler.scheduleRecursiveFuture(0,this._period,function u(h){return function(g,y){y(0,h._period);var O=ye(h._action)(h._state);O===Se&&(h._cancel.dispose(),si(O.e)),h._state=O}}(this))),h},d}(),_i=function(u){function d(){u.call(this)}return H(d,u),d.prototype.schedule=function(h,f){return dn(f(this,h))},d}(Bn),Ur=Bn.immediate=new _i,vi=function(u){var d;function h(){for(;d.length>0;){var g=d.dequeue();!g.isCancelled()&&g.invoke()}}function f(){u.call(this)}return H(f,u),f.prototype.schedule=function(g,y){var O=new Bs(this,g,y,this.now());if(d)d.enqueue(O);else{(d=new hn(4)).enqueue(O);var F=ye(h)();d=null,F===Se&&si(F.e)}return O.disposable},f.prototype.scheduleRequired=function(){return!d},f}(Bn),Ki=Bn.currentThread=new vi,Ut=function(){var u,d=V;if(x.setTimeout)u=x.setTimeout,d=x.clearTimeout;else{if(!x.WScript)throw new Ot;u=function(h,f){x.WScript.Sleep(f),h()}}return{setTimeout:u,clearTimeout:d}}(),zc=Ut.setTimeout,hD=Ut.clearTimeout;!function(){var u=1,d={},h=!1;function f(J){if(h)zc(function(){f(J)},0);else{var oe=d[J];if(oe){h=!0;var Ie=ye(oe)();xn(J),h=!1,Ie===Se&&si(Ie.e)}}}xn=function(J){delete d[J]};var g=new RegExp("^"+String(toString).replace(/[.*+?^${}()|[\]\\]/g,"\\$&").replace(/toString| for [^\]]+/g,".*?")+"$"),y="function"==typeof(y=ot&&Me&&ot.setImmediate)&&!g.test(y)&&y;if(qe(y))ca=function(J){var oe=u++;return d[oe]=J,y(function(){f(oe)}),oe};else if(typeof process<"u"&&"[object process]"==={}.toString.call(process))ca=function(J){var oe=u++;return d[oe]=J,process.nextTick(function(){f(oe)}),oe};else if(function O(){if(!x.postMessage||x.importScripts)return!1;var J=!1,oe=x.onmessage;return x.onmessage=function(){J=!0},x.postMessage("","*"),x.onmessage=oe,J}()){var F="ms.rx.schedule"+Math.random();x.addEventListener("message",function(J){"string"==typeof J.data&&J.data.substring(0,F.length)===F&&f(J.data.substring(F.length))},!1),ca=function(J){var oe=u++;return d[oe]=J,x.postMessage(F+oe,"*"),oe}}else if(x.MessageChannel){var ie=new x.MessageChannel;ie.port1.onmessage=function(J){f(J.data)},ca=function(J){var oe=u++;return d[oe]=J,ie.port2.postMessage(oe),oe}}else ca="document"in x&&"onreadystatechange"in x.document.createElement("script")?function(J){var oe=x.document.createElement("script"),Ie=u++;return d[Ie]=J,oe.onreadystatechange=function(){f(Ie),oe.onreadystatechange=null,oe.parentNode.removeChild(oe),oe=null},x.document.documentElement.appendChild(oe),Ie}:function(J){var oe=u++;return d[oe]=J,zc(function(){f(oe)},0),oe}}();var ke=function(u){function d(){u.call(this)}function h(O,F,W,ie){return function(){O.setDisposable(fn._fixup(F(W,ie)))}}function f(O){this._id=O,this.isDisposed=!1}function g(O){this._id=O,this.isDisposed=!1}return H(d,u),f.prototype.dispose=function(){this.isDisposed||(this.isDisposed=!0,xn(this._id))},g.prototype.dispose=function(){this.isDisposed||(this.isDisposed=!0,hD(this._id))},d.prototype.schedule=function(O,F){var W=new Le,ie=ca(h(W,F,this,O));return new It(W,new f(ie))},d.prototype._scheduleFuture=function(O,F,W){if(0===F)return this.schedule(O,W);var ie=new Le,J=zc(h(ie,W,this,O),F);return new It(ie,new g(J))},d.prototype.scheduleLongRunning=function(O,F){var W=Zt(V);return ca(function y(O,F,W){return function(){F(O,W)}}(O,F,W)),W},d}(Bn),ni=Bn.default=Bn.async=new ke,sn=function(u){function d(h,f){this._scheduler=h,this._handler=f,this._recursiveOriginal=null,this._recursiveWrapper=null,u.call(this)}return H(d,u),d.prototype.schedule=function(h,f){return this._scheduler.schedule(h,this._wrap(f))},d.prototype._scheduleFuture=function(h,f,g){return this._scheduler.schedule(h,f,this._wrap(g))},d.prototype.now=function(){return this._scheduler.now()},d.prototype._clone=function(h){return new d(h,this._handler)},d.prototype._wrap=function(h){var f=this;return function(g,y){var O=ye(h)(f._getRecursiveWrapper(g),y);return O===Se?(f._handler(O.e)||si(O.e),it):dn(O)}},d.prototype._getRecursiveWrapper=function(h){if(this._recursiveOriginal!==h){this._recursiveOriginal=h;var f=this._clone(h);f._recursiveOriginal=h,f._recursiveWrapper=f,this._recursiveWrapper=f}return this._recursiveWrapper},d.prototype.schedulePeriodic=function(h,f,g){var y=this,O=!1,F=new Le;return F.setDisposable(this._scheduler.schedulePeriodic(h,f,function(W){if(O)return null;var ie=ye(g)(W);return ie===Se?(O=!0,y._handler(ie.e)||si(ie.e),F.dispose(),null):ie})),F},d}(Bn),en=E.Notification=function(){function u(){}return u.prototype._accept=function(d,h,f){throw new Wn},u.prototype._acceptObserver=function(d,h,f){throw new Wn},u.prototype.accept=function(d,h,f){return d&&"object"==typeof d?this._acceptObserver(d):this._accept(d,h,f)},u.prototype.toObservable=function(d){var h=this;return pn(d)||(d=Ur),new Sn(function(f){return d.schedule(h,function(g,y){y._acceptObserver(f),"N"===y.kind&&f.onCompleted()})})},u}(),Wy=function(u){function d(h){this.value=h,this.kind="N"}return H(d,u),d.prototype._accept=function(h){return h(this.value)},d.prototype._acceptObserver=function(h){return h.onNext(this.value)},d.prototype.toString=function(){return"OnNext("+this.value+")"},d}(en),fD=function(u){function d(h){this.error=h,this.kind="E"}return H(d,u),d.prototype._accept=function(h,f){return f(this.error)},d.prototype._acceptObserver=function(h){return h.onError(this.error)},d.prototype.toString=function(){return"OnError("+this.error+")"},d}(en),jy=function(u){function d(){this.kind="C"}return H(d,u),d.prototype._accept=function(h,f,g){return g()},d.prototype._acceptObserver=function(h){return h.onCompleted()},d.prototype.toString=function(){return"OnCompleted()"},d}(en),Wc=en.createOnNext=function(u){return new Wy(u)},ao=en.createOnError=function(u){return new fD(u)},Uy=en.createOnCompleted=function(){return new jy},Nr=E.Observer=function(){};Nr.prototype.toNotifier=function(){var u=this;return function(d){return d.accept(u)}},Nr.prototype.asObserver=function(){var u=this;return new tg(function(d){u.onNext(d)},function(d){u.onError(d)},function(){u.onCompleted()})},Nr.prototype.checked=function(){return new pD(this)};var Ja=Nr.create=function(u,d,h){return u||(u=V),d||(d=Yt),h||(h=V),new tg(u,d,h)};Nr.fromNotifier=function(u,d){var h=ti(u,d,1);return new tg(function(f){return h(Wc(f))},function(f){return h(ao(f))},function(){return h(Uy())})},Nr.prototype.notifyOn=function(u){return new Gy(u,this)},Nr.prototype.makeSafe=function(u){return new AnonymousSafeObserver(this._onNext,this._onError,this._onCompleted,u)};var le,Fe=E.internals.AbstractObserver=function(u){function d(){this.isStopped=!1}return H(d,u),d.prototype.next=Ne,d.prototype.error=Ne,d.prototype.completed=Ne,d.prototype.onNext=function(h){!this.isStopped&&this.next(h)},d.prototype.onError=function(h){this.isStopped||(this.isStopped=!0,this.error(h))},d.prototype.onCompleted=function(){this.isStopped||(this.isStopped=!0,this.completed())},d.prototype.dispose=function(){this.isStopped=!0},d.prototype.fail=function(h){return!this.isStopped&&(this.isStopped=!0,this.error(h),!0)},d}(Nr),tg=E.AnonymousObserver=function(u){function d(h,f,g){u.call(this),this._onNext=h,this._onError=f,this._onCompleted=g}return H(d,u),d.prototype.next=function(h){this._onNext(h)},d.prototype.error=function(h){this._onError(h)},d.prototype.completed=function(){this._onCompleted()},d}(Fe),pD=function(u){function d(f){u.call(this),this._observer=f,this._state=0}H(d,u);var h=d.prototype;return h.onNext=function(f){this.checkAccess();var g=ye(this._observer.onNext).call(this._observer,f);this._state=0,g===Se&&si(g.e)},h.onError=function(f){this.checkAccess();var g=ye(this._observer.onError).call(this._observer,f);this._state=2,g===Se&&si(g.e)},h.onCompleted=function(){this.checkAccess();var f=ye(this._observer.onCompleted).call(this._observer);this._state=2,f===Se&&si(f.e)},h.checkAccess=function(){if(1===this._state)throw new Error("Re-entrancy detected");if(2===this._state)throw new Error("Observer completed");0===this._state&&(this._state=1)},d}(Nr),$y=E.internals.ScheduledObserver=function(u){function d(O,F){u.call(this),this.scheduler=O,this.observer=F,this.isAcquired=!1,this.hasFaulted=!1,this.queue=[],this.disposable=new Lt}function y(O,F){var W;if(O.queue.length>0){W=O.queue.shift();var ie=ye(W)();if(ie===Se)return O.queue=[],O.hasFaulted=!0,si(ie.e);F(O)}else O.isAcquired=!1}return H(d,u),d.prototype.next=function(O){this.queue.push(function h(O,F){return function(){O.onNext(F)}}(this.observer,O))},d.prototype.error=function(O){this.queue.push(function f(O,F){return function(){O.onError(F)}}(this.observer,O))},d.prototype.completed=function(){this.queue.push(function g(O){return function(){O.onCompleted()}}(this.observer))},d.prototype.ensureActive=function(){var O=!1;!this.hasFaulted&&this.queue.length>0&&(O=!this.isAcquired,this.isAcquired=!0),O&&this.disposable.setDisposable(this.scheduler.scheduleRecursive(this,y))},d.prototype.dispose=function(){u.prototype.dispose.call(this),this.disposable.dispose()},d}(Fe),Gy=function(u){function d(h,f,g){u.call(this,h,f),this._cancel=g}return H(d,u),d.prototype.next=function(h){u.prototype.next.call(this,h),this.ensureActive()},d.prototype.error=function(h){u.prototype.error.call(this,h),this.ensureActive()},d.prototype.completed=function(){u.prototype.completed.call(this),this.ensureActive()},d.prototype.dispose=function(){u.prototype.dispose.call(this),this._cancel&&this._cancel.dispose(),this._cancel=null},d}($y),ze=E.Observable=function(){function d(){if(E.config.longStackSupport&&sr){var h=this._subscribe,f=ye(si)(new Error).e;this.stack=f.stack.substring(f.stack.indexOf("\n")+1),this._subscribe=function u(h,f){return function(g){var y=g.onError;return g.onError=function(O){(function bn(u,d){if(sr&&d.stack&&"object"==typeof u&&null!==u&&u.stack&&-1===u.stack.indexOf(so)){for(var h=[],f=d;f;f=f.source)f.stack&&h.unshift(f.stack);h.unshift(u.stack);var g=h.join("\n"+so+"\n");u.stack=function cs(u){for(var d=u.split("\n"),h=[],f=0,g=d.length;f0&&this.l--,{done:!1,value:this.v})},d}(mr),Ee=mr.repeat=function(u,d){return new _D(u,d)},vD=function(u){function d(f,g,y){this.s=f,this.fn=g?ti(g,y,3):null}function h(f){this.i=-1,this.s=f.s,this.l=this.s.length,this.fn=f.fn}return H(d,u),d.prototype[on]=function(){return new h(this)},h.prototype.next=function(){return++this.iod?od:d:d}(u),this._i=0}og.prototype[on]=function(){return new lo(this._s)},lo.prototype[on]=function(){return this},lo.prototype.next=function(){return this._i0)&&(u.onNext(d),f>0&&f--),0===f)return u.onCompleted();g(f)})},ze.repeat=function(u,d,h){return pn(h)||(h=Ki),new Uc(u,d,h)};var Pe=function(u){function d(f,g){this._value=f,this._scheduler=g,u.call(this)}function h(f,g){var O=g[1];return O.onNext(g[0]),O.onCompleted(),it}return H(d,u),d.prototype.subscribeCore=function(f){var g=[this._value,f];return this._scheduler===Ur?h(0,g):this._scheduler.schedule(g,h)},d}(Be),cg=(ze.return=ze.just=function(u,d){return pn(d)||(d=Ur),new Pe(u,d)},function(u){function d(f,g){this._error=f,this._scheduler=g,u.call(this)}function h(f,g){return g[1].onError(g[0]),it}return H(d,u),d.prototype.subscribeCore=function(f){var g=[this._error,f];return this._scheduler===Ur?h(0,g):this._scheduler.schedule(g,h)},d}(Be)),ps=ze.throw=function(u,d){return pn(d)||(d=Ur),new cg(u,d)},Ct=function(u){function d(h,f){this._resFn=h,this._obsFn=f,u.call(this)}return H(d,u),d.prototype.subscribeCore=function(h){var f=it,g=ye(this._resFn)();if(g===Se)return new It(ps(g.e).subscribe(h),f);g&&(f=g);var y=ye(this._obsFn)(g);return new It(y===Se?ps(y.e).subscribe(h):y.subscribe(h),f)},d}(Be);function Ky(u,d){return u.amb(d)}ze.using=function(u,d){return new Ct(u,d)},le.amb=function(u){var d=this;return new Sn(function(h){var f,g="L",y="R",O=new Le,F=new Le;function W(){f||(f=g,F.dispose())}function ie(){f||(f=y,O.dispose())}tt(u)&&(u=mn(u));var J=Ja(function(Ie){W(),f===g&&h.onNext(Ie)},function(Ie){W(),f===g&&h.onError(Ie)},function(){W(),f===g&&h.onCompleted()}),oe=Ja(function(Ie){ie(),f===y&&h.onNext(Ie)},function(Ie){ie(),f===y&&h.onError(Ie)},function(){ie(),f===y&&h.onCompleted()});return O.setDisposable(d.subscribe(J)),F.setDisposable(u.subscribe(oe)),new It(O,F)})},ze.amb=function(){var d,u=jc();if(Array.isArray(arguments[0]))d=arguments[0];else{var h=arguments.length;d=new Array(d);for(var f=0;f0?this.parent.handleSubscribe(this.parent.q.shift()):(this.parent.activeCount--,this.parent.done&&0===this.parent.activeCount&&this.parent.o.onCompleted())},d}(Fe);le.merge=function(u){return"number"!=typeof u?Ai(this,u):new Xe(this,u)};var Ai=ze.merge=function(){var u,h,d=[],f=arguments.length;if(arguments[0])if(pn(arguments[0]))for(u=arguments[0],h=1;h0}function f(y){return y.shift()}return H(d,u),d.prototype.next=function(y){if(this._q[this._i].push(y),this._q.every(h)){var O=this._q.map(f),F=ye(this._p._cb).apply(null,O);if(F===Se)return this._o.onError(F.e);this._o.onNext(F)}else this._d.filter(function g(y){return function(O,F){return F!==y}}(this._i)).every(Q)&&this._o.onCompleted()},d.prototype.error=function(y){this._o.onError(y)},d.prototype.completed=function(){this._d[this._i]=!0,this._d.every(Q)&&this._o.onCompleted()},d}(Fe);function ha(){return!1}function af(){return[]}le.zip=function(){if(0===arguments.length)throw new Error("invalid arguments");for(var u=arguments.length,d=new Array(u),h=0;h0}function f(y){return y.shift()}return H(d,u),d.prototype.next=function(y){if(this._s.q[this._i].push(y),this._s.q.every(h)){var O=this._s.q.map(f),F=ye(this._s.cb).apply(null,O);if(F===Se)return this._s.o.onError(F.e);this._s.o.onNext(F)}else this._s.done.filter(function g(y){return function(O,F){return F!==y}}(this._i)).every(Q)&&this._s.o.onCompleted()},d.prototype.error=function(y){this._s.o.onError(y)},d.prototype.completed=function(){this._s.done[this._i]=!0,this._s.done.every(Q)&&this._s.o.onCompleted()},d}(Fe);function cd(u){return u.length>0}le.zipIterable=function(){if(0===arguments.length)throw new Error("invalid arguments");for(var u=arguments.length,d=new Array(u),h=0;hthis._c&&this._o.onNext(this._q.shift())},d.prototype.error=function(h){this._o.onError(h)},d.prototype.completed=function(){this._o.onCompleted()},d}(Fe);le.skipLast=function(u){if(u<0)throw new Ye;return new xD(this,u)},le.startWith=function(){var d,h=0;arguments.length&&pn(arguments[0])?(d=arguments[0],h=1):d=Ur;for(var f=[],g=h,y=arguments.length;gthis._c&&this._q.shift()},d.prototype.error=function(h){this._o.onError(h)},d.prototype.completed=function(){for(;this._q.length>0;)this._o.onNext(this._q.shift());this._o.onCompleted()},d}(Fe);le.takeLast=function(u){if(u<0)throw new Ye;var d=this;return new Sn(function(h){return d.subscribe(new DD(h,u))},d)};var MD=function(u){function d(h,f){this._o=h,this._c=f,this._q=[],u.call(this)}return H(d,u),d.prototype.next=function(h){this._q.push(h),this._q.length>this._c&&this._q.shift()},d.prototype.error=function(h){this._o.onError(h)},d.prototype.completed=function(){this._o.onNext(this._q),this._o.onCompleted()},d}(Fe);function e0(u,d,h){var f=ti(d,h,3);return u.map(function(g,y){var O=f(g,y,u);return tt(O)&&(O=mn(O)),(tr(O)||Ei(O))&&(O=ai(O)),O}).concatAll()}le.takeLastBuffer=function(u){if(u<0)throw new Ye;var d=this;return new Sn(function(h){return d.subscribe(new MD(h,u))},d)},le.windowWithCount=le.windowCount=function(u,d){var h=this;if(+u||(u=0),Math.abs(u)===1/0&&(u=0),u<=0)throw new Ye;if(null==d&&(d=u),+d||(d=0),Math.abs(d)===1/0&&(d=0),d<=0)throw new Ye;return new Sn(function(f){var g=new Le,y=new Mr(g),O=0,F=[];function W(){var ie=new bi;F.push(ie),f.onNext(Qe(ie,y))}return W(),g.setDisposable(h.subscribe(function(ie){for(var J=0,oe=F.length;J=0&&Ie%d==0&&F.shift().onCompleted(),++O%d==0&&W()},function(ie){for(;F.length>0;)F.shift().onError(ie);f.onError(ie)},function(){for(;F.length>0;)F.shift().onCompleted();f.onCompleted()})),y},h)},le.selectConcat=le.concatMap=function(u,d,h){return qe(u)&&qe(d)?this.concatMap(function(f,g){var y=u(f,g);return tt(y)&&(y=mn(y)),(tr(y)||Ei(y))&&(y=ai(y)),y.map(function(O,F){return d(f,O,g,F)})}):qe(u)?e0(this,u,h):e0(this,function(){return u})},le.concatMapObserver=le.selectConcatObserver=function(u,d,h,f){var g=this,y=ti(u,f,2),O=ti(d,f,1),F=ti(h,f,0);return new Sn(function(W){var ie=0;return g.subscribe(function(J){var oe;try{oe=y(J,ie++)}catch(Ie){return void W.onError(Ie)}tt(oe)&&(oe=mn(oe)),W.onNext(oe)},function(J){var oe;try{oe=O(J)}catch(Ie){return void W.onError(Ie)}tt(oe)&&(oe=mn(oe)),W.onNext(oe),W.onCompleted()},function(){var J;try{J=F()}catch(oe){return void W.onError(oe)}tt(J)&&(J=mn(J)),W.onNext(J),W.onCompleted()})},this).concatAll()};var TD=function(u){function d(h,f){this._o=h,this._d=f,this._f=!1,u.call(this)}return H(d,u),d.prototype.next=function(h){this._f=!0,this._o.onNext(h)},d.prototype.error=function(h){this._o.onError(h)},d.prototype.completed=function(){!this._f&&this._o.onNext(this._d),this._o.onCompleted()},d}(Fe);function t0(u){this.comparer=u,this.set=[]}le.defaultIfEmpty=function(u){var d=this;return u===cn&&(u=null),new Sn(function(h){return d.subscribe(new TD(h,u))},d)},t0.prototype.push=function(u){var d=-1===function ED(u,d,h){for(var f=0,g=u.length;f0&&(this._o.onNext(f),this._r<=0&&this._o.onCompleted())},h.prototype.error=function(f){this._o.onError(f)},h.prototype.completed=function(){this._o.onCompleted()},d}(Be);le.take=function(u,d){if(u<0)throw new Ye;return 0===u?ql(d):new RD(this,u)};var FD=function(u){function d(h,f){this.source=h,this._fn=f,u.call(this)}return H(d,u),d.prototype.subscribeCore=function(h){return this.source.subscribe(new ND(h,this))},d}(Be),ND=function(u){function d(h,f){this._o=h,this._p=f,this._i=0,this._r=!0,u.call(this)}return H(d,u),d.prototype.next=function(h){if(this._r&&(this._r=ye(this._p._fn)(h,this._i++,this._p),this._r===Se))return this._o.onError(this._r.e);this._r?this._o.onNext(h):this._o.onCompleted()},d.prototype.error=function(h){this._o.onError(h)},d.prototype.completed=function(){this._o.onCompleted()},d}(Fe);le.takeWhile=function(u,d){var h=ti(u,d,3);return new FD(this,h)};var fa=function(u){function d(g,y,O){this.source=g,this.predicate=ti(y,O,3),u.call(this)}function f(g,y,O){this.o=g,this.predicate=y,this.source=O,this.i=0,Fe.call(this)}return H(d,u),d.prototype.subscribeCore=function(g){return this.source.subscribe(new f(g,this.predicate,this))},d.prototype.internalFilter=function(g,y){return new d(this.source,function h(g,y){return function(O,F,W){return y.predicate(O,F,W)&&g.call(this,O,F,W)}}(g,this),y)},H(f,Fe),f.prototype.next=function(g){var y=ye(this.predicate)(g,this.i++,this.source);if(y===Se)return this.o.onError(y.e);y&&this.o.onNext(g)},f.prototype.error=function(g){this.o.onError(g)},f.prototype.completed=function(){this.o.onCompleted()},d}(Be);le.filter=le.where=function(u,d){return this instanceof fa?this.internalFilter(u,d):new fa(this,u,d)};var pg=function(u){function d(h,f,g){this.source=h,this._k=f,this._c=g,u.call(this)}return H(d,u),d.prototype.subscribeCore=function(h){return this.source.subscribe(new Tn(h,this._k,this._c))},d}(Be),Tn=function(u){function d(h,f,g){this._o=h,this._k=f,this._c=g,this._v=null,this._hv=!1,this._l=[],u.call(this)}return H(d,u),d.prototype.next=function(h){var f=ye(this._k)(h);if(f===Se)return this._o.onError(f.e);var g=0;if(this._hv){if((g=ye(this._c)(f,this._v))===Se)return this._o.onError(g.e)}else this._hv=!0,this._v=f;g>0&&(this._v=f,this._l=[]),g>=0&&this._l.push(h)},d.prototype.error=function(h){this._o.onError(h)},d.prototype.completed=function(){this._o.onNext(this._l),this._o.onCompleted()},d}(Fe);function df(u){if(0===u.length)throw new nt;return u[0]}var r0=function(u){function d(h,f,g,y){this.source=h,this.accumulator=f,this.hasSeed=g,this.seed=y,u.call(this)}return H(d,u),d.prototype.subscribeCore=function(h){return this.source.subscribe(new o0(h,this))},d}(Be),o0=function(u){function d(h,f){this._o=h,this._p=f,this._fn=f.accumulator,this._hs=f.hasSeed,this._s=f.seed,this._ha=!1,this._a=null,this._hv=!1,this._i=0,u.call(this)}return H(d,u),d.prototype.next=function(h){if(!this._hv&&(this._hv=!0),this._ha?this._a=ye(this._fn)(this._a,h,this._i,this._p):(this._a=this._hs?ye(this._fn)(this._s,h,this._i,this._p):h,this._ha=!0),this._a===Se)return this._o.onError(this._a.e);this._i++},d.prototype.error=function(h){this._o.onError(h)},d.prototype.completed=function(){this._hv&&this._o.onNext(this._a),!this._hv&&this._hs&&this._o.onNext(this._s),!this._hv&&!this._hs&&this._o.onError(new nt),this._o.onCompleted()},d}(Fe);le.reduce=function(){var d,u=!1,h=arguments[0];return 2===arguments.length&&(u=!0,d=arguments[1]),new r0(this,h,u,d)};var mg=function(u){function d(h,f){this.source=h,this._fn=f,u.call(this)}return H(d,u),d.prototype.subscribeCore=function(h){return this.source.subscribe(new gg(h,this._fn,this.source))},d}(Be),gg=function(u){function d(h,f,g){this._o=h,this._fn=f,this._s=g,this._i=0,u.call(this)}return H(d,u),d.prototype.next=function(h){var f=ye(this._fn)(h,this._i++,this._s);if(f===Se)return this._o.onError(f.e);Boolean(f)&&(this._o.onNext(!0),this._o.onCompleted())},d.prototype.error=function(h){this._o.onError(h)},d.prototype.completed=function(){this._o.onNext(!1),this._o.onCompleted()},d}(Fe);le.some=function(u,d){var h=ti(u,d,3);return new mg(this,h)};var s0=function(u){function d(h){this.source=h,u.call(this)}return H(d,u),d.prototype.subscribeCore=function(h){return this.source.subscribe(new hf(h))},d}(Be),hf=function(u){function d(h){this._o=h,u.call(this)}return H(d,u),d.prototype.next=function(){this._o.onNext(!1),this._o.onCompleted()},d.prototype.error=function(h){this._o.onError(h)},d.prototype.completed=function(){this._o.onNext(!0),this._o.onCompleted()},d}(Fe);le.isEmpty=function(){return new s0(this)};var a0=function(u){function d(h,f){this.source=h,this._fn=f,u.call(this)}return H(d,u),d.prototype.subscribeCore=function(h){return this.source.subscribe(new No(h,this._fn,this.source))},d}(Be),No=function(u){function d(h,f,g){this._o=h,this._fn=f,this._s=g,this._i=0,u.call(this)}return H(d,u),d.prototype.next=function(h){var f=ye(this._fn)(h,this._i++,this._s);if(f===Se)return this._o.onError(f.e);Boolean(f)||(this._o.onNext(!1),this._o.onCompleted())},d.prototype.error=function(h){this._o.onError(h)},d.prototype.completed=function(){this._o.onNext(!0),this._o.onCompleted()},d}(Fe);le.every=function(u,d){var h=ti(u,d,3);return new a0(this,h)};var ff=function(u){function d(h,f,g){var y=+g||0;Math.abs(y)===1/0&&(y=0),this.source=h,this._elem=f,this._n=y,u.call(this)}return H(d,u),d.prototype.subscribeCore=function(h){return this._n<0?(h.onNext(!1),h.onCompleted(),it):this.source.subscribe(new l0(h,this._elem,this._n))},d}(Be),l0=function(u){function d(f,g,y){this._o=f,this._elem=g,this._n=y,this._i=0,u.call(this)}return H(d,u),d.prototype.next=function(f){this._i++>=this._n&&function h(f,g){return 0===f&&0===g||f===g||isNaN(f)&&isNaN(g)}(f,this._elem)&&(this._o.onNext(!0),this._o.onCompleted())},d.prototype.error=function(f){this._o.onError(f)},d.prototype.completed=function(){this._o.onNext(!1),this._o.onCompleted()},d}(Fe);le.includes=function(u,d){return new ff(this,u,d)};var pf=function(u){function d(h,f){this.source=h,this._fn=f,u.call(this)}return H(d,u),d.prototype.subscribeCore=function(h){return this.source.subscribe(new c0(h,this._fn,this.source))},d}(Be),c0=function(u){function d(h,f,g){this._o=h,this._fn=f,this._s=g,this._i=0,this._c=0,u.call(this)}return H(d,u),d.prototype.next=function(h){if(this._fn){var f=ye(this._fn)(h,this._i++,this._s);if(f===Se)return this._o.onError(f.e);Boolean(f)&&this._c++}else this._c++},d.prototype.error=function(h){this._o.onError(h)},d.prototype.completed=function(){this._o.onNext(this._c),this._o.onCompleted()},d}(Fe);le.count=function(u,d){var h=ti(u,d,3);return new pf(this,h)};var LD=function(u){function d(h,f,g){this.source=h,this._e=f,this._n=g,u.call(this)}return H(d,u),d.prototype.subscribeCore=function(h){return this._n<0?(h.onNext(-1),h.onCompleted(),it):this.source.subscribe(new cr(h,this._e,this._n))},d}(Be),cr=function(u){function d(h,f,g){this._o=h,this._e=f,this._n=g,this._i=0,u.call(this)}return H(d,u),d.prototype.next=function(h){this._i>=this._n&&h===this._e&&(this._o.onNext(this._i),this._o.onCompleted()),this._i++},d.prototype.error=function(h){this._o.onError(h)},d.prototype.completed=function(){this._o.onNext(-1),this._o.onCompleted()},d}(Fe);le.indexOf=function(u,d){var h=+d||0;return Math.abs(h)===1/0&&(h=0),new LD(this,u,h)};var u0=function(u){function d(h,f){this.source=h,this._fn=f,u.call(this)}return H(d,u),d.prototype.subscribeCore=function(h){return this.source.subscribe(new BD(h,this._fn,this.source))},d}(Be),BD=function(u){function d(h,f,g){this._o=h,this._fn=f,this._s=g,this._i=0,this._c=0,u.call(this)}return H(d,u),d.prototype.next=function(h){if(this._fn){var f=ye(this._fn)(h,this._i++,this._s);if(f===Se)return this._o.onError(f.e);this._c+=f}else this._c+=h},d.prototype.error=function(h){this._o.onError(h)},d.prototype.completed=function(){this._o.onNext(this._c),this._o.onCompleted()},d}(Fe);le.sum=function(u,d){var h=ti(u,d,3);return new u0(this,h)},le.minBy=function(u,d){return d||(d=he),new pg(this,u,function(h,f){return-1*d(h,f)})},le.min=function(u){return this.minBy(Q,u).map(df)},le.maxBy=function(u,d){return d||(d=he),new pg(this,u,d)},le.max=function(u){return this.maxBy(Q,u).map(df)};var hd=function(u){function d(h,f){this.source=h,this._fn=f,u.call(this)}return H(d,u),d.prototype.subscribeCore=function(h){return this.source.subscribe(new xo(h,this._fn,this.source))},d}(Be),xo=function(u){function d(h,f,g){this._o=h,this._fn=f,this._s=g,this._c=0,this._t=0,u.call(this)}return H(d,u),d.prototype.next=function(h){if(this._fn){var f=ye(this._fn)(h,this._c++,this._s);if(f===Se)return this._o.onError(f.e);this._t+=f}else this._c++,this._t+=h},d.prototype.error=function(h){this._o.onError(h)},d.prototype.completed=function(){if(0===this._c)return this._o.onError(new nt);this._o.onNext(this._t/this._c),this._o.onCompleted()},d}(Fe);le.average=function(u,d){var f;return qe(u)&&(f=ti(u,d,3)),new hd(this,f)},le.sequenceEqual=function(u,d){var h=this;return d||(d=be),new Sn(function(f){var g=!1,y=!1,O=[],F=[],W=h.subscribe(function(J){if(F.length>0){var oe=F.shift(),Ie=ye(d)(oe,J);if(Ie===Se)return f.onError(Ie.e);Ie||(f.onNext(!1),f.onCompleted())}else y?(f.onNext(!1),f.onCompleted()):O.push(J)},function(J){f.onError(J)},function(){g=!0,0===O.length&&(F.length>0?(f.onNext(!1),f.onCompleted()):y&&(f.onNext(!0),f.onCompleted()))});(tr(u)||Ei(u))&&(u=ai(u)),tt(u)&&(u=mn(u));var ie=u.subscribe(function(J){if(O.length>0){var oe=O.shift(),Ie=ye(d)(oe,J);if(Ie===Se)return f.onError(Ie.e);Ie||(f.onNext(!1),f.onCompleted())}else g?(f.onNext(!1),f.onCompleted()):F.push(J)},function(J){f.onError(J)},function(){y=!0,0===F.length&&(O.length>0?(f.onNext(!1),f.onCompleted()):g&&(f.onNext(!0),f.onCompleted()))});return new It(W,ie)},h)};var d0=function(u){function d(h,f,g){this.source=h,this._i=f,this._d=g,u.call(this)}return H(d,u),d.prototype.subscribeCore=function(h){return this.source.subscribe(new mf(h,this._i,this._d))},d}(Be),mf=function(u){function d(h,f,g){this._o=h,this._i=f,this._d=g,u.call(this)}return H(d,u),d.prototype.next=function(h){0==this._i--&&(this._o.onNext(h),this._o.onCompleted())},d.prototype.error=function(h){this._o.onError(h)},d.prototype.completed=function(){this._d===cn?this._o.onError(new Ye):(this._o.onNext(this._d),this._o.onCompleted())},d}(Fe);le.elementAt=function(u,d){if(u<0)throw new Ye;return new d0(this,u,d)};var Jl=function(u){function d(h,f,g){this._o=h,this._obj=f,this._s=g,this._i=0,this._hv=!1,this._v=null,u.call(this)}return H(d,u),d.prototype.next=function(h){var f=!1;if(this._obj.predicate){var g=ye(this._obj.predicate)(h,this._i++,this._s);if(g===Se)return this._o.onError(g.e);Boolean(g)&&(f=!0)}else this._obj.predicate||(f=!0);if(f){if(this._hv)return this._o.onError(new Error("Sequence contains more than one matching element"));this._hv=!0,this._v=h}},d.prototype.error=function(h){this._o.onError(h)},d.prototype.completed=function(){this._hv?(this._o.onNext(this._v),this._o.onCompleted()):this._obj.defaultValue===cn?this._o.onError(new nt):(this._o.onNext(this._obj.defaultValue),this._o.onCompleted())},d}(Fe);le.single=function(u,d){var h={},f=this;if(qe((h="object"==typeof arguments[0]?arguments[0]:{predicate:arguments[0],thisArg:arguments[1],defaultValue:arguments[2]}).predicate)){var g=h.predicate;h.predicate=ti(g,h.thisArg,3)}return new Sn(function(y){return f.subscribe(new Jl(y,h,f))},f)};var ko=function(u){function d(h,f){this.source=h,this._obj=f,u.call(this)}return H(d,u),d.prototype.subscribeCore=function(h){return this.source.subscribe(new h0(h,this._obj,this.source))},d}(Be),h0=function(u){function d(h,f,g){this._o=h,this._obj=f,this._s=g,this._i=0,u.call(this)}return H(d,u),d.prototype.next=function(h){if(this._obj.predicate){var f=ye(this._obj.predicate)(h,this._i++,this._s);if(f===Se)return this._o.onError(f.e);Boolean(f)&&(this._o.onNext(h),this._o.onCompleted())}else this._obj.predicate||(this._o.onNext(h),this._o.onCompleted())},d.prototype.error=function(h){this._o.onError(h)},d.prototype.completed=function(){this._obj.defaultValue===cn?this._o.onError(new nt):(this._o.onNext(this._obj.defaultValue),this._o.onCompleted())},d}(Fe);le.first=function(){var u={};if(qe((u="object"==typeof arguments[0]?arguments[0]:{predicate:arguments[0],thisArg:arguments[1],defaultValue:arguments[2]}).predicate)){var h=u.predicate;u.predicate=ti(h,u.thisArg,3)}return new ko(this,u)};var fd=function(u){function d(h,f){this.source=h,this._obj=f,u.call(this)}return H(d,u),d.prototype.subscribeCore=function(h){return this.source.subscribe(new f0(h,this._obj,this.source))},d}(Be),f0=function(u){function d(h,f,g){this._o=h,this._obj=f,this._s=g,this._i=0,this._hv=!1,this._v=null,u.call(this)}return H(d,u),d.prototype.next=function(h){var f=!1;if(this._obj.predicate){var g=ye(this._obj.predicate)(h,this._i++,this._s);if(g===Se)return this._o.onError(g.e);Boolean(g)&&(f=!0)}else this._obj.predicate||(f=!0);f&&(this._hv=!0,this._v=h)},d.prototype.error=function(h){this._o.onError(h)},d.prototype.completed=function(){this._hv?(this._o.onNext(this._v),this._o.onCompleted()):this._obj.defaultValue===cn?this._o.onError(new nt):(this._o.onNext(this._obj.defaultValue),this._o.onCompleted())},d}(Fe);le.last=function(){var u={};if(qe((u="object"==typeof arguments[0]?arguments[0]:{predicate:arguments[0],thisArg:arguments[1],defaultValue:arguments[2]}).predicate)){var h=u.predicate;u.predicate=ti(h,u.thisArg,3)}return new fd(this,u)};var pa=function(u){function d(h,f,g,y){this._o=h,this._s=f,this._cb=g,this._y=y,this._i=0,u.call(this)}return H(d,u),d.prototype.next=function(h){var f=ye(this._cb)(h,this._i,this._s);if(f===Se)return this._o.onError(f.e);f?(this._o.onNext(this._y?this._i:h),this._o.onCompleted()):this._i++},d.prototype.error=function(h){this._o.onError(h)},d.prototype.completed=function(){this._y&&this._o.onNext(-1),this._o.onCompleted()},d}(Fe);function gf(u,d,h,f){var g=ti(d,h,3);return new Sn(function(y){return u.subscribe(new pa(y,u,g,f))},u)}le.find=function(u,d){return gf(this,u,d,!1)},le.findIndex=function(u,d){return gf(this,u,d,!0)};var _f=function(u){function d(h){this.source=h,u.call(this)}return H(d,u),d.prototype.subscribeCore=function(h){return this.source.subscribe(new tn(h))},d}(Be),tn=function(u){function d(h){this._o=h,this._s=new x.Set,u.call(this)}return H(d,u),d.prototype.next=function(h){this._s.add(h)},d.prototype.error=function(h){this._o.onError(h)},d.prototype.completed=function(){this._o.onNext(this._s),this._o.onCompleted()},d}(Fe);le.toSet=function(){if(typeof x.Set>"u")throw new TypeError;return new _f(this)};var _g=function(u){function d(h,f,g){this.source=h,this._k=f,this._e=g,u.call(this)}return H(d,u),d.prototype.subscribeCore=function(h){return this.source.subscribe(new VD(h,this._k,this._e))},d}(Be),VD=function(u){function d(h,f,g){this._o=h,this._k=f,this._e=g,this._m=new x.Map,u.call(this)}return H(d,u),d.prototype.next=function(h){var f=ye(this._k)(h);if(f===Se)return this._o.onError(f.e);var g=h;if(this._e&&(g=ye(this._e)(h))===Se)return this._o.onError(g.e);this._m.set(f,g)},d.prototype.error=function(h){this._o.onError(h)},d.prototype.completed=function(){this._o.onNext(this._m),this._o.onCompleted()},d}(Fe);le.toMap=function(u,d){if(typeof x.Map>"u")throw new TypeError;return new _g(this,u,d)};var p0=function(u){function d(h,f,g){this.source=h,this._b=f,this._e=g,u.call(this)}return H(d,u),d.prototype.subscribeCore=function(h){return this.source.subscribe(new m0(h,this._b,this._e))},d}(Be),m0=function(u){function d(h,f,g){this._o=h,this._b=f,this._e=g,this._i=0,u.call(this)}return H(d,u),d.prototype.next=function(h){this._i>=this._b&&(this._e===this._i?this._o.onCompleted():this._o.onNext(h)),this._i++},d.prototype.error=function(h){this._o.onError(h)},d.prototype.completed=function(){this._o.onCompleted()},d}(Fe);le.slice=function(u,d){var h=u||0;if(h<0)throw new E.ArgumentOutOfRangeError;if("number"==typeof d&&d=this._n&&h===this._e&&(this._hv=!0,this._v=this._i),this._i++},d.prototype.error=function(h){this._o.onError(h)},d.prototype.completed=function(){this._o.onNext(this._hv?this._v:-1),this._o.onCompleted()},d}(Fe);le.lastIndexOf=function(u,d){var h=+d||0;return Math.abs(h)===1/0&&(h=0),new g0(this,u,h)},ze.wrap=function(u){function d(){return ze.spawn.call(this,u.apply(this,arguments))}return d.__generatorFunction__=u,d};var _0=ze.spawn=function(){for(var u=arguments[0],d=this,h=[],f=1,g=arguments.length;f2){for(var y=[],O=1,F=arguments.length;O"u"&&(d=this);for(var f=arguments.length,g=new Array(f),y=0;y"u"&&(d=this);for(var f=arguments.length,g=new Array(f),y=0;y0;)h.onNext(f.shift())}var O=function zs(u,d,h){return new Sn(function(f){var W,g=[!1,!1],y=!1,O=!1,F=new Array(2);function ie(J,oe){if(F[oe]=J,g[oe]=!0,y||(y=g.every(Q))){if(W)return f.onError(W);var Ie=ye(h).apply(null,F);if(Ie===Se)return f.onError(Ie.e);f.onNext(Ie)}O&&F[1]&&f.onCompleted()}return new It(u.subscribe(function(J){ie(J,0)},function(J){F[1]?f.onError(J):W=J},function(){O=!0,F[1]&&f.onCompleted()}),d.subscribe(function(J){ie(J,1)},function(J){f.onError(J)},function(){O=!0,ie(!0,1)}))},u)}(this.source,this.pauser.startWith(!this.paused).distinctUntilChanged(),function(F,W){return{data:F,shouldFire:W}}).subscribe(function(F){g!==cn&&F.shouldFire!==g?(g=F.shouldFire,F.shouldFire&&y()):(g=F.shouldFire,F.shouldFire?h.onNext(F.data):f.push(F.data))},function(F){y(),h.onError(F)},function(){y(),h.onCompleted()});return O},d.prototype.pause=function(){this.paused=!0,this.controller.onNext(!1)},d.prototype.resume=function(){this.paused=!1,this.controller.onNext(!0)},d}(ze);le.pausableBuffered=function(u){return new y0(this,u)};var pd=function(u){function d(h,f,g){u.call(this),this.subject=new w0(f,g),this.source=h.multicast(this.subject).refCount()}return H(d,u),d.prototype._subscribe=function(h){return this.source.subscribe(h)},d.prototype.request=function(h){return this.subject.request(h??-1)},d}(ze),w0=function(u){function d(h,f){null==h&&(h=!0),u.call(this),this.subject=new bi,this.enableQueue=h,this.queue=h?[]:null,this.requestedCount=0,this.requestedDisposable=null,this.error=null,this.hasFailed=!1,this.hasCompleted=!1,this.scheduler=f||Ki}return H(d,u),Ve(d.prototype,Nr,{_subscribe:function(h){return this.subject.subscribe(h)},onCompleted:function(){this.hasCompleted=!0,this.enableQueue&&0!==this.queue.length?this.queue.push(en.createOnCompleted()):(this.subject.onCompleted(),this.disposeCurrentRequest())},onError:function(h){this.hasFailed=!0,this.error=h,this.enableQueue&&0!==this.queue.length?this.queue.push(en.createOnError(h)):(this.subject.onError(h),this.disposeCurrentRequest())},onNext:function(h){this.requestedCount<=0?this.enableQueue&&this.queue.push(en.createOnNext(h)):(0==this.requestedCount--&&this.disposeCurrentRequest(),this.subject.onNext(h))},_processRequest:function(h){if(this.enableQueue)for(;this.queue.length>0&&(h>0||"N"!==this.queue[0].kind);){var f=this.queue.shift();f.accept(this.subject),"N"===f.kind?h--:(this.disposeCurrentRequest(),this.queue=[])}return h},request:function(h){this.disposeCurrentRequest();var f=this;return this.requestedDisposable=this.scheduler.schedule(h,function(g,y){var O=f._processRequest(y);if(!f.hasCompleted&&!f.hasFailed&&O>0)return f.requestedCount=O,Zt(function(){f.requestedCount=0})}),this.requestedDisposable},disposeCurrentRequest:function(){this.requestedDisposable&&(this.requestedDisposable.dispose(),this.requestedDisposable=null)}}),d}(ze);le.controlled=function(u,d){return u&&pn(u)&&(d=u,u=!0),null==u&&(u=!0),new pd(this,u,d)};var C0=function(u){function d(g){u.call(this),this.source=g}function h(g,y){return y.source.request(1)}H(d,u),d.prototype._subscribe=function(g){return this.subscription=this.source.subscribe(new f(g,this,this.subscription)),new It(this.subscription,ni.schedule(this,h))};var f=function(g){function y(F,W,ie){g.call(this),this.observer=F,this.observable=W,this.cancel=ie,this.scheduleDisposable=null}function O(F,W){return W.observable.source.request(1)}return H(y,g),y.prototype.completed=function(){this.observer.onCompleted(),this.dispose()},y.prototype.error=function(F){this.observer.onError(F),this.dispose()},y.prototype.next=function(F){this.observer.onNext(F),this.scheduleDisposable=ni.schedule(this,O)},y.dispose=function(){this.observer=null,this.cancel&&(this.cancel.dispose(),this.cancel=null),this.scheduleDisposable&&(this.scheduleDisposable.dispose(),this.scheduleDisposable=null),g.prototype.dispose.call(this)},y}(Fe);return d}(ze);pd.prototype.stopAndWait=function(){return new C0(this)};var Sf=function(u){function d(g,y){u.call(this),this.source=g,this.windowSize=y}function h(g,y){return y.source.request(y.windowSize)}H(d,u),d.prototype._subscribe=function(g){return this.subscription=this.source.subscribe(new f(g,this,this.subscription)),new It(this.subscription,ni.schedule(this,h))};var f=function(g){function y(F,W,ie){this.observer=F,this.observable=W,this.cancel=ie,this.received=0,this.scheduleDisposable=null,g.call(this)}function O(F,W){return W.observable.source.request(W.observable.windowSize)}return H(y,g),y.prototype.completed=function(){this.observer.onCompleted(),this.dispose()},y.prototype.error=function(F){this.observer.onError(F),this.dispose()},y.prototype.next=function(F){this.observer.onNext(F),this.received=++this.received%this.observable.windowSize,0===this.received&&(this.scheduleDisposable=ni.schedule(this,O))},y.prototype.dispose=function(){this.observer=null,this.cancel&&(this.cancel.dispose(),this.cancel=null),this.scheduleDisposable&&(this.scheduleDisposable.dispose(),this.scheduleDisposable=null),g.prototype.dispose.call(this)},y}(Fe);return d}(ze);pd.prototype.windowed=function(u){return new Sf(this,u)},le.pipe=function(u){var d=this.pausableBuffered();function h(){d.resume()}return u.addListener("drain",h),d.subscribe(function(f){!u.write(f)&&d.pause()},function(f){u.emit("error",f)},function(){!u._isStdio&&u.end(),u.removeListener("drain",h)}),d.resume(),u};var xf=function(u){function d(h,f,g){this.source=h,this._fn1=f,this._fn2=g,u.call(this)}return H(d,u),d.prototype.subscribeCore=function(h){var f=this.source.multicast(this._fn1());return new It(this._fn2(f).subscribe(h),f.connect())},d}(Be);le.multicast=function(u,d){return qe(u)?new xf(this,u,d):new S0(this,u)},le.publish=function(u){return u&&qe(u)?this.multicast(function(){return new bi},u):this.multicast(new bi)},le.share=function(){return this.publish().refCount()},le.publishLast=function(u){return u&&qe(u)?this.multicast(function(){return new ol},u):this.multicast(new ol)},le.publishValue=function(u,d){return 2===arguments.length?this.multicast(function(){return new wd(d)},u):this.multicast(new wd(u))},le.shareValue=function(u){return this.publishValue(u).refCount()},le.replay=function(u,d,h,f){return u&&qe(u)?this.multicast(function(){return new sl(d,h,f)},u):this.multicast(new sl(d,h,f))},le.shareReplay=function(u,d,h){return this.replay(null,u,d,h).refCount()};var Qc=function(u,d){this._s=u,this._o=d};Qc.prototype.dispose=function(){if(!this._s.isDisposed&&null!==this._o){var u=this._s.observers.indexOf(this._o);this._s.observers.splice(u,1),this._o=null}};var kf=function(u){function d(f){this.source=f,this._count=0,this._connectableSubscription=null,u.call(this)}function h(f,g){this._p=f,this._s=g,this.isDisposed=!1}return H(d,u),d.prototype.subscribeCore=function(f){var g=this.source.subscribe(f);return 1==++this._count&&(this._connectableSubscription=this.source.connect()),new h(this,g)},h.prototype.dispose=function(){this.isDisposed||(this.isDisposed=!0,this._s.dispose(),0==--this._p._count&&this._p._connectableSubscription.dispose())},d}(Be),S0=E.ConnectableObservable=function(u){function d(f,g){this.source=f,this._connection=null,this._source=f.asObservable(),this._subject=g,u.call(this)}function h(f,g){this._p=f,this._s=g}return H(d,u),h.prototype.dispose=function(){this._s&&(this._s.dispose(),this._s=null,this._p._connection=null)},d.prototype.connect=function(){if(!this._connection){if(this._subject.isStopped)return it;var f=this._source.subscribe(this._subject);this._connection=new h(this,f)}return this._connection},d.prototype._subscribe=function(f){return this._subject.subscribe(f)},d.prototype.refCount=function(){return new kf(this)},d}(ze);function bg(u,d){return u.groupJoin(this,d,ql,function(h,f){return f})}function Df(u){var d=this;return new Sn(function(h){var f=new bi,g=new Mt,y=new Mr(g);return h.onNext(Qe(f,y)),g.add(d.subscribe(function(O){f.onNext(O)},function(O){f.onError(O),h.onError(O)},function(){f.onCompleted(),h.onCompleted()})),tt(u)&&(u=mn(u)),g.add(u.subscribe(function(O){f.onCompleted(),f=new bi,h.onNext(Qe(f,y))},function(O){f.onError(O),h.onError(O)},function(){f.onCompleted(),h.onCompleted()})),y},d)}function yg(u){var d=this;return new Sn(function(h){var f=new Lt,g=new Mt(f),y=new Mr(g),O=new bi;return h.onNext(Qe(O,y)),g.add(d.subscribe(function(W){O.onNext(W)},function(W){O.onError(W),h.onError(W)},function(){O.onCompleted(),h.onCompleted()})),function F(){var W;try{W=u()}catch(J){return void h.onError(J)}tt(W)&&(W=mn(W));var ie=new Le;f.setDisposable(ie),ie.setDisposable(W.take(1).subscribe(V,function(J){O.onError(J),h.onError(J)},function(){O.onCompleted(),O=new bi,h.onNext(Qe(O,y)),F()}))}(),y},d)}le.singleInstance=function(){var h,u=this,d=!1;return new Sn(function(g){return function f(){return d||(d=!0,h=u.finally(function(){d=!1}).publish().refCount()),h}().subscribe(g)})},le.join=function(u,d,h,f){var g=this;return new Sn(function(y){var O=new Mt,F=!1,W=!1,ie=0,J=0,oe=new Yo,Ie=new Yo,gt=function(kt){y.onError(kt)};return O.add(g.subscribe(function(kt){var Tt=ie++,dt=new Le;oe.set(Tt,kt),O.add(dt);var Bt=ye(d)(kt);if(Bt===Se)return y.onError(Bt.e);dt.setDisposable(Bt.take(1).subscribe(V,gt,function(){oe.delete(Tt)&&0===oe.size&&F&&y.onCompleted(),O.remove(dt)})),Ie.forEach(function(Oi){var pi=ye(f)(kt,Oi);if(pi===Se)return y.onError(pi.e);y.onNext(pi)})},gt,function(){F=!0,(W||0===oe.size)&&y.onCompleted()})),O.add(u.subscribe(function(kt){var Tt=J++,dt=new Le;Ie.set(Tt,kt),O.add(dt);var Bt=ye(h)(kt);if(Bt===Se)return y.onError(Bt.e);dt.setDisposable(Bt.take(1).subscribe(V,gt,function(){Ie.delete(Tt)&&0===Ie.size&&W&&y.onCompleted(),O.remove(dt)})),oe.forEach(function(Oi){var pi=ye(f)(Oi,kt);if(pi===Se)return y.onError(pi.e);y.onNext(pi)})},gt,function(){W=!0,(F||0===Ie.size)&&y.onCompleted()})),O},g)},le.groupJoin=function(u,d,h,f){var g=this;return new Sn(function(y){var O=new Mt,F=new Mr(O),W=new Yo,ie=new Yo,J=0,oe=0;return O.add(g.subscribe(function(gt){var kt=new bi,Tt=J++;W.set(Tt,kt);var dt=ye(f)(gt,Qe(kt,F));if(dt===Se)return W.forEach(void 0),y.onError(dt.e);y.onNext(dt),ie.forEach(function(pi){kt.onNext(pi)});var Bt=new Le;O.add(Bt);var Oi=ye(d)(gt);if(Oi===Se)return W.forEach(void 0),y.onError(Oi.e);Bt.setDisposable(Oi.take(1).subscribe(V,function(pi){W.forEach(void 0),y.onError(pi)},function(){W.delete(Tt)&&kt.onCompleted(),O.remove(Bt)}))},function(gt){W.forEach(void 0),y.onError(gt)},function(){y.onCompleted()})),O.add(u.subscribe(function(gt){var kt=oe++;ie.set(kt,gt);var Tt=new Le;O.add(Tt);var dt=ye(h)(gt);if(dt===Se)return W.forEach(void 0),y.onError(dt.e);Tt.setDisposable(dt.take(1).subscribe(V,function(Bt){W.forEach(void 0),y.onError(Bt)},function(){ie.delete(kt),O.remove(Tt)})),W.forEach(function(Bt){Bt.onNext(gt)})},function(gt){W.forEach(void 0),y.onError(gt)})),F},g)},le.buffer=function(){return this.window.apply(this,arguments).flatMap(gs)},le.window=function(u,d){return 1===arguments.length&&"function"!=typeof arguments[0]?Df.call(this,u):"function"==typeof u?yg.call(this,u):bg.call(this,u,d)};var wg=function(u){function d(h){this.source=h,u.call(this)}return H(d,u),d.prototype.subscribeCore=function(h){return this.source.subscribe(new Cg(h))},d}(Be),Cg=function(u){function d(h){this._o=h,this._p=null,this._hp=!1,u.call(this)}return H(d,u),d.prototype.next=function(h){this._hp?this._o.onNext([this._p,h]):this._hp=!0,this._p=h},d.prototype.error=function(h){this._o.onError(h)},d.prototype.completed=function(){this._o.onCompleted()},d}(Fe);le.pairwise=function(){return new wg(this)},le.partition=function(u,d){var h=ti(u,d,3);return[this.filter(u,d),this.filter(function(f,g,y){return!h(f,g,y)})]};var Sg=function(u){function d(h,f){this.c=h,this.s=f}return H(d,u),d.prototype[on]=function(){var h=this;return{next:function(){return h.c()?{done:!1,value:h.s}:{done:!0,value:void 0}}}},d}(mr);le.letBind=le.let=function(u){return u(this)},ze.if=function(u,d,h){return ua(function(){return h||(h=ql()),tt(d)&&(d=mn(d)),tt(h)&&(h=mn(h)),"function"==typeof h.now&&(h=ql(h)),u()?d:h})},ze.for=ze.forIn=function(u,d,h){return yt(u,d,h).concat()};var x0=ze.while=ze.whileDo=function(u,d){return tt(d)&&(d=mn(d)),function Mf(u,d){return new Sg(u,d)}(u,d).concat()};le.doWhile=function(u){return co([this,x0(u,this)])},ze.case=function(u,d,h){return ua(function(){tt(h)&&(h=mn(h)),h||(h=ql()),pn(h)&&(h=ql(h));var f=d[u()];return tt(f)&&(f=mn(f)),f||h})};var k0=function(u){function d(f,g,y){this.source=f,this._fn=g,this._scheduler=y,u.call(this)}function h(f,g){var F,y=f[0],O=f[1];if(y.q.length>0){F=y.q.shift();var W=new Le;y.d.add(W),W.setDisposable(F.subscribe(new Jr(y,O,W))),g([y,O])}else y.isAcquired=!1}return H(d,u),d.prototype._ensureActive=function(f){var g=!1;f.q.length>0&&(g=!f.isAcquired,f.isAcquired=!0),g&&f.m.setDisposable(this._scheduler.scheduleRecursive([f,this],h))},d.prototype.subscribeCore=function(f){var g=new Lt,y=new Mt(g),O={q:[],m:g,d:y,activeCount:0,isAcquired:!1,o:f};return O.q.push(this.source),O.activeCount++,this._ensureActive(O),y},d}(Be),Jr=function(u){function d(h,f,g){this._s=h,this._p=f,this._m1=g,u.call(this)}return H(d,u),d.prototype.next=function(h){this._s.o.onNext(h);var f=ye(this._p._fn)(h);if(f===Se)return this._s.o.onError(f.e);this._s.q.push(f),this._s.activeCount++,this._p._ensureActive(this._s)},d.prototype.error=function(h){this._s.o.onError(h)},d.prototype.completed=function(){this._s.d.remove(this._m1),this._s.activeCount--,0===this._s.activeCount&&this._s.o.onCompleted()},d}(Fe);function eo(){for(var u=arguments.length,d=new Array(u),h=0;h0){var W=h.now();(g=new Date(g.getTime()+y)).getTime()<=W&&(g=new Date(W+y))}f.onNext(O),F(O+1,new Date(g))})})}function nc(u,d,h){return u===d?new Sn(function(f){return h.schedulePeriodic(0,d,function(g){return f.onNext(g),g+1})}):ua(function(){return Ws(new Date(h.now()+u),d,h)})}var E0=ze.interval=function(u,d){return nc(u,u,pn(d)?d:ni)};function ic(u,d,h){return new Sn(function(f){var ie,g=!1,y=new Lt,O=null,F=[],W=!1;return ie=u.materialize().timestamp(h).subscribe(function(J){var oe,Ie;"E"===J.value.kind?((F=[]).push(J),O=J.value.error,Ie=!W):(F.push({value:J.value,timestamp:J.timestamp+d}),Ie=!g,g=!0),Ie&&(null!==O?f.onError(O):(oe=new Le,y.setDisposable(oe),oe.setDisposable(h.scheduleRecursiveFuture(null,d,function(gt,kt){var Tt,dt,Bt,Oi;if(null===O){W=!0;do{Bt=null,F.length>0&&F[0].timestamp-h.now()<=0&&(Bt=F.shift().value),null!==Bt&&Bt.accept(f)}while(null!==Bt);Oi=!1,dt=0,F.length>0?(Oi=!0,dt=Math.max(0,F[0].timestamp-h.now())):g=!1,W=!1,null!==(Tt=O)?f.onError(Tt):Oi&&kt(null,dt)}}))))}),new It(ie,y)},u)}function Ef(u,d,h){return ua(function(){return ic(u,d-h.now(),h)})}function A0(u,d,h){var f,g;return qe(d)?g=d:(f=d,g=h),new Sn(function(y){var O=new Mt,F=!1,W=new Lt;function ie(){W.setDisposable(u.subscribe(function(oe){var Ie=ye(g)(oe);if(Ie===Se)return y.onError(Ie.e);var gt=new Le;O.add(gt),gt.setDisposable(Ie.subscribe(function(){y.onNext(oe),O.remove(gt),J()},function(kt){y.onError(kt)},function(){y.onNext(oe),O.remove(gt),J()}))},function(oe){y.onError(oe)},function(){F=!0,W.dispose(),J()}))}function J(){F&&0===O.length&&y.onCompleted()}return f?W.setDisposable(f.subscribe(ie,function(oe){y.onError(oe)},ie)):ie(),new It(W,O)},u)}ze.timer=function(u,d,h){var f;return pn(h)||(h=ni),null!=d&&"number"==typeof d?f=d:pn(d)&&(h=d),(u instanceof Date||"number"==typeof u)&&f===cn?function T0(u,d){return new kg(u,d)}(u,h):u instanceof Date&&f!==cn?Ws(u,d,h):nc(u,f,h)},le.delay=function(){var u=arguments[0];if("number"==typeof u||u instanceof Date){var d=u,h=arguments[1];return pn(h)||(h=ni),d instanceof Date?Ef(this,d,h):ic(this,d,h)}if(ze.isObservable(u)||qe(u))return A0(this,u,arguments[1]);throw new Error("Invalid arguments")};var O0=function(u){function d(h,f,g){pn(g)||(g=ni),this.source=h,this._dt=f,this._s=g,u.call(this)}return H(d,u),d.prototype.subscribeCore=function(h){var f=new Lt;return new It(this.source.subscribe(new WD(h,this._dt,this._s,f)),f)},d}(Be),WD=function(u){function d(f,g,y,O){this._o=f,this._d=g,this._scheduler=y,this._c=O,this._v=null,this._hv=!1,this._id=0,u.call(this)}return H(d,u),d.prototype.next=function(f){this._hv=!0,this._v=f;var g=++this._id,y=new Le;this._c.setDisposable(y),y.setDisposable(this._scheduler.scheduleFuture(this,this._d,function(O,F){F._hv&&F._id===g&&F._o.onNext(f),F._hv=!1}))},d.prototype.error=function(f){this._c.dispose(),this._o.onError(f),this._hv=!1,this._id++},d.prototype.completed=function(){this._c.dispose(),this._hv&&this._o.onNext(this._v),this._o.onCompleted(),this._hv=!1,this._id++},d}(Fe);function jD(u,d){return new Sn(function(h){var f,g=!1,y=new Lt,O=0,F=u.subscribe(function(W){var ie=ye(d)(W);if(ie===Se)return h.onError(ie.e);tt(ie)&&(ie=mn(ie)),g=!0,f=W;var J=++O,oe=new Le;y.setDisposable(oe),oe.setDisposable(ie.subscribe(function(){g&&O===J&&h.onNext(f),g=!1,oe.dispose()},function(Ie){h.onError(Ie)},function(){g&&O===J&&h.onNext(f),g=!1,oe.dispose()}))},function(W){y.dispose(),h.onError(W),g=!1,O++},function(){y.dispose(),g&&h.onNext(f),h.onCompleted(),g=!1,O++});return new It(F,y)},u)}function gs(u){return u.toArray()}le.debounce=function(){if(qe(arguments[0]))return jD(this,arguments[0]);if("number"==typeof arguments[0])return new O0(this,arguments[0],arguments[1]);throw new Error("Invalid arguments")},le.windowWithTime=le.windowTime=function(u,d,h){var g,f=this;return null==d&&(g=u),pn(h)||(h=ni),"number"==typeof d?g=d:pn(d)&&(g=u,h=d),new Sn(function(y){var O,J,F=g,W=u,ie=[],oe=new Lt,Ie=0;return O=new Mt(oe),J=new Mr(O),ie.push(new bi),y.onNext(Qe(ie[0],J)),function gt(){var kt=new Le,Tt=!1,dt=!1;oe.setDisposable(kt),W===F?(Tt=!0,dt=!0):W0&&f-this._q[0].interval>=this._d;)this._o.onNext(this._q.shift().value)},d.prototype.error=function(h){this._o.onError(h)},d.prototype.completed=function(){for(var h=this._s.now();this._q.length>0&&h-this._q[0].interval>=this._d;)this._o.onNext(this._q.shift().value);this._o.onCompleted()},d}(Fe);le.skipLastWithTime=function(u,d){return pn(d)||(d=ni),new P0(this,u,d)};var R0=function(u){function d(h,f,g){this.source=h,this._d=f,this._s=g,u.call(this)}return H(d,u),d.prototype.subscribeCore=function(h){return this.source.subscribe(new Jc(h,this._d,this._s))},d}(Be),Jc=function(u){function d(h,f,g){this._o=h,this._d=f,this._s=g,this._q=[],u.call(this)}return H(d,u),d.prototype.next=function(h){var f=this._s.now();for(this._q.push({interval:f,value:h});this._q.length>0&&f-this._q[0].interval>=this._d;)this._q.shift()},d.prototype.error=function(h){this._o.onError(h)},d.prototype.completed=function(){for(var h=this._s.now();this._q.length>0;){var f=this._q.shift();h-f.interval<=this._d&&this._o.onNext(f.value)}this._o.onCompleted()},d}(Fe);le.takeLastWithTime=function(u,d){return pn(d)||(d=ni),new R0(this,u,d)},le.takeLastBufferWithTime=function(u,d){var h=this;return pn(d)||(d=ni),new Sn(function(f){var g=[];return h.subscribe(function(y){var O=d.now();for(g.push({interval:O,value:y});g.length>0&&O-g[0].interval>=u;)g.shift()},function(y){f.onError(y)},function(){for(var y=d.now(),O=[];g.length>0;){var F=g.shift();y-F.interval<=u&&O.push(F.value)}f.onNext(O),f.onCompleted()})},h)};var If=function(u){function d(f,g,y){this.source=f,this._d=g,this._s=y,u.call(this)}function h(f,g){g.onCompleted()}return H(d,u),d.prototype.subscribeCore=function(f){return new It(this._s.scheduleFuture(f,this._d,h),this.source.subscribe(f))},d}(Be);le.takeWithTime=function(u,d){return pn(d)||(d=ni),new If(this,u,d)};var Pf=function(u){function d(f,g,y){this.source=f,this._d=g,this._s=y,this._open=!1,u.call(this)}function h(f,g){g._open=!0}return H(d,u),d.prototype.subscribeCore=function(f){return new It(this._s.scheduleFuture(this,this._d,h),this.source.subscribe(new bd(f,this)))},d}(Be),bd=function(u){function d(h,f){this._o=h,this._p=f,u.call(this)}return H(d,u),d.prototype.next=function(h){this._p._open&&this._o.onNext(h)},d.prototype.error=function(h){this._o.onError(h)},d.prototype.completed=function(){this._o.onCompleted()},d}(Fe);le.skipWithTime=function(u,d){return pn(d)||(d=ni),new Pf(this,u,d)};var yd=function(u){function d(f,g,y){this.source=f,this._st=g,this._s=y,u.call(this)}function h(f,g){g._open=!0}return H(d,u),d.prototype.subscribeCore=function(f){return this._open=!1,new It(this._s.scheduleFuture(this,this._st,h),this.source.subscribe(new F0(f,this)))},d}(Be),F0=function(u){function d(h,f){this._o=h,this._p=f,u.call(this)}return H(d,u),d.prototype.next=function(h){this._p._open&&this._o.onNext(h)},d.prototype.error=function(h){this._o.onError(h)},d.prototype.completed=function(){this._o.onCompleted()},d}(Fe);le.skipUntilWithTime=function(u,d){return pn(d)||(d=ni),new yd(this,u,d)},le.takeUntilWithTime=function(u,d){pn(d)||(d=ni);var h=this;return new Sn(function(f){return new It(d.scheduleFuture(f,u,function(g,y){y.onCompleted()}),h.subscribe(f))},h)},le.throttle=function(u,d){pn(d)||(d=ni);var h=+u||0;if(h<=0)throw new RangeError("windowDuration cannot be less or equal zero.");var f=this;return new Sn(function(g){var y=0;return f.subscribe(function(O){var F=d.now();(0===y||F-y>=h)&&(y=F,g.onNext(O))},function(O){g.onError(O)},function(){g.onCompleted()})},f)};var Og=function(u){function d(h,f){this._o=h,this._xform=f,u.call(this)}return H(d,u),d.prototype.next=function(h){var f=ye(this._xform["@@transducer/step"]).call(this._xform,this._o,h);f===Se&&this._o.onError(f.e)},d.prototype.error=function(h){this._o.onError(h)},d.prototype.completed=function(){this._xform["@@transducer/result"](this._o)},d}(Fe);le.transduce=function(u){var d=this;return new Sn(function(h){var f=u(function Ig(u){return{"@@transducer/init":function(){return u},"@@transducer/step":function(d,h){return d.onNext(h)},"@@transducer/result":function(d){return d.onCompleted()}}}(h));return d.subscribe(new Og(h,f))},d)};var Pg=function(u){function d(h){this.source=h,u.call(this)}return H(d,u),d.prototype.subscribeCore=function(h){var f=new Le,g=new Mt,y={hasCurrent:!1,isStopped:!1,o:h,g};return g.add(f),f.setDisposable(this.source.subscribe(new Rg(y))),g},d}(Be),Rg=function(u){function d(f){this._s=f,u.call(this)}function h(f,g){this._s=f,this._i=g,u.call(this)}return H(d,u),d.prototype.next=function(f){if(!this._s.hasCurrent){this._s.hasCurrent=!0,tt(f)&&(f=mn(f));var g=new Le;this._s.g.add(g),g.setDisposable(f.subscribe(new h(this._s,g)))}},d.prototype.error=function(f){this._s.o.onError(f)},d.prototype.completed=function(){this._s.isStopped=!0,!this._s.hasCurrent&&1===this._s.g.length&&this._s.o.onCompleted()},H(h,u),h.prototype.next=function(f){this._s.o.onNext(f)},h.prototype.error=function(f){this._s.o.onError(f)},h.prototype.completed=function(){this._s.g.remove(this._i),this._s.hasCurrent=!1,this._s.isStopped&&1===this._s.g.length&&this._s.o.onCompleted()},d}(Fe);le.switchFirst=function(){return new Pg(this)},le.flatMapFirst=le.exhaustMap=function(u,d,h){return new ef(this,u,d,h).switchFirst()},le.flatMapWithMaxConcurrent=le.flatMapMaxConcurrent=function(u,d,h,f){return new ef(this,d,h,f).merge(u)};var N0=E.VirtualTimeScheduler=function(u){function d(f,g){this.clock=f,this.comparer=g,this.isEnabled=!1,this.queue=new hn(1024),u.call(this)}H(d,u);var h=d.prototype;return h.now=function(){return this.toAbsoluteTime(this.clock)},h.schedule=function(f,g){return this.scheduleAbsolute(f,this.clock,g)},h.scheduleFuture=function(f,g,y){var O=g instanceof Date?this.toRelativeTime(g-this.now()):this.toRelativeTime(g);return this.scheduleRelative(f,O,y)},h.add=Ne,h.toAbsoluteTime=Ne,h.toRelativeTime=Ne,h.schedulePeriodic=function(f,g,y){return new Jh(this,f,g,y).start()},h.scheduleRelative=function(f,g,y){var O=this.add(this.clock,g);return this.scheduleAbsolute(f,O,y)},h.start=function(){if(!this.isEnabled){this.isEnabled=!0;do{var f=this.getNext();null!==f?(this.comparer(f.dueTime,this.clock)>0&&(this.clock=f.dueTime),f.invoke()):this.isEnabled=!1}while(this.isEnabled)}},h.stop=function(){this.isEnabled=!1},h.advanceTo=function(f){var g=this.comparer(this.clock,f);if(this.comparer(this.clock,f)>0)throw new Ye;if(0!==g&&!this.isEnabled){this.isEnabled=!0;do{var y=this.getNext();null!==y&&this.comparer(y.dueTime,f)<=0?(this.comparer(y.dueTime,this.clock)>0&&(this.clock=y.dueTime),y.invoke()):this.isEnabled=!1}while(this.isEnabled);this.clock=f}},h.advanceBy=function(f){var g=this.add(this.clock,f),y=this.comparer(this.clock,g);if(y>0)throw new Ye;0!==y&&this.advanceTo(g)},h.sleep=function(f){var g=this.add(this.clock,f);if(this.comparer(this.clock,g)>=0)throw new Ye;this.clock=g},h.getNext=function(){for(;this.queue.length>0;){var f=this.queue.peek();if(!f.isCancelled())return f;this.queue.dequeue()}return null},h.scheduleAbsolute=function(f,g,y){var O=this,W=new Bs(this,f,function F(ie,J){return O.queue.remove(W),y(ie,J)},g,this.comparer);return this.queue.enqueue(W),W.disposable},d}(Bn);function eu(u){this.predicate=u}function oc(u){this.predicate=u}E.HistoricalScheduler=function(u){function d(f,g){u.call(this,f??0,g||he)}H(d,u);var h=d.prototype;return h.add=function(f,g){return f+g},h.toAbsoluteTime=function(f){return new Date(f).getTime()},h.toRelativeTime=function(f){return f},d}(E.VirtualTimeScheduler),eu.prototype.equals=function(u){return u===this||null!=u&&"N"===u.kind&&this.predicate(u.value)},oc.prototype.equals=function(u){return u===this||null!=u&&"E"===u.kind&&this.predicate(u.error)};var Rf=E.ReactiveTest={created:100,subscribed:200,disposed:1e3,onNext:function(u,d){return new Ko(u,"function"==typeof d?new eu(d):en.createOnNext(d))},onError:function(u,d){return new Ko(u,"function"==typeof d?new oc(d):en.createOnError(d))},onCompleted:function(u){return new Ko(u,en.createOnCompleted())},subscribe:function(u,d){return new Zo(u,d)}},Ko=E.Recorded=function(u,d,h){this.time=u,this.value=d,this.comparer=h||be};Ko.prototype.equals=function(u){return this.time===u.time&&this.comparer(this.value,u.value)},Ko.prototype.toString=function(){return this.value.toString()+"@"+this.time};var Zo=E.Subscription=function(u,d){this.subscribe=u,this.unsubscribe=d||Number.MAX_VALUE};Zo.prototype.equals=function(u){return this.subscribe===u.subscribe&&this.unsubscribe===u.unsubscribe},Zo.prototype.toString=function(){return"("+this.subscribe+", "+(this.unsubscribe===Number.MAX_VALUE?"Infinite":this.unsubscribe)+")"};var sc=E.MockDisposable=function(u){this.scheduler=u,this.disposes=[],this.disposes.push(this.scheduler.clock)};sc.prototype.dispose=function(){this.disposes.push(this.scheduler.clock)};var L0=function(u){function d(f){u.call(this),this.scheduler=f,this.messages=[]}H(d,u);var h=d.prototype;return h.onNext=function(f){this.messages.push(new Ko(this.scheduler.clock,en.createOnNext(f)))},h.onError=function(f){this.messages.push(new Ko(this.scheduler.clock,en.createOnError(f)))},h.onCompleted=function(){this.messages.push(new Ko(this.scheduler.clock,en.createOnCompleted()))},d}(Nr);function Ht(u,d){var h=this;this.scheduler=u,this.messages=d,this.subscriptions=[],this.observers=[];for(var f=0,g=this.messages.length;fg?1:f0},onCompleted:function(){if(et(this),!this.isStopped){this.isStopped=!0;for(var h=0,f=un(this.observers),g=f.length;h0},onCompleted:function(){var h;if(et(this),!this.isStopped){this.isStopped=!0;var g=un(this.observers),f=g.length;if(this.hasValue)for(h=0;h0},onCompleted:function(){if(et(this),!this.isStopped){this.isStopped=!0;for(var h=0,f=un(this.observers),g=f.length;h0},_trim:function(g){for(;this.q.length>this.bufferSize;)this.q.shift();for(;this.q.length>0&&g-this.q[0].interval>this.windowSize;)this.q.shift()},onNext:function(g){if(et(this),!this.isStopped){var y=this.scheduler.now();this.q.push({interval:y,value:g}),this._trim(y);for(var O=0,F=un(this.observers),W=F.length;O{Gi(Gi.s=2814)}]); \ No newline at end of file diff --git a/public/main.6619e47a0d6a1b9c.js b/public/main.6619e47a0d6a1b9c.js new file mode 100644 index 00000000..e027583d --- /dev/null +++ b/public/main.6619e47a0d6a1b9c.js @@ -0,0 +1 @@ +(self.webpackChunkkip=self.webpackChunkkip||[]).push([[179],{5210:(qi,ln,Yi)=>{"use strict";function Pt(t){return"function"==typeof t}function cn(t){const e=t(i=>{Error.call(i),i.stack=(new Error).stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}const j=cn(t=>function(e){t(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 ge(t,n){if(t){const e=t.indexOf(n);0<=e&&t.splice(e,1)}}class Z{constructor(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let n;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(Pt(i))try{i()}catch(o){n=o instanceof j?o.errors:[o]}const{_finalizers:r}=this;if(r){this._finalizers=null;for(const o of r)try{Mn(o)}catch(s){n=n??[],s instanceof j?n=[...n,...s.errors]:n.push(s)}}if(n)throw new j(n)}}add(n){var e;if(n&&n!==this)if(this.closed)Mn(n);else{if(n instanceof Z){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._finalizers=null!==(e=this._finalizers)&&void 0!==e?e:[]).push(n)}}_hasParent(n){const{_parentage:e}=this;return e===n||Array.isArray(e)&&e.includes(n)}_addParent(n){const{_parentage:e}=this;this._parentage=Array.isArray(e)?(e.push(n),e):e?[e,n]:n}_removeParent(n){const{_parentage:e}=this;e===n?this._parentage=null:Array.isArray(e)&&ge(e,n)}remove(n){const{_finalizers:e}=this;e&&ge(e,n),n instanceof Z&&n._removeParent(this)}}Z.EMPTY=(()=>{const t=new Z;return t.closed=!0,t})();const Ke=Z.EMPTY;function ot(t){return t instanceof Z||t&&"closed"in t&&Pt(t.remove)&&Pt(t.add)&&Pt(t.unsubscribe)}function Mn(t){Pt(t)?t():t.unsubscribe()}const ht={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Me={setTimeout(t,n,...e){const{delegate:i}=Me;return i?.setTimeout?i.setTimeout(t,n,...e):setTimeout(t,n,...e)},clearTimeout(t){const{delegate:n}=Me;return(n?.clearTimeout||clearTimeout)(t)},delegate:void 0};function qn(t){Me.setTimeout(()=>{const{onUnhandledError:n}=ht;if(!n)throw t;n(t)})}function x(){}const E=Ce("C",void 0,void 0);function Ce(t,n,e){return{kind:t,value:n,error:e}}let be=null;function he(t){if(ht.useDeprecatedSynchronousErrorHandling){const n=!be;if(n&&(be={errorThrown:!1,error:null}),t(),n){const{errorThrown:e,error:i}=be;if(be=null,e)throw i}}else t()}class Yt extends Z{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,ot(n)&&n.add(this)):this.destination=sr}static create(n,e,i){return new Se(n,e,i)}next(n){this.isStopped?si(function Q(t){return Ce("N",t,void 0)}(n),this):this._next(n)}error(n){this.isStopped?si(function V(t){return Ce("E",void 0,t)}(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?si(E,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(n){this.destination.next(n)}_error(n){try{this.destination.error(n)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const tt=Function.prototype.bind;function qe(t,n){return tt.call(t,n)}class un{constructor(n){this.partialObserver=n}next(n){const{partialObserver:e}=this;if(e.next)try{e.next(n)}catch(i){Fr(i)}}error(n){const{partialObserver:e}=this;if(e.error)try{e.error(n)}catch(i){Fr(i)}else Fr(n)}complete(){const{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(e){Fr(e)}}}class Se extends Yt{constructor(n,e,i){let r;if(super(),Pt(n)||!n)r={next:n??void 0,error:e??void 0,complete:i??void 0};else{let o;this&&ht.useDeprecatedNextContext?(o=Object.create(n),o.unsubscribe=()=>this.unsubscribe(),r={next:n.next&&qe(n.next,o),error:n.error&&qe(n.error,o),complete:n.complete&&qe(n.complete,o)}):r=n}this.destination=new un(r)}}function Fr(t){ht.useDeprecatedSynchronousErrorHandling?function Ue(t){ht.useDeprecatedSynchronousErrorHandling&&be&&(be.errorThrown=!0,be.error=t)}(t):qn(t)}function si(t,n){const{onStoppedNotification:e}=ht;e&&Me.setTimeout(()=>e(t,n))}const sr={closed:!0,next:x,error:function ye(t){throw t},complete:x},wo="function"==typeof Symbol&&Symbol.observable||"@@observable";function mr(t){return t}function so(t){return 0===t.length?mr:1===t.length?t[0]:function(e){return t.reduce((i,r)=>r(i),e)}}let bn=(()=>{class t{constructor(e){e&&(this._subscribe=e)}lift(e){const i=new t;return i.source=this,i.operator=e,i}subscribe(e,i,r){const o=function la(t){return t&&t instanceof Yt||function aa(t){return t&&Pt(t.next)&&Pt(t.error)&&Pt(t.complete)}(t)&&ot(t)}(e)?e:new Se(e,i,r);return he(()=>{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=cs(i))((r,o)=>{const s=new Se({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)}[wo](){return this}pipe(...e){return so(e)(this)}toPromise(e){return new(e=cs(e))((i,r)=>{let o;this.subscribe(s=>o=s,s=>r(s),()=>i(o))})}}return t.create=n=>new t(n),t})();function cs(t){var n;return null!==(n=t??ht.Promise)&&void 0!==n?n:Promise}const Wo=cn(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let pe=(()=>{class t extends bn{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(e){const i=new nt(this,this);return i.operator=e,i}_throwIfClosed(){if(this.closed)throw new Wo}next(e){he(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const i of this.currentObservers)i.next(e)}})}error(e){he(()=>{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(){he(()=>{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?Ke:(this.currentObservers=null,o.push(e),new Z(()=>{this.currentObservers=null,ge(o,e)}))}_checkFinalizedStatuses(e){const{hasError:i,thrownError:r,isStopped:o}=this;i?e.error(r):o&&e.complete()}asObservable(){const e=new bn;return e.source=this,e}}return t.create=(n,e)=>new nt(n,e),t})();class nt extends pe{constructor(n,e){super(),this.destination=n,this.source=e}next(n){var e,i;null===(i=null===(e=this.destination)||void 0===e?void 0:e.next)||void 0===i||i.call(e,n)}error(n){var e,i;null===(i=null===(e=this.destination)||void 0===e?void 0:e.error)||void 0===i||i.call(e,n)}complete(){var n,e;null===(e=null===(n=this.destination)||void 0===n?void 0:n.complete)||void 0===e||e.call(n)}_subscribe(n){var e,i;return null!==(i=null===(e=this.source)||void 0===e?void 0:e.subscribe(n))&&void 0!==i?i:Ke}}function Wt(t){return Pt(t?.lift)}function Ye(t){return n=>{if(Wt(n))return n.lift(function(e){try{return t(e,this)}catch(i){this.error(i)}});throw new TypeError("Unable to lift unknown Observable type")}}function Ot(t,n,e,i,r){return new Wn(t,n,e,i,r)}class Wn extends Yt{constructor(n,e,i,r,o,s){super(n),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=e?function(a){try{e(a)}catch(l){n.error(l)}}:super._next,this._error=r?function(a){try{r(a)}catch(l){n.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=i?function(){try{i()}catch(a){n.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:e}=this;super.unsubscribe(),!e&&(null===(n=this.onFinalize)||void 0===n||n.call(this))}}}function Ne(t,n){return Ye((e,i)=>{let r=0;e.subscribe(Ot(i,o=>{i.next(t.call(n,o,r++))}))})}function ar(t){return this instanceof ar?(this.v=t,this):new ar(t)}function Gl(t,n,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=e.apply(t,n||[]),o=[];return r={},s("next"),s("throw"),s("return"),r[Symbol.asyncIterator]=function(){return this},r;function s(_){i[_]&&(r[_]=function(C){return new Promise(function(k,A){o.push([_,C,k,A])>1||a(_,C)})})}function a(_,C){try{!function l(_){_.value instanceof ar?Promise.resolve(_.value.v).then(c,p):m(o[0][2],_)}(i[_](C))}catch(k){m(o[0][3],k)}}function c(_){a("next",_)}function p(_){a("throw",_)}function m(_,C){_(C),o.shift(),o.length&&a(o[0][0],o[0][1])}}function ds(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,n=t[Symbol.asyncIterator];return n?n.call(t):(t=function us(t){var n="function"==typeof Symbol&&Symbol.iterator,e=n&&t[n],i=0;if(e)return e.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}(t),e={},i("next"),i("throw"),i("return"),e[Symbol.asyncIterator]=function(){return this},e);function i(o){e[o]=t[o]&&function(s){return new Promise(function(a,l){!function r(o,s,a,l){Promise.resolve(l).then(function(c){o({value:c,done:a})},s)}(a,l,(s=t[o](s)).done,s.value)})}}}"function"==typeof SuppressedError&&SuppressedError;const L=t=>t&&"number"==typeof t.length&&"function"!=typeof t;function te(t){return Pt(t?.then)}function ce(t){return Pt(t[wo])}function Ee(t){return Symbol.asyncIterator&&Pt(t?.[Symbol.asyncIterator])}function Ge(t){return new TypeError(`You provided ${null!==t&&"object"==typeof t?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const S=function at(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function w(t){return Pt(t?.[S])}function T(t){return Gl(this,arguments,function*(){const e=t.getReader();try{for(;;){const{value:i,done:r}=yield ar(e.read());if(r)return yield ar(void 0);yield yield ar(i)}}finally{e.releaseLock()}})}function B(t){return Pt(t?.getReader)}function z(t){if(t instanceof bn)return t;if(null!=t){if(ce(t))return function Y(t){return new bn(n=>{const e=t[wo]();if(Pt(e.subscribe))return e.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(t);if(L(t))return function ee(t){return new bn(n=>{for(let e=0;e{t.then(e=>{n.closed||(n.next(e),n.complete())},e=>n.error(e)).then(null,qn)})}(t);if(Ee(t))return _e(t);if(w(t))return function ae(t){return new bn(n=>{for(const e of t)if(n.next(e),n.closed)return;n.complete()})}(t);if(B(t))return function H(t){return _e(T(t))}(t)}throw Ge(t)}function _e(t){return new bn(n=>{(function Ve(t,n){var e,i,r,o;return function Dt(t,n,e,i){return new(e||(e=Promise))(function(o,s){function a(p){try{c(i.next(p))}catch(m){s(m)}}function l(p){try{c(i.throw(p))}catch(m){s(m)}}function c(p){p.done?o(p.value):function r(o){return o instanceof e?o:new e(function(s){s(o)})}(p.value).then(a,l)}c((i=i.apply(t,n||[])).next())})}(this,void 0,void 0,function*(){try{for(e=ds(t);!(i=yield e.next()).done;)if(n.next(i.value),n.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}}n.complete()})})(t,n).catch(e=>n.error(e))})}function Qe(t,n,e,i=0,r=!1){const o=n.schedule(function(){e(),r?t.add(this.schedule(null,i)):this.unsubscribe()},i);if(t.add(o),!r)return o}function mt(t,n,e=1/0){return Pt(n)?mt((i,r)=>Ne((o,s)=>n(i,o,r,s))(z(t(i,r))),e):("number"==typeof n&&(e=n),Ye((i,r)=>function Nt(t,n,e,i,r,o,s,a){const l=[];let c=0,p=0,m=!1;const _=()=>{m&&!l.length&&!c&&n.complete()},C=A=>c{o&&n.next(A),c++;let P=!1;z(e(A,p++)).subscribe(Ot(n,N=>{r?.(N),o?C(N):n.next(N)},()=>{P=!0},void 0,()=>{if(P)try{for(c--;l.length&&ck(N)):k(N)}_()}catch(N){n.error(N)}}))};return t.subscribe(Ot(n,C,()=>{m=!0,_()})),()=>{a?.()}}(i,r,t,e)))}function hn(t=1/0){return mt(mr,t)}const St=new bn(t=>t.complete());function fn(t){return t&&Pt(t.schedule)}function Zt(t){return t[t.length-1]}function it(t){return Pt(Zt(t))?t.pop():void 0}function xt(t){return fn(Zt(t))?t.pop():void 0}function dn(t,n=0){return Ye((e,i)=>{e.subscribe(Ot(i,r=>Qe(i,t,()=>i.next(r),n),()=>Qe(i,t,()=>i.complete(),n),r=>Qe(i,t,()=>i.error(r),n)))})}function Le(t,n=0){return Ye((e,i)=>{i.add(t.schedule(()=>e.subscribe(i),n))})}function Ls(t,n){if(!t)throw new Error("Iterable cannot be null");return new bn(e=>{Qe(e,n,()=>{const i=t[Symbol.asyncIterator]();Qe(e,n,()=>{i.next().then(r=>{r.done?e.complete():e.next(r.value)})},0,!0)})})}function Bn(t,n){return n?function Vs(t,n){if(null!=t){if(ce(t))return function Lt(t,n){return z(t).pipe(Le(n),dn(n))}(t,n);if(L(t))return function Vi(t,n){return new bn(e=>{let i=0;return n.schedule(function(){i===t.length?e.complete():(e.next(t[i++]),e.closed||this.schedule())})})}(t,n);if(te(t))return function It(t,n){return z(t).pipe(Le(n),dn(n))}(t,n);if(Ee(t))return Ls(t,n);if(w(t))return function Mr(t,n){return new bn(e=>{let i;return Qe(e,n,()=>{i=t[S](),Qe(e,n,()=>{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)}),()=>Pt(i?.return)&&i.return()})}(t,n);if(B(t))return function Bs(t,n){return Ls(T(t),n)}(t,n)}throw Ge(t)}(t,n):z(t)}function Ki(...t){const n=xt(t),e=function et(t,n){return"number"==typeof Zt(t)?t.pop():n}(t,1/0),i=t;return i.length?1===i.length?z(i[0]):hn(e)(Bn(i,n)):St}function pn(t={}){const{connector:n=(()=>new pe),resetOnError:e=!0,resetOnComplete:i=!0,resetOnRefCountZero:r=!0}=t;return o=>{let s,a,l,c=0,p=!1,m=!1;const _=()=>{a?.unsubscribe(),a=void 0},C=()=>{_(),s=l=void 0,p=m=!1},k=()=>{const A=s;C(),A?.unsubscribe()};return Ye((A,P)=>{c++,!m&&!p&&_();const N=l=l??n();P.add(()=>{c--,0===c&&!m&&!p&&(a=ef(k,r))}),N.subscribe(P),!s&&c>0&&(s=new Se({next:G=>N.next(G),error:G=>{m=!0,_(),a=ef(C,e,G),N.error(G)},complete:()=>{p=!0,_(),a=ef(C,i),N.complete()}}),z(A).subscribe(s))})(o)}}function ef(t,n,...e){if(!0===n)return void t();if(!1===n)return;const i=new Se({next:()=>{i.unsubscribe(),t()}});return z(n(...e)).subscribe(i)}function _i(t){for(let n in t)if(t[n]===_i)return n;throw Error("Could not find renamed property on target object.")}function Ur(t,n){for(const e in n)n.hasOwnProperty(e)&&!t.hasOwnProperty(e)&&(t[e]=n[e])}function vi(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(vi).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;const n=t.toString();if(null==n)return""+n;const e=n.indexOf("\n");return-1===e?n:n.substring(0,e)}function Zi(t,n){return null==t||""===t?null===n?"":n:null==n||""===n?t:t+" "+n}const ua=_i({__forward_ref__:_i});function xn(t){return t.__forward_ref__=xn,t.toString=function(){return vi(this())},t}function Ut(t){return Wc(t)?t():t}function Wc(t){return"function"==typeof t&&t.hasOwnProperty(ua)&&t.__forward_ref__===xn}class ke extends Error{constructor(n,e){super(function ni(t,n){return`NG0${Math.abs(t)}${n?": "+n.trim():""}`}(n,e)),this.code=n}}function sn(t){return"string"==typeof t?t:null==t?"":String(t)}function jc(t,n){throw new ke(-201,!1)}function gr(t,n){null==t&&function Yn(t,n,e,i){throw new Error(`ASSERTION ERROR: ${t}`+(null==i?"":` [Expected=> ${e} ${i} ${n} <=Actual]`))}(n,t,null,"!=")}function Te(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function yt(t){return{providers:t.providers||[],imports:t.imports||[]}}function rd(t){return ig(t,da)||ig(t,og)}function ig(t,n){return t.hasOwnProperty(n)?t[n]:null}function rg(t){return t&&(t.hasOwnProperty(od)||t.hasOwnProperty(ql))?t[od]:null}const da=_i({\u0275prov:_i}),od=_i({\u0275inj:_i}),og=_i({ngInjectableDef:_i}),ql=_i({ngInjectorDef:_i});var Vt=(()=>((Vt=Vt||{})[Vt.Default=0]="Default",Vt[Vt.Host=1]="Host",Vt[Vt.Self=2]="Self",Vt[Vt.SkipSelf=4]="SkipSelf",Vt[Vt.Optional=8]="Optional",Vt))();let sd;function lo(t){const n=sd;return sd=t,n}function nf(t,n,e){const i=rd(t);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:e&Vt.Optional?null:void 0!==n?n:void jc(vi(t))}function ha(t){return{toString:t}.toString()}var fs=(()=>((fs=fs||{})[fs.OnPush=0]="OnPush",fs[fs.Default=1]="Default",fs))(),Uo=(()=>{return(t=Uo||(Uo={}))[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",Uo;var t})();const ai=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),Yl={},Kn=[],ad=_i({\u0275cmp:_i}),sf=_i({\u0275dir:_i}),Uc=_i({\u0275pipe:_i}),lg=_i({\u0275mod:_i}),Hs=_i({\u0275fac:_i}),Gc=_i({__NG_ELEMENT_ID__:_i});let cg=0;function Pe(t){return ha(()=>{const e=!0===t.standalone,i={},r={type:t.type,providersResolver:null,decls:t.decls,vars:t.vars,factory:null,template:t.template||null,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:i,inputs:null,outputs:null,exportAs:t.exportAs||null,onPush:t.changeDetection===fs.OnPush,directiveDefs:null,pipeDefs:null,standalone:e,dependencies:e&&t.dependencies||null,getStandaloneInjector:null,selectors:t.selectors||Kn,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||Uo.Emulated,id:"c"+cg++,styles:t.styles||Kn,_:null,setInput:null,schemas:t.schemas||null,tView:null},o=t.dependencies,s=t.features;return r.inputs=dg(t.inputs,i),r.outputs=dg(t.outputs),s&&s.forEach(a=>a(r)),r.directiveDefs=o?()=>("function"==typeof o?o():o).map(ug).filter(ps):null,r.pipeDefs=o?()=>("function"==typeof o?o():o).map(Qr).filter(ps):null,r})}function ug(t){return li(t)||Zr(t)}function ps(t){return null!==t}function Ct(t){return ha(()=>({type:t.type,bootstrap:t.bootstrap||Kn,declarations:t.declarations||Kn,imports:t.imports||Kn,exports:t.exports||Kn,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function dg(t,n){if(null==t)return Yl;const e={};for(const i in t)if(t.hasOwnProperty(i)){let r=t[i],o=r;Array.isArray(r)&&(o=r[1],r=r[0]),e[r]=i,n&&(n[r]=o)}return e}const fe=Pe;function Lr(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,standalone:!0===t.standalone,onDestroy:t.type.prototype.ngOnDestroy||null}}function li(t){return t[ad]||null}function Zr(t){return t[sf]||null}function Qr(t){return t[Uc]||null}function Co(t,n){const e=t[lg]||null;if(!e&&!0===n)throw new Error(`Type ${vi(t)} does not have '\u0275mod' property.`);return e}function uo(t){return Array.isArray(t)&&"object"==typeof t[1]}function $o(t){return Array.isArray(t)&&!0===t[1]}function uf(t){return 0!=(8&t.flags)}function dd(t){return 2==(2&t.flags)}function hd(t){return 1==(1&t.flags)}function qo(t){return null!==t.template}function Xy(t){return 0!=(256&t[2])}function pa(t,n){return t.hasOwnProperty(Hs)?t[Hs]:null}class mg{constructor(n,e,i){this.previousValue=n,this.currentValue=e,this.firstChange=i}isFirstChange(){return this.firstChange}}function Tn(){return hf}function hf(t){return t.type.prototype.ngOnChanges&&(t.setInput=s0),o0}function o0(){const t=_g(this),n=t?.current;if(n){const e=t.previous;if(e===Yl)t.previous=n;else for(let i in n)e[i]=n[i];t.current=null,this.ngOnChanges(n)}}function s0(t,n,e,i){const r=_g(t)||function a0(t,n){return t[gg]=n}(t,{previous:Yl,current:null}),o=r.current||(r.current={}),s=r.previous,a=this.declaredInputs[e],l=s[a];o[a]=new mg(l&&l.currentValue,n,s===Yl),t[i]=n}Tn.ngInherit=!0;const gg="__ngSimpleChanges__";function _g(t){return t[gg]||null}function cr(t){for(;Array.isArray(t);)t=t[0];return t}function fd(t,n){return cr(n[t])}function xo(t,n){return cr(n[t.index])}function gf(t,n){return t.data[n]}function Jl(t,n){return t[n]}function ko(t,n){const e=n[t];return uo(e)?e:e[0]}function pd(t){return 64==(64&t[2])}function ma(t,n){return null==n?null:t[n]}function _f(t){t[18]=0}function vf(t,n){t[5]+=n;let e=t,i=t[3];for(;null!==i&&(1===n&&1===e[5]||-1===n&&0===e[5]);)i[5]+=n,e=i,i=i[3]}const tn={lFrame:Cg(null),bindingsEnabled:!0};function bg(){return tn.bindingsEnabled}function Ae(){return tn.lFrame.lView}function Vn(){return tn.lFrame.tView}function ut(t){return tn.lFrame.contextLView=t,t[8]}function lt(t){return tn.lFrame.contextLView=null,t}function _r(){let t=Zc();for(;null!==t&&64===t.type;)t=t.parent;return t}function Zc(){return tn.lFrame.currentTNode}function ms(t,n){const e=tn.lFrame;e.currentTNode=t,e.isParent=n}function yf(){return tn.lFrame.isParent}function wf(){tn.lFrame.isParent=!1}function Xr(){const t=tn.lFrame;let n=t.bindingRootIndex;return-1===n&&(n=t.bindingRootIndex=t.tView.bindingStartIndex),n}function ec(){return tn.lFrame.bindingIndex++}function Ws(t){const n=tn.lFrame,e=n.bindingIndex;return n.bindingIndex=n.bindingIndex+t,e}function C0(t,n){const e=tn.lFrame;e.bindingIndex=e.bindingRootIndex=t,xf(n)}function xf(t){tn.lFrame.currentDirectiveIndex=t}function kf(t){const n=tn.lFrame.currentDirectiveIndex;return-1===n?null:t[n]}function Xc(){return tn.lFrame.currentQueryIndex}function Df(t){tn.lFrame.currentQueryIndex=t}function x0(t){const n=t[1];return 2===n.type?n.declTNode:1===n.type?t[6]:null}function yg(t,n,e){if(e&Vt.SkipSelf){let r=n,o=t;for(;!(r=r.parent,null!==r||e&Vt.Host||(r=x0(o),null===r||(o=o[15],10&r.type))););if(null===r)return!1;n=r,t=o}const i=tn.lFrame=wg();return i.currentTNode=n,i.lView=t,!0}function Mf(t){const n=wg(),e=t[1];tn.lFrame=n,n.currentTNode=e.firstChild,n.lView=t,n.tView=e,n.contextLView=t,n.bindingIndex=e.bindingStartIndex,n.inI18n=!1}function wg(){const t=tn.lFrame,n=null===t?null:t.child;return null===n?Cg(t):n}function Cg(t){const n={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return null!==t&&(t.child=n),n}function Sg(){const t=tn.lFrame;return tn.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const xg=Sg;function Tf(){const t=Sg();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function Jr(){return tn.lFrame.selectedIndex}function eo(t){tn.lFrame.selectedIndex=t}function Hi(){const t=tn.lFrame;return gf(t.tView,t.selectedIndex)}function vr(){tn.lFrame.currentNamespace="svg"}function Yo(){!function Jc(){tn.lFrame.currentNamespace=null}()}function gd(t,n){for(let e=n.directiveStart,i=n.directiveEnd;e=i)break}else n[l]<0&&(t[18]+=65536),(a>11>16&&(3&t[2])===n){t[2]+=2048;try{o.call(a)}finally{}}}else try{o.call(a)}finally{}}class nc{constructor(n,e,i){this.factory=n,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=i}}function gs(t,n,e){let i=0;for(;in){s=o-1;break}}}for(;o>16}(t),i=n;for(;e>0;)i=i[15],e--;return i}let If=!0;function bd(t){const n=If;return If=t,n}let R0=0;const _s={};function eu(t,n){const e=Rf(t,n);if(-1!==e)return e;const i=n[1];i.firstCreatePass&&(t.injectorIndex=n.length,Pf(i.data,t),Pf(n,null),Pf(i.blueprint,null));const r=yd(t,n),o=t.injectorIndex;if(Of(r)){const s=rc(r),a=Us(r,n),l=a[1].data;for(let c=0;c<8;c++)n[o+c]=a[s+c]|l[s+c]}return n[o+8]=r,o}function Pf(t,n){t.push(0,0,0,0,0,0,0,0,n)}function Rf(t,n){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===n[t.injectorIndex+8]?-1:t.injectorIndex}function yd(t,n){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let e=0,i=null,r=n;for(;null!==r;){if(i=Sn(r),null===i)return-1;if(e++,r=r[15],-1!==i.injectorIndex)return i.injectorIndex|e<<16}return-1}function wd(t,n,e){!function F0(t,n,e){let i;"string"==typeof e?i=e.charCodeAt(0)||0:e.hasOwnProperty(Gc)&&(i=e[Gc]),null==i&&(i=e[Gc]=R0++);const r=255&i;n.data[t+(r>>5)]|=1<=0?255&n:B0:n}(e);if("function"==typeof o){if(!yg(n,t,i))return i&Vt.Host?Ig(r,0,i):Pg(n,e,i,r);try{const s=o(i);if(null!=s||i&Vt.Optional)return s;jc()}finally{xg()}}else if("number"==typeof o){let s=null,a=Rf(t,n),l=-1,c=i&Vt.Host?n[16][6]:null;for((-1===a||i&Vt.SkipSelf)&&(l=-1===a?yd(t,n):n[a+8],-1!==l&&Zo(i,!1)?(s=n[1],a=rc(l),n=Us(l,n)):a=-1);-1!==a;){const p=n[1];if(Ko(o,a,p.data)){const m=L0(a,n,e,s,i,c);if(m!==_s)return m}l=n[a+8],-1!==l&&Zo(i,n[1].data[a+8]===c)&&Ko(o,a,n)?(s=p,a=rc(l),n=Us(l,n)):a=-1}}return r}function L0(t,n,e,i,r,o){const s=n[1],a=s.data[t+8],p=tu(a,s,e,null==i?dd(a)&&If:i!=s&&0!=(3&a.type),r&Vt.Host&&o===a);return null!==p?oc(n,s,p,a):_s}function tu(t,n,e,i,r){const o=t.providerIndexes,s=n.data,a=1048575&o,l=t.directiveStart,p=o>>20,_=r?a+p:t.directiveEnd;for(let C=i?a:a+p;C<_;C++){const k=s[C];if(C=l&&k.type===e)return C}if(r){const C=s[l];if(C&&qo(C)&&C.type===e)return l}return null}function oc(t,n,e,i){let r=t[e];const o=n.data;if(function A0(t){return t instanceof nc}(r)){const s=r;s.resolving&&function jy(t,n){const e=n?`. Dependency path: ${n.join(" > ")} > ${t}`:"";throw new ke(-200,`Circular dependency in DI detected for ${t}${e}`)}(function en(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():sn(t)}(o[e]));const a=bd(s.canSeeViewProviders);s.resolving=!0;const l=s.injectImpl?lo(s.injectImpl):null;yg(t,i,Vt.Default);try{r=t[e]=s.factory(void 0,o,t,i),n.firstCreatePass&&e>=i.directiveStart&&function T0(t,n,e){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:o}=n.type.prototype;if(i){const s=hf(n);(e.preOrderHooks||(e.preOrderHooks=[])).push(t,s),(e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(t,s)}r&&(e.preOrderHooks||(e.preOrderHooks=[])).push(0-t,r),o&&((e.preOrderHooks||(e.preOrderHooks=[])).push(t,o),(e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(t,o))}(e,o[e],n)}finally{null!==l&&lo(l),bd(a),s.resolving=!1,xg()}}return r}function Ko(t,n,e){return!!(e[n+(t>>5)]&1<{const n=t.prototype.constructor,e=n[Hs]||Nf(n),i=Object.prototype;let r=Object.getPrototypeOf(t.prototype).constructor;for(;r&&r!==i;){const o=r[Hs]||Nf(r);if(o&&o!==e)return o;r=Object.getPrototypeOf(r)}return o=>new o})}function Nf(t){return Wc(t)?()=>{const n=Nf(Ut(t));return n&&n()}:pa(t)}function Sn(t){const n=t[1],e=n.type;return 2===e?n.declTNode:1===e?t[6]:null}function ho(t){return function N0(t,n){if("class"===n)return t.classes;if("style"===n)return t.styles;const e=t.attrs;if(e){const i=e.length;let r=0;for(;r{const i=function Cd(t){return function(...e){if(t){const i=t(...e);for(const r in i)this[r]=i[r]}}}(n);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,p){const m=l.hasOwnProperty(rl)?l[rl]:Object.defineProperty(l,rl,{value:[]})[rl];for(;m.length<=p;)m.push(null);return(m[p]=m[p]||[]).push(s),l}}return e&&(r.prototype=Object.create(e.prototype)),r.prototype.ngMetadataName=t,r.annotationCls=r,r})}class u{constructor(n,e){this._desc=n,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof e?this.__NG_ELEMENT_ID__=e:void 0!==e&&(this.\u0275prov=Te({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function dt(t,n){void 0===n&&(n=t);for(let e=0;eArray.isArray(e)?Bt(e,n):n(e))}function Oi(t,n,e){n>=t.length?t.push(e):t.splice(n,0,e)}function pi(t,n){return n>=t.length-1?t.pop():t.splice(n,1)[0]}function nu(t,n){const e=[];for(let i=0;i=0?t[1|i]=e:(i=~i,function iB(t,n,e,i){let r=t.length;if(r==n)t.push(e,i);else if(1===r)t.push(i,t[0]),t[0]=e;else{for(r--,t.push(t[r-1],t[r]);r>n;)t[r]=t[r-2],r--;t[n]=e,t[n+1]=i}}(t,i,n,e)),i}function z0(t,n){const e=Sd(t,n);if(e>=0)return t[1|e]}function Sd(t,n){return function KD(t,n,e){let i=0,r=t.length>>e;for(;r!==i;){const o=i+(r-i>>1),s=t[o<n?r=o:i=o+1}return~(r<((Lo=Lo||{})[Lo.Important=1]="Important",Lo[Lo.DashCase=2]="DashCase",Lo))();const K0=new Map;let IB=0;const Q0="__ngContext__";function fo(t,n){uo(n)?(t[Q0]=n[20],function RB(t){K0.set(t[20],t)}(n)):t[Q0]=n}function J0(t,n){return undefined(t,n)}function jf(t){const n=t[3];return $o(n)?n[3]:n}function ew(t){return _M(t[13])}function tw(t){return _M(t[4])}function _M(t){for(;null!==t&&!$o(t);)t=t[4];return t}function Dd(t,n,e,i,r){if(null!=i){let o,s=!1;$o(i)?o=i:uo(i)&&(s=!0,i=i[0]);const a=cr(i);0===t&&null!==e?null==r?SM(n,e,a):iu(n,e,a,r||null,!0):1===t&&null!==e?iu(n,e,a,r||null,!0):2===t?function lw(t,n,e){const i=Hg(t,n);i&&function n8(t,n,e,i){t.removeChild(n,e,i)}(t,i,n,e)}(n,a,s):3===t&&n.destroyNode(a),null!=o&&function o8(t,n,e,i,r){const o=e[7];o!==cr(e)&&Dd(n,t,i,o,r);for(let a=10;a0&&(t[e-1][4]=i[4]);const o=pi(t,10+n);!function YB(t,n){Uf(t,n,n[11],2,null,null),n[0]=null,n[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 yM(t,n){if(!(128&n[2])){const e=n[11];e.destroyNode&&Uf(t,n,e,3,null,null),function QB(t){let n=t[13];if(!n)return ow(t[1],t);for(;n;){let e=null;if(uo(n))e=n[13];else{const i=n[10];i&&(e=i)}if(!e){for(;n&&!n[4]&&n!==t;)uo(n)&&ow(n[1],n),n=n[3];null===n&&(n=t),uo(n)&&ow(n[1],n),e=n&&n[4]}n=e}}(n)}}function ow(t,n){if(!(128&n[2])){n[2]&=-65,n[2]|=128,function t8(t,n){let e;if(null!=t&&null!=(e=t.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;ot,createScript:t=>t,createScriptURL:t=>t})}catch{}return jg}()?.createHTML(t)||t}function fw(){if(void 0===Ug&&(Ug=null,ai.trustedTypes))try{Ug=ai.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return Ug}function PM(t){return fw()?.createHTML(t)||t}function FM(t){return fw()?.createScriptURL(t)||t}class ou{constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class d8 extends ou{getTypeName(){return"HTML"}}class h8 extends ou{getTypeName(){return"Style"}}class f8 extends ou{getTypeName(){return"Script"}}class p8 extends ou{getTypeName(){return"URL"}}class m8 extends ou{getTypeName(){return"ResourceURL"}}function Xo(t){return t instanceof ou?t.changingThisBreaksApplicationSecurity:t}function ga(t,n){const e=function g8(t){return t instanceof ou&&t.getTypeName()||null}(t);if(null!=e&&e!==n){if("ResourceURL"===e&&"URL"===n)return!0;throw new Error(`Required a safe ${n}, got a ${e} (see https://g.co/ng/security#xss)`)}return e===n}class C8{constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n=""+n;try{const e=(new window.DOMParser).parseFromString(ru(n),"text/html").body;return null===e?this.inertDocumentHelper.getInertBodyElement(n):(e.removeChild(e.firstChild),e)}catch{return null}}}class S8{constructor(n){if(this.defaultDoc=n,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(n){const e=this.inertDocument.createElement("template");if("content"in e)return e.innerHTML=ru(n),e;const i=this.inertDocument.createElement("body");return i.innerHTML=ru(n),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(i),i}stripCustomNsAttrs(n){const e=n.attributes;for(let r=e.length-1;0"),!0}endElement(n){const e=n.nodeName.toLowerCase();pw.hasOwnProperty(e)&&!LM.hasOwnProperty(e)&&(this.buf.push(""))}chars(n){this.buf.push(zM(n))}checkClobberedElement(n,e){if(e&&(n.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${n.outerHTML}`);return e}}const T8=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,E8=/([^\#-~ |!])/g;function zM(t){return t.replace(/&/g,"&").replace(T8,function(n){return"&#"+(1024*(n.charCodeAt(0)-55296)+(n.charCodeAt(1)-56320)+65536)+";"}).replace(E8,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(//g,">")}let $g;function WM(t,n){let e=null;try{$g=$g||function NM(t){const n=new S8(t);return function x8(){try{return!!(new window.DOMParser).parseFromString(ru(""),"text/html")}catch{return!1}}()?new C8(n):n}(t);let i=n?String(n):"";e=$g.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=$g.getInertBodyElement(i)}while(i!==o);return ru((new M8).sanitizeChildren(gw(e)||e))}finally{if(e){const i=gw(e)||e;for(;i.firstChild;)i.removeChild(i.firstChild)}}}function gw(t){return"content"in t&&function A8(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var ci=(()=>((ci=ci||{})[ci.NONE=0]="NONE",ci[ci.HTML=1]="HTML",ci[ci.STYLE=2]="STYLE",ci[ci.SCRIPT=3]="SCRIPT",ci[ci.URL=4]="URL",ci[ci.RESOURCE_URL=5]="RESOURCE_URL",ci))();function _w(t){const n=$f();return n?PM(n.sanitize(ci.HTML,t)||""):ga(t,"HTML")?PM(Xo(t)):WM(function IM(){return void 0!==hw?hw:typeof document<"u"?document:void 0}(),sn(t))}function vw(t){const n=$f();return n?n.sanitize(ci.URL,t)||"":ga(t,"URL")?Xo(t):Gg(sn(t))}function bw(t){const n=$f();if(n)return FM(n.sanitize(ci.RESOURCE_URL,t)||"");if(ga(t,"ResourceURL"))return FM(Xo(t));throw new ke(904,!1)}function $f(){const t=Ae();return t&&t[12]}const yw=new u("ENVIRONMENT_INITIALIZER"),jM=new u("INJECTOR",-1),UM=new u("INJECTOR_DEF_TYPES");class GM{get(n,e=Lf){if(e===Lf){const i=new Error(`NullInjectorError: No provider for ${vi(n)}!`);throw i.name="NullInjectorError",i}return e}}function L8(...t){return{\u0275providers:$M(0,t)}}function $M(t,...n){const e=[],i=new Set;let r;return Bt(n,o=>{const s=o;ww(s,e,[],i)&&(r||(r=[]),r.push(s))}),void 0!==r&&qM(r,e),e}function qM(t,n){for(let e=0;e{n.push(o)})}}function ww(t,n,e,i){if(!(t=Ut(t)))return!1;let r=null,o=rg(t);const s=!o&&li(t);if(o||s){if(s&&!s.standalone)return!1;r=t}else{const l=t.ngModule;if(o=rg(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)ww(c,n,e,i)}}else{if(!o)return!1;{if(null!=o.imports&&!a){let c;i.add(r);try{Bt(o.imports,p=>{ww(p,n,e,i)&&(c||(c=[]),c.push(p))})}finally{}void 0!==c&&qM(c,n)}if(!a){const c=pa(r)||(()=>new r);n.push({provide:r,useFactory:c,deps:Kn},{provide:UM,useValue:r,multi:!0},{provide:yw,useValue:()=>K(r),multi:!0})}const l=o.providers;null==l||a||Bt(l,p=>{n.push(p)})}}return r!==t&&void 0!==t.providers}const B8=_i({provide:String,useValue:_i});function Cw(t){return null!==t&&"object"==typeof t&&B8 in t}function su(t){return"function"==typeof t}const Sw=new u("Set Injector scope."),qg={},H8={};let xw;function Yg(){return void 0===xw&&(xw=new GM),xw}class lc{}class ZM extends lc{constructor(n,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,Dw(n,s=>this.processProvider(s)),this.records.set(jM,Md(void 0,this)),r.has("environment")&&this.records.set(lc,Md(void 0,this));const o=this.records.get(Sw);null!=o&&"string"==typeof o.value&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(UM.multi,Kn,Vt.Self))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const n of this._ngOnDestroyHooks)n.ngOnDestroy();for(const n of this._onDestroyHooks)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(n){this._onDestroyHooks.push(n)}runInContext(n){this.assertNotDestroyed();const e=xd(this),i=lo(void 0);try{return n()}finally{xd(e),lo(i)}}get(n,e=Lf,i=Vt.Default){this.assertNotDestroyed();const r=xd(this),o=lo(void 0);try{if(!(i&Vt.SkipSelf)){let a=this.records.get(n);if(void 0===a){const l=function G8(t){return"function"==typeof t||"object"==typeof t&&t instanceof u}(n)&&rd(n);a=l&&this.injectableDefInScope(l)?Md(kw(n),qg):null,this.records.set(n,a)}if(null!=a)return this.hydrate(n,a)}return(i&Vt.Self?Yg():this.parent).get(n,e=i&Vt.Optional&&e===Lf?null:e)}catch(s){if("NullInjectorError"===s.name){if((s[Lg]=s[Lg]||[]).unshift(vi(n)),r)throw s;return function mB(t,n,e,i){const r=t[Lg];throw n[ZD]&&r.unshift(n[ZD]),t.message=function gB(t,n,e,i=null){t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.slice(2):t;let r=vi(n);if(Array.isArray(n))r=n.map(vi).join(" -> ");else if("object"==typeof n){let o=[];for(let s in n)if(n.hasOwnProperty(s)){let a=n[s];o.push(s+":"+("string"==typeof a?JSON.stringify(a):vi(a)))}r=`{${o.join(", ")}}`}return`${e}${i?"("+i+")":""}[${r}]: ${t.replace(dB,"\n ")}`}("\n"+t.message,r,e,i),t.ngTokenPath=r,t[Lg]=null,t}(s,n,"R3InjectorError",this.source)}throw s}finally{lo(o),xd(r)}}resolveInjectorInitializers(){const n=xd(this),e=lo(void 0);try{const i=this.get(yw.multi,Kn,Vt.Self);for(const r of i)r()}finally{xd(n),lo(e)}}toString(){const n=[],e=this.records;for(const i of e.keys())n.push(vi(i));return`R3Injector[${n.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new ke(205,!1)}processProvider(n){let e=su(n=Ut(n))?n:Ut(n&&n.provide);const i=function W8(t){return Cw(t)?Md(void 0,t.useValue):Md(QM(t),qg)}(n);if(su(n)||!0!==n.multi)this.records.get(e);else{let r=this.records.get(e);r||(r=Md(void 0,qg,!0),r.factory=()=>U0(r.multi),this.records.set(e,r)),e=n,r.multi.push(n)}this.records.set(e,i)}hydrate(n,e){return e.value===qg&&(e.value=H8,e.value=e.factory()),"object"==typeof e.value&&e.value&&function U8(t){return null!==t&&"object"==typeof t&&"function"==typeof t.ngOnDestroy}(e.value)&&this._ngOnDestroyHooks.add(e.value),e.value}injectableDefInScope(n){if(!n.providedIn)return!1;const e=Ut(n.providedIn);return"string"==typeof e?"any"===e||this.scopes.has(e):this.injectorDefTypes.has(e)}}function kw(t){const n=rd(t),e=null!==n?n.factory:pa(t);if(null!==e)return e;if(t instanceof u)throw new ke(204,!1);if(t instanceof Function)return function z8(t){const n=t.length;if(n>0)throw nu(n,"?"),new ke(204,!1);const e=function mn(t){const n=t&&(t[da]||t[og]);if(n){const e=function Ky(t){if(t.hasOwnProperty("name"))return t.name;const n=(""+t).match(/^function\s*([^\s(]+)/);return null===n?"":n[1]}(t);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.`),n}return null}(t);return null!==e?()=>e.factory(t):()=>new t}(t);throw new ke(204,!1)}function QM(t,n,e){let i;if(su(t)){const r=Ut(t);return pa(r)||kw(r)}if(Cw(t))i=()=>Ut(t.useValue);else if(function KM(t){return!(!t||!t.useFactory)}(t))i=()=>t.useFactory(...U0(t.deps||[]));else if(function YM(t){return!(!t||!t.useExisting)}(t))i=()=>K(Ut(t.useExisting));else{const r=Ut(t&&(t.useClass||t.provide));if(!function j8(t){return!!t.deps}(t))return pa(r)||kw(r);i=()=>new r(...U0(t.deps))}return i}function Md(t,n,e=!1){return{factory:t,value:n,multi:e?[]:void 0}}function $8(t){return!!t.\u0275providers}function Dw(t,n){for(const e of t)Array.isArray(e)?Dw(e,n):$8(e)?Dw(e.\u0275providers,n):n(e)}class XM{}class K8{resolveComponentFactory(n){throw function Y8(t){const n=Error(`No component factory found for ${vi(t)}. Did you add it to @NgModule.entryComponents?`);return n.ngComponent=t,n}(n)}}let cc=(()=>{class t{}return t.NULL=new K8,t})();function Z8(){return Td(_r(),Ae())}function Td(t,n){return new xe(xo(t,n))}let xe=(()=>{class t{constructor(e){this.nativeElement=e}}return t.__NG_ELEMENT_ID__=Z8,t})();function Q8(t){return t instanceof xe?t.nativeElement:t}class qf{}let vs=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>function X8(){const t=Ae(),e=ko(_r().index,t);return(uo(e)?e:t)[11]}(),t})(),J8=(()=>{class t{}return t.\u0275prov=Te({token:t,providedIn:"root",factory:()=>null}),t})();class au{constructor(n){this.full=n,this.major=n.split(".")[0],this.minor=n.split(".")[1],this.patch=n.split(".").slice(2).join(".")}}const eV=new au("14.3.0"),Mw={};function Ew(t){return t.ngOriginalError}class cl{constructor(){this._console=console}handleError(n){const e=this._findOriginalError(n);this._console.error("ERROR",n),e&&this._console.error("ORIGINAL ERROR",e)}_findOriginalError(n){let e=n&&Ew(n);for(;e&&Ew(e);)e=Ew(e);return e||null}}function eT(t){return t.ownerDocument.defaultView}function ul(t){return t instanceof Function?t():t}function nT(t,n,e){let i=t.length;for(;;){const r=t.indexOf(n,e);if(-1===r)return r;if(0===r||t.charCodeAt(r-1)<=32){const o=n.length;if(r+o===i||t.charCodeAt(r+o)<=32)return r}e=r+1}}const iT="ng-template";function uV(t,n,e){let i=0;for(;io?"":r[m+1].toLowerCase();const C=8&i?_:null;if(C&&-1!==nT(C,c,0)||2&i&&c!==_){if($s(i))return!1;s=!0}}}}else{if(!s&&!$s(i)&&!$s(l))return!1;if(s&&$s(l))continue;s=!1,i=l|1&i}}return $s(i)||s}function $s(t){return 0==(1&t)}function fV(t,n,e,i){if(null===n)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&&!$s(s)&&(n+=sT(o,r),r=""),i=s,o=o||!$s(i);e++}return""!==r&&(n+=sT(o,r)),n}const _n={};function I(t){aT(Vn(),Ae(),Jr()+t,!1)}function aT(t,n,e,i){if(!i)if(3==(3&n[2])){const o=t.preOrderCheckHooks;null!==o&&_d(n,o,e)}else{const o=t.preOrderHooks;null!==o&&tc(n,o,0,e)}eo(e)}function dT(t,n=null,e=null,i){const r=hT(t,n,e,i);return r.resolveInjectorInitializers(),r}function hT(t,n=null,e=null,i,r=new Set){const o=[e||Kn,L8(t)];return i=i||("object"==typeof t?void 0:vi(t)),new ZM(o,n||Yg(),i||null,r)}let Xi=(()=>{class t{static create(e,i){if(Array.isArray(e))return dT({name:""},i,e,"");{const r=e.name??"";return dT({name:r},e.parent,e.providers,r)}}}return t.THROW_IF_NOT_FOUND=Lf,t.NULL=new GM,t.\u0275prov=Te({token:t,providedIn:"any",factory:()=>K(jM)}),t.__NG_ELEMENT_ID__=-1,t})();function D(t,n=Vt.Default){const e=Ae();return null===e?K(t,n):Rg(_r(),e,Ut(t),n)}function _a(){throw new Error("invalid")}function Zg(t,n){return t<<17|n<<2}function qs(t){return t>>17&32767}function Rw(t){return 2|t}function dl(t){return(131068&t)>>2}function Fw(t,n){return-131069&t|n<<2}function Nw(t){return 1|t}function ET(t,n){const e=t.contentQueries;if(null!==e)for(let i=0;i22&&aT(t,n,22,!1),e(i,r)}finally{eo(o)}}function OT(t,n,e){if(uf(n)){const r=n.directiveEnd;for(let o=n.directiveStart;o0;){const e=t[--n];if("number"==typeof e&&e<0)return e}return 0})(a)!=l&&a.push(l),a.push(i,r,s)}}function BT(t,n){null!==t.hostBindings&&t.hostBindings(1,n)}function VT(t,n){n.flags|=2,(t.components||(t.components=[])).push(n.index)}function u7(t,n,e){if(e){if(n.exportAs)for(let i=0;i0&&Qw(e)}}function Qw(t){for(let i=ew(t);null!==i;i=tw(i))for(let r=10;r0&&Qw(o)}const e=t[1].components;if(null!==e)for(let i=0;i0&&Qw(r)}}function _7(t,n){const e=ko(n,t),i=e[1];(function v7(t,n){for(let e=n.length;e-1&&(rw(n,i),pi(e,i))}this._attachedToViewContainer=!1}yM(this._lView[1],this._lView)}onDestroy(n){PT(this._lView[1],this._lView,null,n)}markForCheck(){Xw(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-65}reattach(){this._lView[2]|=64}detectChanges(){n_(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new ke(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function ZB(t,n){Uf(t,n,n[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new ke(902,!1);this._appRef=n}}class b7 extends Yf{constructor(n){super(n),this._view=n}detectChanges(){const n=this._view;n_(n[1],n,n[8],!1)}checkNoChanges(){}get context(){return null}}class t1 extends cc{constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){const e=li(n);return new Kf(e,this.ngModule)}}function qT(t){const n=[];for(let e in t)t.hasOwnProperty(e)&&n.push({propName:t[e],templateName:e});return n}class w7{constructor(n,e){this.injector=n,this.parentInjector=e}get(n,e,i){const r=this.injector.get(n,Mw,i);return r!==Mw||e===Mw?r:this.parentInjector.get(n,e,i)}}class Kf extends XM{constructor(n,e){super(),this.componentDef=n,this.ngModule=e,this.componentType=n.type,this.selector=function bV(t){return t.map(vV).join(",")}(n.selectors),this.ngContentSelectors=n.ngContentSelectors?n.ngContentSelectors:[],this.isBoundToModule=!!e}get inputs(){return qT(this.componentDef.inputs)}get outputs(){return qT(this.componentDef.outputs)}create(n,e,i,r){let o=(r=r||this.ngModule)instanceof lc?r:r?.injector;o&&null!==this.componentDef.getStandaloneInjector&&(o=this.componentDef.getStandaloneInjector(o)||o);const s=o?new w7(n,o):n,a=s.get(qf,null);if(null===a)throw new ke(407,!1);const l=s.get(J8,null),c=a.createRenderer(null,this.componentDef),p=this.componentDef.selectors[0][0]||"div",m=i?function JV(t,n,e){return t.selectRootElement(n,e===Uo.ShadowDom)}(c,i,this.componentDef.encapsulation):iw(c,p,function y7(t){const n=t.toLowerCase();return"svg"===n?"svg":"math"===n?"math":null}(p)),_=this.componentDef.onPush?288:272,C=Yw(0,null,null,1,0,null,null,null,null,null),k=Jg(null,C,null,_,null,null,a,c,l,s,null);let A,P;Mf(k);try{const N=function x7(t,n,e,i,r,o){const s=e[1];e[22]=t;const l=Od(s,22,2,"#host",null),c=l.mergedAttrs=n.hostAttrs;null!==c&&(i_(l,c,!0),null!==t&&(gs(r,t,c),null!==l.classes&&uw(r,t,l.classes),null!==l.styles&&OM(r,t,l.styles)));const p=i.createRenderer(t,n),m=Jg(e,IT(n),null,n.onPush?32:16,e[22],l,i,p,o||null,null,null);return s.firstCreatePass&&(wd(eu(l,e),s,n.type),VT(s,l),HT(l,e.length,1)),t_(e,m),e[22]=m}(m,this.componentDef,k,a,c);if(m)if(i)gs(c,m,["ng-version",eV.full]);else{const{attrs:G,classes:U}=function yV(t){const n=[],e=[];let i=1,r=2;for(;i0&&uw(c,m,U.join(" "))}if(P=gf(C,22),void 0!==e){const G=P.projection=[];for(let U=0;U=0;i--){const r=t[i];r.hostVars=n+=r.hostVars,r.hostAttrs=vd(r.hostAttrs,e=vd(e,r.hostAttrs))}}(i)}function n1(t){return t===Yl?{}:t===Kn?[]:t}function T7(t,n){const e=t.viewQuery;t.viewQuery=e?(i,r)=>{n(i,r),e(i,r)}:n}function E7(t,n){const e=t.contentQueries;t.contentQueries=e?(i,r,o)=>{n(i,r,o),e(i,r,o)}:n}function A7(t,n){const e=t.hostBindings;t.hostBindings=e?(i,r)=>{n(i,r),e(i,r)}:n}let o_=null;function lu(){if(!o_){const t=ai.Symbol;if(t&&t.iterator)o_=t.iterator;else{const n=Object.getOwnPropertyNames(Map.prototype);for(let e=0;ea(cr(se[i.index])):i.index;let X=null;if(!a&&l&&(X=function W7(t,n,e,i){const r=t.cleanup;if(null!=r)for(let o=0;ol?a[l]:null}"string"==typeof s&&(o+=2)}return null}(t,n,r,i.index)),null!==X)(X.__ngLastListenerFn__||X).__ngNextListenerFn__=o,X.__ngLastListenerFn__=o,C=!1;else{o=aE(i,n,m,o,!1);const se=e.listen(N,r,o);_.push(o,se),p&&p.push(r,U,G,G+1)}}else o=aE(i,n,m,o,!1);const k=i.outputs;let A;if(C&&null!==k&&(A=k[r])){const P=A.length;if(P)for(let N=0;N0;)n=n[15],t--;return n}(t,tn.lFrame.contextLView))[8]}(t)}function j7(t,n){let e=null;const i=function pV(t){const n=t.attrs;if(null!=n){const e=n.indexOf(5);if(0==(1&e))return n[e+1]}return null}(t);for(let r=0;r=0}const Br={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function _E(t){return t.substring(Br.key,Br.keyEnd)}function vE(t,n){const e=Br.textEnd;return e===n?-1:(n=Br.keyEnd=function Z7(t,n,e){for(;n32;)n++;return n}(t,Br.key=n,e),Wd(t,n,e))}function Wd(t,n,e){for(;n=0;e=vE(n,e))Qo(t,_E(n),!0)}function Ys(t,n,e,i){const r=Ae(),o=Vn(),s=Ws(2);o.firstUpdatePass&&kE(o,t,s,i),n!==_n&&po(r,s,n)&&ME(o,o.data[Jr()],r,r[11],t,r[s+1]=function s9(t,n){return null==t||("string"==typeof n?t+=n:"object"==typeof t&&(t=vi(Xo(t)))),t}(n,e),i,s)}function Ks(t,n,e,i){const r=Vn(),o=Ws(2);r.firstUpdatePass&&kE(r,null,o,i);const s=Ae();if(e!==_n&&po(s,o,e)){const a=r.data[Jr()];if(EE(a,i)&&!xE(r,o)){let l=i?a.classesWithoutHost:a.stylesWithoutHost;null!==l&&(e=Zi(l,e||"")),o1(r,a,s,e,i)}else!function o9(t,n,e,i,r,o,s,a){r===_n&&(r=Kn);let l=0,c=0,p=0=t.expandoStartIndex}function kE(t,n,e,i){const r=t.data;if(null===r[e+1]){const o=r[Jr()],s=xE(t,e);EE(o,i)&&null===n&&!s&&(n=!1),n=function e9(t,n,e,i){const r=kf(t);let o=i?n.residualClasses:n.residualStyles;if(null===r)0===(i?n.classBindings:n.styleBindings)&&(e=Jf(e=l1(null,t,n,e,i),n.attrs,i),o=null);else{const s=n.directiveStylingLast;if(-1===s||t[s]!==r)if(e=l1(r,t,n,e,i),null===o){let l=function t9(t,n,e){const i=e?n.classBindings:n.styleBindings;if(0!==dl(i))return t[qs(i)]}(t,n,i);void 0!==l&&Array.isArray(l)&&(l=l1(null,t,n,l[1],i),l=Jf(l,n.attrs,i),function n9(t,n,e,i){t[qs(e?n.classBindings:n.styleBindings)]=i}(t,n,i,l))}else o=function i9(t,n,e){let i;const r=n.directiveEnd;for(let o=1+n.directiveStylingLast;o0)&&(c=!0)}else p=e;if(r)if(0!==l){const _=qs(t[a+1]);t[i+1]=Zg(_,a),0!==_&&(t[_+1]=Fw(t[_+1],i)),t[a+1]=function VV(t,n){return 131071&t|n<<17}(t[a+1],i)}else t[i+1]=Zg(a,0),0!==a&&(t[a+1]=Fw(t[a+1],i)),a=i;else t[i+1]=Zg(l,0),0===a?a=i:t[l+1]=Fw(t[l+1],i),l=i;c&&(t[i+1]=Rw(t[i+1])),gE(t,p,i,!0),gE(t,p,i,!1),function G7(t,n,e,i,r){const o=r?t.residualClasses:t.residualStyles;null!=o&&"string"==typeof n&&Sd(o,n)>=0&&(e[i+1]=Nw(e[i+1]))}(n,p,t,i,o),s=Zg(a,l),o?n.classBindings=s:n.styleBindings=s}(r,o,n,e,s,i)}}function l1(t,n,e,i,r){let o=null;const s=e.directiveEnd;let a=e.directiveStylingLast;for(-1===a?a=e.directiveStart:a++;a0;){const l=t[r],c=Array.isArray(l),p=c?l[1]:l,m=null===p;let _=e[r+1];_===_n&&(_=m?Kn:void 0);let C=m?z0(_,i):p===i?_:void 0;if(c&&!l_(C)&&(C=z0(l,i)),l_(C)&&(a=C,s))return a;const k=t[r+1];r=s?qs(k):dl(k)}if(null!==n){let l=o?n.residualClasses:n.residualStyles;null!=l&&(a=z0(l,i))}return a}function l_(t){return void 0!==t}function EE(t,n){return 0!=(t.flags&(n?16:32))}function M(t,n=""){const e=Ae(),i=Vn(),r=t+22,o=i.firstCreatePass?Od(i,r,1,n,null):i.data[r],s=e[r]=function nw(t,n){return t.createText(n)}(e[11],n);zg(i,e,s,o),ms(o,!1)}function Qn(t){return vn("",t,""),Qn}function vn(t,n,e){const i=Ae(),r=Rd(i,t,n,e);return r!==_n&&hl(i,Jr(),r),vn}function jd(t,n,e,i,r){const o=Ae(),s=Fd(o,t,n,e,i,r);return s!==_n&&hl(o,Jr(),s),jd}function c1(t,n,e){Ks(Qo,wa,Rd(Ae(),t,n,e),!0)}function ys(t,n,e){const i=Ae();return po(i,ec(),n)&&Jo(Vn(),Hi(),i,t,n,i[11],e,!0),ys}function c_(t,n,e){const i=Ae();if(po(i,ec(),n)){const o=Vn(),s=Hi();Jo(o,s,i,t,n,GT(kf(o.data),s,i),e,!0)}return c_}const uu=void 0;var k9=["en",[["a","p"],["AM","PM"],uu],[["AM","PM"],uu,uu],[["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"]],uu,[["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"]],uu,[["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}",uu,"{1} 'at' {0}",uu],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function x9(t){const e=Math.floor(Math.abs(t)),i=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===i?1:5}];let Ud={};function Mo(t){const n=function D9(t){return t.toLowerCase().replace(/_/g,"-")}(t);let e=qE(n);if(e)return e;const i=n.split("-")[0];if(e=qE(i),e)return e;if("en"===i)return k9;throw new ke(701,!1)}function qE(t){return t in Ud||(Ud[t]=ai.ng&&ai.ng.common&&ai.ng.common.locales&&ai.ng.common.locales[t]),Ud[t]}var rt=(()=>((rt=rt||{})[rt.LocaleId=0]="LocaleId",rt[rt.DayPeriodsFormat=1]="DayPeriodsFormat",rt[rt.DayPeriodsStandalone=2]="DayPeriodsStandalone",rt[rt.DaysFormat=3]="DaysFormat",rt[rt.DaysStandalone=4]="DaysStandalone",rt[rt.MonthsFormat=5]="MonthsFormat",rt[rt.MonthsStandalone=6]="MonthsStandalone",rt[rt.Eras=7]="Eras",rt[rt.FirstDayOfWeek=8]="FirstDayOfWeek",rt[rt.WeekendRange=9]="WeekendRange",rt[rt.DateFormat=10]="DateFormat",rt[rt.TimeFormat=11]="TimeFormat",rt[rt.DateTimeFormat=12]="DateTimeFormat",rt[rt.NumberSymbols=13]="NumberSymbols",rt[rt.NumberFormats=14]="NumberFormats",rt[rt.CurrencyCode=15]="CurrencyCode",rt[rt.CurrencySymbol=16]="CurrencySymbol",rt[rt.CurrencyName=17]="CurrencyName",rt[rt.Currencies=18]="Currencies",rt[rt.Directionality=19]="Directionality",rt[rt.PluralCase=20]="PluralCase",rt[rt.ExtraData=21]="ExtraData",rt))();const Gd="en-US";let YE=Gd;function h1(t,n,e,i,r){if(t=Ut(t),Array.isArray(t))for(let o=0;o>20;if(su(t)||!t.multi){const C=new nc(l,r,D),k=p1(a,n,r?p:p+_,m);-1===k?(wd(eu(c,s),o,a),f1(o,t,n.length),n.push(a),c.directiveStart++,c.directiveEnd++,r&&(c.providerIndexes+=1048576),e.push(C),s.push(C)):(e[k]=C,s[k]=C)}else{const C=p1(a,n,p+_,m),k=p1(a,n,p,p+_),A=C>=0&&e[C],P=k>=0&&e[k];if(r&&!P||!r&&!A){wd(eu(c,s),o,a);const N=function SH(t,n,e,i,r){const o=new nc(t,e,D);return o.multi=[],o.index=n,o.componentProviders=0,bA(o,r,i&&!e),o}(r?CH:wH,e.length,r,i,l);!r&&P&&(e[k].providerFactory=N),f1(o,t,n.length,0),n.push(a),c.directiveStart++,c.directiveEnd++,r&&(c.providerIndexes+=1048576),e.push(N),s.push(N)}else f1(o,t,C>-1?C:k,bA(e[r?k:C],l,!r&&i));!r&&i&&P&&e[k].componentProviders++}}}function f1(t,n,e,i){const r=su(n),o=function V8(t){return!!t.useClass}(n);if(r||o){const l=(o?Ut(n.useClass):n).prototype.ngOnDestroy;if(l){const c=t.destroyHooks||(t.destroyHooks=[]);if(!r&&n.multi){const p=c.indexOf(e);-1===p?c.push(e,[i,l]):c[p+1].push(i,l)}else c.push(e,l)}}}function bA(t,n,e){return e&&t.componentProviders++,t.multi.push(n)-1}function p1(t,n,e,i){for(let r=e;r{e.providersResolver=(i,r)=>function yH(t,n,e){const i=Vn();if(i.firstCreatePass){const r=qo(t);h1(e,i.data,i.blueprint,r,!0),h1(n,i.data,i.blueprint,r,!1)}}(i,r?r(t):t,n)}}class du{}class yA{}class wA extends du{constructor(n,e){super(),this._parent=e,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new t1(this);const i=Co(n);this._bootstrapComponents=ul(i.bootstrap),this._r3Injector=hT(n,e,[{provide:du,useValue:this},{provide:cc,useValue:this.componentFactoryResolver}],vi(n),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(n)}get injector(){return this._r3Injector}destroy(){const n=this._r3Injector;!n.destroyed&&n.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null}onDestroy(n){this.destroyCbs.push(n)}}class g1 extends yA{constructor(n){super(),this.moduleType=n}create(n){return new wA(this.moduleType,n)}}class kH extends du{constructor(n,e,i){super(),this.componentFactoryResolver=new t1(this),this.instance=null;const r=new ZM([...n,{provide:du,useValue:this},{provide:cc,useValue:this.componentFactoryResolver}],e||Yg(),i,new Set(["environment"]));this.injector=r,r.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}}function p_(t,n,e=null){return new kH(t,n,e).injector}let DH=(()=>{class t{constructor(e){this._injector=e,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(e){if(!e.standalone)return null;if(!this.cachedInjectors.has(e.id)){const i=$M(0,e.type),r=i.length>0?p_([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 t.\u0275prov=Te({token:t,providedIn:"environment",factory:()=>new t(K(lc))}),t})();function CA(t){t.getStandaloneInjector=n=>n.get(DH).getOrCreateStandaloneInjector(t)}function ji(t,n,e){const i=Xr()+t,r=Ae();return r[i]===_n?ba(r,i,e?n.call(e):n()):function Qf(t,n){return t[n]}(r,i)}function hu(t,n,e,i){return EA(Ae(),Xr(),t,n,e,i)}function $d(t,n,e,i,r){return AA(Ae(),Xr(),t,n,e,i,r)}function op(t,n){const e=t[n];return e===_n?void 0:e}function EA(t,n,e,i,r,o){const s=n+e;return po(t,s,r)?ba(t,s+1,o?i.call(o,r):i(r)):op(t,s+1)}function AA(t,n,e,i,r,o,s){const a=n+e;return cu(t,a,r,o)?ba(t,a+2,s?i.call(s,r,o):i(r,o)):op(t,a+2)}function OA(t,n,e,i,r,o,s,a){const l=n+e;return function s_(t,n,e,i,r){const o=cu(t,n,e,i);return po(t,n+2,r)||o}(t,l,r,o,s)?ba(t,l+3,a?i.call(a,r,o,s):i(r,o,s)):op(t,l+3)}function es(t,n){const e=Vn();let i;const r=t+22;e.firstCreatePass?(i=function WH(t,n){if(n)for(let e=n.length-1;e>=0;e--){const i=n[e];if(t===i.name)return i}}(n,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=pa(i.type)),s=lo(D);try{const a=bd(!1),l=o();return bd(a),function V7(t,n,e,i){e>=t.data.length&&(t.data[e]=null,t.blueprint[e]=null),n[e]=i}(e,Ae(),r,l),l}finally{lo(s)}}function Ca(t,n,e){const i=t+22,r=Ae(),o=Jl(r,i);return sp(r,i)?EA(r,Xr(),n,o.transform,e,o):o.transform(e)}function v1(t,n,e,i){const r=t+22,o=Ae(),s=Jl(o,r);return sp(o,r)?AA(o,Xr(),n,s.transform,e,i,s):s.transform(e,i)}function sp(t,n){return t[1].data[n].pure}function b1(t){return n=>{setTimeout(t,void 0,n)}}const $e=class GH extends pe{constructor(n=!1){super(),this.__isAsync=n}emit(n){super.next(n)}subscribe(n,e,i){let r=n,o=e||(()=>null),s=i;if(n&&"object"==typeof n){const l=n;r=l.next?.bind(l),o=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(o=b1(o),r&&(r=b1(r)),s&&(s=b1(s)));const a=super.subscribe({next:r,error:o,complete:s});return n instanceof Z&&n.add(a),a}};function $H(){return this._results[lu()]()}class Zs{constructor(n=!1){this._emitDistinctChangesOnly=n,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const e=lu(),i=Zs.prototype;i[e]||(i[e]=$H)}get changes(){return this._changes||(this._changes=new $e)}get(n){return this._results[n]}map(n){return this._results.map(n)}filter(n){return this._results.filter(n)}find(n){return this._results.find(n)}reduce(n,e){return this._results.reduce(n,e)}forEach(n){this._results.forEach(n)}some(n){return this._results.some(n)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(n,e){const i=this;i.dirty=!1;const r=dt(n);(this._changesDetected=!function Tt(t,n,e){if(t.length!==n.length)return!1;for(let i=0;i{class t{}return t.__NG_ELEMENT_ID__=KH,t})();const qH=ii,YH=class extends qH{constructor(n,e,i){super(),this._declarationLView=n,this._declarationTContainer=e,this.elementRef=i}createEmbeddedView(n,e){const i=this._declarationTContainer.tViews,r=Jg(this._declarationLView,i,n,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)),Gw(i,r,n),new Yf(r)}};function KH(){return m_(_r(),Ae())}function m_(t,n){return 4&t.type?new YH(n,t,Td(t,n)):null}let wi=(()=>{class t{}return t.__NG_ELEMENT_ID__=ZH,t})();function ZH(){return LA(_r(),Ae())}const QH=wi,FA=class extends QH{constructor(n,e,i){super(),this._lContainer=n,this._hostTNode=e,this._hostLView=i}get element(){return Td(this._hostTNode,this._hostLView)}get injector(){return new sc(this._hostTNode,this._hostLView)}get parentInjector(){const n=yd(this._hostTNode,this._hostLView);if(Of(n)){const e=Us(n,this._hostLView),i=rc(n);return new sc(e[1].data[i+8],e)}return new sc(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){const e=NA(this._lContainer);return null!==e&&e[n]||null}get length(){return this._lContainer.length-10}createEmbeddedView(n,e,i){let r,o;"number"==typeof i?r=i:null!=i&&(r=i.index,o=i.injector);const s=n.createEmbeddedView(e||{},o);return this.insert(s,r),s}createComponent(n,e,i,r,o){const s=n&&!function gt(t){return"function"==typeof t}(n);let a;if(s)a=e;else{const m=e||{};a=m.index,i=m.injector,r=m.projectableNodes,o=m.environmentInjector||m.ngModuleRef}const l=s?n:new Kf(li(n)),c=i||this.parentInjector;if(!o&&null==l.ngModule){const _=(s?c:this.parentInjector).get(lc,null);_&&(o=_)}const p=l.create(c,r,void 0,o);return this.insert(p.hostView,a),p}insert(n,e){const i=n._lView,r=i[1];if(function p0(t){return $o(t[3])}(i)){const p=this.indexOf(n);if(-1!==p)this.detach(p);else{const m=i[3],_=new FA(m,m[6],m[3]);_.detach(_.indexOf(n))}}const o=this._adjustIndex(e),s=this._lContainer;!function XB(t,n,e,i){const r=10+i,o=e.length;i>0&&(e[r-1][4]=n),i0)i.push(s[a/2]);else{const c=o[a+1],p=n[-l];for(let m=10;m{class t{constructor(e){this.appInits=e,this.resolve=__,this.reject=__,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 t.\u0275fac=function(e){return new(e||t)(K(lp,8))},t.\u0275prov=Te({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const Kd=new u("AppId",{providedIn:"root",factory:function l2(){return`${A1()}${A1()}${A1()}`}});function A1(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const c2=new u("Platform Initializer"),b_=new u("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),u2=new u("appBootstrapListener"),nr=new u("AnimationModuleType");let kz=(()=>{class t{log(e){console.log(e)}warn(e){console.warn(e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Te({token:t,factory:t.\u0275fac,providedIn:"platform"}),t})();const Sa=new u("LocaleId",{providedIn:"root",factory:()=>ki(Sa,Vt.Optional|Vt.SkipSelf)||function Dz(){return typeof $localize<"u"&&$localize.locale||Gd}()});class Tz{constructor(n,e){this.ngModuleFactory=n,this.componentFactories=e}}let O1=(()=>{class t{compileModuleSync(e){return new g1(e)}compileModuleAsync(e){return Promise.resolve(this.compileModuleSync(e))}compileModuleAndAllComponentsSync(e){const i=this.compileModuleSync(e),o=ul(Co(e).declarations).reduce((s,a)=>{const l=li(a);return l&&s.push(new Kf(l)),s},[]);return new Tz(i,o)}compileModuleAndAllComponentsAsync(e){return Promise.resolve(this.compileModuleAndAllComponentsSync(e))}clearCache(){}clearCacheFor(e){}getModuleId(e){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Te({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const Oz=(()=>Promise.resolve(0))();function I1(t){typeof Zone>"u"?Oz.then(()=>{t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}class bt{constructor({enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:e=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new $e(!1),this.onMicrotaskEmpty=new $e(!1),this.onStable=new $e(!1),this.onError=new $e(!1),typeof Zone>"u")throw new ke(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)),n&&Zone.longStackTraceZoneSpec&&(r._inner=r._inner.fork(Zone.longStackTraceZoneSpec)),r.shouldCoalesceEventChangeDetection=!i&&e,r.shouldCoalesceRunChangeDetection=i,r.lastRequestAnimationFrameId=-1,r.nativeRequestAnimationFrame=function Iz(){let t=ai.requestAnimationFrame,n=ai.cancelAnimationFrame;if(typeof Zone<"u"&&t&&n){const e=t[Zone.__symbol__("OriginalDelegate")];e&&(t=e);const i=n[Zone.__symbol__("OriginalDelegate")];i&&(n=i)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}().nativeRequestAnimationFrame,function Fz(t){const n=()=>{!function Rz(t){t.isCheckStableRunning||-1!==t.lastRequestAnimationFrameId||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(ai,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,R1(t),t.isCheckStableRunning=!0,P1(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),R1(t))}(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(e,i,r,o,s,a)=>{try{return f2(t),e.invokeTask(r,o,s,a)}finally{(t.shouldCoalesceEventChangeDetection&&"eventTask"===o.type||t.shouldCoalesceRunChangeDetection)&&n(),p2(t)}},onInvoke:(e,i,r,o,s,a,l)=>{try{return f2(t),e.invoke(r,o,s,a,l)}finally{t.shouldCoalesceRunChangeDetection&&n(),p2(t)}},onHasTask:(e,i,r,o)=>{e.hasTask(r,o),i===r&&("microTask"==o.change?(t._hasPendingMicrotasks=o.microTask,R1(t),P1(t)):"macroTask"==o.change&&(t.hasPendingMacrotasks=o.macroTask))},onHandleError:(e,i,r,o)=>(e.handleError(r,o),t.runOutsideAngular(()=>t.onError.emit(o)),!1)})}(r)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!bt.isInAngularZone())throw new ke(909,!1)}static assertNotInAngularZone(){if(bt.isInAngularZone())throw new ke(909,!1)}run(n,e,i){return this._inner.run(n,e,i)}runTask(n,e,i,r){const o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+r,n,Pz,__,__);try{return o.runTask(s,e,i)}finally{o.cancelTask(s)}}runGuarded(n,e,i){return this._inner.runGuarded(n,e,i)}runOutsideAngular(n){return this._outer.run(n)}}const Pz={};function P1(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function R1(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&-1!==t.lastRequestAnimationFrameId)}function f2(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function p2(t){t._nesting--,P1(t)}class Nz{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new $e,this.onMicrotaskEmpty=new $e,this.onStable=new $e,this.onError=new $e}run(n,e,i){return n.apply(e,i)}runGuarded(n,e,i){return n.apply(e,i)}runOutsideAngular(n){return n()}runTask(n,e,i,r){return n.apply(e,i)}}const m2=new u(""),y_=new u("");let L1,F1=(()=>{class t{constructor(e,i,r){this._ngZone=e,this.registry=i,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,L1||(function Lz(t){L1=t}(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:()=>{bt.assertNotInAngularZone(),I1(()=>{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())I1(()=>{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 t.\u0275fac=function(e){return new(e||t)(K(bt),K(N1),K(y_))},t.\u0275prov=Te({token:t,factory:t.\u0275fac}),t})(),N1=(()=>{class t{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 L1?.findTestabilityInTree(this,e,i)??null}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Te({token:t,factory:t.\u0275fac,providedIn:"platform"}),t})(),fc=null;const g2=new u("AllowMultipleToken"),B1=new u("PlatformDestroyListeners");class _2{constructor(n,e){this.name=n,this.token=e}}function b2(t,n,e=[]){const i=`Platform: ${n}`,r=new u(i);return(o=[])=>{let s=V1();if(!s||s.injector.get(g2,!1)){const a=[...e,...o,{provide:r,useValue:!0}];t?t(a):function Hz(t){if(fc&&!fc.get(g2,!1))throw new ke(400,!1);fc=t;const n=t.get(w2);(function v2(t){const n=t.get(c2,null);n&&n.forEach(e=>e())})(t)}(function y2(t=[],n){return Xi.create({name:n,providers:[{provide:Sw,useValue:"platform"},{provide:B1,useValue:new Set([()=>fc=null])},...t]})}(a,i))}return function Wz(t){const n=V1();if(!n)throw new ke(401,!1);return n}()}}function V1(){return fc?.get(w2)??null}let w2=(()=>{class t{constructor(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(e,i){const r=function S2(t,n){let e;return e="noop"===t?new Nz:("zone.js"===t?void 0:t)||new bt(n),e}(i?.ngZone,function C2(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!t||!t.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!t||!t.ngZoneRunCoalescing)||!1}}(i)),o=[{provide:bt,useValue:r}];return r.run(()=>{const s=Xi.create({providers:o,parent:this.injector,name:e.moduleType.name}),a=e.create(s),l=a.injector.get(cl,null);if(!l)throw new ke(402,!1);return r.runOutsideAngular(()=>{const c=r.onError.subscribe({next:p=>{l.handleError(p)}});a.onDestroy(()=>{w_(this._modules,a),c.unsubscribe()})}),function x2(t,n,e){try{const i=e();return Xf(i)?i.catch(r=>{throw n.runOutsideAngular(()=>t.handleError(r)),r}):i}catch(i){throw n.runOutsideAngular(()=>t.handleError(i)),i}}(l,r,()=>{const c=a.injector.get(v_);return c.runInitializers(),c.donePromise.then(()=>(function KE(t){gr(t,"Expected localeId to be defined"),"string"==typeof t&&(YE=t.toLowerCase().replace(/_/g,"-"))}(a.injector.get(Sa,Gd)||Gd),this._moduleDoBootstrap(a),a))})})}bootstrapModule(e,i=[]){const r=k2({},i);return function Bz(t,n,e){const i=new g1(e);return Promise.resolve(i)}(0,0,e).then(o=>this.bootstrapModuleFactory(o,r))}_moduleDoBootstrap(e){const i=e.injector.get(Zd);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(r=>i.bootstrap(r));else{if(!e.instance.ngDoBootstrap)throw new ke(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 ke(404,!1);this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i());const e=this._injector.get(B1,null);e&&(e.forEach(i=>i()),e.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return t.\u0275fac=function(e){return new(e||t)(K(Xi))},t.\u0275prov=Te({token:t,factory:t.\u0275fac,providedIn:"platform"}),t})();function k2(t,n){return Array.isArray(n)?n.reduce(k2,t):{...t,...n}}let Zd=(()=>{class t{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 bn(a=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{a.next(this._stable),a.complete()})}),s=new bn(a=>{let l;this._zone.runOutsideAngular(()=>{l=this._zone.onStable.subscribe(()=>{bt.assertNotInAngularZone(),I1(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,a.next(!0))})})});const c=this._zone.onUnstable.subscribe(()=>{bt.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{a.next(!1)}))});return()=>{l.unsubscribe(),c.unsubscribe()}});this.isStable=Ki(o,s.pipe(pn()))}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(e,i){const r=e instanceof XM;if(!this._injector.get(v_).done)throw!r&&function Kl(t){const n=li(t)||Zr(t)||Qr(t);return null!==n&&n.standalone}(e),new ke(405,false);let s;s=r?e:this._injector.get(cc).resolveComponentFactory(e),this.componentTypes.push(s.componentType);const a=function Vz(t){return t.isBoundToModule}(s)?void 0:this._injector.get(du),c=s.create(Xi.NULL,[],i||s.selector,a),p=c.location.nativeElement,m=c.injector.get(m2,null);return m?.registerApplication(p),c.onDestroy(()=>{this.detachView(c.hostView),w_(this.components,c),m?.unregisterApplication(p)}),this._loadComponent(c),c}tick(){if(this._runningTick)throw new ke(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;w_(this._views,i),i.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(u2,[]).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),()=>w_(this._destroyListeners,e)}destroy(){if(this._destroyed)throw new ke(406,!1);const e=this._injector;e.destroy&&!e.destroyed&&e.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return t.\u0275fac=function(e){return new(e||t)(K(bt),K(lc),K(cl))},t.\u0275prov=Te({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function w_(t,n){const e=t.indexOf(n);e>-1&&t.splice(e,1)}let M2=!0,wn=(()=>{class t{}return t.__NG_ELEMENT_ID__=Gz,t})();function Gz(t){return function $z(t,n,e){if(dd(t)&&!e){const i=ko(t.index,n);return new Yf(i,i)}return 47&t.type?new Yf(n[16],n):null}(_r(),Ae(),16==(16&t))}class I2{constructor(){}supports(n){return Zf(n)}create(n){return new Xz(n)}}const Qz=(t,n)=>n;class Xz{constructor(n){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=n||Qz}forEachItem(n){let e;for(e=this._itHead;null!==e;e=e._next)n(e)}forEachOperation(n){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=n,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let n;for(n=this._previousItHead=this._itHead;null!==n;n=n._next)n._nextPrevious=n._next;for(n=this._additionsHead;null!==n;n=n._nextAdded)n.previousIndex=n.currentIndex;for(this._additionsHead=this._additionsTail=null,n=this._movesHead;null!==n;n=n._nextMoved)n.previousIndex=n.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(n,e,i,r){let o;return null===n?o=this._itTail:(o=n._prev,this._remove(n)),null!==(n=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null))?(Object.is(n.item,e)||this._addIdentityChange(n,e),this._reinsertAfter(n,o,r)):null!==(n=null===this._linkedRecords?null:this._linkedRecords.get(i,r))?(Object.is(n.item,e)||this._addIdentityChange(n,e),this._moveAfter(n,o,r)):n=this._addAfter(new Jz(e,i),o,r),n}_verifyReinsertion(n,e,i,r){let o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==o?n=this._reinsertAfter(o,n._prev,r):n.currentIndex!=r&&(n.currentIndex=r,this._addToMoves(n,r)),n}_truncate(n){for(;null!==n;){const e=n._next;this._addToRemovals(this._unlink(n)),n=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(n,e,i){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(n);const r=n._prevRemoved,o=n._nextRemoved;return null===r?this._removalsHead=o:r._nextRemoved=o,null===o?this._removalsTail=r:o._prevRemoved=r,this._insertAfter(n,e,i),this._addToMoves(n,i),n}_moveAfter(n,e,i){return this._unlink(n),this._insertAfter(n,e,i),this._addToMoves(n,i),n}_addAfter(n,e,i){return this._insertAfter(n,e,i),this._additionsTail=null===this._additionsTail?this._additionsHead=n:this._additionsTail._nextAdded=n,n}_insertAfter(n,e,i){const r=null===e?this._itHead:e._next;return n._next=r,n._prev=e,null===r?this._itTail=n:r._prev=n,null===e?this._itHead=n:e._next=n,null===this._linkedRecords&&(this._linkedRecords=new P2),this._linkedRecords.put(n),n.currentIndex=i,n}_remove(n){return this._addToRemovals(this._unlink(n))}_unlink(n){null!==this._linkedRecords&&this._linkedRecords.remove(n);const e=n._prev,i=n._next;return null===e?this._itHead=i:e._next=i,null===i?this._itTail=e:i._prev=e,n}_addToMoves(n,e){return n.previousIndex===e||(this._movesTail=null===this._movesTail?this._movesHead=n:this._movesTail._nextMoved=n),n}_addToRemovals(n){return null===this._unlinkedRecords&&(this._unlinkedRecords=new P2),this._unlinkedRecords.put(n),n.currentIndex=null,n._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=n,n._prevRemoved=null):(n._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=n),n}_addIdentityChange(n,e){return n.item=e,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=n:this._identityChangesTail._nextIdentityChange=n,n}}class Jz{constructor(n,e){this.item=n,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 eW{constructor(){this._head=null,this._tail=null}add(n){null===this._head?(this._head=this._tail=n,n._nextDup=null,n._prevDup=null):(this._tail._nextDup=n,n._prevDup=this._tail,n._nextDup=null,this._tail=n)}get(n,e){let i;for(i=this._head;null!==i;i=i._nextDup)if((null===e||e<=i.currentIndex)&&Object.is(i.trackById,n))return i;return null}remove(n){const e=n._prevDup,i=n._nextDup;return null===e?this._head=i:e._nextDup=i,null===i?this._tail=e:i._prevDup=e,null===this._head}}class P2{constructor(){this.map=new Map}put(n){const e=n.trackById;let i=this.map.get(e);i||(i=new eW,this.map.set(e,i)),i.add(n)}get(n,e){const r=this.map.get(n);return r?r.get(n,e):null}remove(n){const e=n.trackById;return this.map.get(e).remove(n)&&this.map.delete(e),n}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function R2(t,n,e){const i=t.previousIndex;if(null===i)return i;let r=0;return e&&i{if(e&&e.key===r)this._maybeAddToChanges(e,i),this._appendAfter=e,e=e._next;else{const o=this._getOrCreateRecordForKey(r,i);e=this._insertBeforeOrAppend(e,o)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let i=e;null!==i;i=i._nextRemoved)i===this._mapHead&&(this._mapHead=null),this._records.delete(i.key),i._nextRemoved=i._next,i.previousValue=i.currentValue,i.currentValue=null,i._prev=null,i._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(n,e){if(n){const i=n._prev;return e._next=n,e._prev=i,n._prev=e,i&&(i._next=e),n===this._mapHead&&(this._mapHead=e),this._appendAfter=n,n}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(n,e){if(this._records.has(n)){const r=this._records.get(n);this._maybeAddToChanges(r,e);const o=r._prev,s=r._next;return o&&(o._next=s),s&&(s._prev=o),r._next=null,r._prev=null,r}const i=new nW(n);return this._records.set(n,i),i.currentValue=e,this._addToAdditions(i),i}_reset(){if(this.isDirty){let n;for(this._previousMapHead=this._mapHead,n=this._previousMapHead;null!==n;n=n._next)n._nextPrevious=n._next;for(n=this._changesHead;null!==n;n=n._nextChanged)n.previousValue=n.currentValue;for(n=this._additionsHead;null!=n;n=n._nextAdded)n.previousValue=n.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(n,e){Object.is(e,n.currentValue)||(n.previousValue=n.currentValue,n.currentValue=e,this._addToChanges(n))}_addToAdditions(n){null===this._additionsHead?this._additionsHead=this._additionsTail=n:(this._additionsTail._nextAdded=n,this._additionsTail=n)}_addToChanges(n){null===this._changesHead?this._changesHead=this._changesTail=n:(this._changesTail._nextChanged=n,this._changesTail=n)}_forEach(n,e){n instanceof Map?n.forEach(e):Object.keys(n).forEach(i=>e(n[i],i))}}class nW{constructor(n){this.key=n,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function N2(){return new pl([new I2])}let pl=(()=>{class t{constructor(e){this.factories=e}static create(e,i){if(null!=i){const r=i.factories.slice();e=e.concat(r)}return new t(e)}static extend(e){return{provide:t,useFactory:i=>t.create(e,i||N2()),deps:[[t,new al,new Gs]]}}find(e){const i=this.factories.find(r=>r.supports(e));if(null!=i)return i;throw new ke(901,!1)}}return t.\u0275prov=Te({token:t,providedIn:"root",factory:N2}),t})();function L2(){return new cp([new F2])}let cp=(()=>{class t{constructor(e){this.factories=e}static create(e,i){if(i){const r=i.factories.slice();e=e.concat(r)}return new t(e)}static extend(e){return{provide:t,useFactory:i=>t.create(e,i||L2()),deps:[[t,new al,new Gs]]}}find(e){const i=this.factories.find(r=>r.supports(e));if(i)return i;throw new ke(901,!1)}}return t.\u0275prov=Te({token:t,providedIn:"root",factory:L2}),t})();const oW=b2(null,"core",[]);let sW=(()=>{class t{constructor(e){}}return t.\u0275fac=function(e){return new(e||t)(K(Zd))},t.\u0275mod=Ct({type:t}),t.\u0275inj=yt({}),t})();function ml(t){return"boolean"==typeof t?t:null!=t&&"false"!==t}let x_=null;function xa(){return x_}const Xt=new u("DocumentToken");let k_=(()=>{class t{historyGo(e){throw new Error("Not implemented")}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Te({token:t,factory:function(){return function uW(){return K(B2)}()},providedIn:"platform"}),t})();const dW=new u("Location Initialized");let B2=(()=>{class t extends k_{constructor(e){super(),this._doc=e,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return xa().getBaseHref(this._doc)}onPopState(e){const i=xa().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",e,!1),()=>i.removeEventListener("popstate",e)}onHashChange(e){const i=xa().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){V2()?this._history.pushState(e,i,r):this.location.hash=r}replaceState(e,i,r){V2()?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 t.\u0275fac=function(e){return new(e||t)(K(Xt))},t.\u0275prov=Te({token:t,factory:function(){return function hW(){return new B2(K(Xt))}()},providedIn:"platform"}),t})();function V2(){return!!window.history.pushState}function U1(t,n){if(0==t.length)return n;if(0==n.length)return t;let e=0;return t.endsWith("/")&&e++,n.startsWith("/")&&e++,2==e?t+n.substring(1):1==e?t+n:t+"/"+n}function H2(t){const n=t.match(/#|\?|$/),e=n&&n.index||t.length;return t.slice(0,e-("/"===t[e-1]?1:0))+t.slice(e)}function gl(t){return t&&"?"!==t[0]?"?"+t:t}let pu=(()=>{class t{historyGo(e){throw new Error("Not implemented")}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Te({token:t,factory:function(){return ki(z2)},providedIn:"root"}),t})();const up=new u("appBaseHref");let z2=(()=>{class t extends pu{constructor(e,i){super(),this._platformLocation=e,this._removeListenerFns=[],this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??ki(Xt).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 U1(this._baseHref,e)}path(e=!1){const i=this._platformLocation.pathname+gl(this._platformLocation.search),r=this._platformLocation.hash;return r&&e?`${i}${r}`:i}pushState(e,i,r,o){const s=this.prepareExternalUrl(r+gl(o));this._platformLocation.pushState(e,i,s)}replaceState(e,i,r,o){const s=this.prepareExternalUrl(r+gl(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 t.\u0275fac=function(e){return new(e||t)(K(k_),K(up,8))},t.\u0275prov=Te({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),fW=(()=>{class t extends pu{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=U1(this._baseHref,e);return i.length>0?"#"+i:i}pushState(e,i,r,o){let s=this.prepareExternalUrl(r+gl(o));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(e,i,s)}replaceState(e,i,r,o){let s=this.prepareExternalUrl(r+gl(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 t.\u0275fac=function(e){return new(e||t)(K(k_),K(up,8))},t.\u0275prov=Te({token:t,factory:t.\u0275fac}),t})(),dp=(()=>{class t{constructor(e){this._subject=new $e,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=e;const i=this._locationStrategy.getBaseHref();this._baseHref=H2(W2(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+gl(i))}normalize(e){return t.stripTrailingSlash(function mW(t,n){return t&&n.startsWith(t)?n.substring(t.length):n}(this._baseHref,W2(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+gl(i)),r)}replaceState(e,i="",r=null){this._locationStrategy.replaceState(r,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+gl(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 t.normalizeQueryParams=gl,t.joinWithSlash=U1,t.stripTrailingSlash=H2,t.\u0275fac=function(e){return new(e||t)(K(pu))},t.\u0275prov=Te({token:t,factory:function(){return function pW(){return new dp(K(pu))}()},providedIn:"root"}),t})();function W2(t){return t.replace(/\/index.html$/,"")}var yr=(()=>((yr=yr||{})[yr.Format=0]="Format",yr[yr.Standalone=1]="Standalone",yr))(),Ln=(()=>((Ln=Ln||{})[Ln.Narrow=0]="Narrow",Ln[Ln.Abbreviated=1]="Abbreviated",Ln[Ln.Wide=2]="Wide",Ln[Ln.Short=3]="Short",Ln))(),ir=(()=>((ir=ir||{})[ir.Short=0]="Short",ir[ir.Medium=1]="Medium",ir[ir.Long=2]="Long",ir[ir.Full=3]="Full",ir))(),Gt=(()=>((Gt=Gt||{})[Gt.Decimal=0]="Decimal",Gt[Gt.Group=1]="Group",Gt[Gt.List=2]="List",Gt[Gt.PercentSign=3]="PercentSign",Gt[Gt.PlusSign=4]="PlusSign",Gt[Gt.MinusSign=5]="MinusSign",Gt[Gt.Exponential=6]="Exponential",Gt[Gt.SuperscriptingExponent=7]="SuperscriptingExponent",Gt[Gt.PerMille=8]="PerMille",Gt[Gt.Infinity=9]="Infinity",Gt[Gt.NaN=10]="NaN",Gt[Gt.TimeSeparator=11]="TimeSeparator",Gt[Gt.CurrencyDecimal=12]="CurrencyDecimal",Gt[Gt.CurrencyGroup=13]="CurrencyGroup",Gt))();function D_(t,n){return Cs(Mo(t)[rt.DateFormat],n)}function M_(t,n){return Cs(Mo(t)[rt.TimeFormat],n)}function T_(t,n){return Cs(Mo(t)[rt.DateTimeFormat],n)}function ws(t,n){const e=Mo(t),i=e[rt.NumberSymbols][n];if(typeof i>"u"){if(n===Gt.CurrencyDecimal)return e[rt.NumberSymbols][Gt.Decimal];if(n===Gt.CurrencyGroup)return e[rt.NumberSymbols][Gt.Group]}return i}function U2(t){if(!t[rt.ExtraData])throw new Error(`Missing extra locale data for the locale "${t[rt.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Cs(t,n){for(let e=n;e>-1;e--)if(typeof t[e]<"u")return t[e];throw new Error("Locale data API: locale data undefined")}function $1(t){const[n,e]=t.split(":");return{hours:+n,minutes:+e}}const TW=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,hp={},EW=/((?:[^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 Vr=(()=>((Vr=Vr||{})[Vr.Short=0]="Short",Vr[Vr.ShortGMT=1]="ShortGMT",Vr[Vr.Long=2]="Long",Vr[Vr.Extended=3]="Extended",Vr))(),Jt=(()=>((Jt=Jt||{})[Jt.FullYear=0]="FullYear",Jt[Jt.Month=1]="Month",Jt[Jt.Date=2]="Date",Jt[Jt.Hours=3]="Hours",Jt[Jt.Minutes=4]="Minutes",Jt[Jt.Seconds=5]="Seconds",Jt[Jt.FractionalSeconds=6]="FractionalSeconds",Jt[Jt.Day=7]="Day",Jt))(),kn=(()=>((kn=kn||{})[kn.DayPeriods=0]="DayPeriods",kn[kn.Days=1]="Days",kn[kn.Months=2]="Months",kn[kn.Eras=3]="Eras",kn))();function G2(t,n,e,i){let r=function BW(t){if(Y2(t))return t;if("number"==typeof t&&!isNaN(t))return new Date(t);if("string"==typeof t){if(t=t.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(t)){const[r,o=1,s=1]=t.split("-").map(a=>+a);return E_(r,o-1,s)}const e=parseFloat(t);if(!isNaN(t-e))return new Date(e);let i;if(i=t.match(TW))return function VW(t){const n=new Date(0);let e=0,i=0;const r=t[8]?n.setUTCFullYear:n.setFullYear,o=t[8]?n.setUTCHours:n.setHours;t[9]&&(e=Number(t[9]+t[10]),i=Number(t[9]+t[11])),r.call(n,Number(t[1]),Number(t[2])-1,Number(t[3]));const s=Number(t[4]||0)-e,a=Number(t[5]||0)-i,l=Number(t[6]||0),c=Math.floor(1e3*parseFloat("0."+(t[7]||0)));return o.call(n,s,a,l,c),n}(i)}const n=new Date(t);if(!Y2(n))throw new Error(`Unable to convert "${t}" into a date`);return n}(t);n=_l(e,n)||n;let a,s=[];for(;n;){if(a=EW.exec(n),!a){s.push(n);break}{s=s.concat(a.slice(1));const p=s.pop();if(!p)break;n=p}}let l=r.getTimezoneOffset();i&&(l=q2(i,l),r=function LW(t,n,e){const i=e?-1:1,r=t.getTimezoneOffset();return function NW(t,n){return(t=new Date(t.getTime())).setMinutes(t.getMinutes()+n),t}(t,i*(q2(n,r)-r))}(r,i,!0));let c="";return s.forEach(p=>{const m=function FW(t){if(Y1[t])return Y1[t];let n;switch(t){case"G":case"GG":case"GGG":n=Ii(kn.Eras,Ln.Abbreviated);break;case"GGGG":n=Ii(kn.Eras,Ln.Wide);break;case"GGGGG":n=Ii(kn.Eras,Ln.Narrow);break;case"y":n=Er(Jt.FullYear,1,0,!1,!0);break;case"yy":n=Er(Jt.FullYear,2,0,!0,!0);break;case"yyy":n=Er(Jt.FullYear,3,0,!1,!0);break;case"yyyy":n=Er(Jt.FullYear,4,0,!1,!0);break;case"Y":n=P_(1);break;case"YY":n=P_(2,!0);break;case"YYY":n=P_(3);break;case"YYYY":n=P_(4);break;case"M":case"L":n=Er(Jt.Month,1,1);break;case"MM":case"LL":n=Er(Jt.Month,2,1);break;case"MMM":n=Ii(kn.Months,Ln.Abbreviated);break;case"MMMM":n=Ii(kn.Months,Ln.Wide);break;case"MMMMM":n=Ii(kn.Months,Ln.Narrow);break;case"LLL":n=Ii(kn.Months,Ln.Abbreviated,yr.Standalone);break;case"LLLL":n=Ii(kn.Months,Ln.Wide,yr.Standalone);break;case"LLLLL":n=Ii(kn.Months,Ln.Narrow,yr.Standalone);break;case"w":n=q1(1);break;case"ww":n=q1(2);break;case"W":n=q1(1,!0);break;case"d":n=Er(Jt.Date,1);break;case"dd":n=Er(Jt.Date,2);break;case"c":case"cc":n=Er(Jt.Day,1);break;case"ccc":n=Ii(kn.Days,Ln.Abbreviated,yr.Standalone);break;case"cccc":n=Ii(kn.Days,Ln.Wide,yr.Standalone);break;case"ccccc":n=Ii(kn.Days,Ln.Narrow,yr.Standalone);break;case"cccccc":n=Ii(kn.Days,Ln.Short,yr.Standalone);break;case"E":case"EE":case"EEE":n=Ii(kn.Days,Ln.Abbreviated);break;case"EEEE":n=Ii(kn.Days,Ln.Wide);break;case"EEEEE":n=Ii(kn.Days,Ln.Narrow);break;case"EEEEEE":n=Ii(kn.Days,Ln.Short);break;case"a":case"aa":case"aaa":n=Ii(kn.DayPeriods,Ln.Abbreviated);break;case"aaaa":n=Ii(kn.DayPeriods,Ln.Wide);break;case"aaaaa":n=Ii(kn.DayPeriods,Ln.Narrow);break;case"b":case"bb":case"bbb":n=Ii(kn.DayPeriods,Ln.Abbreviated,yr.Standalone,!0);break;case"bbbb":n=Ii(kn.DayPeriods,Ln.Wide,yr.Standalone,!0);break;case"bbbbb":n=Ii(kn.DayPeriods,Ln.Narrow,yr.Standalone,!0);break;case"B":case"BB":case"BBB":n=Ii(kn.DayPeriods,Ln.Abbreviated,yr.Format,!0);break;case"BBBB":n=Ii(kn.DayPeriods,Ln.Wide,yr.Format,!0);break;case"BBBBB":n=Ii(kn.DayPeriods,Ln.Narrow,yr.Format,!0);break;case"h":n=Er(Jt.Hours,1,-12);break;case"hh":n=Er(Jt.Hours,2,-12);break;case"H":n=Er(Jt.Hours,1);break;case"HH":n=Er(Jt.Hours,2);break;case"m":n=Er(Jt.Minutes,1);break;case"mm":n=Er(Jt.Minutes,2);break;case"s":n=Er(Jt.Seconds,1);break;case"ss":n=Er(Jt.Seconds,2);break;case"S":n=Er(Jt.FractionalSeconds,1);break;case"SS":n=Er(Jt.FractionalSeconds,2);break;case"SSS":n=Er(Jt.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":n=O_(Vr.Short);break;case"ZZZZZ":n=O_(Vr.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":n=O_(Vr.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":n=O_(Vr.Long);break;default:return null}return Y1[t]=n,n}(p);c+=m?m(r,e,l):"''"===p?"'":p.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),c}function E_(t,n,e){const i=new Date(0);return i.setFullYear(t,n,e),i.setHours(0,0,0),i}function _l(t,n){const e=function gW(t){return Mo(t)[rt.LocaleId]}(t);if(hp[e]=hp[e]||{},hp[e][n])return hp[e][n];let i="";switch(n){case"shortDate":i=D_(t,ir.Short);break;case"mediumDate":i=D_(t,ir.Medium);break;case"longDate":i=D_(t,ir.Long);break;case"fullDate":i=D_(t,ir.Full);break;case"shortTime":i=M_(t,ir.Short);break;case"mediumTime":i=M_(t,ir.Medium);break;case"longTime":i=M_(t,ir.Long);break;case"fullTime":i=M_(t,ir.Full);break;case"short":const r=_l(t,"shortTime"),o=_l(t,"shortDate");i=A_(T_(t,ir.Short),[r,o]);break;case"medium":const s=_l(t,"mediumTime"),a=_l(t,"mediumDate");i=A_(T_(t,ir.Medium),[s,a]);break;case"long":const l=_l(t,"longTime"),c=_l(t,"longDate");i=A_(T_(t,ir.Long),[l,c]);break;case"full":const p=_l(t,"fullTime"),m=_l(t,"fullDate");i=A_(T_(t,ir.Full),[p,m])}return i&&(hp[e][n]=i),i}function A_(t,n){return n&&(t=t.replace(/\{([^}]+)}/g,function(e,i){return null!=n&&i in n?n[i]:e})),t}function Js(t,n,e="-",i,r){let o="";(t<0||r&&t<=0)&&(r?t=1-t:(t=-t,o=e));let s=String(t);for(;s.length0||a>-e)&&(a+=e),t===Jt.Hours)0===a&&-12===e&&(a=12);else if(t===Jt.FractionalSeconds)return function AW(t,n){return Js(t,3).substring(0,n)}(a,n);const l=ws(s,Gt.MinusSign);return Js(a,n,l,i,r)}}function Ii(t,n,e=yr.Format,i=!1){return function(r,o){return function IW(t,n,e,i,r,o){switch(e){case kn.Months:return function bW(t,n,e){const i=Mo(t),o=Cs([i[rt.MonthsFormat],i[rt.MonthsStandalone]],n);return Cs(o,e)}(n,r,i)[t.getMonth()];case kn.Days:return function vW(t,n,e){const i=Mo(t),o=Cs([i[rt.DaysFormat],i[rt.DaysStandalone]],n);return Cs(o,e)}(n,r,i)[t.getDay()];case kn.DayPeriods:const s=t.getHours(),a=t.getMinutes();if(o){const c=function SW(t){const n=Mo(t);return U2(n),(n[rt.ExtraData][2]||[]).map(i=>"string"==typeof i?$1(i):[$1(i[0]),$1(i[1])])}(n),p=function xW(t,n,e){const i=Mo(t);U2(i);const o=Cs([i[rt.ExtraData][0],i[rt.ExtraData][1]],n)||[];return Cs(o,e)||[]}(n,r,i),m=c.findIndex(_=>{if(Array.isArray(_)){const[C,k]=_,A=s>=C.hours&&a>=C.minutes,P=s0?Math.floor(r/60):Math.ceil(r/60);switch(t){case Vr.Short:return(r>=0?"+":"")+Js(s,2,o)+Js(Math.abs(r%60),2,o);case Vr.ShortGMT:return"GMT"+(r>=0?"+":"")+Js(s,1,o);case Vr.Long:return"GMT"+(r>=0?"+":"")+Js(s,2,o)+":"+Js(Math.abs(r%60),2,o);case Vr.Extended:return 0===i?"Z":(r>=0?"+":"")+Js(s,2,o)+":"+Js(Math.abs(r%60),2,o);default:throw new Error(`Unknown zone width "${t}"`)}}}function $2(t){return E_(t.getFullYear(),t.getMonth(),t.getDate()+(4-t.getDay()))}function q1(t,n=!1){return function(e,i){let r;if(n){const o=new Date(e.getFullYear(),e.getMonth(),1).getDay()-1,s=e.getDate();r=1+Math.floor((s+o)/7)}else{const o=$2(e),s=function RW(t){const n=E_(t,0,1).getDay();return E_(t,0,1+(n<=4?4:11)-n)}(o.getFullYear()),a=o.getTime()-s.getTime();r=1+Math.round(a/6048e5)}return Js(r,t,ws(i,Gt.MinusSign))}}function P_(t,n=!1){return function(e,i){return Js($2(e).getFullYear(),t,ws(i,Gt.MinusSign),n)}}const Y1={};function q2(t,n){t=t.replace(/:/g,"");const e=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(e)?n:e}function Y2(t){return t instanceof Date&&!isNaN(t.valueOf())}function X2(t,n){n=encodeURIComponent(n);for(const e of t.split(";")){const i=e.indexOf("="),[r,o]=-1==i?[e,""]:[e.slice(0,i),e.slice(i+1)];if(r.trim()===n)return decodeURIComponent(o)}return null}let Qd=(()=>{class t{constructor(e,i,r,o){this._iterableDiffers=e,this._keyValueDiffers=i,this._ngEl=r,this._renderer=o,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(e){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof e?e.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(e){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof e?e.split(/\s+/):e,this._rawClass&&(Zf(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const e=this._iterableDiffer.diff(this._rawClass);e&&this._applyIterableChanges(e)}else if(this._keyValueDiffer){const e=this._keyValueDiffer.diff(this._rawClass);e&&this._applyKeyValueChanges(e)}}_applyKeyValueChanges(e){e.forEachAddedItem(i=>this._toggleClass(i.key,i.currentValue)),e.forEachChangedItem(i=>this._toggleClass(i.key,i.currentValue)),e.forEachRemovedItem(i=>{i.previousValue&&this._toggleClass(i.key,!1)})}_applyIterableChanges(e){e.forEachAddedItem(i=>{if("string"!=typeof i.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${vi(i.item)}`);this._toggleClass(i.item,!0)}),e.forEachRemovedItem(i=>this._toggleClass(i.item,!1))}_applyClasses(e){e&&(Array.isArray(e)||e instanceof Set?e.forEach(i=>this._toggleClass(i,!0)):Object.keys(e).forEach(i=>this._toggleClass(i,!!e[i])))}_removeClasses(e){e&&(Array.isArray(e)||e instanceof Set?e.forEach(i=>this._toggleClass(i,!1)):Object.keys(e).forEach(i=>this._toggleClass(i,!1)))}_toggleClass(e,i){(e=e.trim())&&e.split(/\s+/g).forEach(r=>{i?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r)})}}return t.\u0275fac=function(e){return new(e||t)(D(pl),D(cp),D(xe),D(vs))},t.\u0275dir=fe({type:t,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),t})();class XW{constructor(n,e,i,r){this.$implicit=n,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 Eo=(()=>{class t{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 XW(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),tO(a,r)}});for(let r=0,o=i.length;r{tO(i.get(r.currentIndex),r)})}static ngTemplateContextGuard(e,i){return!0}}return t.\u0275fac=function(e){return new(e||t)(D(wi),D(ii),D(pl))},t.\u0275dir=fe({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),t})();function tO(t,n){t.context.$implicit=n.item}let ui=(()=>{class t{constructor(e,i){this._viewContainer=e,this._context=new ej,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){nO("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){nO("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 t.\u0275fac=function(e){return new(e||t)(D(wi),D(ii))},t.\u0275dir=fe({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),t})();class ej{constructor(){this.$implicit=null,this.ngIf=null}}function nO(t,n){if(n&&!n.createEmbeddedView)throw new Error(`${t} must be a TemplateRef, but received '${vi(n)}'.`)}class eC{constructor(n,e){this._viewContainerRef=n,this._templateRef=e,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(n){n&&!this._created?this.create():!n&&this._created&&this.destroy()}}let vl=(()=>{class t{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 t{constructor(e,i,r){this.ngSwitch=r,r._addCase(),this._view=new eC(e,i)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return t.\u0275fac=function(e){return new(e||t)(D(wi),D(ii),D(vl,9))},t.\u0275dir=fe({type:t,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0}),t})(),tC=(()=>{class t{constructor(e,i,r){r._addDefault(new eC(e,i))}}return t.\u0275fac=function(e){return new(e||t)(D(wi),D(ii),D(vl,9))},t.\u0275dir=fe({type:t,selectors:[["","ngSwitchDefault",""]],standalone:!0}),t})(),nC=(()=>{class t{constructor(e){this._viewContainerRef=e,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(e){if(e.ngTemplateOutlet||e.ngTemplateOutletInjector){const i=this._viewContainerRef;if(this._viewRef&&i.remove(i.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:r,ngTemplateOutletContext:o,ngTemplateOutletInjector:s}=this;this._viewRef=i.createEmbeddedView(r,o,s?{injector:s}:void 0)}else this._viewRef=null}else this._viewRef&&e.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return t.\u0275fac=function(e){return new(e||t)(D(wi))},t.\u0275dir=fe({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[Tn]}),t})();function ea(t,n){return new ke(2100,!1)}class ij{createSubscription(n,e){return n.subscribe({next:e,error:i=>{throw i}})}dispose(n){n.unsubscribe()}}class rj{createSubscription(n,e){return n.then(e,i=>{throw i})}dispose(n){}}const oj=new rj,sj=new ij;let iC=(()=>{class t{constructor(e){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=e}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(e){return this._obj?e!==this._obj?(this._dispose(),this.transform(e)):this._latestValue:(e&&this._subscribe(e),this._latestValue)}_subscribe(e){this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,i=>this._updateLatestValue(e,i))}_selectStrategy(e){if(Xf(e))return oj;if(rE(e))return sj;throw ea()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(e,i){e===this._obj&&(this._latestValue=i,this._ref.markForCheck())}}return t.\u0275fac=function(e){return new(e||t)(D(wn,16))},t.\u0275pipe=Lr({name:"async",type:t,pure:!1,standalone:!0}),t})(),rC=(()=>{class t{transform(e){return JSON.stringify(e,null,2)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=Lr({name:"json",type:t,pure:!1,standalone:!0}),t})(),pp=(()=>{class t{constructor(e){this.differs=e,this.keyValues=[],this.compareFn=rO}transform(e,i=rO){if(!e||!(e instanceof Map)&&"object"!=typeof e)return null;this.differ||(this.differ=this.differs.find(e).create());const r=this.differ.diff(e),o=i!==this.compareFn;return r&&(this.keyValues=[],r.forEachItem(s=>{this.keyValues.push(function gj(t,n){return{key:t,value:n}}(s.key,s.currentValue))})),(r||o)&&(this.keyValues.sort(i),this.compareFn=i),this.keyValues}}return t.\u0275fac=function(e){return new(e||t)(D(cp,16))},t.\u0275pipe=Lr({name:"keyvalue",type:t,pure:!1,standalone:!0}),t})();function rO(t,n){const e=t.key,i=n.key;if(e===i)return 0;if(void 0===e)return 1;if(void 0===i)return-1;if(null===e)return 1;if(null===i)return-1;if("string"==typeof e&&"string"==typeof i)return e{class t{transform(e,i,r){if(null==e)return null;if(!this.supports(e))throw ea();return e.slice(i,r)}supports(e){return"string"==typeof e||Array.isArray(e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=Lr({name:"slice",type:t,pure:!1,standalone:!0}),t})(),Ao=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Ct({type:t}),t.\u0275inj=yt({}),t})();const sO="browser";let xj=(()=>{class t{}return t.\u0275prov=Te({token:t,providedIn:"root",factory:()=>new kj(K(Xt),window)}),t})();class kj{constructor(n,e){this.document=n,this.window=e,this.offset=()=>[0,0]}setOffset(n){this.offset=Array.isArray(n)?()=>n:n}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(n){this.supportsScrolling()&&this.window.scrollTo(n[0],n[1])}scrollToAnchor(n){if(!this.supportsScrolling())return;const e=function Dj(t,n){const e=t.getElementById(n)||t.getElementsByName(n)[0];if(e)return e;if("function"==typeof t.createTreeWalker&&t.body&&(t.body.createShadowRoot||t.body.attachShadow)){const i=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT);let r=i.currentNode;for(;r;){const o=r.shadowRoot;if(o){const s=o.getElementById(n)||o.querySelector(`[name="${n}"]`);if(s)return s}r=i.nextNode()}}return null}(this.document,n);e&&(this.scrollToElement(e),e.focus())}setHistoryScrollRestoration(n){if(this.supportScrollRestoration()){const e=this.window.history;e&&e.scrollRestoration&&(e.scrollRestoration=n)}}scrollToElement(n){const e=n.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 n=aO(this.window.history)||aO(Object.getPrototypeOf(this.window.history));return!(!n||!n.writable&&!n.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function aO(t){return Object.getOwnPropertyDescriptor(t,"scrollRestoration")}class lO{}class cC extends class Jj extends class cW{}{constructor(){super(...arguments),this.supportsDOMEvents=!0}}{static makeCurrent(){!function lW(t){x_||(x_=t)}(new cC)}onAndCancel(n,e,i){return n.addEventListener(e,i,!1),()=>{n.removeEventListener(e,i,!1)}}dispatchEvent(n,e){n.dispatchEvent(e)}remove(n){n.parentNode&&n.parentNode.removeChild(n)}createElement(n,e){return(e=e||this.getDefaultDocument()).createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,e){return"window"===e?window:"document"===e?n:"body"===e?n.body:null}getBaseHref(n){const e=function eU(){return gp=gp||document.querySelector("base"),gp?gp.getAttribute("href"):null}();return null==e?null:function tU(t){L_=L_||document.createElement("a"),L_.setAttribute("href",t);const n=L_.pathname;return"/"===n.charAt(0)?n:`/${n}`}(e)}resetBaseElement(){gp=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return X2(document.cookie,n)}}let L_,gp=null;const fO=new u("TRANSITION_ID"),iU=[{provide:lp,useFactory:function nU(t,n,e){return()=>{e.get(v_).donePromise.then(()=>{const i=xa(),r=n.querySelectorAll(`style[ng-transition="${t}"]`);for(let o=0;o{class t{build(){return new XMLHttpRequest}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Te({token:t,factory:t.\u0275fac}),t})();const B_=new u("EventManagerPlugins");let V_=(()=>{class t{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 t{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 t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Te({token:t,factory:t.\u0275fac}),t})(),_p=(()=>{class t extends mO{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(gO),this._hostNodes.delete(e)}onStylesAdded(e){this._hostNodes.forEach((i,r)=>{this._addStylesToHost(e,r,i)})}ngOnDestroy(){this._hostNodes.forEach(e=>e.forEach(gO))}}return t.\u0275fac=function(e){return new(e||t)(K(Xt))},t.\u0275prov=Te({token:t,factory:t.\u0275fac}),t})();function gO(t){xa().remove(t)}const uC={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/"},dC=/%COMP%/g;function H_(t,n,e){for(let i=0;i{if("__ngUnwrap__"===n)return t;!1===t(n)&&(n.preventDefault(),n.returnValue=!1)}}let z_=(()=>{class t{constructor(e,i,r){this.eventManager=e,this.sharedStylesHost=i,this.appId=r,this.rendererByCompId=new Map,this.defaultRenderer=new hC(e)}createRenderer(e,i){if(!e||!i)return this.defaultRenderer;switch(i.encapsulation){case Uo.Emulated:{let r=this.rendererByCompId.get(i.id);return r||(r=new dU(this.eventManager,this.sharedStylesHost,i,this.appId),this.rendererByCompId.set(i.id,r)),r.applyToHost(e),r}case 1:case Uo.ShadowDom:return new hU(this.eventManager,this.sharedStylesHost,e,i);default:if(!this.rendererByCompId.has(i.id)){const r=H_(i.id,i.styles,[]);this.sharedStylesHost.addStyles(r),this.rendererByCompId.set(i.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return t.\u0275fac=function(e){return new(e||t)(K(V_),K(_p),K(Kd))},t.\u0275prov=Te({token:t,factory:t.\u0275fac}),t})();class hC{constructor(n){this.eventManager=n,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(n,e){return e?document.createElementNS(uC[e]||e,n):document.createElement(n)}createComment(n){return document.createComment(n)}createText(n){return document.createTextNode(n)}appendChild(n,e){(wO(n)?n.content:n).appendChild(e)}insertBefore(n,e,i){n&&(wO(n)?n.content:n).insertBefore(e,i)}removeChild(n,e){n&&n.removeChild(e)}selectRootElement(n,e){let i="string"==typeof n?document.querySelector(n):n;if(!i)throw new Error(`The selector "${n}" did not match any elements`);return e||(i.textContent=""),i}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,e,i,r){if(r){e=r+":"+e;const o=uC[r];o?n.setAttributeNS(o,e,i):n.setAttribute(e,i)}else n.setAttribute(e,i)}removeAttribute(n,e,i){if(i){const r=uC[i];r?n.removeAttributeNS(r,e):n.removeAttribute(`${i}:${e}`)}else n.removeAttribute(e)}addClass(n,e){n.classList.add(e)}removeClass(n,e){n.classList.remove(e)}setStyle(n,e,i,r){r&(Lo.DashCase|Lo.Important)?n.style.setProperty(e,i,r&Lo.Important?"important":""):n.style[e]=i}removeStyle(n,e,i){i&Lo.DashCase?n.style.removeProperty(e):n.style[e]=""}setProperty(n,e,i){n[e]=i}setValue(n,e){n.nodeValue=e}listen(n,e,i){return"string"==typeof n?this.eventManager.addGlobalEventListener(n,e,bO(i)):this.eventManager.addEventListener(n,e,bO(i))}}function wO(t){return"TEMPLATE"===t.tagName&&void 0!==t.content}class dU extends hC{constructor(n,e,i,r){super(n),this.component=i;const o=H_(r+"-"+i.id,i.styles,[]);e.addStyles(o),this.contentAttr=function lU(t){return"_ngcontent-%COMP%".replace(dC,t)}(r+"-"+i.id),this.hostAttr=function cU(t){return"_nghost-%COMP%".replace(dC,t)}(r+"-"+i.id)}applyToHost(n){super.setAttribute(n,this.hostAttr,"")}createElement(n,e){const i=super.createElement(n,e);return super.setAttribute(i,this.contentAttr,""),i}}class hU extends hC{constructor(n,e,i,r){super(n),this.sharedStylesHost=e,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const o=H_(r.id,r.styles,[]);for(let s=0;s{class t extends pO{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 t.\u0275fac=function(e){return new(e||t)(K(Xt))},t.\u0275prov=Te({token:t,factory:t.\u0275fac}),t})();const CO=["alt","control","meta","shift"],pU={"\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"},mU={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};let gU=(()=>{class t extends pO{constructor(e){super(e)}supports(e){return null!=t.parseEventName(e)}addEventListener(e,i,r){const o=t.parseEventName(i),s=t.eventCallback(o.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>xa().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=t._normalizeKey(i.pop());let s="",a=i.indexOf("code");if(a>-1&&(i.splice(a,1),s="code."),CO.forEach(c=>{const p=i.indexOf(c);p>-1&&(i.splice(p,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=pU[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"),CO.forEach(s=>{s!==r&&(0,mU[s])(e)&&(o+=s+".")}),o+=r,o===i)}static eventCallback(e,i,r){return o=>{t.matchEventFullKeyCode(o,e)&&r.runGuarded(()=>i(o))}}static _normalizeKey(e){return"esc"===e?"escape":e}}return t.\u0275fac=function(e){return new(e||t)(K(Xt))},t.\u0275prov=Te({token:t,factory:t.\u0275fac}),t})();const xO=[{provide:b_,useValue:sO},{provide:c2,useValue:function _U(){cC.makeCurrent()},multi:!0},{provide:Xt,useFactory:function bU(){return function u8(t){hw=t}(document),document},deps:[]}],yU=b2(oW,"browser",xO),kO=new u(""),DO=[{provide:y_,useClass:class rU{addToWindow(n){ai.getAngularTestability=(i,r=!0)=>{const o=n.findTestabilityInTree(i,r);if(null==o)throw new Error("Could not find testability for element.");return o},ai.getAllAngularTestabilities=()=>n.getAllTestabilities(),ai.getAllAngularRootElements=()=>n.getAllRootElements(),ai.frameworkStabilizers||(ai.frameworkStabilizers=[]),ai.frameworkStabilizers.push(i=>{const r=ai.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(n,e,i){return null==e?null:n.getTestability(e)??(i?xa().isShadowRoot(e)?this.findTestabilityInTree(n,e.host,!0):this.findTestabilityInTree(n,e.parentElement,!0):null)}},deps:[]},{provide:m2,useClass:F1,deps:[bt,N1,y_]},{provide:F1,useClass:F1,deps:[bt,N1,y_]}],MO=[{provide:Sw,useValue:"root"},{provide:cl,useFactory:function vU(){return new cl},deps:[]},{provide:B_,useClass:fU,multi:!0,deps:[Xt,bt,b_]},{provide:B_,useClass:gU,multi:!0,deps:[Xt]},{provide:z_,useClass:z_,deps:[V_,_p,Kd]},{provide:qf,useExisting:z_},{provide:mO,useExisting:_p},{provide:_p,useClass:_p,deps:[Xt]},{provide:V_,useClass:V_,deps:[B_,bt]},{provide:lO,useClass:oU,deps:[]},[]];let TO=(()=>{class t{constructor(e){}static withServerTransition(e){return{ngModule:t,providers:[{provide:Kd,useValue:e.appId},{provide:fO,useExisting:Kd},iU]}}}return t.\u0275fac=function(e){return new(e||t)(K(kO,12))},t.\u0275mod=Ct({type:t}),t.\u0275inj=yt({providers:[...MO,...DO],imports:[Ao,sW]}),t})(),EO=(()=>{class t{constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}}return t.\u0275fac=function(e){return new(e||t)(K(Xt))},t.\u0275prov=Te({token:t,factory:function(e){let i=null;return i=e?new e:function CU(){return new EO(K(Xt))}(),i},providedIn:"root"}),t})();typeof window<"u"&&window;let W_=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Te({token:t,factory:function(e){let i=null;return i=e?new(e||t):K(IO),i},providedIn:"root"}),t})(),IO=(()=>{class t extends W_{constructor(e){super(),this._doc=e}sanitize(e,i){if(null==i)return null;switch(e){case ci.NONE:return i;case ci.HTML:return ga(i,"HTML")?Xo(i):WM(this._doc,String(i)).toString();case ci.STYLE:return ga(i,"Style")?Xo(i):i;case ci.SCRIPT:if(ga(i,"Script"))return Xo(i);throw new Error("unsafe value used in a script context");case ci.URL:return ga(i,"URL")?Xo(i):Gg(String(i));case ci.RESOURCE_URL:if(ga(i,"ResourceURL"))return Xo(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 _8(t){return new d8(t)}(e)}bypassSecurityTrustStyle(e){return function v8(t){return new h8(t)}(e)}bypassSecurityTrustScript(e){return function b8(t){return new f8(t)}(e)}bypassSecurityTrustUrl(e){return function y8(t){return new p8(t)}(e)}bypassSecurityTrustResourceUrl(e){return function w8(t){return new m8(t)}(e)}}return t.\u0275fac=function(e){return new(e||t)(K(Xt))},t.\u0275prov=Te({token:t,factory:function(e){let i=null;return i=e?new e:function EU(t){return new IO(t.get(Xt))}(K(Xi)),i},providedIn:"root"}),t})();function ct(...t){return Bn(t,xt(t))}class En extends pe{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){const e=super._subscribe(n);return!e.closed&&n.next(this._value),e}getValue(){const{hasError:n,thrownError:e,_value:i}=this;if(n)throw e;return this._throwIfClosed(),i}next(n){super.next(this._value=n)}}const vp=cn(t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"}),{isArray:AU}=Array,{getPrototypeOf:OU,prototype:IU,keys:PU}=Object;function PO(t){if(1===t.length){const n=t[0];if(AU(n))return{args:n,keys:null};if(function RU(t){return t&&"object"==typeof t&&OU(t)===IU}(n)){const e=PU(n);return{args:e.map(i=>n[i]),keys:e}}}return{args:t,keys:null}}const{isArray:FU}=Array;function mC(t){return Ne(n=>function NU(t,n){return FU(n)?t(...n):t(n)}(t,n))}function RO(t,n){return t.reduce((e,i,r)=>(e[i]=n[r],e),{})}function Xd(...t){const n=xt(t),e=it(t),{args:i,keys:r}=PO(t);if(0===i.length)return Bn([],n);const o=new bn(function LU(t,n,e=mr){return i=>{FO(n,()=>{const{length:r}=t,o=new Array(r);let s=r,a=r;for(let l=0;l{const c=Bn(t[l],n);let p=!1;c.subscribe(Ot(i,m=>{o[l]=m,p||(p=!0,a--),a||i.next(e(o.slice()))},()=>{--s||i.complete()}))},i)},i)}}(i,n,r?s=>RO(r,s):mr));return e?o.pipe(mC(e)):o}function FO(t,n,e){t?Qe(e,t,n):n()}function bp(...t){return function BU(){return hn(1)}()(Bn(t,xt(t)))}function Jd(t){return new bn(n=>{z(t()).subscribe(n)})}function eh(t,n){const e=Pt(t)?t:()=>t,i=r=>r.error(e());return new bn(n?r=>n.schedule(i,0,r):i)}function gC(){return Ye((t,n)=>{let e=null;t._refCount++;const i=Ot(n,void 0,void 0,void 0,()=>{if(!t||t._refCount<=0||0<--t._refCount)return void(e=null);const r=t._connection,o=e;e=null,r&&(!o||r===o)&&r.unsubscribe(),n.unsubscribe()});t.subscribe(i),i.closed||(e=t.connect())})}class _C extends bn{constructor(n,e){super(),this.source=n,this.subjectFactory=e,this._subject=null,this._refCount=0,this._connection=null,Wt(n)&&(this.lift=n.lift)}_subscribe(n){return this.getSubject().subscribe(n)}getSubject(){const n=this._subject;return(!n||n.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:n}=this;this._subject=this._connection=null,n?.unsubscribe()}connect(){let n=this._connection;if(!n){n=this._connection=new Z;const e=this.getSubject();n.add(this.source.subscribe(Ot(e,void 0,()=>{this._teardown(),e.complete()},i=>{this._teardown(),e.error(i)},()=>this._teardown()))),n.closed&&(this._connection=null,n=Z.EMPTY)}return n}refCount(){return gC()(this)}}function Ar(t,n){return Ye((e,i)=>{let r=null,o=0,s=!1;const a=()=>s&&!r&&i.complete();e.subscribe(Ot(i,l=>{r?.unsubscribe();let c=0;const p=o++;z(t(l,p)).subscribe(r=Ot(i,m=>i.next(n?n(l,m,p,c++):m),()=>{r=null,a()}))},()=>{s=!0,a()}))})}function di(t){return t<=0?()=>St:Ye((n,e)=>{let i=0;n.subscribe(Ot(e,r=>{++i<=t&&(e.next(r),t<=i&&e.complete())}))})}function Ui(...t){const n=xt(t);return Ye((e,i)=>{(n?bp(t,e,n):bp(t,e)).subscribe(i)})}function hi(t,n){return Ye((e,i)=>{let r=0;e.subscribe(Ot(i,o=>t.call(n,o,r++)&&i.next(o)))})}function j_(t){return Ye((n,e)=>{let i=!1;n.subscribe(Ot(e,r=>{i=!0,e.next(r)},()=>{i||e.next(t),e.complete()}))})}function NO(t=VU){return Ye((n,e)=>{let i=!1;n.subscribe(Ot(e,r=>{i=!0,e.next(r)},()=>i?e.complete():e.error(t())))})}function VU(){return new vp}function mc(t,n){const e=arguments.length>=2;return i=>i.pipe(t?hi((r,o)=>t(r,o,i)):mr,di(1),e?j_(n):NO(()=>new vp))}function bl(t,n){return Pt(n)?mt(t,n,1):mt(t,1)}function rr(t,n,e){const i=Pt(t)||n||e?{next:t,error:n,complete:e}:t;return i?Ye((r,o)=>{var s;null===(s=i.subscribe)||void 0===s||s.call(i);let a=!0;r.subscribe(Ot(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)}))}):mr}function ka(t){return Ye((n,e)=>{let o,i=null,r=!1;i=n.subscribe(Ot(e,void 0,void 0,s=>{o=z(t(s,ka(t)(n))),i?(i.unsubscribe(),i=null,o.subscribe(e)):r=!0})),r&&(i.unsubscribe(),i=null,o.subscribe(e))})}function HU(t,n,e,i,r){return(o,s)=>{let a=e,l=n,c=0;o.subscribe(Ot(s,p=>{const m=c++;l=a?t(l,p,m):(a=!0,p),i&&s.next(l)},r&&(()=>{a&&s.next(l),s.complete()})))}}function LO(t,n){return Ye(HU(t,n,arguments.length>=2,!0))}function vC(t){return t<=0?()=>St:Ye((n,e)=>{let i=[];n.subscribe(Ot(e,r=>{i.push(r),t{for(const r of i)e.next(r);e.complete()},void 0,()=>{i=null}))})}function BO(t,n){const e=arguments.length>=2;return i=>i.pipe(t?hi((r,o)=>t(r,o,i)):mr,vC(1),e?j_(n):NO(()=>new vp))}function VO(t,n=!1){return Ye((e,i)=>{let r=0;e.subscribe(Ot(i,o=>{const s=t(o,r++);(s||n)&&i.next(o),!s&&i.complete()}))})}function HO(t){return Ne(()=>t)}function U_(t){return Ye((n,e)=>{try{n.subscribe(e)}finally{e.add(t)}})}const On="primary",yp=Symbol("RouteTitle");class zU{constructor(n){this.params=n||{}}has(n){return Object.prototype.hasOwnProperty.call(this.params,n)}get(n){if(this.has(n)){const e=this.params[n];return Array.isArray(e)?e[0]:e}return null}getAll(n){if(this.has(n)){const e=this.params[n];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}}function th(t){return new zU(t)}function WU(t,n,e){const i=e.path.split("/");if(i.length>t.length||"full"===e.pathMatch&&(n.hasChildren()||i.lengthi[o]===r)}return t===n}function WO(t){return Array.prototype.concat.apply([],t)}function jO(t){return t.length>0?t[t.length-1]:null}function to(t,n){for(const e in t)t.hasOwnProperty(e)&&n(t[e],e)}function gc(t){return s1(t)?t:Xf(t)?Bn(Promise.resolve(t)):ct(t)}const GU={exact:function $O(t,n,e){if(!_u(t.segments,n.segments)||!G_(t.segments,n.segments,e)||t.numberOfChildren!==n.numberOfChildren)return!1;for(const i in n.children)if(!t.children[i]||!$O(t.children[i],n.children[i],e))return!1;return!0},subset:qO},UO={exact:function $U(t,n){return Da(t,n)},subset:function qU(t,n){return Object.keys(n).length<=Object.keys(t).length&&Object.keys(n).every(e=>zO(t[e],n[e]))},ignored:()=>!0};function GO(t,n,e){return GU[e.paths](t.root,n.root,e.matrixParams)&&UO[e.queryParams](t.queryParams,n.queryParams)&&!("exact"===e.fragment&&t.fragment!==n.fragment)}function qO(t,n,e){return YO(t,n,n.segments,e)}function YO(t,n,e,i){if(t.segments.length>e.length){const r=t.segments.slice(0,e.length);return!(!_u(r,e)||n.hasChildren()||!G_(r,e,i))}if(t.segments.length===e.length){if(!_u(t.segments,e)||!G_(t.segments,e,i))return!1;for(const r in n.children)if(!t.children[r]||!qO(t.children[r],n.children[r],i))return!1;return!0}{const r=e.slice(0,t.segments.length),o=e.slice(t.segments.length);return!!(_u(t.segments,r)&&G_(t.segments,r,i)&&t.children[On])&&YO(t.children[On],n,o,i)}}function G_(t,n,e){return n.every((i,r)=>UO[e](t[r].parameters,i.parameters))}class gu{constructor(n,e,i){this.root=n,this.queryParams=e,this.fragment=i}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=th(this.queryParams)),this._queryParamMap}toString(){return ZU.serialize(this)}}class Fn{constructor(n,e){this.segments=n,this.children=e,this.parent=null,to(e,(i,r)=>i.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return $_(this)}}class wp{constructor(n,e){this.path=n,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=th(this.parameters)),this._parameterMap}toString(){return XO(this)}}function _u(t,n){return t.length===n.length&&t.every((e,i)=>e.path===n[i].path)}let KO=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Te({token:t,factory:function(){return new yC},providedIn:"root"}),t})();class yC{parse(n){const e=new oG(n);return new gu(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(n){const e=`/${Cp(n.root,!0)}`,i=function JU(t){const n=Object.keys(t).map(e=>{const i=t[e];return Array.isArray(i)?i.map(r=>`${q_(e)}=${q_(r)}`).join("&"):`${q_(e)}=${q_(i)}`}).filter(e=>!!e);return n.length?`?${n.join("&")}`:""}(n.queryParams);return`${e}${i}${"string"==typeof n.fragment?`#${function QU(t){return encodeURI(t)}(n.fragment)}`:""}`}}const ZU=new yC;function $_(t){return t.segments.map(n=>XO(n)).join("/")}function Cp(t,n){if(!t.hasChildren())return $_(t);if(n){const e=t.children[On]?Cp(t.children[On],!1):"",i=[];return to(t.children,(r,o)=>{o!==On&&i.push(`${o}:${Cp(r,!1)}`)}),i.length>0?`${e}(${i.join("//")})`:e}{const e=function KU(t,n){let e=[];return to(t.children,(i,r)=>{r===On&&(e=e.concat(n(i,r)))}),to(t.children,(i,r)=>{r!==On&&(e=e.concat(n(i,r)))}),e}(t,(i,r)=>r===On?[Cp(t.children[On],!1)]:[`${r}:${Cp(i,!1)}`]);return 1===Object.keys(t.children).length&&null!=t.children[On]?`${$_(t)}/${e[0]}`:`${$_(t)}/(${e.join("//")})`}}function ZO(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function q_(t){return ZO(t).replace(/%3B/gi,";")}function wC(t){return ZO(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Y_(t){return decodeURIComponent(t)}function QO(t){return Y_(t.replace(/\+/g,"%20"))}function XO(t){return`${wC(t.path)}${function XU(t){return Object.keys(t).map(n=>`;${wC(n)}=${wC(t[n])}`).join("")}(t.parameters)}`}const eG=/^[^\/()?;=#]+/;function K_(t){const n=t.match(eG);return n?n[0]:""}const tG=/^[^=?&#]+/,iG=/^[^&#]+/;class oG{constructor(n){this.url=n,this.remaining=n}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Fn([],{}):new Fn([],this.parseChildren())}parseQueryParams(){const n={};if(this.consumeOptional("?"))do{this.parseQueryParam(n)}while(this.consumeOptional("&"));return n}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const n=[];for(this.peekStartsWith("(")||n.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),n.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let i={};return this.peekStartsWith("(")&&(i=this.parseParens(!1)),(n.length>0||Object.keys(e).length>0)&&(i[On]=new Fn(n,e)),i}parseSegment(){const n=K_(this.remaining);if(""===n&&this.peekStartsWith(";"))throw new ke(4009,!1);return this.capture(n),new wp(Y_(n),this.parseMatrixParams())}parseMatrixParams(){const n={};for(;this.consumeOptional(";");)this.parseParam(n);return n}parseParam(n){const e=K_(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){const r=K_(this.remaining);r&&(i=r,this.capture(i))}n[Y_(e)]=Y_(i)}parseQueryParam(n){const e=function nG(t){const n=t.match(tG);return n?n[0]:""}(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){const s=function rG(t){const n=t.match(iG);return n?n[0]:""}(this.remaining);s&&(i=s,this.capture(i))}const r=QO(e),o=QO(i);if(n.hasOwnProperty(r)){let s=n[r];Array.isArray(s)||(s=[s],n[r]=s),s.push(o)}else n[r]=o}parseParens(n){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const i=K_(this.remaining),r=this.remaining[i.length];if("/"!==r&&")"!==r&&";"!==r)throw new ke(4010,!1);let o;i.indexOf(":")>-1?(o=i.slice(0,i.indexOf(":")),this.capture(o),this.capture(":")):n&&(o=On);const s=this.parseChildren();e[o]=1===Object.keys(s).length?s[On]:new Fn([],s),this.consumeOptional("//")}return e}peekStartsWith(n){return this.remaining.startsWith(n)}consumeOptional(n){return!!this.peekStartsWith(n)&&(this.remaining=this.remaining.substring(n.length),!0)}capture(n){if(!this.consumeOptional(n))throw new ke(4011,!1)}}function CC(t){return t.segments.length>0?new Fn([],{[On]:t}):t}function Z_(t){const n={};for(const i of Object.keys(t.children)){const o=Z_(t.children[i]);(o.segments.length>0||o.hasChildren())&&(n[i]=o)}return function sG(t){if(1===t.numberOfChildren&&t.children[On]){const n=t.children[On];return new Fn(t.segments.concat(n.segments),n.children)}return t}(new Fn(t.segments,n))}function vu(t){return t instanceof gu}function cG(t,n,e,i,r){if(0===e.length)return nh(n.root,n.root,n.root,i,r);const o=function tI(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new eI(!0,0,t);let n=0,e=!1;const i=t.reduce((r,o,s)=>{if("object"==typeof o&&null!=o){if(o.outlets){const a={};return to(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?n++:""!=a&&r.push(a))}),r):[...r,o]},[]);return new eI(e,n,i)}(e);return o.toRoot()?nh(n.root,n.root,new Fn([],{}),i,r):function s(l){const c=function dG(t,n,e,i){if(t.isAbsolute)return new ih(n.root,!0,0);if(-1===i)return new ih(e,e===n.root,0);return function nI(t,n,e){let i=t,r=n,o=e;for(;o>r;){if(o-=r,i=i.parent,!i)throw new ke(4005,!1);r=i.segments.length}return new ih(i,!1,r-o)}(e,i+(Sp(t.commands[0])?0:1),t.numberOfDoubleDots)}(o,n,t.snapshot?._urlSegment,l),p=c.processChildren?kp(c.segmentGroup,c.index,o.commands):xC(c.segmentGroup,c.index,o.commands);return nh(n.root,c.segmentGroup,p,i,r)}(t.snapshot?._lastPathIndex)}function Sp(t){return"object"==typeof t&&null!=t&&!t.outlets&&!t.segmentPath}function xp(t){return"object"==typeof t&&null!=t&&t.outlets}function nh(t,n,e,i,r){let s,o={};i&&to(i,(l,c)=>{o[c]=Array.isArray(l)?l.map(p=>`${p}`):`${l}`}),s=t===n?e:JO(t,n,e);const a=CC(Z_(s));return new gu(a,o,r)}function JO(t,n,e){const i={};return to(t.children,(r,o)=>{i[o]=r===n?e:JO(r,n,e)}),new Fn(t.segments,i)}class eI{constructor(n,e,i){if(this.isAbsolute=n,this.numberOfDoubleDots=e,this.commands=i,n&&i.length>0&&Sp(i[0]))throw new ke(4003,!1);const r=i.find(xp);if(r&&r!==jO(i))throw new ke(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class ih{constructor(n,e,i){this.segmentGroup=n,this.processChildren=e,this.index=i}}function xC(t,n,e){if(t||(t=new Fn([],{})),0===t.segments.length&&t.hasChildren())return kp(t,n,e);const i=function fG(t,n,e){let i=0,r=n;const o={match:!1,pathIndex:0,commandIndex:0};for(;r=e.length)return o;const s=t.segments[r],a=e[i];if(xp(a))break;const l=`${a}`,c=i0&&void 0===l)break;if(l&&c&&"object"==typeof c&&void 0===c.outlets){if(!rI(l,c,s))return o;i+=2}else{if(!rI(l,{},s))return o;i++}r++}return{match:!0,pathIndex:r,commandIndex:i}}(t,n,e),r=e.slice(i.commandIndex);if(i.match&&i.pathIndex{"string"==typeof o&&(o=[o]),null!==o&&(r[s]=xC(t.children[s],n,o))}),to(t.children,(o,s)=>{void 0===i[s]&&(r[s]=o)}),new Fn(t.segments,r)}}function kC(t,n,e){const i=t.segments.slice(0,n);let r=0;for(;r{"string"==typeof e&&(e=[e]),null!==e&&(n[i]=kC(new Fn([],{}),0,e))}),n}function iI(t){const n={};return to(t,(e,i)=>n[i]=`${e}`),n}function rI(t,n,e){return t==e.path&&Da(n,e.parameters)}class yl{constructor(n,e){this.id=n,this.url=e}}class DC extends yl{constructor(n,e,i="imperative",r=null){super(n,e),this.type=0,this.navigationTrigger=i,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class bu extends yl{constructor(n,e,i){super(n,e),this.urlAfterRedirects=i,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Q_ extends yl{constructor(n,e,i,r){super(n,e),this.reason=i,this.code=r,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class oI extends yl{constructor(n,e,i,r){super(n,e),this.error=i,this.target=r,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class mG extends yl{constructor(n,e,i,r){super(n,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 gG extends yl{constructor(n,e,i,r){super(n,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 _G extends yl{constructor(n,e,i,r,o){super(n,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 vG extends yl{constructor(n,e,i,r){super(n,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 bG extends yl{constructor(n,e,i,r){super(n,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 yG{constructor(n){this.route=n,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class wG{constructor(n){this.route=n,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class CG{constructor(n){this.snapshot=n,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class SG{constructor(n){this.snapshot=n,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class xG{constructor(n){this.snapshot=n,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class kG{constructor(n){this.snapshot=n,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class sI{constructor(n,e,i){this.routerEvent=n,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 aI{constructor(n){this._root=n}get root(){return this._root.value}parent(n){const e=this.pathFromRoot(n);return e.length>1?e[e.length-2]:null}children(n){const e=MC(n,this._root);return e?e.children.map(i=>i.value):[]}firstChild(n){const e=MC(n,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(n){const e=TC(n,this._root);return e.length<2?[]:e[e.length-2].children.map(r=>r.value).filter(r=>r!==n)}pathFromRoot(n){return TC(n,this._root).map(e=>e.value)}}function MC(t,n){if(t===n.value)return n;for(const e of n.children){const i=MC(t,e);if(i)return i}return null}function TC(t,n){if(t===n.value)return[n];for(const e of n.children){const i=TC(t,e);if(i.length)return i.unshift(n),i}return[]}class wl{constructor(n,e){this.value=n,this.children=e}toString(){return`TreeNode(${this.value})`}}function rh(t){const n={};return t&&t.children.forEach(e=>n[e.value.outlet]=e),n}class lI extends aI{constructor(n,e){super(n),this.snapshot=e,EC(this,n)}toString(){return this.snapshot.toString()}}function cI(t,n){const e=function MG(t,n){const s=new X_([],{},{},"",{},On,n,null,t.root,-1,{});return new dI("",new wl(s,[]))}(t,n),i=new En([new wp("",{})]),r=new En({}),o=new En({}),s=new En({}),a=new En(""),l=new Cl(i,r,s,a,o,On,n,e.root);return l.snapshot=e.root,new lI(new wl(l,[]),e)}class Cl{constructor(n,e,i,r,o,s,a,l){this.url=n,this.params=e,this.queryParams=i,this.fragment=r,this.data=o,this.outlet=s,this.component=a,this.title=this.data?.pipe(Ne(c=>c[yp]))??ct(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(Ne(n=>th(n)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(Ne(n=>th(n)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function uI(t,n="emptyOnly"){const e=t.pathFromRoot;let i=0;if("always"!==n)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 TG(t){return t.reduce((n,e)=>({params:{...n.params,...e.params},data:{...n.data,...e.data},resolve:{...e.data,...n.resolve,...e.routeConfig?.data,...e._resolvedData}}),{params:{},data:{},resolve:{}})}(e.slice(i))}class X_{constructor(n,e,i,r,o,s,a,l,c,p,m,_){this.url=n,this.params=e,this.queryParams=i,this.fragment=r,this.data=o,this.outlet=s,this.component=a,this.title=this.data?.[yp],this.routeConfig=l,this._urlSegment=c,this._lastPathIndex=p,this._correctedLastPathIndex=_??p,this._resolve=m}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=th(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=th(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(i=>i.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class dI extends aI{constructor(n,e){super(e),this.url=n,EC(this,e)}toString(){return hI(this._root)}}function EC(t,n){n.value._routerState=t,n.children.forEach(e=>EC(t,e))}function hI(t){const n=t.children.length>0?` { ${t.children.map(hI).join(", ")} } `:"";return`${t.value}${n}`}function AC(t){if(t.snapshot){const n=t.snapshot,e=t._futureSnapshot;t.snapshot=e,Da(n.queryParams,e.queryParams)||t.queryParams.next(e.queryParams),n.fragment!==e.fragment&&t.fragment.next(e.fragment),Da(n.params,e.params)||t.params.next(e.params),function jU(t,n){if(t.length!==n.length)return!1;for(let e=0;eDa(e.parameters,n[i].parameters))}(t.url,n.url);return e&&!(!t.parent!=!n.parent)&&(!t.parent||OC(t.parent,n.parent))}function Dp(t,n,e){if(e&&t.shouldReuseRoute(n.value,e.value.snapshot)){const i=e.value;i._futureSnapshot=n.value;const r=function AG(t,n,e){return n.children.map(i=>{for(const r of e.children)if(t.shouldReuseRoute(i.value,r.value.snapshot))return Dp(t,i,r);return Dp(t,i)})}(t,n,e);return new wl(i,r)}{if(t.shouldAttach(n.value)){const o=t.retrieve(n.value);if(null!==o){const s=o.route;return s.value._futureSnapshot=n.value,s.children=n.children.map(a=>Dp(t,a)),s}}const i=function OG(t){return new Cl(new En(t.url),new En(t.params),new En(t.queryParams),new En(t.fragment),new En(t.data),t.outlet,t.component,t)}(n.value),r=n.children.map(o=>Dp(t,o));return new wl(i,r)}}const IC="ngNavigationCancelingError";function fI(t,n){const{redirectTo:e,navigationBehaviorOptions:i}=vu(n)?{redirectTo:n,navigationBehaviorOptions:void 0}:n,r=pI(!1,0,n);return r.url=e,r.navigationBehaviorOptions=i,r}function pI(t,n,e){const i=new Error("NavigationCancelingError: "+(t||""));return i[IC]=!0,i.cancellationCode=n,e&&(i.url=e),i}function mI(t){return gI(t)&&vu(t.url)}function gI(t){return t&&t[IC]}class IG{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.injector=null,this.children=new Mp,this.attachRef=null}}let Mp=(()=>{class t{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 IG,this.contexts.set(e,i)),i}getContext(e){return this.contexts.get(e)||null}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Te({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const J_=!1;let PC=(()=>{class t{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 $e,this.deactivateEvents=new $e,this.attachEvents=new $e,this.detachEvents=new $e,this.name=r||On,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 ke(4012,J_);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new ke(4012,J_);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new ke(4012,J_);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 ke(4013,J_);this._activatedRoute=e;const r=this.location,s=e._futureSnapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,l=new PG(e,a,r.injector);if(i&&function RG(t){return!!t.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 t.\u0275fac=function(e){return new(e||t)(D(Mp),D(wi),ho("name"),D(wn),D(lc))},t.\u0275dir=fe({type:t,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0}),t})();class PG{constructor(n,e,i){this.route=n,this.childContexts=e,this.parent=i}get(n,e){return n===Cl?this.route:n===Mp?this.childContexts:this.parent.get(n,e)}}let RC=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Pe({type:t,selectors:[["ng-component"]],standalone:!0,features:[CA],decls:1,vars:0,template:function(e,i){1&e&&q(0,"router-outlet")},dependencies:[PC],encapsulation:2}),t})();function _I(t,n){return t.providers&&!t._injector&&(t._injector=p_(t.providers,n,`Route: ${t.path}`)),t._injector??n}function NC(t){const n=t.children&&t.children.map(NC),e=n?{...t,children:n}:{...t};return!e.component&&!e.loadComponent&&(n||e.loadChildren)&&e.outlet&&e.outlet!==On&&(e.component=RC),e}function Ss(t){return t.outlet||On}function vI(t,n){const e=t.filter(i=>Ss(i)===n);return e.push(...t.filter(i=>Ss(i)!==n)),e}function Tp(t){if(!t)return null;if(t.routeConfig?._injector)return t.routeConfig._injector;for(let n=t.parent;n;n=n.parent){const e=n.routeConfig;if(e?._loadedInjector)return e._loadedInjector;if(e?._injector)return e._injector}return null}class VG{constructor(n,e,i,r){this.routeReuseStrategy=n,this.futureState=e,this.currState=i,this.forwardEvent=r}activate(n){const e=this.futureState._root,i=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,i,n),AC(this.futureState.root),this.activateChildRoutes(e,i,n)}deactivateChildRoutes(n,e,i){const r=rh(e);n.children.forEach(o=>{const s=o.value.outlet;this.deactivateRoutes(o,r[s],i),delete r[s]}),to(r,(o,s)=>{this.deactivateRouteAndItsChildren(o,i)})}deactivateRoutes(n,e,i){const r=n.value,o=e?e.value:null;if(r===o)if(r.component){const s=i.getContext(r.outlet);s&&this.deactivateChildRoutes(n,e,s.children)}else this.deactivateChildRoutes(n,e,i);else o&&this.deactivateRouteAndItsChildren(e,i)}deactivateRouteAndItsChildren(n,e){n.value.component&&this.routeReuseStrategy.shouldDetach(n.value.snapshot)?this.detachAndStoreRouteSubtree(n,e):this.deactivateRouteAndOutlet(n,e)}detachAndStoreRouteSubtree(n,e){const i=e.getContext(n.value.outlet),r=i&&n.value.component?i.children:e,o=rh(n);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(n.value.snapshot,{componentRef:s,route:n,contexts:a})}}deactivateRouteAndOutlet(n,e){const i=e.getContext(n.value.outlet),r=i&&n.value.component?i.children:e,o=rh(n);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(n,e,i){const r=rh(e);n.children.forEach(o=>{this.activateRoutes(o,r[o.value.outlet],i),this.forwardEvent(new kG(o.value.snapshot))}),n.children.length&&this.forwardEvent(new SG(n.value.snapshot))}activateRoutes(n,e,i){const r=n.value,o=e?e.value:null;if(AC(r),r===o)if(r.component){const s=i.getOrCreateContext(r.outlet);this.activateChildRoutes(n,e,s.children)}else this.activateChildRoutes(n,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),AC(a.route.value),this.activateChildRoutes(n,null,s.children)}else{const a=Tp(r.snapshot),l=a?.get(cc)??null;s.attachRef=null,s.route=r,s.resolver=l,s.injector=a,s.outlet&&s.outlet.activateWith(r,s.injector),this.activateChildRoutes(n,null,s.children)}}else this.activateChildRoutes(n,null,i)}}class bI{constructor(n){this.path=n,this.route=this.path[this.path.length-1]}}class ev{constructor(n,e){this.component=n,this.route=e}}function HG(t,n,e){const i=t._root;return Ep(i,n?n._root:null,e,[i.value])}function oh(t,n){const e=Symbol(),i=n.get(t,e);return i===e?"function"!=typeof t||function Yy(t){return null!==rd(t)}(t)?n.get(t):t:i}function Ep(t,n,e,i,r={canDeactivateChecks:[],canActivateChecks:[]}){const o=rh(n);return t.children.forEach(s=>{(function WG(t,n,e,i,r={canDeactivateChecks:[],canActivateChecks:[]}){const o=t.value,s=n?n.value:null,a=e?e.getContext(t.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){const l=function jG(t,n,e){if("function"==typeof e)return e(t,n);switch(e){case"pathParamsChange":return!_u(t.url,n.url);case"pathParamsOrQueryParamsChange":return!_u(t.url,n.url)||!Da(t.queryParams,n.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!OC(t,n)||!Da(t.queryParams,n.queryParams);default:return!OC(t,n)}}(s,o,o.routeConfig.runGuardsAndResolvers);l?r.canActivateChecks.push(new bI(i)):(o.data=s.data,o._resolvedData=s._resolvedData),Ep(t,n,o.component?a?a.children:null:e,i,r),l&&a&&a.outlet&&a.outlet.isActivated&&r.canDeactivateChecks.push(new ev(a.outlet.component,s))}else s&&Ap(n,a,r),r.canActivateChecks.push(new bI(i)),Ep(t,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]}),to(o,(s,a)=>Ap(s,e.getContext(a),r)),r}function Ap(t,n,e){const i=rh(t),r=t.value;to(i,(o,s)=>{Ap(o,r.component?n?n.children.getContext(s):null:n,e)}),e.canDeactivateChecks.push(new ev(r.component&&n&&n.outlet&&n.outlet.isActivated?n.outlet.component:null,r))}function Op(t){return"function"==typeof t}function LC(t){return t instanceof vp||"EmptyError"===t?.name}const tv=Symbol("INITIAL_VALUE");function sh(){return Ar(t=>Xd(t.map(n=>n.pipe(di(1),Ui(tv)))).pipe(Ne(n=>{for(const e of n)if(!0!==e){if(e===tv)return tv;if(!1===e||e instanceof gu)return e}return!0}),hi(n=>n!==tv),di(1)))}function yI(t){return function Dr(...t){return so(t)}(rr(n=>{if(vu(n))throw fI(0,n)}),Ne(n=>!0===n))}const BC={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function wI(t,n,e,i,r){const o=VC(t,n,e);return o.matched?function s$(t,n,e,i){const r=n.canMatch;return r&&0!==r.length?ct(r.map(s=>{const a=oh(s,t);return gc(function KG(t){return t&&Op(t.canMatch)}(a)?a.canMatch(n,e):t.runInContext(()=>a(n,e)))})).pipe(sh(),yI()):ct(!0)}(i=_I(n,i),n,e).pipe(Ne(s=>!0===s?o:{...BC})):ct(o)}function VC(t,n,e){if(""===n.path)return"full"===n.pathMatch&&(t.hasChildren()||e.length>0)?{...BC}:{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};const r=(n.matcher||WU)(e,t,n);if(!r)return{...BC};const o={};to(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 nv(t,n,e,i,r="corrected"){if(e.length>0&&function c$(t,n,e){return e.some(i=>iv(t,n,i)&&Ss(i)!==On)}(t,e,i)){const s=new Fn(n,function l$(t,n,e,i){const r={};r[On]=i,i._sourceSegment=t,i._segmentIndexShift=n.length;for(const o of e)if(""===o.path&&Ss(o)!==On){const s=new Fn([],{});s._sourceSegment=t,s._segmentIndexShift=n.length,r[Ss(o)]=s}return r}(t,n,i,new Fn(e,t.children)));return s._sourceSegment=t,s._segmentIndexShift=n.length,{segmentGroup:s,slicedSegments:[]}}if(0===e.length&&function u$(t,n,e){return e.some(i=>iv(t,n,i))}(t,e,i)){const s=new Fn(t.segments,function a$(t,n,e,i,r,o){const s={};for(const a of i)if(iv(t,e,a)&&!r[Ss(a)]){const l=new Fn([],{});l._sourceSegment=t,l._segmentIndexShift="legacy"===o?t.segments.length:n.length,s[Ss(a)]=l}return{...r,...s}}(t,n,e,i,t.children,r));return s._sourceSegment=t,s._segmentIndexShift=n.length,{segmentGroup:s,slicedSegments:e}}const o=new Fn(t.segments,t.children);return o._sourceSegment=t,o._segmentIndexShift=n.length,{segmentGroup:o,slicedSegments:e}}function iv(t,n,e){return(!(t.hasChildren()||n.length>0)||"full"!==e.pathMatch)&&""===e.path}function CI(t,n,e,i){return!!(Ss(t)===i||i!==On&&iv(n,e,t))&&("**"===t.path||VC(n,t,e).matched)}function SI(t,n,e){return 0===n.length&&!t.children[e]}const rv=!1;class ov{constructor(n){this.segmentGroup=n||null}}class xI{constructor(n){this.urlTree=n}}function Ip(t){return eh(new ov(t))}function kI(t){return eh(new xI(t))}class p${constructor(n,e,i,r,o){this.injector=n,this.configLoader=e,this.urlSerializer=i,this.urlTree=r,this.config=o,this.allowRedirects=!0}apply(){const n=nv(this.urlTree.root,[],[],this.config).segmentGroup,e=new Fn(n.segments,n.children);return this.expandSegmentGroup(this.injector,this.config,e,On).pipe(Ne(o=>this.createUrlTree(Z_(o),this.urlTree.queryParams,this.urlTree.fragment))).pipe(ka(o=>{if(o instanceof xI)return this.allowRedirects=!1,this.match(o.urlTree);throw o instanceof ov?this.noMatchError(o):o}))}match(n){return this.expandSegmentGroup(this.injector,this.config,n.root,On).pipe(Ne(r=>this.createUrlTree(Z_(r),n.queryParams,n.fragment))).pipe(ka(r=>{throw r instanceof ov?this.noMatchError(r):r}))}noMatchError(n){return new ke(4002,rv)}createUrlTree(n,e,i){const r=CC(n);return new gu(r,e,i)}expandSegmentGroup(n,e,i,r){return 0===i.segments.length&&i.hasChildren()?this.expandChildren(n,e,i).pipe(Ne(o=>new Fn([],o))):this.expandSegment(n,i,e,i.segments,r,!0)}expandChildren(n,e,i){const r=[];for(const o of Object.keys(i.children))"primary"===o?r.unshift(o):r.push(o);return Bn(r).pipe(bl(o=>{const s=i.children[o],a=vI(e,o);return this.expandSegmentGroup(n,a,s,o).pipe(Ne(l=>({segment:l,outlet:o})))}),LO((o,s)=>(o[s.outlet]=s.segment,o),{}),BO())}expandSegment(n,e,i,r,o,s){return Bn(i).pipe(bl(a=>this.expandSegmentAgainstRoute(n,e,i,a,r,o,s).pipe(ka(c=>{if(c instanceof ov)return ct(null);throw c}))),mc(a=>!!a),ka((a,l)=>{if(LC(a))return SI(e,r,o)?ct(new Fn([],{})):Ip(e);throw a}))}expandSegmentAgainstRoute(n,e,i,r,o,s,a){return CI(r,e,o,s)?void 0===r.redirectTo?this.matchSegmentAgainstRoute(n,e,r,o,s):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(n,e,i,r,o,s):Ip(e):Ip(e)}expandSegmentAgainstRouteUsingRedirect(n,e,i,r,o,s){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(n,i,r,s):this.expandRegularSegmentAgainstRouteUsingRedirect(n,e,i,r,o,s)}expandWildCardWithParamsAgainstRouteUsingRedirect(n,e,i,r){const o=this.applyRedirectCommands([],i.redirectTo,{});return i.redirectTo.startsWith("/")?kI(o):this.lineralizeSegments(i,o).pipe(mt(s=>{const a=new Fn(s,{});return this.expandSegment(n,a,e,s,r,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(n,e,i,r,o,s){const{matched:a,consumedSegments:l,remainingSegments:c,positionalParamSegments:p}=VC(e,r,o);if(!a)return Ip(e);const m=this.applyRedirectCommands(l,r.redirectTo,p);return r.redirectTo.startsWith("/")?kI(m):this.lineralizeSegments(r,m).pipe(mt(_=>this.expandSegment(n,e,i,_.concat(c),s,!1)))}matchSegmentAgainstRoute(n,e,i,r,o){return"**"===i.path?(n=_I(i,n),i.loadChildren?(i._loadedRoutes?ct({routes:i._loadedRoutes,injector:i._loadedInjector}):this.configLoader.loadChildren(n,i)).pipe(Ne(a=>(i._loadedRoutes=a.routes,i._loadedInjector=a.injector,new Fn(r,{})))):ct(new Fn(r,{}))):wI(e,i,r,n).pipe(Ar(({matched:s,consumedSegments:a,remainingSegments:l})=>s?this.getChildConfig(n=i._injector??n,i,r).pipe(mt(p=>{const m=p.injector??n,_=p.routes,{segmentGroup:C,slicedSegments:k}=nv(e,a,l,_),A=new Fn(C.segments,C.children);if(0===k.length&&A.hasChildren())return this.expandChildren(m,_,A).pipe(Ne(U=>new Fn(a,U)));if(0===_.length&&0===k.length)return ct(new Fn(a,{}));const P=Ss(i)===o;return this.expandSegment(m,A,_,k,P?On:o,!0).pipe(Ne(G=>new Fn(a.concat(G.segments),G.children)))})):Ip(e)))}getChildConfig(n,e,i){return e.children?ct({routes:e.children,injector:n}):e.loadChildren?void 0!==e._loadedRoutes?ct({routes:e._loadedRoutes,injector:e._loadedInjector}):function o$(t,n,e,i){const r=n.canLoad;return void 0===r||0===r.length?ct(!0):ct(r.map(s=>{const a=oh(s,t);return gc(function GG(t){return t&&Op(t.canLoad)}(a)?a.canLoad(n,e):t.runInContext(()=>a(n,e)))})).pipe(sh(),yI())}(n,e,i).pipe(mt(r=>r?this.configLoader.loadChildren(n,e).pipe(rr(o=>{e._loadedRoutes=o.routes,e._loadedInjector=o.injector})):function h$(t){return eh(pI(rv,3))}())):ct({routes:[],injector:n})}lineralizeSegments(n,e){let i=[],r=e.root;for(;;){if(i=i.concat(r.segments),0===r.numberOfChildren)return ct(i);if(r.numberOfChildren>1||!r.children[On])return eh(new ke(4e3,rv));r=r.children[On]}}applyRedirectCommands(n,e,i){return this.applyRedirectCreateUrlTree(e,this.urlSerializer.parse(e),n,i)}applyRedirectCreateUrlTree(n,e,i,r){const o=this.createSegmentGroup(n,e.root,i,r);return new gu(o,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(n,e){const i={};return to(n,(r,o)=>{if("string"==typeof r&&r.startsWith(":")){const a=r.substring(1);i[o]=e[a]}else i[o]=r}),i}createSegmentGroup(n,e,i,r){const o=this.createSegments(n,e.segments,i,r);let s={};return to(e.children,(a,l)=>{s[l]=this.createSegmentGroup(n,a,i,r)}),new Fn(o,s)}createSegments(n,e,i,r){return e.map(o=>o.path.startsWith(":")?this.findPosParam(n,o,r):this.findOrReturn(o,i))}findPosParam(n,e,i){const r=i[e.path.substring(1)];if(!r)throw new ke(4001,rv);return r}findOrReturn(n,e){let i=0;for(const r of e){if(r.path===n.path)return e.splice(i),r;i++}return n}}class g${}class b${constructor(n,e,i,r,o,s,a,l){this.injector=n,this.rootComponentType=e,this.config=i,this.urlTree=r,this.url=o,this.paramsInheritanceStrategy=s,this.relativeLinkResolution=a,this.urlSerializer=l}recognize(){const n=nv(this.urlTree.root,[],[],this.config.filter(e=>void 0===e.redirectTo),this.relativeLinkResolution).segmentGroup;return this.processSegmentGroup(this.injector,this.config,n,On).pipe(Ne(e=>{if(null===e)return null;const i=new X_([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},On,this.rootComponentType,null,this.urlTree.root,-1,{}),r=new wl(i,e),o=new dI(this.url,r);return this.inheritParamsAndData(o._root),o}))}inheritParamsAndData(n){const e=n.value,i=uI(e,this.paramsInheritanceStrategy);e.params=Object.freeze(i.params),e.data=Object.freeze(i.data),n.children.forEach(r=>this.inheritParamsAndData(r))}processSegmentGroup(n,e,i,r){return 0===i.segments.length&&i.hasChildren()?this.processChildren(n,e,i):this.processSegment(n,e,i,i.segments,r)}processChildren(n,e,i){return Bn(Object.keys(i.children)).pipe(bl(r=>{const o=i.children[r],s=vI(e,r);return this.processSegmentGroup(n,s,o,r)}),LO((r,o)=>r&&o?(r.push(...o),r):null),VO(r=>null!==r),j_(null),BO(),Ne(r=>{if(null===r)return null;const o=DI(r);return function y$(t){t.sort((n,e)=>n.value.outlet===On?-1:e.value.outlet===On?1:n.value.outlet.localeCompare(e.value.outlet))}(o),o}))}processSegment(n,e,i,r,o){return Bn(e).pipe(bl(s=>this.processSegmentAgainstRoute(s._injector??n,s,i,r,o)),mc(s=>!!s),ka(s=>{if(LC(s))return SI(i,r,o)?ct([]):ct(null);throw s}))}processSegmentAgainstRoute(n,e,i,r,o){if(e.redirectTo||!CI(e,i,r,o))return ct(null);let s;if("**"===e.path){const a=r.length>0?jO(r).parameters:{},l=TI(i)+r.length;s=ct({snapshot:new X_(r,a,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,AI(e),Ss(e),e.component??e._loadedComponent??null,e,MI(i),l,OI(e),l),consumedSegments:[],remainingSegments:[]})}else s=wI(i,e,r,n).pipe(Ne(({matched:a,consumedSegments:l,remainingSegments:c,parameters:p})=>{if(!a)return null;const m=TI(i)+l.length;return{snapshot:new X_(l,p,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,AI(e),Ss(e),e.component??e._loadedComponent??null,e,MI(i),m,OI(e),m),consumedSegments:l,remainingSegments:c}}));return s.pipe(Ar(a=>{if(null===a)return ct(null);const{snapshot:l,consumedSegments:c,remainingSegments:p}=a;n=e._injector??n;const m=e._loadedInjector??n,_=function w$(t){return t.children?t.children:t.loadChildren?t._loadedRoutes:[]}(e),{segmentGroup:C,slicedSegments:k}=nv(i,c,p,_.filter(P=>void 0===P.redirectTo),this.relativeLinkResolution);if(0===k.length&&C.hasChildren())return this.processChildren(m,_,C).pipe(Ne(P=>null===P?null:[new wl(l,P)]));if(0===_.length&&0===k.length)return ct([new wl(l,[])]);const A=Ss(e)===o;return this.processSegment(m,_,C,k,A?On:o).pipe(Ne(P=>null===P?null:[new wl(l,P)]))}))}}function C$(t){const n=t.value.routeConfig;return n&&""===n.path&&void 0===n.redirectTo}function DI(t){const n=[],e=new Set;for(const i of t){if(!C$(i)){n.push(i);continue}const r=n.find(o=>i.value.routeConfig===o.value.routeConfig);void 0!==r?(r.children.push(...i.children),e.add(r)):n.push(i)}for(const i of e){const r=DI(i.children);n.push(new wl(i.value,r))}return n.filter(i=>!e.has(i))}function MI(t){let n=t;for(;n._sourceSegment;)n=n._sourceSegment;return n}function TI(t){let n=t,e=n._segmentIndexShift??0;for(;n._sourceSegment;)n=n._sourceSegment,e+=n._segmentIndexShift??0;return e-1}function AI(t){return t.data||{}}function OI(t){return t.resolve||{}}function II(t){return"string"==typeof t.title||null===t.title}function HC(t){return Ar(n=>{const e=t(n);return e?Bn(e).pipe(Ne(()=>n)):ct(n)})}let PI=(()=>{class t{buildTitle(e){let i,r=e.root;for(;void 0!==r;)i=this.getResolvedTitleForRoute(r)??i,r=r.children.find(o=>o.outlet===On);return i}getResolvedTitleForRoute(e){return e.data[yp]}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Te({token:t,factory:function(){return ki(RI)},providedIn:"root"}),t})(),RI=(()=>{class t extends PI{constructor(e){super(),this.title=e}updateTitle(e){const i=this.buildTitle(e);void 0!==i&&this.title.setTitle(i)}}return t.\u0275fac=function(e){return new(e||t)(K(EO))},t.\u0275prov=Te({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();class A${}class I$ extends class O${shouldDetach(n){return!1}store(n,e){}shouldAttach(n){return!1}retrieve(n){return null}shouldReuseRoute(n,e){return n.routeConfig===e.routeConfig}}{}const av=new u("",{providedIn:"root",factory:()=>({})}),zC=new u("ROUTES");let WC=(()=>{class t{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 ct(e._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(e);const i=gc(e.loadComponent()).pipe(rr(o=>{this.onLoadEndListener&&this.onLoadEndListener(e),e._loadedComponent=o}),U_(()=>{this.componentLoaders.delete(e)})),r=new _C(i,()=>new pe).pipe(gC());return this.componentLoaders.set(e,r),r}loadChildren(e,i){if(this.childrenLoaders.get(i))return this.childrenLoaders.get(i);if(i._loadedRoutes)return ct({routes:i._loadedRoutes,injector:i._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(i);const o=this.loadModuleFactoryOrRoutes(i.loadChildren).pipe(Ne(a=>{this.onLoadEndListener&&this.onLoadEndListener(i);let l,c,p=!1;Array.isArray(a)?c=a:(l=a.create(e).injector,c=WO(l.get(zC,[],Vt.Self|Vt.Optional)));return{routes:c.map(NC),injector:l}}),U_(()=>{this.childrenLoaders.delete(i)})),s=new _C(o,()=>new pe).pipe(gC());return this.childrenLoaders.set(i,s),s}loadModuleFactoryOrRoutes(e){return gc(e()).pipe(mt(i=>i instanceof yA||Array.isArray(i)?ct(i):Bn(this.compiler.compileModuleAsync(i))))}}return t.\u0275fac=function(e){return new(e||t)(K(Xi),K(O1))},t.\u0275prov=Te({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();class R${}class F${shouldProcessUrl(n){return!0}extract(n){return n}merge(n,e){return n}}function N$(t){throw t}function L$(t,n,e){return n.parse("/")}const B$={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},V$={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};function NI(){const t=ki(KO),n=ki(Mp),e=ki(dp),i=ki(Xi),r=ki(O1),o=ki(zC,{optional:!0})??[],s=ki(av,{optional:!0})??{},a=ki(RI),l=ki(PI,{optional:!0}),c=ki(R$,{optional:!0}),p=ki(A$,{optional:!0}),m=new Or(null,t,n,e,i,r,WO(o));return c&&(m.urlHandlingStrategy=c),p&&(m.routeReuseStrategy=p),m.titleStrategy=l??a,function H$(t,n){t.errorHandler&&(n.errorHandler=t.errorHandler),t.malformedUriErrorHandler&&(n.malformedUriErrorHandler=t.malformedUriErrorHandler),t.onSameUrlNavigation&&(n.onSameUrlNavigation=t.onSameUrlNavigation),t.paramsInheritanceStrategy&&(n.paramsInheritanceStrategy=t.paramsInheritanceStrategy),t.relativeLinkResolution&&(n.relativeLinkResolution=t.relativeLinkResolution),t.urlUpdateStrategy&&(n.urlUpdateStrategy=t.urlUpdateStrategy),t.canceledNavigationResolution&&(n.canceledNavigationResolution=t.canceledNavigationResolution)}(s,m),m}let Or=(()=>{class t{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 pe,this.errorHandler=N$,this.malformedUriErrorHandler=L$,this.navigated=!1,this.lastSuccessfulId=-1,this.afterPreactivation=()=>ct(void 0),this.urlHandlingStrategy=new F$,this.routeReuseStrategy=new I$,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.configLoader=s.get(WC),this.configLoader.onLoadEndListener=_=>this.triggerEvent(new wG(_)),this.configLoader.onLoadStartListener=_=>this.triggerEvent(new yG(_)),this.ngModule=s.get(du),this.console=s.get(kz);const m=s.get(bt);this.isNgZoneEnabled=m instanceof bt&&bt.isInAngularZone(),this.resetConfig(l),this.currentUrlTree=function UU(){return new gu(new Fn([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=cI(this.currentUrlTree,this.rootComponentType),this.transitions=new En({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(hi(r=>0!==r.id),Ne(r=>({...r,extractedUrl:this.urlHandlingStrategy.extract(r.rawUrl)})),Ar(r=>{let o=!1,s=!1;return ct(r).pipe(rr(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}}),Ar(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 LI(a.source)&&(this.browserUrlTree=a.extractedUrl),ct(a).pipe(Ar(m=>{const _=this.transitions.getValue();return i.next(new DC(m.id,this.serializeUrl(m.extractedUrl),m.source,m.restoredState)),_!==this.transitions.getValue()?St:Promise.resolve(m)}),function m$(t,n,e,i){return Ar(r=>function f$(t,n,e,i,r){return new p$(t,n,e,i,r).apply()}(t,n,e,r.extractedUrl,i).pipe(Ne(o=>({...r,urlAfterRedirects:o}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),rr(m=>{this.currentNavigation={...this.currentNavigation,finalUrl:m.urlAfterRedirects},r.urlAfterRedirects=m.urlAfterRedirects}),function x$(t,n,e,i,r,o){return mt(s=>function v$(t,n,e,i,r,o,s="emptyOnly",a="legacy"){return new b$(t,n,e,i,r,s,a,o).recognize().pipe(Ar(l=>null===l?function _$(t){return new bn(n=>n.error(t))}(new g$):ct(l)))}(t,n,e,s.urlAfterRedirects,i.serialize(s.urlAfterRedirects),i,r,o).pipe(Ne(a=>({...s,targetSnapshot:a}))))}(this.ngModule.injector,this.rootComponentType,this.config,this.urlSerializer,this.paramsInheritanceStrategy,this.relativeLinkResolution),rr(m=>{if(r.targetSnapshot=m.targetSnapshot,"eager"===this.urlUpdateStrategy){if(!m.extras.skipLocationChange){const C=this.urlHandlingStrategy.merge(m.urlAfterRedirects,m.rawUrl);this.setBrowserUrl(C,m)}this.browserUrlTree=m.urlAfterRedirects}const _=new mG(m.id,this.serializeUrl(m.extractedUrl),this.serializeUrl(m.urlAfterRedirects),m.targetSnapshot);i.next(_)}));if(c&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:_,extractedUrl:C,source:k,restoredState:A,extras:P}=a,N=new DC(_,this.serializeUrl(C),k,A);i.next(N);const G=cI(C,this.rootComponentType).snapshot;return ct(r={...a,targetSnapshot:G,urlAfterRedirects:C,extras:{...P,skipLocationChange:!1,replaceUrl:!1}})}return this.rawUrlTree=a.rawUrl,a.resolve(null),St}),rr(a=>{const l=new gG(a.id,this.serializeUrl(a.extractedUrl),this.serializeUrl(a.urlAfterRedirects),a.targetSnapshot);this.triggerEvent(l)}),Ne(a=>r={...a,guards:HG(a.targetSnapshot,a.currentSnapshot,this.rootContexts)}),function QG(t,n){return mt(e=>{const{targetSnapshot:i,currentSnapshot:r,guards:{canActivateChecks:o,canDeactivateChecks:s}}=e;return 0===s.length&&0===o.length?ct({...e,guardsResult:!0}):function XG(t,n,e,i){return Bn(t).pipe(mt(r=>function r$(t,n,e,i,r){const o=n&&n.routeConfig?n.routeConfig.canDeactivate:null;return o&&0!==o.length?ct(o.map(a=>{const l=Tp(n)??r,c=oh(a,l);return gc(function YG(t){return t&&Op(t.canDeactivate)}(c)?c.canDeactivate(t,n,e,i):l.runInContext(()=>c(t,n,e,i))).pipe(mc())})).pipe(sh()):ct(!0)}(r.component,r.route,e,n,i)),mc(r=>!0!==r,!0))}(s,i,r,t).pipe(mt(a=>a&&function UG(t){return"boolean"==typeof t}(a)?function JG(t,n,e,i){return Bn(n).pipe(bl(r=>bp(function t$(t,n){return null!==t&&n&&n(new CG(t)),ct(!0)}(r.route.parent,i),function e$(t,n){return null!==t&&n&&n(new xG(t)),ct(!0)}(r.route,i),function i$(t,n,e){const i=n[n.length-1],o=n.slice(0,n.length-1).reverse().map(s=>function zG(t){const n=t.routeConfig?t.routeConfig.canActivateChild:null;return n&&0!==n.length?{node:t,guards:n}:null}(s)).filter(s=>null!==s).map(s=>Jd(()=>ct(s.guards.map(l=>{const c=Tp(s.node)??e,p=oh(l,c);return gc(function qG(t){return t&&Op(t.canActivateChild)}(p)?p.canActivateChild(i,t):c.runInContext(()=>p(i,t))).pipe(mc())})).pipe(sh())));return ct(o).pipe(sh())}(t,r.path,e),function n$(t,n,e){const i=n.routeConfig?n.routeConfig.canActivate:null;if(!i||0===i.length)return ct(!0);const r=i.map(o=>Jd(()=>{const s=Tp(n)??e,a=oh(o,s);return gc(function $G(t){return t&&Op(t.canActivate)}(a)?a.canActivate(n,t):s.runInContext(()=>a(n,t))).pipe(mc())}));return ct(r).pipe(sh())}(t,r.route,e))),mc(r=>!0!==r,!0))}(i,o,t,n):ct(a)),Ne(a=>({...e,guardsResult:a})))})}(this.ngModule.injector,a=>this.triggerEvent(a)),rr(a=>{if(r.guardsResult=a.guardsResult,vu(a.guardsResult))throw fI(0,a.guardsResult);const l=new _G(a.id,this.serializeUrl(a.extractedUrl),this.serializeUrl(a.urlAfterRedirects),a.targetSnapshot,!!a.guardsResult);this.triggerEvent(l)}),hi(a=>!!a.guardsResult||(this.restoreHistory(a),this.cancelNavigationTransition(a,"",3),!1)),HC(a=>{if(a.guards.canActivateChecks.length)return ct(a).pipe(rr(l=>{const c=new vG(l.id,this.serializeUrl(l.extractedUrl),this.serializeUrl(l.urlAfterRedirects),l.targetSnapshot);this.triggerEvent(c)}),Ar(l=>{let c=!1;return ct(l).pipe(function k$(t,n){return mt(e=>{const{targetSnapshot:i,guards:{canActivateChecks:r}}=e;if(!r.length)return ct(e);let o=0;return Bn(r).pipe(bl(s=>function D$(t,n,e,i){const r=t.routeConfig,o=t._resolve;return void 0!==r?.title&&!II(r)&&(o[yp]=r.title),function M$(t,n,e,i){const r=function T$(t){return[...Object.keys(t),...Object.getOwnPropertySymbols(t)]}(t);if(0===r.length)return ct({});const o={};return Bn(r).pipe(mt(s=>function E$(t,n,e,i){const r=Tp(n)??i,o=oh(t,r);return gc(o.resolve?o.resolve(n,e):r.runInContext(()=>o(n,e)))}(t[s],n,e,i).pipe(mc(),rr(a=>{o[s]=a}))),vC(1),HO(o),ka(s=>LC(s)?St:eh(s)))}(o,t,n,i).pipe(Ne(s=>(t._resolvedData=s,t.data=uI(t,e).resolve,r&&II(r)&&(t.data[yp]=r.title),null)))}(s.route,i,t,n)),rr(()=>o++),vC(1),mt(s=>o===r.length?ct(e):St))})}(this.paramsInheritanceStrategy,this.ngModule.injector),rr({next:()=>c=!0,complete:()=>{c||(this.restoreHistory(l),this.cancelNavigationTransition(l,"",2))}}))}),rr(l=>{const c=new bG(l.id,this.serializeUrl(l.extractedUrl),this.serializeUrl(l.urlAfterRedirects),l.targetSnapshot);this.triggerEvent(c)}))}),HC(a=>{const l=c=>{const p=[];c.routeConfig?.loadComponent&&!c.routeConfig._loadedComponent&&p.push(this.configLoader.loadComponent(c.routeConfig).pipe(rr(m=>{c.component=m}),Ne(()=>{})));for(const m of c.children)p.push(...l(m));return p};return Xd(l(a.targetSnapshot.root)).pipe(j_(),di(1))}),HC(()=>this.afterPreactivation()),Ne(a=>{const l=function EG(t,n,e){const i=Dp(t,n._root,e?e._root:void 0);return new lI(i,n)}(this.routeReuseStrategy,a.targetSnapshot,a.currentRouterState);return r={...a,targetRouterState:l}}),rr(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)}),((t,n,e)=>Ne(i=>(new VG(n,i.targetRouterState,i.currentRouterState,e).activate(t),i)))(this.rootContexts,this.routeReuseStrategy,a=>this.triggerEvent(a)),rr({next(){o=!0},complete(){o=!0}}),U_(()=>{o||s||this.cancelNavigationTransition(r,"",1),this.currentNavigation?.id===r.id&&(this.currentNavigation=null)}),ka(a=>{if(s=!0,gI(a)){mI(a)||(this.navigated=!0,this.restoreHistory(r,!0));const l=new Q_(r.id,this.serializeUrl(r.extractedUrl),a.message,a.cancellationCode);if(i.next(l),mI(a)){const c=this.urlHandlingStrategy.merge(a.url,this.rawUrlTree),p={skipLocationChange:r.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||LI(r.source)};this.scheduleNavigation(c,"imperative",null,p,{resolve:r.resolve,reject:r.reject,promise:r.promise})}else r.resolve(!1)}else{this.restoreHistory(r,!0);const l=new oI(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 St}))}))}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(NC),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,p=l?this.currentUrlTree.fragment:s;let m=null;switch(a){case"merge":m={...this.currentUrlTree.queryParams,...o};break;case"preserve":m=this.currentUrlTree.queryParams;break;default:m=o||null}return null!==m&&(m=this.removeEmptyProps(m)),cG(c,this.currentUrlTree,e,m,p??null)}navigateByUrl(e,i={skipLocationChange:!1}){const r=vu(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 z$(t){for(let n=0;n{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 bu(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((_,C)=>{a=_,l=C});const p=++this.navigationId;let m;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(r=this.location.getState()),m=r&&r.\u0275routerPageId?r.\u0275routerPageId:o.replaceUrl||o.skipLocationChange?this.browserPageId??0:(this.browserPageId??0)+1):m=0,this.setTransition({id:p,targetPageId:m,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(_=>Promise.reject(_))}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 Q_(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 t.\u0275fac=function(e){_a()},t.\u0275prov=Te({token:t,factory:function(){return NI()},providedIn:"root"}),t})();function LI(t){return"imperative"!==t}let Pp=(()=>{class t{constructor(e,i,r,o,s){this.router=e,this.route=i,this.tabIndexAttribute=r,this.renderer=o,this.el=s,this._preserveFragment=!1,this._skipLocationChange=!1,this._replaceUrl=!1,this.commands=null,this.onChanges=new pe,this.setTabIndexIfNotOnNativeEl("0")}set preserveFragment(e){this._preserveFragment=ml(e)}get preserveFragment(){return this._preserveFragment}set skipLocationChange(e){this._skipLocationChange=ml(e)}get skipLocationChange(){return this._skipLocationChange}set replaceUrl(e){this._replaceUrl=ml(e)}get replaceUrl(){return this._replaceUrl}setTabIndexIfNotOnNativeEl(e){if(null!=this.tabIndexAttribute)return;const i=this.renderer,r=this.el.nativeElement;null!==e?i.setAttribute(r,"tabindex",e):i.removeAttribute(r,"tabindex")}ngOnChanges(e){this.onChanges.next(this)}set routerLink(e){null!=e?(this.commands=Array.isArray(e)?e:[e],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(){return null===this.urlTree||this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!0}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}}return t.\u0275fac=function(e){return new(e||t)(D(Or),D(Cl),ho("tabindex"),D(vs),D(xe))},t.\u0275dir=fe({type:t,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(e,i){1&e&&ne("click",function(){return i.onClick()})},inputs:{queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",routerLink:"routerLink"},standalone:!0,features:[Tn]}),t})(),Rp=(()=>{class t{constructor(e,i,r){this.router=e,this.route=i,this.locationStrategy=r,this._preserveFragment=!1,this._skipLocationChange=!1,this._replaceUrl=!1,this.commands=null,this.href=null,this.onChanges=new pe,this.subscription=e.events.subscribe(o=>{o instanceof bu&&this.updateTargetUrlAndHref()})}set preserveFragment(e){this._preserveFragment=ml(e)}get preserveFragment(){return this._preserveFragment}set skipLocationChange(e){this._skipLocationChange=ml(e)}get skipLocationChange(){return this._skipLocationChange}set replaceUrl(e){this._replaceUrl=ml(e)}get replaceUrl(){return this._replaceUrl}set routerLink(e){this.commands=null!=e?Array.isArray(e)?e:[e]:null}ngOnChanges(e){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(e,i,r,o,s){return!!(0!==e||i||r||o||s||"string"==typeof this.target&&"_self"!=this.target||null===this.urlTree)||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!1)}updateTargetUrlAndHref(){this.href=null!==this.urlTree?this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}}return t.\u0275fac=function(e){return new(e||t)(D(Or),D(Cl),D(pu))},t.\u0275dir=fe({type:t,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(e,i){1&e&&ne("click",function(o){return i.onClick(o.button,o.ctrlKey,o.shiftKey,o.altKey,o.metaKey)}),2&e&&Je("target",i.target)("href",i.href,vw)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",routerLink:"routerLink"},standalone:!0,features:[Tn]}),t})();class BI{}let U$=(()=>{class t{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(hi(e=>e instanceof bu),bl(()=>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=p_(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 Bn(r).pipe(hn())}preloadConfig(e,i){return this.preloadingStrategy.preload(i,()=>{let r;r=i.loadChildren&&void 0===i.canLoad?this.loader.loadChildren(e,i):ct(null);const o=r.pipe(mt(s=>null===s?ct(void 0):(i._loadedRoutes=s.routes,i._loadedInjector=s.injector,this.processRoutes(s.injector??e,s.routes))));return i.loadComponent&&!i._loadedComponent?Bn([o,this.loader.loadComponent(i)]).pipe(hn()):o})}}return t.\u0275fac=function(e){return new(e||t)(K(Or),K(O1),K(lc),K(BI),K(WC))},t.\u0275prov=Te({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const jC=new u("");let VI=(()=>{class t{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 DC?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof bu&&(this.lastId=e.id,this.scheduleScrollEvent(e,this.router.parseUrl(e.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(e=>{e instanceof sI&&(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 sI(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,i))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return t.\u0275fac=function(e){_a()},t.\u0275prov=Te({token:t,factory:t.\u0275fac}),t})();function ah(t,n){return{\u0275kind:t,\u0275providers:n}}function UC(t){return[{provide:zC,multi:!0,useValue:t}]}function zI(){const t=ki(Xi);return n=>{const e=t.get(Zd);if(n!==e.components[0])return;const i=t.get(Or),r=t.get(WI);1===t.get(GC)&&i.initialNavigation(),t.get(jI,null,Vt.Optional)?.setUpPreloading(),t.get(jC,null,Vt.Optional)?.init(),i.resetRootComponentType(e.componentTypes[0]),r.closed||(r.next(),r.unsubscribe())}}const WI=new u("",{factory:()=>new pe}),GC=new u("",{providedIn:"root",factory:()=>1});const jI=new u("");function Y$(t){return ah(0,[{provide:jI,useExisting:U$},{provide:BI,useExisting:t}])}const UI=new u("ROUTER_FORROOT_GUARD"),K$=[dp,{provide:KO,useClass:yC},{provide:Or,useFactory:NI},Mp,{provide:Cl,useFactory:function HI(t){return t.routerState.root},deps:[Or]},WC];function Z$(){return new _2("Router",Or)}let Q$=(()=>{class t{constructor(e){}static forRoot(e,i){return{ngModule:t,providers:[K$,[],UC(e),{provide:UI,useFactory:tq,deps:[[Or,new Gs,new al]]},{provide:av,useValue:i||{}},i?.useHash?{provide:pu,useClass:fW}:{provide:pu,useClass:z2},{provide:jC,useFactory:()=>{const t=ki(Or),n=ki(xj),e=ki(av);return e.scrollOffset&&n.setOffset(e.scrollOffset),new VI(t,n,e)}},i?.preloadingStrategy?Y$(i.preloadingStrategy).\u0275providers:[],{provide:_2,multi:!0,useFactory:Z$},i?.initialNavigation?nq(i):[],[{provide:GI,useFactory:zI},{provide:u2,multi:!0,useExisting:GI}]]}}static forChild(e){return{ngModule:t,providers:[UC(e)]}}}return t.\u0275fac=function(e){return new(e||t)(K(UI,8))},t.\u0275mod=Ct({type:t}),t.\u0275inj=yt({imports:[RC]}),t})();function tq(t){return"guarded"}function nq(t){return["disabled"===t.initialNavigation?ah(3,[{provide:lp,multi:!0,useFactory:()=>{const n=ki(Or);return()=>{n.setUpLocationChangeListener()}}},{provide:GC,useValue:2}]).\u0275providers:[],"enabledBlocking"===t.initialNavigation?ah(2,[{provide:GC,useValue:0},{provide:lp,multi:!0,deps:[Xi],useFactory:n=>{const e=n.get(dW,Promise.resolve());let i=!1;return()=>e.then(()=>new Promise(o=>{const s=n.get(Or),a=n.get(WI);(function r(o){n.get(Or).events.pipe(hi(a=>a instanceof bu||a instanceof Q_||a instanceof oI),Ne(a=>a instanceof bu||a instanceof Q_&&(0===a.code||1===a.code)&&null),hi(a=>null!==a),di(1)).subscribe(()=>{o()})})(()=>{o(!0),i=!0}),s.afterPreactivation=()=>(o(!0),i||a.closed?ct(void 0):a),s.initialNavigation()}))}}]).\u0275providers:[]]}const GI=new u("");function $I(...t){const n=it(t),{args:e,keys:i}=PO(t),r=new bn(o=>{const{length:s}=e;if(!s)return void o.complete();const a=new Array(s);let l=s,c=s;for(let p=0;p{m||(m=!0,c--),a[p]=_},()=>l--,void 0,()=>{(!l||!m)&&(c||o.next(i?RO(i,a):a),o.complete())}))}});return n?r.pipe(mC(n)):r}let qI=(()=>{class t{constructor(e,i){this._renderer=e,this._elementRef=i,this.onChange=r=>{},this.onTouched=()=>{}}setProperty(e,i){this._renderer.setProperty(this._elementRef.nativeElement,e,i)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}}return t.\u0275fac=function(e){return new(e||t)(D(vs),D(xe))},t.\u0275dir=fe({type:t}),t})(),yu=(()=>{class t extends qI{}return t.\u0275fac=function(){let n;return function(i){return(n||(n=Ht(t)))(i||t)}}(),t.\u0275dir=fe({type:t,features:[we]}),t})();const Oo=new u("NgValueAccessor"),oq={provide:Oo,useExisting:xn(()=>ta),multi:!0},aq=new u("CompositionEventMode");let ta=(()=>{class t extends qI{constructor(e,i,r){super(e,i),this._compositionMode=r,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function sq(){const t=xa()?xa().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}())}writeValue(e){this.setProperty("value",e??"")}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}}return t.\u0275fac=function(e){return new(e||t)(D(vs),D(xe),D(aq,8))},t.\u0275dir=fe({type:t,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(e,i){1&e&&ne("input",function(o){return i._handleInput(o.target.value)})("blur",function(){return i.onTouched()})("compositionstart",function(){return i._compositionStart()})("compositionend",function(o){return i._compositionEnd(o.target.value)})},features:[_t([oq]),we]}),t})();function _c(t){return null==t||("string"==typeof t||Array.isArray(t))&&0===t.length}function KI(t){return null!=t&&"number"==typeof t.length}const qr=new u("NgValidators"),vc=new u("NgAsyncValidators"),cq=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class Ma{static min(n){return ZI(n)}static max(n){return QI(n)}static required(n){return XI(n)}static requiredTrue(n){return function JI(t){return!0===t.value?null:{required:!0}}(n)}static email(n){return function eP(t){return _c(t.value)||cq.test(t.value)?null:{email:!0}}(n)}static minLength(n){return function tP(t){return n=>_c(n.value)||!KI(n.value)?null:n.value.lengthKI(n.value)&&n.value.length>t?{maxlength:{requiredLength:t,actualLength:n.value.length}}:null}(n)}static pattern(n){return iP(n)}static nullValidator(n){return null}static compose(n){return cP(n)}static composeAsync(n){return uP(n)}}function ZI(t){return n=>{if(_c(n.value)||_c(t))return null;const e=parseFloat(n.value);return!isNaN(e)&&e{if(_c(n.value)||_c(t))return null;const e=parseFloat(n.value);return!isNaN(e)&&e>t?{max:{max:t,actual:n.value}}:null}}function XI(t){return _c(t.value)?{required:!0}:null}function iP(t){if(!t)return dv;let n,e;return"string"==typeof t?(e="","^"!==t.charAt(0)&&(e+="^"),e+=t,"$"!==t.charAt(t.length-1)&&(e+="$"),n=new RegExp(e)):(e=t.toString(),n=t),i=>{if(_c(i.value))return null;const r=i.value;return n.test(r)?null:{pattern:{requiredPattern:e,actualValue:r}}}}function dv(t){return null}function rP(t){return null!=t}function oP(t){return Xf(t)?Bn(t):t}function sP(t){let n={};return t.forEach(e=>{n=null!=e?{...n,...e}:n}),0===Object.keys(n).length?null:n}function aP(t,n){return n.map(e=>e(t))}function lP(t){return t.map(n=>function uq(t){return!t.validate}(n)?n:e=>n.validate(e))}function cP(t){if(!t)return null;const n=t.filter(rP);return 0==n.length?null:function(e){return sP(aP(e,n))}}function $C(t){return null!=t?cP(lP(t)):null}function uP(t){if(!t)return null;const n=t.filter(rP);return 0==n.length?null:function(e){return $I(aP(e,n).map(oP)).pipe(Ne(sP))}}function qC(t){return null!=t?uP(lP(t)):null}function dP(t,n){return null===t?[n]:Array.isArray(t)?[...t,n]:[t,n]}function hP(t){return t._rawValidators}function fP(t){return t._rawAsyncValidators}function YC(t){return t?Array.isArray(t)?t:[t]:[]}function hv(t,n){return Array.isArray(t)?t.includes(n):t===n}function pP(t,n){const e=YC(n);return YC(t).forEach(r=>{hv(e,r)||e.push(r)}),e}function mP(t,n){return YC(n).filter(e=>!hv(t,e))}class gP{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(n){this._rawValidators=n||[],this._composedValidatorFn=$C(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=qC(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(n){this._onDestroyCallbacks.push(n)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(n=>n()),this._onDestroyCallbacks=[]}reset(n){this.control&&this.control.reset(n)}hasError(n,e){return!!this.control&&this.control.hasError(n,e)}getError(n,e){return this.control?this.control.getError(n,e):null}}class Io extends gP{get formDirective(){return null}get path(){return null}}class Ta extends gP{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class _P{constructor(n){this._cd=n}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let xs=(()=>{class t extends _P{constructor(e){super(e)}}return t.\u0275fac=function(e){return new(e||t)(D(Ta,2))},t.\u0275dir=fe({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(e,i){2&e&&Rt("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending)},features:[we]}),t})(),ts=(()=>{class t extends _P{constructor(e){super(e)}}return t.\u0275fac=function(e){return new(e||t)(D(Io,10))},t.\u0275dir=fe({type:t,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(e,i){2&e&&Rt("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending)("ng-submitted",i.isSubmitted)},features:[we]}),t})();const Fp="VALID",pv="INVALID",lh="PENDING",Np="DISABLED";function XC(t){return(mv(t)?t.validators:t)||null}function bP(t){return Array.isArray(t)?$C(t):t||null}function JC(t,n){return(mv(n)?n.asyncValidators:t)||null}function yP(t){return Array.isArray(t)?qC(t):t||null}function mv(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}function wP(t,n,e){const i=t.controls;if(!(n?Object.keys(i):i).length)throw new ke(1e3,"");if(!i[e])throw new ke(1001,"")}function CP(t,n,e){t._forEachChild((i,r)=>{if(void 0===e[r])throw new ke(1002,"")})}class gv{constructor(n,e){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=n,this._rawAsyncValidators=e,this._composedValidatorFn=bP(this._rawValidators),this._composedAsyncValidatorFn=yP(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(n){this._rawValidators=this._composedValidatorFn=n}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(n){this._rawAsyncValidators=this._composedAsyncValidatorFn=n}get parent(){return this._parent}get valid(){return this.status===Fp}get invalid(){return this.status===pv}get pending(){return this.status==lh}get disabled(){return this.status===Np}get enabled(){return this.status!==Np}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._rawValidators=n,this._composedValidatorFn=bP(n)}setAsyncValidators(n){this._rawAsyncValidators=n,this._composedAsyncValidatorFn=yP(n)}addValidators(n){this.setValidators(pP(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(pP(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(mP(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(mP(n,this._rawAsyncValidators))}hasValidator(n){return hv(this._rawValidators,n)}hasAsyncValidator(n){return hv(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){this.touched=!0,this._parent&&!n.onlySelf&&this._parent.markAsTouched(n)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(n=>n.markAllAsTouched())}markAsUntouched(n={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(e=>{e.markAsUntouched({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}markAsDirty(n={}){this.pristine=!1,this._parent&&!n.onlySelf&&this._parent.markAsDirty(n)}markAsPristine(n={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(e=>{e.markAsPristine({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}markAsPending(n={}){this.status=lh,!1!==n.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!n.onlySelf&&this._parent.markAsPending(n)}disable(n={}){const e=this._parentMarkedDirty(n.onlySelf);this.status=Np,this.errors=null,this._forEachChild(i=>{i.disable({...n,onlySelf:!0})}),this._updateValue(),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...n,skipPristineCheck:e}),this._onDisabledChange.forEach(i=>i(!0))}enable(n={}){const e=this._parentMarkedDirty(n.onlySelf);this.status=Fp,this._forEachChild(i=>{i.enable({...n,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors({...n,skipPristineCheck:e}),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(n){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Fp||this.status===lh)&&this._runAsyncValidator(n.emitEvent)),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity(n)}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Np:Fp}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n){if(this.asyncValidator){this.status=lh,this._hasOwnPendingAsyncValidator=!0;const e=oP(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(i=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(i,{emitEvent:n})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(n,e={}){this.errors=n,this._updateControlsErrors(!1!==e.emitEvent)}get(n){let e=n;return null==e||(Array.isArray(e)||(e=e.split(".")),0===e.length)?null:e.reduce((i,r)=>i&&i._find(r),this)}getError(n,e){const i=e?this.get(e):this;return i&&i.errors?i.errors[n]:null}hasError(n,e){return!!this.getError(n,e)}get root(){let n=this;for(;n._parent;)n=n._parent;return n}_updateControlsErrors(n){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(n)}_initObservables(){this.valueChanges=new $e,this.statusChanges=new $e}_calculateStatus(){return this._allControlsDisabled()?Np:this.errors?pv:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(lh)?lh:this._anyControlsHaveStatus(pv)?pv:Fp}_anyControlsHaveStatus(n){return this._anyControls(e=>e.status===n)}_anyControlsDirty(){return this._anyControls(n=>n.dirty)}_anyControlsTouched(){return this._anyControls(n=>n.touched)}_updatePristine(n={}){this.pristine=!this._anyControlsDirty(),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}_updateTouched(n={}){this.touched=this._anyControlsTouched(),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){mv(n)&&null!=n.updateOn&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){return!n&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(n){return null}}class ch extends gv{constructor(n,e,i){super(XC(e),JC(i,e)),this.controls=n,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(n,e){return this.controls[n]?this.controls[n]:(this.controls[n]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(n,e,i={}){this.registerControl(n,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}removeControl(n,e={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(n,e,i={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],e&&this.registerControl(n,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}contains(n){return this.controls.hasOwnProperty(n)&&this.controls[n].enabled}setValue(n,e={}){CP(this,0,n),Object.keys(n).forEach(i=>{wP(this,!0,i),this.controls[i].setValue(n[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(n,e={}){null!=n&&(Object.keys(n).forEach(i=>{const r=this.controls[i];r&&r.patchValue(n[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(n={},e={}){this._forEachChild((i,r)=>{i.reset(n[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(n,e,i)=>(n[i]=e.getRawValue(),n))}_syncPendingControls(){let n=this._reduceChildren(!1,(e,i)=>!!i._syncPendingControls()||e);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){Object.keys(this.controls).forEach(e=>{const i=this.controls[e];i&&n(i,e)})}_setUpControls(){this._forEachChild(n=>{n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(n){for(const[e,i]of Object.entries(this.controls))if(this.contains(e)&&n(i))return!0;return!1}_reduceValue(){return this._reduceChildren({},(e,i,r)=>((i.enabled||this.disabled)&&(e[r]=i.value),e))}_reduceChildren(n,e){let i=n;return this._forEachChild((r,o)=>{i=e(i,r,o)}),i}_allControlsDisabled(){for(const n of Object.keys(this.controls))if(this.controls[n].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(n){return this.controls.hasOwnProperty(n)?this.controls[n]:null}}const _v=ch;class SP extends ch{}function vv(t,n){return[...n.path,t]}function Lp(t,n){eS(t,n),n.valueAccessor.writeValue(t.value),t.disabled&&n.valueAccessor.setDisabledState?.(!0),function vq(t,n){n.valueAccessor.registerOnChange(e=>{t._pendingValue=e,t._pendingChange=!0,t._pendingDirty=!0,"change"===t.updateOn&&xP(t,n)})}(t,n),function yq(t,n){const e=(i,r)=>{n.valueAccessor.writeValue(i),r&&n.viewToModelUpdate(i)};t.registerOnChange(e),n._registerOnDestroy(()=>{t._unregisterOnChange(e)})}(t,n),function bq(t,n){n.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,"blur"===t.updateOn&&t._pendingChange&&xP(t,n),"submit"!==t.updateOn&&t.markAsTouched()})}(t,n),function _q(t,n){if(n.valueAccessor.setDisabledState){const e=i=>{n.valueAccessor.setDisabledState(i)};t.registerOnDisabledChange(e),n._registerOnDestroy(()=>{t._unregisterOnDisabledChange(e)})}}(t,n)}function bv(t,n,e=!0){const i=()=>{};n.valueAccessor&&(n.valueAccessor.registerOnChange(i),n.valueAccessor.registerOnTouched(i)),wv(t,n),t&&(n._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function yv(t,n){t.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(n)})}function eS(t,n){const e=hP(t);null!==n.validator?t.setValidators(dP(e,n.validator)):"function"==typeof e&&t.setValidators([e]);const i=fP(t);null!==n.asyncValidator?t.setAsyncValidators(dP(i,n.asyncValidator)):"function"==typeof i&&t.setAsyncValidators([i]);const r=()=>t.updateValueAndValidity();yv(n._rawValidators,r),yv(n._rawAsyncValidators,r)}function wv(t,n){let e=!1;if(null!==t){if(null!==n.validator){const r=hP(t);if(Array.isArray(r)&&r.length>0){const o=r.filter(s=>s!==n.validator);o.length!==r.length&&(e=!0,t.setValidators(o))}}if(null!==n.asyncValidator){const r=fP(t);if(Array.isArray(r)&&r.length>0){const o=r.filter(s=>s!==n.asyncValidator);o.length!==r.length&&(e=!0,t.setAsyncValidators(o))}}}const i=()=>{};return yv(n._rawValidators,i),yv(n._rawAsyncValidators,i),e}function xP(t,n){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function kP(t,n){eS(t,n)}function tS(t,n){if(!t.hasOwnProperty("model"))return!1;const e=t.model;return!!e.isFirstChange()||!Object.is(n,e.currentValue)}function MP(t,n){t._syncPendingControls(),n.forEach(e=>{const i=e.control;"submit"===i.updateOn&&i._pendingChange&&(e.viewToModelUpdate(i._pendingValue),i._pendingChange=!1)})}function nS(t,n){if(!n)return null;let e,i,r;return Array.isArray(n),n.forEach(o=>{o.constructor===ta?e=o:function Sq(t){return Object.getPrototypeOf(t.constructor)===yu}(o)?i=o:r=o}),r||i||e||null}const kq={provide:Io,useExisting:xn(()=>ns)},Bp=(()=>Promise.resolve())();let ns=(()=>{class t extends Io{constructor(e,i){super(),this.submitted=!1,this._directives=new Set,this.ngSubmit=new $e,this.form=new ch({},$C(e),qC(i))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){Bp.then(()=>{const i=this._findContainer(e.path);e.control=i.registerControl(e.name,e.control),Lp(e.control,e),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){Bp.then(()=>{const i=this._findContainer(e.path);i&&i.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){Bp.then(()=>{const i=this._findContainer(e.path),r=new ch({});kP(r,e),i.registerControl(e.name,r),r.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){Bp.then(()=>{const i=this._findContainer(e.path);i&&i.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,i){Bp.then(()=>{this.form.get(e.path).setValue(i)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submitted=!0,MP(this.form,this._directives),this.ngSubmit.emit(e),"dialog"===e?.target?.method}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}}return t.\u0275fac=function(e){return new(e||t)(D(qr,10),D(vc,10))},t.\u0275dir=fe({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(e,i){1&e&&ne("submit",function(o){return i.onSubmit(o)})("reset",function(){return i.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[_t([kq]),we]}),t})();function TP(t,n){const e=t.indexOf(n);e>-1&&t.splice(e,1)}function EP(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value"in t&&"disabled"in t}const uh=class extends gv{constructor(n=null,e,i){super(XC(e),JC(i,e)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(n),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),mv(e)&&(e.nonNullable||e.initialValueIsDefault)&&(this.defaultValue=EP(n)?n.value:n)}setValue(n,e={}){this.value=this._pendingValue=n,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(i=>i(this.value,!1!==e.emitViewToModelChange)),this.updateValueAndValidity(e)}patchValue(n,e={}){this.setValue(n,e)}reset(n=this.defaultValue,e={}){this._applyFormState(n),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){TP(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){TP(this._onDisabledChange,n)}_forEachChild(n){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(n){EP(n)?(this.value=this._pendingValue=n.value,n.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=n}},Po=uh,Tq={provide:Ta,useExisting:xn(()=>Sl)},IP=(()=>Promise.resolve())();let Sl=(()=>{class t extends Ta{constructor(e,i,r,o,s){super(),this._changeDetectorRef=s,this.control=new uh,this._registered=!1,this.update=new $e,this._parent=e,this._setValidators(i),this._setAsyncValidators(r),this.valueAccessor=nS(0,o)}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){const i=e.name.previousValue;this.formDirective.removeControl({name:i,path:this._getPath(i)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),tS(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){Lp(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(e){IP.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(e){const i=e.isDisabled.currentValue,r=0!==i&&ml(i);IP.then(()=>{r&&!this.control.disabled?this.control.disable():!r&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(e){return this._parent?vv(e,this._parent):[e]}}return t.\u0275fac=function(e){return new(e||t)(D(Io,9),D(qr,10),D(vc,10),D(Oo,10),D(wn,8))},t.\u0275dir=fe({type:t,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[_t([Tq]),we,Tn]}),t})(),ks=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=fe({type:t,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),t})();const Eq={provide:Oo,useExisting:xn(()=>wu),multi:!0};let wu=(()=>{class t extends yu{writeValue(e){this.setProperty("value",e??"")}registerOnChange(e){this.onChange=i=>{e(""==i?null:parseFloat(i))}}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=Ht(t)))(i||t)}}(),t.\u0275dir=fe({type:t,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(e,i){1&e&&ne("input",function(o){return i.onChange(o.target.value)})("blur",function(){return i.onTouched()})},features:[_t([Eq]),we]}),t})(),PP=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Ct({type:t}),t.\u0275inj=yt({}),t})();const iS=new u("NgModelWithFormControlWarning"),Rq={provide:Io,useExisting:xn(()=>Ea)};let Ea=(()=>{class t extends Io{constructor(e,i){super(),this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new $e,this._setValidators(e),this._setAsyncValidators(i)}ngOnChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(wv(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){const i=this.form.get(e.path);return Lp(i,e),i.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),i}getControl(e){return this.form.get(e.path)}removeControl(e){bv(e.control||null,e,!1),function xq(t,n){const e=t.indexOf(n);e>-1&&t.splice(e,1)}(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}getFormArray(e){return this.form.get(e.path)}updateModel(e,i){this.form.get(e.path).setValue(i)}onSubmit(e){return this.submitted=!0,MP(this.form,this.directives),this.ngSubmit.emit(e),"dialog"===e?.target?.method}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_updateDomValue(){this.directives.forEach(e=>{const i=e.control,r=this.form.get(e.path);i!==r&&(bv(i||null,e),(t=>t instanceof uh)(r)&&(Lp(r,e),e.control=r))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){const i=this.form.get(e.path);kP(i,e),i.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){const i=this.form.get(e.path);i&&function wq(t,n){return wv(t,n)}(i,e)&&i.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){eS(this.form,this),this._oldForm&&wv(this._oldForm,this)}_checkFormPresent(){}}return t.\u0275fac=function(e){return new(e||t)(D(qr,10),D(vc,10))},t.\u0275dir=fe({type:t,selectors:[["","formGroup",""]],hostBindings:function(e,i){1&e&&ne("submit",function(o){return i.onSubmit(o)})("reset",function(){return i.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[_t([Rq]),we,Tn]}),t})();const Lq={provide:Ta,useExisting:xn(()=>Cu)};let Cu=(()=>{class t extends Ta{constructor(e,i,r,o,s){super(),this._ngModelWarningConfig=s,this._added=!1,this.update=new $e,this._ngModelWarningSent=!1,this._parent=e,this._setValidators(i),this._setAsyncValidators(r),this.valueAccessor=nS(0,o)}set isDisabled(e){}ngOnChanges(e){this._added||this._setUpControl(),tS(e,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}get path(){return vv(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}}return t._ngModelWarningSentOnce=!1,t.\u0275fac=function(e){return new(e||t)(D(Io,13),D(qr,10),D(vc,10),D(Oo,10),D(iS,8))},t.\u0275dir=fe({type:t,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[_t([Lq]),we,Tn]}),t})();function zP(t){return"number"==typeof t?t:parseFloat(t)}let Su=(()=>{class t{constructor(){this._validator=dv}ngOnChanges(e){if(this.inputName in e){const i=this.normalizeInput(e[this.inputName].currentValue);this._enabled=this.enabled(i),this._validator=this._enabled?this.createValidator(i):dv,this._onChange&&this._onChange()}}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e}enabled(e){return null!=e}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=fe({type:t,features:[Tn]}),t})();const Uq={provide:qr,useExisting:xn(()=>lS),multi:!0};let lS=(()=>{class t extends Su{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=e=>zP(e),this.createValidator=e=>QI(e)}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=Ht(t)))(i||t)}}(),t.\u0275dir=fe({type:t,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(e,i){2&e&&Je("max",i._enabled?i.max:null)},inputs:{max:"max"},features:[_t([Uq]),we]}),t})();const Gq={provide:qr,useExisting:xn(()=>cS),multi:!0};let cS=(()=>{class t extends Su{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=e=>zP(e),this.createValidator=e=>ZI(e)}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=Ht(t)))(i||t)}}(),t.\u0275dir=fe({type:t,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(e,i){2&e&&Je("min",i._enabled?i.min:null)},inputs:{min:"min"},features:[_t([Gq]),we]}),t})();const $q={provide:qr,useExisting:xn(()=>na),multi:!0};let na=(()=>{class t extends Su{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=ml,this.createValidator=e=>XI}enabled(e){return e}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=Ht(t)))(i||t)}}(),t.\u0275dir=fe({type:t,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(e,i){2&e&&Je("required",i._enabled?"":null)},inputs:{required:"required"},features:[_t([$q]),we]}),t})();const Qq={provide:qr,useExisting:xn(()=>uS),multi:!0};let uS=(()=>{class t extends Su{constructor(){super(...arguments),this.inputName="pattern",this.normalizeInput=e=>e,this.createValidator=e=>iP(e)}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=Ht(t)))(i||t)}}(),t.\u0275dir=fe({type:t,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(e,i){2&e&&Je("pattern",i._enabled?i.pattern:null)},inputs:{pattern:"pattern"},features:[_t([Qq]),we]}),t})(),GP=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Ct({type:t}),t.\u0275inj=yt({imports:[PP]}),t})(),Xq=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Ct({type:t}),t.\u0275inj=yt({imports:[GP]}),t})(),dS=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:iS,useValue:e.warnOnNgModelWithFormControl}]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Ct({type:t}),t.\u0275inj=yt({imports:[GP]}),t})();class $P extends gv{constructor(n,e,i){super(XC(e),JC(i,e)),this.controls=n,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(n){return this.controls[this._adjustIndex(n)]}push(n,e={}){this.controls.push(n),this._registerControl(n),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}insert(n,e,i={}){this.controls.splice(n,0,e),this._registerControl(e),this.updateValueAndValidity({emitEvent:i.emitEvent})}removeAt(n,e={}){let i=this._adjustIndex(n);i<0&&(i=0),this.controls[i]&&this.controls[i]._registerOnCollectionChange(()=>{}),this.controls.splice(i,1),this.updateValueAndValidity({emitEvent:e.emitEvent})}setControl(n,e,i={}){let r=this._adjustIndex(n);r<0&&(r=0),this.controls[r]&&this.controls[r]._registerOnCollectionChange(()=>{}),this.controls.splice(r,1),e&&(this.controls.splice(r,0,e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(n,e={}){CP(this,0,n),n.forEach((i,r)=>{wP(this,!1,r),this.at(r).setValue(i,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(n,e={}){null!=n&&(n.forEach((i,r)=>{this.at(r)&&this.at(r).patchValue(i,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(n=[],e={}){this._forEachChild((i,r)=>{i.reset(n[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map(n=>n.getRawValue())}clear(n={}){this.controls.length<1||(this._forEachChild(e=>e._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:n.emitEvent}))}_adjustIndex(n){return n<0?n+this.length:n}_syncPendingControls(){let n=this.controls.reduce((e,i)=>!!i._syncPendingControls()||e,!1);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){this.controls.forEach((e,i)=>{n(e,i)})}_updateValue(){this.value=this.controls.filter(n=>n.enabled||this.disabled).map(n=>n.value)}_anyControls(n){return this.controls.some(e=>e.enabled&&n(e))}_setUpControls(){this._forEachChild(n=>this._registerControl(n))}_allControlsDisabled(){for(const n of this.controls)if(n.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(n){n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)}_find(n){return this.at(n)??null}}function qP(t){return!!t&&(void 0!==t.asyncValidators||void 0!==t.validators||void 0!==t.updateOn)}let Jq=(()=>{class t{constructor(){this.useNonNullable=!1}get nonNullable(){const e=new t;return e.useNonNullable=!0,e}group(e,i=null){const r=this._reduceControls(e);let o={};return qP(i)?o=i:null!==i&&(o.validators=i.validator,o.asyncValidators=i.asyncValidator),new ch(r,o)}record(e,i=null){const r=this._reduceControls(e);return new SP(r,i)}control(e,i,r){let o={};return this.useNonNullable?(qP(i)?o=i:(o.validators=i,o.asyncValidators=r),new uh(e,{...o,nonNullable:!0})):new uh(e,i,r)}array(e,i,r){const o=e.map(s=>this._createControl(s));return new $P(o,i,r)}_reduceControls(e){const i={};return Object.keys(e).forEach(r=>{i[r]=this._createControl(e[r])}),i}_createControl(e){return e instanceof uh||e instanceof gv?e:Array.isArray(e)?this.control(e[0],e.length>1?e[1]:null,e.length>2?e[2]:null):this.control(e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Te({token:t,factory:t.\u0275fac,providedIn:dS}),t})(),eY=(()=>{class t extends Jq{group(e,i=null){return super.group(e,i)}control(e,i,r){return super.control(e,i,r)}array(e,i,r){return super.array(e,i,r)}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=Ht(t)))(i||t)}}(),t.\u0275prov=Te({token:t,factory:t.\u0275fac,providedIn:dS}),t})();class YP{}class KP{}class xl{constructor(n){this.normalizedNames=new Map,this.lazyUpdate=null,n?this.lazyInit="string"==typeof n?()=>{this.headers=new Map,n.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(n).forEach(e=>{let i=n[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(n){return this.init(),this.headers.has(n.toLowerCase())}get(n){this.init();const e=this.headers.get(n.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(n){return this.init(),this.headers.get(n.toLowerCase())||null}append(n,e){return this.clone({name:n,value:e,op:"a"})}set(n,e){return this.clone({name:n,value:e,op:"s"})}delete(n,e){return this.clone({name:n,value:e,op:"d"})}maybeSetNormalizedName(n,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,n)}init(){this.lazyInit&&(this.lazyInit instanceof xl?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(n=>this.applyUpdate(n)),this.lazyUpdate=null))}copyFrom(n){n.init(),Array.from(n.headers.keys()).forEach(e=>{this.headers.set(e,n.headers.get(e)),this.normalizedNames.set(e,n.normalizedNames.get(e))})}clone(n){const e=new xl;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof xl?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([n]),e}applyUpdate(n){const e=n.name.toLowerCase();switch(n.op){case"a":case"s":let i=n.value;if("string"==typeof i&&(i=[i]),0===i.length)return;this.maybeSetNormalizedName(n.name,e);const r=("a"===n.op?this.headers.get(e):void 0)||[];r.push(...i),this.headers.set(e,r);break;case"d":const o=n.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(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>n(this.normalizedNames.get(e),this.headers.get(e)))}}class tY{encodeKey(n){return ZP(n)}encodeValue(n){return ZP(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}}const iY=/%(\d[a-f0-9])/gi,rY={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function ZP(t){return encodeURIComponent(t).replace(iY,(n,e)=>rY[e]??n)}function Sv(t){return`${t}`}class bc{constructor(n={}){if(this.updates=null,this.cloneFrom=null,this.encoder=n.encoder||new tY,n.fromString){if(n.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function nY(t,n){const e=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(r=>{const o=r.indexOf("="),[s,a]=-1==o?[n.decodeKey(r),""]:[n.decodeKey(r.slice(0,o)),n.decodeValue(r.slice(o+1))],l=e.get(s)||[];l.push(a),e.set(s,l)}),e}(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(e=>{const i=n.fromObject[e],r=Array.isArray(i)?i.map(Sv):[Sv(i)];this.map.set(e,r)})):this.map=null}has(n){return this.init(),this.map.has(n)}get(n){this.init();const e=this.map.get(n);return e?e[0]:null}getAll(n){return this.init(),this.map.get(n)||null}keys(){return this.init(),Array.from(this.map.keys())}append(n,e){return this.clone({param:n,value:e,op:"a"})}appendAll(n){const e=[];return Object.keys(n).forEach(i=>{const r=n[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(n,e){return this.clone({param:n,value:e,op:"s"})}delete(n,e){return this.clone({param:n,value:e,op:"d"})}toString(){return this.init(),this.keys().map(n=>{const e=this.encoder.encodeKey(n);return this.map.get(n).map(i=>e+"="+this.encoder.encodeValue(i)).join("&")}).filter(n=>""!==n).join("&")}clone(n){const e=new bc({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(n),e}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(n=>this.map.set(n,this.cloneFrom.map.get(n))),this.updates.forEach(n=>{switch(n.op){case"a":case"s":const e=("a"===n.op?this.map.get(n.param):void 0)||[];e.push(Sv(n.value)),this.map.set(n.param,e);break;case"d":if(void 0===n.value){this.map.delete(n.param);break}{let i=this.map.get(n.param)||[];const r=i.indexOf(Sv(n.value));-1!==r&&i.splice(r,1),i.length>0?this.map.set(n.param,i):this.map.delete(n.param)}}}),this.cloneFrom=this.updates=null)}}class oY{constructor(){this.map=new Map}set(n,e){return this.map.set(n,e),this}get(n){return this.map.has(n)||this.map.set(n,n.defaultValue()),this.map.get(n)}delete(n){return this.map.delete(n),this}has(n){return this.map.has(n)}keys(){return this.map.keys()}}function QP(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function XP(t){return typeof Blob<"u"&&t instanceof Blob}function JP(t){return typeof FormData<"u"&&t instanceof FormData}class Vp{constructor(n,e,i,r){let o;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=n.toUpperCase(),function sY(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||r?(this.body=void 0!==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 xl),this.context||(this.context=new oY),this.params){const s=this.params.toString();if(0===s.length)this.urlWithParams=e;else{const a=e.indexOf("?");this.urlWithParams=e+(-1===a?"?":am.set(_,n.setHeaders[_]),l)),n.setParams&&(c=Object.keys(n.setParams).reduce((m,_)=>m.set(_,n.setParams[_]),c)),new Vp(e,i,o,{params:c,headers:l,context:p,reportProgress:a,responseType:r,withCredentials:s})}}var Ir=(()=>((Ir=Ir||{})[Ir.Sent=0]="Sent",Ir[Ir.UploadProgress=1]="UploadProgress",Ir[Ir.ResponseHeader=2]="ResponseHeader",Ir[Ir.DownloadProgress=3]="DownloadProgress",Ir[Ir.Response=4]="Response",Ir[Ir.User=5]="User",Ir))();class hS{constructor(n,e=200,i="OK"){this.headers=n.headers||new xl,this.status=void 0!==n.status?n.status:e,this.statusText=n.statusText||i,this.url=n.url||null,this.ok=this.status>=200&&this.status<300}}class fS extends hS{constructor(n={}){super(n),this.type=Ir.ResponseHeader}clone(n={}){return new fS({headers:n.headers||this.headers,status:void 0!==n.status?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}}class xv extends hS{constructor(n={}){super(n),this.type=Ir.Response,this.body=void 0!==n.body?n.body:null}clone(n={}){return new xv({body:void 0!==n.body?n.body:this.body,headers:n.headers||this.headers,status:void 0!==n.status?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}}class eR extends hS{constructor(n){super(n,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${n.url||"(unknown url)"}`:`Http failure response for ${n.url||"(unknown url)"}: ${n.status} ${n.statusText}`,this.error=n.error||null}}function pS(t,n){return{body:n,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials}}let dh=(()=>{class t{constructor(e){this.handler=e}request(e,i,r={}){let o;if(e instanceof Vp)o=e;else{let l,c;l=r.headers instanceof xl?r.headers:new xl(r.headers),r.params&&(c=r.params instanceof bc?r.params:new bc({fromObject:r.params})),o=new Vp(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=ct(o).pipe(bl(l=>this.handler.handle(l)));if(e instanceof Vp||"events"===r.observe)return s;const a=s.pipe(hi(l=>l instanceof xv));switch(r.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return a.pipe(Ne(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(Ne(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(Ne(l=>{if(null!==l.body&&"string"!=typeof l.body)throw new Error("Response is not a string.");return l.body}));default:return a.pipe(Ne(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 bc).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,pS(r,i))}post(e,i,r={}){return this.request("POST",e,pS(r,i))}put(e,i,r={}){return this.request("PUT",e,pS(r,i))}}return t.\u0275fac=function(e){return new(e||t)(K(YP))},t.\u0275prov=Te({token:t,factory:t.\u0275fac}),t})();class tR{constructor(n,e){this.next=n,this.interceptor=e}handle(n){return this.interceptor.intercept(n,this.next)}}const mS=new u("HTTP_INTERCEPTORS");let lY=(()=>{class t{intercept(e,i){return i.handle(e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Te({token:t,factory:t.\u0275fac}),t})();const cY=/^\)\]\}',?\n/;let nR=(()=>{class t{constructor(e){this.xhrFactory=e}handle(e){if("JSONP"===e.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new bn(i=>{const r=this.xhrFactory.build();if(r.open(e.method,e.urlWithParams),e.withCredentials&&(r.withCredentials=!0),e.headers.forEach((C,k)=>r.setRequestHeader(C,k.join(","))),e.headers.has("Accept")||r.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){const C=e.detectContentTypeHeader();null!==C&&r.setRequestHeader("Content-Type",C)}if(e.responseType){const C=e.responseType.toLowerCase();r.responseType="json"!==C?C:"text"}const o=e.serializeBody();let s=null;const a=()=>{if(null!==s)return s;const C=r.statusText||"OK",k=new xl(r.getAllResponseHeaders()),A=function uY(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}(r)||e.url;return s=new fS({headers:k,status:r.status,statusText:C,url:A}),s},l=()=>{let{headers:C,status:k,statusText:A,url:P}=a(),N=null;204!==k&&(N=typeof r.response>"u"?r.responseText:r.response),0===k&&(k=N?200:0);let G=k>=200&&k<300;if("json"===e.responseType&&"string"==typeof N){const U=N;N=N.replace(cY,"");try{N=""!==N?JSON.parse(N):null}catch(X){N=U,G&&(G=!1,N={error:X,text:N})}}G?(i.next(new xv({body:N,headers:C,status:k,statusText:A,url:P||void 0})),i.complete()):i.error(new eR({error:N,headers:C,status:k,statusText:A,url:P||void 0}))},c=C=>{const{url:k}=a(),A=new eR({error:C,status:r.status||0,statusText:r.statusText||"Unknown Error",url:k||void 0});i.error(A)};let p=!1;const m=C=>{p||(i.next(a()),p=!0);let k={type:Ir.DownloadProgress,loaded:C.loaded};C.lengthComputable&&(k.total=C.total),"text"===e.responseType&&!!r.responseText&&(k.partialText=r.responseText),i.next(k)},_=C=>{let k={type:Ir.UploadProgress,loaded:C.loaded};C.lengthComputable&&(k.total=C.total),i.next(k)};return r.addEventListener("load",l),r.addEventListener("error",c),r.addEventListener("timeout",c),r.addEventListener("abort",c),e.reportProgress&&(r.addEventListener("progress",m),null!==o&&r.upload&&r.upload.addEventListener("progress",_)),r.send(o),i.next({type:Ir.Sent}),()=>{r.removeEventListener("error",c),r.removeEventListener("abort",c),r.removeEventListener("load",l),r.removeEventListener("timeout",c),e.reportProgress&&(r.removeEventListener("progress",m),null!==o&&r.upload&&r.upload.removeEventListener("progress",_)),r.readyState!==r.DONE&&r.abort()}})}}return t.\u0275fac=function(e){return new(e||t)(K(lO))},t.\u0275prov=Te({token:t,factory:t.\u0275fac}),t})();const gS=new u("XSRF_COOKIE_NAME"),_S=new u("XSRF_HEADER_NAME");class iR{}let dY=(()=>{class t{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=X2(e,this.cookieName),this.lastCookieString=e),this.lastToken}}return t.\u0275fac=function(e){return new(e||t)(K(Xt),K(b_),K(gS))},t.\u0275prov=Te({token:t,factory:t.\u0275fac}),t})(),vS=(()=>{class t{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 t.\u0275fac=function(e){return new(e||t)(K(iR),K(_S))},t.\u0275prov=Te({token:t,factory:t.\u0275fac}),t})(),hY=(()=>{class t{constructor(e,i){this.backend=e,this.injector=i,this.chain=null}handle(e){if(null===this.chain){const i=this.injector.get(mS,[]);this.chain=i.reduceRight((r,o)=>new tR(r,o),this.backend)}return this.chain.handle(e)}}return t.\u0275fac=function(e){return new(e||t)(K(KP),K(Xi))},t.\u0275prov=Te({token:t,factory:t.\u0275fac}),t})(),fY=(()=>{class t{static disable(){return{ngModule:t,providers:[{provide:vS,useClass:lY}]}}static withOptions(e={}){return{ngModule:t,providers:[e.cookieName?{provide:gS,useValue:e.cookieName}:[],e.headerName?{provide:_S,useValue:e.headerName}:[]]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Ct({type:t}),t.\u0275inj=yt({providers:[vS,{provide:mS,useExisting:vS,multi:!0},{provide:iR,useClass:dY},{provide:gS,useValue:"XSRF-TOKEN"},{provide:_S,useValue:"X-XSRF-TOKEN"}]}),t})(),pY=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Ct({type:t}),t.\u0275inj=yt({providers:[dh,{provide:YP,useClass:hY},nR,{provide:KP,useExisting:nR}],imports:[fY.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]}),t})();class rR{}const kl="*";function Pr(t,n){return{type:7,name:t,definitions:n,options:{}}}function mi(t,n=null){return{type:4,styles:n,timings:t}}function oR(t,n=null){return{type:3,steps:t,options:n}}function sR(t,n=null){return{type:2,steps:t,options:n}}function wt(t){return{type:6,styles:t,offset:null}}function In(t,n,e){return{type:0,name:t,styles:n,options:e}}function Hp(t){return{type:5,steps:t}}function ri(t,n,e=null){return{type:1,expr:t,animation:n,options:e}}function kv(t=null){return{type:9,options:t}}function Dv(t,n,e=null){return{type:11,selector:t,animation:n,options:e}}function aR(t){Promise.resolve().then(t)}class zp{constructor(n=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=n+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}onStart(n){this._originalOnStartFns.push(n),this._onStartFns.push(n)}onDone(n){this._originalOnDoneFns.push(n),this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){aR(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(n=>n()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(n){this._position=this.totalTime?n*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(n){const e="start"==n?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}class lR{constructor(n){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=n;let e=0,i=0,r=0;const o=this.players.length;0==o?aR(()=>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(n=>n()),this._onDoneFns=[])}init(){this.players.forEach(n=>n.init())}onStart(n){this._onStartFns.push(n)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(n=>n()),this._onStartFns=[])}onDone(n){this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(n=>n.play())}pause(){this.players.forEach(n=>n.pause())}restart(){this.players.forEach(n=>n.restart())}finish(){this._onFinish(),this.players.forEach(n=>n.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(n=>n.destroy()),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this.players.forEach(n=>n.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(n){const e=n*this.totalTime;this.players.forEach(i=>{const r=i.totalTime?Math.min(1,e/i.totalTime):1;i.setPosition(r)})}getPosition(){const n=this.players.reduce((e,i)=>null===e||i.totalTime>e.totalTime?i:e,null);return null!=n?n.getPosition():0}beforeDestroy(){this.players.forEach(n=>{n.beforeDestroy&&n.beforeDestroy()})}triggerCallback(n){const e="start"==n?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}function cR(t){return new ke(3e3,!1)}function ZY(){return typeof window<"u"&&typeof window.document<"u"}function yS(){return typeof process<"u"&&"[object process]"==={}.toString.call(process)}function yc(t){switch(t.length){case 0:return new zp;case 1:return t[0];default:return new lR(t)}}function uR(t,n,e,i,r=new Map,o=new Map){const s=[],a=[];let l=-1,c=null;if(i.forEach(p=>{const m=p.get("offset"),_=m==l,C=_&&c||new Map;p.forEach((k,A)=>{let P=A,N=k;if("offset"!==A)switch(P=n.normalizePropertyName(P,s),N){case"!":N=r.get(A);break;case kl:N=o.get(A);break;default:N=n.normalizeStyleValue(A,P,N,s)}C.set(P,N)}),_||a.push(C),c=C,l=m}),s.length)throw function BY(t){return new ke(3502,!1)}();return a}function wS(t,n,e,i){switch(n){case"start":t.onStart(()=>i(e&&CS(e,"start",t)));break;case"done":t.onDone(()=>i(e&&CS(e,"done",t)));break;case"destroy":t.onDestroy(()=>i(e&&CS(e,"destroy",t)))}}function CS(t,n,e){const o=SS(t.element,t.triggerName,t.fromState,t.toState,n||t.phaseName,e.totalTime??t.totalTime,!!e.disabled),s=t._data;return null!=s&&(o._data=s),o}function SS(t,n,e,i,r="",o=0,s){return{element:t,triggerName:n,fromState:e,toState:i,phaseName:r,totalTime:o,disabled:!!s}}function is(t,n,e){let i=t.get(n);return i||t.set(n,i=e),i}function dR(t){const n=t.indexOf(":");return[t.substring(1,n),t.slice(n+1)]}let xS=(t,n)=>!1,hR=(t,n,e)=>[],fR=null;function kS(t){const n=t.parentNode||t.host;return n===fR?null:n}(yS()||typeof Element<"u")&&(ZY()?(fR=(()=>document.documentElement)(),xS=(t,n)=>{for(;n;){if(n===t)return!0;n=kS(n)}return!1}):xS=(t,n)=>t.contains(n),hR=(t,n,e)=>{if(e)return Array.from(t.querySelectorAll(n));const i=t.querySelector(n);return i?[i]:[]});let xu=null,pR=!1;const mR=xS,gR=hR;let _R=(()=>{class t{validateStyleProperty(e){return function XY(t){xu||(xu=function JY(){return typeof document<"u"?document.body:null}()||{},pR=!!xu.style&&"WebkitAppearance"in xu.style);let n=!0;return xu.style&&!function QY(t){return"ebkit"==t.substring(1,6)}(t)&&(n=t in xu.style,!n&&pR&&(n="Webkit"+t.charAt(0).toUpperCase()+t.slice(1)in xu.style)),n}(e)}matchesElement(e,i){return!1}containsElement(e,i){return mR(e,i)}getParentElement(e){return kS(e)}query(e,i,r){return gR(e,i,r)}computeStyle(e,i,r){return r||""}animate(e,i,r,o,s,a=[],l){return new zp(r,o)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Te({token:t,factory:t.\u0275fac}),t})(),DS=(()=>{class t{}return t.NOOP=new _R,t})();const MS="ng-enter",Mv="ng-leave",Tv="ng-trigger",Ev=".ng-trigger",bR="ng-animating",TS=".ng-animating";function Dl(t){if("number"==typeof t)return t;const n=t.match(/^(-?[\.\d]+)(m?s)/);return!n||n.length<2?0:ES(parseFloat(n[1]),n[2])}function ES(t,n){return"s"===n?1e3*t:t}function Av(t,n,e){return t.hasOwnProperty("duration")?t:function nK(t,n,e){let r,o=0,s="";if("string"==typeof t){const a=t.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===a)return n.push(cR()),{duration:0,delay:0,easing:""};r=ES(parseFloat(a[1]),a[2]);const l=a[3];null!=l&&(o=ES(parseFloat(l),a[4]));const c=a[5];c&&(s=c)}else r=t;if(!e){let a=!1,l=n.length;r<0&&(n.push(function gY(){return new ke(3100,!1)}()),a=!0),o<0&&(n.push(function _Y(){return new ke(3101,!1)}()),a=!0),a&&n.splice(l,0,cR())}return{duration:r,delay:o,easing:s}}(t,n,e)}function Wp(t,n={}){return Object.keys(t).forEach(e=>{n[e]=t[e]}),n}function yR(t){const n=new Map;return Object.keys(t).forEach(e=>{n.set(e,t[e])}),n}function wc(t,n=new Map,e){if(e)for(let[i,r]of e)n.set(i,r);for(let[i,r]of t)n.set(i,r);return n}function CR(t,n,e){return e?n+":"+e+";":""}function SR(t){let n="";for(let e=0;e{const o=OS(r);e&&!e.has(r)&&e.set(r,t.style[o]),t.style[o]=i}),yS()&&SR(t))}function ku(t,n){t.style&&(n.forEach((e,i)=>{const r=OS(i);t.style[r]=""}),yS()&&SR(t))}function jp(t){return Array.isArray(t)?1==t.length?t[0]:sR(t):t}const AS=new RegExp("{{\\s*(.+?)\\s*}}","g");function xR(t){let n=[];if("string"==typeof t){let e;for(;e=AS.exec(t);)n.push(e[1]);AS.lastIndex=0}return n}function Up(t,n,e){const i=t.toString(),r=i.replace(AS,(o,s)=>{let a=n[s];return null==a&&(e.push(function bY(t){return new ke(3003,!1)}()),a=""),a.toString()});return r==i?t:r}function Ov(t){const n=[];let e=t.next();for(;!e.done;)n.push(e.value),e=t.next();return n}const oK=/-+([a-z0-9])/g;function OS(t){return t.replace(oK,(...n)=>n[1].toUpperCase())}function sK(t){return t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function rs(t,n,e){switch(n.type){case 7:return t.visitTrigger(n,e);case 0:return t.visitState(n,e);case 1:return t.visitTransition(n,e);case 2:return t.visitSequence(n,e);case 3:return t.visitGroup(n,e);case 4:return t.visitAnimate(n,e);case 5:return t.visitKeyframes(n,e);case 6:return t.visitStyle(n,e);case 8:return t.visitReference(n,e);case 9:return t.visitAnimateChild(n,e);case 10:return t.visitAnimateRef(n,e);case 11:return t.visitQuery(n,e);case 12:return t.visitStagger(n,e);default:throw function yY(t){return new ke(3004,!1)}()}}function kR(t,n){return window.getComputedStyle(t)[n]}function hK(t,n){const e=[];return"string"==typeof t?t.split(/\s*,\s*/).forEach(i=>function fK(t,n,e){if(":"==t[0]){const l=function pK(t,n){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,i)=>parseFloat(i)>parseFloat(e);case":decrement":return(e,i)=>parseFloat(i) *"}}(t,e);if("function"==typeof l)return void n.push(l);t=l}const i=t.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return e.push(function PY(t){return new ke(3015,!1)}()),n;const r=i[1],o=i[2],s=i[3];n.push(DR(r,s));"<"==o[0]&&!("*"==r&&"*"==s)&&n.push(DR(s,r))}(i,e,n)):e.push(t),e}const Fv=new Set(["true","1"]),Nv=new Set(["false","0"]);function DR(t,n){const e=Fv.has(t)||Nv.has(t),i=Fv.has(n)||Nv.has(n);return(r,o)=>{let s="*"==t||t==r,a="*"==n||n==o;return!s&&e&&"boolean"==typeof r&&(s=r?Fv.has(t):Nv.has(t)),!a&&i&&"boolean"==typeof o&&(a=o?Fv.has(n):Nv.has(n)),s&&a}}const mK=new RegExp("s*:selfs*,?","g");function IS(t,n,e,i){return new gK(t).build(n,e,i)}class gK{constructor(n){this._driver=n}build(n,e,i){const r=new bK(e);return this._resetContextStyleTimingState(r),rs(this,jp(n),r)}_resetContextStyleTimingState(n){n.currentQuerySelector="",n.collectedStyles=new Map,n.collectedStyles.set("",new Map),n.currentTime=0}visitTrigger(n,e){let i=e.queryCount=0,r=e.depCount=0;const o=[],s=[];return"@"==n.name.charAt(0)&&e.errors.push(function CY(){return new ke(3006,!1)}()),n.definitions.forEach(a=>{if(this._resetContextStyleTimingState(e),0==a.type){const l=a,c=l.name;c.toString().split(/\s*,\s*/).forEach(p=>{l.name=p,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 SY(){return new ke(3007,!1)}())}),{type:7,name:n.name,states:o,transitions:s,queryCount:i,depCount:r,options:null}}visitState(n,e){const i=this.visitStyle(n.styles,e),r=n.options&&n.options.params||null;if(i.containsDynamicStyles){const o=new Set,s=r||{};i.styles.forEach(a=>{a instanceof Map&&a.forEach(l=>{xR(l).forEach(c=>{s.hasOwnProperty(c)||o.add(c)})})}),o.size&&(Ov(o.values()),e.errors.push(function xY(t,n){return new ke(3008,!1)}()))}return{type:0,name:n.name,style:i,options:r?{params:r}:null}}visitTransition(n,e){e.queryCount=0,e.depCount=0;const i=rs(this,jp(n.animation),e);return{type:1,matchers:hK(n.expr,e.errors),animation:i,queryCount:e.queryCount,depCount:e.depCount,options:Du(n.options)}}visitSequence(n,e){return{type:2,steps:n.steps.map(i=>rs(this,i,e)),options:Du(n.options)}}visitGroup(n,e){const i=e.currentTime;let r=0;const o=n.steps.map(s=>{e.currentTime=i;const a=rs(this,s,e);return r=Math.max(r,e.currentTime),a});return e.currentTime=r,{type:3,steps:o,options:Du(n.options)}}visitAnimate(n,e){const i=function wK(t,n){if(t.hasOwnProperty("duration"))return t;if("number"==typeof t)return PS(Av(t,n).duration,0,"");const e=t;if(e.split(/\s+/).some(o=>"{"==o.charAt(0)&&"{"==o.charAt(1))){const o=PS(0,0,"");return o.dynamic=!0,o.strValue=e,o}const r=Av(e,n);return PS(r.duration,r.delay,r.easing)}(n.timings,e.errors);e.currentAnimateTimings=i;let r,o=n.styles?n.styles:wt({});if(5==o.type)r=this.visitKeyframes(o,e);else{let s=n.styles,a=!1;if(!s){a=!0;const c={};i.easing&&(c.easing=i.easing),s=wt(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(n,e){const i=this._makeStyleAst(n,e);return this._validateStyleAst(i,e),i}_makeStyleAst(n,e){const i=[],r=Array.isArray(n.styles)?n.styles:[n.styles];for(let a of r)"string"==typeof a?a===kl?i.push(a):e.errors.push(new ke(3002,!1)):i.push(yR(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:n.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(n,e){const i=e.currentAnimateTimings;let r=e.currentTime,o=e.currentTime;i&&o>0&&(o-=i.duration+i.delay),n.styles.forEach(s=>{"string"!=typeof s&&s.forEach((a,l)=>{const c=e.collectedStyles.get(e.currentQuerySelector),p=c.get(l);let m=!0;p&&(o!=r&&o>=p.startTime&&r<=p.endTime&&(e.errors.push(function DY(t,n,e,i,r){return new ke(3010,!1)}()),m=!1),o=p.startTime),m&&c.set(l,{startTime:o,endTime:r}),e.options&&function rK(t,n,e){const i=n.params||{},r=xR(t);r.length&&r.forEach(o=>{i.hasOwnProperty(o)||e.push(function vY(t){return new ke(3001,!1)}())})}(a,e.options,e.errors)})})}visitKeyframes(n,e){const i={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push(function MY(){return new ke(3011,!1)}()),i;let o=0;const s=[];let a=!1,l=!1,c=0;const p=n.steps.map(N=>{const G=this._makeStyleAst(N,e);let U=null!=G.offset?G.offset:function yK(t){if("string"==typeof t)return null;let n=null;if(Array.isArray(t))t.forEach(e=>{if(e instanceof Map&&e.has("offset")){const i=e;n=parseFloat(i.get("offset")),i.delete("offset")}});else if(t instanceof Map&&t.has("offset")){const e=t;n=parseFloat(e.get("offset")),e.delete("offset")}return n}(G.styles),X=0;return null!=U&&(o++,X=G.offset=U),l=l||X<0||X>1,a=a||X0&&o{const U=_>0?G==C?1:_*G:s[G],X=U*P;e.currentTime=k+A.delay+X,A.duration=X,this._validateStyleAst(N,e),N.offset=U,i.styles.push(N)}),i}visitReference(n,e){return{type:8,animation:rs(this,jp(n.animation),e),options:Du(n.options)}}visitAnimateChild(n,e){return e.depCount++,{type:9,options:Du(n.options)}}visitAnimateRef(n,e){return{type:10,animation:this.visitReference(n.animation,e),options:Du(n.options)}}visitQuery(n,e){const i=e.currentQuerySelector,r=n.options||{};e.queryCount++,e.currentQuery=n;const[o,s]=function _K(t){const n=!!t.split(/\s*,\s*/).find(e=>":self"==e);return n&&(t=t.replace(mK,"")),t=t.replace(/@\*/g,Ev).replace(/@\w+/g,e=>Ev+"-"+e.slice(1)).replace(/:animating/g,TS),[t,n]}(n.selector);e.currentQuerySelector=i.length?i+" "+o:o,is(e.collectedStyles,e.currentQuerySelector,new Map);const a=rs(this,jp(n.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:n.selector,options:Du(n.options)}}visitStagger(n,e){e.currentQuery||e.errors.push(function OY(){return new ke(3013,!1)}());const i="full"===n.timings?{duration:0,delay:0,easing:"full"}:Av(n.timings,e.errors,!0);return{type:12,animation:rs(this,jp(n.animation),e),timings:i,options:null}}}class bK{constructor(n){this.errors=n,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 Du(t){return t?(t=Wp(t)).params&&(t.params=function vK(t){return t?Wp(t):null}(t.params)):t={},t}function PS(t,n,e){return{duration:t,delay:n,easing:e}}function RS(t,n,e,i,r,o,s=null,a=!1){return{type:1,element:t,keyframes:n,preStyleProps:e,postStyleProps:i,duration:r,delay:o,totalTime:r+o,easing:s,subTimeline:a}}class Lv{constructor(){this._map=new Map}get(n){return this._map.get(n)||[]}append(n,e){let i=this._map.get(n);i||this._map.set(n,i=[]),i.push(...e)}has(n){return this._map.has(n)}clear(){this._map.clear()}}const xK=new RegExp(":enter","g"),DK=new RegExp(":leave","g");function FS(t,n,e,i,r,o=new Map,s=new Map,a,l,c=[]){return(new MK).buildKeyframes(t,n,e,i,r,o,s,a,l,c)}class MK{buildKeyframes(n,e,i,r,o,s,a,l,c,p=[]){c=c||new Lv;const m=new NS(n,e,c,r,o,p,[]);m.options=l;const _=l.delay?Dl(l.delay):0;m.currentTimeline.delayNextStep(_),m.currentTimeline.setStyles([s],null,m.errors,l),rs(this,i,m);const C=m.timelines.filter(k=>k.containsAnimation());if(C.length&&a.size){let k;for(let A=C.length-1;A>=0;A--){const P=C[A];if(P.element===e){k=P;break}}k&&!k.allowOnlyTimelineStyles()&&k.setStyles([a],null,m.errors,l)}return C.length?C.map(k=>k.buildKeyframes()):[RS(e,[],[],[],0,_,"",!1)]}visitTrigger(n,e){}visitState(n,e){}visitTransition(n,e){}visitAnimateChild(n,e){const i=e.subInstructions.get(e.element);if(i){const r=e.createSubContext(n.options),o=e.currentTimeline.currentTime,s=this._visitSubInstructions(i,r,r.options);o!=s&&e.transformIntoNewTimeline(s)}e.previousNode=n}visitAnimateRef(n,e){const i=e.createSubContext(n.options);i.transformIntoNewTimeline(),this._applyAnimationRefDelays([n.options,n.animation.options],e,i),this.visitReference(n.animation,i),e.transformIntoNewTimeline(i.currentTimeline.currentTime),e.previousNode=n}_applyAnimationRefDelays(n,e,i){for(const r of n){const o=r?.delay;if(o){const s="number"==typeof o?o:Dl(Up(o,r?.params??{},e.errors));i.delayNextStep(s)}}}_visitSubInstructions(n,e,i){let o=e.currentTimeline.currentTime;const s=null!=i.duration?Dl(i.duration):null,a=null!=i.delay?Dl(i.delay):null;return 0!==s&&n.forEach(l=>{const c=e.appendInstructionToTimeline(l,s,a);o=Math.max(o,c.duration+c.delay)}),o}visitReference(n,e){e.updateOptions(n.options,!0),rs(this,n.animation,e),e.previousNode=n}visitSequence(n,e){const i=e.subContextCount;let r=e;const o=n.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=Bv);const s=Dl(o.delay);r.delayNextStep(s)}n.steps.length&&(n.steps.forEach(s=>rs(this,s,r)),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>i&&r.transformIntoNewTimeline()),e.previousNode=n}visitGroup(n,e){const i=[];let r=e.currentTimeline.currentTime;const o=n.options&&n.options.delay?Dl(n.options.delay):0;n.steps.forEach(s=>{const a=e.createSubContext(n.options);o&&a.delayNextStep(o),rs(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=n}_visitTiming(n,e){if(n.dynamic){const i=n.strValue;return Av(e.params?Up(i,e.params,e.errors):i,e.errors)}return{duration:n.duration,delay:n.delay,easing:n.easing}}visitAnimate(n,e){const i=e.currentAnimateTimings=this._visitTiming(n.timings,e),r=e.currentTimeline;i.delay&&(e.incrementTime(i.delay),r.snapshotCurrentStyles());const o=n.style;5==o.type?this.visitKeyframes(o,e):(e.incrementTime(i.duration),this.visitStyle(o,e),r.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=n}visitStyle(n,e){const i=e.currentTimeline,r=e.currentAnimateTimings;!r&&i.hasCurrentStyleProperties()&&i.forwardFrame();const o=r&&r.easing||n.easing;n.isEmptyStep?i.applyEmptyStep(o):i.setStyles(n.styles,o,e.errors,e.options),e.previousNode=n}visitKeyframes(n,e){const i=e.currentAnimateTimings,r=e.currentTimeline.duration,o=i.duration,a=e.createSubContext().currentTimeline;a.easing=i.easing,n.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=n}visitQuery(n,e){const i=e.currentTimeline.currentTime,r=n.options||{},o=r.delay?Dl(r.delay):0;o&&(6===e.previousNode.type||0==i&&e.currentTimeline.hasCurrentStyleProperties())&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=Bv);let s=i;const a=e.invokeQuery(n.selector,n.originalSelector,n.limit,n.includeSelf,!!r.optional,e.errors);e.currentQueryTotal=a.length;let l=null;a.forEach((c,p)=>{e.currentQueryIndex=p;const m=e.createSubContext(n.options,c);o&&m.delayNextStep(o),c===e.element&&(l=m.currentTimeline),rs(this,n.animation,m),m.currentTimeline.applyStylesToKeyframe(),s=Math.max(s,m.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(s),l&&(e.currentTimeline.mergeTimelineCollectedStyles(l),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=n}visitStagger(n,e){const i=e.parentContext,r=e.currentTimeline,o=n.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 p=e.currentTimeline;l&&p.delayNextStep(l);const m=p.currentTime;rs(this,n.animation,e),e.previousNode=n,i.currentStaggerTime=r.currentTime-m+(r.startTime-i.currentTimeline.startTime)}}const Bv={};class NS{constructor(n,e,i,r,o,s,a,l){this._driver=n,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=Bv,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=l||new Vv(this._driver,e,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(n,e){if(!n)return;const i=n;let r=this.options;null!=i.duration&&(r.duration=Dl(i.duration)),null!=i.delay&&(r.delay=Dl(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]=Up(o[a],s,this.errors))})}}_copyOptions(){const n={};if(this.options){const e=this.options.params;if(e){const i=n.params={};Object.keys(e).forEach(r=>{i[r]=e[r]})}}return n}createSubContext(n=null,e,i){const r=e||this.element,o=new NS(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(n),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}transformIntoNewTimeline(n){return this.previousNode=Bv,this.currentTimeline=this.currentTimeline.fork(this.element,n),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(n,e,i){const r={duration:e??n.duration,delay:this.currentTimeline.currentTime+(i??0)+n.delay,easing:""},o=new TK(this._driver,n.element,n.keyframes,n.preStyleProps,n.postStyleProps,r,n.stretchStartingKeyframe);return this.timelines.push(o),r}incrementTime(n){this.currentTimeline.forwardTime(this.currentTimeline.duration+n)}delayNextStep(n){n>0&&this.currentTimeline.delayNextStep(n)}invokeQuery(n,e,i,r,o,s){let a=[];if(r&&a.push(this.element),n.length>0){n=(n=n.replace(xK,"."+this._enterClassName)).replace(DK,"."+this._leaveClassName);let c=this._driver.query(this.element,n,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 IY(t){return new ke(3014,!1)}()),a}}class Vv{constructor(n,e,i,r){this._driver=n,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(n){const e=1===this._keyframes.size&&this._pendingStyles.size;this.duration||e?(this.forwardTime(this.currentTime+n),e&&this.snapshotCurrentStyles()):this.startTime+=n}fork(n,e){return this.applyStylesToKeyframe(),new Vv(this._driver,n,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(n){this.applyStylesToKeyframe(),this.duration=n,this._loadKeyframe()}_updateStyle(n,e){this._localTimelineStyles.set(n,e),this._globalTimelineStyles.set(n,e),this._styleSummary.set(n,{time:this.currentTime,value:e})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(n){n&&this._previousKeyframe.set("easing",n);for(let[e,i]of this._globalTimelineStyles)this._backFill.set(e,i||kl),this._currentKeyframe.set(e,kl);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(n,e,i,r){e&&this._previousKeyframe.set("easing",e);const o=r&&r.params||{},s=function EK(t,n){const e=new Map;let i;return t.forEach(r=>{if("*"===r){i=i||n.keys();for(let o of i)e.set(o,kl)}else wc(r,e)}),e}(n,this._globalTimelineStyles);for(let[a,l]of s){const c=Up(l,o,i);this._pendingStyles.set(a,c),this._localTimelineStyles.has(a)||this._backFill.set(a,this._globalTimelineStyles.get(a)??kl),this._updateStyle(a,c)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((n,e)=>{this._currentKeyframe.set(e,n)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((n,e)=>{this._currentKeyframe.has(e)||this._currentKeyframe.set(e,n)}))}snapshotCurrentStyles(){for(let[n,e]of this._localTimelineStyles)this._pendingStyles.set(n,e),this._updateStyle(n,e)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const n=[];for(let e in this._currentKeyframe)n.push(e);return n}mergeTimelineCollectedStyles(n){n._styleSummary.forEach((e,i)=>{const r=this._styleSummary.get(i);(!r||e.time>r.time)&&this._updateStyle(i,e.value)})}buildKeyframes(){this.applyStylesToKeyframe();const n=new Set,e=new Set,i=1===this._keyframes.size&&0===this.duration;let r=[];this._keyframes.forEach((a,l)=>{const c=wc(a,new Map,this._backFill);c.forEach((p,m)=>{"!"===p?n.add(m):p===kl&&e.add(m)}),i||c.set("offset",l/this.duration),r.push(c)});const o=n.size?Ov(n.values()):[],s=e.size?Ov(e.values()):[];if(i){const a=r[0],l=new Map(a);a.set("offset",0),l.set("offset",1),r=[a,l]}return RS(this.element,r,o,s,this.duration,this.startTime,this.easing,!1)}}class TK extends Vv{constructor(n,e,i,r,o,s,a=!1){super(n,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 n=this.keyframes,{delay:e,duration:i,easing:r}=this.timings;if(this._stretchStartingKeyframe&&e){const o=[],s=i+e,a=e/s,l=wc(n[0]);l.set("offset",0),o.push(l);const c=wc(n[0]);c.set("offset",ER(a)),o.push(c);const p=n.length-1;for(let m=1;m<=p;m++){let _=wc(n[m]);const C=_.get("offset");_.set("offset",ER((e+C*i)/s)),o.push(_)}i=s,e=0,r="",n=o}return RS(this.element,n,this.preStyleProps,this.postStyleProps,i,e,r,!0)}}function ER(t,n=3){const e=Math.pow(10,n-1);return Math.round(t*e)/e}class LS{}const AK=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 OK extends LS{normalizePropertyName(n,e){return OS(n)}normalizeStyleValue(n,e,i,r){let o="";const s=i.toString().trim();if(AK.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 wY(t,n){return new ke(3005,!1)}())}return s+o}}function AR(t,n,e,i,r,o,s,a,l,c,p,m,_){return{type:0,element:t,triggerName:n,isRemovalTransition:r,fromState:e,fromStyles:o,toState:i,toStyles:s,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:p,totalTime:m,errors:_}}const BS={};class OR{constructor(n,e,i){this._triggerName=n,this.ast=e,this._stateStyles=i}match(n,e,i,r){return function IK(t,n,e,i,r){return t.some(o=>o(n,e,i,r))}(this.ast.matchers,n,e,i,r)}buildStyles(n,e,i){let r=this._stateStyles.get("*");return void 0!==n&&(r=this._stateStyles.get(n?.toString())||r),r?r.buildStyles(e,i):new Map}build(n,e,i,r,o,s,a,l,c,p){const m=[],_=this.ast.options&&this.ast.options.params||BS,k=this.buildStyles(i,a&&a.params||BS,m),A=l&&l.params||BS,P=this.buildStyles(r,A,m),N=new Set,G=new Map,U=new Map,X="void"===r,se={params:PK(A,_),delay:this.ast.options?.delay},ve=p?[]:FS(n,e,this.ast.animation,o,s,k,P,se,c,m);let De=0;if(ve.forEach(We=>{De=Math.max(We.duration+We.delay,De)}),m.length)return AR(e,this._triggerName,i,r,X,k,P,[],[],G,U,De,m);ve.forEach(We=>{const Ft=We.element,an=is(G,Ft,new Set);We.preStyleProps.forEach(Nn=>an.add(Nn));const qt=is(U,Ft,new Set);We.postStyleProps.forEach(Nn=>qt.add(Nn)),Ft!==e&&N.add(Ft)});const He=Ov(N.values());return AR(e,this._triggerName,i,r,X,k,P,ve,He,G,U,De)}}function PK(t,n){const e=Wp(n);for(const i in t)t.hasOwnProperty(i)&&null!=t[i]&&(e[i]=t[i]);return e}class RK{constructor(n,e,i){this.styles=n,this.defaultParams=e,this.normalizer=i}buildStyles(n,e){const i=new Map,r=Wp(this.defaultParams);return Object.keys(n).forEach(o=>{const s=n[o];null!==s&&(r[o]=s)}),this.styles.styles.forEach(o=>{"string"!=typeof o&&o.forEach((s,a)=>{s&&(s=Up(s,r,e));const l=this.normalizer.normalizePropertyName(a,e);s=this.normalizer.normalizeStyleValue(a,l,s,e),i.set(l,s)})}),i}}class NK{constructor(n,e,i){this.name=n,this.ast=e,this._normalizer=i,this.transitionFactories=[],this.states=new Map,e.states.forEach(r=>{this.states.set(r.name,new RK(r.style,r.options&&r.options.params||{},i))}),IR(this.states,"true","1"),IR(this.states,"false","0"),e.transitions.forEach(r=>{this.transitionFactories.push(new OR(n,r,this.states))}),this.fallbackTransition=function LK(t,n,e){return new OR(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[(s,a)=>!0],options:null,queryCount:0,depCount:0},n)}(n,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(n,e,i,r){return this.transitionFactories.find(s=>s.match(n,e,i,r))||null}matchStyles(n,e,i){return this.fallbackTransition.buildStyles(n,e,i)}}function IR(t,n,e){t.has(n)?t.has(e)||t.set(e,t.get(n)):t.has(e)&&t.set(n,t.get(e))}const BK=new Lv;class VK{constructor(n,e,i){this.bodyNode=n,this._driver=e,this._normalizer=i,this._animations=new Map,this._playersById=new Map,this.players=[]}register(n,e){const i=[],o=IS(this._driver,e,i,[]);if(i.length)throw function VY(t){return new ke(3503,!1)}();this._animations.set(n,o)}_buildPlayer(n,e,i){const r=n.element,o=uR(0,this._normalizer,0,n.keyframes,e,i);return this._driver.animate(r,o,n.duration,n.delay,n.easing,[],!0)}create(n,e,i={}){const r=[],o=this._animations.get(n);let s;const a=new Map;if(o?(s=FS(this._driver,e,o,MS,Mv,new Map,new Map,i,BK,r),s.forEach(p=>{const m=is(a,p.element,new Map);p.postStyleProps.forEach(_=>m.set(_,null))})):(r.push(function HY(){return new ke(3300,!1)}()),s=[]),r.length)throw function zY(t){return new ke(3504,!1)}();a.forEach((p,m)=>{p.forEach((_,C)=>{p.set(C,this._driver.computeStyle(m,C,kl))})});const c=yc(s.map(p=>{const m=a.get(p.element);return this._buildPlayer(p,new Map,m)}));return this._playersById.set(n,c),c.onDestroy(()=>this.destroy(n)),this.players.push(c),c}destroy(n){const e=this._getPlayer(n);e.destroy(),this._playersById.delete(n);const i=this.players.indexOf(e);i>=0&&this.players.splice(i,1)}_getPlayer(n){const e=this._playersById.get(n);if(!e)throw function WY(t){return new ke(3301,!1)}();return e}listen(n,e,i,r){const o=SS(e,"","","");return wS(this._getPlayer(n),i,o,r),()=>{}}command(n,e,i,r){if("register"==i)return void this.register(n,r[0]);if("create"==i)return void this.create(n,e,r[0]||{});const o=this._getPlayer(n);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(n)}}}const PR="ng-animate-queued",VS="ng-animate-disabled",UK=[],RR={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},GK={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Ds="__ng_removed";class HS{constructor(n,e=""){this.namespaceId=e;const i=n&&n.hasOwnProperty("value");if(this.value=function KK(t){return t??null}(i?n.value:n),i){const o=Wp(n);delete o.value,this.options=o}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(n){const e=n.params;if(e){const i=this.options.params;Object.keys(e).forEach(r=>{null==i[r]&&(i[r]=e[r])})}}}const Gp="void",zS=new HS(Gp);class $K{constructor(n,e,i){this.id=n,this.hostElement=e,this._engine=i,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+n,Ms(e,this._hostClassName)}listen(n,e,i,r){if(!this._triggers.has(e))throw function jY(t,n){return new ke(3302,!1)}();if(null==i||0==i.length)throw function UY(t){return new ke(3303,!1)}();if(!function ZK(t){return"start"==t||"done"==t}(i))throw function GY(t,n){return new ke(3400,!1)}();const o=is(this._elementListeners,n,[]),s={name:e,phase:i,callback:r};o.push(s);const a=is(this._engine.statesByElement,n,new Map);return a.has(e)||(Ms(n,Tv),Ms(n,Tv+"-"+e),a.set(e,zS)),()=>{this._engine.afterFlush(()=>{const l=o.indexOf(s);l>=0&&o.splice(l,1),this._triggers.has(e)||a.delete(e)})}}register(n,e){return!this._triggers.has(n)&&(this._triggers.set(n,e),!0)}_getTrigger(n){const e=this._triggers.get(n);if(!e)throw function $Y(t){return new ke(3401,!1)}();return e}trigger(n,e,i,r=!0){const o=this._getTrigger(e),s=new WS(this.id,e,n);let a=this._engine.statesByElement.get(n);a||(Ms(n,Tv),Ms(n,Tv+"-"+e),this._engine.statesByElement.set(n,a=new Map));let l=a.get(e);const c=new HS(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),a.set(e,c),l||(l=zS),c.value!==Gp&&l.value===c.value){if(!function JK(t,n){const e=Object.keys(t),i=Object.keys(n);if(e.length!=i.length)return!1;for(let r=0;r{ku(n,P),Aa(n,N)})}return}const _=is(this._engine.playersByElement,n,[]);_.forEach(A=>{A.namespaceId==this.id&&A.triggerName==e&&A.queued&&A.destroy()});let C=o.matchTransition(l.value,c.value,n,c.params),k=!1;if(!C){if(!r)return;C=o.fallbackTransition,k=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:e,transition:C,fromState:l,toState:c,player:s,isFallbackTransition:k}),k||(Ms(n,PR),s.onStart(()=>{hh(n,PR)})),s.onDone(()=>{let A=this.players.indexOf(s);A>=0&&this.players.splice(A,1);const P=this._engine.playersByElement.get(n);if(P){let N=P.indexOf(s);N>=0&&P.splice(N,1)}}),this.players.push(s),_.push(s),s}deregister(n){this._triggers.delete(n),this._engine.statesByElement.forEach(e=>e.delete(n)),this._elementListeners.forEach((e,i)=>{this._elementListeners.set(i,e.filter(r=>r.name!=n))})}clearElementCache(n){this._engine.statesByElement.delete(n),this._elementListeners.delete(n);const e=this._engine.playersByElement.get(n);e&&(e.forEach(i=>i.destroy()),this._engine.playersByElement.delete(n))}_signalRemovalForInnerTriggers(n,e){const i=this._engine.driver.query(n,Ev,!0);i.forEach(r=>{if(r[Ds])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(n,e,i,r){const o=this._engine.statesByElement.get(n),s=new Map;if(o){const a=[];if(o.forEach((l,c)=>{if(s.set(c,l.value),this._triggers.has(c)){const p=this.trigger(n,c,Gp,r);p&&a.push(p)}}),a.length)return this._engine.markElementAsRemoved(this.id,n,!0,e,s),i&&yc(a).onDone(()=>this._engine.processLeaveNode(n)),!0}return!1}prepareLeaveAnimationListeners(n){const e=this._elementListeners.get(n),i=this._engine.statesByElement.get(n);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)||zS,p=new HS(Gp),m=new WS(this.id,s,n);this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:s,transition:l,fromState:c,toState:p,player:m,isFallbackTransition:!0})})}}removeNode(n,e){const i=this._engine;if(n.childElementCount&&this._signalRemovalForInnerTriggers(n,e),this.triggerLeaveAnimation(n,e,!0))return;let r=!1;if(i.totalAnimations){const o=i.players.length?i.playersByQueriedElement.get(n):[];if(o&&o.length)r=!0;else{let s=n;for(;s=s.parentNode;)if(i.statesByElement.get(s)){r=!0;break}}}if(this.prepareLeaveAnimationListeners(n),r)i.markElementAsRemoved(this.id,n,!1,e);else{const o=n[Ds];(!o||o===RR)&&(i.afterFlush(()=>this.clearElementCache(n)),i.destroyInnerAnimations(n),i._onRemovalComplete(n,e))}}insertNode(n,e){Ms(n,this._hostClassName)}drainQueuedTransitions(n){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=SS(o,i.triggerName,i.fromState.value,i.toState.value);l._data=n,wS(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(n){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,n)}elementContainsData(n){let e=!1;return this._elementListeners.has(n)&&(e=!0),e=!!this._queue.find(i=>i.element===n)||e,e}}class qK{constructor(n,e,i){this.bodyNode=n,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(n,e){this.onRemovalComplete(n,e)}get queuedPlayers(){const n=[];return this._namespaceList.forEach(e=>{e.players.forEach(i=>{i.queued&&n.push(i)})}),n}createNamespace(n,e){const i=new $K(n,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[n]=i}_balanceNamespaceList(n,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,n),s=!0;break}a=this.driver.getParentElement(a)}s||i.unshift(n)}else i.push(n);return r.set(e,n),n}register(n,e){let i=this._namespaceLookup[n];return i||(i=this.createNamespace(n,e)),i}registerTrigger(n,e,i){let r=this._namespaceLookup[n];r&&r.register(e,i)&&this.totalAnimations++}destroy(n,e){if(!n)return;const i=this._fetchNamespace(n);this.afterFlush(()=>{this.namespacesByHostElement.delete(i.hostElement),delete this._namespaceLookup[n];const r=this._namespaceList.indexOf(i);r>=0&&this._namespaceList.splice(r,1)}),this.afterFlushAnimationsDone(()=>i.destroy(e))}_fetchNamespace(n){return this._namespaceLookup[n]}fetchNamespacesByElement(n){const e=new Set,i=this.statesByElement.get(n);if(i)for(let r of i.values())if(r.namespaceId){const o=this._fetchNamespace(r.namespaceId);o&&e.add(o)}return e}trigger(n,e,i,r){if(Hv(e)){const o=this._fetchNamespace(n);if(o)return o.trigger(e,i,r),!0}return!1}insertNode(n,e,i,r){if(!Hv(e))return;const o=e[Ds];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;const s=this.collectedLeaveElements.indexOf(e);s>=0&&this.collectedLeaveElements.splice(s,1)}if(n){const s=this._fetchNamespace(n);s&&s.insertNode(e,i)}r&&this.collectEnterElement(e)}collectEnterElement(n){this.collectedEnterElements.push(n)}markElementAsDisabled(n,e){e?this.disabledNodes.has(n)||(this.disabledNodes.add(n),Ms(n,VS)):this.disabledNodes.has(n)&&(this.disabledNodes.delete(n),hh(n,VS))}removeNode(n,e,i,r){if(Hv(e)){const o=n?this._fetchNamespace(n):null;if(o?o.removeNode(e,r):this.markElementAsRemoved(n,e,!1,r),i){const s=this.namespacesByHostElement.get(e);s&&s.id!==n&&s.removeNode(e,r)}}else this._onRemovalComplete(e,r)}markElementAsRemoved(n,e,i,r,o){this.collectedLeaveElements.push(e),e[Ds]={namespaceId:n,setForRemoval:r,hasAnimation:i,removedBeforeQueried:!1,previousTriggersValues:o}}listen(n,e,i,r,o){return Hv(e)?this._fetchNamespace(n).listen(e,i,r,o):()=>{}}_buildInstruction(n,e,i,r,o){return n.transition.build(this.driver,n.element,n.fromState.value,n.toState.value,i,r,n.fromState.options,n.toState.options,e,o)}destroyInnerAnimations(n){let e=this.driver.query(n,Ev,!0);e.forEach(i=>this.destroyActiveAnimationsForElement(i)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(n,TS,!0),e.forEach(i=>this.finishActiveQueriedAnimationOnElement(i)))}destroyActiveAnimationsForElement(n){const e=this.playersByElement.get(n);e&&e.forEach(i=>{i.queued?i.markedForDestroy=!0:i.destroy()})}finishActiveQueriedAnimationOnElement(n){const e=this.playersByQueriedElement.get(n);e&&e.forEach(i=>i.finish())}whenRenderingDone(){return new Promise(n=>{if(this.players.length)return yc(this.players).onDone(()=>n());n()})}processLeaveNode(n){const e=n[Ds];if(e&&e.setForRemoval){if(n[Ds]=RR,e.namespaceId){this.destroyInnerAnimations(n);const i=this._fetchNamespace(e.namespaceId);i&&i.clearElementCache(n)}this._onRemovalComplete(n,e.setForRemoval)}n.classList?.contains(VS)&&this.markElementAsDisabled(n,!1),this.driver.query(n,".ng-animate-disabled",!0).forEach(i=>{this.markElementAsDisabled(i,!1)})}flush(n=-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?yc(e).onDone(()=>{i.forEach(r=>r())}):i.forEach(r=>r())}}reportError(n){throw function qY(t){return new ke(3402,!1)}()}_flushAnimations(n,e){const i=new Lv,r=[],o=new Map,s=[],a=new Map,l=new Map,c=new Map,p=new Set;this.disabledNodes.forEach(Re=>{p.add(Re);const je=this.driver.query(Re,".ng-animate-queued",!0);for(let At=0;At{const At=MS+A++;k.set(je,At),Re.forEach(An=>Ms(An,At))});const P=[],N=new Set,G=new Set;for(let Re=0;ReN.add(An)):G.add(je))}const U=new Map,X=LR(_,Array.from(N));X.forEach((Re,je)=>{const At=Mv+A++;U.set(je,At),Re.forEach(An=>Ms(An,At))}),n.push(()=>{C.forEach((Re,je)=>{const At=k.get(je);Re.forEach(An=>hh(An,At))}),X.forEach((Re,je)=>{const At=U.get(je);Re.forEach(An=>hh(An,At))}),P.forEach(Re=>{this.processLeaveNode(Re)})});const se=[],ve=[];for(let Re=this._namespaceList.length-1;Re>=0;Re--)this._namespaceList[Re].drainQueuedTransitions(e).forEach(At=>{const An=At.player,Ti=At.element;if(se.push(An),this.collectedEnterElements.length){const kr=Ti[Ds];if(kr&&kr.setForMove){if(kr.previousTriggersValues&&kr.previousTriggersValues.has(At.triggerName)){const Bi=kr.previousTriggersValues.get(At.triggerName),Pn=this.statesByElement.get(At.element);if(Pn&&Pn.has(At.triggerName)){const oo=Pn.get(At.triggerName);oo.value=Bi,Pn.set(At.triggerName,oo)}}return void An.destroy()}}const zr=!m||!this.driver.containsElement(m,Ti),Li=U.get(Ti),ro=k.get(Ti),oi=this._buildInstruction(At,i,ro,Li,zr);if(oi.errors&&oi.errors.length)return void ve.push(oi);if(zr)return An.onStart(()=>ku(Ti,oi.fromStyles)),An.onDestroy(()=>Aa(Ti,oi.toStyles)),void r.push(An);if(At.isFallbackTransition)return An.onStart(()=>ku(Ti,oi.fromStyles)),An.onDestroy(()=>Aa(Ti,oi.toStyles)),void r.push(An);const jl=[];oi.timelines.forEach(kr=>{kr.stretchStartingKeyframe=!0,this.disabledNodes.has(kr.element)||jl.push(kr)}),oi.timelines=jl,i.append(Ti,oi.timelines),s.push({instruction:oi,player:An,element:Ti}),oi.queriedElements.forEach(kr=>is(a,kr,[]).push(An)),oi.preStyleProps.forEach((kr,Bi)=>{if(kr.size){let Pn=l.get(Bi);Pn||l.set(Bi,Pn=new Set),kr.forEach((oo,Hc)=>Pn.add(Hc))}}),oi.postStyleProps.forEach((kr,Bi)=>{let Pn=c.get(Bi);Pn||c.set(Bi,Pn=new Set),kr.forEach((oo,Hc)=>Pn.add(Hc))})});if(ve.length){const Re=[];ve.forEach(je=>{Re.push(function YY(t,n){return new ke(3505,!1)}())}),se.forEach(je=>je.destroy()),this.reportError(Re)}const De=new Map,He=new Map;s.forEach(Re=>{const je=Re.element;i.has(je)&&(He.set(je,je),this._beforeAnimationBuild(Re.player.namespaceId,Re.instruction,De))}),r.forEach(Re=>{const je=Re.element;this._getPreviousPlayers(je,!1,Re.namespaceId,Re.triggerName,null).forEach(An=>{is(De,je,[]).push(An),An.destroy()})});const We=P.filter(Re=>VR(Re,l,c)),Ft=new Map;NR(Ft,this.driver,G,c,kl).forEach(Re=>{VR(Re,l,c)&&We.push(Re)});const qt=new Map;C.forEach((Re,je)=>{NR(qt,this.driver,new Set(Re),l,"!")}),We.forEach(Re=>{const je=Ft.get(Re),At=qt.get(Re);Ft.set(Re,new Map([...Array.from(je?.entries()??[]),...Array.from(At?.entries()??[])]))});const Nn=[],Ni=[],pt={};s.forEach(Re=>{const{element:je,player:At,instruction:An}=Re;if(i.has(je)){if(p.has(je))return At.onDestroy(()=>Aa(je,An.toStyles)),At.disabled=!0,At.overrideTotalTime(An.totalTime),void r.push(At);let Ti=pt;if(He.size>1){let Li=je;const ro=[];for(;Li=Li.parentNode;){const oi=He.get(Li);if(oi){Ti=oi;break}ro.push(Li)}ro.forEach(oi=>He.set(oi,Ti))}const zr=this._buildAnimation(At.namespaceId,An,De,o,qt,Ft);if(At.setRealPlayer(zr),Ti===pt)Nn.push(At);else{const Li=this.playersByElement.get(Ti);Li&&Li.length&&(At.parentPlayer=yc(Li)),r.push(At)}}else ku(je,An.fromStyles),At.onDestroy(()=>Aa(je,An.toStyles)),Ni.push(At),p.has(je)&&r.push(At)}),Ni.forEach(Re=>{const je=o.get(Re.element);if(je&&je.length){const At=yc(je);Re.setRealPlayer(At)}}),r.forEach(Re=>{Re.parentPlayer?Re.syncPlayerEvents(Re.parentPlayer):Re.destroy()});for(let Re=0;Re!zr.destroyed);Ti.length?QK(this,je,Ti):this.processLeaveNode(je)}return P.length=0,Nn.forEach(Re=>{this.players.push(Re),Re.onDone(()=>{Re.destroy();const je=this.players.indexOf(Re);this.players.splice(je,1)}),Re.play()}),Nn}elementContainsData(n,e){let i=!1;const r=e[Ds];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(n).elementContainsData(e)||i}afterFlush(n){this._flushFns.push(n)}afterFlushAnimationsDone(n){this._whenQuietFns.push(n)}_getPreviousPlayers(n,e,i,r,o){let s=[];if(e){const a=this.playersByQueriedElement.get(n);a&&(s=a)}else{const a=this.playersByElement.get(n);if(a){const l=!o||o==Gp;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(n,e,i){const o=e.element,s=e.isRemovalTransition?void 0:n,a=e.isRemovalTransition?void 0:e.triggerName;for(const l of e.timelines){const c=l.element,p=c!==o,m=is(i,c,[]);this._getPreviousPlayers(c,p,s,a,e.toState).forEach(C=>{const k=C.getRealPlayer();k.beforeDestroy&&k.beforeDestroy(),C.destroy(),m.push(C)})}ku(o,e.fromStyles)}_buildAnimation(n,e,i,r,o,s){const a=e.triggerName,l=e.element,c=[],p=new Set,m=new Set,_=e.timelines.map(k=>{const A=k.element;p.add(A);const P=A[Ds];if(P&&P.removedBeforeQueried)return new zp(k.duration,k.delay);const N=A!==l,G=function XK(t){const n=[];return BR(t,n),n}((i.get(A)||UK).map(De=>De.getRealPlayer())).filter(De=>!!De.element&&De.element===A),U=o.get(A),X=s.get(A),se=uR(0,this._normalizer,0,k.keyframes,U,X),ve=this._buildPlayer(k,se,G);if(k.subTimeline&&r&&m.add(A),N){const De=new WS(n,a,A);De.setRealPlayer(ve),c.push(De)}return ve});c.forEach(k=>{is(this.playersByQueriedElement,k.element,[]).push(k),k.onDone(()=>function YK(t,n,e){let i=t.get(n);if(i){if(i.length){const r=i.indexOf(e);i.splice(r,1)}0==i.length&&t.delete(n)}return i}(this.playersByQueriedElement,k.element,k))}),p.forEach(k=>Ms(k,bR));const C=yc(_);return C.onDestroy(()=>{p.forEach(k=>hh(k,bR)),Aa(l,e.toStyles)}),m.forEach(k=>{is(r,k,[]).push(C)}),C}_buildPlayer(n,e,i){return e.length>0?this.driver.animate(n.element,e,n.duration,n.delay,n.easing,i):new zp(n.duration,n.delay)}}class WS{constructor(n,e,i){this.namespaceId=n,this.triggerName=e,this.element=i,this._player=new zp,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(n){this._containsRealPlayer||(this._player=n,this._queuedCallbacks.forEach((e,i)=>{e.forEach(r=>wS(n,i,void 0,r))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(n.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(n){this.totalTime=n}syncPlayerEvents(n){const e=this._player;e.triggerCallback&&n.onStart(()=>e.triggerCallback("start")),n.onDone(()=>this.finish()),n.onDestroy(()=>this.destroy())}_queueEvent(n,e){is(this._queuedCallbacks,n,[]).push(e)}onDone(n){this.queued&&this._queueEvent("done",n),this._player.onDone(n)}onStart(n){this.queued&&this._queueEvent("start",n),this._player.onStart(n)}onDestroy(n){this.queued&&this._queueEvent("destroy",n),this._player.onDestroy(n)}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(n){this.queued||this._player.setPosition(n)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(n){const e=this._player;e.triggerCallback&&e.triggerCallback(n)}}function Hv(t){return t&&1===t.nodeType}function FR(t,n){const e=t.style.display;return t.style.display=n??"none",e}function NR(t,n,e,i,r){const o=[];e.forEach(l=>o.push(FR(l)));const s=[];i.forEach((l,c)=>{const p=new Map;l.forEach(m=>{const _=n.computeStyle(c,m,r);p.set(m,_),(!_||0==_.length)&&(c[Ds]=GK,s.push(c))}),t.set(c,p)});let a=0;return e.forEach(l=>FR(l,o[a++])),s}function LR(t,n){const e=new Map;if(t.forEach(a=>e.set(a,[])),0==n.length)return e;const r=new Set(n),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 n.forEach(a=>{const l=s(a);1!==l&&e.get(l).push(a)}),e}function Ms(t,n){t.classList?.add(n)}function hh(t,n){t.classList?.remove(n)}function QK(t,n,e){yc(e).onDone(()=>t.processLeaveNode(n))}function BR(t,n){for(let e=0;er.add(o)):n.set(t,i),e.delete(t),!0}class zv{constructor(n,e,i){this.bodyNode=n,this._driver=e,this._normalizer=i,this._triggerCache={},this.onRemovalComplete=(r,o)=>{},this._transitionEngine=new qK(n,e,i),this._timelineEngine=new VK(n,e,i),this._transitionEngine.onRemovalComplete=(r,o)=>this.onRemovalComplete(r,o)}registerTrigger(n,e,i,r,o){const s=n+"-"+r;let a=this._triggerCache[s];if(!a){const l=[],p=IS(this._driver,o,l,[]);if(l.length)throw function LY(t,n){return new ke(3404,!1)}();a=function FK(t,n,e){return new NK(t,n,e)}(r,p,this._normalizer),this._triggerCache[s]=a}this._transitionEngine.registerTrigger(e,r,a)}register(n,e){this._transitionEngine.register(n,e)}destroy(n,e){this._transitionEngine.destroy(n,e)}onInsert(n,e,i,r){this._transitionEngine.insertNode(n,e,i,r)}onRemove(n,e,i,r){this._transitionEngine.removeNode(n,e,r||!1,i)}disableAnimations(n,e){this._transitionEngine.markElementAsDisabled(n,e)}process(n,e,i,r){if("@"==i.charAt(0)){const[o,s]=dR(i);this._timelineEngine.command(o,e,s,r)}else this._transitionEngine.trigger(n,e,i,r)}listen(n,e,i,r,o){if("@"==i.charAt(0)){const[s,a]=dR(i);return this._timelineEngine.listen(s,e,a,o)}return this._transitionEngine.listen(n,e,i,r,o)}flush(n=-1){this._transitionEngine.flush(n)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let tZ=(()=>{class t{constructor(e,i,r){this._element=e,this._startStyles=i,this._endStyles=r,this._state=0;let o=t.initialStylesByElement.get(e);o||t.initialStylesByElement.set(e,o=new Map),this._initialStyles=o}start(){this._state<1&&(this._startStyles&&Aa(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Aa(this._element,this._initialStyles),this._endStyles&&(Aa(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(ku(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(ku(this._element,this._endStyles),this._endStyles=null),Aa(this._element,this._initialStyles),this._state=3)}}return t.initialStylesByElement=new WeakMap,t})();function jS(t){let n=null;return t.forEach((e,i)=>{(function nZ(t){return"display"===t||"position"===t})(i)&&(n=n||new Map,n.set(i,e))}),n}class HR{constructor(n,e,i,r){this.element=n,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(n=>n()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const n=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,n,this.options),this._finalKeyframe=n.length?n[n.length-1]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(n){const e=[];return n.forEach(i=>{e.push(Object.fromEntries(i))}),e}_triggerWebAnimation(n,e,i){return n.animate(this._convertKeyframesToObject(e),i)}onStart(n){this._originalOnStartFns.push(n),this._onStartFns.push(n)}onDone(n){this._originalOnDoneFns.push(n),this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(n=>n()),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(n=>n()),this._onDestroyFns=[])}setPosition(n){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=n*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const n=new Map;this.hasStarted()&&this._finalKeyframe.forEach((i,r)=>{"offset"!==r&&n.set(r,this._finished?i:kR(this.element,r))}),this.currentSnapshot=n}triggerCallback(n){const e="start"===n?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}class iZ{validateStyleProperty(n){return!0}validateAnimatableStyleProperty(n){return!0}matchesElement(n,e){return!1}containsElement(n,e){return mR(n,e)}getParentElement(n){return kS(n)}query(n,e,i){return gR(n,e,i)}computeStyle(n,e,i){return window.getComputedStyle(n)[e]}animate(n,e,i,r,o,s=[]){const l={duration:i,delay:r,fill:0==r?"both":"forwards"};o&&(l.easing=o);const c=new Map,p=s.filter(C=>C instanceof HR);(function aK(t,n){return 0===t||0===n})(i,r)&&p.forEach(C=>{C.currentSnapshot.forEach((k,A)=>c.set(A,k))});let m=function iK(t){return t.length?t[0]instanceof Map?t:t.map(n=>yR(n)):[]}(e).map(C=>wc(C));m=function lK(t,n,e){if(e.size&&n.length){let i=n[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,kR(t,a)))}}return n}(n,m,c);const _=function eZ(t,n){let e=null,i=null;return Array.isArray(n)&&n.length?(e=jS(n[0]),n.length>1&&(i=jS(n[n.length-1]))):n instanceof Map&&(e=jS(n)),e||i?new tZ(t,e,i):null}(n,m);return new HR(n,m,l,_)}}let rZ=(()=>{class t extends rR{constructor(e,i){super(),this._nextAnimationId=0,this._renderer=e.createRenderer(i.body,{id:"0",encapsulation:Uo.None,styles:[],data:{animation:[]}})}build(e){const i=this._nextAnimationId.toString();this._nextAnimationId++;const r=Array.isArray(e)?sR(e):e;return zR(this._renderer,null,i,"register",[r]),new oZ(i,this._renderer)}}return t.\u0275fac=function(e){return new(e||t)(K(qf),K(Xt))},t.\u0275prov=Te({token:t,factory:t.\u0275fac}),t})();class oZ extends class mY{}{constructor(n,e){super(),this._id=n,this._renderer=e}create(n,e){return new sZ(this._id,n,e||{},this._renderer)}}class sZ{constructor(n,e,i,r){this.id=n,this.element=e,this._renderer=r,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",i)}_listen(n,e){return this._renderer.listen(this.element,`@@${this.id}:${n}`,e)}_command(n,...e){return zR(this._renderer,this.element,this.id,n,e)}onDone(n){this._listen("done",n)}onStart(n){this._listen("start",n)}onDestroy(n){this._listen("destroy",n)}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(n){this._command("setPosition",n)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function zR(t,n,e,i,r){return t.setProperty(n,`@@${e}:${i}`,r)}const WR="@.disabled";let aZ=(()=>{class t{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 p=this._rendererCache.get(o);return p||(p=new jR("",o,this.engine,()=>this._rendererCache.delete(o)),this._rendererCache.set(o,p)),p}const s=i.id,a=i.id+"-"+this._currentId;this._currentId++,this.engine.register(a,e);const l=p=>{Array.isArray(p)?p.forEach(l):this.engine.registerTrigger(s,a,e,p.name,p)};return i.data.animation.forEach(l),new lZ(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 t.\u0275fac=function(e){return new(e||t)(K(qf),K(zv),K(bt))},t.\u0275prov=Te({token:t,factory:t.\u0275fac}),t})();class jR{constructor(n,e,i,r){this.namespaceId=n,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(n,e){return this.delegate.createElement(n,e)}createComment(n){return this.delegate.createComment(n)}createText(n){return this.delegate.createText(n)}appendChild(n,e){this.delegate.appendChild(n,e),this.engine.onInsert(this.namespaceId,e,n,!1)}insertBefore(n,e,i,r=!0){this.delegate.insertBefore(n,e,i),this.engine.onInsert(this.namespaceId,e,n,r)}removeChild(n,e,i){this.engine.onRemove(this.namespaceId,e,this.delegate,i)}selectRootElement(n,e){return this.delegate.selectRootElement(n,e)}parentNode(n){return this.delegate.parentNode(n)}nextSibling(n){return this.delegate.nextSibling(n)}setAttribute(n,e,i,r){this.delegate.setAttribute(n,e,i,r)}removeAttribute(n,e,i){this.delegate.removeAttribute(n,e,i)}addClass(n,e){this.delegate.addClass(n,e)}removeClass(n,e){this.delegate.removeClass(n,e)}setStyle(n,e,i,r){this.delegate.setStyle(n,e,i,r)}removeStyle(n,e,i){this.delegate.removeStyle(n,e,i)}setProperty(n,e,i){"@"==e.charAt(0)&&e==WR?this.disableAnimations(n,!!i):this.delegate.setProperty(n,e,i)}setValue(n,e){this.delegate.setValue(n,e)}listen(n,e,i){return this.delegate.listen(n,e,i)}disableAnimations(n,e){this.engine.disableAnimations(n,e)}}class lZ extends jR{constructor(n,e,i,r,o){super(e,i,r,o),this.factory=n,this.namespaceId=e}setProperty(n,e,i){"@"==e.charAt(0)?"."==e.charAt(1)&&e==WR?this.disableAnimations(n,i=void 0===i||!!i):this.engine.process(this.namespaceId,n,e.slice(1),i):this.delegate.setProperty(n,e,i)}listen(n,e,i){if("@"==e.charAt(0)){const r=function cZ(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}(n);let o=e.slice(1),s="";return"@"!=o.charAt(0)&&([o,s]=function uZ(t){const n=t.indexOf(".");return[t.substring(0,n),t.slice(n+1)]}(o)),this.engine.listen(this.namespaceId,r,o,s,a=>{this.factory.scheduleListenerCallback(a._data||-1,i,a)})}return this.delegate.listen(n,e,i)}}let dZ=(()=>{class t extends zv{constructor(e,i,r,o){super(e.body,i,r)}ngOnDestroy(){this.flush()}}return t.\u0275fac=function(e){return new(e||t)(K(Xt),K(DS),K(LS),K(Zd))},t.\u0275prov=Te({token:t,factory:t.\u0275fac}),t})();const UR=[{provide:rR,useClass:rZ},{provide:LS,useFactory:function hZ(){return new OK}},{provide:zv,useClass:dZ},{provide:qf,useFactory:function fZ(t,n,e){return new aZ(t,n,e)},deps:[z_,zv,bt]}],US=[{provide:DS,useFactory:()=>new iZ},{provide:nr,useValue:"BrowserAnimations"},...UR],GR=[{provide:DS,useClass:_R},{provide:nr,useValue:"NoopAnimations"},...UR];let GS,pZ=(()=>{class t{static withConfig(e){return{ngModule:t,providers:e.disableAnimations?GR:US}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Ct({type:t}),t.\u0275inj=yt({providers:US,imports:[TO]}),t})();try{GS=typeof Intl<"u"&&Intl.v8BreakIterator}catch{GS=!1}let fh,dr=(()=>{class t{constructor(e){this._platformId=e,this.isBrowser=this._platformId?function Sj(t){return t===sO}(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&&!GS)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return t.\u0275fac=function(e){return new(e||t)(K(b_))},t.\u0275prov=Te({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const $R=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function qR(){if(fh)return fh;if("object"!=typeof document||!document)return fh=new Set($R),fh;let t=document.createElement("input");return fh=new Set($R.filter(n=>(t.setAttribute("type",n),t.type===n))),fh}let $p,Tu,$S;function Mu(t){return function mZ(){if(null==$p&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>$p=!0}))}finally{$p=$p||!1}return $p}()?t:!!t.capture}function gZ(){if(null==Tu){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return Tu=!1,Tu;if("scrollBehavior"in document.documentElement.style)Tu=!0;else{const t=Element.prototype.scrollTo;Tu=!!t&&!/\{\s*\[native code\]\s*\}/.test(t.toString())}}return Tu}function Uv(){let t=typeof document<"u"&&document?document.activeElement:null;for(;t&&t.shadowRoot;){const n=t.shadowRoot.activeElement;if(n===t)break;t=n}return t}function Cc(t){return t.composedPath?t.composedPath()[0]:t.target}function qS(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}function no(t,...n){return n.length?n.some(e=>t[e]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}class EZ extends Z{constructor(n,e){super()}schedule(n,e=0){return this}}const qv={setInterval(t,n,...e){const{delegate:i}=qv;return i?.setInterval?i.setInterval(t,n,...e):setInterval(t,n,...e)},clearInterval(t){const{delegate:n}=qv;return(n?.clearInterval||clearInterval)(t)},delegate:void 0};class KS extends EZ{constructor(n,e){super(n,e),this.scheduler=n,this.work=e,this.pending=!1}schedule(n,e=0){var i;if(this.closed)return this;this.state=n;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(n,e,i=0){return qv.setInterval(n.flush.bind(n,this),i)}recycleAsyncId(n,e,i=0){if(null!=i&&this.delay===i&&!1===this.pending)return e;null!=e&&qv.clearInterval(e)}execute(n,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const i=this._execute(n,e);if(i)return i;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(n,e){let r,i=!1;try{this.work(n)}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:n,scheduler:e}=this,{actions:i}=e;this.work=this.state=this.scheduler=null,this.pending=!1,ge(i,this),null!=n&&(this.id=this.recycleAsyncId(e,n,null)),this.delay=null,super.unsubscribe()}}}const ZS={now:()=>(ZS.delegate||Date).now(),delegate:void 0};class qp{constructor(n,e=qp.now){this.schedulerActionCtor=n,this.now=e}schedule(n,e=0,i){return new this.schedulerActionCtor(this,n).schedule(i,e)}}qp.now=ZS.now;class QS extends qp{constructor(n,e=qp.now){super(n,e),this.actions=[],this._active=!1}flush(n){const{actions:e}=this;if(this._active)return void e.push(n);let i;this._active=!0;do{if(i=n.execute(n.state,n.delay))break}while(n=e.shift());if(this._active=!1,i){for(;n=e.shift();)n.unsubscribe();throw i}}}const mh=new QS(KS),AZ=mh;function Yv(t,n=mh){return Ye((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+t,p=n.now();if(p{o=c,s=n.now(),r||(r=n.schedule(l,t),i.add(r))},()=>{a(),i.complete()},void 0,()=>{o=r=null}))})}function XS(t){return hi((n,e)=>t<=e)}function Yp(t,n=mr){return t=t??OZ,Ye((e,i)=>{let r,o=!0;e.subscribe(Ot(i,s=>{const a=n(s);(o||!t(r,a))&&(o=!1,r=a,i.next(s))}))})}function OZ(t,n){return t===n}function rn(t){return Ye((n,e)=>{z(t).subscribe(Ot(e,()=>e.complete(),x)),!e.closed&&n.subscribe(e)})}function vt(t){return null!=t&&"false"!=`${t}`}function Vo(t,n=0){return KR(t)?Number(t):n}function KR(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}function Kv(t){return Array.isArray(t)?t:[t]}function Rr(t){return null==t?"":"string"==typeof t?t:`${t}px`}function Tl(t){return t instanceof xe?t.nativeElement:t}let ZR=(()=>{class t{create(e){return typeof MutationObserver>"u"?null:new MutationObserver(e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Te({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),PZ=(()=>{class t{constructor(e){this._mutationObserverFactory=e,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((e,i)=>this._cleanupObserver(i))}observe(e){const i=Tl(e);return new bn(r=>{const s=this._observeElement(i).subscribe(r);return()=>{s.unsubscribe(),this._unobserveElement(i)}})}_observeElement(e){if(this._observedElements.has(e))this._observedElements.get(e).count++;else{const i=new pe,r=this._mutationObserverFactory.create(o=>i.next(o));r&&r.observe(e,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(e,{observer:r,stream:i,count:1})}return this._observedElements.get(e).stream}_unobserveElement(e){this._observedElements.has(e)&&(this._observedElements.get(e).count--,this._observedElements.get(e).count||this._cleanupObserver(e))}_cleanupObserver(e){if(this._observedElements.has(e)){const{observer:i,stream:r}=this._observedElements.get(e);i&&i.disconnect(),r.complete(),this._observedElements.delete(e)}}}return t.\u0275fac=function(e){return new(e||t)(K(ZR))},t.\u0275prov=Te({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Zv=(()=>{class t{constructor(e,i,r){this._contentObserver=e,this._elementRef=i,this._ngZone=r,this.event=new $e,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(e){this._disabled=vt(e),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(e){this._debounce=Vo(e),this._subscribe()}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const e=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?e.pipe(Yv(this.debounce)):e).subscribe(this.event)})}_unsubscribe(){this._currentSubscription?.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(D(PZ),D(xe),D(bt))},t.\u0275dir=fe({type:t,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),t})(),Kp=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Ct({type:t}),t.\u0275inj=yt({providers:[ZR]}),t})();const QR=new Set;let gh,RZ=(()=>{class t{constructor(e){this._platform=e,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):NZ}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&function FZ(t){if(!QR.has(t))try{gh||(gh=document.createElement("style"),gh.setAttribute("type","text/css"),document.head.appendChild(gh)),gh.sheet&&(gh.sheet.insertRule(`@media ${t} {body{ }}`,0),QR.add(t))}catch(n){console.error(n)}}(e),this._matchMedia(e)}}return t.\u0275fac=function(e){return new(e||t)(K(dr))},t.\u0275prov=Te({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function NZ(t){return{matches:"all"===t||""===t,media:t,addListener:()=>{},removeListener:()=>{}}}let Qv=(()=>{class t{constructor(e,i){this._mediaMatcher=e,this._zone=i,this._queries=new Map,this._destroySubject=new pe}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return XR(Kv(e)).some(r=>this._registerQuery(r).mql.matches)}observe(e){let o=Xd(XR(Kv(e)).map(s=>this._registerQuery(s).observable));return o=bp(o.pipe(di(1)),o.pipe(XS(1),Yv(0))),o.pipe(Ne(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 bn(s=>{const a=l=>this._zone.run(()=>s.next(l));return i.addListener(a),()=>{i.removeListener(a)}}).pipe(Ui(i),Ne(({matches:s})=>({query:e,matches:s})),rn(this._destroySubject)),mql:i};return this._queries.set(e,o),o}}return t.\u0275fac=function(e){return new(e||t)(K(RZ),K(bt))},t.\u0275prov=Te({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function XR(t){return t.map(n=>n.split(",")).reduce((n,e)=>n.concat(e)).map(n=>n.trim())}function Xv(t,n){return(t.getAttribute(n)||"").match(/\S+/g)||[]}const tF="cdk-describedby-message",Jv="cdk-describedby-host";let JS=0,ex=(()=>{class t{constructor(e,i){this._platform=i,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+JS++,this._document=e,this._id=ki(Kd)+"-"+JS++}describe(e,i,r){if(!this._canBeDescribed(e,i))return;const o=tx(i,r);"string"!=typeof i?(nF(i,this._id),this._messageRegistry.set(o,{messageElement:i,referenceCount:0})):this._messageRegistry.has(o)||this._createMessageElement(i,r),this._isElementDescribedByMessage(e,o)||this._addMessageReference(e,o)}removeDescription(e,i,r){if(!i||!this._isElementNode(e))return;const o=tx(i,r);if(this._isElementDescribedByMessage(e,o)&&this._removeMessageReference(e,o),"string"==typeof i){const s=this._messageRegistry.get(o);s&&0===s.referenceCount&&this._deleteMessageElement(o)}0===this._messagesContainer?.childNodes.length&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){const e=this._document.querySelectorAll(`[${Jv}="${this._id}"]`);for(let i=0;i0!=r.indexOf(tF));e.setAttribute("aria-describedby",i.join(" "))}_addMessageReference(e,i){const r=this._messageRegistry.get(i);(function LZ(t,n,e){const i=Xv(t,n);i.some(r=>r.trim()==e.trim())||(i.push(e.trim()),t.setAttribute(n,i.join(" ")))})(e,"aria-describedby",r.messageElement.id),e.setAttribute(Jv,this._id),r.referenceCount++}_removeMessageReference(e,i){const r=this._messageRegistry.get(i);r.referenceCount--,function BZ(t,n,e){const r=Xv(t,n).filter(o=>o!=e.trim());r.length?t.setAttribute(n,r.join(" ")):t.removeAttribute(n)}(e,"aria-describedby",r.messageElement.id),e.removeAttribute(Jv)}_isElementDescribedByMessage(e,i){const r=Xv(e,"aria-describedby"),o=this._messageRegistry.get(i),s=o&&o.messageElement.id;return!!s&&-1!=r.indexOf(s)}_canBeDescribed(e,i){if(!this._isElementNode(e))return!1;if(i&&"object"==typeof i)return!0;const r=null==i?"":`${i}`.trim(),o=e.getAttribute("aria-label");return!(!r||o&&o.trim()===r)}_isElementNode(e){return e.nodeType===this._document.ELEMENT_NODE}}return t.\u0275fac=function(e){return new(e||t)(K(Xt),K(dr))},t.\u0275prov=Te({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function tx(t,n){return"string"==typeof t?`${n||""}/${t}`:t}function nF(t,n){t.id||(t.id=`${tF}-${n}-${JS++}`)}class iF{constructor(n){this._items=n,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new pe,this._typeaheadSubscription=Z.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=e=>e.disabled,this._pressedLetters=[],this.tabOut=new pe,this.change=new pe,n instanceof Zs&&n.changes.subscribe(e=>{if(this._activeItem){const r=e.toArray().indexOf(this._activeItem);r>-1&&r!==this._activeItemIndex&&(this._activeItemIndex=r)}})}skipPredicate(n){return this._skipPredicateFn=n,this}withWrap(n=!0){return this._wrap=n,this}withVerticalOrientation(n=!0){return this._vertical=n,this}withHorizontalOrientation(n){return this._horizontal=n,this}withAllowedModifierKeys(n){return this._allowedModifierKeys=n,this}withTypeAhead(n=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(rr(e=>this._pressedLetters.push(e)),Yv(n),hi(()=>this._pressedLetters.length>0),Ne(()=>this._pressedLetters.join(""))).subscribe(e=>{const i=this._getItemsArray();for(let r=1;r!n[o]||this._allowedModifierKeys.indexOf(o)>-1);switch(e){case 9:return void this.tabOut.next();case 40:if(this._vertical&&r){this.setNextItemActive();break}return;case 38:if(this._vertical&&r){this.setPreviousItemActive();break}return;case 39:if(this._horizontal&&r){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case 37:if(this._horizontal&&r){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case 36:if(this._homeAndEnd&&r){this.setFirstItemActive();break}return;case 35:if(this._homeAndEnd&&r){this.setLastItemActive();break}return;default:return void((r||no(n,"shiftKey"))&&(n.key&&1===n.key.length?this._letterKeyStream.next(n.key.toLocaleUpperCase()):(e>=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e))))}this._pressedLetters=[],n.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(n){const e=this._getItemsArray(),i="number"==typeof n?n:e.indexOf(n);this._activeItem=e[i]??null,this._activeItemIndex=i}_setActiveItemByDelta(n){this._wrap?this._setActiveInWrapMode(n):this._setActiveInDefaultMode(n)}_setActiveInWrapMode(n){const e=this._getItemsArray();for(let i=1;i<=e.length;i++){const r=(this._activeItemIndex+n*i+e.length)%e.length;if(!this._skipPredicateFn(e[r]))return void this.setActiveItem(r)}}_setActiveInDefaultMode(n){this._setActiveItemByIndex(this._activeItemIndex+n,n)}_setActiveItemByIndex(n,e){const i=this._getItemsArray();if(i[n]){for(;this._skipPredicateFn(i[n]);)if(!i[n+=e])return;this.setActiveItem(n)}}_getItemsArray(){return this._items instanceof Zs?this._items.toArray():this._items}}class rF extends iF{setActiveItem(n){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(n),this.activeItem&&this.activeItem.setActiveStyles()}}class Zp extends iF{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(n){return this._origin=n,this}setActiveItem(n){super.setActiveItem(n),this.activeItem&&this.activeItem.focus(this._origin)}}let eb=(()=>{class t{constructor(e){this._platform=e}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return function HZ(t){return!!(t.offsetWidth||t.offsetHeight||"function"==typeof t.getClientRects&&t.getClientRects().length)}(e)&&"visible"===getComputedStyle(e).visibility}isTabbable(e){if(!this._platform.isBrowser)return!1;const i=function VZ(t){try{return t.frameElement}catch{return null}}(function YZ(t){return t.ownerDocument&&t.ownerDocument.defaultView||window}(e));if(i&&(-1===sF(i)||!this.isVisible(i)))return!1;let r=e.nodeName.toLowerCase(),o=sF(e);return e.hasAttribute("contenteditable")?-1!==o:!("iframe"===r||"object"===r||this._platform.WEBKIT&&this._platform.IOS&&!function $Z(t){let n=t.nodeName.toLowerCase(),e="input"===n&&t.type;return"text"===e||"password"===e||"select"===n||"textarea"===n}(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 qZ(t){return!function WZ(t){return function UZ(t){return"input"==t.nodeName.toLowerCase()}(t)&&"hidden"==t.type}(t)&&(function zZ(t){let n=t.nodeName.toLowerCase();return"input"===n||"select"===n||"button"===n||"textarea"===n}(t)||function jZ(t){return function GZ(t){return"a"==t.nodeName.toLowerCase()}(t)&&t.hasAttribute("href")}(t)||t.hasAttribute("contenteditable")||oF(t))}(e)&&!this.isDisabled(e)&&(i?.ignoreVisibility||this.isVisible(e))}}return t.\u0275fac=function(e){return new(e||t)(K(dr))},t.\u0275prov=Te({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function oF(t){if(!t.hasAttribute("tabindex")||void 0===t.tabIndex)return!1;let n=t.getAttribute("tabindex");return!(!n||isNaN(parseInt(n,10)))}function sF(t){if(!oF(t))return null;const n=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(n)?-1:n}class KZ{constructor(n,e,i,r,o=!1){this._element=n,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(n){this._enabled=n,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(n,this._startAnchor),this._toggleAnchorTabIndex(n,this._endAnchor))}destroy(){const n=this._startAnchor,e=this._endAnchor;n&&(n.removeEventListener("focus",this.startAnchorListener),n.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(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement(n)))})}focusFirstTabbableElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement(n)))})}focusLastTabbableElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement(n)))})}_getRegionBoundary(n){const e=this._element.querySelectorAll(`[cdk-focus-region-${n}], [cdkFocusRegion${n}], [cdk-focus-${n}]`);return"start"==n?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(n){const e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(e){if(!this._checker.isFocusable(e)){const i=this._getFirstTabbableElement(e);return i?.focus(n),!!i}return e.focus(n),!0}return this.focusFirstTabbableElement(n)}focusFirstTabbableElement(n){const e=this._getRegionBoundary("start");return e&&e.focus(n),!!e}focusLastTabbableElement(n){const e=this._getRegionBoundary("end");return e&&e.focus(n),!!e}hasAttached(){return this._hasAttached}_getFirstTabbableElement(n){if(this._checker.isFocusable(n)&&this._checker.isTabbable(n))return n;const e=n.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 n=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,n),n.classList.add("cdk-visually-hidden"),n.classList.add("cdk-focus-trap-anchor"),n.setAttribute("aria-hidden","true"),n}_toggleAnchorTabIndex(n,e){n?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(n){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(n,this._startAnchor),this._toggleAnchorTabIndex(n,this._endAnchor))}_executeOnStable(n){this._ngZone.isStable?n():this._ngZone.onStable.pipe(di(1)).subscribe(n)}}let nx=(()=>{class t{constructor(e,i,r){this._checker=e,this._ngZone=i,this._document=r}create(e,i=!1){return new KZ(e,this._checker,this._ngZone,this._document,i)}}return t.\u0275fac=function(e){return new(e||t)(K(eb),K(bt),K(Xt))},t.\u0275prov=Te({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function ix(t){return 0===t.buttons||0===t.offsetX&&0===t.offsetY}function rx(t){const n=t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0];return!(!n||-1!==n.identifier||null!=n.radiusX&&1!==n.radiusX||null!=n.radiusY&&1!==n.radiusY)}const ZZ=new u("cdk-input-modality-detector-options"),QZ={ignoreKeys:[18,17,224,91,16]},_h=Mu({passive:!0,capture:!0});let XZ=(()=>{class t{constructor(e,i,r,o){this._platform=e,this._mostRecentTarget=null,this._modality=new En(null),this._lastTouchMs=0,this._onKeydown=s=>{this._options?.ignoreKeys?.some(a=>a===s.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=Cc(s))},this._onMousedown=s=>{Date.now()-this._lastTouchMs<650||(this._modality.next(ix(s)?"keyboard":"mouse"),this._mostRecentTarget=Cc(s))},this._onTouchstart=s=>{rx(s)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=Cc(s))},this._options={...QZ,...o},this.modalityDetected=this._modality.pipe(XS(1)),this.modalityChanged=this.modalityDetected.pipe(Yp()),e.isBrowser&&i.runOutsideAngular(()=>{r.addEventListener("keydown",this._onKeydown,_h),r.addEventListener("mousedown",this._onMousedown,_h),r.addEventListener("touchstart",this._onTouchstart,_h)})}get mostRecentModality(){return this._modality.value}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,_h),document.removeEventListener("mousedown",this._onMousedown,_h),document.removeEventListener("touchstart",this._onTouchstart,_h))}}return t.\u0275fac=function(e){return new(e||t)(K(dr),K(bt),K(Xt),K(ZZ,8))},t.\u0275prov=Te({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const JZ=new u("liveAnnouncerElement",{providedIn:"root",factory:function eQ(){return null}}),tQ=new u("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let ox=(()=>{class t{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 t{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 pe,this._rootNodeFocusAndBlurListener=a=>{for(let c=Cc(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=Tl(e);if(!this._platform.isBrowser||1!==r.nodeType)return ct(null);const o=function vZ(t){if(function _Z(){if(null==$S){const t=typeof document<"u"?document.head:null;$S=!(!t||!t.createShadowRoot&&!t.attachShadow)}return $S}()){const n=t.getRootNode?t.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&n instanceof ShadowRoot)return n}return null}(r)||this._getDocument(),s=this._elementInfo.get(r);if(s)return i&&(s.checkChildren=!0),s.subject;const a={checkChildren:i,subject:new pe,rootNode:o};return this._elementInfo.set(r,a),this._registerGlobalListeners(a),a.subject}stopMonitoring(e){const i=Tl(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=Tl(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=Cc(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,tb),i.addEventListener("blur",this._rootNodeFocusAndBlurListener,tb)}),this._rootNodeFocusListenerCount.set(i,r+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(rn(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,tb),i.removeEventListener("blur",this._rootNodeFocusAndBlurListener,tb),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 t{constructor(e,i){this._elementRef=e,this._focusMonitor=i,this._focusOrigin=null,this.cdkFocusChange=new $e}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){const e=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(e,1===e.nodeType&&e.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(i=>{this._focusOrigin=i,this.cdkFocusChange.emit(i)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(D(xe),D(Ro))},t.\u0275dir=fe({type:t,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]}),t})();const lF="cdk-high-contrast-black-on-white",cF="cdk-high-contrast-white-on-black",sx="cdk-high-contrast-active";let uF=(()=>{class t{constructor(e,i){this._platform=e,this._document=i,this._breakpointSubscription=ki(Qv).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(sx,lF,cF),this._hasCheckedHighContrastMode=!0;const i=this.getHighContrastMode();1===i?e.add(sx,lF):2===i&&e.add(sx,cF)}}}return t.\u0275fac=function(e){return new(e||t)(K(dr),K(Xt))},t.\u0275prov=Te({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),nb=(()=>{class t{constructor(e){e._applyBodyHighContrastModeCssClasses()}}return t.\u0275fac=function(e){return new(e||t)(K(uF))},t.\u0275mod=Ct({type:t}),t.\u0275inj=yt({imports:[Kp]}),t})();const rQ=new u("cdk-dir-doc",{providedIn:"root",factory:function oQ(){return ki(Xt)}}),sQ=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let io=(()=>{class t{constructor(e){if(this.value="ltr",this.change=new $e,e){const r=e.documentElement?e.documentElement.dir:null;this.value=function aQ(t){const n=t?.toLowerCase()||"";return"auto"===n&&typeof navigator<"u"&&navigator?.language?sQ.test(navigator.language)?"rtl":"ltr":"rtl"===n?"rtl":"ltr"}((e.body?e.body.dir:null)||r||"ltr")}}ngOnDestroy(){this.change.complete()}}return t.\u0275fac=function(e){return new(e||t)(K(rQ,8))},t.\u0275prov=Te({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),vh=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Ct({type:t}),t.\u0275inj=yt({}),t})();const lQ=["*",[["mat-option"],["ng-container"]]],cQ=["*","mat-option, ng-container"];function uQ(t,n){if(1&t&&q(0,"mat-pseudo-checkbox",4),2&t){const e=re();R("state",e.selected?"checked":"unchecked")("disabled",e.disabled)}}function dQ(t,n){if(1&t&&(v(0,"span",5),M(1),b()),2&t){const e=re();I(1),vn("(",e.group.label,")")}}const hQ=["*"];let fQ=(()=>{class t{}return t.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",t.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",t.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",t.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)",t})(),pQ=(()=>{class t{}return t.COMPLEX="375ms",t.ENTERING="225ms",t.EXITING="195ms",t})();const gQ=new u("mat-sanity-checks",{providedIn:"root",factory:function mQ(){return!0}});let zt=(()=>{class t{constructor(e,i,r){this._sanityChecks=i,this._document=r,this._hasDoneGlobalChecks=!1,e._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(e){return!qS()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[e])}}return t.\u0275fac=function(e){return new(e||t)(K(uF),K(gQ,8),K(Xt))},t.\u0275mod=Ct({type:t}),t.\u0275inj=yt({imports:[vh,vh]}),t})();function os(t){return class extends t{constructor(...n){super(...n),this._disabled=!1}get disabled(){return this._disabled}set disabled(n){this._disabled=vt(n)}}}function Ou(t,n){return class extends t{constructor(...e){super(...e),this.defaultColor=n,this.color=n}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 Ts(t){return class extends t{constructor(...n){super(...n),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(n){this._disableRipple=vt(n)}}}function Qp(t,n=0){return class extends t{constructor(...e){super(...e),this._tabIndex=n,this.defaultTabIndex=n}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(e){this._tabIndex=null!=e?Vo(e):this.defaultTabIndex}}}function fF(t){return class extends t{constructor(...n){super(...n),this.errorState=!1}updateErrorState(){const n=this.errorState,o=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);o!==n&&(this.errorState=o,this.stateChanges.next())}}}function pF(t){return class extends t{constructor(...n){super(...n),this._isInitialized=!1,this._pendingSubscribers=[],this.initialized=new bn(e=>{this._isInitialized?this._notifySubscriber(e):this._pendingSubscribers.push(e)})}_markInitialized(){this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}_notifySubscriber(n){n.next(),n.complete()}}}let bh=(()=>{class t{isErrorState(e,i){return!!(e&&e.invalid&&(e.touched||i&&i.submitted))}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Te({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),mF=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=fe({type:t,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]}),t})();function Xp(t,n,e){t.nativeElement.classList.toggle(n,e)}let ib=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Ct({type:t}),t.\u0275inj=yt({imports:[zt,zt]}),t})();class vQ{constructor(n,e,i,r=!1){this._renderer=n,this.element=e,this.config=i,this._animationForciblyDisabledThroughCss=r,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const _F={enterDuration:225,exitDuration:150},ax=Mu({passive:!0}),vF=["mousedown","touchstart"],bF=["mouseup","mouseleave","touchend","touchcancel"];class yQ{constructor(n,e,i,r){this._target=n,this._ngZone=e,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,r.isBrowser&&(this._containerElement=Tl(i))}fadeInRipple(n,e,i={}){const r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o={..._F,...i.animation};i.centered&&(n=r.left+r.width/2,e=r.top+r.height/2);const s=i.radius||function wQ(t,n,e){const i=Math.max(Math.abs(t-e.left),Math.abs(t-e.right)),r=Math.max(Math.abs(n-e.top),Math.abs(n-e.bottom));return Math.sqrt(i*i+r*r)}(n,e,r),a=n-r.left,l=e-r.top,c=o.enterDuration,p=document.createElement("div");p.classList.add("mat-ripple-element"),p.style.left=a-s+"px",p.style.top=l-s+"px",p.style.height=2*s+"px",p.style.width=2*s+"px",null!=i.color&&(p.style.backgroundColor=i.color),p.style.transitionDuration=`${c}ms`,this._containerElement.appendChild(p);const m=window.getComputedStyle(p),C=m.transitionDuration,k="none"===m.transitionProperty||"0s"===C||"0s, 0s"===C,A=new vQ(this,p,i,k);p.style.transform="scale3d(1, 1, 1)",A.state=0,i.persistent||(this._mostRecentTransientRipple=A);let P=null;return!k&&(c||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const N=()=>this._finishRippleTransition(A),G=()=>this._destroyRipple(A);p.addEventListener("transitionend",N),p.addEventListener("transitioncancel",G),P={onTransitionEnd:N,onTransitionCancel:G}}),this._activeRipples.set(A,P),(k||!c)&&this._finishRippleTransition(A),A}fadeOutRipple(n){if(2===n.state||3===n.state)return;const e=n.element,i={..._F,...n.config.animation};e.style.transitionDuration=`${i.exitDuration}ms`,e.style.opacity="0",n.state=2,(n._animationForciblyDisabledThroughCss||!i.exitDuration)&&this._finishRippleTransition(n)}fadeOutAll(){this._getActiveRipples().forEach(n=>n.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(n=>{n.config.persistent||n.fadeOut()})}setupTriggerEvents(n){const e=Tl(n);!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,this._registerEvents(vF))}handleEvent(n){"mousedown"===n.type?this._onMousedown(n):"touchstart"===n.type?this._onTouchStart(n):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(bF),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(n){0===n.state?this._startFadeOutTransition(n):2===n.state&&this._destroyRipple(n)}_startFadeOutTransition(n){const e=n===this._mostRecentTransientRipple,{persistent:i}=n.config;n.state=1,!i&&(!e||!this._isPointerDown)&&n.fadeOut()}_destroyRipple(n){const e=this._activeRipples.get(n)??null;this._activeRipples.delete(n),this._activeRipples.size||(this._containerRect=null),n===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),n.state=3,null!==e&&(n.element.removeEventListener("transitionend",e.onTransitionEnd),n.element.removeEventListener("transitioncancel",e.onTransitionCancel)),n.element.remove()}_onMousedown(n){const e=ix(n),i=this._lastTouchStartEvent&&Date.now(){!n.config.persistent&&(1===n.state||n.config.terminateOnPointerUp&&0===n.state)&&n.fadeOut()}))}_registerEvents(n){this._ngZone.runOutsideAngular(()=>{n.forEach(e=>{this._triggerElement.addEventListener(e,this,ax)})})}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){this._triggerElement&&(vF.forEach(n=>{this._triggerElement.removeEventListener(n,this,ax)}),this._pointerUpEventsRegistered&&bF.forEach(n=>{this._triggerElement.removeEventListener(n,this,ax)}))}}const CQ=new u("mat-ripple-global-options");let ss=(()=>{class t{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 yQ(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 t.\u0275fac=function(e){return new(e||t)(D(xe),D(bt),D(dr),D(CQ,8),D(nr,8))},t.\u0275dir=fe({type:t,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(e,i){2&e&&Rt("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"]}),t})(),El=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Ct({type:t}),t.\u0275inj=yt({imports:[zt,zt]}),t})(),yF=(()=>{class t{constructor(e){this._animationMode=e,this.state="unchecked",this.disabled=!1}}return t.\u0275fac=function(e){return new(e||t)(D(nr,8))},t.\u0275cmp=Pe({type:t,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(e,i){2&e&&Rt("mat-pseudo-checkbox-indeterminate","indeterminate"===i.state)("mat-pseudo-checkbox-checked","checked"===i.state)("mat-pseudo-checkbox-disabled",i.disabled)("_mat-animation-noopable","NoopAnimations"===i._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(e,i){},styles:['.mat-pseudo-checkbox{width:16px;height:16px;border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}'],encapsulation:2,changeDetection:0}),t})(),lx=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Ct({type:t}),t.\u0275inj=yt({imports:[zt]}),t})();const rb=new u("MAT_OPTION_PARENT_COMPONENT"),SQ=os(class{});let xQ=0,kQ=(()=>{class t extends SQ{constructor(e){super(),this._labelId="mat-optgroup-label-"+xQ++,this._inert=e?.inertGroups??!1}}return t.\u0275fac=function(e){return new(e||t)(D(rb,8))},t.\u0275dir=fe({type:t,inputs:{label:"label"},features:[we]}),t})();const ob=new u("MatOptgroup");let cx=(()=>{class t extends kQ{}return t.\u0275fac=function(){let n;return function(i){return(n||(n=Ht(t)))(i||t)}}(),t.\u0275cmp=Pe({type:t,selectors:[["mat-optgroup"]],hostAttrs:[1,"mat-optgroup"],hostVars:5,hostBindings:function(e,i){2&e&&(Je("role",i._inert?null:"group")("aria-disabled",i._inert?null:i.disabled.toString())("aria-labelledby",i._inert?null:i._labelId),Rt("mat-optgroup-disabled",i.disabled))},inputs:{disabled:"disabled"},exportAs:["matOptgroup"],features:[_t([{provide:ob,useExisting:t}]),we],ngContentSelectors:cQ,decls:4,vars:2,consts:[["aria-hidden","true",1,"mat-optgroup-label",3,"id"]],template:function(e,i){1&e&&(Di(lQ),v(0,"span",0),M(1),nn(2),b(),nn(3,1)),2&e&&(R("id",i._labelId),I(1),vn("",i.label," "))},styles:[".mat-optgroup-label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;-webkit-user-select:none;user-select:none;cursor:default}.mat-optgroup-label[disabled]{cursor:default}[dir=rtl] .mat-optgroup-label{text-align:right}.mat-optgroup-label .mat-icon{margin-right:16px;vertical-align:middle}.mat-optgroup-label .mat-icon svg{vertical-align:top}[dir=rtl] .mat-optgroup-label .mat-icon{margin-left:16px;margin-right:0}"],encapsulation:2,changeDetection:0}),t})(),DQ=0;class wF{constructor(n,e=!1){this.source=n,this.isUserInput=e}}let MQ=(()=>{class t{constructor(e,i,r,o){this._element=e,this._changeDetectorRef=i,this._parent=r,this.group=o,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+DQ++,this.onSelectionChange=new $e,this._stateChanges=new pe}get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(e){this._disabled=vt(e)}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get active(){return this._active}get viewValue(){return(this._getHostElement().textContent||"").trim()}select(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}deselect(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}focus(e,i){const r=this._getHostElement();"function"==typeof r.focus&&r.focus(i)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(e){(13===e.keyCode||32===e.keyCode)&&!no(e)&&(this._selectViaInteraction(),e.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getAriaSelected(){return this.selected||!this.multiple&&null}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const e=this.viewValue;e!==this._mostRecentViewValue&&(this._mostRecentViewValue=e,this._stateChanges.next())}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(e=!1){this.onSelectionChange.emit(new wF(this,e))}}return t.\u0275fac=function(e){_a()},t.\u0275dir=fe({type:t,inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}}),t})(),Es=(()=>{class t extends MQ{constructor(e,i,r,o){super(e,i,r,o)}}return t.\u0275fac=function(e){return new(e||t)(D(xe),D(wn),D(rb,8),D(ob,8))},t.\u0275cmp=Pe({type:t,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(e,i){1&e&&ne("click",function(){return i._selectViaInteraction()})("keydown",function(o){return i._handleKeydown(o)}),2&e&&(ys("id",i.id),Je("tabindex",i._getTabIndex())("aria-selected",i._getAriaSelected())("aria-disabled",i.disabled.toString()),Rt("mat-selected",i.selected)("mat-option-multiple",i.multiple)("mat-active",i.active)("mat-option-disabled",i.disabled))},exportAs:["matOption"],features:[we],ngContentSelectors:hQ,decls:5,vars:4,consts:[["class","mat-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mat-option-text"],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-option-pseudo-checkbox",3,"state","disabled"],[1,"cdk-visually-hidden"]],template:function(e,i){1&e&&(Di(),$(0,uQ,1,2,"mat-pseudo-checkbox",0),v(1,"span",1),nn(2),b(),$(3,dQ,2,1,"span",2),q(4,"div",3)),2&e&&(R("ngIf",i.multiple),I(3),R("ngIf",i.group&&i.group._inert),I(1),R("matRippleTrigger",i._getHostElement())("matRippleDisabled",i.disabled||i.disableRipple))},dependencies:[ss,ui,yF],styles:['.mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}.mat-option.mat-active::before{content:""}.cdk-high-contrast-active .mat-option[aria-disabled=true]{opacity:.5}.cdk-high-contrast-active .mat-option.mat-selected:not(.mat-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-option.mat-selected:not(.mat-option-multiple)::after{right:auto;left:16px}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}'],encapsulation:2,changeDetection:0}),t})();function ux(t,n,e){if(e.length){let i=n.toArray(),r=e.toArray(),o=0;for(let s=0;se+i?Math.max(0,t-i+n):e}let sb=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Ct({type:t}),t.\u0275inj=yt({imports:[El,Ao,zt,lx]}),t})(),TQ=0;const EQ=os(class{}),SF="mat-badge-content";let xF=(()=>{class t extends EQ{constructor(e,i,r,o,s){super(),this._ngZone=e,this._elementRef=i,this._ariaDescriber=r,this._renderer=o,this._animationMode=s,this._color="primary",this._overlap=!0,this.position="above after",this.size="medium",this._id=TQ++,this._isInitialized=!1}get color(){return this._color}set color(e){this._setColor(e),this._color=e}get overlap(){return this._overlap}set overlap(e){this._overlap=vt(e)}get content(){return this._content}set content(e){this._updateRenderedContent(e)}get description(){return this._description}set description(e){this._updateHostAriaDescription(e)}get hidden(){return this._hidden}set hidden(e){this._hidden=vt(e)}isAbove(){return-1===this.position.indexOf("below")}isAfter(){return-1===this.position.indexOf("before")}getBadgeElement(){return this._badgeElement}ngOnInit(){this._clearExistingBadges(),this.content&&!this._badgeElement&&(this._badgeElement=this._createBadgeElement(),this._updateRenderedContent(this.content)),this._isInitialized=!0}ngOnDestroy(){this._renderer.destroyNode&&this._renderer.destroyNode(this._badgeElement),this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this.description)}_createBadgeElement(){const e=this._renderer.createElement("span"),i="mat-badge-active";return e.setAttribute("id",`mat-badge-content-${this._id}`),e.setAttribute("aria-hidden","true"),e.classList.add(SF),"NoopAnimations"===this._animationMode&&e.classList.add("_mat-animation-noopable"),this._elementRef.nativeElement.appendChild(e),"function"==typeof requestAnimationFrame&&"NoopAnimations"!==this._animationMode?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{e.classList.add(i)})}):e.classList.add(i),e}_updateRenderedContent(e){const i=`${e??""}`.trim();this._isInitialized&&i&&!this._badgeElement&&(this._badgeElement=this._createBadgeElement()),this._badgeElement&&(this._badgeElement.textContent=i),this._content=i}_updateHostAriaDescription(e){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this.description),e&&this._ariaDescriber.describe(this._elementRef.nativeElement,e),this._description=e}_setColor(e){const i=this._elementRef.nativeElement.classList;i.remove(`mat-badge-${this._color}`),e&&i.add(`mat-badge-${e}`)}_clearExistingBadges(){const e=this._elementRef.nativeElement.querySelectorAll(`:scope > .${SF}`);for(const i of Array.from(e))i!==this._badgeElement&&i.remove()}}return t.\u0275fac=function(e){return new(e||t)(D(bt),D(xe),D(ex),D(vs),D(nr,8))},t.\u0275dir=fe({type:t,selectors:[["","matBadge",""]],hostAttrs:[1,"mat-badge"],hostVars:20,hostBindings:function(e,i){2&e&&Rt("mat-badge-overlap",i.overlap)("mat-badge-above",i.isAbove())("mat-badge-below",!i.isAbove())("mat-badge-before",!i.isAfter())("mat-badge-after",i.isAfter())("mat-badge-small","small"===i.size)("mat-badge-medium","medium"===i.size)("mat-badge-large","large"===i.size)("mat-badge-hidden",i.hidden||!i.content)("mat-badge-disabled",i.disabled)},inputs:{disabled:["matBadgeDisabled","disabled"],color:["matBadgeColor","color"],overlap:["matBadgeOverlap","overlap"],position:["matBadgePosition","position"],content:["matBadge","content"],description:["matBadgeDescription","description"],size:["matBadgeSize","size"],hidden:["matBadgeHidden","hidden"]},features:[we]}),t})(),AQ=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Ct({type:t}),t.\u0275inj=yt({imports:[nb,zt,zt]}),t})();const OQ=["mat-button",""],IQ=["*"],RQ=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],FQ=Ou(os(Ts(class{constructor(t){this._elementRef=t}})));let Ji=(()=>{class t extends FQ{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 RQ)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 t.\u0275fac=function(e){return new(e||t)(D(xe),D(Ro),D(nr,8))},t.\u0275cmp=Pe({type:t,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&&Oe(ss,5),2&e){let r;ue(r=de())&&(i.ripple=r.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(e,i){2&e&&(Je("disabled",i.disabled||null),Rt("_mat-animation-noopable","NoopAnimations"===i._animationMode)("mat-button-disabled",i.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[we],attrs:OQ,ngContentSelectors:IQ,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&&(Di(),v(0,"span",0),nn(1),b(),q(2,"span",1)(3,"span",2)),2&e&&(I(2),Rt("mat-button-ripple-round",i.isRoundButton||i.isIconButton),R("matRippleDisabled",i._isRippleDisabled())("matRippleCentered",i.isIconButton)("matRippleTrigger",i._getHostElement()))},dependencies:[ss],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}),t})(),ab=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Ct({type:t}),t.\u0275inj=yt({imports:[El,zt,zt]}),t})();const NQ=["*",[["mat-card-footer"]]],LQ=["*","mat-card-footer"];let BQ=(()=>{class t{constructor(e){this._animationMode=e}}return t.\u0275fac=function(e){return new(e||t)(D(nr,8))},t.\u0275cmp=Pe({type:t,selectors:[["mat-card"]],hostAttrs:[1,"mat-card","mat-focus-indicator"],hostVars:2,hostBindings:function(e,i){2&e&&Rt("_mat-animation-noopable","NoopAnimations"===i._animationMode)},exportAs:["matCard"],ngContentSelectors:LQ,decls:2,vars:0,template:function(e,i){1&e&&(Di(NQ),nn(0),nn(1,1))},styles:[".mat-card{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:block;position:relative;padding:16px;border-radius:4px}.mat-card._mat-animation-noopable{transition:none !important;animation:none !important}.mat-card>.mat-divider-horizontal{position:absolute;left:0;width:100%}[dir=rtl] .mat-card>.mat-divider-horizontal{left:auto;right:0}.mat-card>.mat-divider-horizontal.mat-divider-inset{position:static;margin:0}[dir=rtl] .mat-card>.mat-divider-horizontal.mat-divider-inset{margin-right:0}.cdk-high-contrast-active .mat-card{outline:solid 1px}.mat-card-actions,.mat-card-subtitle,.mat-card-content{display:block;margin-bottom:16px}.mat-card-title{display:block;margin-bottom:8px}.mat-card-actions{margin-left:-8px;margin-right:-8px;padding:8px 0}.mat-card-actions-align-end{display:flex;justify-content:flex-end}.mat-card-image{width:calc(100% + 32px);margin:0 -16px 16px -16px;display:block;overflow:hidden}.mat-card-image img{width:100%}.mat-card-footer{display:block;margin:0 -16px -16px -16px}.mat-card-actions .mat-button,.mat-card-actions .mat-raised-button,.mat-card-actions .mat-stroked-button{margin:0 8px}.mat-card-header{display:flex;flex-direction:row}.mat-card-header .mat-card-title{margin-bottom:12px}.mat-card-header-text{margin:0 16px}.mat-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;object-fit:cover}.mat-card-title-group{display:flex;justify-content:space-between}.mat-card-sm-image{width:80px;height:80px}.mat-card-md-image{width:112px;height:112px}.mat-card-lg-image{width:152px;height:152px}.mat-card-xl-image{width:240px;height:240px;margin:-8px}.mat-card-title-group>.mat-card-xl-image{margin:-8px 0 8px}@media(max-width: 599px){.mat-card-title-group{margin:0}.mat-card-xl-image{margin-left:0;margin-right:0}}.mat-card>:first-child,.mat-card-content>:first-child{margin-top:0}.mat-card>:last-child:not(.mat-card-footer),.mat-card-content>:last-child:not(.mat-card-footer){margin-bottom:0}.mat-card-image:first-child{margin-top:-16px;border-top-left-radius:inherit;border-top-right-radius:inherit}.mat-card>.mat-card-actions:last-child{margin-bottom:-8px;padding-bottom:0}.mat-card-actions:not(.mat-card-actions-align-end) .mat-button:first-child,.mat-card-actions:not(.mat-card-actions-align-end) .mat-raised-button:first-child,.mat-card-actions:not(.mat-card-actions-align-end) .mat-stroked-button:first-child{margin-left:0;margin-right:0}.mat-card-actions-align-end .mat-button:last-child,.mat-card-actions-align-end .mat-raised-button:last-child,.mat-card-actions-align-end .mat-stroked-button:last-child{margin-left:0;margin-right:0}.mat-card-title:not(:first-child),.mat-card-subtitle:not(:first-child){margin-top:-4px}.mat-card-header .mat-card-subtitle:not(:first-child){margin-top:-8px}.mat-card>.mat-card-xl-image:first-child{margin-top:-8px}.mat-card>.mat-card-xl-image:last-child{margin-bottom:-8px}"],encapsulation:2,changeDetection:0}),t})(),VQ=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Ct({type:t}),t.\u0275inj=yt({imports:[zt,zt]}),t})();const HQ=["input"],zQ=["label"],WQ=function(t){return{enterDuration:t}},jQ=["*"],UQ=new u("mat-checkbox-default-options",{providedIn:"root",factory:kF});function kF(){return{color:"accent",clickAction:"check-indeterminate"}}let GQ=0;const DF=kF(),$Q={provide:Oo,useExisting:xn(()=>yh),multi:!0};class qQ{}const YQ=Qp(Ou(Ts(os(class{constructor(t){this._elementRef=t}}))));let KQ=(()=>{class t extends YQ{constructor(e,i,r,o,s,a,l){super(i),this._changeDetectorRef=r,this._ngZone=o,this._animationMode=a,this._options=l,this.ariaLabel="",this.ariaLabelledby=null,this.labelPosition="after",this.name=null,this.change=new $e,this.indeterminateChange=new $e,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=0,this._controlValueAccessorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||DF,this.color=this.defaultColor=this._options.color||DF.color,this.tabIndex=parseInt(s)||0,this.id=this._uniqueId=`${e}${++GQ}`}get inputId(){return`${this.id||this._uniqueId}-input`}get required(){return this._required}set required(e){this._required=vt(e)}ngAfterViewInit(){this._syncIndeterminate(this._indeterminate)}get checked(){return this._checked}set checked(e){const i=vt(e);i!=this.checked&&(this._checked=i,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(e){const i=vt(e);i!==this.disabled&&(this._disabled=i,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(e){const i=e!=this._indeterminate;this._indeterminate=vt(e),i&&(this._transitionCheckState(this._indeterminate?3:this.checked?1:2),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(e){this.checked=!!e}registerOnChange(e){this._controlValueAccessorChangeFn=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}_getAriaChecked(){return this.checked?"true":this.indeterminate?"mixed":"false"}_transitionCheckState(e){let i=this._currentCheckState,r=this._getAnimationTargetElement();if(i!==e&&r&&(this._currentAnimationClass&&r.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(i,e),this._currentCheckState=e,this._currentAnimationClass.length>0)){r.classList.add(this._currentAnimationClass);const o=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{r.classList.remove(o)},1e3)})}}_emitChangeEvent(){this._controlValueAccessorChangeFn(this.checked),this.change.emit(this._createChangeEvent(this.checked)),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked,this._controlValueAccessorChangeFn(this.checked)}_handleInputClick(){const e=this._options?.clickAction;this.disabled||"noop"===e?!this.disabled&&"noop"===e&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==e&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this._checked=!this._checked,this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}_onInteractionEvent(e){e.stopPropagation()}_onBlur(){Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}_getAnimationClassForCheckStateTransition(e,i){if("NoopAnimations"===this._animationMode)return"";switch(e){case 0:if(1===i)return this._animationClasses.uncheckedToChecked;if(3==i)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case 2:return 1===i?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case 1:return 2===i?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case 3:return 1===i?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""}_syncIndeterminate(e){const i=this._inputElement;i&&(i.nativeElement.indeterminate=e)}}return t.\u0275fac=function(e){_a()},t.\u0275dir=fe({type:t,viewQuery:function(e,i){if(1&e&&(Oe(HQ,5),Oe(zQ,5),Oe(ss,5)),2&e){let r;ue(r=de())&&(i._inputElement=r.first),ue(r=de())&&(i._labelElement=r.first),ue(r=de())&&(i.ripple=r.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],id:"id",required:"required",labelPosition:"labelPosition",name:"name",value:"value",checked:"checked",disabled:"disabled",indeterminate:"indeterminate"},outputs:{change:"change",indeterminateChange:"indeterminateChange"},features:[we]}),t})(),yh=(()=>{class t extends KQ{constructor(e,i,r,o,s,a,l){super("mat-checkbox-",e,i,o,s,a,l),this._focusMonitor=r,this._animationClasses={uncheckedToChecked:"mat-checkbox-anim-unchecked-checked",uncheckedToIndeterminate:"mat-checkbox-anim-unchecked-indeterminate",checkedToUnchecked:"mat-checkbox-anim-checked-unchecked",checkedToIndeterminate:"mat-checkbox-anim-checked-indeterminate",indeterminateToChecked:"mat-checkbox-anim-indeterminate-checked",indeterminateToUnchecked:"mat-checkbox-anim-indeterminate-unchecked"}}_createChangeEvent(e){const i=new qQ;return i.source=this,i.checked=e,i}_getAnimationTargetElement(){return this._elementRef.nativeElement}ngAfterViewInit(){super.ngAfterViewInit(),this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{e||this._onBlur()})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}_onInputClick(e){e.stopPropagation(),super._handleInputClick()}focus(e,i){e?this._focusMonitor.focusVia(this._inputElement,e,i):this._inputElement.nativeElement.focus(i)}}return t.\u0275fac=function(e){return new(e||t)(D(xe),D(wn),D(Ro),D(bt),ho("tabindex"),D(nr,8),D(UQ,8))},t.\u0275cmp=Pe({type:t,selectors:[["mat-checkbox"]],hostAttrs:[1,"mat-checkbox"],hostVars:14,hostBindings:function(e,i){2&e&&(ys("id",i.id),Je("tabindex",null)("aria-label",null)("aria-labelledby",null),Rt("mat-checkbox-indeterminate",i.indeterminate)("mat-checkbox-checked",i.checked)("mat-checkbox-disabled",i.disabled)("mat-checkbox-label-before","before"==i.labelPosition)("_mat-animation-noopable","NoopAnimations"===i._animationMode))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matCheckbox"],features:[_t([$Q]),we],ngContentSelectors:jQ,decls:17,vars:21,consts:[[1,"mat-checkbox-layout"],["label",""],[1,"mat-checkbox-inner-container"],["type","checkbox",1,"mat-checkbox-input","cdk-visually-hidden",3,"id","required","checked","disabled","tabIndex","change","click"],["input",""],["matRipple","",1,"mat-checkbox-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleRadius","matRippleCentered","matRippleAnimation"],[1,"mat-ripple-element","mat-checkbox-persistent-ripple"],[1,"mat-checkbox-frame"],[1,"mat-checkbox-background"],["version","1.1","focusable","false","viewBox","0 0 24 24","aria-hidden","true",1,"mat-checkbox-checkmark"],["fill","none","stroke","white","d","M4.1,12.7 9,17.6 20.3,6.3",1,"mat-checkbox-checkmark-path"],[1,"mat-checkbox-mixedmark"],[1,"mat-checkbox-label",3,"cdkObserveContent"],["checkboxLabel",""],[2,"display","none"]],template:function(e,i){if(1&e&&(Di(),v(0,"label",0,1)(2,"span",2)(3,"input",3,4),ne("change",function(o){return i._onInteractionEvent(o)})("click",function(o){return i._onInputClick(o)}),b(),v(5,"span",5),q(6,"span",6),b(),q(7,"span",7),v(8,"span",8),vr(),v(9,"svg",9),q(10,"path",10),b(),Yo(),q(11,"span",11),b()(),v(12,"span",12,13),ne("cdkObserveContent",function(){return i._onLabelTextChange()}),v(14,"span",14),M(15,"\xa0"),b(),nn(16),b()()),2&e){const r=yi(1),o=yi(13);Je("for",i.inputId),I(2),Rt("mat-checkbox-inner-container-no-side-margin",!o.textContent||!o.textContent.trim()),I(1),R("id",i.inputId)("required",i.required)("checked",i.checked)("disabled",i.disabled)("tabIndex",i.tabIndex),Je("value",i.value)("name",i.name)("aria-label",i.ariaLabel||null)("aria-labelledby",i.ariaLabelledby)("aria-checked",i._getAriaChecked())("aria-describedby",i.ariaDescribedby),I(2),R("matRippleTrigger",r)("matRippleDisabled",i._isRippleDisabled())("matRippleRadius",20)("matRippleCentered",!0)("matRippleAnimation",hu(19,WQ,"NoopAnimations"===i._animationMode?0:150))}},dependencies:[ss,Zv],styles:['@keyframes mat-checkbox-fade-in-background{0%{opacity:0}50%{opacity:1}}@keyframes mat-checkbox-fade-out-background{0%,50%{opacity:1}100%{opacity:0}}@keyframes mat-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:22.910259}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1)}100%{stroke-dashoffset:0}}@keyframes mat-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mat-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);stroke-dashoffset:0}to{stroke-dashoffset:-22.910259}}@keyframes mat-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(45deg)}}@keyframes mat-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:0;transform:rotate(45deg)}to{opacity:1;transform:rotate(360deg)}}@keyframes mat-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:0;transform:rotate(-45deg)}to{opacity:1;transform:rotate(0deg)}}@keyframes mat-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(315deg)}}@keyframes mat-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;opacity:1;transform:scaleX(1)}32.8%,100%{opacity:0;transform:scaleX(0)}}.mat-checkbox-background,.mat-checkbox-frame{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:2px;box-sizing:border-box;pointer-events:none}.mat-checkbox{display:inline-block;transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);position:relative}.mat-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-checkbox .mat-ripple-element:not(.mat-checkbox-persistent-ripple){opacity:.16}.mat-checkbox .mat-checkbox-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-checkbox-layout{-webkit-user-select:none;user-select:none;cursor:inherit;align-items:baseline;vertical-align:middle;display:inline-flex;white-space:nowrap}.mat-checkbox-label{-webkit-user-select:auto;user-select:auto}.mat-checkbox-inner-container{display:inline-block;height:16px;line-height:0;margin:auto;margin-right:8px;order:0;position:relative;vertical-align:middle;white-space:nowrap;width:16px;flex-shrink:0}[dir=rtl] .mat-checkbox-inner-container{margin-left:8px;margin-right:auto}.mat-checkbox-inner-container-no-side-margin{margin-left:0;margin-right:0}.mat-checkbox-frame{background-color:rgba(0,0,0,0);transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1);border-width:2px;border-style:solid}._mat-animation-noopable .mat-checkbox-frame{transition:none}.mat-checkbox-background{align-items:center;display:inline-flex;justify-content:center;transition:background-color 90ms cubic-bezier(0, 0, 0.2, 0.1),opacity 90ms cubic-bezier(0, 0, 0.2, 0.1);-webkit-print-color-adjust:exact;color-adjust:exact}._mat-animation-noopable .mat-checkbox-background{transition:none}.cdk-high-contrast-active .mat-checkbox .mat-checkbox-background{background:none}.mat-checkbox-persistent-ripple{display:block;width:100%;height:100%;transform:none}.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:.04}.mat-checkbox.cdk-keyboard-focused .mat-checkbox-persistent-ripple{opacity:.12}.mat-checkbox-persistent-ripple,.mat-checkbox.mat-checkbox-disabled .mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:0}@media(hover: none){.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{display:none}}.mat-checkbox-checkmark{top:0;left:0;right:0;bottom:0;position:absolute;width:100%}.mat-checkbox-checkmark-path{stroke-dashoffset:22.910259;stroke-dasharray:22.910259;stroke-width:2.1333333333px}.cdk-high-contrast-black-on-white .mat-checkbox-checkmark-path{stroke:#000 !important}.mat-checkbox-mixedmark{width:calc(100% - 6px);height:2px;opacity:0;transform:scaleX(0) rotate(0deg);border-radius:2px}.cdk-high-contrast-active .mat-checkbox-mixedmark{height:0;border-top:solid 2px;margin-top:2px}.mat-checkbox-label-before .mat-checkbox-inner-container{order:1;margin-left:8px;margin-right:auto}[dir=rtl] .mat-checkbox-label-before .mat-checkbox-inner-container{margin-left:auto;margin-right:8px}.mat-checkbox-checked .mat-checkbox-checkmark{opacity:1}.mat-checkbox-checked .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-checked .mat-checkbox-mixedmark{transform:scaleX(1) rotate(-45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark{opacity:0;transform:rotate(45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-indeterminate .mat-checkbox-mixedmark{opacity:1;transform:scaleX(1) rotate(0deg)}.mat-checkbox-unchecked .mat-checkbox-background{background-color:rgba(0,0,0,0)}.mat-checkbox-disabled{cursor:default}.cdk-high-contrast-active .mat-checkbox-disabled{opacity:.5}.mat-checkbox-anim-unchecked-checked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-checked .mat-checkbox-checkmark-path{animation:180ms linear 0ms mat-checkbox-unchecked-checked-checkmark-path}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-unchecked-indeterminate-mixedmark}.mat-checkbox-anim-checked-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-checked-unchecked .mat-checkbox-checkmark-path{animation:90ms linear 0ms mat-checkbox-checked-unchecked-checkmark-path}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-checkmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-checkmark}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-mixedmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-checkmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-checkmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-mixedmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-mixedmark}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-mixedmark{animation:300ms linear 0ms mat-checkbox-indeterminate-unchecked-mixedmark}.mat-checkbox-input{bottom:0;left:50%}.mat-checkbox-input:focus~.mat-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0}),t})(),MF=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Ct({type:t}),t.\u0275inj=yt({}),t})(),XQ=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Ct({type:t}),t.\u0275inj=yt({imports:[El,zt,Kp,MF,zt,MF]}),t})();const JQ=["addListener","removeListener"],eX=["addEventListener","removeEventListener"],tX=["on","off"];function Ia(t,n,e,i){if(Pt(e)&&(i=e,e=void 0),i)return Ia(t,n,e).pipe(mC(i));const[r,o]=function rX(t){return Pt(t.addEventListener)&&Pt(t.removeEventListener)}(t)?eX.map(s=>a=>t[s](n,a,e)):function nX(t){return Pt(t.addListener)&&Pt(t.removeListener)}(t)?JQ.map(TF(t,n)):function iX(t){return Pt(t.on)&&Pt(t.off)}(t)?tX.map(TF(t,n)):[];if(!r&&L(t))return mt(s=>Ia(s,n,e))(z(t));if(!r)throw new TypeError("Invalid event target");return new bn(s=>{const a=(...l)=>s.next(1o(a)})}function TF(t,n){return e=>i=>t[e](n,i)}const Jp={schedule(t){let n=requestAnimationFrame,e=cancelAnimationFrame;const{delegate:i}=Jp;i&&(n=i.requestAnimationFrame,e=i.cancelAnimationFrame);const r=n(o=>{e=void 0,t(o)});return new Z(()=>e?.(r))},requestAnimationFrame(...t){const{delegate:n}=Jp;return(n?.requestAnimationFrame||requestAnimationFrame)(...t)},cancelAnimationFrame(...t){const{delegate:n}=Jp;return(n?.cancelAnimationFrame||cancelAnimationFrame)(...t)},delegate:void 0};new class sX extends QS{flush(n){this._active=!0;const e=this._scheduled;this._scheduled=void 0;const{actions:i}=this;let r;n=n||i.shift();do{if(r=n.execute(n.state,n.delay))break}while((n=i[0])&&n.id===e&&i.shift());if(this._active=!1,r){for(;(n=i[0])&&n.id===e&&i.shift();)n.unsubscribe();throw r}}}(class oX extends KS{constructor(n,e){super(n,e),this.scheduler=n,this.work=e}requestAsyncId(n,e,i=0){return null!==i&&i>0?super.requestAsyncId(n,e,i):(n.actions.push(this),n._scheduled||(n._scheduled=Jp.requestAnimationFrame(()=>n.flush(void 0))))}recycleAsyncId(n,e,i=0){var r;if(null!=i?i>0:this.delay>0)return super.recycleAsyncId(n,e,i);const{actions:o}=n;null!=e&&(null===(r=o[o.length-1])||void 0===r?void 0:r.id)!==e&&(Jp.cancelAnimationFrame(e),n._scheduled=void 0)}});let dx,lX=1;const lb={};function EF(t){return t in lb&&(delete lb[t],!0)}const cX={setImmediate(t){const n=lX++;return lb[n]=!0,dx||(dx=Promise.resolve()),dx.then(()=>EF(n)&&t()),n},clearImmediate(t){EF(t)}},{setImmediate:uX,clearImmediate:dX}=cX,cb={setImmediate(...t){const{delegate:n}=cb;return(n?.setImmediate||uX)(...t)},clearImmediate(t){const{delegate:n}=cb;return(n?.clearImmediate||dX)(t)},delegate:void 0},hx=new class fX extends QS{flush(n){this._active=!0;const e=this._scheduled;this._scheduled=void 0;const{actions:i}=this;let r;n=n||i.shift();do{if(r=n.execute(n.state,n.delay))break}while((n=i[0])&&n.id===e&&i.shift());if(this._active=!1,r){for(;(n=i[0])&&n.id===e&&i.shift();)n.unsubscribe();throw r}}}(class hX extends KS{constructor(n,e){super(n,e),this.scheduler=n,this.work=e}requestAsyncId(n,e,i=0){return null!==i&&i>0?super.requestAsyncId(n,e,i):(n.actions.push(this),n._scheduled||(n._scheduled=cb.setImmediate(n.flush.bind(n,void 0))))}recycleAsyncId(n,e,i=0){var r;if(null!=i?i>0:this.delay>0)return super.recycleAsyncId(n,e,i);const{actions:o}=n;null!=e&&(null===(r=o[o.length-1])||void 0===r?void 0:r.id)!==e&&(cb.clearImmediate(e),n._scheduled===e&&(n._scheduled=void 0))}});function em(t=0,n,e=AZ){let i=-1;return null!=n&&(fn(n)?e=n:i=n),new bn(r=>{let o=function mX(t){return t instanceof Date&&!isNaN(t)}(t)?+t-e.now():t;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 AF(t,n=mh){return function pX(t){return Ye((n,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()};n.subscribe(Ot(e,c=>{i=!0,r=c,o||z(t(c)).subscribe(o=Ot(e,a,l))},()=>{s=!0,(!i||!o||o.closed)&&e.complete()}))})}(()=>em(t,n))}let OF=(()=>{class t{constructor(e,i,r){this._ngZone=e,this._platform=i,this._scrolled=new pe,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 bn(i=>{this._globalSubscription||this._addGlobalListener();const r=e>0?this._scrolled.pipe(AF(e)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{r.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):ct()}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(hi(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=Tl(i),o=e.getElementRef().nativeElement;do{if(r==o)return!0}while(r=r.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>Ia(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return t.\u0275fac=function(e){return new(e||t)(K(bt),K(dr),K(Xt,8))},t.\u0275prov=Te({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Sc=(()=>{class t{constructor(e,i,r){this._platform=e,this._change=new pe,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(AF(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 t.\u0275fac=function(e){return new(e||t)(K(dr),K(bt),K(Xt,8))},t.\u0275prov=Te({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),wh=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Ct({type:t}),t.\u0275inj=yt({}),t})(),fx=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Ct({type:t}),t.\u0275inj=yt({imports:[vh,wh,vh,wh]}),t})();class px{attach(n){return this._attachedHost=n,n.attach(this)}detach(){let n=this._attachedHost;null!=n&&(this._attachedHost=null,n.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(n){this._attachedHost=n}}class Ch extends px{constructor(n,e,i,r){super(),this.component=n,this.viewContainerRef=e,this.injector=i,this.componentFactoryResolver=r}}class Pa extends px{constructor(n,e,i,r){super(),this.templateRef=n,this.viewContainerRef=e,this.context=i,this.injector=r}get origin(){return this.templateRef.elementRef}attach(n,e=this.context){return this.context=e,super.attach(n)}detach(){return this.context=void 0,super.detach()}}class vX extends px{constructor(n){super(),this.element=n instanceof xe?n.nativeElement:n}}class ub{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(n){return n instanceof Ch?(this._attachedPortal=n,this.attachComponentPortal(n)):n instanceof Pa?(this._attachedPortal=n,this.attachTemplatePortal(n)):this.attachDomPortal&&n instanceof vX?(this._attachedPortal=n,this.attachDomPortal(n)):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(n){this._disposeFn=n}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class bX extends ub{constructor(n,e,i,r,o){super(),this.outletElement=n,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(n){const i=(n.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(n.component);let r;return n.viewContainerRef?(r=n.viewContainerRef.createComponent(i,n.viewContainerRef.length,n.injector||n.viewContainerRef.injector),this.setDisposeFn(()=>r.destroy())):(r=i.create(n.injector||this._defaultInjector||Xi.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=n,r}attachTemplatePortal(n){let e=n.viewContainerRef,i=e.createEmbeddedView(n.templateRef,n.context,{injector:n.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=n,i}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(n){return n.hostView.rootNodes[0]}}let yX=(()=>{class t extends Pa{constructor(e,i){super(e,i)}}return t.\u0275fac=function(e){return new(e||t)(D(ii),D(wi))},t.\u0275dir=fe({type:t,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[we]}),t})(),Ra=(()=>{class t extends ub{constructor(e,i,r){super(),this._componentFactoryResolver=e,this._viewContainerRef=i,this._isInitialized=!1,this.attached=new $e,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 t.\u0275fac=function(e){return new(e||t)(D(cc),D(wi),D(Xt))},t.\u0275dir=fe({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[we]}),t})(),xc=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Ct({type:t}),t.\u0275inj=yt({}),t})();const IF=gZ();class wX{constructor(n,e){this._viewportRuler=n,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=e}attach(){}enable(){if(this._canBeEnabled()){const n=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=n.style.left||"",this._previousHTMLStyles.top=n.style.top||"",n.style.left=Rr(-this._previousScrollPosition.left),n.style.top=Rr(-this._previousScrollPosition.top),n.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const n=this._document.documentElement,i=n.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,n.classList.remove("cdk-global-scrollblock"),IF&&(i.scrollBehavior=r.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),IF&&(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 CX{constructor(n,e,i,r){this._scrollDispatcher=n,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(n){this._overlayRef=n}enable(){if(this._scrollSubscription)return;const n=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=n.subscribe(()=>{const e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=n.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class PF{enable(){}disable(){}attach(){}}function mx(t,n){return n.some(e=>t.bottome.bottom||t.righte.right)}function RF(t,n){return n.some(e=>t.tope.bottom||t.lefte.right)}class SX{constructor(n,e,i,r){this._scrollDispatcher=n,this._viewportRuler=e,this._ngZone=i,this._config=r,this._scrollSubscription=null}attach(n){this._overlayRef=n}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();mx(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 xX=(()=>{class t{constructor(e,i,r,o){this._scrollDispatcher=e,this._viewportRuler=i,this._ngZone=r,this.noop=()=>new PF,this.close=s=>new CX(this._scrollDispatcher,this._ngZone,this._viewportRuler,s),this.block=()=>new wX(this._viewportRuler,this._document),this.reposition=s=>new SX(this._scrollDispatcher,this._viewportRuler,this._ngZone,s),this._document=o}}return t.\u0275fac=function(e){return new(e||t)(K(OF),K(Sc),K(bt),K(Xt))},t.\u0275prov=Te({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();class Sh{constructor(n){if(this.scrollStrategy=new PF,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,n){const e=Object.keys(n);for(const i of e)void 0!==n[i]&&(this[i]=n[i])}}}class kX{constructor(n,e){this.connectionPair=n,this.scrollableViewProperties=e}}let FF=(()=>{class t{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 t.\u0275fac=function(e){return new(e||t)(K(Xt))},t.\u0275prov=Te({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),DX=(()=>{class t extends FF{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 t.\u0275fac=function(e){return new(e||t)(K(Xt),K(bt,8))},t.\u0275prov=Te({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),MX=(()=>{class t extends FF{constructor(e,i,r){super(e),this._platform=i,this._ngZone=r,this._cursorStyleIsSet=!1,this._pointerDownListener=o=>{this._pointerDownEventTarget=Cc(o)},this._clickListener=o=>{const s=Cc(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 p=l[c];if(p._outsidePointerEvents.observers.length<1||!p.hasAttached())continue;if(p.overlayElement.contains(s)||p.overlayElement.contains(a))break;const m=p._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>m.next(o)):m.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 t.\u0275fac=function(e){return new(e||t)(K(Xt),K(dr),K(bt,8))},t.\u0275prov=Te({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),tm=(()=>{class t{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||qS()){const r=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let o=0;othis._backdropClick.next(m),this._backdropTransitionendHandler=m=>{this._disposeBackdrop(m.target)},this._keydownEvents=new pe,this._outsidePointerEvents=new pe,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(n){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const e=this._portalOutlet.attach(n);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe(di(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 n=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),n}dispose(){const n=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,n&&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(n){n!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=n,this.hasAttached()&&(n.attach(this),this.updatePosition()))}updateSize(n){this._config={...this._config,...n},this._updateElementSize()}setDirection(n){this._config={...this._config,direction:n},this._updateElementDirection()}addPanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!0)}removePanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!1)}getDirection(){const n=this._config.direction;return n?"string"==typeof n?n:n.value:"ltr"}updateScrollStrategy(n){n!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=n,this.hasAttached()&&(n.attach(this),n.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const n=this._pane.style;n.width=Rr(this._config.width),n.height=Rr(this._config.height),n.minWidth=Rr(this._config.minWidth),n.minHeight=Rr(this._config.minHeight),n.maxWidth=Rr(this._config.maxWidth),n.maxHeight=Rr(this._config.maxHeight)}_togglePointerEvents(n){this._pane.style.pointerEvents=n?"":"none"}_attachBackdrop(){const n="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(n)})}):this._backdropElement.classList.add(n)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const n=this._backdropElement;if(n){if(this._animationsDisabled)return void this._disposeBackdrop(n);n.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{n.addEventListener("transitionend",this._backdropTransitionendHandler)}),n.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(n)},500))}}_toggleClasses(n,e,i){const r=Kv(e||[]).filter(o=>!!o);r.length&&(i?n.classList.add(...r):n.classList.remove(...r))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const n=this._ngZone.onStable.pipe(rn(Ki(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()),n.unsubscribe())})})}_disposeScrollStrategy(){const n=this._scrollStrategy;n&&(n.disable(),n.detach&&n.detach())}_disposeBackdrop(n){n&&(n.removeEventListener("click",this._backdropClickHandler),n.removeEventListener("transitionend",this._backdropTransitionendHandler),n.remove(),this._backdropElement===n&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const NF="cdk-overlay-connected-position-bounding-box",TX=/([A-Za-z%]+)$/;class EX{constructor(n,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 pe,this._resizeSubscription=Z.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(n)}get positions(){return this._preferredPositions}attach(n){this._validatePositions(),n.hostElement.classList.add(NF),this._overlayRef=n,this._boundingBox=n.hostElement,this._pane=n.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 n=this._originRect,e=this._overlayRect,i=this._viewportRect,r=this._containerRect,o=[];let s;for(let a of this._preferredPositions){let l=this._getOriginPoint(n,r,a),c=this._getOverlayPoint(l,e,a),p=this._getOverlayFit(c,e,i,a);if(p.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(a,l);this._canFitWithFlexibleDimensions(p,c,i)?o.push({position:a,origin:l,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(l,a)}):(!s||s.overlayFit.visibleAreal&&(l=p,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&&Iu(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(NF),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const n=this._lastPosition;if(n){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,n);this._applyPosition(n,e)}else this.apply()}withScrollableContainers(n){return this._scrollables=n,this}withPositions(n){return this._preferredPositions=n,-1===n.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(n){return this._viewportMargin=n,this}withFlexibleDimensions(n=!0){return this._hasFlexibleDimensions=n,this}withGrowAfterOpen(n=!0){return this._growAfterOpen=n,this}withPush(n=!0){return this._canPush=n,this}withLockedPosition(n=!0){return this._positionLocked=n,this}setOrigin(n){return this._origin=n,this}withDefaultOffsetX(n){return this._offsetX=n,this}withDefaultOffsetY(n){return this._offsetY=n,this}withTransformOriginOn(n){return this._transformOriginSelector=n,this}_getOriginPoint(n,e,i){let r,o;if("center"==i.originX)r=n.left+n.width/2;else{const s=this._isRtl()?n.right:n.left,a=this._isRtl()?n.left:n.right;r="start"==i.originX?s:a}return e.left<0&&(r-=e.left),o="center"==i.originY?n.top+n.height/2:"top"==i.originY?n.top:n.bottom,e.top<0&&(o-=e.top),{x:r,y:o}}_getOverlayPoint(n,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:n.x+r,y:n.y+o}}_getOverlayFit(n,e,i,r){const o=BF(e);let{x:s,y:a}=n,l=this._getOffset(r,"x"),c=this._getOffset(r,"y");l&&(s+=l),c&&(a+=c);let _=0-a,C=a+o.height-i.height,k=this._subtractOverflows(o.width,0-s,s+o.width-i.width),A=this._subtractOverflows(o.height,_,C),P=k*A;return{visibleArea:P,isCompletelyWithinViewport:o.width*o.height===P,fitsInViewportVertically:A===o.height,fitsInViewportHorizontally:k==o.width}}_canFitWithFlexibleDimensions(n,e,i){if(this._hasFlexibleDimensions){const r=i.bottom-e.y,o=i.right-e.x,s=LF(this._overlayRef.getConfig().minHeight),a=LF(this._overlayRef.getConfig().minWidth),c=n.fitsInViewportHorizontally||null!=a&&a<=o;return(n.fitsInViewportVertically||null!=s&&s<=r)&&c}return!1}_pushOverlayOnScreen(n,e,i){if(this._previousPushAmount&&this._positionLocked)return{x:n.x+this._previousPushAmount.x,y:n.y+this._previousPushAmount.y};const r=BF(e),o=this._viewportRect,s=Math.max(n.x+r.width-o.width,0),a=Math.max(n.y+r.height-o.height,0),l=Math.max(o.top-i.top-n.y,0),c=Math.max(o.left-i.left-n.x,0);let p=0,m=0;return p=r.width<=o.width?c||-s:n.xk&&!this._isInitialRender&&!this._growAfterOpen&&(s=n.y-k/2)}if("end"===e.overlayX&&!r||"start"===e.overlayX&&r)_=i.width-n.x+this._viewportMargin,p=n.x-this._viewportMargin;else if("start"===e.overlayX&&!r||"end"===e.overlayX&&r)m=n.x,p=i.right-n.x;else{const C=Math.min(i.right-n.x+i.left,n.x),k=this._lastBoundingBoxSize.width;p=2*C,m=n.x-C,p>k&&!this._isInitialRender&&!this._growAfterOpen&&(m=n.x-k/2)}return{top:s,left:m,bottom:a,right:_,width:p,height:o}}_setBoundingBoxStyles(n,e){const i=this._calculateBoundingBoxRect(n,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=Rr(i.height),r.top=Rr(i.top),r.bottom=Rr(i.bottom),r.width=Rr(i.width),r.left=Rr(i.left),r.right=Rr(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=Rr(o)),s&&(r.maxWidth=Rr(s))}this._lastBoundingBoxSize=i,Iu(this._boundingBox.style,r)}_resetBoundingBoxStyles(){Iu(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Iu(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(n,e){const i={},r=this._hasExactPosition(),o=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(r){const p=this._viewportRuler.getViewportScrollPosition();Iu(i,this._getExactOverlayY(e,n,p)),Iu(i,this._getExactOverlayX(e,n,p))}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=Rr(s.maxHeight):o&&(i.maxHeight="")),s.maxWidth&&(r?i.maxWidth=Rr(s.maxWidth):o&&(i.maxWidth="")),Iu(this._pane.style,i)}_getExactOverlayY(n,e,i){let r={top:"",bottom:""},o=this._getOverlayPoint(e,this._overlayRect,n);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i)),"bottom"===n.overlayY?r.bottom=this._document.documentElement.clientHeight-(o.y+this._overlayRect.height)+"px":r.top=Rr(o.y),r}_getExactOverlayX(n,e,i){let s,r={left:"",right:""},o=this._getOverlayPoint(e,this._overlayRect,n);return this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,i)),s=this._isRtl()?"end"===n.overlayX?"left":"right":"end"===n.overlayX?"right":"left","right"===s?r.right=this._document.documentElement.clientWidth-(o.x+this._overlayRect.width)+"px":r.left=Rr(o.x),r}_getScrollVisibility(){const n=this._getOriginRect(),e=this._pane.getBoundingClientRect(),i=this._scrollables.map(r=>r.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:RF(n,i),isOriginOutsideView:mx(n,i),isOverlayClipped:RF(e,i),isOverlayOutsideView:mx(e,i)}}_subtractOverflows(n,...e){return e.reduce((i,r)=>i-Math.max(r,0),n)}_getNarrowedViewportRect(){const n=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+n-this._viewportMargin,bottom:i.top+e-this._viewportMargin,width:n-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(n,e){return"x"===e?n.offsetX??this._offsetX:n.offsetY??this._offsetY}_validatePositions(){}_addPanelClasses(n){this._pane&&Kv(n).forEach(e=>{""!==e&&-1===this._appliedPanelClasses.indexOf(e)&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(n=>{this._pane.classList.remove(n)}),this._appliedPanelClasses=[])}_getOriginRect(){const n=this._origin;if(n instanceof xe)return n.nativeElement.getBoundingClientRect();if(n instanceof Element)return n.getBoundingClientRect();const e=n.width||0,i=n.height||0;return{top:n.y,bottom:n.y+i,left:n.x,right:n.x+e,height:i,width:e}}}function Iu(t,n){for(let e in n)n.hasOwnProperty(e)&&(t[e]=n[e]);return t}function LF(t){if("number"!=typeof t&&null!=t){const[n,e]=t.split(TX);return e&&"px"!==e?null:parseFloat(n)}return t||null}function BF(t){return{top:Math.floor(t.top),right:Math.floor(t.right),bottom:Math.floor(t.bottom),left:Math.floor(t.left),width:Math.floor(t.width),height:Math.floor(t.height)}}const VF="cdk-global-overlay-wrapper";class AX{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(n){const e=n.getConfig();this._overlayRef=n,this._width&&!e.width&&n.updateSize({width:this._width}),this._height&&!e.height&&n.updateSize({height:this._height}),n.hostElement.classList.add(VF),this._isDisposed=!1}top(n=""){return this._bottomOffset="",this._topOffset=n,this._alignItems="flex-start",this}left(n=""){return this._xOffset=n,this._xPosition="left",this}bottom(n=""){return this._topOffset="",this._bottomOffset=n,this._alignItems="flex-end",this}right(n=""){return this._xOffset=n,this._xPosition="right",this}start(n=""){return this._xOffset=n,this._xPosition="start",this}end(n=""){return this._xOffset=n,this._xPosition="end",this}width(n=""){return this._overlayRef?this._overlayRef.updateSize({width:n}):this._width=n,this}height(n=""){return this._overlayRef?this._overlayRef.updateSize({height:n}):this._height=n,this}centerHorizontally(n=""){return this.left(n),this._xPosition="center",this}centerVertically(n=""){return this.top(n),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const n=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),p=this._xPosition,m=this._xOffset,_="rtl"===this._overlayRef.getConfig().direction;let C="",k="",A="";l?A="flex-start":"center"===p?(A="center",_?k=m:C=m):_?"left"===p||"end"===p?(A="flex-end",C=m):("right"===p||"start"===p)&&(A="flex-start",k=m):"left"===p||"start"===p?(A="flex-start",C=m):("right"===p||"end"===p)&&(A="flex-end",k=m),n.position=this._cssPosition,n.marginLeft=l?"0":C,n.marginTop=c?"0":this._topOffset,n.marginBottom=this._bottomOffset,n.marginRight=l?"0":k,e.justifyContent=A,e.alignItems=c?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const n=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,i=e.style;e.classList.remove(VF),i.justifyContent=i.alignItems=n.marginTop=n.marginBottom=n.marginLeft=n.marginRight=n.position="",this._overlayRef=null,this._isDisposed=!0}}let OX=(()=>{class t{constructor(e,i,r,o){this._viewportRuler=e,this._document=i,this._platform=r,this._overlayContainer=o}global(){return new AX}flexibleConnectedTo(e){return new EX(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return t.\u0275fac=function(e){return new(e||t)(K(Sc),K(Xt),K(dr),K(tm))},t.\u0275prov=Te({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),IX=0,go=(()=>{class t{constructor(e,i,r,o,s,a,l,c,p,m,_,C){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=p,this._location=m,this._outsideClickDispatcher=_,this._animationsModuleType=C}create(e){const i=this._createHostElement(),r=this._createPaneElement(i),o=this._createPortalOutlet(r),s=new Sh(e);return s.direction=s.direction||this._directionality.value,new nm(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-"+IX++,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(Zd)),new bX(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return t.\u0275fac=function(e){return new(e||t)(K(xX),K(tm),K(cc),K(OX),K(DX),K(Xi),K(bt),K(Xt),K(io),K(dp),K(MX),K(nr,8))},t.\u0275prov=Te({token:t,factory:t.\u0275fac}),t})();const PX=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],HF=new u("cdk-connected-overlay-scroll-strategy");let zF=(()=>{class t{constructor(e){this.elementRef=e}}return t.\u0275fac=function(e){return new(e||t)(D(xe))},t.\u0275dir=fe({type:t,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),t})(),WF=(()=>{class t{constructor(e,i,r,o,s){this._overlay=e,this._dir=s,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=Z.EMPTY,this._attachSubscription=Z.EMPTY,this._detachSubscription=Z.EMPTY,this._positionSubscription=Z.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new $e,this.positionChange=new $e,this.attach=new $e,this.detach=new $e,this.overlayKeydown=new $e,this.overlayOutsideClick=new $e,this._templatePortal=new Pa(i,r),this._scrollStrategyFactory=o,this.scrollStrategy=this._scrollStrategyFactory()}get offsetX(){return this._offsetX}set offsetX(e){this._offsetX=e,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(e){this._offsetY=e,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(e){this._hasBackdrop=vt(e)}get lockPosition(){return this._lockPosition}set lockPosition(e){this._lockPosition=vt(e)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(e){this._flexibleDimensions=vt(e)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(e){this._growAfterOpen=vt(e)}get push(){return this._push}set push(e){this._push=vt(e)}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(e){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),e.origin&&this.open&&this._position.apply()),e.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=PX);const e=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=e.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=e.detachments().subscribe(()=>this.detach.emit()),e.keydownEvents().subscribe(i=>{this.overlayKeydown.next(i),27===i.keyCode&&!this.disableClose&&!no(i)&&(i.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(i=>{this.overlayOutsideClick.next(i)})}_buildConfig(){const e=this._position=this.positionStrategy||this._createPositionStrategy(),i=new Sh({direction:this._dir,positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(i.width=this.width),(this.height||0===this.height)&&(i.height=this.height),(this.minWidth||0===this.minWidth)&&(i.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(i.minHeight=this.minHeight),this.backdropClass&&(i.backdropClass=this.backdropClass),this.panelClass&&(i.panelClass=this.panelClass),i}_updatePositionStrategy(e){const i=this.positions.map(r=>({originX:r.originX,originY:r.originY,overlayX:r.overlayX,overlayY:r.overlayY,offsetX:r.offsetX||this.offsetX,offsetY:r.offsetY||this.offsetY,panelClass:r.panelClass||void 0}));return e.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(i).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const e=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(e),e}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof zF?this.origin.elementRef:this.origin}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(e=>{this.backdropClick.emit(e)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(VO(()=>this.positionChange.observers.length>0)).subscribe(e=>{this.positionChange.emit(e),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(D(go),D(ii),D(wi),D(HF),D(io,8))},t.\u0275dir=fe({type:t,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:["cdkConnectedOverlayOrigin","origin"],positions:["cdkConnectedOverlayPositions","positions"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[Tn]}),t})();const FX={provide:HF,deps:[go],useFactory:function RX(t){return()=>t.scrollStrategies.reposition()}};let Pu=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Ct({type:t}),t.\u0275inj=yt({providers:[go,FX],imports:[vh,xc,fx,fx]}),t})();function NX(t,n){}class db{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 jF=(()=>{class t extends ub{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=p=>{this._portalOutlet.hasAttached();const m=this._portalOutlet.attachDomPortal(p);return this._contentAttached(),m},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=Uv(),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=Uv();return e===i||e.contains(i)}_initializeFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=Uv())}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}}return t.\u0275fac=function(e){return new(e||t)(D(xe),D(nx),D(Xt,8),D(db),D(eb),D(bt),D(nm),D(Ro))},t.\u0275cmp=Pe({type:t,selectors:[["cdk-dialog-container"]],viewQuery:function(e,i){if(1&e&&Oe(Ra,7),2&e){let r;ue(r=de())&&(i._portalOutlet=r.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(e,i){2&e&&Je("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:[we],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(e,i){1&e&&$(0,NX,0,0,"ng-template",0)},dependencies:[Ra],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2}),t})();class gx{constructor(n,e){this.overlayRef=n,this.config=e,this.closed=new pe,this.disableClose=e.disableClose,this.backdropClick=n.backdropClick(),this.keydownEvents=n.keydownEvents(),this.outsidePointerEvents=n.outsidePointerEvents(),this.id=e.id,this.keydownEvents.subscribe(i=>{27===i.keyCode&&!this.disableClose&&!no(i)&&(i.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})})}close(n,e){if(this.containerInstance){const i=this.closed;this.containerInstance._closeInteractionType=e?.focusOrigin||"program",this.overlayRef.dispose(),i.next(n),i.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(n="",e=""){return this.overlayRef.updateSize({width:n,height:e}),this}addPanelClass(n){return this.overlayRef.addPanelClass(n),this}removePanelClass(n){return this.overlayRef.removePanelClass(n),this}}const UF=new u("DialogScrollStrategy"),LX=new u("DialogData"),BX=new u("DefaultDialogConfig"),HX={provide:UF,deps:[go],useFactory:function VX(t){return()=>t.scrollStrategies.block()}};let zX=0,GF=(()=>{class t{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 pe,this._afterOpenedAtThisLevel=new pe,this._ariaHiddenElements=new Map,this.afterAllClosed=Jd(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Ui(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 db,...i}).id=i.id||"cdk-dialog-"+zX++,i.id&&this.getDialogById(i.id);const o=this._getOverlayConfig(i),s=this._overlay.create(o),a=new gx(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(){_x(this.openDialogs,e=>e.close())}getDialogById(e){return this.openDialogs.find(i=>i.id===e)}ngOnDestroy(){_x(this._openDialogsAtThisLevel,e=>{!1===e.config.closeOnDestroy&&this._removeOpenDialog(e,!1)}),_x(this._openDialogsAtThisLevel,e=>e.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(e){const i=new Sh({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:db,useValue:r},{provide:gx,useValue:i},{provide:nm,useValue:e}];let a;r.container?"function"==typeof r.container?a=r.container:(a=r.container.type,s.push(...r.container.providers(r))):a=jF;const l=new Ch(a,r.viewContainerRef,Xi.create({parent:o||this._injector,providers:s}),r.componentFactoryResolver);return e.attach(l).instance}_attachDialogContent(e,i,r,o){if(e instanceof ii){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 Pa(e,null,a,s))}else{const s=this._createInjector(o,i,r,this._injector),a=r.attachComponentPortal(new Ch(e,o.viewContainerRef,s,o.componentFactoryResolver));i.componentInstance=a.instance}}_createInjector(e,i,r,o){const s=e.injector||e.viewContainerRef?.injector,a=[{provide:LX,useValue:e.data},{provide:gx,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(io,null,Vt.Optional))&&a.push({provide:io,useValue:{value:e.direction,change:ct()}}),Xi.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 t.\u0275fac=function(e){return new(e||t)(K(go),K(Xi),K(BX,8),K(t,12),K(tm),K(UF))},t.\u0275prov=Te({token:t,factory:t.\u0275fac}),t})();function _x(t,n){let e=t.length;for(;e--;)n(t[e])}let WX=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Ct({type:t}),t.\u0275inj=yt({providers:[GF,HX],imports:[Pu,xc,nb,xc]}),t})();function jX(t,n){}const xh={params:{enterAnimationDuration:"150ms",exitAnimationDuration:"75ms"}},UX={dialogContainer:Pr("dialogContainer",[In("void, exit",wt({opacity:0,transform:"scale(0.7)"})),In("enter",wt({transform:"none"})),ri("* => enter",oR([mi("{{enterAnimationDuration}} cubic-bezier(0, 0, 0.2, 1)",wt({transform:"none",opacity:1})),Dv("@*",kv(),{optional:!0})]),xh),ri("* => void, * => exit",oR([mi("{{exitAnimationDuration}} cubic-bezier(0.4, 0.0, 0.2, 1)",wt({opacity:0})),Dv("@*",kv(),{optional:!0})]),xh)])};class hb{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=xh.params.enterAnimationDuration,this.exitAnimationDuration=xh.params.exitAnimationDuration}}let GX=(()=>{class t extends jF{constructor(e,i,r,o,s,a,l,c){super(e,i,r,o,s,a,l,c),this._animationStateChanged=new $e}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(e){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:e})}}return t.\u0275fac=function(e){return new(e||t)(D(xe),D(nx),D(Xt,8),D(hb),D(eb),D(bt),D(nm),D(Ro))},t.\u0275cmp=Pe({type:t,selectors:[["ng-component"]],features:[we],decls:0,vars:0,template:function(e,i){},encapsulation:2}),t})(),$X=(()=>{class t extends GX{constructor(e,i,r,o,s,a,l,c,p){super(e,i,r,o,s,a,l,p),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||xh.params.enterAnimationDuration,exitAnimationDuration:this._config.exitAnimationDuration||xh.params.exitAnimationDuration}}}}return t.\u0275fac=function(e){return new(e||t)(D(xe),D(nx),D(Xt,8),D(hb),D(eb),D(bt),D(nm),D(wn),D(Ro))},t.\u0275cmp=Pe({type:t,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-dialog-container"],hostVars:7,hostBindings:function(e,i){1&e&&a_("@dialogContainer.start",function(o){return i._onAnimationStart(o)})("@dialogContainer.done",function(o){return i._onAnimationDone(o)}),2&e&&(ys("id",i._config.id),Je("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),c_("@dialogContainer",i._getAnimationState()))},features:[we],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(e,i){1&e&&$(0,jX,0,0,"ng-template",0)},dependencies:[Ra],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:[UX.dialogContainer]}}),t})();class Fa{constructor(n,e,i){this._ref=n,this._containerInstance=i,this._afterOpened=new pe,this._beforeClosed=new pe,this._state=0,this.disableClose=e.disableClose,this.id=n.id,i._animationStateChanged.pipe(hi(r=>"opened"===r.state),di(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),i._animationStateChanged.pipe(hi(r=>"closed"===r.state),di(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),n.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),Ki(this.backdropClick(),this.keydownEvents().pipe(hi(r=>27===r.keyCode&&!this.disableClose&&!no(r)))).subscribe(r=>{this.disableClose||(r.preventDefault(),$F(this,"keydown"===r.type?"keyboard":"mouse"))})}close(n){this._result=n,this._containerInstance._animationStateChanged.pipe(hi(e=>"closing"===e.state),di(1)).subscribe(e=>{this._beforeClosed.next(n),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(n){let e=this._ref.config.positionStrategy;return n&&(n.left||n.right)?n.left?e.left(n.left):e.right(n.right):e.centerHorizontally(),n&&(n.top||n.bottom)?n.top?e.top(n.top):e.bottom(n.bottom):e.centerVertically(),this._ref.updatePosition(),this}updateSize(n="",e=""){return this._ref.updateSize(n,e),this}addPanelClass(n){return this._ref.addPanelClass(n),this}removePanelClass(n){return this._ref.removePanelClass(n),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}}function $F(t,n,e){return t._closeInteractionType=n,t.close(e)}const Ru=new u("MatDialogData"),qX=new u("mat-dialog-default-options"),qF=new u("mat-dialog-scroll-strategy"),KX={provide:qF,deps:[go],useFactory:function YX(t){return()=>t.scrollStrategies.block()}};let ZX=0,QX=(()=>{class t{constructor(e,i,r,o,s,a,l,c,p,m){this._overlay=e,this._defaultOptions=r,this._parentDialog=o,this._dialogRefConstructor=l,this._dialogContainerType=c,this._dialogDataToken=p,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new pe,this._afterOpenedAtThisLevel=new pe,this._idPrefix="mat-dialog-",this.afterAllClosed=Jd(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(Ui(void 0))),this._scrollStrategy=a,this._dialog=i.get(GF)}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 hb,...i}).id=i.id||`${this._idPrefix}${ZX++}`,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:hb,useValue:i},{provide:db,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 t.\u0275fac=function(e){_a()},t.\u0275prov=Te({token:t,factory:t.\u0275fac}),t})(),Al=(()=>{class t extends QX{constructor(e,i,r,o,s,a,l,c){super(e,i,o,a,l,s,Fa,$X,Ru,c)}}return t.\u0275fac=function(e){return new(e||t)(K(go),K(Xi),K(dp,8),K(qX,8),K(qF),K(t,12),K(tm),K(nr,8))},t.\u0275prov=Te({token:t,factory:t.\u0275fac}),t})(),XX=0,kh=(()=>{class t{constructor(e,i,r){this.dialogRef=e,this._elementRef=i,this._dialog=r,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=YF(this._elementRef,this._dialog.openDialogs))}ngOnChanges(e){const i=e._matDialogClose||e._matDialogCloseResult;i&&(this.dialogResult=i.currentValue)}_onButtonClick(e){$F(this.dialogRef,0===e.screenX&&0===e.screenY?"keyboard":"mouse",this.dialogResult)}}return t.\u0275fac=function(e){return new(e||t)(D(Fa,8),D(xe),D(Al))},t.\u0275dir=fe({type:t,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(e,i){1&e&&ne("click",function(o){return i._onButtonClick(o)}),2&e&&Je("aria-label",i.ariaLabel||null)("type",i.type)},inputs:{ariaLabel:["aria-label","ariaLabel"],type:"type",dialogResult:["mat-dialog-close","dialogResult"],_matDialogClose:["matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[Tn]}),t})(),Fu=(()=>{class t{constructor(e,i,r){this._dialogRef=e,this._elementRef=i,this._dialog=r,this.id="mat-dialog-title-"+XX++}ngOnInit(){this._dialogRef||(this._dialogRef=YF(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{const e=this._dialogRef._containerInstance;e&&!e._ariaLabelledBy&&(e._ariaLabelledBy=this.id)})}}return t.\u0275fac=function(e){return new(e||t)(D(Fa,8),D(xe),D(Al))},t.\u0275dir=fe({type:t,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(e,i){2&e&&ys("id",i.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),t})(),Nu=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=fe({type:t,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),t})(),Dh=(()=>{class t{constructor(){this.align="start"}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=fe({type:t,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-dialog-actions"],hostVars:4,hostBindings:function(e,i){2&e&&Rt("mat-dialog-actions-align-center","center"===i.align)("mat-dialog-actions-align-end","end"===i.align)},inputs:{align:"align"}}),t})();function YF(t,n){let e=t.nativeElement.parentElement;for(;e&&!e.classList.contains("mat-dialog-container");)e=e.parentElement;return e?n.find(i=>i.id===e.id):null}let JX=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Ct({type:t}),t.\u0275inj=yt({providers:[Al,KX],imports:[WX,Pu,xc,zt,zt]}),t})();function vx(t){return t&&"function"==typeof t.connect&&!(t instanceof _C)}class KF{applyChanges(n,e,i,r,o){n.forEachOperation((s,a,l)=>{let c,p;if(null==s.previousIndex){const m=i(s,a,l);c=e.createEmbeddedView(m.templateRef,m.context,m.index),p=1}else null==l?(e.remove(a),p=3):(c=e.get(a),e.move(c,l),p=2);o&&o({context:c?.context,operation:p,record:s})})}detach(){}}class bx{constructor(n=!1,e,i=!0,r){this._multiple=n,this._emitChanges=i,this.compareWith=r,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new pe,e&&e.length&&(n?e.forEach(o=>this._markSelected(o)):this._markSelected(e[0]),this._selectedToEmit.length=0)}get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}select(...n){this._verifyValueAssignment(n),n.forEach(i=>this._markSelected(i));const e=this._hasQueuedChanges();return this._emitChangeEvent(),e}deselect(...n){this._verifyValueAssignment(n),n.forEach(i=>this._unmarkSelected(i));const e=this._hasQueuedChanges();return this._emitChangeEvent(),e}setSelection(...n){this._verifyValueAssignment(n);const e=this.selected,i=new Set(n);n.forEach(o=>this._markSelected(o)),e.filter(o=>!i.has(o)).forEach(o=>this._unmarkSelected(o));const r=this._hasQueuedChanges();return this._emitChangeEvent(),r}toggle(n){return this.isSelected(n)?this.deselect(n):this.select(n)}clear(n=!0){this._unmarkAll();const e=this._hasQueuedChanges();return n&&this._emitChangeEvent(),e}isSelected(n){if(this.compareWith){for(const e of this._selection)if(this.compareWith(e,n))return!0;return!1}return this._selection.has(n)}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(n){this._multiple&&this.selected&&this._selected.sort(n)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(n){this.isSelected(n)||(this._multiple||this._unmarkAll(),this.isSelected(n)||this._selection.add(n),this._emitChanges&&this._selectedToEmit.push(n))}_unmarkSelected(n){this.isSelected(n)&&(this._selection.delete(n),this._emitChanges&&this._deselectedToEmit.push(n))}_unmarkAll(){this.isEmpty()||this._selection.forEach(n=>this._unmarkSelected(n))}_verifyValueAssignment(n){}_hasQueuedChanges(){return!(!this._deselectedToEmit.length&&!this._selectedToEmit.length)}}let yx=(()=>{class t{constructor(){this._listeners=[]}notify(e,i){for(let r of this._listeners)r(e,i)}listen(e){return this._listeners.push(e),()=>{this._listeners=this._listeners.filter(i=>e!==i)}}ngOnDestroy(){this._listeners=[]}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Te({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const im=new u("_ViewRepeater");let tJ=0;const wx=new u("CdkAccordion");let nJ=(()=>{class t{constructor(){this._stateChanges=new pe,this._openCloseAllActions=new pe,this.id="cdk-accordion-"+tJ++,this._multi=!1}get multi(){return this._multi}set multi(e){this._multi=vt(e)}openAll(){this._multi&&this._openCloseAllActions.next(!0)}closeAll(){this._openCloseAllActions.next(!1)}ngOnChanges(e){this._stateChanges.next(e)}ngOnDestroy(){this._stateChanges.complete(),this._openCloseAllActions.complete()}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=fe({type:t,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:"multi"},exportAs:["cdkAccordion"],features:[_t([{provide:wx,useExisting:t}]),Tn]}),t})(),iJ=0,rJ=(()=>{class t{constructor(e,i,r){this.accordion=e,this._changeDetectorRef=i,this._expansionDispatcher=r,this._openCloseAllSubscription=Z.EMPTY,this.closed=new $e,this.opened=new $e,this.destroyed=new $e,this.expandedChange=new $e,this.id="cdk-accordion-child-"+iJ++,this._expanded=!1,this._disabled=!1,this._removeUniqueSelectionListener=()=>{},this._removeUniqueSelectionListener=r.listen((o,s)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===s&&this.id!==o&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}get expanded(){return this._expanded}set expanded(e){e=vt(e),this._expanded!==e&&(this._expanded=e,this.expandedChange.emit(e),e?(this.opened.emit(),this._expansionDispatcher.notify(this.id,this.accordion?this.accordion.id:this.id)):this.closed.emit(),this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(e){this._disabled=vt(e)}ngOnDestroy(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()}toggle(){this.disabled||(this.expanded=!this.expanded)}close(){this.disabled||(this.expanded=!1)}open(){this.disabled||(this.expanded=!0)}_subscribeToOpenCloseAllActions(){return this.accordion._openCloseAllActions.subscribe(e=>{this.disabled||(this.expanded=e)})}}return t.\u0275fac=function(e){return new(e||t)(D(wx,12),D(wn),D(yx))},t.\u0275dir=fe({type:t,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:"expanded",disabled:"disabled"},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[_t([{provide:wx,useValue:void 0}])]}),t})(),oJ=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Ct({type:t}),t.\u0275inj=yt({}),t})();const sJ=["body"];function aJ(t,n){}const lJ=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],cJ=["mat-expansion-panel-header","*","mat-action-row"];function uJ(t,n){1&t&&q(0,"span",2),2&t&&R("@indicatorRotate",re()._getExpandedState())}const dJ=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],hJ=["mat-panel-title","mat-panel-description","*"],Cx=new u("MAT_ACCORDION"),QF="225ms cubic-bezier(0.4,0.0,0.2,1)",XF={indicatorRotate:Pr("indicatorRotate",[In("collapsed, void",wt({transform:"rotate(0deg)"})),In("expanded",wt({transform:"rotate(180deg)"})),ri("expanded <=> collapsed, void => collapsed",mi(QF))]),bodyExpansion:Pr("bodyExpansion",[In("collapsed, void",wt({height:"0px",visibility:"hidden"})),In("expanded",wt({height:"*",visibility:"visible"})),ri("expanded <=> collapsed, void => collapsed",mi(QF))])},JF=new u("MAT_EXPANSION_PANEL");let fJ=(()=>{class t{constructor(e,i){this._template=e,this._expansionPanel=i}}return t.\u0275fac=function(e){return new(e||t)(D(ii),D(JF,8))},t.\u0275dir=fe({type:t,selectors:[["ng-template","matExpansionPanelContent",""]]}),t})(),pJ=0;const eN=new u("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS");let fb=(()=>{class t extends rJ{constructor(e,i,r,o,s,a,l){super(e,i,r),this._viewContainerRef=o,this._animationMode=a,this._hideToggle=!1,this.afterExpand=new $e,this.afterCollapse=new $e,this._inputChanges=new pe,this._headerId="mat-expansion-panel-header-"+pJ++,this._bodyAnimationDone=new pe,this.accordion=e,this._document=s,this._bodyAnimationDone.pipe(Yp((c,p)=>c.fromState===p.fromState&&c.toState===p.toState)).subscribe(c=>{"void"!==c.fromState&&("expanded"===c.toState?this.afterExpand.emit():"collapsed"===c.toState&&this.afterCollapse.emit())}),l&&(this.hideToggle=l.hideToggle)}get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(e){this._hideToggle=vt(e)}get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(e){this._togglePosition=e}_hasSpacing(){return!!this.accordion&&this.expanded&&"default"===this.accordion.displayMode}_getExpandedState(){return this.expanded?"expanded":"collapsed"}toggle(){this.expanded=!this.expanded}close(){this.expanded=!1}open(){this.expanded=!0}ngAfterContentInit(){this._lazyContent&&this._lazyContent._expansionPanel===this&&this.opened.pipe(Ui(null),hi(()=>this.expanded&&!this._portal),di(1)).subscribe(()=>{this._portal=new Pa(this._lazyContent._template,this._viewContainerRef)})}ngOnChanges(e){this._inputChanges.next(e)}ngOnDestroy(){super.ngOnDestroy(),this._bodyAnimationDone.complete(),this._inputChanges.complete()}_containsFocus(){if(this._body){const e=this._document.activeElement,i=this._body.nativeElement;return e===i||i.contains(e)}return!1}}return t.\u0275fac=function(e){return new(e||t)(D(Cx,12),D(wn),D(yx),D(wi),D(Xt),D(nr,8),D(eN,8))},t.\u0275cmp=Pe({type:t,selectors:[["mat-expansion-panel"]],contentQueries:function(e,i,r){if(1&e&&Qt(r,fJ,5),2&e){let o;ue(o=de())&&(i._lazyContent=o.first)}},viewQuery:function(e,i){if(1&e&&Oe(sJ,5),2&e){let r;ue(r=de())&&(i._body=r.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(e,i){2&e&&Rt("mat-expanded",i.expanded)("_mat-animation-noopable","NoopAnimations"===i._animationMode)("mat-expansion-panel-spacing",i._hasSpacing())},inputs:{disabled:"disabled",expanded:"expanded",hideToggle:"hideToggle",togglePosition:"togglePosition"},outputs:{opened:"opened",closed:"closed",expandedChange:"expandedChange",afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[_t([{provide:Cx,useValue:void 0},{provide:JF,useExisting:t}]),we,Tn],ngContentSelectors:cJ,decls:7,vars:4,consts:[["role","region",1,"mat-expansion-panel-content",3,"id"],["body",""],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(e,i){1&e&&(Di(lJ),nn(0),v(1,"div",0,1),ne("@bodyExpansion.done",function(o){return i._bodyAnimationDone.next(o)}),v(3,"div",2),nn(4,1),$(5,aJ,0,0,"ng-template",3),b(),nn(6,2),b()),2&e&&(I(1),R("@bodyExpansion",i._getExpandedState())("id",i.id),Je("aria-labelledby",i._headerId),I(4),R("cdkPortalOutlet",i._portal))},dependencies:[Ra],styles:['.mat-expansion-panel{box-sizing:content-box;display:block;margin:0;border-radius:4px;overflow:hidden;transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);position:relative}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:4px;border-top-left-radius:4px}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:4px;border-bottom-left-radius:4px}.cdk-high-contrast-active .mat-expansion-panel{outline:solid 1px}.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel,.mat-expansion-panel._mat-animation-noopable{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible}.mat-expansion-panel-content[style*="visibility: hidden"] *{visibility:hidden !important}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px}.mat-action-row .mat-button-base,.mat-action-row .mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row .mat-button-base,[dir=rtl] .mat-action-row .mat-mdc-button-base{margin-left:0;margin-right:8px}'],encapsulation:2,data:{animation:[XF.bodyExpansion]},changeDetection:0}),t})(),mJ=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=fe({type:t,selectors:[["mat-action-row"]],hostAttrs:[1,"mat-action-row"]}),t})();class gJ{}const _J=Qp(gJ);let pb=(()=>{class t extends _J{constructor(e,i,r,o,s,a,l){super(),this.panel=e,this._element=i,this._focusMonitor=r,this._changeDetectorRef=o,this._animationMode=a,this._parentChangeSubscription=Z.EMPTY;const c=e.accordion?e.accordion._stateChanges.pipe(hi(p=>!(!p.hideToggle&&!p.togglePosition))):St;this.tabIndex=parseInt(l||"")||0,this._parentChangeSubscription=Ki(e.opened,e.closed,c,e._inputChanges.pipe(hi(p=>!!(p.hideToggle||p.disabled||p.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),e.closed.pipe(hi(()=>e._containsFocus())).subscribe(()=>r.focusVia(i,"program")),s&&(this.expandedHeight=s.expandedHeight,this.collapsedHeight=s.collapsedHeight)}get disabled(){return this.panel.disabled}_toggle(){this.disabled||this.panel.toggle()}_isExpanded(){return this.panel.expanded}_getExpandedState(){return this.panel._getExpandedState()}_getPanelId(){return this.panel.id}_getTogglePosition(){return this.panel.togglePosition}_showToggle(){return!this.panel.hideToggle&&!this.panel.disabled}_getHeaderHeight(){const e=this._isExpanded();return e&&this.expandedHeight?this.expandedHeight:!e&&this.collapsedHeight?this.collapsedHeight:null}_keydown(e){switch(e.keyCode){case 32:case 13:no(e)||(e.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(e))}}focus(e,i){e?this._focusMonitor.focusVia(this._element,e,i):this._element.nativeElement.focus(i)}ngAfterViewInit(){this._focusMonitor.monitor(this._element).subscribe(e=>{e&&this.panel.accordion&&this.panel.accordion._handleHeaderFocus(this)})}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}}return t.\u0275fac=function(e){return new(e||t)(D(fb,1),D(xe),D(Ro),D(wn),D(eN,8),D(nr,8),ho("tabindex"))},t.\u0275cmp=Pe({type:t,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(e,i){1&e&&ne("click",function(){return i._toggle()})("keydown",function(o){return i._keydown(o)}),2&e&&(Je("id",i.panel._headerId)("tabindex",i.tabIndex)("aria-controls",i._getPanelId())("aria-expanded",i._isExpanded())("aria-disabled",i.panel.disabled),br("height",i._getHeaderHeight()),Rt("mat-expanded",i._isExpanded())("mat-expansion-toggle-indicator-after","after"===i._getTogglePosition())("mat-expansion-toggle-indicator-before","before"===i._getTogglePosition())("_mat-animation-noopable","NoopAnimations"===i._animationMode))},inputs:{tabIndex:"tabIndex",expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight"},features:[we],ngContentSelectors:hJ,decls:5,vars:3,consts:[[1,"mat-content"],["class","mat-expansion-indicator",4,"ngIf"],[1,"mat-expansion-indicator"]],template:function(e,i){1&e&&(Di(dJ),v(0,"span",0),nn(1),nn(2,1),nn(3,2),b(),$(4,uJ,1,1,"span",1)),2&e&&(Rt("mat-content-hide-toggle",!i._showToggle()),I(4),R("ngIf",i._showToggle()))},dependencies:[ui],styles:['.mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit;transition:height 225ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-expansion-panel-header._mat-animation-noopable{transition:none}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:none}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-content.mat-content-hide-toggle{margin-right:8px}[dir=rtl] .mat-content.mat-content-hide-toggle{margin-right:0;margin-left:8px}.mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-left:24px;margin-right:0}[dir=rtl] .mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-right:24px;margin-left:0}.mat-expansion-panel-header-title,.mat-expansion-panel-header-description{display:flex;flex-grow:1;flex-basis:0;margin-right:16px;align-items:center}[dir=rtl] .mat-expansion-panel-header-title,[dir=rtl] .mat-expansion-panel-header-description{margin-right:0;margin-left:16px}.mat-expansion-panel-header-description{flex-grow:2}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:"";display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle}.cdk-high-contrast-active .mat-expansion-panel-content{border-top:1px solid;border-top-left-radius:0;border-top-right-radius:0}'],encapsulation:2,data:{animation:[XF.indicatorRotate]},changeDetection:0}),t})(),tN=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=fe({type:t,selectors:[["mat-panel-description"]],hostAttrs:[1,"mat-expansion-panel-header-description"]}),t})(),nN=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=fe({type:t,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]}),t})(),iN=(()=>{class t extends nJ{constructor(){super(...arguments),this._ownHeaders=new Zs,this._hideToggle=!1,this.displayMode="default",this.togglePosition="after"}get hideToggle(){return this._hideToggle}set hideToggle(e){this._hideToggle=vt(e)}ngAfterContentInit(){this._headers.changes.pipe(Ui(this._headers)).subscribe(e=>{this._ownHeaders.reset(e.filter(i=>i.panel.accordion===this)),this._ownHeaders.notifyOnChanges()}),this._keyManager=new Zp(this._ownHeaders).withWrap().withHomeAndEnd()}_handleHeaderKeydown(e){this._keyManager.onKeydown(e)}_handleHeaderFocus(e){this._keyManager.updateActiveItem(e)}ngOnDestroy(){super.ngOnDestroy(),this._ownHeaders.destroy()}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=Ht(t)))(i||t)}}(),t.\u0275dir=fe({type:t,selectors:[["mat-accordion"]],contentQueries:function(e,i,r){if(1&e&&Qt(r,pb,5),2&e){let o;ue(o=de())&&(i._headers=o)}},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(e,i){2&e&&Rt("mat-accordion-multi",i.multi)},inputs:{multi:"multi",hideToggle:"hideToggle",displayMode:"displayMode",togglePosition:"togglePosition"},exportAs:["matAccordion"],features:[_t([{provide:Cx,useExisting:t}]),we]}),t})(),vJ=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Ct({type:t}),t.\u0275inj=yt({imports:[Ao,zt,oJ,xc]}),t})(),wJ=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Ct({type:t}),t.\u0275inj=yt({imports:[ib,zt,ib,zt]}),t})();const oN=Mu({passive:!0});let CJ=(()=>{class t{constructor(e,i){this._platform=e,this._ngZone=i,this._monitoredElements=new Map}monitor(e){if(!this._platform.isBrowser)return St;const i=Tl(e),r=this._monitoredElements.get(i);if(r)return r.subject;const o=new pe,s="cdk-text-field-autofilled",a=l=>{"cdk-text-field-autofill-start"!==l.animationName||i.classList.contains(s)?"cdk-text-field-autofill-end"===l.animationName&&i.classList.contains(s)&&(i.classList.remove(s),this._ngZone.run(()=>o.next({target:l.target,isAutofilled:!1}))):(i.classList.add(s),this._ngZone.run(()=>o.next({target:l.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{i.addEventListener("animationstart",a,oN),i.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(i,{subject:o,unlisten:()=>{i.removeEventListener("animationstart",a,oN)}}),o}stopMonitoring(e){const i=Tl(e),r=this._monitoredElements.get(i);r&&(r.unlisten(),r.subject.complete(),i.classList.remove("cdk-text-field-autofill-monitored"),i.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(i))}ngOnDestroy(){this._monitoredElements.forEach((e,i)=>this.stopMonitoring(i))}}return t.\u0275fac=function(e){return new(e||t)(K(dr),K(bt))},t.\u0275prov=Te({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),sN=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Ct({type:t}),t.\u0275inj=yt({}),t})();const SJ=["connectionContainer"],xJ=["inputContainer"],kJ=["label"];function DJ(t,n){1&t&&(zi(0),v(1,"div",14),q(2,"div",15)(3,"div",16)(4,"div",17),b(),v(5,"div",18),q(6,"div",15)(7,"div",16)(8,"div",17),b(),Wi())}function MJ(t,n){if(1&t){const e=Zn();v(0,"div",19),ne("cdkObserveContent",function(){return ut(e),lt(re().updateOutlineGap())}),nn(1,1),b()}2&t&&R("cdkObserveContentDisabled","outline"!=re().appearance)}function TJ(t,n){if(1&t&&(zi(0),nn(1,2),v(2,"span"),M(3),b(),Wi()),2&t){const e=re(2);I(3),Qn(e._control.placeholder)}}function EJ(t,n){1&t&&nn(0,3,["*ngSwitchCase","true"])}function AJ(t,n){1&t&&(v(0,"span",23),M(1," *"),b())}function OJ(t,n){if(1&t){const e=Zn();v(0,"label",20,21),ne("cdkObserveContent",function(){return ut(e),lt(re().updateOutlineGap())}),$(2,TJ,4,1,"ng-container",12),$(3,EJ,1,0,"ng-content",12),$(4,AJ,2,0,"span",22),b()}if(2&t){const e=re();Rt("mat-empty",e._control.empty&&!e._shouldAlwaysFloat())("mat-form-field-empty",e._control.empty&&!e._shouldAlwaysFloat())("mat-accent","accent"==e.color)("mat-warn","warn"==e.color),R("cdkObserveContentDisabled","outline"!=e.appearance)("id",e._labelId)("ngSwitch",e._hasLabel()),Je("for",e._control.id)("aria-owns",e._control.id),I(2),R("ngSwitchCase",!1),I(1),R("ngSwitchCase",!0),I(1),R("ngIf",!e.hideRequiredMarker&&e._control.required&&!e._control.disabled)}}function IJ(t,n){1&t&&(v(0,"div",24),nn(1,4),b())}function PJ(t,n){if(1&t&&(v(0,"div",25),q(1,"span",26),b()),2&t){const e=re();I(1),Rt("mat-accent","accent"==e.color)("mat-warn","warn"==e.color)}}function RJ(t,n){1&t&&(v(0,"div"),nn(1,5),b()),2&t&&R("@transitionMessages",re()._subscriptAnimationState)}function FJ(t,n){if(1&t&&(v(0,"div",30),M(1),b()),2&t){const e=re(2);R("id",e._hintLabelId),I(1),Qn(e.hintLabel)}}function NJ(t,n){if(1&t&&(v(0,"div",27),$(1,FJ,2,2,"div",28),nn(2,6),q(3,"div",29),nn(4,7),b()),2&t){const e=re();R("@transitionMessages",e._subscriptAnimationState),I(1),R("ngIf",e.hintLabel)}}const LJ=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],BJ=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"];let VJ=0;const aN=new u("MatError");let rm=(()=>{class t{constructor(e,i){this.id="mat-error-"+VJ++,e||i.nativeElement.setAttribute("aria-live","polite")}}return t.\u0275fac=function(e){return new(e||t)(ho("aria-live"),D(xe))},t.\u0275dir=fe({type:t,selectors:[["mat-error"]],hostAttrs:["aria-atomic","true",1,"mat-error"],hostVars:1,hostBindings:function(e,i){2&e&&Je("id",i.id)},inputs:{id:"id"},features:[_t([{provide:aN,useExisting:t}])]}),t})();const HJ={transitionMessages:Pr("transitionMessages",[In("enter",wt({opacity:1,transform:"translateY(0%)"})),ri("void => enter",[wt({opacity:0,transform:"translateY(-5px)"}),mi("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let mb=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=fe({type:t}),t})();const zJ=new u("MatHint");let Ho=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=fe({type:t,selectors:[["mat-label"]]}),t})(),WJ=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=fe({type:t,selectors:[["mat-placeholder"]]}),t})();const jJ=new u("MatPrefix"),lN=new u("MatSuffix");let UJ=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=fe({type:t,selectors:[["","matSuffix",""]],features:[_t([{provide:lN,useExisting:t}])]}),t})(),cN=0;const $J=Ou(class{constructor(t){this._elementRef=t}},"primary"),qJ=new u("MAT_FORM_FIELD_DEFAULT_OPTIONS"),gb=new u("MatFormField");let Fo=(()=>{class t extends $J{constructor(e,i,r,o,s,a,l){super(e),this._changeDetectorRef=i,this._dir=r,this._defaults=o,this._platform=s,this._ngZone=a,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new pe,this._hideRequiredMarker=!1,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId="mat-hint-"+cN++,this._labelId="mat-form-field-label-"+cN++,this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled="NoopAnimations"!==l,this.appearance=o?.appearance||"legacy",o&&(this._hideRequiredMarker=Boolean(o.hideRequiredMarker),o.color&&(this.color=this.defaultColor=o.color))}get appearance(){return this._appearance}set appearance(e){const i=this._appearance;this._appearance=e||this._defaults?.appearance||"legacy","outline"===this._appearance&&i!==e&&(this._outlineGapCalculationNeededOnStable=!0)}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=vt(e)}_shouldAlwaysFloat(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}_canLabelFloat(){return"never"!==this.floatLabel}get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}get floatLabel(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}get _control(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic}set _control(e){this._explicitFormFieldControl=e}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._connectionContainerRef||this._elementRef}ngAfterContentInit(){this._validateControlChild();const e=this._control;e.controlType&&this._elementRef.nativeElement.classList.add(`mat-form-field-type-${e.controlType}`),e.stateChanges.pipe(Ui(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),e.ngControl&&e.ngControl.valueChanges&&e.ngControl.valueChanges.pipe(rn(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(rn(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),Ki(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe(Ui(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe(Ui(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe(rn(this._destroyed)).subscribe(()=>{"function"==typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this.updateOutlineGap())}):this.updateOutlineGap()})}ngAfterContentChecked(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}ngAfterViewInit(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_shouldForward(e){const i=this._control?this._control.ngControl:null;return i&&i[e]}_hasPlaceholder(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}_hasLabel(){return!(!this._labelChildNonStatic&&!this._labelChildStatic)}_shouldLabelFloat(){return this._canLabelFloat()&&(this._control&&this._control.shouldLabelFloat||this._shouldAlwaysFloat())}_hideControlPlaceholder(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}_hasFloatingLabel(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_animateAndLockLabel(){this._hasFloatingLabel()&&this._canLabelFloat()&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,Ia(this._label.nativeElement,"transitionend").pipe(di(1)).subscribe(()=>{this._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())}_validatePlaceholders(){}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_getDefaultFloatLabelState(){return this._defaults&&this._defaults.floatLabel||"auto"}_syncDescribedByIds(){if(this._control){let e=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&e.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const i=this._hintChildren?this._hintChildren.find(o=>"start"===o.align):null,r=this._hintChildren?this._hintChildren.find(o=>"end"===o.align):null;i?e.push(i.id):this._hintLabel&&e.push(this._hintLabelId),r&&e.push(r.id)}else this._errorChildren&&e.push(...this._errorChildren.map(i=>i.id));this._control.setDescribedByIds(e)}}_validateControlChild(){}updateOutlineGap(){const e=this._label?this._label.nativeElement:null,i=this._connectionContainerRef.nativeElement,r=".mat-form-field-outline-start",o=".mat-form-field-outline-gap";if("outline"!==this.appearance||!this._platform.isBrowser)return;if(!e||!e.children.length||!e.textContent.trim()){const p=i.querySelectorAll(`${r}, ${o}`);for(let m=0;m0?.75*k+10:0}for(let p=0;p{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Ct({type:t}),t.\u0275inj=yt({imports:[Ao,zt,Kp,zt]}),t})();const YJ=new u("MAT_INPUT_VALUE_ACCESSOR"),KJ=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let ZJ=0;const QJ=fF(class{constructor(t,n,e,i){this._defaultErrorStateMatcher=t,this._parentForm=n,this._parentFormGroup=e,this.ngControl=i,this.stateChanges=new pe}});let ia=(()=>{class t extends QJ{constructor(e,i,r,o,s,a,l,c,p,m){super(a,o,s,r),this._elementRef=e,this._platform=i,this._autofillMonitor=c,this._formField=m,this._uid="mat-input-"+ZJ++,this.focused=!1,this.stateChanges=new pe,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(k=>qR().has(k)),this._iOSKeyupListener=k=>{const A=k.target;!A.value&&0===A.selectionStart&&0===A.selectionEnd&&(A.setSelectionRange(1,1),A.setSelectionRange(0,0))};const _=this._elementRef.nativeElement,C=_.nodeName.toLowerCase();this._inputValueAccessor=l||_,this._previousNativeValue=this.value,this.id=this.id,i.IOS&&p.runOutsideAngular(()=>{e.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===C,this._isTextarea="textarea"===C,this._isInFormField=!!m,this._isNativeSelect&&(this.controlType=_.multiple?"mat-native-select-multiple":"mat-native-select")}get disabled(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled}set disabled(e){this._disabled=vt(e),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(e){this._id=e||this._uid}get required(){return this._required??this.ngControl?.control?.hasValidator(Ma.required)??!1}set required(e){this._required=vt(e)}get type(){return this._type}set type(e){this._type=e||"text",this._validateType(),!this._isTextarea&&qR().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(e){e!==this.value&&(this._inputValueAccessor.value=e,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(e){this._readonly=vt(e)}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(e=>{this.autofilled=e.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._platform.IOS&&this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener)}ngDoCheck(){this.ngControl&&this.updateErrorState(),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(e){this._elementRef.nativeElement.focus(e)}_focusChanged(e){e!==this.focused&&(this.focused=e,this.stateChanges.next())}_onInput(){}_dirtyCheckPlaceholder(){const e=this._formField,i=e&&"legacy"===e.appearance&&!e._hasLabel?.()?null:this.placeholder;if(i!==this._previousPlaceholder){const r=this._elementRef.nativeElement;this._previousPlaceholder=i,i?r.setAttribute("placeholder",i):r.removeAttribute("placeholder")}}_dirtyCheckNativeValue(){const e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next())}_validateType(){KJ.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let e=this._elementRef.nativeElement.validity;return e&&e.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const e=this._elementRef.nativeElement,i=e.options[0];return this.focused||e.multiple||!this.empty||!!(e.selectedIndex>-1&&i&&i.label)}return this.focused||!this.empty}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const e=this._elementRef.nativeElement;return this._isNativeSelect&&(e.multiple||e.size>1)}}return t.\u0275fac=function(e){return new(e||t)(D(xe),D(dr),D(Ta,10),D(ns,8),D(Ea,8),D(bh),D(YJ,10),D(CJ),D(bt),D(gb,8))},t.\u0275dir=fe({type:t,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-input-element","mat-form-field-autofill-control"],hostVars:12,hostBindings:function(e,i){1&e&&ne("focus",function(){return i._focusChanged(!0)})("blur",function(){return i._focusChanged(!1)})("input",function(){return i._onInput()}),2&e&&(ys("disabled",i.disabled)("required",i.required),Je("id",i.id)("data-placeholder",i.placeholder)("name",i.name||null)("readonly",i.readonly&&!i._isNativeSelect||null)("aria-invalid",i.empty&&i.required?null:i.errorState)("aria-required",i.required),Rt("mat-input-server",i._isServer)("mat-native-select-inline",i._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],features:[_t([{provide:mb,useExisting:t}]),we,Tn]}),t})(),XJ=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Ct({type:t}),t.\u0275inj=yt({providers:[bh],imports:[sN,Sx,zt,sN,Sx]}),t})();function dN(t,n){return n?e=>bp(n.pipe(di(1),function JJ(){return Ye((t,n)=>{t.subscribe(Ot(n,x))})}()),e.pipe(dN(t))):mt((e,i)=>z(t(e,i)).pipe(di(1),HO(e)))}function _b(t,n=mh){const e=em(t,n);return dN(()=>e)}const eee=["mat-menu-item",""];function tee(t,n){1&t&&(vr(),v(0,"svg",2),q(1,"polygon",3),b())}const hN=["*"];function nee(t,n){if(1&t){const e=Zn();v(0,"div",0),ne("keydown",function(r){return ut(e),lt(re()._handleKeydown(r))})("click",function(){return ut(e),lt(re().closed.emit("click"))})("@transformMenu.start",function(r){return ut(e),lt(re()._onAnimationStart(r))})("@transformMenu.done",function(r){return ut(e),lt(re()._onAnimationDone(r))}),v(1,"div",1),nn(2),b()()}if(2&t){const e=re();R("id",e.panelId)("ngClass",e._classList)("@transformMenu",e._panelAnimationState),Je("aria-label",e.ariaLabel||null)("aria-labelledby",e.ariaLabelledby||null)("aria-describedby",e.ariaDescribedby||null)}}const vb={transformMenu:Pr("transformMenu",[In("void",wt({opacity:0,transform:"scale(0.8)"})),ri("void => enter",mi("120ms cubic-bezier(0, 0, 0.2, 1)",wt({opacity:1,transform:"scale(1)"}))),ri("* => void",mi("100ms 25ms linear",wt({opacity:0})))]),fadeInItems:Pr("fadeInItems",[In("showing",wt({opacity:1})),ri("void => *",[wt({opacity:0}),mi("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},iee=new u("MatMenuContent"),xx=new u("MAT_MENU_PANEL"),ree=Ts(os(class{}));let Mh=(()=>{class t extends ree{constructor(e,i,r,o,s){super(),this._elementRef=e,this._document=i,this._focusMonitor=r,this._parentMenu=o,this._changeDetectorRef=s,this.role="menuitem",this._hovered=new pe,this._focused=new pe,this._highlighted=!1,this._triggersSubmenu=!1,o?.addItem?.(this)}focus(e,i){this._focusMonitor&&e?this._focusMonitor.focusVia(this._getHostElement(),e,i):this._getHostElement().focus(i),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(e){this.disabled&&(e.preventDefault(),e.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){const e=this._elementRef.nativeElement.cloneNode(!0),i=e.querySelectorAll("mat-icon, .material-icons");for(let r=0;r{class t{constructor(e,i,r,o){this._elementRef=e,this._ngZone=i,this._defaultOptions=r,this._changeDetectorRef=o,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new Zs,this._tabSubscription=Z.EMPTY,this._classList={},this._panelAnimationState="void",this._animationDone=new pe,this.overlayPanelClass=this._defaultOptions.overlayPanelClass||"",this.backdropClass=this._defaultOptions.backdropClass,this._overlapTrigger=this._defaultOptions.overlapTrigger,this._hasBackdrop=this._defaultOptions.hasBackdrop,this.closed=new $e,this.close=this.closed,this.panelId="mat-menu-panel-"+see++}get xPosition(){return this._xPosition}set xPosition(e){this._xPosition=e,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(e){this._yPosition=e,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(e){this._overlapTrigger=vt(e)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(e){this._hasBackdrop=vt(e)}set panelClass(e){const i=this._previousPanelClass;i&&i.length&&i.split(" ").forEach(r=>{this._classList[r]=!1}),this._previousPanelClass=e,e&&e.length&&(e.split(" ").forEach(r=>{this._classList[r]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(e){this.panelClass=e}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new Zp(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._tabSubscription=this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe(Ui(this._directDescendantItems),Ar(e=>Ki(...e.map(i=>i._focused)))).subscribe(e=>this._keyManager.updateActiveItem(e)),this._directDescendantItems.changes.subscribe(e=>{const i=this._keyManager;if("enter"===this._panelAnimationState&&i.activeItem?._hasFocus()){const r=e.toArray(),o=Math.max(0,Math.min(r.length-1,i.activeItemIndex||0));r[o]&&!r[o].disabled?i.setActiveItem(o):i.setNextItemActive()}})}ngOnDestroy(){this._directDescendantItems.destroy(),this._tabSubscription.unsubscribe(),this.closed.complete()}_hovered(){return this._directDescendantItems.changes.pipe(Ui(this._directDescendantItems),Ar(i=>Ki(...i.map(r=>r._hovered))))}addItem(e){}removeItem(e){}_handleKeydown(e){const i=e.keyCode,r=this._keyManager;switch(i){case 27:no(e)||(e.preventDefault(),this.closed.emit("keydown"));break;case 37:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case 39:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:return(38===i||40===i)&&r.setFocusOrigin("keyboard"),void r.onKeydown(e)}e.stopPropagation()}focusFirstItem(e="program"){this._ngZone.onStable.pipe(di(1)).subscribe(()=>{let i=null;if(this._directDescendantItems.length&&(i=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!i||!i.contains(document.activeElement)){const r=this._keyManager;r.setFocusOrigin(e).setFirstItemActive(),!r.activeItem&&i&&i.focus()}})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(e){const i=Math.min(this._baseElevation+e,24),r=`${this._elevationPrefix}${i}`,o=Object.keys(this._classList).find(s=>s.startsWith(this._elevationPrefix));(!o||o===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[r]=!0,this._previousElevation=r)}setPositionClasses(e=this.xPosition,i=this.yPosition){const r=this._classList;r["mat-menu-before"]="before"===e,r["mat-menu-after"]="after"===e,r["mat-menu-above"]="above"===i,r["mat-menu-below"]="below"===i,this._changeDetectorRef?.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(e){this._animationDone.next(e),this._isAnimating=!1}_onAnimationStart(e){this._isAnimating=!0,"enter"===e.toState&&0===this._keyManager.activeItemIndex&&(e.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe(Ui(this._allItems)).subscribe(e=>{this._directDescendantItems.reset(e.filter(i=>i._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}return t.\u0275fac=function(e){return new(e||t)(D(xe),D(bt),D(fN),D(wn))},t.\u0275dir=fe({type:t,contentQueries:function(e,i,r){if(1&e&&(Qt(r,iee,5),Qt(r,Mh,5),Qt(r,Mh,4)),2&e){let o;ue(o=de())&&(i.lazyContent=o.first),ue(o=de())&&(i._allItems=o),ue(o=de())&&(i.items=o)}},viewQuery:function(e,i){if(1&e&&Oe(ii,5),2&e){let r;ue(r=de())&&(i.templateRef=r.first)}},inputs:{backdropClass:"backdropClass",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"}}),t})(),kx=(()=>{class t extends om{constructor(e,i,r,o){super(e,i,r,o),this._elevationPrefix="mat-elevation-z",this._baseElevation=4}}return t.\u0275fac=function(e){return new(e||t)(D(xe),D(bt),D(fN),D(wn))},t.\u0275cmp=Pe({type:t,selectors:[["mat-menu"]],hostVars:3,hostBindings:function(e,i){2&e&&Je("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[_t([{provide:xx,useExisting:t}]),we],ngContentSelectors:hN,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-menu-panel",3,"id","ngClass","keydown","click"],[1,"mat-menu-content"]],template:function(e,i){1&e&&(Di(),$(0,nee,3,6,"ng-template"))},dependencies:[Qd],styles:['mat-menu{display:none}.mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:4px;outline:0;min-height:64px;position:relative}.mat-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-menu-panel{outline:solid 1px}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}.mat-menu-item[disabled]::after{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.cdk-high-contrast-active .mat-menu-item{margin-top:1px}.mat-menu-item-submenu-trigger{padding-right:32px}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}.mat-menu-submenu-icon{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:5px;height:10px;fill:currentColor}[dir=rtl] .mat-menu-submenu-icon{right:auto;left:16px;transform:translateY(-50%) scaleX(-1)}.cdk-high-contrast-active .mat-menu-submenu-icon{fill:CanvasText}button.mat-menu-item{width:100%}.mat-menu-item .mat-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}'],encapsulation:2,data:{animation:[vb.transformMenu,vb.fadeInItems]},changeDetection:0}),t})();const pN=new u("mat-menu-scroll-strategy"),lee={provide:pN,deps:[go],useFactory:function aee(t){return()=>t.scrollStrategies.reposition()}},mN=Mu({passive:!0});let cee=(()=>{class t{constructor(e,i,r,o,s,a,l,c,p){this._overlay=e,this._element=i,this._viewContainerRef=r,this._menuItemInstance=a,this._dir=l,this._focusMonitor=c,this._ngZone=p,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=Z.EMPTY,this._hoverSubscription=Z.EMPTY,this._menuCloseSubscription=Z.EMPTY,this._handleTouchStart=m=>{rx(m)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new $e,this.onMenuOpen=this.menuOpened,this.menuClosed=new $e,this.onMenuClose=this.menuClosed,this._scrollStrategy=o,this._parentMaterialMenu=s instanceof om?s:void 0,i.nativeElement.addEventListener("touchstart",this._handleTouchStart,mN),a&&(a._triggersSubmenu=this.triggersSubmenu())}get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(e){this.menu=e}get menu(){return this._menu}set menu(e){e!==this._menu&&(this._menu=e,this._menuCloseSubscription.unsubscribe(),e&&(this._menuCloseSubscription=e.close.subscribe(i=>{this._destroyMenu(i),("click"===i||"tab"===i)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(i)})))}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,mN),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}triggersSubmenu(){return!(!this._menuItemInstance||!this._parentMaterialMenu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){const e=this.menu;if(this._menuOpen||!e)return;const i=this._createOverlay(e),r=i.getConfig(),o=r.positionStrategy;this._setPosition(e,o),r.hasBackdrop=e.hasBackdrop??!this.triggersSubmenu(),i.attach(this._getPortal(e)),e.lazyContent&&e.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(e),e instanceof om&&(e._startAnimation(),e._directDescendantItems.changes.pipe(rn(e.close)).subscribe(()=>{o.withLockedPosition(!1).reapplyLastPosition(),o.withLockedPosition(!0)}))}closeMenu(){this.menu?.close.emit()}focus(e,i){this._focusMonitor&&e?this._focusMonitor.focusVia(this._element,e,i):this._element.nativeElement.focus(i)}updatePosition(){this._overlayRef?.updatePosition()}_destroyMenu(e){if(!this._overlayRef||!this.menuOpen)return;const i=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===e||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,i instanceof om?(i._resetAnimation(),i.lazyContent?i._animationDone.pipe(hi(r=>"void"===r.toState),di(1),rn(i.lazyContent._attached)).subscribe({next:()=>i.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),i?.lazyContent?.detach())}_initMenu(e){e.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,e.direction=this.dir,this._setMenuElevation(e),e.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(e){if(e.setElevation){let i=0,r=e.parentMenu;for(;r;)i++,r=r.parentMenu;e.setElevation(i)}}_setIsMenuOpen(e){this._menuOpen=e,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(e)}_createOverlay(e){if(!this._overlayRef){const i=this._getOverlayConfig(e);this._subscribeToPositions(e,i.positionStrategy),this._overlayRef=this._overlay.create(i),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(e){return new Sh({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:e.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:e.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(e,i){e.setPositionClasses&&i.positionChanges.subscribe(r=>{const o="start"===r.connectionPair.overlayX?"after":"before",s="top"===r.connectionPair.overlayY?"below":"above";this._ngZone?this._ngZone.run(()=>e.setPositionClasses(o,s)):e.setPositionClasses(o,s)})}_setPosition(e,i){let[r,o]="before"===e.xPosition?["end","start"]:["start","end"],[s,a]="above"===e.yPosition?["bottom","top"]:["top","bottom"],[l,c]=[s,a],[p,m]=[r,o],_=0;if(this.triggersSubmenu()){if(m=r="before"===e.xPosition?"start":"end",o=p="end"===r?"start":"end",this._parentMaterialMenu){if(null==this._parentInnerPadding){const C=this._parentMaterialMenu.items.first;this._parentInnerPadding=C?C._getHostElement().offsetTop:0}_="bottom"===s?this._parentInnerPadding:-this._parentInnerPadding}}else e.overlapTrigger||(l="top"===s?"bottom":"top",c="top"===a?"bottom":"top");i.withPositions([{originX:r,originY:l,overlayX:p,overlayY:s,offsetY:_},{originX:o,originY:l,overlayX:m,overlayY:s,offsetY:_},{originX:r,originY:c,overlayX:p,overlayY:a,offsetY:-_},{originX:o,originY:c,overlayX:m,overlayY:a,offsetY:-_}])}_menuClosingActions(){const e=this._overlayRef.backdropClick(),i=this._overlayRef.detachments();return Ki(e,this._parentMaterialMenu?this._parentMaterialMenu.closed:ct(),this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe(hi(s=>s!==this._menuItemInstance),hi(()=>this._menuOpen)):ct(),i)}_handleMousedown(e){ix(e)||(this._openedBy=0===e.button?"mouse":void 0,this.triggersSubmenu()&&e.preventDefault())}_handleKeydown(e){const i=e.keyCode;(13===i||32===i)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(39===i&&"ltr"===this.dir||37===i&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(e){this.triggersSubmenu()?(e.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe(hi(e=>e===this._menuItemInstance&&!e.disabled),_b(0,hx)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof om&&this.menu._isAnimating?this.menu._animationDone.pipe(di(1),_b(0,hx),rn(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(e){return(!this._portal||this._portal.templateRef!==e.templateRef)&&(this._portal=new Pa(e.templateRef,this._viewContainerRef)),this._portal}}return t.\u0275fac=function(e){return new(e||t)(D(go),D(xe),D(wi),D(pN),D(xx,8),D(Mh,10),D(io,8),D(Ro),D(bt))},t.\u0275dir=fe({type:t,hostVars:3,hostBindings:function(e,i){1&e&&ne("click",function(o){return i._handleClick(o)})("mousedown",function(o){return i._handleMousedown(o)})("keydown",function(o){return i._handleKeydown(o)}),2&e&&Je("aria-haspopup",i.menu?"menu":null)("aria-expanded",i.menuOpen||null)("aria-controls",i.menuOpen?i.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"],restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"}}),t})(),Dx=(()=>{class t extends cee{}return t.\u0275fac=function(){let n;return function(i){return(n||(n=Ht(t)))(i||t)}}(),t.\u0275dir=fe({type:t,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-menu-trigger"],exportAs:["matMenuTrigger"],features:[we]}),t})(),uee=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Ct({type:t}),t.\u0275inj=yt({providers:[lee],imports:[Ao,zt,El,Pu,wh,zt]}),t})();const dee=["input"],hee=function(t){return{enterDuration:t}},fee=["*"],pee=new u("mat-radio-default-options",{providedIn:"root",factory:function mee(){return{color:"accent"}}});let gN=0;const gee={provide:Oo,useExisting:xn(()=>Mx),multi:!0};class _N{constructor(n,e){this.source=n,this.value=e}}const vN=new u("MatRadioGroup");let _ee=(()=>{class t{constructor(e){this._changeDetector=e,this._value=null,this._name="mat-radio-group-"+gN++,this._selected=null,this._isInitialized=!1,this._labelPosition="after",this._disabled=!1,this._required=!1,this._controlValueAccessorChangeFn=()=>{},this.onTouched=()=>{},this.change=new $e}get name(){return this._name}set name(e){this._name=e,this._updateRadioButtonNames()}get labelPosition(){return this._labelPosition}set labelPosition(e){this._labelPosition="before"===e?"before":"after",this._markRadiosForCheck()}get value(){return this._value}set value(e){this._value!==e&&(this._value=e,this._updateSelectedRadioFromValue(),this._checkSelectedRadioButton())}_checkSelectedRadioButton(){this._selected&&!this._selected.checked&&(this._selected.checked=!0)}get selected(){return this._selected}set selected(e){this._selected=e,this.value=e?e.value:null,this._checkSelectedRadioButton()}get disabled(){return this._disabled}set disabled(e){this._disabled=vt(e),this._markRadiosForCheck()}get required(){return this._required}set required(e){this._required=vt(e),this._markRadiosForCheck()}ngAfterContentInit(){this._isInitialized=!0}_touch(){this.onTouched&&this.onTouched()}_updateRadioButtonNames(){this._radios&&this._radios.forEach(e=>{e.name=this.name,e._markForCheck()})}_updateSelectedRadioFromValue(){this._radios&&(null===this._selected||this._selected.value!==this._value)&&(this._selected=null,this._radios.forEach(i=>{i.checked=this.value===i.value,i.checked&&(this._selected=i)}))}_emitChangeEvent(){this._isInitialized&&this.change.emit(new _N(this._selected,this._value))}_markRadiosForCheck(){this._radios&&this._radios.forEach(e=>e._markForCheck())}writeValue(e){this.value=e,this._changeDetector.markForCheck()}registerOnChange(e){this._controlValueAccessorChangeFn=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this.disabled=e,this._changeDetector.markForCheck()}}return t.\u0275fac=function(e){return new(e||t)(D(wn))},t.\u0275dir=fe({type:t,inputs:{color:"color",name:"name",labelPosition:"labelPosition",value:"value",selected:"selected",disabled:"disabled",required:"required"},outputs:{change:"change"}}),t})(),Mx=(()=>{class t extends _ee{}return t.\u0275fac=function(){let n;return function(i){return(n||(n=Ht(t)))(i||t)}}(),t.\u0275dir=fe({type:t,selectors:[["mat-radio-group"]],contentQueries:function(e,i,r){if(1&e&&Qt(r,Tx,5),2&e){let o;ue(o=de())&&(i._radios=o)}},hostAttrs:["role","radiogroup",1,"mat-radio-group"],exportAs:["matRadioGroup"],features:[_t([gee,{provide:vN,useExisting:t}]),we]}),t})();class vee{constructor(n){this._elementRef=n}}const bee=Ts(Qp(vee));let yee=(()=>{class t extends bee{constructor(e,i,r,o,s,a,l,c){super(i),this._changeDetector=r,this._focusMonitor=o,this._radioDispatcher=s,this._providerOverride=l,this._uniqueId="mat-radio-"+ ++gN,this.id=this._uniqueId,this.change=new $e,this._checked=!1,this._value=null,this._removeUniqueSelectionListener=()=>{},this.radioGroup=e,this._noopAnimations="NoopAnimations"===a,c&&(this.tabIndex=Vo(c,0)),this._removeUniqueSelectionListener=s.listen((p,m)=>{p!==this.id&&m===this.name&&(this.checked=!1)})}get checked(){return this._checked}set checked(e){const i=vt(e);this._checked!==i&&(this._checked=i,i&&this.radioGroup&&this.radioGroup.value!==this.value?this.radioGroup.selected=this:!i&&this.radioGroup&&this.radioGroup.value===this.value&&(this.radioGroup.selected=null),i&&this._radioDispatcher.notify(this.id,this.name),this._changeDetector.markForCheck())}get value(){return this._value}set value(e){this._value!==e&&(this._value=e,null!==this.radioGroup&&(this.checked||(this.checked=this.radioGroup.value===e),this.checked&&(this.radioGroup.selected=this)))}get labelPosition(){return this._labelPosition||this.radioGroup&&this.radioGroup.labelPosition||"after"}set labelPosition(e){this._labelPosition=e}get disabled(){return this._disabled||null!==this.radioGroup&&this.radioGroup.disabled}set disabled(e){this._setDisabled(vt(e))}get required(){return this._required||this.radioGroup&&this.radioGroup.required}set required(e){this._required=vt(e)}get color(){return this._color||this.radioGroup&&this.radioGroup.color||this._providerOverride&&this._providerOverride.color||"accent"}set color(e){this._color=e}get inputId(){return`${this.id||this._uniqueId}-input`}focus(e,i){i?this._focusMonitor.focusVia(this._inputElement,i,e):this._inputElement.nativeElement.focus(e)}_markForCheck(){this._changeDetector.markForCheck()}ngOnInit(){this.radioGroup&&(this.checked=this.radioGroup.value===this._value,this.checked&&(this.radioGroup.selected=this),this.name=this.radioGroup.name)}ngDoCheck(){this._updateTabIndex()}ngAfterViewInit(){this._updateTabIndex(),this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{!e&&this.radioGroup&&this.radioGroup._touch()})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._removeUniqueSelectionListener()}_emitChangeEvent(){this.change.emit(new _N(this,this._value))}_isRippleDisabled(){return this.disableRipple||this.disabled}_onInputClick(e){e.stopPropagation()}_onInputInteraction(e){if(e.stopPropagation(),!this.checked&&!this.disabled){const i=this.radioGroup&&this.value!==this.radioGroup.value;this.checked=!0,this._emitChangeEvent(),this.radioGroup&&(this.radioGroup._controlValueAccessorChangeFn(this.value),i&&this.radioGroup._emitChangeEvent())}}_setDisabled(e){this._disabled!==e&&(this._disabled=e,this._changeDetector.markForCheck())}_updateTabIndex(){const e=this.radioGroup;let i;if(i=e&&e.selected&&!this.disabled?e.selected===this?this.tabIndex:-1:this.tabIndex,i!==this._previousTabIndex){const r=this._inputElement?.nativeElement;r&&(r.setAttribute("tabindex",i+""),this._previousTabIndex=i)}}}return t.\u0275fac=function(e){_a()},t.\u0275dir=fe({type:t,viewQuery:function(e,i){if(1&e&&Oe(dee,5),2&e){let r;ue(r=de())&&(i._inputElement=r.first)}},inputs:{id:"id",name:"name",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],checked:"checked",value:"value",labelPosition:"labelPosition",disabled:"disabled",required:"required",color:"color"},outputs:{change:"change"},features:[we]}),t})(),Tx=(()=>{class t extends yee{constructor(e,i,r,o,s,a,l,c){super(e,i,r,o,s,a,l,c)}}return t.\u0275fac=function(e){return new(e||t)(D(vN,8),D(xe),D(wn),D(Ro),D(yx),D(nr,8),D(pee,8),ho("tabindex"))},t.\u0275cmp=Pe({type:t,selectors:[["mat-radio-button"]],hostAttrs:[1,"mat-radio-button"],hostVars:17,hostBindings:function(e,i){1&e&&ne("focus",function(){return i._inputElement.nativeElement.focus()}),2&e&&(Je("tabindex",null)("id",i.id)("aria-label",null)("aria-labelledby",null)("aria-describedby",null),Rt("mat-radio-checked",i.checked)("mat-radio-disabled",i.disabled)("_mat-animation-noopable",i._noopAnimations)("mat-primary","primary"===i.color)("mat-accent","accent"===i.color)("mat-warn","warn"===i.color))},inputs:{disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matRadioButton"],features:[we],ngContentSelectors:fee,decls:13,vars:19,consts:[[1,"mat-radio-label"],["label",""],[1,"mat-radio-container"],[1,"mat-radio-outer-circle"],[1,"mat-radio-inner-circle"],["type","radio",1,"mat-radio-input",3,"id","checked","disabled","required","change","click"],["input",""],["mat-ripple","",1,"mat-radio-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered","matRippleRadius","matRippleAnimation"],[1,"mat-ripple-element","mat-radio-persistent-ripple"],[1,"mat-radio-label-content"],[2,"display","none"]],template:function(e,i){if(1&e&&(Di(),v(0,"label",0,1)(2,"span",2),q(3,"span",3)(4,"span",4),v(5,"input",5,6),ne("change",function(o){return i._onInputInteraction(o)})("click",function(o){return i._onInputClick(o)}),b(),v(7,"span",7),q(8,"span",8),b()(),v(9,"span",9)(10,"span",10),M(11,"\xa0"),b(),nn(12),b()()),2&e){const r=yi(1);Je("for",i.inputId),I(5),R("id",i.inputId)("checked",i.checked)("disabled",i.disabled)("required",i.required),Je("name",i.name)("value",i.value)("aria-label",i.ariaLabel)("aria-labelledby",i.ariaLabelledby)("aria-describedby",i.ariaDescribedby),I(2),R("matRippleTrigger",r)("matRippleDisabled",i._isRippleDisabled())("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",hu(17,hee,i._noopAnimations?0:150)),I(2),Rt("mat-radio-label-before","before"==i.labelPosition)}},dependencies:[ss],styles:['.mat-radio-button{display:inline-block;-webkit-tap-highlight-color:rgba(0,0,0,0);outline:0}.mat-radio-label{-webkit-user-select:none;user-select:none;cursor:pointer;display:inline-flex;align-items:center;white-space:nowrap;vertical-align:middle;width:100%}.mat-radio-container{box-sizing:border-box;display:inline-block;position:relative;width:20px;height:20px;flex-shrink:0}.mat-radio-outer-circle{box-sizing:border-box;display:block;height:20px;left:0;position:absolute;top:0;transition:border-color ease 280ms;width:20px;border-width:2px;border-style:solid;border-radius:50%}._mat-animation-noopable .mat-radio-outer-circle{transition:none}.mat-radio-inner-circle{border-radius:50%;box-sizing:border-box;display:block;height:20px;left:0;position:absolute;top:0;opacity:0;transition:transform ease 280ms,background-color ease 280ms,opacity linear 1ms 280ms;width:20px;transform:scale(0.001);-webkit-print-color-adjust:exact;color-adjust:exact}.mat-radio-checked .mat-radio-inner-circle{transform:scale(0.5);opacity:1;transition:transform ease 280ms,background-color ease 280ms}.cdk-high-contrast-active .mat-radio-checked .mat-radio-inner-circle{border:solid 10px}._mat-animation-noopable .mat-radio-inner-circle{transition:none}.mat-radio-label-content{-webkit-user-select:auto;user-select:auto;display:inline-block;order:0;line-height:inherit;padding-left:8px;padding-right:0}[dir=rtl] .mat-radio-label-content{padding-right:8px;padding-left:0}.mat-radio-label-content.mat-radio-label-before{order:-1;padding-left:0;padding-right:8px}[dir=rtl] .mat-radio-label-content.mat-radio-label-before{padding-right:0;padding-left:8px}.mat-radio-disabled,.mat-radio-disabled .mat-radio-label{cursor:default}.mat-radio-button .mat-radio-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-radio-button .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple){opacity:.16}.mat-radio-persistent-ripple{width:100%;height:100%;transform:none;top:0;left:0}.mat-radio-container:hover .mat-radio-persistent-ripple{opacity:.04}.mat-radio-button:not(.mat-radio-disabled).cdk-keyboard-focused .mat-radio-persistent-ripple,.mat-radio-button:not(.mat-radio-disabled).cdk-program-focused .mat-radio-persistent-ripple{opacity:.12}.mat-radio-persistent-ripple,.mat-radio-disabled .mat-radio-container:hover .mat-radio-persistent-ripple{opacity:0}@media(hover: none){.mat-radio-container:hover .mat-radio-persistent-ripple{display:none}}.mat-radio-input{opacity:0;position:absolute;top:0;left:0;margin:0;width:100%;height:100%;cursor:inherit;z-index:-1}.mat-radio-input:focus~.mat-focus-indicator::before{content:""}.cdk-high-contrast-active .mat-radio-disabled{opacity:.5}'],encapsulation:2,changeDetection:0}),t})(),wee=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Ct({type:t}),t.\u0275inj=yt({imports:[El,zt,zt]}),t})();const Cee=["trigger"],See=["panel"];function xee(t,n){if(1&t&&(v(0,"span",8),M(1),b()),2&t){const e=re();I(1),Qn(e.placeholder)}}function kee(t,n){if(1&t&&(v(0,"span",12),M(1),b()),2&t){const e=re(2);I(1),Qn(e.triggerValue)}}function Dee(t,n){1&t&&nn(0,0,["*ngSwitchCase","true"])}function Mee(t,n){1&t&&(v(0,"span",9),$(1,kee,2,1,"span",10),$(2,Dee,1,0,"ng-content",11),b()),2&t&&(R("ngSwitch",!!re().customTrigger),I(2),R("ngSwitchCase",!0))}function Tee(t,n){if(1&t){const e=Zn();v(0,"div",13)(1,"div",14,15),ne("@transformPanel.done",function(r){return ut(e),lt(re()._panelDoneAnimatingStream.next(r.toState))})("keydown",function(r){return ut(e),lt(re()._handleKeydown(r))}),nn(3,1),b()()}if(2&t){const e=re();R("@transformPanelWrap",void 0),I(1),c1("mat-select-panel ",e._getPanelTheme(),""),br("transform-origin",e._transformOrigin)("font-size",e._triggerFontSize,"px"),R("ngClass",e.panelClass)("@transformPanel",e.multiple?"showing-multiple":"showing"),Je("id",e.id+"-panel")("aria-multiselectable",e.multiple)("aria-label",e.ariaLabel||null)("aria-labelledby",e._getPanelAriaLabelledby())}}const Eee=[[["mat-select-trigger"]],"*"],Aee=["mat-select-trigger","*"],bN={transformPanelWrap:Pr("transformPanelWrap",[ri("* => void",Dv("@transformPanel",[kv()],{optional:!0}))]),transformPanel:Pr("transformPanel",[In("void",wt({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),In("showing",wt({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),In("showing-multiple",wt({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),ri("void => *",mi("120ms cubic-bezier(0, 0, 0.2, 1)")),ri("* => void",mi("100ms 25ms linear",wt({opacity:0})))])};let yN=0;const CN=new u("mat-select-scroll-strategy"),Ree=new u("MAT_SELECT_CONFIG"),Fee={provide:CN,deps:[go],useFactory:function Pee(t){return()=>t.scrollStrategies.reposition()}};class Nee{constructor(n,e){this.source=n,this.value=e}}const Lee=Ts(Qp(os(fF(class{constructor(t,n,e,i,r){this._elementRef=t,this._defaultErrorStateMatcher=n,this._parentForm=e,this._parentFormGroup=i,this.ngControl=r,this.stateChanges=new pe}})))),Bee=new u("MatSelectTrigger");let Vee=(()=>{class t extends Lee{constructor(e,i,r,o,s,a,l,c,p,m,_,C,k,A){super(s,o,l,c,m),this._viewportRuler=e,this._changeDetectorRef=i,this._ngZone=r,this._dir=a,this._parentFormField=p,this._liveAnnouncer=k,this._defaultOptions=A,this._panelOpen=!1,this._compareWith=(P,N)=>P===N,this._uid="mat-select-"+yN++,this._triggerAriaLabelledBy=null,this._destroy=new pe,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+yN++,this._panelDoneAnimatingStream=new pe,this._overlayPanelClass=this._defaultOptions?.overlayPanelClass||"",this._focused=!1,this.controlType="mat-select",this._multiple=!1,this._disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1,this.ariaLabel="",this.optionSelectionChanges=Jd(()=>{const P=this.options;return P?P.changes.pipe(Ui(P),Ar(()=>Ki(...P.map(N=>N.onSelectionChange)))):this._ngZone.onStable.pipe(di(1),Ar(()=>this.optionSelectionChanges))}),this.openedChange=new $e,this._openedStream=this.openedChange.pipe(hi(P=>P),Ne(()=>{})),this._closedStream=this.openedChange.pipe(hi(P=>!P),Ne(()=>{})),this.selectionChange=new $e,this.valueChange=new $e,this.ngControl&&(this.ngControl.valueAccessor=this),null!=A?.typeaheadDebounceInterval&&(this._typeaheadDebounceInterval=A.typeaheadDebounceInterval),this._scrollStrategyFactory=C,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(_)||0,this.id=this.id}get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}get required(){return this._required??this.ngControl?.control?.hasValidator(Ma.required)??!1}set required(e){this._required=vt(e),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(e){this._multiple=vt(e)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(e){this._disableOptionCentering=vt(e)}get compareWith(){return this._compareWith}set compareWith(e){this._compareWith=e,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(e){this._assignValue(e)&&this._onChange(e)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(e){this._typeaheadDebounceInterval=Vo(e)}get id(){return this._id}set id(e){this._id=e||this._uid,this.stateChanges.next()}ngOnInit(){this._selectionModel=new bx(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(Yp(),rn(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen))}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe(rn(this._destroy)).subscribe(e=>{e.added.forEach(i=>i.select()),e.removed.forEach(i=>i.deselect())}),this.options.changes.pipe(Ui(null),rn(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const e=this._getTriggerAriaLabelledby(),i=this.ngControl;if(e!==this._triggerAriaLabelledBy){const r=this._elementRef.nativeElement;this._triggerAriaLabelledBy=e,e?r.setAttribute("aria-labelledby",e):r.removeAttribute("aria-labelledby")}i&&(this._previousControl!==i.control&&(void 0!==this._previousControl&&null!==i.disabled&&i.disabled!==this.disabled&&(this.disabled=i.disabled),this._previousControl=i.control),this.updateErrorState())}ngOnChanges(e){(e.disabled||e.userAriaDescribedBy)&&this.stateChanges.next(),e.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}ngOnDestroy(){this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}writeValue(e){this._assignValue(e)}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel?.selected||[]:this._selectionModel?.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){const e=this._selectionModel.selected.map(i=>i.viewValue);return this._isRtl()&&e.reverse(),e.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(e){this.disabled||(this.panelOpen?this._handleOpenKeydown(e):this._handleClosedKeydown(e))}_handleClosedKeydown(e){const i=e.keyCode,r=40===i||38===i||37===i||39===i,o=13===i||32===i,s=this._keyManager;if(!s.isTyping()&&o&&!no(e)||(this.multiple||e.altKey)&&r)e.preventDefault(),this.open();else if(!this.multiple){const a=this.selected;s.onKeydown(e);const l=this.selected;l&&a!==l&&this._liveAnnouncer.announce(l.viewValue,1e4)}}_handleOpenKeydown(e){const i=this._keyManager,r=e.keyCode,o=40===r||38===r,s=i.isTyping();if(o&&e.altKey)e.preventDefault(),this.close();else if(s||13!==r&&32!==r||!i.activeItem||no(e))if(!s&&this._multiple&&65===r&&e.ctrlKey){e.preventDefault();const a=this.options.some(l=>!l.disabled&&!l.selected);this.options.forEach(l=>{l.disabled||(a?l.select():l.deselect())})}else{const a=i.activeItemIndex;i.onKeydown(e),this._multiple&&o&&e.shiftKey&&i.activeItem&&i.activeItemIndex!==a&&i.activeItem._selectViaInteraction()}else e.preventDefault(),i.activeItem._selectViaInteraction()}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe(di(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(e){if(this._selectionModel.selected.forEach(i=>i.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&e)Array.isArray(e),e.forEach(i=>this._selectOptionByValue(i)),this._sortValues();else{const i=this._selectOptionByValue(e);i?this._keyManager.updateActiveItem(i):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(e){const i=this.options.find(r=>{if(this._selectionModel.isSelected(r))return!1;try{return null!=r.value&&this._compareWith(r.value,e)}catch{return!1}});return i&&this._selectionModel.select(i),i}_assignValue(e){return!!(e!==this._value||this._multiple&&Array.isArray(e))&&(this.options&&this._setSelectionByValue(e),this._value=e,!0)}_initKeyManager(){this._keyManager=new rF(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe(rn(this._destroy)).subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.pipe(rn(this._destroy)).subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const e=Ki(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(rn(e)).subscribe(i=>{this._onSelect(i.source,i.isUserInput),i.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),Ki(...this.options.map(i=>i._stateChanges)).pipe(rn(e)).subscribe(()=>{this._changeDetectorRef.markForCheck(),this.stateChanges.next()})}_onSelect(e,i){const r=this._selectionModel.isSelected(e);null!=e.value||this._multiple?(r!==e.selected&&(e.selected?this._selectionModel.select(e):this._selectionModel.deselect(e)),i&&this._keyManager.setActiveItem(e),this.multiple&&(this._sortValues(),i&&this.focus())):(e.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(e.value)),r!==this._selectionModel.isSelected(e)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const e=this.options.toArray();this._selectionModel.sort((i,r)=>this.sortComparator?this.sortComparator(i,r,e):e.indexOf(i)-e.indexOf(r)),this.stateChanges.next()}}_propagateChanges(e){let i=null;i=this.multiple?this.selected.map(r=>r.value):this.selected?this.selected.value:e,this._value=i,this.valueChange.emit(i),this._onChange(i),this.selectionChange.emit(this._getChangeEvent(i)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}_canOpen(){return!this._panelOpen&&!this.disabled&&this.options?.length>0}focus(e){this._elementRef.nativeElement.focus(e)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;const e=this._parentFormField?.getLabelId();return this.ariaLabelledby?(e?e+" ":"")+this.ariaLabelledby:e}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;const e=this._parentFormField?.getLabelId();let i=(e?e+" ":"")+this._valueId;return this.ariaLabelledby&&(i+=" "+this.ariaLabelledby),i}_panelDoneAnimating(e){this.openedChange.emit(e)}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}}return t.\u0275fac=function(e){return new(e||t)(D(Sc),D(wn),D(bt),D(bh),D(xe),D(io,8),D(ns,8),D(Ea,8),D(gb,8),D(Ta,10),ho("tabindex"),D(CN),D(ox),D(Ree,8))},t.\u0275dir=fe({type:t,viewQuery:function(e,i){if(1&e&&(Oe(Cee,5),Oe(See,5),Oe(WF,5)),2&e){let r;ue(r=de())&&(i.trigger=r.first),ue(r=de())&&(i.panel=r.first),ue(r=de())&&(i._overlayDir=r.first)}},inputs:{userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:"typeaheadDebounceInterval",sortComparator:"sortComparator",id:"id"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[we,Tn]}),t})(),Na=(()=>{class t extends Vee{constructor(){super(...arguments),this._scrollTop=0,this._triggerFontSize=0,this._transformOrigin="top",this._offsetY=0,this._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}]}_calculateOverlayScroll(e,i,r){const o=this._getItemHeight();return Math.min(Math.max(0,o*e-i+o/2),r)}ngOnInit(){super.ngOnInit(),this._viewportRuler.change().pipe(rn(this._destroy)).subscribe(()=>{this.panelOpen&&(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._changeDetectorRef.markForCheck())})}open(){super._canOpen()&&(super.open(),this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._calculateOverlayPosition(),this._ngZone.onStable.pipe(di(1)).subscribe(()=>{this._triggerFontSize&&this._overlayDir.overlayRef&&this._overlayDir.overlayRef.overlayElement&&(this._overlayDir.overlayRef.overlayElement.style.fontSize=`${this._triggerFontSize}px`)}))}_scrollOptionIntoView(e){const i=ux(e,this.options,this.optionGroups),r=this._getItemHeight();this.panel.nativeElement.scrollTop=0===e&&1===i?0:CF((e+i)*r,r,this.panel.nativeElement.scrollTop,256)}_positioningSettled(){this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop}_panelDoneAnimating(e){this.panelOpen?this._scrollTop=0:(this._overlayDir.offsetX=0,this._changeDetectorRef.markForCheck()),super._panelDoneAnimating(e)}_getChangeEvent(e){return new Nee(this,e)}_calculateOverlayOffsetX(){const e=this._overlayDir.overlayRef.overlayElement.getBoundingClientRect(),i=this._viewportRuler.getViewportSize(),r=this._isRtl(),o=this.multiple?56:32;let s;if(this.multiple)s=40;else if(this.disableOptionCentering)s=16;else{let c=this._selectionModel.selected[0]||this.options.first;s=c&&c.group?32:16}r||(s*=-1);const a=0-(e.left+s-(r?o:0)),l=e.right+s-i.width+(r?0:o);a>0?s+=a+8:l>0&&(s-=l+8),this._overlayDir.offsetX=Math.round(s),this._overlayDir.overlayRef.updatePosition()}_calculateOverlayOffsetY(e,i,r){const o=this._getItemHeight(),s=(o-this._triggerRect.height)/2,a=Math.floor(256/o);let l;return this.disableOptionCentering?0:(l=0===this._scrollTop?e*o:this._scrollTop===r?(e-(this._getItemCount()-a))*o+(o-(this._getItemCount()*o-256)%o):i-o/2,Math.round(-1*l-s))}_checkOverlayWithinViewport(e){const i=this._getItemHeight(),r=this._viewportRuler.getViewportSize(),o=this._triggerRect.top-8,s=r.height-this._triggerRect.bottom-8,a=Math.abs(this._offsetY),c=Math.min(this._getItemCount()*i,256)-a-this._triggerRect.height;c>s?this._adjustPanelUp(c,s):a>o?this._adjustPanelDown(a,o,e):this._transformOrigin=this._getOriginBasedOnOption()}_adjustPanelUp(e,i){const r=Math.round(e-i);this._scrollTop-=r,this._offsetY-=r,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}_adjustPanelDown(e,i,r){const o=Math.round(e-i);if(this._scrollTop+=o,this._offsetY+=o,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=r)return this._scrollTop=r,this._offsetY=0,void(this._transformOrigin="50% top 0px")}_calculateOverlayPosition(){const e=this._getItemHeight(),i=this._getItemCount(),r=Math.min(i*e,256),s=i*e-r;let a;a=this.empty?0:Math.max(this.options.toArray().indexOf(this._selectionModel.selected[0]),0),a+=ux(a,this.options,this.optionGroups);const l=r/2;this._scrollTop=this._calculateOverlayScroll(a,l,s),this._offsetY=this._calculateOverlayOffsetY(a,l,s),this._checkOverlayWithinViewport(s)}_getOriginBasedOnOption(){const e=this._getItemHeight(),i=(e-this._triggerRect.height)/2;return`50% ${Math.abs(this._offsetY)-i+e/2}px 0px`}_getItemHeight(){return 3*this._triggerFontSize}_getItemCount(){return this.options.length+this.optionGroups.length}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=Ht(t)))(i||t)}}(),t.\u0275cmp=Pe({type:t,selectors:[["mat-select"]],contentQueries:function(e,i,r){if(1&e&&(Qt(r,Bee,5),Qt(r,Es,5),Qt(r,ob,5)),2&e){let o;ue(o=de())&&(i.customTrigger=o.first),ue(o=de())&&(i.options=o),ue(o=de())&&(i.optionGroups=o)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true",1,"mat-select"],hostVars:19,hostBindings:function(e,i){1&e&&ne("keydown",function(o){return i._handleKeydown(o)})("focus",function(){return i._onFocus()})("blur",function(){return i._onBlur()}),2&e&&(Je("id",i.id)("tabindex",i.tabIndex)("aria-controls",i.panelOpen?i.id+"-panel":null)("aria-expanded",i.panelOpen)("aria-label",i.ariaLabel||null)("aria-required",i.required.toString())("aria-disabled",i.disabled.toString())("aria-invalid",i.errorState)("aria-activedescendant",i._getAriaActiveDescendant()),Rt("mat-select-disabled",i.disabled)("mat-select-invalid",i.errorState)("mat-select-required",i.required)("mat-select-empty",i.empty)("mat-select-multiple",i.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matSelect"],features:[_t([{provide:mb,useExisting:t},{provide:rb,useExisting:t}]),we],ngContentSelectors:Aee,decls:9,vars:12,consts:[["cdk-overlay-origin","",1,"mat-select-trigger",3,"click"],["origin","cdkOverlayOrigin","trigger",""],[1,"mat-select-value",3,"ngSwitch"],["class","mat-select-placeholder mat-select-min-line",4,"ngSwitchCase"],["class","mat-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-select-arrow-wrapper"],[1,"mat-select-arrow"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayMinWidth","cdkConnectedOverlayOffsetY","backdropClick","attach","detach"],[1,"mat-select-placeholder","mat-select-min-line"],[1,"mat-select-value-text",3,"ngSwitch"],["class","mat-select-min-line",4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-select-min-line"],[1,"mat-select-panel-wrap"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(e,i){if(1&e&&(Di(Eee),v(0,"div",0,1),ne("click",function(){return i.toggle()}),v(3,"div",2),$(4,xee,2,1,"span",3),$(5,Mee,3,2,"span",4),b(),v(6,"div",5),q(7,"div",6),b()(),$(8,Tee,4,14,"ng-template",7),ne("backdropClick",function(){return i.close()})("attach",function(){return i._onAttached()})("detach",function(){return i.close()})),2&e){const r=yi(1);Je("aria-owns",i.panelOpen?i.id+"-panel":null),I(3),R("ngSwitch",i.empty),Je("id",i._valueId),I(1),R("ngSwitchCase",!0),I(1),R("ngSwitchCase",!1),I(3),R("cdkConnectedOverlayPanelClass",i._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",i._scrollStrategy)("cdkConnectedOverlayOrigin",r)("cdkConnectedOverlayOpen",i.panelOpen)("cdkConnectedOverlayPositions",i._positions)("cdkConnectedOverlayMinWidth",null==i._triggerRect?null:i._triggerRect.width)("cdkConnectedOverlayOffsetY",i._offsetY)}},dependencies:[Qd,vl,mu,tC,WF,zF],styles:['.mat-select{display:inline-block;width:100%;outline:none}.mat-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{height:16px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;margin:0 4px}.mat-form-field.mat-focused .mat-select-arrow{transform:translateX(0)}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px;outline:0}.cdk-high-contrast-active .mat-select-panel{outline:solid 1px}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}'],encapsulation:2,data:{animation:[bN.transformPanelWrap,bN.transformPanel]},changeDetection:0}),t})(),SN=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Ct({type:t}),t.\u0275inj=yt({providers:[Fee],imports:[Ao,Pu,sb,zt,wh,Sx,sb,zt]}),t})();const Hee=["input"],zee=function(t){return{enterDuration:t}},Wee=["*"],jee=new u("mat-slide-toggle-default-options",{providedIn:"root",factory:()=>({disableToggleValue:!1})});let Uee=0;const Gee={provide:Oo,useExisting:xn(()=>Ex),multi:!0};class $ee{constructor(n,e){this.source=n,this.checked=e}}const qee=Qp(Ou(Ts(os(class{constructor(t){this._elementRef=t}}))));let Yee=(()=>{class t extends qee{constructor(e,i,r,o,s,a,l){super(e),this._focusMonitor=i,this._changeDetectorRef=r,this.defaults=s,this._onChange=c=>{},this._onTouched=()=>{},this._required=!1,this._checked=!1,this.name=null,this.labelPosition="after",this.ariaLabel=null,this.ariaLabelledby=null,this.change=new $e,this.toggleChange=new $e,this.tabIndex=parseInt(o)||0,this.color=this.defaultColor=s.color||"accent",this._noopAnimations="NoopAnimations"===a,this.id=this._uniqueId=`${l}${++Uee}`}get required(){return this._required}set required(e){this._required=vt(e)}get checked(){return this._checked}set checked(e){this._checked=vt(e),this._changeDetectorRef.markForCheck()}get inputId(){return`${this.id||this._uniqueId}-input`}ngAfterContentInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{"keyboard"===e||"program"===e?this._focused=!0:e||Promise.resolve().then(()=>{this._focused=!1,this._onTouched(),this._changeDetectorRef.markForCheck()})})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}writeValue(e){this.checked=!!e}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this._changeDetectorRef.markForCheck()}toggle(){this.checked=!this.checked,this._onChange(this.checked)}_emitChangeEvent(){this._onChange(this.checked),this.change.emit(this._createChangeEvent(this.checked))}}return t.\u0275fac=function(e){_a()},t.\u0275dir=fe({type:t,inputs:{name:"name",id:"id",labelPosition:"labelPosition",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],required:"required",checked:"checked"},outputs:{change:"change",toggleChange:"toggleChange"},features:[we]}),t})(),Ex=(()=>{class t extends Yee{constructor(e,i,r,o,s,a){super(e,i,r,o,s,a,"mat-slide-toggle-")}_createChangeEvent(e){return new $ee(this,e)}_onChangeEvent(e){e.stopPropagation(),this.toggleChange.emit(),this.defaults.disableToggleValue?this._inputElement.nativeElement.checked=this.checked:(this.checked=this._inputElement.nativeElement.checked,this._emitChangeEvent())}_onInputClick(e){e.stopPropagation()}focus(e,i){i?this._focusMonitor.focusVia(this._inputElement,i,e):this._inputElement.nativeElement.focus(e)}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}}return t.\u0275fac=function(e){return new(e||t)(D(xe),D(Ro),D(wn),ho("tabindex"),D(jee),D(nr,8))},t.\u0275cmp=Pe({type:t,selectors:[["mat-slide-toggle"]],viewQuery:function(e,i){if(1&e&&Oe(Hee,5),2&e){let r;ue(r=de())&&(i._inputElement=r.first)}},hostAttrs:[1,"mat-slide-toggle"],hostVars:13,hostBindings:function(e,i){2&e&&(ys("id",i.id),Je("tabindex",null)("aria-label",null)("aria-labelledby",null)("name",null),Rt("mat-checked",i.checked)("mat-disabled",i.disabled)("mat-slide-toggle-label-before","before"==i.labelPosition)("_mat-animation-noopable",i._noopAnimations))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matSlideToggle"],features:[_t([Gee]),we],ngContentSelectors:Wee,decls:14,vars:20,consts:[[1,"mat-slide-toggle-label"],["label",""],[1,"mat-slide-toggle-bar"],["type","checkbox","role","switch",1,"mat-slide-toggle-input","cdk-visually-hidden",3,"id","required","tabIndex","checked","disabled","change","click"],["input",""],[1,"mat-slide-toggle-thumb-container"],[1,"mat-slide-toggle-thumb"],["mat-ripple","",1,"mat-slide-toggle-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered","matRippleRadius","matRippleAnimation"],[1,"mat-ripple-element","mat-slide-toggle-persistent-ripple"],[1,"mat-slide-toggle-content",3,"cdkObserveContent"],["labelContent",""],[2,"display","none"]],template:function(e,i){if(1&e&&(Di(),v(0,"label",0,1)(2,"span",2)(3,"input",3,4),ne("change",function(o){return i._onChangeEvent(o)})("click",function(o){return i._onInputClick(o)}),b(),v(5,"span",5),q(6,"span",6),v(7,"span",7),q(8,"span",8),b()()(),v(9,"span",9,10),ne("cdkObserveContent",function(){return i._onLabelTextChange()}),v(11,"span",11),M(12,"\xa0"),b(),nn(13),b()()),2&e){const r=yi(1),o=yi(10);Je("for",i.inputId),I(2),Rt("mat-slide-toggle-bar-no-side-margin",!o.textContent||!o.textContent.trim()),I(1),R("id",i.inputId)("required",i.required)("tabIndex",i.tabIndex)("checked",i.checked)("disabled",i.disabled),Je("name",i.name)("aria-checked",i.checked)("aria-label",i.ariaLabel)("aria-labelledby",i.ariaLabelledby)("aria-describedby",i.ariaDescribedby),I(4),R("matRippleTrigger",r)("matRippleDisabled",i.disableRipple||i.disabled)("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",hu(18,zee,i._noopAnimations?0:150))}},dependencies:[ss,Zv],styles:['.mat-slide-toggle{display:inline-block;height:24px;max-width:100%;line-height:24px;white-space:nowrap;outline:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(16px, 0, 0)}[dir=rtl] .mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(-16px, 0, 0)}.mat-slide-toggle.mat-disabled{opacity:.38}.mat-slide-toggle.mat-disabled .mat-slide-toggle-label,.mat-slide-toggle.mat-disabled .mat-slide-toggle-thumb-container{cursor:default}.mat-slide-toggle-label{-webkit-user-select:none;user-select:none;display:flex;flex:1;flex-direction:row;align-items:center;height:inherit;cursor:pointer}.mat-slide-toggle-content{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-slide-toggle-label-before .mat-slide-toggle-label{order:1}.mat-slide-toggle-label-before .mat-slide-toggle-bar{order:2}[dir=rtl] .mat-slide-toggle-label-before .mat-slide-toggle-bar,.mat-slide-toggle-bar{margin-right:8px;margin-left:0}[dir=rtl] .mat-slide-toggle-bar,.mat-slide-toggle-label-before .mat-slide-toggle-bar{margin-left:8px;margin-right:0}.mat-slide-toggle-bar-no-side-margin{margin-left:0;margin-right:0}.mat-slide-toggle-thumb-container{position:absolute;z-index:1;width:20px;height:20px;top:-3px;left:0;transform:translate3d(0, 0, 0);transition:all 80ms linear;transition-property:transform}._mat-animation-noopable .mat-slide-toggle-thumb-container{transition:none}[dir=rtl] .mat-slide-toggle-thumb-container{left:auto;right:0}.mat-slide-toggle-thumb{height:20px;width:20px;border-radius:50%;display:block}.mat-slide-toggle-bar{position:relative;width:36px;height:14px;flex-shrink:0;border-radius:8px}.mat-slide-toggle-input{bottom:0;left:10px}[dir=rtl] .mat-slide-toggle-input{left:auto;right:10px}.mat-slide-toggle-bar,.mat-slide-toggle-thumb{transition:all 80ms linear;transition-property:background-color;transition-delay:50ms}._mat-animation-noopable .mat-slide-toggle-bar,._mat-animation-noopable .mat-slide-toggle-thumb{transition:none}.mat-slide-toggle .mat-slide-toggle-ripple{position:absolute;top:calc(50% - 20px);left:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-slide-toggle .mat-slide-toggle-ripple .mat-ripple-element:not(.mat-slide-toggle-persistent-ripple){opacity:.12}.mat-slide-toggle-persistent-ripple{width:100%;height:100%;transform:none}.mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{opacity:.04}.mat-slide-toggle:not(.mat-disabled).cdk-keyboard-focused .mat-slide-toggle-persistent-ripple{opacity:.12}.mat-slide-toggle-persistent-ripple,.mat-slide-toggle.mat-disabled .mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{opacity:0}@media(hover: none){.mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{display:none}}.mat-slide-toggle-input:focus~.mat-slide-toggle-thumb-container .mat-focus-indicator::before{content:""}.cdk-high-contrast-active .mat-slide-toggle-thumb,.cdk-high-contrast-active .mat-slide-toggle-bar{border:1px solid}'],encapsulation:2,changeDetection:0}),t})(),xN=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Ct({type:t}),t.\u0275inj=yt({}),t})(),Qee=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Ct({type:t}),t.\u0275inj=yt({imports:[xN,El,zt,Kp,xN,zt]}),t})();function Xee(t,n){if(1&t){const e=Zn();v(0,"div",2)(1,"button",3),ne("click",function(){return ut(e),lt(re().action())}),M(2),b()()}if(2&t){const e=re();I(2),Qn(e.data.action)}}function Jee(t,n){}const kN=new u("MatSnackBarData");class yb{constructor(){this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}}const ete=Math.pow(2,31)-1;class Ax{constructor(n,e){this._overlayRef=e,this._afterDismissed=new pe,this._afterOpened=new pe,this._onAction=new pe,this._dismissedByAction=!1,this.containerInstance=n,n._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(n){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(n,ete))}_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 tte=(()=>{class t{constructor(e,i){this.snackBarRef=e,this.data=i}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}}return t.\u0275fac=function(e){return new(e||t)(D(Ax),D(kN))},t.\u0275cmp=Pe({type:t,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&&(v(0,"span",0),M(1),b(),$(2,Xee,3,1,"div",1)),2&e&&(I(1),Qn(i.data.message),I(1),R("ngIf",i.hasAction))},dependencies:[ui,Ji],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}),t})();const nte={snackBarState:Pr("state",[In("void, hidden",wt({transform:"scale(0.8)",opacity:0})),In("visible",wt({transform:"scale(1)",opacity:1})),ri("* => visible",mi("150ms cubic-bezier(0, 0, 0.2, 1)")),ri("* => void, * => hidden",mi("75ms cubic-bezier(0.4, 0.0, 1, 1)",wt({opacity:0})))])};let ite=(()=>{class t extends ub{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 pe,this._onExit=new pe,this._onEnter=new pe,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(di(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 t.\u0275fac=function(e){return new(e||t)(D(bt),D(xe),D(wn),D(dr),D(yb))},t.\u0275dir=fe({type:t,viewQuery:function(e,i){if(1&e&&Oe(Ra,7),2&e){let r;ue(r=de())&&(i._portalOutlet=r.first)}},features:[we]}),t})(),rte=(()=>{class t extends ite{_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 t.\u0275fac=function(){let n;return function(i){return(n||(n=Ht(t)))(i||t)}}(),t.\u0275cmp=Pe({type:t,selectors:[["snack-bar-container"]],hostAttrs:[1,"mat-snack-bar-container"],hostVars:1,hostBindings:function(e,i){1&e&&a_("@state.done",function(o){return i.onAnimationEnd(o)}),2&e&&c_("@state",i._animationState)},features:[we],decls:3,vars:2,consts:[["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(e,i){1&e&&(v(0,"div",0),$(1,Jee,0,0,"ng-template",1),b(),q(2,"div")),2&e&&(I(2),Je("aria-live",i._live)("role",i._role))},dependencies:[Ra],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:[nte.snackBarState]}}),t})(),DN=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Ct({type:t}),t.\u0275inj=yt({imports:[Pu,xc,Ao,ab,zt,zt]}),t})();const MN=new u("mat-snack-bar-default-options",{providedIn:"root",factory:function ote(){return new yb}});let ste=(()=>{class t{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=Xi.create({parent:i&&i.viewContainerRef&&i.viewContainerRef.injector||this._injector,providers:[{provide:yb,useValue:i}]}),s=new Ch(this.snackBarContainerComponent,i.viewContainerRef,o),a=e.attach(s);return a.instance.snackBarConfig=i,a.instance}_attach(e,i){const r={...new yb,...this._defaultConfig,...i},o=this._createOverlay(r),s=this._attachSnackBarContainer(o,r),a=new Ax(s,o);if(e instanceof ii){const l=new Pa(e,null,{$implicit:r.data,snackBarRef:a});a.instance=s.attachTemplatePortal(l)}else{const l=this._createInjector(r,a),c=new Ch(e,void 0,l),p=s.attachComponentPortal(c);a.instance=p.instance}return this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait)").pipe(rn(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 Sh;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 Xi.create({parent:e&&e.viewContainerRef&&e.viewContainerRef.injector||this._injector,providers:[{provide:Ax,useValue:i},{provide:kN,useValue:e.data}]})}}return t.\u0275fac=function(e){return new(e||t)(K(go),K(ox),K(Xi),K(Qv),K(t,12),K(MN))},t.\u0275prov=Te({token:t,factory:t.\u0275fac}),t})(),ate=(()=>{class t extends ste{constructor(e,i,r,o,s,a){super(e,i,r,o,s,a),this.simpleSnackBarComponent=tte,this.snackBarContainerComponent=rte,this.handsetCssClass="mat-snack-bar-handset"}}return t.\u0275fac=function(e){return new(e||t)(K(go),K(ox),K(Xi),K(Qv),K(t,12),K(MN))},t.\u0275prov=Te({token:t,factory:t.\u0275fac,providedIn:DN}),t})();function lte(t,n){1&t&&nn(0)}const cte=["*"];let TN=(()=>{class t{constructor(e){this._elementRef=e}focus(){this._elementRef.nativeElement.focus()}}return t.\u0275fac=function(e){return new(e||t)(D(xe))},t.\u0275dir=fe({type:t,selectors:[["","cdkStepHeader",""]],hostAttrs:["role","tab"]}),t})(),EN=(()=>{class t{constructor(e){this.template=e}}return t.\u0275fac=function(e){return new(e||t)(D(ii))},t.\u0275dir=fe({type:t,selectors:[["","cdkStepLabel",""]]}),t})(),ute=0;const AN=new u("STEPPER_GLOBAL_OPTIONS");let Ox=(()=>{class t{constructor(e,i){this._stepper=e,this.interacted=!1,this.interactedStream=new $e,this._editable=!0,this._optional=!1,this._completedOverride=null,this._customError=null,this._stepperOptions=i||{},this._displayDefaultIndicatorType=!1!==this._stepperOptions.displayDefaultIndicatorType}get editable(){return this._editable}set editable(e){this._editable=vt(e)}get optional(){return this._optional}set optional(e){this._optional=vt(e)}get completed(){return this._completedOverride??this._getDefaultCompleted()}set completed(e){this._completedOverride=vt(e)}_getDefaultCompleted(){return this.stepControl?this.stepControl.valid&&this.interacted:this.interacted}get hasError(){return this._customError??this._getDefaultError()}set hasError(e){this._customError=vt(e)}_getDefaultError(){return this.stepControl&&this.stepControl.invalid&&this.interacted}select(){this._stepper.selected=this}reset(){this.interacted=!1,null!=this._completedOverride&&(this._completedOverride=!1),null!=this._customError&&(this._customError=!1),this.stepControl&&this.stepControl.reset()}ngOnChanges(){this._stepper._stateChanged()}_markAsInteracted(){this.interacted||(this.interacted=!0,this.interactedStream.emit(this))}_showError(){return this._stepperOptions.showError??null!=this._customError}}return t.\u0275fac=function(e){return new(e||t)(D(xn(()=>am)),D(AN,8))},t.\u0275cmp=Pe({type:t,selectors:[["cdk-step"]],contentQueries:function(e,i,r){if(1&e&&Qt(r,EN,5),2&e){let o;ue(o=de())&&(i.stepLabel=o.first)}},viewQuery:function(e,i){if(1&e&&Oe(ii,7),2&e){let r;ue(r=de())&&(i.content=r.first)}},inputs:{stepControl:"stepControl",label:"label",errorMessage:"errorMessage",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],state:"state",editable:"editable",optional:"optional",completed:"completed",hasError:"hasError"},outputs:{interactedStream:"interacted"},exportAs:["cdkStep"],features:[Tn],ngContentSelectors:cte,decls:1,vars:0,template:function(e,i){1&e&&(Di(),$(0,lte,1,0,"ng-template"))},encapsulation:2,changeDetection:0}),t})(),am=(()=>{class t{constructor(e,i,r){this._dir=e,this._changeDetectorRef=i,this._elementRef=r,this._destroyed=new pe,this.steps=new Zs,this._sortedHeaders=new Zs,this._linear=!1,this._selectedIndex=0,this.selectionChange=new $e,this._orientation="horizontal",this._groupId=ute++}get linear(){return this._linear}set linear(e){this._linear=vt(e)}get selectedIndex(){return this._selectedIndex}set selectedIndex(e){const i=Vo(e);this.steps&&this._steps?(this._isValidIndex(i),this.selected?._markAsInteracted(),this._selectedIndex!==i&&!this._anyControlsInvalidOrPending(i)&&(i>=this._selectedIndex||this.steps.toArray()[i].editable)&&this._updateSelectedItemIndex(i)):this._selectedIndex=i}get selected(){return this.steps?this.steps.toArray()[this.selectedIndex]:void 0}set selected(e){this.selectedIndex=e&&this.steps?this.steps.toArray().indexOf(e):-1}get orientation(){return this._orientation}set orientation(e){this._orientation=e,this._keyManager&&this._keyManager.withVerticalOrientation("vertical"===e)}ngAfterContentInit(){this._steps.changes.pipe(Ui(this._steps),rn(this._destroyed)).subscribe(e=>{this.steps.reset(e.filter(i=>i._stepper===this)),this.steps.notifyOnChanges()})}ngAfterViewInit(){this._stepHeader.changes.pipe(Ui(this._stepHeader),rn(this._destroyed)).subscribe(e=>{this._sortedHeaders.reset(e.toArray().sort((i,r)=>i._elementRef.nativeElement.compareDocumentPosition(r._elementRef.nativeElement)&Node.DOCUMENT_POSITION_FOLLOWING?-1:1)),this._sortedHeaders.notifyOnChanges()}),this._keyManager=new Zp(this._sortedHeaders).withWrap().withHomeAndEnd().withVerticalOrientation("vertical"===this._orientation),(this._dir?this._dir.change:ct()).pipe(Ui(this._layoutDirection()),rn(this._destroyed)).subscribe(e=>this._keyManager.withHorizontalOrientation(e)),this._keyManager.updateActiveItem(this._selectedIndex),this.steps.changes.subscribe(()=>{this.selected||(this._selectedIndex=Math.max(this._selectedIndex-1,0))}),this._isValidIndex(this._selectedIndex)||(this._selectedIndex=0)}ngOnDestroy(){this.steps.destroy(),this._sortedHeaders.destroy(),this._destroyed.next(),this._destroyed.complete()}next(){this.selectedIndex=Math.min(this._selectedIndex+1,this.steps.length-1)}previous(){this.selectedIndex=Math.max(this._selectedIndex-1,0)}reset(){this._updateSelectedItemIndex(0),this.steps.forEach(e=>e.reset()),this._stateChanged()}_getStepLabelId(e){return`cdk-step-label-${this._groupId}-${e}`}_getStepContentId(e){return`cdk-step-content-${this._groupId}-${e}`}_stateChanged(){this._changeDetectorRef.markForCheck()}_getAnimationDirection(e){const i=e-this._selectedIndex;return i<0?"rtl"===this._layoutDirection()?"next":"previous":i>0?"rtl"===this._layoutDirection()?"previous":"next":"current"}_getIndicatorType(e,i="number"){const r=this.steps.toArray()[e],o=this._isCurrentStep(e);return r._displayDefaultIndicatorType?this._getDefaultIndicatorLogic(r,o):this._getGuidelineLogic(r,o,i)}_getDefaultIndicatorLogic(e,i){return e._showError()&&e.hasError&&!i?"error":!e.completed||i?"number":e.editable?"edit":"done"}_getGuidelineLogic(e,i,r="number"){return e._showError()&&e.hasError&&!i?"error":e.completed&&!i?"done":e.completed&&i?r:e.editable&&i?"edit":r}_isCurrentStep(e){return this._selectedIndex===e}_getFocusIndex(){return this._keyManager?this._keyManager.activeItemIndex:this._selectedIndex}_updateSelectedItemIndex(e){const i=this.steps.toArray();this.selectionChange.emit({selectedIndex:e,previouslySelectedIndex:this._selectedIndex,selectedStep:i[e],previouslySelectedStep:i[this._selectedIndex]}),this._containsFocus()?this._keyManager.setActiveItem(e):this._keyManager.updateActiveItem(e),this._selectedIndex=e,this._stateChanged()}_onKeydown(e){const i=no(e),r=e.keyCode,o=this._keyManager;null==o.activeItemIndex||i||32!==r&&13!==r?o.onKeydown(e):(this.selectedIndex=o.activeItemIndex,e.preventDefault())}_anyControlsInvalidOrPending(e){return!!(this._linear&&e>=0)&&this.steps.toArray().slice(0,e).some(i=>{const r=i.stepControl;return(r?r.invalid||r.pending||!i.interacted:!i.completed)&&!i.optional&&!i._completedOverride})}_layoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_containsFocus(){const e=this._elementRef.nativeElement,i=Uv();return e===i||e.contains(i)}_isValidIndex(e){return e>-1&&(!this.steps||e{class t{constructor(e){this._stepper=e,this.type="submit"}}return t.\u0275fac=function(e){return new(e||t)(D(am))},t.\u0275dir=fe({type:t,selectors:[["button","cdkStepperNext",""]],hostVars:1,hostBindings:function(e,i){1&e&&ne("click",function(){return i._stepper.next()}),2&e&&ys("type",i.type)},inputs:{type:"type"}}),t})(),hte=(()=>{class t{constructor(e){this._stepper=e,this.type="button"}}return t.\u0275fac=function(e){return new(e||t)(D(am))},t.\u0275dir=fe({type:t,selectors:[["button","cdkStepperPrevious",""]],hostVars:1,hostBindings:function(e,i){1&e&&ne("click",function(){return i._stepper.previous()}),2&e&&ys("type",i.type)},inputs:{type:"type"}}),t})(),fte=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Ct({type:t}),t.\u0275inj=yt({imports:[vh]}),t})();const pte=["*"];let wb;function lm(t){return function mte(){if(void 0===wb&&(wb=null,typeof window<"u")){const t=window;void 0!==t.trustedTypes&&(wb=t.trustedTypes.createPolicy("angular#components",{createHTML:n=>n}))}return wb}()?.createHTML(t)||t}function ON(t){return Error(`Unable to find icon with the name "${t}"`)}function IN(t){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${t}".`)}function PN(t){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${t}".`)}class Bu{constructor(n,e,i){this.url=n,this.svgText=e,this.options=i}}let Cb=(()=>{class t{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 Bu(r,null,o))}addSvgIconResolver(e){return this._resolvers.push(e),this}addSvgIconLiteralInNamespace(e,i,r,o){const s=this._sanitizer.sanitize(ci.HTML,r);if(!s)throw PN(r);const a=lm(s);return this._addSvgIconConfig(e,i,new Bu("",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 Bu(i,null,r))}addSvgIconSetLiteralInNamespace(e,i,r){const o=this._sanitizer.sanitize(ci.HTML,i);if(!o)throw PN(i);const s=lm(o);return this._addSvgIconSetConfig(e,new Bu("",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(ci.RESOURCE_URL,e);if(!i)throw IN(e);const r=this._cachedIconsByUrl.get(i);return r?ct(Sb(r)):this._loadSvgIconFromConfig(new Bu(e,null)).pipe(rr(o=>this._cachedIconsByUrl.set(i,o)),Ne(o=>Sb(o)))}getNamedSvgIcon(e,i=""){const r=RN(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):eh(ON(r))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?ct(Sb(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe(Ne(i=>Sb(i)))}_getSvgFromIconSetConfigs(e,i){const r=this._extractIconWithNameFromAnySet(e,i);return r?ct(r):$I(i.filter(s=>!s.svgText).map(s=>this._loadSvgIconSetFromConfig(s).pipe(ka(a=>{const c=`Loading icon set URL: ${this._sanitizer.sanitize(ci.RESOURCE_URL,s.url)} failed: ${a.message}`;return this._errorHandler.handleError(new Error(c)),ct(null)})))).pipe(Ne(()=>{const s=this._extractIconWithNameFromAnySet(e,i);if(!s)throw ON(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(rr(i=>e.svgText=i),Ne(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?ct(null):this._fetchIcon(e).pipe(rr(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(lm(""));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(lm("")),r=e.attributes;for(let o=0;olm(c)),U_(()=>this._inProgressUrlFetches.delete(s)),pn());return this._inProgressUrlFetches.set(s,l),l}_addSvgIconConfig(e,i,r){return this._svgIconConfigs.set(RN(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;rn?n.pathname+n.search:""}}}),FN=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],Ste=FN.map(t=>`[${t}]`).join(", "),xte=/^url\(['"]?#(.*?)['"]?\)$/;let kte=(()=>{class t extends bte{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=Z.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=vt(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(Ste),r=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let o=0;o{const a=i[o],l=a.getAttribute(s),c=l?l.match(xte):null;if(c){let p=r.get(a);p||(p=[],r.set(a,p)),p.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(di(1)).subscribe(o=>this._setSvgElement(o),o=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${i}:${r}! ${o.message}`))})}}}return t.\u0275fac=function(e){return new(e||t)(D(xe),D(Cb),ho("aria-hidden"),D(wte),D(cl),D(yte,8))},t.\u0275cmp=Pe({type:t,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:8,hostBindings:function(e,i){2&e&&(Je("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),Rt("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:[we],ngContentSelectors:pte,decls:1,vars:0,template:function(e,i){1&e&&(Di(),nn(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}),t})(),Dte=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Ct({type:t}),t.\u0275inj=yt({imports:[zt,zt]}),t})();function Mte(t,n){if(1&t&&mo(0,8),2&t){const e=re();R("ngTemplateOutlet",e.iconOverrides[e.state])("ngTemplateOutletContext",e._getIconContext())}}function Tte(t,n){if(1&t&&(v(0,"span",13),M(1),b()),2&t){const e=re(2);I(1),Qn(e._getDefaultTextForState(e.state))}}function Ete(t,n){if(1&t&&(v(0,"span",14),M(1),b()),2&t){const e=re(2);I(1),Qn(e._intl.completedLabel)}}function Ate(t,n){if(1&t&&(v(0,"span",14),M(1),b()),2&t){const e=re(2);I(1),Qn(e._intl.editableLabel)}}function Ote(t,n){if(1&t&&(v(0,"mat-icon",13),M(1),b()),2&t){const e=re(2);I(1),Qn(e._getDefaultTextForState(e.state))}}function Ite(t,n){if(1&t&&(zi(0,9),$(1,Tte,2,1,"span",10),$(2,Ete,2,1,"span",11),$(3,Ate,2,1,"span",11),$(4,Ote,2,1,"mat-icon",12),Wi()),2&t){const e=re();R("ngSwitch",e.state),I(1),R("ngSwitchCase","number"),I(1),R("ngIf","done"===e.state),I(1),R("ngIf","edit"===e.state)}}function Pte(t,n){if(1&t&&(v(0,"div",15),mo(1,16),b()),2&t){const e=re();I(1),R("ngTemplateOutlet",e._templateLabel().template)}}function Rte(t,n){if(1&t&&(v(0,"div",15),M(1),b()),2&t){const e=re();I(1),Qn(e.label)}}function Fte(t,n){if(1&t&&(v(0,"div",17),M(1),b()),2&t){const e=re();I(1),Qn(e._intl.optionalLabel)}}function Nte(t,n){if(1&t&&(v(0,"div",18),M(1),b()),2&t){const e=re();I(1),Qn(e.errorMessage)}}function Lte(t,n){}function Bte(t,n){if(1&t&&(nn(0),$(1,Lte,0,0,"ng-template",0)),2&t){const e=re();I(1),R("cdkPortalOutlet",e._portal)}}const Vte=["*"];function Hte(t,n){1&t&&q(0,"div",11)}const NN=function(t,n){return{step:t,i:n}};function zte(t,n){if(1&t&&(zi(0),mo(1,9),$(2,Hte,1,0,"div",10),Wi()),2&t){const e=n.$implicit,i=n.index,r=n.last;re(2);const o=yi(4);I(1),R("ngTemplateOutlet",o)("ngTemplateOutletContext",$d(3,NN,e,i)),I(1),R("ngIf",!r)}}const LN=function(t){return{animationDuration:t}},BN=function(t,n){return{value:t,params:n}};function Wte(t,n){if(1&t){const e=Zn();v(0,"div",12),ne("@horizontalStepTransition.done",function(r){return ut(e),lt(re(2)._animationDone.next(r))}),mo(1,13),b()}if(2&t){const e=n.$implicit,i=n.index,r=re(2);Rt("mat-horizontal-stepper-content-inactive",r.selectedIndex!==i),R("@horizontalStepTransition",$d(8,BN,r._getAnimationDirection(i),hu(6,LN,r._getAnimationDuration())))("id",r._getStepContentId(i)),Je("aria-labelledby",r._getStepLabelId(i)),I(1),R("ngTemplateOutlet",e.content)}}function jte(t,n){if(1&t&&(v(0,"div",4)(1,"div",5),$(2,zte,3,6,"ng-container",6),b(),v(3,"div",7),$(4,Wte,2,11,"div",8),b()()),2&t){const e=re();I(2),R("ngForOf",e.steps),I(2),R("ngForOf",e.steps)}}function Ute(t,n){if(1&t){const e=Zn();v(0,"div",15),mo(1,9),v(2,"div",16)(3,"div",17),ne("@verticalStepTransition.done",function(r){return ut(e),lt(re(2)._animationDone.next(r))}),v(4,"div",18),mo(5,13),b()()()()}if(2&t){const e=n.$implicit,i=n.index,r=n.last,o=re(2),s=yi(4);I(1),R("ngTemplateOutlet",s)("ngTemplateOutletContext",$d(10,NN,e,i)),I(1),Rt("mat-stepper-vertical-line",!r),I(1),Rt("mat-vertical-stepper-content-inactive",o.selectedIndex!==i),R("@verticalStepTransition",$d(15,BN,o._getAnimationDirection(i),hu(13,LN,o._getAnimationDuration())))("id",o._getStepContentId(i)),Je("aria-labelledby",o._getStepLabelId(i)),I(2),R("ngTemplateOutlet",e.content)}}function Gte(t,n){if(1&t&&(zi(0),$(1,Ute,6,18,"div",14),Wi()),2&t){const e=re();I(1),R("ngForOf",e.steps)}}function $te(t,n){if(1&t){const e=Zn();v(0,"mat-step-header",19),ne("click",function(){return lt(ut(e).step.select())})("keydown",function(r){return ut(e),lt(re()._onKeydown(r))}),b()}if(2&t){const e=n.step,i=n.i,r=re();Rt("mat-horizontal-stepper-header","horizontal"===r.orientation)("mat-vertical-stepper-header","vertical"===r.orientation),R("tabIndex",r._getFocusIndex()===i?0:-1)("id",r._getStepLabelId(i))("index",i)("state",r._getIndicatorType(i,e.state))("label",e.stepLabel||e.label)("selected",r.selectedIndex===i)("active",r._stepIsNavigable(i,e))("optional",e.optional)("errorMessage",e.errorMessage)("iconOverrides",r._iconOverrides)("disableRipple",r.disableRipple||!r._stepIsNavigable(i,e))("color",e.color||r.color),Je("aria-posinset",i+1)("aria-setsize",r.steps.length)("aria-controls",r._getStepContentId(i))("aria-selected",r.selectedIndex==i)("aria-label",e.ariaLabel||null)("aria-labelledby",!e.ariaLabel&&e.ariaLabelledby?e.ariaLabelledby:null)("aria-disabled",!r._stepIsNavigable(i,e)||null)}}let Ix=(()=>{class t extends EN{}return t.\u0275fac=function(){let n;return function(i){return(n||(n=Ht(t)))(i||t)}}(),t.\u0275dir=fe({type:t,selectors:[["","matStepLabel",""]],features:[we]}),t})(),xb=(()=>{class t{constructor(){this.changes=new pe,this.optionalLabel="Optional",this.completedLabel="Completed",this.editableLabel="Editable"}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Te({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const Yte={provide:xb,deps:[[new Gs,new al,xb]],useFactory:function qte(t){return t||new xb}},Kte=Ou(class extends TN{constructor(n){super(n)}},"primary");let VN=(()=>{class t extends Kte{constructor(e,i,r,o){super(r),this._intl=e,this._focusMonitor=i,this._intlSubscription=e.changes.subscribe(()=>o.markForCheck())}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._intlSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._elementRef)}focus(e,i){e?this._focusMonitor.focusVia(this._elementRef,e,i):this._elementRef.nativeElement.focus(i)}_stringLabel(){return this.label instanceof Ix?null:this.label}_templateLabel(){return this.label instanceof Ix?this.label:null}_getHostElement(){return this._elementRef.nativeElement}_getIconContext(){return{index:this.index,active:this.active,optional:this.optional}}_getDefaultTextForState(e){return"number"==e?`${this.index+1}`:"edit"==e?"create":"error"==e?"warning":e}}return t.\u0275fac=function(e){return new(e||t)(D(xb),D(Ro),D(xe),D(wn))},t.\u0275cmp=Pe({type:t,selectors:[["mat-step-header"]],hostAttrs:["role","tab",1,"mat-step-header"],inputs:{color:"color",state:"state",label:"label",errorMessage:"errorMessage",iconOverrides:"iconOverrides",index:"index",selected:"selected",active:"active",optional:"optional",disableRipple:"disableRipple"},features:[we],decls:10,vars:19,consts:[["matRipple","",1,"mat-step-header-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-step-icon-content",3,"ngSwitch"],[3,"ngTemplateOutlet","ngTemplateOutletContext",4,"ngSwitchCase"],[3,"ngSwitch",4,"ngSwitchDefault"],[1,"mat-step-label"],["class","mat-step-text-label",4,"ngIf"],["class","mat-step-optional",4,"ngIf"],["class","mat-step-sub-label-error",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"ngSwitch"],["aria-hidden","true",4,"ngSwitchCase"],["class","cdk-visually-hidden",4,"ngIf"],["aria-hidden","true",4,"ngSwitchDefault"],["aria-hidden","true"],[1,"cdk-visually-hidden"],[1,"mat-step-text-label"],[3,"ngTemplateOutlet"],[1,"mat-step-optional"],[1,"mat-step-sub-label-error"]],template:function(e,i){1&e&&(q(0,"div",0),v(1,"div")(2,"div",1),$(3,Mte,1,2,"ng-container",2),$(4,Ite,5,4,"ng-container",3),b()(),v(5,"div",4),$(6,Pte,2,1,"div",5),$(7,Rte,2,1,"div",5),$(8,Fte,2,1,"div",6),$(9,Nte,2,1,"div",7),b()),2&e&&(R("matRippleTrigger",i._getHostElement())("matRippleDisabled",i.disableRipple),I(1),c1("mat-step-icon-state-",i.state," mat-step-icon"),Rt("mat-step-icon-selected",i.selected),I(1),R("ngSwitch",!(!i.iconOverrides||!i.iconOverrides[i.state])),I(1),R("ngSwitchCase",!0),I(2),Rt("mat-step-label-active",i.active)("mat-step-label-selected",i.selected)("mat-step-label-error","error"==i.state),I(1),R("ngIf",i._templateLabel()),I(1),R("ngIf",i._stringLabel()),I(1),R("ngIf",i.optional&&"error"!=i.state),I(1),R("ngIf","error"==i.state))},dependencies:[ui,nC,vl,mu,tC,kte,ss],styles:['.mat-step-header{overflow:hidden;outline:none;cursor:pointer;position:relative;box-sizing:content-box;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-step-header:focus .mat-focus-indicator::before{content:""}.cdk-high-contrast-active .mat-step-header{outline:solid 1px}.cdk-high-contrast-active .mat-step-header[aria-selected=true] .mat-step-label{text-decoration:underline}.cdk-high-contrast-active .mat-step-header[aria-disabled=true]{outline-color:GrayText}.cdk-high-contrast-active .mat-step-header[aria-disabled=true] .mat-step-label,.cdk-high-contrast-active .mat-step-header[aria-disabled=true] .mat-step-icon,.cdk-high-contrast-active .mat-step-header[aria-disabled=true] .mat-step-optional{color:GrayText}.mat-step-optional,.mat-step-sub-label-error{font-size:12px}.mat-step-icon{border-radius:50%;height:24px;width:24px;flex-shrink:0;position:relative}.mat-step-icon-content{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);display:flex}.mat-step-icon .mat-icon{font-size:16px;height:16px;width:16px}.mat-step-icon-state-error .mat-icon{font-size:24px;height:24px;width:24px}.mat-step-label{display:inline-block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:50px;vertical-align:middle}.mat-step-text-label{text-overflow:ellipsis;overflow:hidden}.mat-step-header .mat-step-header-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}'],encapsulation:2,changeDetection:0}),t})();const WN={horizontalStepTransition:Pr("horizontalStepTransition",[In("previous",wt({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"})),In("current",wt({transform:"none",visibility:"inherit"})),In("next",wt({transform:"translate3d(100%, 0, 0)",visibility:"hidden"})),ri("* => *",mi("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)"),{params:{animationDuration:"500ms"}})]),verticalStepTransition:Pr("verticalStepTransition",[In("previous",wt({height:"0px",visibility:"hidden"})),In("next",wt({height:"0px",visibility:"hidden"})),In("current",wt({height:"*",visibility:"inherit"})),ri("* <=> current",mi("{{animationDuration}} cubic-bezier(0.4, 0.0, 0.2, 1)"),{params:{animationDuration:"225ms"}})])};let Zte=(()=>{class t{constructor(e){this.templateRef=e}}return t.\u0275fac=function(e){return new(e||t)(D(ii))},t.\u0275dir=fe({type:t,selectors:[["ng-template","matStepperIcon",""]],inputs:{name:["matStepperIcon","name"]}}),t})(),Qte=(()=>{class t{constructor(e){this._template=e}}return t.\u0275fac=function(e){return new(e||t)(D(ii))},t.\u0275dir=fe({type:t,selectors:[["ng-template","matStepContent",""]]}),t})(),jN=(()=>{class t extends Ox{constructor(e,i,r,o){super(e,o),this._errorStateMatcher=i,this._viewContainerRef=r,this._isSelected=Z.EMPTY}ngAfterContentInit(){this._isSelected=this._stepper.steps.changes.pipe(Ar(()=>this._stepper.selectionChange.pipe(Ne(e=>e.selectedStep===this),Ui(this._stepper.selected===this)))).subscribe(e=>{e&&this._lazyContent&&!this._portal&&(this._portal=new Pa(this._lazyContent._template,this._viewContainerRef))})}ngOnDestroy(){this._isSelected.unsubscribe()}isErrorState(e,i){return this._errorStateMatcher.isErrorState(e,i)||!!(e&&e.invalid&&this.interacted)}}return t.\u0275fac=function(e){return new(e||t)(D(xn(()=>UN)),D(bh,4),D(wi),D(AN,8))},t.\u0275cmp=Pe({type:t,selectors:[["mat-step"]],contentQueries:function(e,i,r){if(1&e&&(Qt(r,Ix,5),Qt(r,Qte,5)),2&e){let o;ue(o=de())&&(i.stepLabel=o.first),ue(o=de())&&(i._lazyContent=o.first)}},inputs:{color:"color"},exportAs:["matStep"],features:[_t([{provide:bh,useExisting:t},{provide:Ox,useExisting:t}]),we],ngContentSelectors:Vte,decls:1,vars:0,consts:[[3,"cdkPortalOutlet"]],template:function(e,i){1&e&&(Di(),$(0,Bte,2,1,"ng-template"))},dependencies:[Ra],encapsulation:2,changeDetection:0}),t})(),UN=(()=>{class t extends am{constructor(e,i,r){super(e,i,r),this.steps=new Zs,this.animationDone=new $e,this.labelPosition="end",this.headerPosition="top",this._iconOverrides={},this._animationDone=new pe,this._animationDuration="";const o=r.nativeElement.nodeName.toLowerCase();this.orientation="mat-vertical-stepper"===o?"vertical":"horizontal"}get animationDuration(){return this._animationDuration}set animationDuration(e){this._animationDuration=/^\d+$/.test(e)?e+"ms":e}ngAfterContentInit(){super.ngAfterContentInit(),this._icons.forEach(({name:e,templateRef:i})=>this._iconOverrides[e]=i),this.steps.changes.pipe(rn(this._destroyed)).subscribe(()=>{this._stateChanged()}),this._animationDone.pipe(Yp((e,i)=>e.fromState===i.fromState&&e.toState===i.toState),rn(this._destroyed)).subscribe(e=>{"current"===e.toState&&this.animationDone.emit()})}_stepIsNavigable(e,i){return i.completed||this.selectedIndex===e||!this.linear}_getAnimationDuration(){return this.animationDuration?this.animationDuration:"horizontal"===this.orientation?"500ms":"225ms"}}return t.\u0275fac=function(e){return new(e||t)(D(io,8),D(wn),D(xe))},t.\u0275cmp=Pe({type:t,selectors:[["mat-stepper"],["mat-vertical-stepper"],["mat-horizontal-stepper"],["","matStepper",""]],contentQueries:function(e,i,r){if(1&e&&(Qt(r,jN,5),Qt(r,Zte,5)),2&e){let o;ue(o=de())&&(i._steps=o),ue(o=de())&&(i._icons=o)}},viewQuery:function(e,i){if(1&e&&Oe(VN,5),2&e){let r;ue(r=de())&&(i._stepHeader=r)}},hostAttrs:["role","tablist"],hostVars:11,hostBindings:function(e,i){2&e&&(Je("aria-orientation",i.orientation),Rt("mat-stepper-horizontal","horizontal"===i.orientation)("mat-stepper-vertical","vertical"===i.orientation)("mat-stepper-label-position-end","horizontal"===i.orientation&&"end"==i.labelPosition)("mat-stepper-label-position-bottom","horizontal"===i.orientation&&"bottom"==i.labelPosition)("mat-stepper-header-position-bottom","bottom"===i.headerPosition))},inputs:{selectedIndex:"selectedIndex",disableRipple:"disableRipple",color:"color",labelPosition:"labelPosition",headerPosition:"headerPosition",animationDuration:"animationDuration"},outputs:{animationDone:"animationDone"},exportAs:["matStepper","matVerticalStepper","matHorizontalStepper"],features:[_t([{provide:am,useExisting:t}]),we],decls:5,vars:3,consts:[[3,"ngSwitch"],["class","mat-horizontal-stepper-wrapper",4,"ngSwitchCase"],[4,"ngSwitchCase"],["stepTemplate",""],[1,"mat-horizontal-stepper-wrapper"],[1,"mat-horizontal-stepper-header-container"],[4,"ngFor","ngForOf"],[1,"mat-horizontal-content-container"],["class","mat-horizontal-stepper-content","role","tabpanel",3,"id","mat-horizontal-stepper-content-inactive",4,"ngFor","ngForOf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["class","mat-stepper-horizontal-line",4,"ngIf"],[1,"mat-stepper-horizontal-line"],["role","tabpanel",1,"mat-horizontal-stepper-content",3,"id"],[3,"ngTemplateOutlet"],["class","mat-step",4,"ngFor","ngForOf"],[1,"mat-step"],[1,"mat-vertical-content-container"],["role","tabpanel",1,"mat-vertical-stepper-content",3,"id"],[1,"mat-vertical-content"],[3,"tabIndex","id","index","state","label","selected","active","optional","errorMessage","iconOverrides","disableRipple","color","click","keydown"]],template:function(e,i){1&e&&(zi(0,0),$(1,jte,5,2,"div",1),$(2,Gte,2,1,"ng-container",2),Wi(),$(3,$te,1,23,"ng-template",null,3,Qs)),2&e&&(R("ngSwitch",i.orientation),I(1),R("ngSwitchCase","horizontal"),I(1),R("ngSwitchCase","vertical"))},dependencies:[Eo,ui,nC,vl,mu,VN],styles:['.mat-stepper-vertical,.mat-stepper-horizontal{display:block}.mat-horizontal-stepper-header-container{white-space:nowrap;display:flex;align-items:center}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header-container{align-items:flex-start}.mat-stepper-header-position-bottom .mat-horizontal-stepper-header-container{order:1}.mat-stepper-horizontal-line{border-top-width:1px;border-top-style:solid;flex:auto;height:0;margin:0 -16px;min-width:32px}.mat-stepper-label-position-bottom .mat-stepper-horizontal-line{margin:0;min-width:0;position:relative}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before,.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after{border-top-width:1px;border-top-style:solid;content:"";display:inline-block;height:0;position:absolute;width:calc(50% - 20px)}.mat-horizontal-stepper-header{display:flex;height:72px;overflow:hidden;align-items:center;padding:0 24px}.mat-horizontal-stepper-header .mat-step-icon{margin-right:8px;flex:none}[dir=rtl] .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:8px}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header{box-sizing:border-box;flex-direction:column;height:auto}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after{right:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before{left:0}[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:last-child::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:first-child::after{display:none}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-label{padding:16px 0 0 0;text-align:center;width:100%}.mat-vertical-stepper-header{display:flex;align-items:center;height:24px}.mat-vertical-stepper-header .mat-step-icon{margin-right:12px}[dir=rtl] .mat-vertical-stepper-header .mat-step-icon{margin-right:0;margin-left:12px}.mat-horizontal-stepper-wrapper{display:flex;flex-direction:column}.mat-horizontal-stepper-content{outline:0}.mat-horizontal-stepper-content.mat-horizontal-stepper-content-inactive{height:0;overflow:hidden}.mat-horizontal-stepper-content:not(.mat-horizontal-stepper-content-inactive){visibility:inherit !important}.mat-horizontal-content-container{overflow:hidden;padding:0 24px 24px 24px}.cdk-high-contrast-active .mat-horizontal-content-container{outline:solid 1px}.mat-stepper-header-position-bottom .mat-horizontal-content-container{padding:24px 24px 0 24px}.mat-vertical-content-container{margin-left:36px;border:0;position:relative}.cdk-high-contrast-active .mat-vertical-content-container{outline:solid 1px}[dir=rtl] .mat-vertical-content-container{margin-left:0;margin-right:36px}.mat-stepper-vertical-line::before{content:"";position:absolute;left:0;border-left-width:1px;border-left-style:solid}[dir=rtl] .mat-stepper-vertical-line::before{left:auto;right:0}.mat-vertical-stepper-content{overflow:hidden;outline:0}.mat-vertical-stepper-content:not(.mat-vertical-stepper-content-inactive){visibility:inherit !important}.mat-vertical-content{padding:0 24px 24px 24px}.mat-step:last-child .mat-vertical-content-container{border:none}'],encapsulation:2,data:{animation:[WN.horizontalStepTransition,WN.verticalStepTransition]},changeDetection:0}),t})(),Xte=(()=>{class t extends dte{}return t.\u0275fac=function(){let n;return function(i){return(n||(n=Ht(t)))(i||t)}}(),t.\u0275dir=fe({type:t,selectors:[["button","matStepperNext",""]],hostAttrs:[1,"mat-stepper-next"],hostVars:1,hostBindings:function(e,i){2&e&&ys("type",i.type)},inputs:{type:"type"},features:[we]}),t})(),Jte=(()=>{class t extends hte{}return t.\u0275fac=function(){let n;return function(i){return(n||(n=Ht(t)))(i||t)}}(),t.\u0275dir=fe({type:t,selectors:[["button","matStepperPrevious",""]],hostAttrs:[1,"mat-stepper-previous"],hostVars:1,hostBindings:function(e,i){2&e&&ys("type",i.type)},inputs:{type:"type"},features:[we]}),t})(),ene=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Ct({type:t}),t.\u0275inj=yt({providers:[Yte,bh],imports:[zt,Ao,xc,ab,fte,Dte,El,zt]}),t})();function tne(t,n){1&t&&nn(0)}const GN=["*"];function nne(t,n){}const ine=function(t){return{animationDuration:t}},rne=function(t,n){return{value:t,params:n}},one=["tabListContainer"],sne=["tabList"],ane=["tabListInner"],lne=["nextPaginator"],cne=["previousPaginator"],une=["tabBodyWrapper"],dne=["tabHeader"];function hne(t,n){}function fne(t,n){1&t&&$(0,hne,0,0,"ng-template",10),2&t&&R("cdkPortalOutlet",re().$implicit.templateLabel)}function pne(t,n){1&t&&M(0),2&t&&Qn(re().$implicit.textLabel)}function mne(t,n){if(1&t){const e=Zn();v(0,"div",6),ne("click",function(){const r=ut(e),o=r.$implicit,s=r.index,a=re(),l=yi(1);return lt(a._handleClick(o,l,s))})("cdkFocusChange",function(r){const s=ut(e).index;return lt(re()._tabFocusChanged(r,s))}),v(1,"div",7),$(2,fne,1,1,"ng-template",8),$(3,pne,1,1,"ng-template",null,9,Qs),b()()}if(2&t){const e=n.$implicit,i=n.index,r=yi(4),o=re();Rt("mat-tab-label-active",o.selectedIndex===i),R("id",o._getTabLabelId(i))("ngClass",e.labelClass)("disabled",e.disabled)("matRippleDisabled",e.disabled||o.disableRipple),Je("tabIndex",o._getTabIndex(e,i))("aria-posinset",i+1)("aria-setsize",o._tabs.length)("aria-controls",o._getTabContentId(i))("aria-selected",o.selectedIndex===i)("aria-label",e.ariaLabel||null)("aria-labelledby",!e.ariaLabel&&e.ariaLabelledby?e.ariaLabelledby:null),I(2),R("ngIf",e.templateLabel)("ngIfElse",r)}}function gne(t,n){if(1&t){const e=Zn();v(0,"mat-tab-body",11),ne("_onCentered",function(){return ut(e),lt(re()._removeTabBodyWrapperHeight())})("_onCentering",function(r){return ut(e),lt(re()._setTabBodyWrapperHeight(r))}),b()}if(2&t){const e=n.$implicit,i=n.index,r=re();Rt("mat-tab-body-active",r.selectedIndex===i),R("id",r._getTabContentId(i))("ngClass",e.bodyClass)("content",e.content)("position",e.position)("origin",e.origin)("animationDuration",r.animationDuration)("preserveContent",r.preserveContent),Je("tabindex",null!=r.contentTabIndex&&r.selectedIndex===i?r.contentTabIndex:null)("aria-labelledby",r._getTabLabelId(i))}}const _ne=new u("MatInkBarPositioner",{providedIn:"root",factory:function vne(){return n=>({left:n?(n.offsetLeft||0)+"px":"0",width:n?(n.offsetWidth||0)+"px":"0"})}});let $N=(()=>{class t{constructor(e,i,r,o){this._elementRef=e,this._ngZone=i,this._inkBarPositioner=r,this._animationMode=o}alignToElement(e){this.show(),this._ngZone.run(()=>{this._ngZone.onStable.pipe(di(1)).subscribe(()=>{const i=this._inkBarPositioner(e),r=this._elementRef.nativeElement;r.style.left=i.left,r.style.width=i.width})})}show(){this._elementRef.nativeElement.style.visibility="visible"}hide(){this._elementRef.nativeElement.style.visibility="hidden"}}return t.\u0275fac=function(e){return new(e||t)(D(xe),D(bt),D(_ne),D(nr,8))},t.\u0275dir=fe({type:t,selectors:[["mat-ink-bar"]],hostAttrs:[1,"mat-ink-bar"],hostVars:2,hostBindings:function(e,i){2&e&&Rt("_mat-animation-noopable","NoopAnimations"===i._animationMode)}}),t})();const qN=new u("MatTabContent");let bne=(()=>{class t{constructor(e){this.template=e}}return t.\u0275fac=function(e){return new(e||t)(D(ii))},t.\u0275dir=fe({type:t,selectors:[["","matTabContent",""]],features:[_t([{provide:qN,useExisting:t}])]}),t})();const YN=new u("MatTabLabel"),KN=new u("MAT_TAB");let yne=(()=>{class t extends yX{constructor(e,i,r){super(e,i),this._closestTab=r}}return t.\u0275fac=function(e){return new(e||t)(D(ii),D(wi),D(KN,8))},t.\u0275dir=fe({type:t,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[_t([{provide:YN,useExisting:t}]),we]}),t})();const wne=os(class{}),ZN=new u("MAT_TAB_GROUP");let cm=(()=>{class t extends wne{constructor(e,i){super(),this._viewContainerRef=e,this._closestTabGroup=i,this.textLabel="",this._contentPortal=null,this._stateChanges=new pe,this.position=null,this.origin=null,this.isActive=!1}get templateLabel(){return this._templateLabel}set templateLabel(e){this._setTemplateLabelInput(e)}get content(){return this._contentPortal}ngOnChanges(e){(e.hasOwnProperty("textLabel")||e.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new Pa(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(e){e&&e._closestTab===this&&(this._templateLabel=e)}}return t.\u0275fac=function(e){return new(e||t)(D(wi),D(ZN,8))},t.\u0275cmp=Pe({type:t,selectors:[["mat-tab"]],contentQueries:function(e,i,r){if(1&e&&(Qt(r,YN,5),Qt(r,qN,7,ii)),2&e){let o;ue(o=de())&&(i.templateLabel=o.first),ue(o=de())&&(i._explicitContent=o.first)}},viewQuery:function(e,i){if(1&e&&Oe(ii,7),2&e){let r;ue(r=de())&&(i._implicitContent=r.first)}},inputs:{disabled:"disabled",textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},exportAs:["matTab"],features:[_t([{provide:KN,useExisting:t}]),we,Tn],ngContentSelectors:GN,decls:1,vars:0,template:function(e,i){1&e&&(Di(),$(0,tne,1,0,"ng-template"))},encapsulation:2}),t})();const Cne={translateTab:Pr("translateTab",[In("center, void, left-origin-center, right-origin-center",wt({transform:"none"})),In("left",wt({transform:"translate3d(-100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),In("right",wt({transform:"translate3d(100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),ri("* => left, * => right, left => center, right => center",mi("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),ri("void => left-origin-center",[wt({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"}),mi("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),ri("void => right-origin-center",[wt({transform:"translate3d(100%, 0, 0)",visibility:"hidden"}),mi("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])};let Sne=(()=>{class t extends Ra{constructor(e,i,r,o){super(e,i,o),this._host=r,this._centeringSub=Z.EMPTY,this._leavingSub=Z.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe(Ui(this._host._isCenterPosition(this._host._position))).subscribe(e=>{e&&!this.hasAttached()&&this.attach(this._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this._host.preserveContent||this.detach()})}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(D(cc),D(wi),D(xn(()=>QN)),D(Xt))},t.\u0275dir=fe({type:t,selectors:[["","matTabBodyHost",""]],features:[we]}),t})(),xne=(()=>{class t{constructor(e,i,r){this._elementRef=e,this._dir=i,this._dirChangeSubscription=Z.EMPTY,this._translateTabComplete=new pe,this._onCentering=new $e,this._beforeCentering=new $e,this._afterLeavingCenter=new $e,this._onCentered=new $e(!0),this.animationDuration="500ms",this.preserveContent=!1,i&&(this._dirChangeSubscription=i.change.subscribe(o=>{this._computePositionAnimationState(o),r.markForCheck()})),this._translateTabComplete.pipe(Yp((o,s)=>o.fromState===s.fromState&&o.toState===s.toState)).subscribe(o=>{this._isCenterPosition(o.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(o.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}set position(e){this._positionIndex=e,this._computePositionAnimationState()}ngOnInit(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(e){const i=this._isCenterPosition(e.toState);this._beforeCentering.emit(i),i&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(e){return"center"==e||"left-origin-center"==e||"right-origin-center"==e}_computePositionAnimationState(e=this._getLayoutDirection()){this._position=this._positionIndex<0?"ltr"==e?"left":"right":this._positionIndex>0?"ltr"==e?"right":"left":"center"}_computePositionFromOrigin(e){const i=this._getLayoutDirection();return"ltr"==i&&e<=0||"rtl"==i&&e>0?"left-origin-center":"right-origin-center"}}return t.\u0275fac=function(e){return new(e||t)(D(xe),D(io,8),D(wn))},t.\u0275dir=fe({type:t,inputs:{_content:["content","_content"],origin:"origin",animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}}),t})(),QN=(()=>{class t extends xne{constructor(e,i,r){super(e,i,r)}}return t.\u0275fac=function(e){return new(e||t)(D(xe),D(io,8),D(wn))},t.\u0275cmp=Pe({type:t,selectors:[["mat-tab-body"]],viewQuery:function(e,i){if(1&e&&Oe(Ra,5),2&e){let r;ue(r=de())&&(i._portalHost=r.first)}},hostAttrs:[1,"mat-tab-body"],features:[we],decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(e,i){1&e&&(v(0,"div",0,1),ne("@translateTab.start",function(o){return i._onTranslateTabStarted(o)})("@translateTab.done",function(o){return i._translateTabComplete.next(o)}),$(2,nne,0,0,"ng-template",2),b()),2&e&&R("@translateTab",$d(3,rne,i._position,hu(1,ine,i.animationDuration)))},dependencies:[Sne],styles:['.mat-tab-body-content{height:100%;overflow:auto}.mat-tab-group-dynamic-height .mat-tab-body-content{overflow:hidden}.mat-tab-body-content[style*="visibility: hidden"]{display:none}'],encapsulation:2,data:{animation:[Cne.translateTab]}}),t})();const XN=new u("MAT_TABS_CONFIG"),kne=os(class{});let JN=(()=>{class t extends kne{constructor(e){super(),this.elementRef=e}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}}return t.\u0275fac=function(e){return new(e||t)(D(xe))},t.\u0275dir=fe({type:t,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(e,i){2&e&&(Je("aria-disabled",!!i.disabled),Rt("mat-tab-disabled",i.disabled))},inputs:{disabled:"disabled"},features:[we]}),t})();const e3=Mu({passive:!0});let Tne=(()=>{class t{constructor(e,i,r,o,s,a,l){this._elementRef=e,this._changeDetectorRef=i,this._viewportRuler=r,this._dir=o,this._ngZone=s,this._platform=a,this._animationMode=l,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new pe,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new pe,this._disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new $e,this.indexFocused=new $e,s.runOutsideAngular(()=>{Ia(e.nativeElement,"mouseleave").pipe(rn(this._destroyed)).subscribe(()=>{this._stopInterval()})})}get disablePagination(){return this._disablePagination}set disablePagination(e){this._disablePagination=vt(e)}get selectedIndex(){return this._selectedIndex}set selectedIndex(e){e=Vo(e),this._selectedIndex!=e&&(this._selectedIndexChanged=!0,this._selectedIndex=e,this._keyManager&&this._keyManager.updateActiveItem(e))}ngAfterViewInit(){Ia(this._previousPaginator.nativeElement,"touchstart",e3).pipe(rn(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),Ia(this._nextPaginator.nativeElement,"touchstart",e3).pipe(rn(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const e=this._dir?this._dir.change:ct("ltr"),i=this._viewportRuler.change(150),r=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new Zp(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap(),this._keyManager.updateActiveItem(this._selectedIndex),this._ngZone.onStable.pipe(di(1)).subscribe(r),Ki(e,i,this._items.changes,this._itemsResized()).pipe(rn(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),r()})}),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.pipe(rn(this._destroyed)).subscribe(o=>{this.indexFocused.emit(o),this._setTabFocus(o)})}_itemsResized(){return"function"!=typeof ResizeObserver?St:this._items.changes.pipe(Ui(this._items),Ar(e=>new bn(i=>this._ngZone.runOutsideAngular(()=>{const r=new ResizeObserver(o=>i.next(o));return e.forEach(o=>r.observe(o.elementRef.nativeElement)),()=>{r.disconnect()}}))),XS(1),hi(e=>e.some(i=>i.contentRect.width>0&&i.contentRect.height>0)))}ngAfterContentChecked(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(e){if(!no(e))switch(e.keyCode){case 13:case 32:this.focusIndex!==this.selectedIndex&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(e));break;default:this._keyManager.onKeydown(e)}}_onContentChanges(){const e=this._elementRef.nativeElement.textContent;e!==this._currentTextContent&&(this._currentTextContent=e||"",this._ngZone.run(()=>{this.updatePagination(),this._alignInkBarToSelectedTab(),this._changeDetectorRef.markForCheck()}))}updatePagination(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}get focusIndex(){return this._keyManager?this._keyManager.activeItemIndex:0}set focusIndex(e){!this._isValidIndex(e)||this.focusIndex===e||!this._keyManager||this._keyManager.setActiveItem(e)}_isValidIndex(e){if(!this._items)return!0;const i=this._items?this._items.toArray()[e]:null;return!!i&&!i.disabled}_setTabFocus(e){if(this._showPaginationControls&&this._scrollToLabel(e),this._items&&this._items.length){this._items.toArray()[e].focus();const i=this._tabListContainer.nativeElement;i.scrollLeft="ltr"==this._getLayoutDirection()?0:i.scrollWidth-i.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const e=this.scrollDistance,i="ltr"===this._getLayoutDirection()?-e:e;this._tabList.nativeElement.style.transform=`translateX(${Math.round(i)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(e){this._scrollTo(e)}_scrollHeader(e){return this._scrollTo(this._scrollDistance+("before"==e?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(e){this._stopInterval(),this._scrollHeader(e)}_scrollToLabel(e){if(this.disablePagination)return;const i=this._items?this._items.toArray()[e]:null;if(!i)return;const r=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:o,offsetWidth:s}=i.elementRef.nativeElement;let a,l;"ltr"==this._getLayoutDirection()?(a=o,l=a+s):(l=this._tabListInner.nativeElement.offsetWidth-o,a=l-s);const c=this.scrollDistance,p=this.scrollDistance+r;ap&&(this.scrollDistance+=l-p+60)}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const e=this._tabListInner.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;e||(this.scrollDistance=0),e!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=e}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}_getMaxScrollDistance(){return this._tabListInner.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0}_alignInkBarToSelectedTab(){const e=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,i=e?e.elementRef.nativeElement:null;i?this._inkBar.alignToElement(i):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(e,i){i&&null!=i.button&&0!==i.button||(this._stopInterval(),em(650,100).pipe(rn(Ki(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:r,distance:o}=this._scrollHeader(e);(0===o||o>=r)&&this._stopInterval()}))}_scrollTo(e){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const i=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(i,e)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:i,distance:this._scrollDistance}}}return t.\u0275fac=function(e){return new(e||t)(D(xe),D(wn),D(Sc),D(io,8),D(bt),D(dr),D(nr,8))},t.\u0275dir=fe({type:t,inputs:{disablePagination:"disablePagination"}}),t})(),Ene=(()=>{class t extends Tne{constructor(e,i,r,o,s,a,l){super(e,i,r,o,s,a,l),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=vt(e)}_itemSelected(e){e.preventDefault()}}return t.\u0275fac=function(e){return new(e||t)(D(xe),D(wn),D(Sc),D(io,8),D(bt),D(dr),D(nr,8))},t.\u0275dir=fe({type:t,inputs:{disableRipple:"disableRipple"},features:[we]}),t})(),Ane=(()=>{class t extends Ene{constructor(e,i,r,o,s,a,l){super(e,i,r,o,s,a,l)}}return t.\u0275fac=function(e){return new(e||t)(D(xe),D(wn),D(Sc),D(io,8),D(bt),D(dr),D(nr,8))},t.\u0275cmp=Pe({type:t,selectors:[["mat-tab-header"]],contentQueries:function(e,i,r){if(1&e&&Qt(r,JN,4),2&e){let o;ue(o=de())&&(i._items=o)}},viewQuery:function(e,i){if(1&e&&(Oe($N,7),Oe(one,7),Oe(sne,7),Oe(ane,7),Oe(lne,5),Oe(cne,5)),2&e){let r;ue(r=de())&&(i._inkBar=r.first),ue(r=de())&&(i._tabListContainer=r.first),ue(r=de())&&(i._tabList=r.first),ue(r=de())&&(i._tabListInner=r.first),ue(r=de())&&(i._nextPaginator=r.first),ue(r=de())&&(i._previousPaginator=r.first)}},hostAttrs:[1,"mat-tab-header"],hostVars:4,hostBindings:function(e,i){2&e&&Rt("mat-tab-header-pagination-controls-enabled",i._showPaginationControls)("mat-tab-header-rtl","rtl"==i._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[we],ngContentSelectors:GN,decls:14,vars:10,consts:[["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-tab-header-pagination","mat-tab-header-pagination-before","mat-elevation-z4",3,"matRippleDisabled","disabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-tab-header-pagination-chevron"],[1,"mat-tab-label-container",3,"keydown"],["tabListContainer",""],["role","tablist",1,"mat-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-tab-labels"],["tabListInner",""],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-tab-header-pagination","mat-tab-header-pagination-after","mat-elevation-z4",3,"matRippleDisabled","disabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(e,i){1&e&&(Di(),v(0,"button",0,1),ne("click",function(){return i._handlePaginatorClick("before")})("mousedown",function(o){return i._handlePaginatorPress("before",o)})("touchend",function(){return i._stopInterval()}),q(2,"div",2),b(),v(3,"div",3,4),ne("keydown",function(o){return i._handleKeydown(o)}),v(5,"div",5,6),ne("cdkObserveContent",function(){return i._onContentChanges()}),v(7,"div",7,8),nn(9),b(),q(10,"mat-ink-bar"),b()(),v(11,"button",9,10),ne("mousedown",function(o){return i._handlePaginatorPress("after",o)})("click",function(){return i._handlePaginatorClick("after")})("touchend",function(){return i._stopInterval()}),q(13,"div",2),b()),2&e&&(Rt("mat-tab-header-pagination-disabled",i._disableScrollBefore),R("matRippleDisabled",i._disableScrollBefore||i.disableRipple)("disabled",i._disableScrollBefore||null),I(5),Rt("_mat-animation-noopable","NoopAnimations"===i._animationMode),I(6),Rt("mat-tab-header-pagination-disabled",i._disableScrollAfter),R("matRippleDisabled",i._disableScrollAfter||i.disableRipple)("disabled",i._disableScrollAfter||null))},dependencies:[ss,Zv,$N],styles:[".mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-tab-header-pagination::-moz-focus-inner{border:0}.mat-tab-header-pagination-controls-enabled .mat-tab-header-pagination{display:flex}.mat-tab-header-pagination-before,.mat-tab-header-rtl .mat-tab-header-pagination-after{padding-left:4px}.mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-tab-header-rtl .mat-tab-header-pagination-before,.mat-tab-header-pagination-after{padding-right:4px}.mat-tab-header-rtl .mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px}.mat-tab-header-pagination-disabled{box-shadow:none;cursor:default}.mat-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-ink-bar._mat-animation-noopable{transition:none !important;animation:none !important}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}.cdk-high-contrast-active .mat-ink-bar{outline:solid 2px;height:0}.mat-tab-labels{display:flex}[mat-align-tabs=center]>.mat-tab-header .mat-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-tab-header .mat-tab-labels{justify-content:flex-end}.mat-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-tab-list._mat-animation-noopable{transition:none !important;animation:none !important}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}.mat-tab-label::before{margin:5px}@media(max-width: 599px){.mat-tab-label{min-width:72px}}"],encapsulation:2}),t})(),One=0;class Ine{}const Pne=Ou(Ts(class{constructor(t){this._elementRef=t}}),"primary");let Rne=(()=>{class t extends Pne{constructor(e,i,r,o){super(e),this._changeDetectorRef=i,this._animationMode=o,this._tabs=new Zs,this._indexToSelect=0,this._lastFocusedTabIndex=null,this._tabBodyWrapperHeight=0,this._tabsSubscription=Z.EMPTY,this._tabLabelSubscription=Z.EMPTY,this._dynamicHeight=!1,this._selectedIndex=null,this.headerPosition="above",this._disablePagination=!1,this._preserveContent=!1,this.selectedIndexChange=new $e,this.focusChange=new $e,this.animationDone=new $e,this.selectedTabChange=new $e(!0),this._groupId=One++,this.animationDuration=r&&r.animationDuration?r.animationDuration:"500ms",this.disablePagination=!(!r||null==r.disablePagination)&&r.disablePagination,this.dynamicHeight=!(!r||null==r.dynamicHeight)&&r.dynamicHeight,this.contentTabIndex=r?.contentTabIndex??null,this.preserveContent=!!r?.preserveContent}get dynamicHeight(){return this._dynamicHeight}set dynamicHeight(e){this._dynamicHeight=vt(e)}get selectedIndex(){return this._selectedIndex}set selectedIndex(e){this._indexToSelect=Vo(e,null)}get animationDuration(){return this._animationDuration}set animationDuration(e){this._animationDuration=/^\d+$/.test(e+"")?e+"ms":e}get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(e){this._contentTabIndex=Vo(e,null)}get disablePagination(){return this._disablePagination}set disablePagination(e){this._disablePagination=vt(e)}get preserveContent(){return this._preserveContent}set preserveContent(e){this._preserveContent=vt(e)}get backgroundColor(){return this._backgroundColor}set backgroundColor(e){const i=this._elementRef.nativeElement;i.classList.remove(`mat-background-${this.backgroundColor}`),e&&i.classList.add(`mat-background-${e}`),this._backgroundColor=e}ngAfterContentChecked(){const e=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=e){const i=null==this._selectedIndex;if(!i){this.selectedTabChange.emit(this._createChangeEvent(e));const r=this._tabBodyWrapper.nativeElement;r.style.minHeight=r.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((r,o)=>r.isActive=o===e),i||(this.selectedIndexChange.emit(e),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((i,r)=>{i.position=r-e,null!=this._selectedIndex&&0==i.position&&!i.origin&&(i.origin=e-this._selectedIndex)}),this._selectedIndex!==e&&(this._selectedIndex=e,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{const e=this._clampTabIndex(this._indexToSelect);if(e===this._selectedIndex){const i=this._tabs.toArray();let r;for(let o=0;o{i[e].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(e))})}this._changeDetectorRef.markForCheck()})}_subscribeToAllTabChanges(){this._allTabs.changes.pipe(Ui(this._allTabs)).subscribe(e=>{this._tabs.reset(e.filter(i=>i._closestTabGroup===this||!i._closestTabGroup)),this._tabs.notifyOnChanges()})}ngOnDestroy(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()}realignInkBar(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}updatePagination(){this._tabHeader&&this._tabHeader.updatePagination()}focusTab(e){const i=this._tabHeader;i&&(i.focusIndex=e)}_focusChanged(e){this._lastFocusedTabIndex=e,this.focusChange.emit(this._createChangeEvent(e))}_createChangeEvent(e){const i=new Ine;return i.index=e,this._tabs&&this._tabs.length&&(i.tab=this._tabs.toArray()[e]),i}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=Ki(...this._tabs.map(e=>e._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(e){return Math.min(this._tabs.length-1,Math.max(e||0,0))}_getTabLabelId(e){return`mat-tab-label-${this._groupId}-${e}`}_getTabContentId(e){return`mat-tab-content-${this._groupId}-${e}`}_setTabBodyWrapperHeight(e){if(!this._dynamicHeight||!this._tabBodyWrapperHeight)return;const i=this._tabBodyWrapper.nativeElement;i.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(i.style.height=e+"px")}_removeTabBodyWrapperHeight(){const e=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=e.clientHeight,e.style.height="",this.animationDone.emit()}_handleClick(e,i,r){e.disabled||(this.selectedIndex=i.focusIndex=r)}_getTabIndex(e,i){return e.disabled?null:i===(this._lastFocusedTabIndex??this.selectedIndex)?0:-1}_tabFocusChanged(e,i){e&&"mouse"!==e&&"touch"!==e&&(this._tabHeader.focusIndex=i)}}return t.\u0275fac=function(e){return new(e||t)(D(xe),D(wn),D(XN,8),D(nr,8))},t.\u0275dir=fe({type:t,inputs:{dynamicHeight:"dynamicHeight",selectedIndex:"selectedIndex",headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:"contentTabIndex",disablePagination:"disablePagination",preserveContent:"preserveContent",backgroundColor:"backgroundColor"},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},features:[we]}),t})(),kb=(()=>{class t extends Rne{constructor(e,i,r,o){super(e,i,r,o)}}return t.\u0275fac=function(e){return new(e||t)(D(xe),D(wn),D(XN,8),D(nr,8))},t.\u0275cmp=Pe({type:t,selectors:[["mat-tab-group"]],contentQueries:function(e,i,r){if(1&e&&Qt(r,cm,5),2&e){let o;ue(o=de())&&(i._allTabs=o)}},viewQuery:function(e,i){if(1&e&&(Oe(une,5),Oe(dne,5)),2&e){let r;ue(r=de())&&(i._tabBodyWrapper=r.first),ue(r=de())&&(i._tabHeader=r.first)}},hostAttrs:[1,"mat-tab-group"],hostVars:4,hostBindings:function(e,i){2&e&&Rt("mat-tab-group-dynamic-height",i.dynamicHeight)("mat-tab-group-inverted-header","below"===i.headerPosition)},inputs:{color:"color",disableRipple:"disableRipple"},exportAs:["matTabGroup"],features:[_t([{provide:ZN,useExisting:t}]),we],decls:6,vars:7,consts:[[3,"selectedIndex","disableRipple","disablePagination","indexFocused","selectFocusedIndex"],["tabHeader",""],["class","mat-tab-label mat-focus-indicator","role","tab","matTabLabelWrapper","","mat-ripple","","cdkMonitorElementFocus","",3,"id","mat-tab-label-active","ngClass","disabled","matRippleDisabled","click","cdkFocusChange",4,"ngFor","ngForOf"],[1,"mat-tab-body-wrapper"],["tabBodyWrapper",""],["role","tabpanel",3,"id","mat-tab-body-active","ngClass","content","position","origin","animationDuration","preserveContent","_onCentered","_onCentering",4,"ngFor","ngForOf"],["role","tab","matTabLabelWrapper","","mat-ripple","","cdkMonitorElementFocus","",1,"mat-tab-label","mat-focus-indicator",3,"id","ngClass","disabled","matRippleDisabled","click","cdkFocusChange"],[1,"mat-tab-label-content"],[3,"ngIf","ngIfElse"],["tabTextLabel",""],[3,"cdkPortalOutlet"],["role","tabpanel",3,"id","ngClass","content","position","origin","animationDuration","preserveContent","_onCentered","_onCentering"]],template:function(e,i){1&e&&(v(0,"mat-tab-header",0,1),ne("indexFocused",function(o){return i._focusChanged(o)})("selectFocusedIndex",function(o){return i.selectedIndex=o}),$(2,mne,5,15,"div",2),b(),v(3,"div",3,4),$(5,gne,1,11,"mat-tab-body",5),b()),2&e&&(R("selectedIndex",i.selectedIndex||0)("disableRipple",i.disableRipple)("disablePagination",i.disablePagination),I(2),R("ngForOf",i._tabs),I(1),Rt("_mat-animation-noopable","NoopAnimations"===i._animationMode),I(2),R("ngForOf",i._tabs))},dependencies:[Qd,Eo,ui,Ra,ss,iQ,JN,QN,Ane],styles:[".mat-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-tab-group.mat-tab-group-inverted-header{flex-direction:column-reverse}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}@media(max-width: 599px){.mat-tab-label{padding:0 12px}}@media(max-width: 959px){.mat-tab-label{padding:0 12px}}.mat-tab-group[mat-stretch-tabs]>.mat-tab-header .mat-tab-label{flex-basis:0;flex-grow:1}.mat-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-tab-body-wrapper._mat-animation-noopable{transition:none !important;animation:none !important}.mat-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-tab-body.mat-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-tab-group.mat-tab-group-dynamic-height .mat-tab-body.mat-tab-body-active{overflow-y:hidden}"],encapsulation:2}),t})(),Fne=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Ct({type:t}),t.\u0275inj=yt({imports:[Ao,zt,xc,El,Kp,nb,zt]}),t})(),Nne=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Ct({type:t}),t.\u0275inj=yt({imports:[zt,zt]}),t})();const Lne=["tooltip"],n3="tooltip-panel",r3=Mu({passive:!0}),o3=new u("mat-tooltip-scroll-strategy"),zne={provide:o3,deps:[go],useFactory:function Hne(t){return()=>t.scrollStrategies.reposition({scrollThrottle:20})}},Wne=new u("mat-tooltip-default-options",{providedIn:"root",factory:function jne(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}});let Une=(()=>{class t{constructor(e,i,r,o,s,a,l,c,p,m,_,C){this._overlay=e,this._elementRef=i,this._scrollDispatcher=r,this._viewContainerRef=o,this._ngZone=s,this._platform=a,this._ariaDescriber=l,this._focusMonitor=c,this._dir=m,this._defaultOptions=_,this._position="below",this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._viewportMargin=8,this._cssClassPrefix="mat",this._showDelay=this._defaultOptions.showDelay,this._hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new pe,this._scrollStrategy=p,this._document=C,_&&(_.position&&(this.position=_.position),_.touchGestures&&(this.touchGestures=_.touchGestures)),m.change.pipe(rn(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})}get position(){return this._position}set position(e){e!==this._position&&(this._position=e,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get disabled(){return this._disabled}set disabled(e){this._disabled=vt(e),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(e){this._showDelay=Vo(e)}get hideDelay(){return this._hideDelay}set hideDelay(e){this._hideDelay=Vo(e),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(e){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=e?String(e).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(e){this._tooltipClass=e,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(rn(this._destroyed)).subscribe(e=>{e?"keyboard"===e&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const e=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([i,r])=>{e.removeEventListener(i,r,r3)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(e,this.message,"tooltip"),this._focusMonitor.stopMonitoring(e)}show(e=this.showDelay){if(this.disabled||!this.message||this._isTooltipVisible())return void this._tooltipInstance?._cancelPendingAnimations();const i=this._createOverlay();this._detach(),this._portal=this._portal||new Ch(this._tooltipComponent,this._viewContainerRef);const r=this._tooltipInstance=i.attach(this._portal).instance;r._triggerElement=this._elementRef.nativeElement,r._mouseLeaveHideDelay=this._hideDelay,r.afterHidden().pipe(rn(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),r.show(e)}hide(e=this.hideDelay){const i=this._tooltipInstance;i&&(i.isVisible()?i.hide(e):(i._cancelPendingAnimations(),this._detach()))}toggle(){this._isTooltipVisible()?this.hide():this.show()}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(){if(this._overlayRef)return this._overlayRef;const e=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),i=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(e);return i.positionChanges.pipe(rn(this._destroyed)).subscribe(r=>{this._updateCurrentPositionClass(r.connectionPair),this._tooltipInstance&&r.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:i,panelClass:`${this._cssClassPrefix}-${n3}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(rn(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(rn(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe(rn(this._destroyed)).subscribe(r=>{this._isTooltipVisible()&&27===r.keyCode&&!no(r)&&(r.preventDefault(),r.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(e){const i=e.getConfig().positionStrategy,r=this._getOrigin(),o=this._getOverlayPosition();i.withPositions([this._addOffset({...r.main,...o.main}),this._addOffset({...r.fallback,...o.fallback})])}_addOffset(e){return e}_getOrigin(){const e=!this._dir||"ltr"==this._dir.value,i=this.position;let r;"above"==i||"below"==i?r={originX:"center",originY:"above"==i?"top":"bottom"}:"before"==i||"left"==i&&e||"right"==i&&!e?r={originX:"start",originY:"center"}:("after"==i||"right"==i&&e||"left"==i&&!e)&&(r={originX:"end",originY:"center"});const{x:o,y:s}=this._invertPosition(r.originX,r.originY);return{main:r,fallback:{originX:o,originY:s}}}_getOverlayPosition(){const e=!this._dir||"ltr"==this._dir.value,i=this.position;let r;"above"==i?r={overlayX:"center",overlayY:"bottom"}:"below"==i?r={overlayX:"center",overlayY:"top"}:"before"==i||"left"==i&&e||"right"==i&&!e?r={overlayX:"end",overlayY:"center"}:("after"==i||"right"==i&&e||"left"==i&&!e)&&(r={overlayX:"start",overlayY:"center"});const{x:o,y:s}=this._invertPosition(r.overlayX,r.overlayY);return{main:r,fallback:{overlayX:o,overlayY:s}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe(di(1),rn(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(e){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=e,this._tooltipInstance._markForCheck())}_invertPosition(e,i){return"above"===this.position||"below"===this.position?"top"===i?i="bottom":"bottom"===i&&(i="top"):"end"===e?e="start":"start"===e&&(e="end"),{x:e,y:i}}_updateCurrentPositionClass(e){const{overlayY:i,originX:r,originY:o}=e;let s;if(s="center"===i?this._dir&&"rtl"===this._dir.value?"end"===r?"left":"right":"start"===r?"left":"right":"bottom"===i&&"top"===o?"above":"below",s!==this._currentPosition){const a=this._overlayRef;if(a){const l=`${this._cssClassPrefix}-${n3}-`;a.removePanelClass(l+this._currentPosition),a.addPanelClass(l+s)}this._currentPosition=s}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",()=>{this._setupPointerExitEventsIfNeeded(),this.show()}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",()=>{this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(),500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const e=[];if(this._platformSupportsMouseEvents())e.push(["mouseleave",i=>{const r=i.relatedTarget;(!r||!this._overlayRef?.overlayElement.contains(r))&&this.hide()}],["wheel",i=>this._wheelListener(i)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const i=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};e.push(["touchend",i],["touchcancel",i])}this._addListeners(e),this._passiveListeners.push(...e)}_addListeners(e){e.forEach(([i,r])=>{this._elementRef.nativeElement.addEventListener(i,r,r3)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(e){if(this._isTooltipVisible()){const i=this._document.elementFromPoint(e.clientX,e.clientY),r=this._elementRef.nativeElement;i!==r&&!r.contains(i)&&this.hide()}}_disableNativeGesturesIfNecessary(){const e=this.touchGestures;if("off"!==e){const i=this._elementRef.nativeElement,r=i.style;("on"===e||"INPUT"!==i.nodeName&&"TEXTAREA"!==i.nodeName)&&(r.userSelect=r.msUserSelect=r.webkitUserSelect=r.MozUserSelect="none"),("on"===e||!i.draggable)&&(r.webkitUserDrag="none"),r.touchAction="none",r.webkitTapHighlightColor="transparent"}}}return t.\u0275fac=function(e){_a()},t.\u0275dir=fe({type:t,inputs:{position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}}),t})(),Px=(()=>{class t extends Une{constructor(e,i,r,o,s,a,l,c,p,m,_,C){super(e,i,r,o,s,a,l,c,p,m,_,C),this._tooltipComponent=$ne}}return t.\u0275fac=function(e){return new(e||t)(D(go),D(xe),D(OF),D(wi),D(bt),D(dr),D(ex),D(Ro),D(o3),D(io,8),D(Wne,8),D(Xt))},t.\u0275dir=fe({type:t,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],exportAs:["matTooltip"],features:[we]}),t})(),Gne=(()=>{class t{constructor(e,i){this._changeDetectorRef=e,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new pe,this._animationsDisabled="NoopAnimations"===i}show(e){clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},e)}hide(e){clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},e)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:e}){(!e||!this._triggerElement.contains(e))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){}_handleAnimationEnd({animationName:e}){(e===this._showAnimation||e===this._hideAnimation)&&this._finalizeAnimation(e===this._showAnimation)}_cancelPendingAnimations(){clearTimeout(this._showTimeoutId),clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(e){e?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(e){const i=this._tooltip.nativeElement,r=this._showAnimation,o=this._hideAnimation;if(i.classList.remove(e?o:r),i.classList.add(e?r:o),this._isVisible=e,e&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const s=getComputedStyle(i);("0s"===s.getPropertyValue("animation-duration")||"none"===s.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}e&&this._onShow(),this._animationsDisabled&&(i.classList.add("_mat-animation-noopable"),this._finalizeAnimation(e))}}return t.\u0275fac=function(e){return new(e||t)(D(wn),D(nr,8))},t.\u0275dir=fe({type:t}),t})(),$ne=(()=>{class t extends Gne{constructor(e,i,r){super(e,r),this._breakpointObserver=i,this._isHandset=this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)"),this._showAnimation="mat-tooltip-show",this._hideAnimation="mat-tooltip-hide"}}return t.\u0275fac=function(e){return new(e||t)(D(wn),D(Qv),D(nr,8))},t.\u0275cmp=Pe({type:t,selectors:[["mat-tooltip-component"]],viewQuery:function(e,i){if(1&e&&Oe(Lne,7),2&e){let r;ue(r=de())&&(i._tooltip=r.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(e,i){1&e&&ne("mouseleave",function(o){return i._handleMouseLeave(o)}),2&e&&br("zoom",i.isVisible()?1:null)},features:[we],decls:4,vars:6,consts:[[1,"mat-tooltip",3,"ngClass","animationend"],["tooltip",""]],template:function(e,i){if(1&e&&(v(0,"div",0,1),ne("animationend",function(o){return i._handleAnimationEnd(o)}),es(2,"async"),M(3),b()),2&e){let r;Rt("mat-tooltip-handset",null==(r=Ca(2,4,i._isHandset))?null:r.matches),R("ngClass",i.tooltipClass),I(3),Qn(i.message)}},dependencies:[Qd,iC],styles:[".mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis;transform:scale(0)}.mat-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}.mat-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-tooltip-show{0%{opacity:0;transform:scale(0)}50%{opacity:.5;transform:scale(0.99)}100%{opacity:1;transform:scale(1)}}@keyframes mat-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(1)}}.mat-tooltip-show{animation:mat-tooltip-show 200ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-tooltip-hide{animation:mat-tooltip-hide 100ms cubic-bezier(0, 0, 0.2, 1) forwards}"],encapsulation:2,changeDetection:0}),t})(),s3=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Ct({type:t}),t.\u0275inj=yt({providers:[zne],imports:[nb,Ao,Pu,zt,zt,wh]}),t})(),Vu=(()=>{class t{constructor(){this._vertical=!1,this._inset=!1}get vertical(){return this._vertical}set vertical(e){this._vertical=vt(e)}get inset(){return this._inset}set inset(e){this._inset=vt(e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Pe({type:t,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(e,i){2&e&&(Je("aria-orientation",i.vertical?"vertical":"horizontal"),Rt("mat-divider-vertical",i.vertical)("mat-divider-horizontal",!i.vertical)("mat-divider-inset",i.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(e,i){},styles:[".mat-divider{display:block;margin:0;border-top-width:1px;border-top-style:solid}.mat-divider.mat-divider-vertical{border-top:0;border-right-width:1px;border-right-style:solid}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}"],encapsulation:2,changeDetection:0}),t})(),qne=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Ct({type:t}),t.\u0275inj=yt({imports:[zt,zt]}),t})();const a3=["*"],Yne=[[["","mat-list-avatar",""],["","mat-list-icon",""],["","matListAvatar",""],["","matListIcon",""]],[["","mat-line",""],["","matLine",""]],"*"],Kne=["[mat-list-avatar], [mat-list-icon], [matListAvatar], [matListIcon]","[mat-line], [matLine]","*"],eie=os(Ts(class{})),tie=Ts(class{}),c3=new u("MatList"),nie=new u("MatNavList");let iie=(()=>{class t extends eie{constructor(e){super(),this._elementRef=e,this._stateChanges=new pe,"action-list"===this._getListType()&&(e.nativeElement.classList.add("mat-action-list"),e.nativeElement.setAttribute("role","group"))}_getListType(){const e=this._elementRef.nativeElement.nodeName.toLowerCase();return"mat-list"===e?"list":"mat-action-list"===e?"action-list":null}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return t.\u0275fac=function(e){return new(e||t)(D(xe))},t.\u0275cmp=Pe({type:t,selectors:[["mat-list"],["mat-action-list"]],hostAttrs:[1,"mat-list","mat-list-base"],inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matList"],features:[_t([{provide:c3,useExisting:t}]),we,Tn],ngContentSelectors:a3,decls:1,vars:0,template:function(e,i){1&e&&(Di(),nn(0))},styles:['.mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}button.mat-list-item,button.mat-list-option{padding:0;width:100%;background:none;color:inherit;border:none;outline:inherit;-webkit-tap-highlight-color:rgba(0,0,0,0);text-align:left}[dir=rtl] button.mat-list-item,[dir=rtl] button.mat-list-option{text-align:right}button.mat-list-item::-moz-focus-inner,button.mat-list-option::-moz-focus-inner{border:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:rgba(0,0,0,0);width:100%;padding:0}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{display:block;top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar,.mat-list-base .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list-base .mat-list-item.mat-2-line,.mat-list-base .mat-list-option.mat-2-line{height:72px}.mat-list-base .mat-list-item.mat-3-line,.mat-list-base .mat-list-option.mat-3-line{height:88px}.mat-list-base .mat-list-item.mat-multi-line,.mat-list-base .mat-list-option.mat-multi-line{height:auto}.mat-list-base .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base .mat-list-item .mat-list-text,.mat-list-base .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base .mat-list-item .mat-list-text>*,.mat-list-base .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base .mat-list-item .mat-list-text:empty,.mat-list-base .mat-list-option .mat-list-text:empty{display:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base .mat-list-item .mat-list-avatar,.mat-list-base .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;object-fit:cover}.mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list-base .mat-list-item .mat-list-icon,.mat-list-base .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list-base .mat-list-item .mat-divider,.mat-list-base .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base .mat-list-item .mat-divider,[dir=rtl] .mat-list-base .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list-base[dense]{padding-top:4px;display:block}.mat-list-base[dense] .mat-subheader{height:40px;line-height:8px}.mat-list-base[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list-base[dense] .mat-list-item,.mat-list-base[dense] .mat-list-option{display:block;height:40px;-webkit-tap-highlight-color:rgba(0,0,0,0);width:100%;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-item-content,.mat-list-base[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list-base[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base[dense] .mat-list-item .mat-list-item-ripple,.mat-list-base[dense] .mat-list-option .mat-list-item-ripple{display:block;top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:none}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:none}.mat-list-item-disabled{pointer-events:none}.cdk-high-contrast-active .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active :host .mat-list-item-disabled{opacity:.5}.cdk-high-contrast-active .mat-list-option:hover,.cdk-high-contrast-active .mat-nav-list .mat-list-item:hover,.cdk-high-contrast-active mat-action-list .mat-list-item:hover{outline:dotted 1px;z-index:1}.cdk-high-contrast-active .mat-list-single-selected-option::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active [dir=rtl] .mat-list-single-selected-option::after{right:auto;left:16px}@media(hover: none){.mat-list-option:not(.mat-list-single-selected-option):not(.mat-list-item-disabled):hover,.mat-nav-list .mat-list-item:not(.mat-list-item-disabled):hover,.mat-action-list .mat-list-item:not(.mat-list-item-disabled):hover{background:none}}'],encapsulation:2,changeDetection:0}),t})(),u3=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=fe({type:t,selectors:[["","mat-list-avatar",""],["","matListAvatar",""]],hostAttrs:[1,"mat-list-avatar"]}),t})(),d3=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=fe({type:t,selectors:[["","mat-list-icon",""],["","matListIcon",""]],hostAttrs:[1,"mat-list-icon"]}),t})(),rie=(()=>{class t extends tie{constructor(e,i,r,o){super(),this._element=e,this._isInteractiveList=!1,this._destroyed=new pe,this._disabled=!1,this._isInteractiveList=!!(r||o&&"action-list"===o._getListType()),this._list=r||o;const s=this._getHostElement();"button"===s.nodeName.toLowerCase()&&!s.hasAttribute("type")&&s.setAttribute("type","button"),this._list&&this._list._stateChanges.pipe(rn(this._destroyed)).subscribe(()=>{i.markForCheck()})}get disabled(){return this._disabled||!(!this._list||!this._list.disabled)}set disabled(e){this._disabled=vt(e)}ngAfterContentInit(){!function gF(t,n,e="mat"){t.changes.pipe(Ui(t)).subscribe(({length:i})=>{Xp(n,`${e}-2-line`,!1),Xp(n,`${e}-3-line`,!1),Xp(n,`${e}-multi-line`,!1),2===i||3===i?Xp(n,`${e}-${i}-line`,!0):i>3&&Xp(n,`${e}-multi-line`,!0)})}(this._lines,this._element)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_isRippleDisabled(){return!this._isInteractiveList||this.disableRipple||!(!this._list||!this._list.disableRipple)}_getHostElement(){return this._element.nativeElement}}return t.\u0275fac=function(e){return new(e||t)(D(xe),D(wn),D(nie,8),D(c3,8))},t.\u0275cmp=Pe({type:t,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function(e,i,r){if(1&e&&(Qt(r,u3,5),Qt(r,d3,5),Qt(r,mF,5)),2&e){let o;ue(o=de())&&(i._avatar=o.first),ue(o=de())&&(i._icon=o.first),ue(o=de())&&(i._lines=o)}},hostAttrs:[1,"mat-list-item","mat-focus-indicator"],hostVars:4,hostBindings:function(e,i){2&e&&Rt("mat-list-item-disabled",i.disabled)("mat-list-item-with-avatar",i._avatar||i._icon)},inputs:{disableRipple:"disableRipple",disabled:"disabled"},exportAs:["matListItem"],features:[we],ngContentSelectors:Kne,decls:6,vars:2,consts:[[1,"mat-list-item-content"],["mat-ripple","",1,"mat-list-item-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-list-text"]],template:function(e,i){1&e&&(Di(Yne),v(0,"span",0),q(1,"span",1),nn(2),v(3,"span",2),nn(4,1),b(),nn(5,2),b()),2&e&&(I(1),R("matRippleTrigger",i._getHostElement())("matRippleDisabled",i._isRippleDisabled()))},dependencies:[ss],encapsulation:2,changeDetection:0}),t})(),uie=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Ct({type:t}),t.\u0275inj=yt({imports:[ib,El,zt,lx,Ao,ib,zt,lx,qne]}),t})();const die=["panel"];function hie(t,n){if(1&t&&(v(0,"div",0,1),nn(2),b()),2&t){const e=n.id,i=re();R("id",i.id)("ngClass",i._classList),Je("aria-label",i.ariaLabel||null)("aria-labelledby",i._getPanelAriaLabelledby(e))}}const fie=["*"];let pie=0;class mie{constructor(n,e){this.source=n,this.option=e}}const gie=Ts(class{}),f3=new u("mat-autocomplete-default-options",{providedIn:"root",factory:function _ie(){return{autoActiveFirstOption:!1,autoSelectActiveOption:!1}}});let vie=(()=>{class t extends gie{constructor(e,i,r,o){super(),this._changeDetectorRef=e,this._elementRef=i,this._activeOptionChanges=Z.EMPTY,this.showPanel=!1,this._isOpen=!1,this.displayWith=null,this.optionSelected=new $e,this.opened=new $e,this.closed=new $e,this.optionActivated=new $e,this._classList={},this.id="mat-autocomplete-"+pie++,this.inertGroups=o?.SAFARI||!1,this._autoActiveFirstOption=!!r.autoActiveFirstOption,this._autoSelectActiveOption=!!r.autoSelectActiveOption}get isOpen(){return this._isOpen&&this.showPanel}get autoActiveFirstOption(){return this._autoActiveFirstOption}set autoActiveFirstOption(e){this._autoActiveFirstOption=vt(e)}get autoSelectActiveOption(){return this._autoSelectActiveOption}set autoSelectActiveOption(e){this._autoSelectActiveOption=vt(e)}set classList(e){this._classList=e&&e.length?function IZ(t,n=/\s+/){const e=[];if(null!=t){const i=Array.isArray(t)?t:`${t}`.split(n);for(const r of i){const o=`${r}`.trim();o&&e.push(o)}}return e}(e).reduce((i,r)=>(i[r]=!0,i),{}):{},this._setVisibilityClasses(this._classList),this._elementRef.nativeElement.className=""}ngAfterContentInit(){this._keyManager=new rF(this.options).withWrap(),this._activeOptionChanges=this._keyManager.change.subscribe(e=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[e]||null})}),this._setVisibility()}ngOnDestroy(){this._activeOptionChanges.unsubscribe()}_setScrollTop(e){this.panel&&(this.panel.nativeElement.scrollTop=e)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options.length,this._setVisibilityClasses(this._classList),this._changeDetectorRef.markForCheck()}_emitSelectEvent(e){const i=new mie(this,e);this.optionSelected.emit(i)}_getPanelAriaLabelledby(e){return this.ariaLabel?null:this.ariaLabelledby?(e?e+" ":"")+this.ariaLabelledby:e}_setVisibilityClasses(e){e[this._visibleClass]=this.showPanel,e[this._hiddenClass]=!this.showPanel}}return t.\u0275fac=function(e){return new(e||t)(D(wn),D(xe),D(f3),D(dr))},t.\u0275dir=fe({type:t,viewQuery:function(e,i){if(1&e&&(Oe(ii,7),Oe(die,5)),2&e){let r;ue(r=de())&&(i.template=r.first),ue(r=de())&&(i.panel=r.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],displayWith:"displayWith",autoActiveFirstOption:"autoActiveFirstOption",autoSelectActiveOption:"autoSelectActiveOption",panelWidth:"panelWidth",classList:["class","classList"]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},features:[we]}),t})(),bie=(()=>{class t extends vie{constructor(){super(...arguments),this._visibleClass="mat-autocomplete-visible",this._hiddenClass="mat-autocomplete-hidden"}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=Ht(t)))(i||t)}}(),t.\u0275cmp=Pe({type:t,selectors:[["mat-autocomplete"]],contentQueries:function(e,i,r){if(1&e&&(Qt(r,ob,5),Qt(r,Es,5)),2&e){let o;ue(o=de())&&(i.optionGroups=o),ue(o=de())&&(i.options=o)}},hostAttrs:[1,"mat-autocomplete"],inputs:{disableRipple:"disableRipple"},exportAs:["matAutocomplete"],features:[_t([{provide:rb,useExisting:t}]),we],ngContentSelectors:fie,decls:1,vars:0,consts:[["role","listbox",1,"mat-autocomplete-panel",3,"id","ngClass"],["panel",""]],template:function(e,i){1&e&&(Di(),$(0,hie,3,4,"ng-template"))},dependencies:[Qd],styles:[".mat-autocomplete-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;visibility:hidden;max-width:none;max-height:256px;position:relative;width:100%;border-bottom-left-radius:4px;border-bottom-right-radius:4px}.mat-autocomplete-panel.mat-autocomplete-visible{visibility:visible}.mat-autocomplete-panel.mat-autocomplete-hidden{visibility:hidden}.mat-autocomplete-panel-above .mat-autocomplete-panel{border-radius:0;border-top-left-radius:4px;border-top-right-radius:4px}.mat-autocomplete-panel .mat-divider-horizontal{margin-top:-1px}.cdk-high-contrast-active .mat-autocomplete-panel{outline:solid 1px}mat-autocomplete{display:none}"],encapsulation:2,changeDetection:0}),t})();const p3=new u("mat-autocomplete-scroll-strategy"),wie={provide:p3,deps:[go],useFactory:function yie(t){return()=>t.scrollStrategies.reposition()}},Cie={provide:Oo,useExisting:xn(()=>m3),multi:!0};let Sie=(()=>{class t{constructor(e,i,r,o,s,a,l,c,p,m,_){this._element=e,this._overlay=i,this._viewContainerRef=r,this._zone=o,this._changeDetectorRef=s,this._dir=l,this._formField=c,this._document=p,this._viewportRuler=m,this._defaults=_,this._componentDestroyed=!1,this._autocompleteDisabled=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=Z.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new pe,this._windowBlurHandler=()=>{this._canOpenOnNextFocus=this._document.activeElement!==this._element.nativeElement||this.panelOpen},this._onChange=()=>{},this._onTouched=()=>{},this.position="auto",this.autocompleteAttribute="off",this._overlayAttached=!1,this.optionSelections=Jd(()=>{const C=this.autocomplete?this.autocomplete.options:null;return C?C.changes.pipe(Ui(C),Ar(()=>Ki(...C.map(k=>k.onSelectionChange)))):this._zone.onStable.pipe(di(1),Ar(()=>this.optionSelections))}),this._scrollStrategy=a}get autocompleteDisabled(){return this._autocompleteDisabled}set autocompleteDisabled(e){this._autocompleteDisabled=vt(e)}ngAfterViewInit(){const e=this._getWindow();typeof e<"u"&&this._zone.runOutsideAngular(()=>e.addEventListener("blur",this._windowBlurHandler))}ngOnChanges(e){e.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){const e=this._getWindow();typeof e<"u"&&e.removeEventListener("blur",this._windowBlurHandler),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete()}get panelOpen(){return this._overlayAttached&&this.autocomplete.showPanel}openPanel(){this._attachOverlay(),this._floatLabel()}closePanel(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this._zone.run(()=>{this.autocomplete.closed.emit()}),this.autocomplete._isOpen=this._overlayAttached=!1,this._pendingAutoselectedOption=null,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._componentDestroyed||this._changeDetectorRef.detectChanges())}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return Ki(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe(hi(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe(hi(()=>this._overlayAttached)):ct()).pipe(Ne(e=>e instanceof wF?e:null))}get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return Ki(Ia(this._document,"click"),Ia(this._document,"auxclick"),Ia(this._document,"touchend")).pipe(hi(e=>{const i=Cc(e),r=this._formField?this._formField._elementRef.nativeElement:null,o=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&i!==this._element.nativeElement&&this._document.activeElement!==this._element.nativeElement&&(!r||!r.contains(i))&&(!o||!o.contains(i))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(i)}))}writeValue(e){Promise.resolve(null).then(()=>this._assignOptionValue(e))}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this._element.nativeElement.disabled=e}_handleKeydown(e){const i=e.keyCode,r=no(e);if(27===i&&!r&&e.preventDefault(),this.activeOption&&13===i&&this.panelOpen&&!r)this.activeOption._selectViaInteraction(),this._resetActiveItem(),e.preventDefault();else if(this.autocomplete){const o=this.autocomplete._keyManager.activeItem,s=38===i||40===i;9===i||s&&!r&&this.panelOpen?this.autocomplete._keyManager.onKeydown(e):s&&this._canOpen()&&this.openPanel(),(s||this.autocomplete._keyManager.activeItem!==o)&&(this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0),this.autocomplete.autoSelectActiveOption&&this.activeOption&&(this._pendingAutoselectedOption||(this._valueBeforeAutoSelection=this._element.nativeElement.value),this._pendingAutoselectedOption=this.activeOption,this._assignOptionValue(this.activeOption.value)))}}_handleInput(e){let i=e.target,r=i.value;"number"===i.type&&(r=""==r?null:parseFloat(r)),this._previousValue!==r&&(this._previousValue=r,this._pendingAutoselectedOption=null,this._onChange(r),this._canOpen()&&this._document.activeElement===e.target&&this.openPanel())}_handleFocus(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}_handleClick(){this._canOpen()&&!this.panelOpen&&this.openPanel()}_floatLabel(e=!1){this._formField&&"auto"===this._formField.floatLabel&&(e?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField.floatLabel="auto",this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){return Ki(this._zone.onStable.pipe(di(1)),this.autocomplete.options.changes.pipe(rr(()=>this._positionStrategy.reapplyLastPosition()),_b(0))).pipe(Ar(()=>(this._zone.run(()=>{const r=this.panelOpen;this._resetActiveItem(),this.autocomplete._setVisibility(),this._changeDetectorRef.detectChanges(),this.panelOpen&&this._overlayRef.updatePosition(),r!==this.panelOpen&&(this.panelOpen?this.autocomplete.opened.emit():this.autocomplete.closed.emit())}),this.panelClosingActions)),di(1)).subscribe(r=>this._setValueAndClose(r))}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_assignOptionValue(e){const i=this.autocomplete&&this.autocomplete.displayWith?this.autocomplete.displayWith(e):e;this._updateNativeInputValue(i??"")}_updateNativeInputValue(e){this._formField?this._formField._control.value=e:this._element.nativeElement.value=e,this._previousValue=e}_setValueAndClose(e){const i=e?e.source:this._pendingAutoselectedOption;i&&(this._clearPreviousSelectedOption(i),this._assignOptionValue(i.value),this._onChange(i.value),this.autocomplete._emitSelectEvent(i),this._element.nativeElement.focus()),this.closePanel()}_clearPreviousSelectedOption(e){this.autocomplete.options.forEach(i=>{i!==e&&i.selected&&i.deselect()})}_attachOverlay(){let e=this._overlayRef;e?(this._positionStrategy.setOrigin(this._getConnectedElement()),e.updateSize({width:this._getPanelWidth()})):(this._portal=new Pa(this.autocomplete.template,this._viewContainerRef,{id:this._formField?.getLabelId()}),e=this._overlay.create(this._getOverlayConfig()),this._overlayRef=e,this._handleOverlayEvents(e),this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&e&&e.updateSize({width:this._getPanelWidth()})})),e&&!e.hasAttached()&&(e.attach(this._portal),this._closingActionsSubscription=this._subscribeToClosingActions());const i=this.panelOpen;this.autocomplete._setVisibility(),this.autocomplete._isOpen=this._overlayAttached=!0,this.panelOpen&&i!==this.panelOpen&&this.autocomplete.opened.emit()}_getOverlayConfig(){return new Sh({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir,panelClass:this._defaults?.overlayPanelClass})}_getOverlayPosition(){const e=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(e),this._positionStrategy=e,e}_setStrategyPositions(e){const i=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],r=this._aboveClass,o=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:r},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:r}];let s;s="above"===this.position?o:"below"===this.position?i:[...i,...o],e.withPositions(s)}_getConnectedElement(){return this.connectedTo?this.connectedTo.elementRef:this._formField?this._formField.getConnectedOverlayOrigin():this._element}_getPanelWidth(){return this.autocomplete.panelWidth||this._getHostWidth()}_getHostWidth(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width}_resetActiveItem(){const e=this.autocomplete;e.autoActiveFirstOption?e._keyManager.setFirstItemActive():e._keyManager.setActiveItem(-1)}_canOpen(){const e=this._element.nativeElement;return!e.readOnly&&!e.disabled&&!this._autocompleteDisabled}_getWindow(){return this._document?.defaultView||window}_scrollToOption(e){const i=this.autocomplete,r=ux(e,i.options,i.optionGroups);if(0===e&&1===r)i._setScrollTop(0);else if(i.panel){const o=i.options.toArray()[e];if(o){const s=o._getHostElement(),a=CF(s.offsetTop,s.offsetHeight,i._getScrollTop(),i.panel.nativeElement.offsetHeight);i._setScrollTop(a)}}}_handleOverlayEvents(e){e.keydownEvents().subscribe(i=>{(27===i.keyCode&&!no(i)||38===i.keyCode&&no(i,"altKey"))&&(this._pendingAutoselectedOption&&(this._updateNativeInputValue(this._valueBeforeAutoSelection??""),this._pendingAutoselectedOption=null),this._closeKeyEventStream.next(),this._resetActiveItem(),i.stopPropagation(),i.preventDefault())}),e.outsidePointerEvents().subscribe()}}return t.\u0275fac=function(e){return new(e||t)(D(xe),D(go),D(wi),D(bt),D(wn),D(p3),D(io,8),D(gb,9),D(Xt,8),D(Sc),D(f3,8))},t.\u0275dir=fe({type:t,inputs:{autocomplete:["matAutocomplete","autocomplete"],position:["matAutocompletePosition","position"],connectedTo:["matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:["autocomplete","autocompleteAttribute"],autocompleteDisabled:["matAutocompleteDisabled","autocompleteDisabled"]},features:[Tn]}),t})(),m3=(()=>{class t extends Sie{constructor(){super(...arguments),this._aboveClass="mat-autocomplete-panel-above"}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=Ht(t)))(i||t)}}(),t.\u0275dir=fe({type:t,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-autocomplete-trigger"],hostVars:7,hostBindings:function(e,i){1&e&&ne("focusin",function(){return i._handleFocus()})("blur",function(){return i._onTouched()})("input",function(o){return i._handleInput(o)})("keydown",function(o){return i._handleKeydown(o)})("click",function(){return i._handleClick()}),2&e&&Je("autocomplete",i.autocompleteAttribute)("role",i.autocompleteDisabled?null:"combobox")("aria-autocomplete",i.autocompleteDisabled?null:"list")("aria-activedescendant",i.panelOpen&&i.activeOption?i.activeOption.id:null)("aria-expanded",i.autocompleteDisabled?null:i.panelOpen.toString())("aria-owns",i.autocompleteDisabled||!i.panelOpen||null==i.autocomplete?null:i.autocomplete.id)("aria-haspopup",i.autocompleteDisabled?null:"listbox")},exportAs:["matAutocompleteTrigger"],features:[_t([Cie]),we]}),t})(),xie=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Ct({type:t}),t.\u0275inj=yt({providers:[wie],imports:[Pu,sb,zt,Ao,wh,sb,zt]}),t})();const Die=[[["caption"]],[["colgroup"],["col"]]],Mie=["caption","colgroup, col"];function Rx(t){return class extends t{constructor(...n){super(...n),this._sticky=!1,this._hasStickyChanged=!1}get sticky(){return this._sticky}set sticky(n){const e=this._sticky;this._sticky=vt(n),this._hasStickyChanged=e!==this._sticky}hasStickyChanged(){const n=this._hasStickyChanged;return this._hasStickyChanged=!1,n}resetStickyChanged(){this._hasStickyChanged=!1}}}const Eh=new u("CDK_TABLE");let Ah=(()=>{class t{constructor(e){this.template=e}}return t.\u0275fac=function(e){return new(e||t)(D(ii))},t.\u0275dir=fe({type:t,selectors:[["","cdkCellDef",""]]}),t})(),Oh=(()=>{class t{constructor(e){this.template=e}}return t.\u0275fac=function(e){return new(e||t)(D(ii))},t.\u0275dir=fe({type:t,selectors:[["","cdkHeaderCellDef",""]]}),t})(),Db=(()=>{class t{constructor(e){this.template=e}}return t.\u0275fac=function(e){return new(e||t)(D(ii))},t.\u0275dir=fe({type:t,selectors:[["","cdkFooterCellDef",""]]}),t})();class Oie{}const Iie=Rx(Oie);let Il=(()=>{class t extends Iie{constructor(e){super(),this._table=e,this._stickyEnd=!1}get name(){return this._name}set name(e){this._setNameInput(e)}get stickyEnd(){return this._stickyEnd}set stickyEnd(e){const i=this._stickyEnd;this._stickyEnd=vt(e),this._hasStickyChanged=i!==this._stickyEnd}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(e){e&&(this._name=e,this.cssClassFriendlyName=e.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}}return t.\u0275fac=function(e){return new(e||t)(D(Eh,8))},t.\u0275dir=fe({type:t,selectors:[["","cdkColumnDef",""]],contentQueries:function(e,i,r){if(1&e&&(Qt(r,Ah,5),Qt(r,Oh,5),Qt(r,Db,5)),2&e){let o;ue(o=de())&&(i.cell=o.first),ue(o=de())&&(i.headerCell=o.first),ue(o=de())&&(i.footerCell=o.first)}},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:"stickyEnd"},features:[_t([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:t}]),we]}),t})();class Fx{constructor(n,e){e.nativeElement.classList.add(...n._columnCssClassName)}}let Nx=(()=>{class t extends Fx{constructor(e,i){super(e,i)}}return t.\u0275fac=function(e){return new(e||t)(D(Il),D(xe))},t.\u0275dir=fe({type:t,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[we]}),t})(),Lx=(()=>{class t extends Fx{constructor(e,i){if(super(e,i),1===e._table?._elementRef.nativeElement.nodeType){const r=e._table._elementRef.nativeElement.getAttribute("role");i.nativeElement.setAttribute("role","grid"===r||"treegrid"===r?"gridcell":"cell")}}}return t.\u0275fac=function(e){return new(e||t)(D(Il),D(xe))},t.\u0275dir=fe({type:t,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[we]}),t})();class _3{constructor(){this.tasks=[],this.endTasks=[]}}const Bx=new u("_COALESCED_STYLE_SCHEDULER");let v3=(()=>{class t{constructor(e){this._ngZone=e,this._currentSchedule=null,this._destroyed=new pe}schedule(e){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(e)}scheduleEnd(e){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(e)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new _3,this._getScheduleObservable().pipe(rn(this._destroyed)).subscribe(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){const e=this._currentSchedule;this._currentSchedule=new _3;for(const i of e.tasks)i();for(const i of e.endTasks)i()}this._currentSchedule=null}))}_getScheduleObservable(){return this._ngZone.isStable?Bn(Promise.resolve(void 0)):this._ngZone.onStable.pipe(di(1))}}return t.\u0275fac=function(e){return new(e||t)(K(bt))},t.\u0275prov=Te({token:t,factory:t.\u0275fac}),t})(),Vx=(()=>{class t{constructor(e,i){this.template=e,this._differs=i}ngOnChanges(e){if(!this._columnsDiffer){const i=e.columns&&e.columns.currentValue||[];this._columnsDiffer=this._differs.find(i).create(),this._columnsDiffer.diff(i)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(e){return this instanceof um?e.headerCell.template:this instanceof dm?e.footerCell.template:e.cell.template}}return t.\u0275fac=function(e){return new(e||t)(D(ii),D(pl))},t.\u0275dir=fe({type:t,features:[Tn]}),t})();class Pie extends Vx{}const Rie=Rx(Pie);let um=(()=>{class t extends Rie{constructor(e,i,r){super(e,i),this._table=r}ngOnChanges(e){super.ngOnChanges(e)}}return t.\u0275fac=function(e){return new(e||t)(D(ii),D(pl),D(Eh,8))},t.\u0275dir=fe({type:t,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[we,Tn]}),t})();class Fie extends Vx{}const Nie=Rx(Fie);let dm=(()=>{class t extends Nie{constructor(e,i,r){super(e,i),this._table=r}ngOnChanges(e){super.ngOnChanges(e)}}return t.\u0275fac=function(e){return new(e||t)(D(ii),D(pl),D(Eh,8))},t.\u0275dir=fe({type:t,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[we,Tn]}),t})(),Mb=(()=>{class t extends Vx{constructor(e,i,r){super(e,i),this._table=r}}return t.\u0275fac=function(e){return new(e||t)(D(ii),D(pl),D(Eh,8))},t.\u0275dir=fe({type:t,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[we]}),t})(),Pl=(()=>{class t{constructor(e){this._viewContainer=e,t.mostRecentCellOutlet=this}ngOnDestroy(){t.mostRecentCellOutlet===this&&(t.mostRecentCellOutlet=null)}}return t.mostRecentCellOutlet=null,t.\u0275fac=function(e){return new(e||t)(D(wi))},t.\u0275dir=fe({type:t,selectors:[["","cdkCellOutlet",""]]}),t})(),Hx=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Pe({type:t,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,i){1&e&&mo(0,0)},dependencies:[Pl],encapsulation:2}),t})(),Wx=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Pe({type:t,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,i){1&e&&mo(0,0)},dependencies:[Pl],encapsulation:2}),t})(),Tb=(()=>{class t{constructor(e){this.templateRef=e,this._contentClassName="cdk-no-data-row"}}return t.\u0275fac=function(e){return new(e||t)(D(ii))},t.\u0275dir=fe({type:t,selectors:[["ng-template","cdkNoDataRow",""]]}),t})();const b3=["top","bottom","left","right"];class Lie{constructor(n,e,i,r,o=!0,s=!0,a){this._isNativeHtmlTable=n,this._stickCellCss=e,this.direction=i,this._coalescedStyleScheduler=r,this._isBrowser=o,this._needsPositionStickyOnElement=s,this._positionListener=a,this._cachedCellWidths=[],this._borderCellCss={top:`${e}-border-elem-top`,bottom:`${e}-border-elem-bottom`,left:`${e}-border-elem-left`,right:`${e}-border-elem-right`}}clearStickyPositioning(n,e){const i=[];for(const r of n)if(r.nodeType===r.ELEMENT_NODE){i.push(r);for(let o=0;o{for(const r of i)this._removeStickyStyle(r,e)})}updateStickyColumns(n,e,i,r=!0){if(!n.length||!this._isBrowser||!e.some(_=>_)&&!i.some(_=>_))return void(this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]})));const o=n[0],s=o.children.length,a=this._getCellWidths(o,r),l=this._getStickyStartColumnPositions(a,e),c=this._getStickyEndColumnPositions(a,i),p=e.lastIndexOf(!0),m=i.indexOf(!0);this._coalescedStyleScheduler.schedule(()=>{const _="rtl"===this.direction,C=_?"right":"left",k=_?"left":"right";for(const A of n)for(let P=0;Pe[P]?A:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:-1===m?[]:a.slice(m).map((A,P)=>i[P+m]?A:null).reverse()}))})}stickRows(n,e,i){if(!this._isBrowser)return;const r="bottom"===i?n.slice().reverse():n,o="bottom"===i?e.slice().reverse():e,s=[],a=[],l=[];for(let p=0,m=0;p{for(let p=0;p{e.some(r=>!r)?this._removeStickyStyle(i,["bottom"]):this._addStickyStyle(i,"bottom",0,!1)})}_removeStickyStyle(n,e){for(const r of e)n.style[r]="",n.classList.remove(this._borderCellCss[r]);b3.some(r=>-1===e.indexOf(r)&&n.style[r])?n.style.zIndex=this._getCalculatedZIndex(n):(n.style.zIndex="",this._needsPositionStickyOnElement&&(n.style.position=""),n.classList.remove(this._stickCellCss))}_addStickyStyle(n,e,i,r){n.classList.add(this._stickCellCss),r&&n.classList.add(this._borderCellCss[e]),n.style[e]=`${i}px`,n.style.zIndex=this._getCalculatedZIndex(n),this._needsPositionStickyOnElement&&(n.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(n){const e={top:100,bottom:10,left:1,right:1};let i=0;for(const r of b3)n.style[r]&&(i+=e[r]);return i?`${i}`:""}_getCellWidths(n,e=!0){if(!e&&this._cachedCellWidths.length)return this._cachedCellWidths;const i=[],r=n.children;for(let o=0;o0;o--)e[o]&&(i[o]=r,r+=n[o]);return i}}const jx=new u("CDK_SPL");let Eb=(()=>{class t{constructor(e,i){this.viewContainer=e,this.elementRef=i}}return t.\u0275fac=function(e){return new(e||t)(D(wi),D(xe))},t.\u0275dir=fe({type:t,selectors:[["","rowOutlet",""]]}),t})(),Ab=(()=>{class t{constructor(e,i){this.viewContainer=e,this.elementRef=i}}return t.\u0275fac=function(e){return new(e||t)(D(wi),D(xe))},t.\u0275dir=fe({type:t,selectors:[["","headerRowOutlet",""]]}),t})(),Ob=(()=>{class t{constructor(e,i){this.viewContainer=e,this.elementRef=i}}return t.\u0275fac=function(e){return new(e||t)(D(wi),D(xe))},t.\u0275dir=fe({type:t,selectors:[["","footerRowOutlet",""]]}),t})(),Ib=(()=>{class t{constructor(e,i){this.viewContainer=e,this.elementRef=i}}return t.\u0275fac=function(e){return new(e||t)(D(wi),D(xe))},t.\u0275dir=fe({type:t,selectors:[["","noDataRowOutlet",""]]}),t})(),Pb=(()=>{class t{constructor(e,i,r,o,s,a,l,c,p,m,_,C){this._differs=e,this._changeDetectorRef=i,this._elementRef=r,this._dir=s,this._platform=l,this._viewRepeater=c,this._coalescedStyleScheduler=p,this._viewportRuler=m,this._stickyPositioningListener=_,this._ngZone=C,this._onDestroy=new pe,this._columnDefsByName=new Map,this._customColumnDefs=new Set,this._customRowDefs=new Set,this._customHeaderRowDefs=new Set,this._customFooterRowDefs=new Set,this._headerRowDefChanged=!0,this._footerRowDefChanged=!0,this._stickyColumnStylesNeedReset=!0,this._forceRecalculateCellWidths=!0,this._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this.needsPositionStickyOnElement=!0,this._isShowingNoDataRow=!1,this._multiTemplateDataRows=!1,this._fixedLayout=!1,this.contentChanged=new $e,this.viewChange=new En({start:0,end:Number.MAX_VALUE}),o||this._elementRef.nativeElement.setAttribute("role","table"),this._document=a,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}get trackBy(){return this._trackByFn}set trackBy(e){this._trackByFn=e}get dataSource(){return this._dataSource}set dataSource(e){this._dataSource!==e&&this._switchDataSource(e)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(e){this._multiTemplateDataRows=vt(e),this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(e){this._fixedLayout=vt(e),this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}ngOnInit(){this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create((e,i)=>this.trackBy?this.trackBy(i.dataIndex,i.data):i),this._viewportRuler.change().pipe(rn(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentChecked(){this._cacheRowDefs(),this._cacheColumnDefs();const i=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||i,this._forceRecalculateCellWidths=i,this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&this.updateStickyColumnStyles(),this._checkStickyStates()}ngOnDestroy(){[this._rowOutlet.viewContainer,this._headerRowOutlet.viewContainer,this._footerRowOutlet.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(e=>{e.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._onDestroy.next(),this._onDestroy.complete(),vx(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();const e=this._dataDiffer.diff(this._renderRows);if(!e)return this._updateNoDataRow(),void this.contentChanged.next();const i=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(e,i,(r,o,s)=>this._getEmbeddedViewArgs(r.item,s),r=>r.item.data,r=>{1===r.operation&&r.context&&this._renderCellTemplateForItem(r.record.item.rowDef,r.context)}),this._updateRowIndexContext(),e.forEachIdentityChange(r=>{i.get(r.currentIndex).context.$implicit=r.item.data}),this._updateNoDataRow(),this._ngZone&&bt.isInAngularZone()?this._ngZone.onStable.pipe(di(1),rn(this._onDestroy)).subscribe(()=>{this.updateStickyColumnStyles()}):this.updateStickyColumnStyles(),this.contentChanged.next()}addColumnDef(e){this._customColumnDefs.add(e)}removeColumnDef(e){this._customColumnDefs.delete(e)}addRowDef(e){this._customRowDefs.add(e)}removeRowDef(e){this._customRowDefs.delete(e)}addHeaderRowDef(e){this._customHeaderRowDefs.add(e),this._headerRowDefChanged=!0}removeHeaderRowDef(e){this._customHeaderRowDefs.delete(e),this._headerRowDefChanged=!0}addFooterRowDef(e){this._customFooterRowDefs.add(e),this._footerRowDefChanged=!0}removeFooterRowDef(e){this._customFooterRowDefs.delete(e),this._footerRowDefChanged=!0}setNoDataRow(e){this._customNoDataRow=e}updateStickyHeaderRowStyles(){const e=this._getRenderedRows(this._headerRowOutlet),r=this._elementRef.nativeElement.querySelector("thead");r&&(r.style.display=e.length?"":"none");const o=this._headerRowDefs.map(s=>s.sticky);this._stickyStyler.clearStickyPositioning(e,["top"]),this._stickyStyler.stickRows(e,o,"top"),this._headerRowDefs.forEach(s=>s.resetStickyChanged())}updateStickyFooterRowStyles(){const e=this._getRenderedRows(this._footerRowOutlet),r=this._elementRef.nativeElement.querySelector("tfoot");r&&(r.style.display=e.length?"":"none");const o=this._footerRowDefs.map(s=>s.sticky);this._stickyStyler.clearStickyPositioning(e,["bottom"]),this._stickyStyler.stickRows(e,o,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,o),this._footerRowDefs.forEach(s=>s.resetStickyChanged())}updateStickyColumnStyles(){const e=this._getRenderedRows(this._headerRowOutlet),i=this._getRenderedRows(this._rowOutlet),r=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...e,...i,...r],["left","right"]),this._stickyColumnStylesNeedReset=!1),e.forEach((o,s)=>{this._addStickyColumnStyles([o],this._headerRowDefs[s])}),this._rowDefs.forEach(o=>{const s=[];for(let a=0;a{this._addStickyColumnStyles([o],this._footerRowDefs[s])}),Array.from(this._columnDefsByName.values()).forEach(o=>o.resetStickyChanged())}_getAllRenderRows(){const e=[],i=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let r=0;r{const a=r&&r.has(s)?r.get(s):[];if(a.length){const l=a.shift();return l.dataIndex=i,l}return{data:e,rowDef:s,dataIndex:i}})}_cacheColumnDefs(){this._columnDefsByName.clear(),Rb(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(i=>{this._columnDefsByName.has(i.name),this._columnDefsByName.set(i.name,i)})}_cacheRowDefs(){this._headerRowDefs=Rb(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=Rb(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=Rb(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const e=this._rowDefs.filter(i=>!i.when);this._defaultRowDef=e[0]}_renderUpdatedColumns(){const e=(s,a)=>s||!!a.getColumnsDiff(),i=this._rowDefs.reduce(e,!1);i&&this._forceRenderDataRows();const r=this._headerRowDefs.reduce(e,!1);r&&this._forceRenderHeaderRows();const o=this._footerRowDefs.reduce(e,!1);return o&&this._forceRenderFooterRows(),i||r||o}_switchDataSource(e){this._data=[],vx(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),e||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=e}_observeRenderChanges(){if(!this.dataSource)return;let e;vx(this.dataSource)?e=this.dataSource.connect(this):function kie(t){return!!t&&(t instanceof bn||Pt(t.lift)&&Pt(t.subscribe))}(this.dataSource)?e=this.dataSource:Array.isArray(this.dataSource)&&(e=ct(this.dataSource)),this._renderChangeSubscription=e.pipe(rn(this._onDestroy)).subscribe(i=>{this._data=i||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((e,i)=>this._renderRow(this._headerRowOutlet,e,i)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((e,i)=>this._renderRow(this._footerRowOutlet,e,i)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(e,i){const r=Array.from(i.columns||[]).map(a=>this._columnDefsByName.get(a)),o=r.map(a=>a.sticky),s=r.map(a=>a.stickyEnd);this._stickyStyler.updateStickyColumns(e,o,s,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(e){const i=[];for(let r=0;r!o.when||o.when(i,e));else{let o=this._rowDefs.find(s=>s.when&&s.when(i,e))||this._defaultRowDef;o&&r.push(o)}return r}_getEmbeddedViewArgs(e,i){return{templateRef:e.rowDef.template,context:{$implicit:e.data},index:i}}_renderRow(e,i,r,o={}){const s=e.viewContainer.createEmbeddedView(i.template,o,r);return this._renderCellTemplateForItem(i,o),s}_renderCellTemplateForItem(e,i){for(let r of this._getCellTemplates(e))Pl.mostRecentCellOutlet&&Pl.mostRecentCellOutlet._viewContainer.createEmbeddedView(r,i);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const e=this._rowOutlet.viewContainer;for(let i=0,r=e.length;i{const r=this._columnDefsByName.get(i);return e.extractCellTemplate(r)}):[]}_applyNativeTableSections(){const e=this._document.createDocumentFragment(),i=[{tag:"thead",outlets:[this._headerRowOutlet]},{tag:"tbody",outlets:[this._rowOutlet,this._noDataRowOutlet]},{tag:"tfoot",outlets:[this._footerRowOutlet]}];for(const r of i){const o=this._document.createElement(r.tag);o.setAttribute("role","rowgroup");for(const s of r.outlets)o.appendChild(s.elementRef.nativeElement);e.appendChild(o)}this._elementRef.nativeElement.appendChild(e)}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const e=(i,r)=>i||r.hasStickyChanged();this._headerRowDefs.reduce(e,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(e,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(e,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){this._stickyStyler=new Lie(this._isNativeHtmlTable,this.stickyCssClass,this._dir?this._dir.value:"ltr",this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement,this._stickyPositioningListener),(this._dir?this._dir.change:ct()).pipe(rn(this._onDestroy)).subscribe(i=>{this._stickyStyler.direction=i,this.updateStickyColumnStyles()})}_getOwnDefs(e){return e.filter(i=>!i._table||i._table===this)}_updateNoDataRow(){const e=this._customNoDataRow||this._noDataRow;if(!e)return;const i=0===this._rowOutlet.viewContainer.length;if(i===this._isShowingNoDataRow)return;const r=this._noDataRowOutlet.viewContainer;if(i){const o=r.createEmbeddedView(e.templateRef),s=o.rootNodes[0];1===o.rootNodes.length&&s?.nodeType===this._document.ELEMENT_NODE&&(s.setAttribute("role","row"),s.classList.add(e._contentClassName))}else r.clear();this._isShowingNoDataRow=i}}return t.\u0275fac=function(e){return new(e||t)(D(pl),D(wn),D(xe),ho("role"),D(io,8),D(Xt),D(dr),D(im),D(Bx),D(Sc),D(jx,12),D(bt,8))},t.\u0275cmp=Pe({type:t,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(e,i,r){if(1&e&&(Qt(r,Tb,5),Qt(r,Il,5),Qt(r,Mb,5),Qt(r,um,5),Qt(r,dm,5)),2&e){let o;ue(o=de())&&(i._noDataRow=o.first),ue(o=de())&&(i._contentColumnDefs=o),ue(o=de())&&(i._contentRowDefs=o),ue(o=de())&&(i._contentHeaderRowDefs=o),ue(o=de())&&(i._contentFooterRowDefs=o)}},viewQuery:function(e,i){if(1&e&&(Oe(Eb,7),Oe(Ab,7),Oe(Ob,7),Oe(Ib,7)),2&e){let r;ue(r=de())&&(i._rowOutlet=r.first),ue(r=de())&&(i._headerRowOutlet=r.first),ue(r=de())&&(i._footerRowOutlet=r.first),ue(r=de())&&(i._noDataRowOutlet=r.first)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(e,i){2&e&&Rt("cdk-table-fixed-layout",i.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:"multiTemplateDataRows",fixedLayout:"fixedLayout"},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[_t([{provide:Eh,useExisting:t},{provide:im,useClass:KF},{provide:Bx,useClass:v3},{provide:jx,useValue:null}])],ngContentSelectors:Mie,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(e,i){1&e&&(Di(Die),nn(0),nn(1,1),mo(2,0)(3,1)(4,2)(5,3))},dependencies:[Eb,Ab,Ob,Ib],styles:[".cdk-table-fixed-layout{table-layout:fixed}"],encapsulation:2}),t})();function Rb(t,n){return t.concat(Array.from(n))}let Vie=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Ct({type:t}),t.\u0275inj=yt({imports:[fx]}),t})();const Hie=[[["caption"]],[["colgroup"],["col"]]],zie=["caption","colgroup, col"];let Fb=(()=>{class t extends Pb{constructor(){super(...arguments),this.stickyCssClass="mat-table-sticky",this.needsPositionStickyOnElement=!1}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=Ht(t)))(i||t)}}(),t.\u0275cmp=Pe({type:t,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-table"],hostVars:2,hostBindings:function(e,i){2&e&&Rt("mat-table-fixed-layout",i.fixedLayout)},exportAs:["matTable"],features:[_t([{provide:im,useClass:KF},{provide:Pb,useExisting:t},{provide:Eh,useExisting:t},{provide:Bx,useClass:v3},{provide:jx,useValue:null}]),we],ngContentSelectors:zie,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(e,i){1&e&&(Di(Hie),nn(0),nn(1,1),mo(2,0)(3,1)(4,2)(5,3))},dependencies:[Eb,Ab,Ob,Ib],styles:["mat-table{display:block}mat-header-row{min-height:56px}mat-row,mat-footer-row{min-height:48px}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}table.mat-table{border-spacing:0}tr.mat-header-row{height:56px}tr.mat-row,tr.mat-footer-row{height:48px}th.mat-header-cell{text-align:left}[dir=rtl] th.mat-header-cell{text-align:right}th.mat-header-cell,td.mat-cell,td.mat-footer-cell{padding:0;border-bottom-width:1px;border-bottom-style:solid}th.mat-header-cell:first-of-type,td.mat-cell:first-of-type,td.mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] th.mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}th.mat-header-cell:last-of-type,td.mat-cell:last-of-type,td.mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] th.mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}.mat-table-sticky{position:sticky !important}.mat-table-fixed-layout{table-layout:fixed}"],encapsulation:2}),t})(),hm=(()=>{class t extends Ah{}return t.\u0275fac=function(){let n;return function(i){return(n||(n=Ht(t)))(i||t)}}(),t.\u0275dir=fe({type:t,selectors:[["","matCellDef",""]],features:[_t([{provide:Ah,useExisting:t}]),we]}),t})(),fm=(()=>{class t extends Oh{}return t.\u0275fac=function(){let n;return function(i){return(n||(n=Ht(t)))(i||t)}}(),t.\u0275dir=fe({type:t,selectors:[["","matHeaderCellDef",""]],features:[_t([{provide:Oh,useExisting:t}]),we]}),t})(),pm=(()=>{class t extends Il{get name(){return this._name}set name(e){this._setNameInput(e)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=Ht(t)))(i||t)}}(),t.\u0275dir=fe({type:t,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[_t([{provide:Il,useExisting:t},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:t}]),we]}),t})(),mm=(()=>{class t extends Nx{}return t.\u0275fac=function(){let n;return function(i){return(n||(n=Ht(t)))(i||t)}}(),t.\u0275dir=fe({type:t,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-header-cell"],features:[we]}),t})(),Ih=(()=>{class t extends Lx{}return t.\u0275fac=function(){let n;return function(i){return(n||(n=Ht(t)))(i||t)}}(),t.\u0275dir=fe({type:t,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:["role","gridcell",1,"mat-cell"],features:[we]}),t})(),Nb=(()=>{class t extends um{}return t.\u0275fac=function(){let n;return function(i){return(n||(n=Ht(t)))(i||t)}}(),t.\u0275dir=fe({type:t,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[_t([{provide:um,useExisting:t}]),we]}),t})(),Lb=(()=>{class t extends Mb{}return t.\u0275fac=function(){let n;return function(i){return(n||(n=Ht(t)))(i||t)}}(),t.\u0275dir=fe({type:t,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[_t([{provide:Mb,useExisting:t}]),we]}),t})(),Bb=(()=>{class t extends Hx{}return t.\u0275fac=function(){let n;return function(i){return(n||(n=Ht(t)))(i||t)}}(),t.\u0275cmp=Pe({type:t,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-header-row"],exportAs:["matHeaderRow"],features:[_t([{provide:Hx,useExisting:t}]),we],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,i){1&e&&mo(0,0)},dependencies:[Pl],encapsulation:2}),t})(),Vb=(()=>{class t extends Wx{}return t.\u0275fac=function(){let n;return function(i){return(n||(n=Ht(t)))(i||t)}}(),t.\u0275cmp=Pe({type:t,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-row"],exportAs:["matRow"],features:[_t([{provide:Wx,useExisting:t}]),we],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,i){1&e&&mo(0,0)},dependencies:[Pl],encapsulation:2}),t})(),Hb=(()=>{class t extends Tb{constructor(){super(...arguments),this._contentClassName="mat-no-data-row"}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=Ht(t)))(i||t)}}(),t.\u0275dir=fe({type:t,selectors:[["ng-template","matNoDataRow",""]],features:[_t([{provide:Tb,useExisting:t}]),we]}),t})(),Zie=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Ct({type:t}),t.\u0275inj=yt({imports:[Vie,zt,zt]}),t})();class Ux extends class Xie extends class eJ{}{constructor(n=[]){super(),this._renderData=new En([]),this._filter=new En(""),this._internalPageChanges=new pe,this._renderChangesSubscription=null,this.sortingDataAccessor=(e,i)=>{const r=e[i];if(KR(r)){const o=Number(r);return o<9007199254740991?o:r}return r},this.sortData=(e,i)=>{const r=i.active,o=i.direction;return r&&""!=o?e.sort((s,a)=>{let l=this.sortingDataAccessor(s,r),c=this.sortingDataAccessor(a,r);const p=typeof l,m=typeof c;p!==m&&("number"===p&&(l+=""),"number"===m&&(c+=""));let _=0;return null!=l&&null!=c?l>c?_=1:l{const r=Object.keys(e).reduce((s,a)=>s+e[a]+"\u25ec","").toLowerCase(),o=i.trim().toLowerCase();return-1!=r.indexOf(o)},this._data=new En(n),this._updateChangeSubscription()}get data(){return this._data.value}set data(n){n=Array.isArray(n)?n:[],this._data.next(n),this._renderChangesSubscription||this._filterData(n)}get filter(){return this._filter.value}set filter(n){this._filter.next(n),this._renderChangesSubscription||this._filterData(this.data)}get sort(){return this._sort}set sort(n){this._sort=n,this._updateChangeSubscription()}get paginator(){return this._paginator}set paginator(n){this._paginator=n,this._updateChangeSubscription()}_updateChangeSubscription(){const n=this._sort?Ki(this._sort.sortChange,this._sort.initialized):ct(null),e=this._paginator?Ki(this._paginator.page,this._internalPageChanges,this._paginator.initialized):ct(null),r=Xd([this._data,this._filter]).pipe(Ne(([a])=>this._filterData(a))),o=Xd([r,n]).pipe(Ne(([a])=>this._orderData(a))),s=Xd([o,e]).pipe(Ne(([a])=>this._pageData(a)));this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=s.subscribe(a=>this._renderData.next(a))}_filterData(n){return this.filteredData=null==this.filter||""===this.filter?n:n.filter(e=>this.filterPredicate(e,this.filter)),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(n){return this.sort?this.sortData(n.slice(),this.sort):n}_pageData(n){if(!this.paginator)return n;const e=this.paginator.pageIndex*this.paginator.pageSize;return n.slice(e,e+this.paginator.pageSize)}_updatePaginator(n){Promise.resolve().then(()=>{const e=this.paginator;if(e&&(e.length=n,e.pageIndex>0)){const i=Math.ceil(e.length/e.pageSize)-1||0,r=Math.min(e.pageIndex,i);r!==e.pageIndex&&(e.pageIndex=r,this._internalPageChanges.next())}})}connect(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}disconnect(){this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=null}}{}function Jie(t,n){if(1&t&&(v(0,"mat-option",19),M(1),b()),2&t){const e=n.$implicit;R("value",e),I(1),vn(" ",e," ")}}function ere(t,n){if(1&t){const e=Zn();v(0,"mat-form-field",16)(1,"mat-select",17),ne("selectionChange",function(r){return ut(e),lt(re(2)._changePageSize(r.value))}),$(2,Jie,2,2,"mat-option",18),b()()}if(2&t){const e=re(2);R("appearance",e._formFieldAppearance)("color",e.color),I(1),R("value",e.pageSize)("disabled",e.disabled)("panelClass",e.selectConfig.panelClass||"")("disableOptionCentering",e.selectConfig.disableOptionCentering)("aria-label",e._intl.itemsPerPageLabel),I(1),R("ngForOf",e._displayedPageSizeOptions)}}function tre(t,n){if(1&t&&(v(0,"div",20),M(1),b()),2&t){const e=re(2);I(1),Qn(e.pageSize)}}function nre(t,n){if(1&t&&(v(0,"div",12)(1,"div",13),M(2),b(),$(3,ere,3,8,"mat-form-field",14),$(4,tre,2,1,"div",15),b()),2&t){const e=re();I(2),vn(" ",e._intl.itemsPerPageLabel," "),I(1),R("ngIf",e._displayedPageSizeOptions.length>1),I(1),R("ngIf",e._displayedPageSizeOptions.length<=1)}}function ire(t,n){if(1&t){const e=Zn();v(0,"button",21),ne("click",function(){return ut(e),lt(re().firstPage())}),vr(),v(1,"svg",7),q(2,"path",22),b()()}if(2&t){const e=re();R("matTooltip",e._intl.firstPageLabel)("matTooltipDisabled",e._previousButtonsDisabled())("matTooltipPosition","above")("disabled",e._previousButtonsDisabled()),Je("aria-label",e._intl.firstPageLabel)}}function rre(t,n){if(1&t){const e=Zn();vr(),Yo(),v(0,"button",23),ne("click",function(){return ut(e),lt(re().lastPage())}),vr(),v(1,"svg",7),q(2,"path",24),b()()}if(2&t){const e=re();R("matTooltip",e._intl.lastPageLabel)("matTooltipDisabled",e._nextButtonsDisabled())("matTooltipPosition","above")("disabled",e._nextButtonsDisabled()),Je("aria-label",e._intl.lastPageLabel)}}let zb=(()=>{class t{constructor(){this.changes=new pe,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=(e,i,r)=>{if(0==r||0==i)return`0 of ${r}`;const o=e*i;return`${o+1} \u2013 ${o<(r=Math.max(r,0))?Math.min(o+i,r):o+i} of ${r}`}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Te({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const sre={provide:zb,deps:[[new Gs,new al,zb]],useFactory:function ore(t){return t||new zb}},lre=new u("MAT_PAGINATOR_DEFAULT_OPTIONS"),cre=os(pF(class{}));let ure=(()=>{class t extends cre{constructor(e,i,r){if(super(),this._intl=e,this._changeDetectorRef=i,this._pageIndex=0,this._length=0,this._pageSizeOptions=[],this._hidePageSize=!1,this._showFirstLastButtons=!1,this.selectConfig={},this.page=new $e,this._intlChanges=e.changes.subscribe(()=>this._changeDetectorRef.markForCheck()),r){const{pageSize:o,pageSizeOptions:s,hidePageSize:a,showFirstLastButtons:l}=r;null!=o&&(this._pageSize=o),null!=s&&(this._pageSizeOptions=s),null!=a&&(this._hidePageSize=a),null!=l&&(this._showFirstLastButtons=l)}}get pageIndex(){return this._pageIndex}set pageIndex(e){this._pageIndex=Math.max(Vo(e),0),this._changeDetectorRef.markForCheck()}get length(){return this._length}set length(e){this._length=Vo(e),this._changeDetectorRef.markForCheck()}get pageSize(){return this._pageSize}set pageSize(e){this._pageSize=Math.max(Vo(e),0),this._updateDisplayedPageSizeOptions()}get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(e){this._pageSizeOptions=(e||[]).map(i=>Vo(i)),this._updateDisplayedPageSizeOptions()}get hidePageSize(){return this._hidePageSize}set hidePageSize(e){this._hidePageSize=vt(e)}get showFirstLastButtons(){return this._showFirstLastButtons}set showFirstLastButtons(e){this._showFirstLastButtons=vt(e)}ngOnInit(){this._initialized=!0,this._updateDisplayedPageSizeOptions(),this._markInitialized()}ngOnDestroy(){this._intlChanges.unsubscribe()}nextPage(){if(!this.hasNextPage())return;const e=this.pageIndex;this.pageIndex=this.pageIndex+1,this._emitPageEvent(e)}previousPage(){if(!this.hasPreviousPage())return;const e=this.pageIndex;this.pageIndex=this.pageIndex-1,this._emitPageEvent(e)}firstPage(){if(!this.hasPreviousPage())return;const e=this.pageIndex;this.pageIndex=0,this._emitPageEvent(e)}lastPage(){if(!this.hasNextPage())return;const e=this.pageIndex;this.pageIndex=this.getNumberOfPages()-1,this._emitPageEvent(e)}hasPreviousPage(){return this.pageIndex>=1&&0!=this.pageSize}hasNextPage(){const e=this.getNumberOfPages()-1;return this.pageIndexe-i),this._changeDetectorRef.markForCheck())}_emitPageEvent(e){this.page.emit({previousPageIndex:e,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}}return t.\u0275fac=function(e){_a()},t.\u0275dir=fe({type:t,inputs:{color:"color",pageIndex:"pageIndex",length:"length",pageSize:"pageSize",pageSizeOptions:"pageSizeOptions",hidePageSize:"hidePageSize",showFirstLastButtons:"showFirstLastButtons",selectConfig:"selectConfig"},outputs:{page:"page"},features:[we]}),t})(),Ph=(()=>{class t extends ure{constructor(e,i,r){super(e,i,r),r&&null!=r.formFieldAppearance&&(this._formFieldAppearance=r.formFieldAppearance)}}return t.\u0275fac=function(e){return new(e||t)(D(zb),D(wn),D(lre,8))},t.\u0275cmp=Pe({type:t,selectors:[["mat-paginator"]],hostAttrs:["role","group",1,"mat-paginator"],inputs:{disabled:"disabled"},exportAs:["matPaginator"],features:[we],decls:14,vars:14,consts:[[1,"mat-paginator-outer-container"],[1,"mat-paginator-container"],["class","mat-paginator-page-size",4,"ngIf"],[1,"mat-paginator-range-actions"],[1,"mat-paginator-range-label"],["mat-icon-button","","type","button","class","mat-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-previous",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["viewBox","0 0 24 24","focusable","false",1,"mat-paginator-icon"],["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-next",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"],["mat-icon-button","","type","button","class","mat-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],[1,"mat-paginator-page-size"],[1,"mat-paginator-page-size-label"],["class","mat-paginator-page-size-select",3,"appearance","color",4,"ngIf"],["class","mat-paginator-page-size-value",4,"ngIf"],[1,"mat-paginator-page-size-select",3,"appearance","color"],[3,"value","disabled","panelClass","disableOptionCentering","aria-label","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[1,"mat-paginator-page-size-value"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"]],template:function(e,i){1&e&&(v(0,"div",0)(1,"div",1),$(2,nre,5,3,"div",2),v(3,"div",3)(4,"div",4),M(5),b(),$(6,ire,3,5,"button",5),v(7,"button",6),ne("click",function(){return i.previousPage()}),vr(),v(8,"svg",7),q(9,"path",8),b()(),Yo(),v(10,"button",9),ne("click",function(){return i.nextPage()}),vr(),v(11,"svg",7),q(12,"path",10),b()(),$(13,rre,3,5,"button",11),b()()()),2&e&&(I(2),R("ngIf",!i.hidePageSize),I(3),vn(" ",i._intl.getRangeLabel(i.pageIndex,i.pageSize,i.length)," "),I(1),R("ngIf",i.showFirstLastButtons),I(1),R("matTooltip",i._intl.previousPageLabel)("matTooltipDisabled",i._previousButtonsDisabled())("matTooltipPosition","above")("disabled",i._previousButtonsDisabled()),Je("aria-label",i._intl.previousPageLabel),I(3),R("matTooltip",i._intl.nextPageLabel)("matTooltipDisabled",i._nextButtonsDisabled())("matTooltipPosition","above")("disabled",i._nextButtonsDisabled()),Je("aria-label",i._intl.nextPageLabel),I(3),R("ngIf",i.showFirstLastButtons))},dependencies:[Eo,ui,Ji,Fo,Na,Es,Px],styles:[".mat-paginator{display:block}.mat-paginator-outer-container{display:flex}.mat-paginator-container{display:flex;align-items:center;justify-content:flex-end;padding:0 8px;flex-wrap:wrap-reverse;width:100%}.mat-paginator-page-size{display:flex;align-items:baseline;margin-right:8px}[dir=rtl] .mat-paginator-page-size{margin-right:0;margin-left:8px}.mat-paginator-page-size-label{margin:0 4px}.mat-paginator-page-size-select{margin:6px 4px 0 4px;width:56px}.mat-paginator-page-size-select.mat-form-field-appearance-outline{width:64px}.mat-paginator-page-size-select.mat-form-field-appearance-fill{width:64px}.mat-paginator-range-label{margin:0 32px 0 24px}.mat-paginator-range-actions{display:flex;align-items:center}.mat-paginator-icon{display:inline-block;width:28px;fill:currentColor}[dir=rtl] .mat-paginator-icon{transform:rotate(180deg)}.cdk-high-contrast-active .mat-paginator-icon{fill:CanvasText}"],encapsulation:2,changeDetection:0}),t})(),dre=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Ct({type:t}),t.\u0275inj=yt({providers:[sre],imports:[Ao,ab,SN,s3,zt]}),t})();const hre=["mat-sort-header",""];function fre(t,n){if(1&t){const e=Zn();v(0,"div",3),ne("@arrowPosition.start",function(){return ut(e),lt(re()._disableViewStateAnimation=!0)})("@arrowPosition.done",function(){return ut(e),lt(re()._disableViewStateAnimation=!1)}),q(1,"div",4),v(2,"div",5),q(3,"div",6)(4,"div",7)(5,"div",8),b()()}if(2&t){const e=re();R("@arrowOpacity",e._getArrowViewState())("@arrowPosition",e._getArrowViewState())("@allowChildren",e._getArrowDirectionState()),I(2),R("@indicator",e._getArrowDirectionState()),I(1),R("@leftPointer",e._getArrowDirectionState()),I(1),R("@rightPointer",e._getArrowDirectionState())}}const pre=["*"],w3=new u("MAT_SORT_DEFAULT_OPTIONS"),mre=pF(os(class{}));let Hu=(()=>{class t extends mre{constructor(e){super(),this._defaultOptions=e,this.sortables=new Map,this._stateChanges=new pe,this.start="asc",this._direction="",this.sortChange=new $e}get direction(){return this._direction}set direction(e){this._direction=e}get disableClear(){return this._disableClear}set disableClear(e){this._disableClear=vt(e)}register(e){this.sortables.set(e.id,e)}deregister(e){this.sortables.delete(e.id)}sort(e){this.active!=e.id?(this.active=e.id,this.direction=e.start?e.start:this.start):this.direction=this.getNextSortDirection(e),this.sortChange.emit({active:this.active,direction:this.direction})}getNextSortDirection(e){if(!e)return"";let r=function gre(t,n){let e=["asc","desc"];return"desc"==t&&e.reverse(),n||e.push(""),e}(e.start||this.start,e?.disableClear??this.disableClear??!!this._defaultOptions?.disableClear),o=r.indexOf(this.direction)+1;return o>=r.length&&(o=0),r[o]}ngOnInit(){this._markInitialized()}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return t.\u0275fac=function(e){return new(e||t)(D(w3,8))},t.\u0275dir=fe({type:t,selectors:[["","matSort",""]],hostAttrs:[1,"mat-sort"],inputs:{disabled:["matSortDisabled","disabled"],active:["matSortActive","active"],start:["matSortStart","start"],direction:["matSortDirection","direction"],disableClear:["matSortDisableClear","disableClear"]},outputs:{sortChange:"matSortChange"},exportAs:["matSort"],features:[we,Tn]}),t})();const kc=pQ.ENTERING+" "+fQ.STANDARD_CURVE,Rh={indicator:Pr("indicator",[In("active-asc, asc",wt({transform:"translateY(0px)"})),In("active-desc, desc",wt({transform:"translateY(10px)"})),ri("active-asc <=> active-desc",mi(kc))]),leftPointer:Pr("leftPointer",[In("active-asc, asc",wt({transform:"rotate(-45deg)"})),In("active-desc, desc",wt({transform:"rotate(45deg)"})),ri("active-asc <=> active-desc",mi(kc))]),rightPointer:Pr("rightPointer",[In("active-asc, asc",wt({transform:"rotate(45deg)"})),In("active-desc, desc",wt({transform:"rotate(-45deg)"})),ri("active-asc <=> active-desc",mi(kc))]),arrowOpacity:Pr("arrowOpacity",[In("desc-to-active, asc-to-active, active",wt({opacity:1})),In("desc-to-hint, asc-to-hint, hint",wt({opacity:.54})),In("hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",wt({opacity:0})),ri("* => asc, * => desc, * => active, * => hint, * => void",mi("0ms")),ri("* <=> *",mi(kc))]),arrowPosition:Pr("arrowPosition",[ri("* => desc-to-hint, * => desc-to-active",mi(kc,Hp([wt({transform:"translateY(-25%)"}),wt({transform:"translateY(0)"})]))),ri("* => hint-to-desc, * => active-to-desc",mi(kc,Hp([wt({transform:"translateY(0)"}),wt({transform:"translateY(25%)"})]))),ri("* => asc-to-hint, * => asc-to-active",mi(kc,Hp([wt({transform:"translateY(25%)"}),wt({transform:"translateY(0)"})]))),ri("* => hint-to-asc, * => active-to-asc",mi(kc,Hp([wt({transform:"translateY(0)"}),wt({transform:"translateY(-25%)"})]))),In("desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",wt({transform:"translateY(0)"})),In("hint-to-desc, active-to-desc, desc",wt({transform:"translateY(-25%)"})),In("hint-to-asc, active-to-asc, asc",wt({transform:"translateY(25%)"}))]),allowChildren:Pr("allowChildren",[ri("* <=> *",[Dv("@*",kv(),{optional:!0})])])};let Wb=(()=>{class t{constructor(){this.changes=new pe}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Te({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const vre={provide:Wb,deps:[[new Gs,new al,Wb]],useFactory:function _re(t){return t||new Wb}},bre=os(class{});let Gx=(()=>{class t extends bre{constructor(e,i,r,o,s,a,l,c){super(),this._intl=e,this._changeDetectorRef=i,this._sort=r,this._columnDef=o,this._focusMonitor=s,this._elementRef=a,this._ariaDescriber=l,this._showIndicatorHint=!1,this._viewState={},this._arrowDirection="",this._disableViewStateAnimation=!1,this.arrowPosition="after",this._sortActionDescription="Sort",c?.arrowPosition&&(this.arrowPosition=c?.arrowPosition),this._handleStateChanges()}get sortActionDescription(){return this._sortActionDescription}set sortActionDescription(e){this._updateSortActionDescription(e)}get disableClear(){return this._disableClear}set disableClear(e){this._disableClear=vt(e)}ngOnInit(){!this.id&&this._columnDef&&(this.id=this._columnDef.name),this._updateArrowDirection(),this._setAnimationTransitionState({toState:this._isSorted()?"active":this._arrowDirection}),this._sort.register(this),this._sortButton=this._elementRef.nativeElement.querySelector(".mat-sort-header-container"),this._updateSortActionDescription(this._sortActionDescription)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{const i=!!e;i!==this._showIndicatorHint&&(this._setIndicatorHintVisible(i),this._changeDetectorRef.markForCheck())})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._sort.deregister(this),this._rerenderSubscription.unsubscribe()}_setIndicatorHintVisible(e){this._isDisabled()&&e||(this._showIndicatorHint=e,this._isSorted()||(this._updateArrowDirection(),this._setAnimationTransitionState(this._showIndicatorHint?{fromState:this._arrowDirection,toState:"hint"}:{fromState:"hint",toState:this._arrowDirection})))}_setAnimationTransitionState(e){this._viewState=e||{},this._disableViewStateAnimation&&(this._viewState={toState:e.toState})}_toggleOnInteraction(){this._sort.sort(this),("hint"===this._viewState.toState||"active"===this._viewState.toState)&&(this._disableViewStateAnimation=!0)}_handleClick(){this._isDisabled()||this._sort.sort(this)}_handleKeydown(e){!this._isDisabled()&&(32===e.keyCode||13===e.keyCode)&&(e.preventDefault(),this._toggleOnInteraction())}_isSorted(){return this._sort.active==this.id&&("asc"===this._sort.direction||"desc"===this._sort.direction)}_getArrowDirectionState(){return`${this._isSorted()?"active-":""}${this._arrowDirection}`}_getArrowViewState(){const e=this._viewState.fromState;return(e?`${e}-to-`:"")+this._viewState.toState}_updateArrowDirection(){this._arrowDirection=this._isSorted()?this._sort.direction:this.start||this._sort.start}_isDisabled(){return this._sort.disabled||this.disabled}_getAriaSortAttribute(){return this._isSorted()?"asc"==this._sort.direction?"ascending":"descending":"none"}_renderArrow(){return!this._isDisabled()||this._isSorted()}_updateSortActionDescription(e){this._sortButton&&(this._ariaDescriber?.removeDescription(this._sortButton,this._sortActionDescription),this._ariaDescriber?.describe(this._sortButton,e)),this._sortActionDescription=e}_handleStateChanges(){this._rerenderSubscription=Ki(this._sort.sortChange,this._sort._stateChanges,this._intl.changes).subscribe(()=>{this._isSorted()&&(this._updateArrowDirection(),("hint"===this._viewState.toState||"active"===this._viewState.toState)&&(this._disableViewStateAnimation=!0),this._setAnimationTransitionState({fromState:this._arrowDirection,toState:"active"}),this._showIndicatorHint=!1),!this._isSorted()&&this._viewState&&"active"===this._viewState.toState&&(this._disableViewStateAnimation=!1,this._setAnimationTransitionState({fromState:"active",toState:this._arrowDirection})),this._changeDetectorRef.markForCheck()})}}return t.\u0275fac=function(e){return new(e||t)(D(Wb),D(wn),D(Hu,8),D("MAT_SORT_HEADER_COLUMN_DEF",8),D(Ro),D(xe),D(ex,8),D(w3,8))},t.\u0275cmp=Pe({type:t,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(e,i){1&e&&ne("click",function(){return i._handleClick()})("keydown",function(o){return i._handleKeydown(o)})("mouseenter",function(){return i._setIndicatorHintVisible(!0)})("mouseleave",function(){return i._setIndicatorHintVisible(!1)}),2&e&&(Je("aria-sort",i._getAriaSortAttribute()),Rt("mat-sort-header-disabled",i._isDisabled()))},inputs:{disabled:"disabled",id:["mat-sort-header","id"],arrowPosition:"arrowPosition",start:"start",sortActionDescription:"sortActionDescription",disableClear:"disableClear"},exportAs:["matSortHeader"],features:[we],attrs:hre,ngContentSelectors:pre,decls:4,vars:7,consts:[[1,"mat-sort-header-container","mat-focus-indicator"],[1,"mat-sort-header-content"],["class","mat-sort-header-arrow",4,"ngIf"],[1,"mat-sort-header-arrow"],[1,"mat-sort-header-stem"],[1,"mat-sort-header-indicator"],[1,"mat-sort-header-pointer-left"],[1,"mat-sort-header-pointer-right"],[1,"mat-sort-header-pointer-middle"]],template:function(e,i){1&e&&(Di(),v(0,"div",0)(1,"div",1),nn(2),b(),$(3,fre,6,6,"div",2),b()),2&e&&(Rt("mat-sort-header-sorted",i._isSorted())("mat-sort-header-position-before","before"===i.arrowPosition),Je("tabindex",i._isDisabled()?null:0)("role",i._isDisabled()?null:"button"),I(3),R("ngIf",i._renderArrow()))},dependencies:[ui],styles:[".mat-sort-header-container{display:flex;cursor:pointer;align-items:center;letter-spacing:normal;outline:0}[mat-sort-header].cdk-keyboard-focused .mat-sort-header-container,[mat-sort-header].cdk-program-focused .mat-sort-header-container{border-bottom:solid 1px currentColor}.mat-sort-header-disabled .mat-sort-header-container{cursor:default}.mat-sort-header-container::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-sort-header-content{text-align:center;display:flex;align-items:center}.mat-sort-header-position-before{flex-direction:row-reverse}.mat-sort-header-arrow{height:12px;width:12px;min-width:12px;position:relative;display:flex;opacity:0}.mat-sort-header-arrow,[dir=rtl] .mat-sort-header-position-before .mat-sort-header-arrow{margin:0 0 0 6px}.mat-sort-header-position-before .mat-sort-header-arrow,[dir=rtl] .mat-sort-header-arrow{margin:0 6px 0 0}.mat-sort-header-stem{background:currentColor;height:10px;width:2px;margin:auto;display:flex;align-items:center}.cdk-high-contrast-active .mat-sort-header-stem{width:0;border-left:solid 2px}.mat-sort-header-indicator{width:100%;height:2px;display:flex;align-items:center;position:absolute;top:0;left:0}.mat-sort-header-pointer-middle{margin:auto;height:2px;width:2px;background:currentColor;transform:rotate(45deg)}.cdk-high-contrast-active .mat-sort-header-pointer-middle{width:0;height:0;border-top:solid 2px;border-left:solid 2px}.mat-sort-header-pointer-left,.mat-sort-header-pointer-right{background:currentColor;width:6px;height:2px;position:absolute;top:0}.cdk-high-contrast-active .mat-sort-header-pointer-left,.cdk-high-contrast-active .mat-sort-header-pointer-right{width:0;height:0;border-left:solid 6px;border-top:solid 2px}.mat-sort-header-pointer-left{transform-origin:right;left:0}.mat-sort-header-pointer-right{transform-origin:left;right:0}"],encapsulation:2,data:{animation:[Rh.indicator,Rh.leftPointer,Rh.rightPointer,Rh.arrowOpacity,Rh.arrowPosition,Rh.allowChildren]},changeDetection:0}),t})(),yre=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Ct({type:t}),t.\u0275inj=yt({providers:[vre],imports:[Ao,zt]}),t})(),wre=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Ct({type:t}),t.\u0275inj=yt({}),t})();const Cre=["gutterEls"];function Sre(t,n){if(1&t){const e=Zn();v(0,"div",2,3),ne("keydown",function(r){ut(e);const o=re().index;return lt(re().startKeyboardDrag(r,2*o+1,o+1))})("mousedown",function(r){ut(e);const o=re().index;return lt(re().startMouseDrag(r,2*o+1,o+1))})("touchstart",function(r){ut(e);const o=re().index;return lt(re().startMouseDrag(r,2*o+1,o+1))})("mouseup",function(r){ut(e);const o=re().index;return lt(re().clickGutter(r,o+1))})("touchend",function(r){ut(e);const o=re().index;return lt(re().clickGutter(r,o+1))}),q(2,"div",4),b()}if(2&t){const e=re(),i=e.index,r=e.$implicit,o=re();br("flex-basis",o.gutterSize,"px")("order",2*i+1),Je("aria-label",o.gutterAriaLabel)("aria-orientation",o.direction)("aria-valuemin",r.minSize)("aria-valuemax",r.maxSize)("aria-valuenow",r.size)("aria-valuetext",o.getAriaAreaSizeText(r.size))}}function xre(t,n){1&t&&$(0,Sre,3,10,"div",1),2&t&&R("ngIf",!1===n.last)}const kre=["*"];function gm(t){if(void 0!==t.changedTouches&&t.changedTouches.length>0)return{x:t.changedTouches[0].clientX,y:t.changedTouches[0].clientY};if(void 0!==t.clientX&&void 0!==t.clientY)return{x:t.clientX,y:t.clientY};if(void 0!==t.currentTarget){const n=t.currentTarget;return{x:n.offsetLeft,y:n.offsetTop}}return null}function C3(t,n,e){return Math.abs(t.x-n.x)<=e&&Math.abs(t.y-n.y)<=e}function S3(t,n){const e=t.nativeElement.getBoundingClientRect();return"horizontal"===n?e.width:e.height}function _m(t){return"boolean"==typeof t?t:"false"!==t}function Dc(t,n){return null==t?n:(t=Number(t),!isNaN(t)&&t>=0?t:n)}function x3(t,n){if("percent"===t){const e=n.reduce((i,r)=>null!==r?i+r:i,0);return n.every(i=>null!==i)&&e>99.9&&e<100.1}if("pixel"===t)return 1===n.filter(e=>null===e).length}function jb(t){return null===t.size?null:!0===t.component.lockSize?t.size:null===t.component.minSize?null:t.component.minSize>t.size?t.size:t.component.minSize}function Ub(t){return null===t.size?null:!0===t.component.lockSize?t.size:null===t.component.maxSize?null:t.component.maxSize{const s=function Mre(t,n,e,i){return 0===e?{areaSnapshot:n,pixelAbsorb:0,percentAfterAbsorption:n.sizePercentAtStart,pixelRemain:0}:0===n.sizePixelAtStart&&e<0?{areaSnapshot:n,pixelAbsorb:0,percentAfterAbsorption:0,pixelRemain:e}:"percent"===t?function Tre(t,n,e){const r=(t.sizePixelAtStart+n)/e*100;if(n>0){if(null!==t.area.maxSize&&r>t.area.maxSize){const o=t.area.maxSize/100*e;return{areaSnapshot:t,pixelAbsorb:o,percentAfterAbsorption:t.area.maxSize,pixelRemain:t.sizePixelAtStart+n-o}}return{areaSnapshot:t,pixelAbsorb:n,percentAfterAbsorption:r>100?100:r,pixelRemain:0}}if(n<0){if(null!==t.area.minSize&&r0?null!==t.area.maxSize&&i>t.area.maxSize?{areaSnapshot:t,pixelAbsorb:t.area.maxSize-t.sizePixelAtStart,percentAfterAbsorption:-1,pixelRemain:i-t.area.maxSize}:{areaSnapshot:t,pixelAbsorb:n,percentAfterAbsorption:-1,pixelRemain:0}:n<0?null!==t.area.minSize&&i{class t{constructor(e,i,r,o,s){this.ngZone=e,this.elRef=i,this.cdRef=r,this.renderer=o,this.gutterClickDeltaPx=2,this._config={direction:"horizontal",unit:"percent",gutterSize:11,gutterStep:1,restrictMove:!1,useTransition:!1,disabled:!1,dir:"ltr",gutterDblClickDuration:0},this.dragStart=new $e(!1),this.dragEnd=new $e(!1),this.gutterClick=new $e(!1),this.gutterDblClick=new $e(!1),this.dragProgressSubject=new pe,this.dragProgress$=this.dragProgressSubject.asObservable(),this.isDragging=!1,this.isWaitingClear=!1,this.isWaitingInitialMove=!1,this.dragListeners=[],this.snapshot=null,this.startPoint=null,this.endPoint=null,this.displayedAreas=[],this.hiddenAreas=[],this._clickTimeout=null,this.direction=this._direction,this._config=s?Object.assign(this._config,s):this._config,Object.keys(this._config).forEach(a=>{this[a]=this._config[a]})}set direction(e){this._direction="vertical"===e?"vertical":"horizontal",this.renderer.addClass(this.elRef.nativeElement,`as-${this._direction}`),this.renderer.removeClass(this.elRef.nativeElement,"as-"+("vertical"===this._direction?"horizontal":"vertical")),this.build(!1,!1)}get direction(){return this._direction}set unit(e){this._unit="pixel"===e?"pixel":"percent",this.renderer.addClass(this.elRef.nativeElement,`as-${this._unit}`),this.renderer.removeClass(this.elRef.nativeElement,"as-"+("pixel"===this._unit?"percent":"pixel")),this.build(!1,!0)}get unit(){return this._unit}set gutterSize(e){this._gutterSize=Dc(e,11),this.build(!1,!1)}get gutterSize(){return this._gutterSize}set gutterStep(e){this._gutterStep=Dc(e,1)}get gutterStep(){return this._gutterStep}set restrictMove(e){this._restrictMove=_m(e)}get restrictMove(){return this._restrictMove}set useTransition(e){this._useTransition=_m(e),this._useTransition?this.renderer.addClass(this.elRef.nativeElement,"as-transition"):this.renderer.removeClass(this.elRef.nativeElement,"as-transition")}get useTransition(){return this._useTransition}set disabled(e){this._disabled=_m(e),this._disabled?this.renderer.addClass(this.elRef.nativeElement,"as-disabled"):this.renderer.removeClass(this.elRef.nativeElement,"as-disabled")}get disabled(){return this._disabled}set dir(e){this._dir="rtl"===e?"rtl":"ltr",this.renderer.setAttribute(this.elRef.nativeElement,"dir",this._dir)}get dir(){return this._dir}set gutterDblClickDuration(e){this._gutterDblClickDuration=Dc(e,0)}get gutterDblClickDuration(){return this._gutterDblClickDuration}get transitionEnd(){return new bn(e=>this.transitionEndSubscriber=e).pipe(Yv(20))}ngAfterViewInit(){this.ngZone.runOutsideAngular(()=>{setTimeout(()=>this.renderer.addClass(this.elRef.nativeElement,"as-init"))})}getNbGutters(){return 0===this.displayedAreas.length?0:this.displayedAreas.length-1}addArea(e){const i={component:e,order:0,size:0,minSize:null,maxSize:null,sizeBeforeCollapse:null,gutterBeforeCollapse:0};!0===e.visible?(this.displayedAreas.push(i),this.build(!0,!0)):this.hiddenAreas.push(i)}removeArea(e){if(this.displayedAreas.some(i=>i.component===e)){const i=this.displayedAreas.find(r=>r.component===e);this.displayedAreas.splice(this.displayedAreas.indexOf(i),1),this.build(!0,!0)}else if(this.hiddenAreas.some(i=>i.component===e)){const i=this.hiddenAreas.find(r=>r.component===e);this.hiddenAreas.splice(this.hiddenAreas.indexOf(i),1)}}updateArea(e,i,r){!0===e.visible&&this.build(i,r)}showArea(e){const i=this.hiddenAreas.find(o=>o.component===e);if(void 0===i)return;const r=this.hiddenAreas.splice(this.hiddenAreas.indexOf(i),1);this.displayedAreas.push(...r),this.build(!0,!0)}hideArea(e){const i=this.displayedAreas.find(o=>o.component===e);if(void 0===i)return;const r=this.displayedAreas.splice(this.displayedAreas.indexOf(i),1);r.forEach(o=>{o.order=0,o.size=0}),this.hiddenAreas.push(...r),this.build(!0,!0)}getVisibleAreaSizes(){return this.displayedAreas.map(e=>null===e.size?"*":e.size)}setVisibleAreaSizes(e){if(e.length!==this.displayedAreas.length)return!1;const i=e.map(o=>Dc(o,null));return!1!==x3(this.unit,i)&&(this.displayedAreas.forEach((o,s)=>o.component._size=i[s]),this.build(!1,!0),!0)}build(e,i){if(this.stopDragging(),!0===e&&(this.displayedAreas.every(r=>null!==r.component.order)&&this.displayedAreas.sort((r,o)=>r.component.order-o.component.order),this.displayedAreas.forEach((r,o)=>{r.order=2*o,r.component.setStyleOrder(r.order)})),!0===i){const r=x3(this.unit,this.displayedAreas.map(o=>o.component.size));switch(this.unit){case"percent":{const o=100/this.displayedAreas.length;this.displayedAreas.forEach(s=>{s.size=r?s.component.size:o,s.minSize=jb(s),s.maxSize=Ub(s)});break}case"pixel":if(r)this.displayedAreas.forEach(o=>{o.size=o.component.size,o.minSize=jb(o),o.maxSize=Ub(o)});else{const o=this.displayedAreas.filter(s=>null===s.component.size);if(0===o.length&&this.displayedAreas.length>0)this.displayedAreas.forEach((s,a)=>{s.size=0===a?null:s.component.size,s.minSize=0===a?null:jb(s),s.maxSize=0===a?null:Ub(s)});else if(o.length>1){let s=!1;this.displayedAreas.forEach(a=>{null===a.component.size?!1===s?(a.size=null,a.minSize=null,a.maxSize=null,s=!0):(a.size=100,a.minSize=null,a.maxSize=null):(a.size=a.component.size,a.minSize=jb(a),a.maxSize=Ub(a))})}}}}this.refreshStyleSizes(),this.cdRef.markForCheck()}refreshStyleSizes(){if("percent"===this.unit)if(1===this.displayedAreas.length)this.displayedAreas[0].component.setStyleFlex(0,0,"100%",!1,!1);else{const e=this.getNbGutters()*this.gutterSize;this.displayedAreas.forEach(i=>{i.component.setStyleFlex(0,0,`calc( ${i.size}% - ${i.size/100*e}px )`,null!==i.minSize&&i.minSize===i.size,null!==i.maxSize&&i.maxSize===i.size)})}else"pixel"===this.unit&&this.displayedAreas.forEach(e=>{null===e.size?e.component.setStyleFlex(1,1,1===this.displayedAreas.length?"100%":"auto",!1,!1):1===this.displayedAreas.length?e.component.setStyleFlex(0,0,"100%",!1,!1):e.component.setStyleFlex(0,0,`${e.size}px`,null!==e.minSize&&e.minSize===e.size,null!==e.maxSize&&e.maxSize===e.size)})}clickGutter(e,i){const r=gm(e);this.startPoint&&C3(this.startPoint,r,this.gutterClickDeltaPx)&&(!this.isDragging||this.isWaitingInitialMove)&&(null!==this._clickTimeout?(window.clearTimeout(this._clickTimeout),this._clickTimeout=null,this.notify("dblclick",i),this.stopDragging()):this._clickTimeout=window.setTimeout(()=>{this._clickTimeout=null,this.notify("click",i),this.stopDragging()},this.gutterDblClickDuration))}startKeyboardDrag(e,i,r){if(!0===this.disabled||!0===this.isWaitingClear)return;const o=function Dre(t,n){if("horizontal"===n)switch(t.key){case"ArrowLeft":case"ArrowRight":case"PageUp":case"PageDown":break;default:return null}if("vertical"===n)switch(t.key){case"ArrowUp":case"ArrowDown":case"PageUp":case"PageDown":break;default:return null}const e=t.currentTarget,i="PageUp"===t.key||"PageDown"===t.key?500:50;let r=e.offsetLeft,o=e.offsetTop;switch(t.key){case"ArrowLeft":r-=i;break;case"ArrowRight":r+=i;break;case"ArrowUp":o-=i;break;case"ArrowDown":o+=i;break;case"PageUp":"vertical"===n?o-=i:r+=i;break;case"PageDown":"vertical"===n?o+=i:r-=i;break;default:return null}return{x:r,y:o}}(e,this.direction);null!==o&&(this.endPoint=o,this.startPoint=gm(e),e.preventDefault(),e.stopPropagation(),this.setupForDragEvent(i,r),this.startDragging(),this.drag(),this.stopDragging())}startMouseDrag(e,i,r){e.preventDefault(),e.stopPropagation(),this.startPoint=gm(e),null!==this.startPoint&&!0!==this.disabled&&!0!==this.isWaitingClear&&(this.setupForDragEvent(i,r),this.dragListeners.push(this.renderer.listen("document","mouseup",this.stopDragging.bind(this))),this.dragListeners.push(this.renderer.listen("document","touchend",this.stopDragging.bind(this))),this.dragListeners.push(this.renderer.listen("document","touchcancel",this.stopDragging.bind(this))),this.ngZone.runOutsideAngular(()=>{this.dragListeners.push(this.renderer.listen("document","mousemove",this.mouseDragEvent.bind(this))),this.dragListeners.push(this.renderer.listen("document","touchmove",this.mouseDragEvent.bind(this)))}),this.startDragging())}setupForDragEvent(e,i){this.snapshot={gutterNum:i,lastSteppedOffset:0,allAreasSizePixel:S3(this.elRef,this.direction)-this.getNbGutters()*this.gutterSize,allInvolvedAreasSizePercent:100,areasBeforeGutter:[],areasAfterGutter:[]},this.displayedAreas.forEach(r=>{const o={area:r,sizePixelAtStart:S3(r.component.elRef,this.direction),sizePercentAtStart:"percent"===this.unit?r.size:-1};r.ordere&&(!0===this.restrictMove?0===this.snapshot.areasAfterGutter.length&&(this.snapshot.areasAfterGutter=[o]):this.snapshot.areasAfterGutter.push(o))}),this.snapshot.allInvolvedAreasSizePercent=[...this.snapshot.areasBeforeGutter,...this.snapshot.areasAfterGutter].reduce((r,o)=>r+o.sizePercentAtStart,0)}startDragging(){this.displayedAreas.forEach(e=>e.component.lockEvents()),this.isDragging=!0,this.isWaitingInitialMove=!0}mouseDragEvent(e){e.preventDefault(),e.stopPropagation();const i=gm(e);null!==this._clickTimeout&&!C3(this.startPoint,i,this.gutterClickDeltaPx)&&(window.clearTimeout(this._clickTimeout),this._clickTimeout=null),!1!==this.isDragging&&(this.endPoint=gm(e),null!==this.endPoint&&this.drag())}drag(){if(this.isWaitingInitialMove){if(this.startPoint.x===this.endPoint.x&&this.startPoint.y===this.endPoint.y)return;this.ngZone.run(()=>{this.isWaitingInitialMove=!1,this.renderer.addClass(this.elRef.nativeElement,"as-dragging"),this.renderer.addClass(this.gutterEls.toArray()[this.snapshot.gutterNum-1].nativeElement,"as-dragged"),this.notify("start",this.snapshot.gutterNum)})}let e="horizontal"===this.direction?this.startPoint.x-this.endPoint.x:this.startPoint.y-this.endPoint.y;"rtl"===this.dir&&(e=-e);const i=Math.round(e/this.gutterStep)*this.gutterStep;if(i===this.snapshot.lastSteppedOffset)return;this.snapshot.lastSteppedOffset=i;let r=Fh(this.unit,this.snapshot.areasBeforeGutter,-i,this.snapshot.allAreasSizePixel),o=Fh(this.unit,this.snapshot.areasAfterGutter,i,this.snapshot.allAreasSizePixel);if(0!==r.remain&&0!==o.remain?Math.abs(r.remain)===Math.abs(o.remain)||(Math.abs(r.remain)>Math.abs(o.remain)?o=Fh(this.unit,this.snapshot.areasAfterGutter,i+r.remain,this.snapshot.allAreasSizePixel):r=Fh(this.unit,this.snapshot.areasBeforeGutter,-(i-o.remain),this.snapshot.allAreasSizePixel)):0!==r.remain?o=Fh(this.unit,this.snapshot.areasAfterGutter,i+r.remain,this.snapshot.allAreasSizePixel):0!==o.remain&&(r=Fh(this.unit,this.snapshot.areasBeforeGutter,-(i-o.remain),this.snapshot.allAreasSizePixel)),"percent"===this.unit){const s=[...r.list,...o.list],a=s.find(l=>0!==l.percentAfterAbsorption&&l.percentAfterAbsorption!==l.areaSnapshot.area.minSize&&l.percentAfterAbsorption!==l.areaSnapshot.area.maxSize);a&&(a.percentAfterAbsorption=this.snapshot.allInvolvedAreasSizePercent-s.filter(l=>l!==a).reduce((l,c)=>l+c.percentAfterAbsorption,0))}r.list.forEach(s=>k3(this.unit,s)),o.list.forEach(s=>k3(this.unit,s)),this.refreshStyleSizes(),this.notify("progress",this.snapshot.gutterNum)}stopDragging(e){if(e&&(e.preventDefault(),e.stopPropagation()),!1!==this.isDragging){for(this.displayedAreas.forEach(i=>i.component.unlockEvents());this.dragListeners.length>0;){const i=this.dragListeners.pop();i&&i()}this.isDragging=!1,!1===this.isWaitingInitialMove&&this.notify("end",this.snapshot.gutterNum),this.renderer.removeClass(this.elRef.nativeElement,"as-dragging"),this.renderer.removeClass(this.gutterEls.toArray()[this.snapshot.gutterNum-1].nativeElement,"as-dragged"),this.snapshot=null,this.isWaitingClear=!0,this.ngZone.runOutsideAngular(()=>{setTimeout(()=>{this.startPoint=null,this.endPoint=null,this.isWaitingClear=!1})})}}notify(e,i){const r=this.getVisibleAreaSizes();"start"===e?this.dragStart.emit({gutterNum:i,sizes:r}):"end"===e?this.dragEnd.emit({gutterNum:i,sizes:r}):"click"===e?this.gutterClick.emit({gutterNum:i,sizes:r}):"dblclick"===e?this.gutterDblClick.emit({gutterNum:i,sizes:r}):"transitionEnd"===e?this.transitionEndSubscriber&&this.ngZone.run(()=>this.transitionEndSubscriber.next(r)):"progress"===e&&this.dragProgressSubject.next({gutterNum:i,sizes:r})}ngOnDestroy(){this.stopDragging()}collapseArea(e,i,r){const o=this.displayedAreas.find(l=>l.component===e);if(void 0===o)return;const s="right"===r?1:-1;o.sizeBeforeCollapse||(o.sizeBeforeCollapse=o.size,o.gutterBeforeCollapse=s),o.size=i;const a=this.gutterEls.find(l=>l.nativeElement.style.order===`${o.order+s}`);a&&this.renderer.addClass(a.nativeElement,"as-split-gutter-collapsed"),this.updateArea(e,!1,!1)}expandArea(e){const i=this.displayedAreas.find(o=>o.component===e);if(void 0===i||!i.sizeBeforeCollapse)return;i.size=i.sizeBeforeCollapse,i.sizeBeforeCollapse=null;const r=this.gutterEls.find(o=>o.nativeElement.style.order===`${i.order+i.gutterBeforeCollapse}`);r&&this.renderer.removeClass(r.nativeElement,"as-split-gutter-collapsed"),this.updateArea(e,!1,!1)}getAriaAreaSizeText(e){return null===e?null:e.toFixed(0)+" "+this.unit}}return t.\u0275fac=function(e){return new(e||t)(D(bt),D(xe),D(wn),D(vs),D(Are,8))},t.\u0275cmp=Pe({type:t,selectors:[["as-split"]],viewQuery:function(e,i){if(1&e&&Oe(Cre,5),2&e){let r;ue(r=de())&&(i.gutterEls=r)}},inputs:{direction:"direction",unit:"unit",gutterSize:"gutterSize",gutterStep:"gutterStep",restrictMove:"restrictMove",useTransition:"useTransition",disabled:"disabled",dir:"dir",gutterDblClickDuration:"gutterDblClickDuration",gutterClickDeltaPx:"gutterClickDeltaPx",gutterAriaLabel:"gutterAriaLabel"},outputs:{transitionEnd:"transitionEnd",dragStart:"dragStart",dragEnd:"dragEnd",gutterClick:"gutterClick",gutterDblClick:"gutterDblClick"},exportAs:["asSplit"],ngContentSelectors:kre,decls:2,vars:1,consts:[["ngFor","",3,"ngForOf"],["role","slider","tabindex","0","class","as-split-gutter",3,"flex-basis","order","keydown","mousedown","touchstart","mouseup","touchend",4,"ngIf"],["role","slider","tabindex","0",1,"as-split-gutter",3,"keydown","mousedown","touchstart","mouseup","touchend"],["gutterEls",""],[1,"as-split-gutter-icon"]],template:function(e,i){1&e&&(Di(),nn(0),$(1,xre,1,1,"ng-template",0)),2&e&&(I(1),R("ngForOf",i.displayedAreas))},dependencies:[Eo,ui],styles:["[_nghost-%COMP%]{display:flex;flex-wrap:nowrap;justify-content:flex-start;align-items:stretch;overflow:hidden;width:100%;height:100%}[_nghost-%COMP%] > .as-split-gutter[_ngcontent-%COMP%]{border:none;flex-grow:0;flex-shrink:0;background-color:#eee;display:flex;align-items:center;justify-content:center}[_nghost-%COMP%] > .as-split-gutter.as-split-gutter-collapsed[_ngcontent-%COMP%]{flex-basis:1px!important;pointer-events:none}[_nghost-%COMP%] > .as-split-gutter[_ngcontent-%COMP%] > .as-split-gutter-icon[_ngcontent-%COMP%]{width:100%;height:100%;background-position:center center;background-repeat:no-repeat}[_nghost-%COMP%] >.as-split-area{flex-grow:0;flex-shrink:0;overflow-x:hidden;overflow-y:auto}[_nghost-%COMP%] >.as-split-area.as-hidden{flex:0 1 0px!important;overflow-x:hidden;overflow-y:hidden}.as-horizontal[_nghost-%COMP%]{flex-direction:row}.as-horizontal[_nghost-%COMP%] > .as-split-gutter[_ngcontent-%COMP%]{flex-direction:row;cursor:col-resize;height:100%}.as-horizontal[_nghost-%COMP%] > .as-split-gutter[_ngcontent-%COMP%] > .as-split-gutter-icon[_ngcontent-%COMP%]{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAeCAYAAADkftS9AAAAIklEQVQoU2M4c+bMfxAGAgYYmwGrIIiDjrELjpo5aiZeMwF+yNnOs5KSvgAAAABJRU5ErkJggg==)}.as-horizontal[_nghost-%COMP%] >.as-split-area{height:100%}.as-vertical[_nghost-%COMP%]{flex-direction:column}.as-vertical[_nghost-%COMP%] > .as-split-gutter[_ngcontent-%COMP%]{flex-direction:column;cursor:row-resize;width:100%}.as-vertical[_nghost-%COMP%] > .as-split-gutter[_ngcontent-%COMP%] .as-split-gutter-icon[_ngcontent-%COMP%]{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAFCAMAAABl/6zIAAAABlBMVEUAAADMzMzIT8AyAAAAAXRSTlMAQObYZgAAABRJREFUeAFjYGRkwIMJSeMHlBkOABP7AEGzSuPKAAAAAElFTkSuQmCC)}.as-vertical[_nghost-%COMP%] >.as-split-area{width:100%}.as-vertical[_nghost-%COMP%] >.as-split-area.as-hidden{max-width:0}.as-disabled[_nghost-%COMP%] > .as-split-gutter[_ngcontent-%COMP%]{cursor:default}.as-disabled[_nghost-%COMP%] > .as-split-gutter[_ngcontent-%COMP%] .as-split-gutter-icon[_ngcontent-%COMP%]{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAeCAYAAADkftS9AAAAIklEQVQoU2M4c+bMfxAGAgYYmwGrIIiDjrELjpo5aiZeMwF+yNnOs5KSvgAAAABJRU5ErkJggg==)}.as-transition.as-init[_nghost-%COMP%]:not(.as-dragging) > .as-split-gutter[_ngcontent-%COMP%], .as-transition.as-init[_nghost-%COMP%]:not(.as-dragging) >.as-split-area{transition:flex-basis .3s}"],changeDetection:0}),t})(),Ore=(()=>{class t{constructor(e,i,r,o){this.ngZone=e,this.elRef=i,this.renderer=r,this.split=o,this._order=null,this._size=null,this._minSize=null,this._maxSize=null,this._lockSize=!1,this._visible=!0,this.lockListeners=[],this.renderer.addClass(this.elRef.nativeElement,"as-split-area")}set order(e){this._order=Dc(e,null),this.split.updateArea(this,!0,!1)}get order(){return this._order}set size(e){this._size=Dc(e,null),this.split.updateArea(this,!1,!0)}get size(){return this._size}set minSize(e){this._minSize=Dc(e,null),this.split.updateArea(this,!1,!0)}get minSize(){return this._minSize}set maxSize(e){this._maxSize=Dc(e,null),this.split.updateArea(this,!1,!0)}get maxSize(){return this._maxSize}set lockSize(e){this._lockSize=_m(e),this.split.updateArea(this,!1,!0)}get lockSize(){return this._lockSize}set visible(e){this._visible=_m(e),this._visible?(this.split.showArea(this),this.renderer.removeClass(this.elRef.nativeElement,"as-hidden")):(this.split.hideArea(this),this.renderer.addClass(this.elRef.nativeElement,"as-hidden"))}get visible(){return this._visible}ngOnInit(){this.split.addArea(this),this.ngZone.runOutsideAngular(()=>{this.transitionListener=this.renderer.listen(this.elRef.nativeElement,"transitionend",e=>{"flex-basis"===e.propertyName&&this.split.notify("transitionEnd",-1)})})}setStyleOrder(e){this.renderer.setStyle(this.elRef.nativeElement,"order",e)}setStyleFlex(e,i,r,o,s){this.renderer.setStyle(this.elRef.nativeElement,"flex-grow",e),this.renderer.setStyle(this.elRef.nativeElement,"flex-shrink",i),this.renderer.setStyle(this.elRef.nativeElement,"flex-basis",r),!0===o?this.renderer.addClass(this.elRef.nativeElement,"as-min"):this.renderer.removeClass(this.elRef.nativeElement,"as-min"),!0===s?this.renderer.addClass(this.elRef.nativeElement,"as-max"):this.renderer.removeClass(this.elRef.nativeElement,"as-max")}lockEvents(){this.ngZone.runOutsideAngular(()=>{this.lockListeners.push(this.renderer.listen(this.elRef.nativeElement,"selectstart",()=>!1)),this.lockListeners.push(this.renderer.listen(this.elRef.nativeElement,"dragstart",()=>!1))})}unlockEvents(){for(;this.lockListeners.length>0;){const e=this.lockListeners.pop();e&&e()}}ngOnDestroy(){this.unlockEvents(),this.transitionListener&&this.transitionListener(),this.split.removeArea(this)}collapse(e=0,i="right"){this.split.collapseArea(this,e,i)}expand(){this.split.expandArea(this)}}return t.\u0275fac=function(e){return new(e||t)(D(bt),D(xe),D(vs),D(D3))},t.\u0275dir=fe({type:t,selectors:[["as-split-area"],["","as-split-area",""]],inputs:{order:"order",size:"size",minSize:"minSize",maxSize:"maxSize",lockSize:"lockSize",visible:"visible"},exportAs:["asSplitArea"]}),t})(),Ire=(()=>{class t{static forRoot(){return console.warn("AngularSplitModule.forRoot() is deprecated and will be removed in v6"),{ngModule:t,providers:[]}}static forChild(){return console.warn("AngularSplitModule.forChild() is deprecated and will be removed in v6"),{ngModule:t,providers:[]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Ct({type:t}),t.\u0275inj=yt({imports:[Ao]}),t})();class Pre{constructor(n,e){this.newRect=n,this.oldRect=e,this.isFirst=null==e}}let $x=(()=>{class t{constructor(e,i){this.element=e,this.zone=i,this.resized=new $e,this.observer=new ResizeObserver(r=>this.zone.run(()=>this.observe(r)))}ngOnInit(){this.observer.observe(this.element.nativeElement)}ngOnDestroy(){this.observer.disconnect()}observe(e){const i=e[0],r=new Pre(i.contentRect,this.oldRect);this.oldRect=i.contentRect,this.resized.emit(r)}}return t.\u0275fac=function(e){return new(e||t)(D(xe),D(bt))},t.\u0275dir=fe({type:t,selectors:[["","resized",""]],outputs:{resized:"resized"}}),t})(),Rre=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Ct({type:t}),t.\u0275inj=yt({}),t})();var gi=(()=>{return(t=gi||(gi={}))[t.normal=0]="normal",t[t.warning=1]="warning",t[t.alarm=2]="alarm",gi;var t})();const M3=function Lre(t,n){return t===n||t!=t&&n!=n},Gb=function Bre(t,n){for(var e=t.length;e--;)if(M3(t[e][0],n))return e;return-1};var Hre=Array.prototype.splice;function Nh(t){var n=-1,e=null==t?0:t.length;for(this.clear();++n-1},Nh.prototype.set=function qre(t,n){var e=this.__data__,i=Gb(e,t);return i<0?(++this.size,e.push([t,n])):e[i][1]=n,this};const $b=Nh,T3="object"==typeof global&&global&&global.Object===Object&&global;var roe="object"==typeof self&&self&&self.Object===Object&&self;const La=T3||roe||Function("return this")(),Lh=La.Symbol;var E3=Object.prototype,aoe=E3.hasOwnProperty,loe=E3.toString,vm=Lh?Lh.toStringTag:void 0;var hoe=Object.prototype.toString;var A3=Lh?Lh.toStringTag:void 0;const bm=function _oe(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":A3&&A3 in Object(t)?function coe(t){var n=aoe.call(t,vm),e=t[vm];try{t[vm]=void 0;var i=!0}catch{}var r=loe.call(t);return i&&(n?t[vm]=e:delete t[vm]),r}(t):function foe(t){return hoe.call(t)}(t)},ym=function voe(t){var n=typeof t;return null!=t&&("object"==n||"function"==n)},O3=function Soe(t){if(!ym(t))return!1;var n=bm(t);return"[object Function]"==n||"[object GeneratorFunction]"==n||"[object AsyncFunction]"==n||"[object Proxy]"==n};var t,xoe=La["__core-js_shared__"],I3=(t=/[^.]+$/.exec(xoe&&xoe.keys&&xoe.keys.IE_PROTO||""))?"Symbol(src)_1."+t:"";var Toe=Function.prototype.toString;const zu=function Eoe(t){if(null!=t){try{return Toe.call(t)}catch{}try{return t+""}catch{}}return""};var Ooe=/^\[object .+?Constructor\]$/,Noe=RegExp("^"+Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const Boe=function Loe(t){return!(!ym(t)||function koe(t){return!!I3&&I3 in t}(t))&&(O3(t)?Noe:Ooe).test(zu(t))},Wu=function zoe(t,n){var e=function Voe(t,n){return t?.[n]}(t,n);return Boe(e)?e:void 0},wm=Wu(La,"Map"),Cm=Wu(Object,"create");var Zoe=Object.prototype.hasOwnProperty;var ese=Object.prototype.hasOwnProperty;function Bh(t){var n=-1,e=null==t?0:t.length;for(this.clear();++n-1&&t%1==0&&t-1&&t%1==0&&t<=9007199254740991};var Gi={};Gi["[object Float32Array]"]=Gi["[object Float64Array]"]=Gi["[object Int8Array]"]=Gi["[object Int16Array]"]=Gi["[object Int32Array]"]=Gi["[object Uint8Array]"]=Gi["[object Uint8ClampedArray]"]=Gi["[object Uint16Array]"]=Gi["[object Uint32Array]"]=!0,Gi["[object Arguments]"]=Gi["[object Array]"]=Gi["[object ArrayBuffer]"]=Gi["[object Boolean]"]=Gi["[object DataView]"]=Gi["[object Date]"]=Gi["[object Error]"]=Gi["[object Function]"]=Gi["[object Map]"]=Gi["[object Number]"]=Gi["[object Object]"]=Gi["[object RegExp]"]=Gi["[object Set]"]=Gi["[object String]"]=Gi["[object WeakMap]"]=!1;const Kx=function kae(t){return function(n){return t(n)}};var U3="object"==typeof exports&&exports&&!exports.nodeType&&exports,xm=U3&&"object"==typeof module&&module&&!module.nodeType&&module,Zx=xm&&xm.exports===U3&&T3.process;const zh=function(){try{return xm&&xm.require&&xm.require("util").types||Zx&&Zx.binding&&Zx.binding("util")}catch{}}();var G3=zh&&zh.isTypedArray;const Eae=G3?Kx(G3):function Sae(t){return Sm(t)&&j3(t.length)&&!!Gi[bm(t)]};var Oae=Object.prototype.hasOwnProperty;const $3=function Iae(t,n){var e=Yx(t),i=!e&&Hse(t),r=!e&&!i&&W3(t),o=!e&&!i&&!r&&Eae(t),s=e||i||r||o,a=s?function Ise(t,n){for(var e=-1,i=Array(t);++e{pue(e);const i=((t,n)=>{const e=Qb(t),i=Qb(n),r=e.pop(),o=i.pop(),s=jh(e,i);return 0!==s?s:r&&o?jh(r.split("."),o.split(".")):r||o?r?-1:1:0})(t,n);return PL[e].includes(i)},AL=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,Qb=t=>{if("string"!=typeof t)throw new TypeError("Invalid argument expected string");const n=t.match(AL);if(!n)throw new Error(`Invalid argument not valid semver ('${t}' received)`);return n.shift(),n},OL=t=>"*"===t||"x"===t||"X"===t,IL=t=>{const n=parseInt(t,10);return isNaN(n)?t:n},fue=(t,n)=>{if(OL(t)||OL(n))return 0;const[e,i]=((t,n)=>typeof t!=typeof n?[String(t),String(n)]:[t,n])(IL(t),IL(n));return e>i?1:e{for(let e=0;e":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1]},RL=Object.keys(PL),pue=t=>{if("string"!=typeof t)throw new TypeError("Invalid operator type, expected string but got "+typeof t);if(-1===RL.indexOf(t))throw new Error(`Invalid operator, expected one of ${RL.join("|")}`)};function Uu(t,n){const e="object"==typeof n;return new Promise((i,r)=>{let s,o=!1;t.subscribe({next:a=>{s=a,o=!0},error:r,complete:()=>{o?i(s):e?i(n.defaultValue):r(new vp)}})})}let Uh=(()=>{class t{constructor(e){this.http=e,this.serverServiceEndpoints={operation:0,message:"Not connected",serverDescrption:null,httpServiceUrl:null,WsServiceUrl:null},this.serverServiceEndpoint$=new En(this.serverServiceEndpoints),this.serverVersion$=new En(null),this.serverRoles=[]}resetSignalK(e){var i=this;return Mc(function*(){if(null===e.url)return void console.log("[Connection Service] Connection reset called with null or empty URL value");i.signalKURL=e,i.serverServiceEndpoints.message="Connecting...",i.serverServiceEndpoints.operation=1,i.serverServiceEndpoints.httpServiceUrl=null,i.serverServiceEndpoints.WsServiceUrl=null,i.serverServiceEndpoint$.next(i.serverServiceEndpoints);let r=i.signalKURL.url;new RegExp("signalk/?$").test(r)||(r+="/signalk/");try{console.log("[Connection Service] Connecting to: "+i.signalKURL.url);const s=yield Uu(i.http.get(r,{observe:"response"}));console.debug("[Connection Service] SignalK HTTP Endpoints retreived"),i.serverVersion$.next(s.body.server.version),i.serverServiceEndpoints.httpServiceUrl=s.body.endpoints.v1["signalk-http"],i.serverServiceEndpoints.WsServiceUrl=s.body.endpoints.v1["signalk-ws"],i.serverServiceEndpoints.operation=2,i.serverServiceEndpoints.message=s.status.toString(),i.serverServiceEndpoints.serverDescrption=s.body.server.id+" "+s.body.server.version}catch(s){i.serverServiceEndpoints.operation=3,i.serverServiceEndpoints.message=s.message,i.serverServiceEndpoints.serverDescrption=null,i.handleError(s)}finally{i.serverServiceEndpoint$.next(i.serverServiceEndpoints)}})()}handleError(e){throw 0===e.status?(console.error("[Connection Service] HTTP Endpoint connection error occurred:",e.error.message),console.error("[Connection Service] An error occurred:",e.error)):console.error(`[Connection Service] Backend returned code ${e.status}, body was: `,e.error),e}getServiceEndpointStatusAsO(){return this.serverServiceEndpoint$.asObservable()}setServerInfo(e,i,r){this.serverName=e,this.serverRoles=r,console.log("[Connection Service] Server Name: "+e+", Version: "+i+", Roles: "+JSON.stringify(r))}get skServerName(){return this.serverName}get skServerVersion(){return this.serverVersion$.getValue()}get skServerRoles(){return this.serverRoles}}return t.\u0275fac=function(e){return new(e||t)(K(dh))},t.\u0275prov=Te({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Xb=(()=>{class t{constructor(e,i){this.server=e,this.http=i,this.serverEndpoint=null,this.isAppDataSupported=!1,this.serverConfigs=[],this.configVersion=null,this.InitConfig=null,this.storageServiceReady$=new pe,this.patchQueue$=new pe,this.patch=function(r){return this.http.post(r.url,r.document).pipe(rr(o=>console.log("[Storage Service] Remote config patch request completed successfuly")),ka(o=>this.handleError(o)))},e.serverServiceEndpoint$.subscribe(r=>{null!==r.httpServiceUrl&&(this.serverEndpoint=r.httpServiceUrl.substring(0,r.httpServiceUrl.length-4)+"applicationData/",console.log("[Storage Service] Service stratup. AppData API set to: "+this.serverEndpoint)),this.storageServiceReady$.next(2===r.operation)}),e.serverVersion$.subscribe(r=>{r&&(this.isAppDataSupported=ak(r,"1.27.0",">="))}),this.patchQueue$.pipe(bl(r=>this.patch(r))).subscribe(r=>{})}listConfigs(){var e=this;return Mc(function*(){let i=[];const r=e.serverEndpoint;let o=r+"global/kip/"+e.configVersion+"/?keys=true",s=r+"user/kip/"+e.configVersion+"/?keys=true";return yield Uu(e.http.get(o)).then(a=>{for(let l of a)i.push({scope:"global",name:l});console.log("[Storage Service] Retreived Global config list")}).catch(a=>{e.handleError(a)}),yield Uu(e.http.get(s)).then(a=>{for(let l of a)i.push({scope:"user",name:l});console.log("[Storage Service] Retreived User config list")}).catch(a=>{e.handleError(a)}),i})()}getConfig(e,i,r){var o=this;return Mc(function*(){let s=null,a=o.serverEndpoint+e+"/kip/"+o.configVersion+"/"+i;return yield Uu(o.http.get(a)).then(l=>{s=l,console.log(`[Storage Service] Retreived config [${i}] from [${e}] scope`),r&&(o.InitConfig=l)}).catch(l=>{o.handleError(l)}),s})()}setConfig(e,i,r){return Uu(this.http.post(this.serverEndpoint+e+"/kip/"+this.configVersion+"/"+i,r)).then(s=>{console.log(`[Storage Service] Saved config [${i}] to [${e}] scope`)}).catch(s=>{this.handleError(s)})}patchConfig(e,i){let o,r=this.serverEndpoint+"user/kip/"+this.configVersion;switch(e){case"IAppConfig":o=[{op:"replace",path:`/${this.sharedConfigName}/app`,value:i}];break;case"IThemeConfig":o=[{op:"replace",path:`/${this.sharedConfigName}/theme/themeName`,value:i.themeName}];break;case"IWidgetConfig":o=[{op:"replace",path:`/${this.sharedConfigName}/widget`,value:i}];break;case"ILayoutConfig":o=[{op:"replace",path:`/${this.sharedConfigName}/layout`,value:i}];break;case"Array":o=[{op:"replace",path:`/${this.sharedConfigName}/app/unitDefaults`,value:i}];break;case"Array":o=[{op:"replace",path:`/${this.sharedConfigName}/app/dataSets`,value:i}];break;case"Array":o=[{op:"replace",path:`/${this.sharedConfigName}/zones/zones`,value:i}];break;case"IZonesConfig":o=[{op:"replace",path:`/${this.sharedConfigName}/zones`,value:i}];break;case"INotificationConfig":o=[{op:"replace",path:`/${this.sharedConfigName}/app/notificationConfig`,value:i}];break;default:console.warn("[Storage Service] JSON Patch request type unknown")}this.patchQueue$.next({url:r,document:o})}removeItem(e,i){this.patchQueue$.next({url:this.serverEndpoint+e+"/kip/"+this.configVersion,document:[{op:"remove",path:`/${i}`}]})}clear(){}set activeConfigVersion(e){this.configVersion=e}handleError(e){throw 0===e.status?console.error("[Storage Service] An error occurred:",e.error):console.error("[Storage Service] Backend returned error: ",e.message),e}get initConfig(){return this.InitConfig}}return t.\u0275fac=function(e){return new(e||t)(K(Uh),K(dh))},t.\u0275prov=Te({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),hr=(()=>{class t{constructor(e,i,r){if(this.baseHref=e,this.router=i,this.storage=r,this.unlockStatus=new En(!1),this.unitDefaults=new En({}),this.themeName=new En("modern-dark"),this.kipKNotificationConfig=new En(Zb),this.autoNightMode=new En(!1),this.useDeviceToken=!1,this.activeConfig={app:null,widget:null,layout:null,theme:null,zones:null},this.splitSets=[],this.rootSplits=[],this.dataSets=[],this.zones=new En([]),console.log("[AppSettings Service] Service startup..."),this.storage.activeConfigVersion=9,window.localStorage){let o;if(this.loadConnectionConfig(),null===this.storage.initConfig&&this.useSharedConfig&&null!==this.loginName&&null!==this.loginPassword&&null!==this.signalkUrl.url?this.resetSettings():o=this.storage.initConfig,o)console.log("[AppSettings Service] Remote configuration storage enabled"),this.activeConfig=this.validateAppConfig(o),this.pushSettings();else{console.log("[AppSettings Service] LocalStorage enabled");let s={app:null,widget:null,layout:null,theme:null,zones:null};s.app=this.loadConfigFromLocalStorage("appConfig"),s.widget=this.loadConfigFromLocalStorage("widgetConfig"),s.layout=this.loadConfigFromLocalStorage("layoutConfig"),s.theme=this.loadConfigFromLocalStorage("themeConfig"),s.zones=this.loadConfigFromLocalStorage("zonesConfig"),this.activeConfig=this.validateAppConfig(s),this.pushSettings()}}else console.error("[AppSettings Service] LocalStorage NOT SUPPORTED by browser\nThis is a requirement to run Kip. See browser documentation to enable this feature.")}loadConnectionConfig(){let e=this.loadConfigFromLocalStorage("connectionConfig");"number"!=typeof e.configVersion||9!==e.configVersion?(console.error("[AppSettings Service] Invalid connectionConfig version. Resetting and loading connection configuration default"),this.resetConnection()):(this.signalkUrl={url:e.signalKUrl,new:!1},this.useDeviceToken=e.useDeviceToken,this.loginName=e.loginName,this.loginPassword=e.loginPassword,this.useSharedConfig=e.useSharedConfig,this.sharedConfigName=e.sharedConfigName,this.kipUUID=e.kipUUID)}resetConnection(){localStorage.setItem("connectionConfig",JSON.stringify(this.getDefaultConnectionConfig())),this.reloadApp()}validateAppConfig(e){return("number"!=typeof e.app.configVersion||9!==e.app.configVersion)&&(6==e.app.configVersion?(e.app=this.upgradeAppConfig(e.app),this.useSharedConfig&&(console.log("[AppSettings Service] Writing upgraded AppConfig to remote storage"),this.storage.setConfig("user","default",e))):(this.useSharedConfig?console.error("[AppSettings Service] Invalid Server config version. Resetting and loading configuration default"):(console.error("[AppSettings Service] Invalid localStorage config version. Replacing with Defaults"),localStorage.removeItem("appConfig"),localStorage.removeItem("widgetConfig"),localStorage.removeItem("layoutConfig"),localStorage.removeItem("themeConfig"),localStorage.removeItem("zonesConfig")),this.resetSettings())),e}upgradeAppConfig(e){let i={configVersion:9,autoNightMode:this.autoNightMode.getValue(),dataSets:Wh(e.dataSets),notificationConfig:Wh(e.notificationConfig),unitDefaults:Wh(e.unitDefaults)};console.log("[AppSettings Service] Writing upgraded AppConfig to LocalStorage"),this.replaceConfig("appConfig",i);let r=this.loadConfigFromLocalStorage("connectionConfig");return r.signalKUrl=this.signalkUrl=e.signalKUrl,r.kipUUID=this.kipUUID=e.kipUUID,console.log("[AppSettings Service] Writing upgraded connectionConfig to LocalStorage"),this.replaceConfig("connectionConfig",r),i}loadConfigFromLocalStorage(e){let i=JSON.parse(localStorage.getItem(e));if(null===i)switch(console.log(`[AppSettings Service] Error loading ${e} config. Force loading ${e} defaults`),e){case"appConfig":i=this.getDefaultAppConfig();break;case"connectionConfig":i=this.getDefaultConnectionConfig();break;case"widgetConfig":i=this.getDefaultWidgetConfig();break;case"layoutConfig":i=this.getDefaultLayoutConfig();break;case"themeConfig":i=this.getDefaultThemeConfig();break;case"zonesConfig":i=this.getDefaultZonesConfig()}return"connectionConfig"===e&&9!==i.configVersion&&"connectionConfig"===(console.log(`[AppSettings Service] Invalide ${e} version. Force loading defaults`),e)&&(i=this.getDefaultConnectionConfig()),i}pushSettings(){this.themeName.next(this.activeConfig.theme.themeName),this.dataSets=this.activeConfig.app.dataSets,this.unitDefaults.next(this.activeConfig.app.unitDefaults),this.kipKNotificationConfig.next(this.activeConfig.app.notificationConfig),this.widgets=this.activeConfig.widget.widgets,this.zones.next(this.activeConfig.zones.zones),this.splitSets=this.activeConfig.layout.splitSets,this.rootSplits=this.activeConfig.layout.rootSplits,void 0===this.activeConfig.app.autoNightMode?this.setAutoNightMode(!1):this.autoNightMode.next(this.activeConfig.app.autoNightMode)}getDefaultUnitsAsO(){return this.unitDefaults.asObservable()}getDefaultUnits(){return this.unitDefaults.getValue()}setDefaultUnits(e){this.unitDefaults.next(e),this.useSharedConfig?this.storage.patchConfig("Array",e):this.saveAppConfigToLocalStorage()}getAppConfig(){return this.buildAppStorageObject()}getConnectionConfig(){return this.buildConnectionStorageObject()}setConnectionConfig(e){this.loginName=e.loginName,this.loginPassword=e.loginPassword,this.useSharedConfig=e.useSharedConfig,this.signalkUrl.url=e.signalKUrl,this.useDeviceToken=!e.useSharedConfig,this.saveConnectionConfigToLocalStorage()}setUseDeviceToken(e){this.useDeviceToken=e,this.saveConnectionConfigToLocalStorage()}getWidgetConfig(){return this.buildWidgetStorageObject()}getLayoutConfig(){return this.buildLayoutStorageObject()}getThemeConfig(){return this.buildThemeStorageObject()}getZonesConfig(){return this.buildZonesStorageObject()}get KipUUID(){return this.kipUUID}getUnlockStatusAsO(){return this.unlockStatus.asObservable()}setUnlockStatus(e){this.unlockStatus.next(e)}getThemeNameAsO(){return this.themeName.asObservable()}setThemName(e){this.themeName.next(e),"nightMode"!=e&&(this.useSharedConfig?this.storage.patchConfig("IThemeConfig",{themeName:e}):this.saveThemeConfigToLocalStorage())}getThemeName(){return this.themeName.getValue()}getAutoNightModeAsO(){return this.autoNightMode.asObservable()}setAutoNightMode(e){this.autoNightMode.next(e);const i=this.buildAppStorageObject();this.useSharedConfig?this.storage.patchConfig("IAppConfig",i):this.saveAppConfigToLocalStorage()}getAutoNightMode(){return this.autoNightMode.getValue()}getWidgets(){return this.widgets}saveWidgets(e){this.widgets=e,this.useSharedConfig?this.storage.patchConfig("IWidgetConfig",{widgets:this.widgets}):this.saveWidgetConfigToLocalStorage()}getSplitSets(){return this.splitSets}getRootSplits(){return this.rootSplits}saveSplitSets(e){this.splitSets=e,this.useSharedConfig?this.storage.patchConfig("ILayoutConfig",{splitSets:this.splitSets,rootSplits:this.rootSplits}):this.saveLayoutConfigToLocalStorage()}saveRootUUIDs(e){this.rootSplits=e,this.useSharedConfig?this.storage.patchConfig("ILayoutConfig",{splitSets:this.splitSets,rootSplits:this.rootSplits}):this.saveLayoutConfigToLocalStorage()}saveDataSets(e){this.dataSets=e,this.useSharedConfig?this.storage.patchConfig("Array",e):this.saveAppConfigToLocalStorage()}getDataSets(){return this.dataSets}saveZones(e){this.zones.next(e),this.useSharedConfig?this.storage.patchConfig("Array",e):this.saveZonesConfigToLocalStorage()}getZonesAsO(){return this.zones.asObservable()}getZones(){return this.zones.getValue()}getNotificationServiceConfigAsO(){return this.kipKNotificationConfig.asObservable()}getNotificationConfig(){return this.kipKNotificationConfig.getValue()}setNotificationConfig(e){this.kipKNotificationConfig.next(e),this.useSharedConfig?this.storage.patchConfig("INotificationConfig",e):this.saveAppConfigToLocalStorage()}resetSettings(){let e={app:null,widget:null,layout:null,theme:null,zones:null};e.app=this.getDefaultAppConfig(),e.widget=this.getDefaultWidgetConfig(),e.layout=this.getDefaultLayoutConfig(),e.theme=this.getDefaultThemeConfig(),e.zones=this.getDefaultZonesConfig(),this.useSharedConfig?this.storage.setConfig("user",this.sharedConfigName,e).then(i=>{console.log("[AppSettings Service] Replaced server config name: "+this.sharedConfigName+", with default configuration values"),this.reloadApp()}).catch(i=>{console.error("[AppSettings Service] Error replacing server config name: "+this.sharedConfigName)}):this.reloadApp()}replaceConfig(e,i,r){let o=JSON.stringify(i);localStorage.setItem(e,o),r&&this.reloadApp()}loadDemoConfig(){localStorage.clear(),this.replaceConfig("appConfig",kL),this.replaceConfig("connectionConfig",cue),this.replaceConfig("widgetConfig",DL),this.replaceConfig("layoutConfig",ML),this.replaceConfig("themeConfig",TL,!0)}reloadApp(){console.log("[AppSettings Service] Reload app at basehref: "+this.baseHref),location.replace(this.baseHref)}buildAppStorageObject(){return{configVersion:9,autoNightMode:this.autoNightMode.getValue(),dataSets:this.dataSets,unitDefaults:this.unitDefaults.getValue(),notificationConfig:this.kipKNotificationConfig.getValue()}}buildConnectionStorageObject(){return{configVersion:9,kipUUID:this.kipUUID,signalKUrl:this.signalkUrl.url,useDeviceToken:this.useDeviceToken,loginName:this.loginName,loginPassword:this.loginPassword,useSharedConfig:this.useSharedConfig,sharedConfigName:this.sharedConfigName}}buildWidgetStorageObject(){return{widgets:this.widgets}}buildLayoutStorageObject(){return{splitSets:this.splitSets,rootSplits:this.rootSplits}}buildThemeStorageObject(){return{themeName:this.themeName.getValue()}}buildZonesStorageObject(){return{zones:this.zones.getValue()}}saveAppConfigToLocalStorage(){console.log("[AppSettings Service] Saving Application config to LocalStorage"),localStorage.setItem("appConfig",JSON.stringify(this.buildAppStorageObject()))}saveConnectionConfigToLocalStorage(){console.log("[AppSettings Service] Saving Connection config to LocalStorage"),localStorage.setItem("connectionConfig",JSON.stringify(this.buildConnectionStorageObject()))}saveWidgetConfigToLocalStorage(){console.log("[AppSettings Service] Saving Widgets config to LocalStorage"),localStorage.setItem("widgetConfig",JSON.stringify(this.buildWidgetStorageObject()))}saveLayoutConfigToLocalStorage(){console.log("[AppSettings Service] Saving Layouts config to LocalStorage"),localStorage.setItem("layoutConfig",JSON.stringify(this.buildLayoutStorageObject()))}saveThemeConfigToLocalStorage(){console.log("[AppSettings Service] Saving Theme config to LocalStorage"),localStorage.setItem("themeConfig",JSON.stringify(this.buildThemeStorageObject()))}saveZonesConfigToLocalStorage(){console.log("[AppSettings Service] Saving Zones config to LocalStorage"),localStorage.setItem("zonesConfig",JSON.stringify(this.buildZonesStorageObject()))}getDefaultAppConfig(){let e=yL;return e.notificationConfig=Zb,e.unitDefaults=bL,e.configVersion=9,localStorage.setItem("appConfig",JSON.stringify(e)),e}getDefaultConnectionConfig(){let e=aue;return e.kipUUID=this.newUuid(),localStorage.setItem("connectionConfig",JSON.stringify(e)),e}getDefaultWidgetConfig(){let e=wL;return localStorage.setItem("widgetConfig",JSON.stringify(e)),e}getDefaultLayoutConfig(){let e=CL;return localStorage.setItem("layoutConfig",JSON.stringify(e)),e}getDefaultThemeConfig(){let e=SL;return localStorage.setItem("themeConfig",JSON.stringify(e)),e}getDefaultZonesConfig(){let e=xL;return localStorage.setItem("zonesConfig",JSON.stringify(e)),e}newUuid(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){var i=16*Math.random()|0;return("x"==e?i:3&i|8).toString(16)})}}return t.\u0275fac=function(e){return new(e||t)(K(up),K(Or),K(Xb))},t.\u0275prov=Te({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var gue=Yi(7611),Hn=Yi.n(gue);let km=(()=>{class t{constructor(e){this.AppSettingsService=e,this.conversionList=[{group:"Unitless",units:[{measure:"unitless",description:"As-Is numeric value"}]},{group:"Speed",units:[{measure:"knots",description:"Knots - Nautical miles per hour"},{measure:"kph",description:"kph - Kilometers per hour"},{measure:"mph",description:"mph - Miles per hour"},{measure:"m/s",description:"m/s - Meters per second (default)"}]},{group:"Flow",units:[{measure:"m3/s",description:"Cubic meters per second (default)"},{measure:"l/min",description:"Liters per minute"},{measure:"l/h",description:"Liters per hour"},{measure:"g/min",description:"Gallons per minute"},{measure:"g/h",description:"Gallons per hour"}]},{group:"Temperature",units:[{measure:"K",description:"Kelvin (default)"},{measure:"celsius",description:"Celsius"},{measure:"fahrenheit",description:"Fahrenheit"}]},{group:"Length",units:[{measure:"m",description:"Metres (default)"},{measure:"fathom",description:"Fathoms"},{measure:"feet",description:"Feets"},{measure:"km",description:"Kilometers"},{measure:"nm",description:"Nautical Miles"},{measure:"mi",description:"Miles"}]},{group:"Volume",units:[{measure:"liter",description:"Liters (default)"},{measure:"m3",description:"Cubic Meters"},{measure:"gallon",description:"Gallons"}]},{group:"Current",units:[{measure:"A",description:"Amperes"},{measure:"mA",description:"Milliamperes"}]},{group:"Potential",units:[{measure:"V",description:"Volts"},{measure:"mV",description:"Millivolts"}]},{group:"Charge",units:[{measure:"C",description:"Coulomb"},{measure:"Ah",description:"Ampere*Hours"}]},{group:"Power",units:[{measure:"W",description:"Watts"},{measure:"mW",description:"Milliwatts"}]},{group:"Energy",units:[{measure:"J",description:"Joules"},{measure:"kWh",description:"Kilo-Watt*Hours"}]},{group:"Pressure",units:[{measure:"Pa",description:"Pascal (default)"},{measure:"bar",description:"Bars"},{measure:"psi",description:"psi"},{measure:"mmHg",description:"mmHg"},{measure:"inHg",description:"inHg"},{measure:"hPa",description:"hPa"},{measure:"mbar",description:"mbar"}]},{group:"Density",units:[{measure:"kg/m3",description:"Air density - kg/cubic meter"}]},{group:"Time",units:[{measure:"s",description:"Seconds (default)"},{measure:"Minutes",description:"Minutes"},{measure:"Hours",description:"Hours"},{measure:"Days",description:"Days"},{measure:"HH:MM:SS",description:"Hours:Minute:seconds"}]},{group:"Angular Velocity",units:[{measure:"rad/s",description:"Radians per second"},{measure:"deg/s",description:"Degrees per second"},{measure:"deg/min",description:"Degrees per minute"}]},{group:"Angle",units:[{measure:"rad",description:"Radians"},{measure:"deg",description:"Degrees"},{measure:"grad",description:"Gradians"}]},{group:"Frequency",units:[{measure:"rpm",description:"RPM - Rotations per minute"},{measure:"Hz",description:"Hz - Hertz (default)"},{measure:"KHz",description:"KHz - KiloHertz"},{measure:"MHz",description:"MHz - MegaHertz"},{measure:"GHz",description:"GHz - GigaHertz"}]},{group:"Ratio",units:[{measure:"percent",description:"As percentage value"},{measure:"percentraw",description:"As ratio 0-1 with % sign"},{measure:"ratio",description:"Ratio 0-1 (default)"}]},{group:"Position",units:[{measure:"latitudeMin",description:"Latitude in minutes"},{measure:"latitudeSec",description:"Latitude in seconds"},{measure:"longitudeMin",description:"Longitude in minutes"},{measure:"longitudeSec",description:"Longitude in seconds"}]}],this.unitConversionFunctions={unitless:function(i){return i},knots:Hn().swiftConverter("m/s","kn"),kph:Hn().swiftConverter("m/s","kph"),"m/s":function(i){return i},mph:Hn().swiftConverter("m/s","mph"),liter:Hn().swiftConverter("m^3","liter"),gallon:Hn().swiftConverter("m^3","gallon"),m3:function(i){return i},"m3/s":function(i){return i},"l/min":Hn().swiftConverter("m^3/s","liter/minute"),"l/h":Hn().swiftConverter("m^3/s","liter/hour"),"g/min":Hn().swiftConverter("m^3/s","gallon/minute"),"g/h":Hn().swiftConverter("m^3/s","gallon/hour"),K:function(i){return i},celsius:Hn().swiftConverter("tempK","tempC"),fahrenheit:Hn().swiftConverter("tempK","tempF"),m:function(i){return i},fathom:Hn().swiftConverter("m","fathom"),feet:Hn().swiftConverter("m","foot"),km:Hn().swiftConverter("m","km"),nm:Hn().swiftConverter("m","nmi"),mi:Hn().swiftConverter("m","mi"),V:function(i){return i},mV:function(i){return 1e3*i},A:function(i){return i},mA:function(i){return 1e3*i},C:function(i){return i},Ah:Hn().swiftConverter("C","Ah"),W:function(i){return i},mW:function(i){return 1e3*i},J:function(i){return i},kWh:Hn().swiftConverter("J","kWh"),Pa:function(i){return i},bar:Hn().swiftConverter("Pa","bar"),psi:Hn().swiftConverter("Pa","psi"),mmHg:Hn().swiftConverter("Pa","mmHg"),inHg:Hn().swiftConverter("Pa","inHg"),hPa:Hn().swiftConverter("Pa","hPa"),mbar:Hn().swiftConverter("Pa","millibar"),"kg/m3":function(i){return i},s:function(i){return i},Minutes:Hn().swiftConverter("s","minutes"),Hours:Hn().swiftConverter("s","hours"),Days:Hn().swiftConverter("s","days"),"HH:MM:SS":function(i){(i=parseInt(i,10))<0&&(i*=-1);var r=Math.floor(i/3600),o=Math.floor(i%3600/60),s=Math.floor(i%3600%60);return("0"+r).slice(-2)+":"+("0"+o).slice(-2)+":"+("0"+s).slice(-2)},"rad/s":function(i){return i},"deg/s":Hn().swiftConverter("rad/s","deg/s"),"deg/min":Hn().swiftConverter("rad/s","deg/min"),rpm:function(i){return 60*i},Hz:function(i){return i},KHz:function(i){return i/1e3},MHz:function(i){return i/1e6},GHz:function(i){return i/1e9},rad:function(i){return i},deg:Hn().swiftConverter("rad","deg"),grad:Hn().swiftConverter("rad","grad"),percent:function(i){return 100*i},percentraw:function(i){return i},ratio:function(i){return i},latitudeMin:function(i){i=Hn()(i,"rad").to("deg").scalar;let r=Math.trunc(i),o="N";i<0&&(o="S",r*=-1);let s=i%1*60;return"S"==o&&(s*=-1),r+"\xb0 "+s.toFixed(2).padStart(5,"0")+"' "+o},latitudeSec:function(i){i=Hn()(i,"rad").to("deg").scalar;let r=Math.trunc(i),o="N";i<0&&(o="S",r*=-1);let s=i%1*60;return"S"==o&&(s*=-1),r+"\xb0 "+Math.trunc(s)+"' "+(s%1*60).toFixed(2).padStart(5,"0")+'" '+o},longitudeMin:function(i){i=Hn()(i,"rad").to("deg").scalar;let r=Math.trunc(i),o="E";i<0&&(o="W",r*=-1);let s=i%1*60;return"W"==o&&(s*=-1),r+"\xb0 "+s.toFixed(2).padStart(5,"0")+"' "+o},longitudeSec:function(i){i=Hn()(i,"rad").to("deg").scalar;let r=Math.trunc(i),o="E";i<0&&(o="W",r*=-1);let s=i%1*60;return"W"==o&&(s*=-1),r+"\xb0 "+Math.trunc(s)+"' "+(s%1*60).toFixed(2).padStart(5,"0")+'" '+o}},this.defaultUnitsSub=this.AppSettingsService.getDefaultUnitsAsO().subscribe(i=>{this.defaultUnits=i})}convertUnit(e,i){return e in this.unitConversionFunctions&&null!==i?this.unitConversionFunctions[e](i):null}getDefaults(){return this.defaultUnits}getConversions(){return this.conversionList}}return t.\u0275fac=function(e){return new(e||t)(K(hr))},t.\u0275prov=Te({token:t,factory:t.\u0275fac}),t})();var FL=Yi(6461);class lk extends pe{constructor(n=1/0,e=1/0,i=ZS){super(),this._bufferSize=n,this._windowTime=e,this._timestampProvider=i,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=e===1/0,this._bufferSize=Math.max(1,n),this._windowTime=Math.max(1,e)}next(n){const{isStopped:e,_buffer:i,_infiniteTimeWindow:r,_timestampProvider:o,_windowTime:s}=this;e||(i.push(n),!r&&i.push(o.now()+s)),this._trimBuffer(),super.next(n)}_subscribe(n){this._throwIfClosed(),this._trimBuffer();const e=this._innerSubscribe(n),{_infiniteTimeWindow:i,_buffer:r}=this,o=r.slice();for(let s=0;sJSON.parse(t.data),serializer:t=>JSON.stringify(t)};class ck extends nt{constructor(n,e){if(super(),this._socket=null,n instanceof bn)this.destination=e,this.source=n;else{const i=this._config=Object.assign({},vue);if(this._output=new pe,"string"==typeof n)i.url=n;else for(const r in n)n.hasOwnProperty(r)&&(i[r]=n[r]);if(!i.WebSocketCtor&&WebSocket)i.WebSocketCtor=WebSocket;else if(!i.WebSocketCtor)throw new Error("no WebSocket constructor can be found");this.destination=new lk}}lift(n){const e=new ck(this._config,this.destination);return e.operator=n,e.source=this,e}_resetState(){this._socket=null,this.source||(this.destination=new lk),this._output=new pe}multiplex(n,e,i){const r=this;return new bn(o=>{try{r.next(n())}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:n,protocol:e,url:i,binaryType:r}=this._config,o=this._output;let s=null;try{s=e?new n(i,e):new n(i),this._socket=s,r&&(this._socket.binaryType=r)}catch(l){return void o.error(l)}const a=new Z(()=>{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:p}=this._config;p&&p.next(l);const m=this.destination;this.destination=Yt.create(_=>{if(1===s.readyState)try{const{serializer:C}=this._config;s.send(C(_))}catch(C){this.destination.error(C)}},_=>{const{closingObserver:C}=this._config;C&&C.next(void 0),_&&_.code?s.close(_.code,_.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:_}=this._config;_&&_.next(void 0),s.close(),this._resetState()}),m&&m instanceof lk&&a.add(m.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(n){const{source:e}=this;return e?e.subscribe(n):(this._socket||this._connectSocket(),this._output.subscribe(n),n.add(()=>{const{_socket:i}=this;0===this._output.observers.length&&(i&&(1===i.readyState||0===i.readyState)&&i.close(),this._resetState())}),n)}unsubscribe(){const{_socket:n}=this;n&&(1===n.readyState||0===n.readyState)&&n.close(),this._resetState(),super.unsubscribe()}}const NL="auth/login";let Rl=(()=>{class t{constructor(e,i){this.http=e,this.conn=i,this._IsLoggedIn$=new En(!1),this.isLoggedIn$=this._IsLoggedIn$.asObservable(),this._authToken$=new En(null),this.authToken$=this._authToken$.asObservable(),this.loginUrl=null,this.logoutUrl=null,this.validateTokenUrl=null;const r=JSON.parse(localStorage.getItem("authorization_token"));r&&(r.isDeviceAccessToken?null===r.expiry?(console.log("[Authentication Service] Device Access Token found with expiry: NEVER"),this._authToken$.next(r)):this.isTokenExpired(r.expiry)?(console.log("[Authentication Service] Device Access Token expired. Deleting token"),localStorage.removeItem("authorization_token")):(console.log("[Authentication Service] Device Access Token found in Local Storage"),this._authToken$.next(r)):(console.log("[Authentication Service] User session token found in Local Storage"),console.log("[Authentication Service] Deleting user session token"),localStorage.removeItem("authorization_token"))),this._authToken$.pipe(hi(o=>!!o&&null!==o.expiry),Ne(o=>o.expiry),Ar(o=>em(this.getTokenExpirationDate(o,60)))).subscribe(()=>{let o=JSON.parse(localStorage.getItem("authorization_token"));if(o.isDeviceAccessToken)console.warn("[Authentication Service] Device Access Token expired. Manually renew token using SignalK Connection Tab");else if(this.isTokenExpired(o.expiry))console.log("[Authentication Service] User session Token expired");else{let s=JSON.parse(localStorage.getItem("connectionConfig"));console.log("[Authentication Service] User session Token expires soon. Renewing token."),console.log("[Authentication Service] \nToken Expiry: "+this.getTokenExpirationDate(o.expiry)+"\nTimeout at: "+this.getTokenExpirationDate(o.expiry,60)),this.login({usr:s.loginName,pwd:s.loginPassword}).catch(a=>{console.error("[AppInit Service] Token renewal failure. Server returned: "+JSON.stringify(a.error))})}}),this.conn.serverServiceEndpoint$.subscribe(o=>{if(2===o.operation){let s=o.httpServiceUrl.substring(0,o.httpServiceUrl.length-4);this.loginUrl=s+NL,this.logoutUrl=s+"auth/logout",this.validateTokenUrl=s+"auth/validate"}})}login({usr:e,pwd:i,newUrl:r}){var o=this;return Mc(function*(){let s;s=r?r+"/signalk/v1/"+NL:o.loginUrl,o._IsLoggedIn$.getValue()&&(yield o.logout(!0)),yield Uu(o.http.post(s,{username:e,password:i},{observe:"response"})).then(a=>{console.log("[Authentication Service] User "+e+" login successful"),o.setSession(a.body.token)}).catch(a=>{o.deleteToken(),o.handleError(a)})})()}handleError(e){throw 0===e.status?(console.error("[Authentication Service] An error occurred:",e.error),this.deleteToken()):console.error(`[Authentication Service] Backend returned code ${e.status}, body was: `,e.error),e}setSession(e){if(e){const i=JSON.parse(atob(e.split(".")[1])).exp;let r={token:null,expiry:null,isDeviceAccessToken:!1};this.isTokenExpired(i)?console.log("[Authentication Service] Received expired Session Token from server"):(r.token=e,r.expiry=i,console.log("[Authentication Service] Session Authorization Token received. Token Expiration: "+this.getTokenExpirationDate(r.expiry)),this._IsLoggedIn$.next(!0),this._authToken$.next(r),localStorage.setItem("authorization_token",JSON.stringify(r)))}}isTokenExpired(e){return Math.floor((new Date).getTime()/1e3)>=e}getTokenExpirationDate(e,i){let r=new Date(0);if(i){let o=new Date(0);o.setUTCSeconds(e-i),r=o}else r.setUTCSeconds(e);return r}renewToken(){return this.http.post(this.validateTokenUrl,null,{observe:"response"})}logout(e){var i=this;return Mc(function*(){localStorage.removeItem("authorization_token"),yield Uu(i.http.put(i.logoutUrl,null)).then(r=>{i._IsLoggedIn$.next(!1),e||i._authToken$.next(null),console.log("[Authentication Service] User logged out")}).catch(r=>{console.error(r)})})()}deleteToken(){!this._authToken$||(console.log("[Authentication Service] Deleting Authorization token"),localStorage.removeItem("authorization_token"),this._IsLoggedIn$.next(!1),this._authToken$.next(null))}setDeviceAccessToken(e){if(e){const i=JSON.parse(atob(e.split(".")[1])).exp;let r={token:null,expiry:null,isDeviceAccessToken:!0};void 0===i?(r.token=e,console.log("[Authentication Service] Device Access Token received. Token Expiration: NEVER"),this._IsLoggedIn$.next(!1),this._authToken$.next(r),localStorage.setItem("authorization_token",JSON.stringify(r))):this.isTokenExpired(i)?console.log("[Authentication Service] Received expired Device Access Token from server"):(r.token=e,r.expiry=i,console.log("[Authentication Service] Device Access Token received. Token Expiration: "+this.getTokenExpirationDate(r.expiry)),this._IsLoggedIn$.next(!1),this._authToken$.next(r),localStorage.setItem("authorization_token",JSON.stringify(r)))}}}return t.\u0275fac=function(e){return new(e||t)(K(dh),K(Uh))},t.\u0275prov=Te({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Tc=(()=>{class t{constructor(e,i,r){this.server=e,this.auth=i,this.zones=r,this.signalKRequests$=new pe,this.signalKNotifications$=new pe,this.signalKDatapath$=new pe,this.signalKMetadata$=new pe,this.vesselSelfUrn$=new pe,this.streamEndpoint={operation:0,message:"Not connected",hasToken:!1},this.streamEndpoint$=new En(this.streamEndpoint),this.endpointWS=null,this.WS_RECONNECT_INTERVAL=5e3,this.WS_CONNECTION_ARGUMENT="?subscribe=all&sendMeta=all",this.socketWSCloseEvent$=new pe,this.socketWSOpenEvent$=new pe,this.authToken=null,this.server.serverServiceEndpoint$.subscribe(o=>{let s=null;s=2===o.operation?"New endpoint":"Connection stopped",2===o.operation?(this.endpointWS=o.WsServiceUrl,this.socketWS$&&4!==this.streamEndpoint.operation&&this.closeWS(s),setTimeout(()=>{this.connectWS(s)},250)):this.socketWS$&&1!==o.operation&&4!==this.streamEndpoint.operation&&this.closeWS(s)}),this.auth.authToken$.subscribe(o=>{if(this.authToken!=o){this.authToken=o;let s=null;s=o?"New token":"Deleted Token",this.socketWS$&&(2===this.streamEndpoint.operation||1===this.streamEndpoint.operation)&&(this.closeWS(s),setTimeout(()=>{this.connectWS(s)},250))}}),this.socketWSOpenEvent$.subscribe(o=>{this.streamEndpoint.message="Connected",this.streamEndpoint.operation=2,this.authToken?console.log("[Delta Service] WebSocket connected with Authorization Token"):console.log("[Delta Service] WebSocket connected without Authorization Token"),this.streamEndpoint$.next(this.streamEndpoint)}),this.socketWSCloseEvent$.subscribe(o=>{o.wasClean?(this.streamEndpoint.message="WebSocket closed",this.streamEndpoint.operation=0,console.log("[Delta Service] WebSocket closed")):(console.log("[Delta Service] WebSocket terminated due to socket error"),this.streamEndpoint.message="WebSocket error",this.streamEndpoint.operation=3,console.log("[Delta Service] WebSocket closed")),this.streamEndpoint$.next(this.streamEndpoint)})}connectWS(e){this.streamEndpoint.message="Connecting",this.streamEndpoint.operation=1,console.log(`[Delta Service] ${e}: WebSocket openning...`),this.streamEndpoint$.next(this.streamEndpoint),this.socketWS$=this.getNewWebSocket(),this.zones.runOutsideAngular(()=>{this.socketWS$.pipe(function _ue(t){return Ye((n,e)=>{let i,o,r=!1;const s=()=>{i=n.subscribe(Ot(e,void 0,void 0,a=>{o||(o=new pe,z(t(o)).subscribe(Ot(e,()=>i?s():r=!0))),o&&o.next(a)})),r&&(i.unsubscribe(),i=null,r=!1,s())};s()})}(i=>i.pipe(rr(r=>{console.error("[Delta Service] WebSocket error: "+JSON.stringify(r,["code","message","type"]))}),_b(this.WS_RECONNECT_INTERVAL)))).subscribe(i=>{this.processWebsocketMessage(i)})})}getNewWebSocket(){let e;return null!=this.authToken?(e=this.WS_CONNECTION_ARGUMENT+"&token="+this.authToken.token,this.streamEndpoint.hasToken=!0):(e=this.WS_CONNECTION_ARGUMENT,this.streamEndpoint.hasToken=!1),function yue(t){return new ck(t)}({url:this.endpointWS+e,closeObserver:this.socketWSCloseEvent$,openObserver:this.socketWSOpenEvent$})}closeWS(e){this.socketWS$&&(this.streamEndpoint.operation=4,console.log("[Delta Service] "+e+": WebSocket closing..."),this.socketWS$.complete())}publishDelta(e){this.socketWS$?(console.log("[Delta Service] WebSocket sending message"),this.socketWS$.next(e)):(setTimeout(()=>{console.log("[Delta Service] WebSocket retry sending message"),this.socketWS$.next(e)},1e3),console.log("[Delta Service] No WebSocket present to send messsage"))}processWebsocketMessage(e){e.updates?this.parseUpdates(e.updates,e.context):e.requestId?this.signalKRequests$.next(e):e.errorMessage?console.warn("[Delta Service] Service received stream error message: "+e.errorMessage):e.self?(this.vesselSelfUrn$.next(e.self),this.server.setServerInfo(e.name,e.version,e.roles)):console.warn("[Delta Service] Unknown message type. Message content:"+e)}parseUpdates(e,i){i||(i="self");for(let r of e){let o=null;o=r.source&&r.source.type&&r.source.label?"NMEA2000"==r.source.type?r.source.label+"."+r.source.src:"NMEA0183"==r.source.type?r.source.label+"."+r.source.talker:r.source.label:void 0!==r.$source?r.$source:void 0!==r.source&&void 0!==r.source.src&&void 0!==r.source.label?r.source.label+"."+r.source.src:void 0!==r.source&&void 0!==r.source.label?r.source.label:"Unknown";let s=Date.parse(r.timestamp);if(void 0!==r.values)for(let a of r.values)if(/^notifications./.test(a.path))this.signalKNotifications$.next({path:a.path,notification:a.value});else{let l=`${i}.${a.path}`;if(""==a.path&&(l=i),"object"==typeof a.value&&null!==a.value){let c=Object.keys(a.value);for(let p=0;p{r={path:`${i}.${e.path}.${o}`,meta:e.value.properties[o]},this.signalKMetadata$.next(r)}):(r={path:`${i}.${e.path}`,meta:e.value},this.signalKMetadata$.next(r))}}getDataStreamStatusAsO(){return this.streamEndpoint$.asObservable()}subscribeRequestUpdates(){return this.signalKRequests$.asObservable()}subscribeNotificationsUpdates(){return this.signalKNotifications$.asObservable()}subscribeDataPathsUpdates(){return this.signalKDatapath$.asObservable()}subscribeMetadataUpdates(){return this.signalKMetadata$.asObservable()}subscribeSelfUpdates(){return this.vesselSelfUrn$.asObservable()}OnDestroy(){this.closeWS("App terminated")}}return t.\u0275fac=function(e){return new(e||t)(K(Uh),K(Rl),K(bt))},t.\u0275prov=Te({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const xue={1e3:"notification",1001:"alert",1002:"warn",1003:"alarm",1004:"emergency"};let As=(()=>{class t{constructor(e,i){this.appSettingsService=e,this.deltaService=i,this.notificationConfig$=new En(Zb),this.alarms={},this.activeAlarmsSubject=new En({}),this.alarmsInfo=new En({audioSev:0,visualSev:0,alarmCount:0,unackCount:0,isMuted:!1}),this.snackbarAppNotifications=new pe,this.isHowlIdMuted=!1,this.notificationServiceSettings=this.appSettingsService.getNotificationServiceConfigAsO().subscribe(r=>{this.notificationConfig=r,this.notificationConfig$.next(r),this.notificationConfig.disableNotifications&&this.resetAlarms(),this.notificationConfig.sound.disableSound?this.playAlarm(1e3):this.checkAlarms()}),this.deltaService.streamEndpoint$.subscribe(r=>{2===r.operation&&this.resetAlarms()}),this.deltaService.subscribeNotificationsUpdates().subscribe(r=>{this.processNotificationDelta(r)}),this.howlPlayer=this.getPlayer(1e3)}sendSnackbarNotification(e,i=1e4,r=!1){this.snackbarAppNotifications.next({message:e,duration:i,silent:r})}subscribeAlarms(){}unsubscribeAlarms(){}listAlarms(){}resetAlarms(){this.alarms={},this.activeAlarmsSubject.next(this.alarms)}getAlarms(){return this.activeAlarmsSubject.asObservable()}addAlarm(e,i){/^notifications.security./.test(e)||this.notificationConfig.disableNotifications||(e in this.alarms?this.alarms[e].notification=i:this.alarms[e]={path:e,type:"device",isAck:!1,notification:i},this.checkAlarms(),this.activeAlarmsSubject.next(this.alarms))}updateAlarm(e,i){this.alarms[e].notification=i,this.checkAlarms(),this.activeAlarmsSubject.next(this.alarms)}deleteAlarm(e){return e in this.alarms&&(delete this.alarms[e],this.checkAlarms(),this.activeAlarmsSubject.next(this.alarms),!0)}acknowledgeAlarm(e,i=0){return e in this.alarms&&(this.alarms[e].isAck=!0,this.activeAlarmsSubject.next(this.alarms),i>0&&setTimeout(()=>{console.log("unack: "+e),e in this.alarms&&(this.alarms[e].isAck=!1,this.activeAlarmsSubject.next(this.alarms))},i),this.checkAlarms(),!0)}checkAlarms(){let e=0,i=0,r=0;for(const[o,s]of Object.entries(this.alarms)){if(s.isAck)continue;e++;let a=0,l=0;if("method"in s.notification){switch(s.notification.state){case"normal":s.notification.method.includes("sound")&&!this.notificationConfig.sound.muteNormal&&(a=0),s.notification.method.includes("visual")&&(a=0);break;case"alert":s.notification.method.includes("sound")&&!this.notificationConfig.sound.muteAlert&&(a=1),s.notification.method.includes("visual")&&(l=1);break;case"warn":s.notification.method.includes("sound")&&!this.notificationConfig.sound.muteWarning&&(a=2),s.notification.method.includes("visual")&&(l=1);break;case"alarm":s.notification.method.includes("sound")&&!this.notificationConfig.sound.muteAlarm&&(a=3),s.notification.method.includes("visual")&&(l=2);break;case"emergency":s.notification.method.includes("sound")&&!this.notificationConfig.sound.muteEmergency&&(a=4),s.notification.method.includes("visual")&&(l=2);break;default:a=0,l=0,this.sendSnackbarNotification("Unknown Notification State received from SignalK",0,!1),console.log("Unknown Notification State received from SignalK\n"+JSON.stringify(s))}i=Math.max(i,a),r=Math.max(r,l)}}this.notificationConfig.sound.disableSound||this.playAlarm(1e3+i),this.alarmsInfo.next({audioSev:i,visualSev:r,alarmCount:Object.keys(this.alarms).length,unackCount:e,isMuted:this.isHowlIdMuted})}getAlarmInfoAsO(){return this.alarmsInfo.asObservable()}getSnackbarAppNotifications(){return this.snackbarAppNotifications.asObservable()}processNotificationDelta(e){this.notificationConfig.disableNotifications||(null===e.notification?this.deleteAlarm(e.path):e.path in this.alarms?(this.alarms[e.path].notification.state!==e.notification.state||this.alarms[e.path].notification.message!==e.notification.message||JSON.stringify(this.alarms[e.path].notification.method)!==JSON.stringify(e.notification.method))&&this.updateAlarm(e.path,e.notification):this.addAlarm(e.path,e.notification))}getPlayer(e){return this.activeAlarmSoundtrack=e,new FL.Howl({src:["assets/"+xue[e]+".mp3"],autoplay:!1,preload:!0,loop:!0,onend:function(){},onloaderror:function(){console.log("player onload error")},onplayerror:function(){console.log("player locked"),this.howlPlayer.once("unlock",function(){this.howlPlayer.play()})}})}mutePlayer(e){this.howlPlayer.mute(e,this.activeHowlId),this.isHowlIdMuted=e,this.checkAlarms()}playAlarm(e){if(this.activeAlarmSoundtrack!=e){if(1e3==e)return this.howlPlayer&&this.howlPlayer.stop(),void(this.activeAlarmSoundtrack=1e3);this.howlPlayer.stop(),this.howlPlayer=this.getPlayer(e),this.activeHowlId=this.howlPlayer.play()}}getNotificationServiceConfigAsO(){return this.notificationConfig$.asObservable()}}return t.\u0275fac=function(e){return new(e||t)(K(hr),K(Tc))},t.\u0275prov=Te({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),ra=(()=>{class t{constructor(e,i,r,o){this.appSettingsService=e,this.deltaService=i,this.notificationsService=r,this.unitService=o,this.degToRad=Hn().swiftConverter("deg","rad"),this.selfurn="self",this.paths=[],this.pathRegister=[],this.pathsObservale=new En([]),this.updateStatistics={currentSecond:0,secondsUpdates:[],minutesUpdates:[]},this.secondsUpdatesBehaviorSubject=new En([]),this.minutesUpdatesBehaviorSubject=new En([]),this.zones=[],setInterval(()=>{this.updateStatistics.secondsUpdates.length>=60&&this.updateStatistics.secondsUpdates.shift(),this.updateStatistics.secondsUpdates.push(this.updateStatistics.currentSecond),this.updateStatistics.currentSecond=0,this.secondsUpdatesBehaviorSubject.next(this.updateStatistics.secondsUpdates)},1e3),setInterval(()=>{this.updateStatistics.minutesUpdates.length>=60&&this.updateStatistics.minutesUpdates.shift(),this.updateStatistics.minutesUpdates.push(this.updateStatistics.secondsUpdates.reduce((s,a)=>s+a,0)),this.minutesUpdatesBehaviorSubject.next(this.updateStatistics.minutesUpdates)},6e4),this.defaultUnitsSub=this.appSettingsService.getDefaultUnitsAsO().subscribe(s=>{this.defaultUnits=s}),this.conversionList=this.unitService.getConversions(),this.zonesSub=this.appSettingsService.getZonesAsO().subscribe(s=>{this.zones=s}),this.deltaService.subscribeDataPathsUpdates().subscribe(s=>{this.updatePathData(s)}),this.deltaService.subscribeMetadataUpdates().subscribe(s=>{this.setMeta(s)}),this.deltaService.subscribeSelfUpdates().subscribe(s=>{this.setSelfUrn(s)})}getupdateStatsSecond(){return this.secondsUpdatesBehaviorSubject.asObservable()}getupdateStatMinute(){return this.minutesUpdatesBehaviorSubject.asObservable()}resetSignalKData(){this.paths=[],this.selfurn="self"}unsubscribePath(e,i){let r=this.pathRegister.findIndex(o=>o.path==i&&o.uuid==e);r>=0&&this.pathRegister.splice(r,1)}subscribePath(e,i,r){let o=this.pathRegister.findIndex(p=>p.path==i&&p.uuid==e);if(o>=0)return this.pathRegister[o].subject.asObservable();let s=null,a=gi.normal,l=this.paths.findIndex(p=>p.path==i);l>=0&&(null===r?s=this.paths[l]:"default"==r?s=this.paths[l].sources[this.paths[l].defaultSource].value:r in this.paths[l].sources&&(s=this.paths[l].sources[r].value),a=this.paths[l].state);let c={uuid:e,path:i,source:r,subject:new En({value:s,state:a})};return this.pathRegister.push(c),l=this.pathRegister.findIndex(p=>p.path==i&&p.uuid==e),this.pathRegister[l].subject.asObservable()}setSelfUrn(e){(""!=e||null!=e)&&e!=this.selfurn&&(console.debug("[SignalK Service] Setting self to: "+e),this.selfurn=e)}updatePathData(e){this.updateStatistics.currentSecond++;let i=e.path.replace(this.selfurn,"self");(i.includes("position.latitude")||i.includes("position.longitude"))&&(e.value=this.degToRad(e.value));let r=this.paths.findIndex(s=>s.path==i);r>=0?(null===this.paths[r].defaultSource&&(this.paths[r].defaultSource=e.source,this.paths[r].type=typeof e.value),this.paths[r].sources[e.source]={timestamp:e.timestamp,value:e.value}):(this.paths.push({path:i,defaultSource:e.source,sources:{[e.source]:{timestamp:e.timestamp,value:e.value}},type:typeof e.value,state:gi.normal}),r=this.paths.findIndex(s=>s.path==i));let o=gi.normal;if(this.zones.forEach(s=>{if(s.path!=i)return;let a=s.lower||-1/0,l=s.upper||1/0,c=this.unitService.convertUnit(s.unit,e.value);c>=a&&c<=l&&(o=Math.max(o,s.state))}),o!=gi.normal&&o!=this.paths[r].state){let s,a;switch(o){case gi.alarm:s="alarm",a=["visual","sound"];break;case gi.warning:s="warn",a=["visual","sound"]}this.notificationsService.addAlarm(i,{method:a,state:s,message:i+" value in "+s,timestamp:Date.now().toString()})}this.paths[r].state!=gi.normal&&o==gi.normal&&this.notificationsService.deleteAlarm(i),this.paths[r].state=o,this.pathRegister.filter(s=>s.path==i).forEach(s=>{let a=null;"default"==s.source?a=this.paths[r].defaultSource:s.source in this.paths[r].sources?a=s.source:console.warn(`Failed updating zone state. Source unknown or not defined for path: ${s.source}`),null!==a&&s.subject.next({value:this.paths[r].sources[a].value,state:this.paths[r].state})}),this.pathsObservale.next(this.paths)}setDefaultSource(e){let i=e.path.replace(this.selfurn,"self"),r=this.paths.findIndex(o=>o.path==i);r>=0&&(this.paths[r].defaultSource=e.source)}setMeta(e){let i=e.path.replace(this.selfurn,"self"),r=this.paths.findIndex(o=>o.path==i);r>=0?this.paths[r].meta=e.meta:this.paths.push({path:i,defaultSource:null,sources:{},meta:e.meta,type:null,state:gi.normal})}getPathsByType(e,i){let r=[];for(let o=0;oo.path==e);return i<0?null:JSON.parse(JSON.stringify(this.paths[i]))}getPathUnitType(e){let i=this.paths.findIndex(r=>r.path==e);return i<0?null:"meta"in this.paths[i]&&"units"in this.paths[i].meta?this.paths[i].meta.units:null}getConversionsForPath(e){let i=this.getPathUnitType(e),r=[],o=!1,s="unitless";if(null===i)return{default:"unitless",conversions:this.conversionList};for(let a=0;a{c.measure==i&&(o=!0,s=this.defaultUnits[l.group],r.push(l))})}return o?{default:s,conversions:r}:(console.log("Unit type: "+i+", found for path: "+e+"\nbut Kip does not support it."),{default:"unitless",conversions:this.conversionList})}}return t.\u0275fac=function(e){return new(e||t)(K(hr),K(Tc),K(As),K(km))},t.\u0275prov=Te({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function uk(t=0,n=mh){return t<0&&(t=0),em(t,t,n)}let Dm=(()=>{class t{constructor(e,i,r){this.AppSettingsService=e,this.SignalKService=i,this.zones=r,this.dataSets=[],this.dataSetSub=[],this.dataSetRegister=[],this.dataSets=e.getDataSets()}startAllDataSets(){console.log("[DataSet Service] Starting "+this.dataSets.length.toString()+" DataSets");for(let e=0;ea.uuid==e&&a.dataSetUuid==i);if(r>=0)return this.dataSetRegister[r].observable.asObservable();let o,s=this.dataSetSub.findIndex(a=>a.uuid==i);return o=s>=0?this.dataSetSub[s].data:null,this.dataSetRegister.push({uuid:e,dataSetUuid:i,observable:new En(o)}),r=this.dataSetRegister.findIndex(a=>a.uuid==e&&a.dataSetUuid==i),this.dataSetRegister[r].observable.asObservable()}stopDataSet(e){for(let r=this.dataSetRegister.length-1;r>=0;r--)this.dataSetRegister[r].uuid==e&&this.dataSetRegister.splice(r,1);let i=this.dataSetSub.findIndex(r=>r.uuid==e);i>=0&&(this.dataSetSub[i].pathSub.unsubscribe(),this.dataSetSub[i].updateTimerSub.unsubscribe(),this.dataSetSub.splice(i,1))}startDataSet(e){let i=this.dataSets.findIndex(o=>o.uuid==e);if(i<0)return;let r=this.dataSetSub.findIndex(o=>o.uuid==e);r>=0&&this.dataSetSub.splice(r,1),this.dataSetSub.push({uuid:e,pathSub:null,updateTimerSub:null,data:null,dataCache:null}),r=this.dataSetSub.findIndex(o=>o.uuid==e),this.dataSetSub[r].data=[],this.dataSetSub[r].dataCache={runningTotal:0,numberOfPoints:0,minValue:null,maxValue:null},this.dataSetSub[r].pathSub=this.SignalKService.subscribePath(this.dataSets[i].uuid,this.dataSets[i].path,this.dataSets[i].signalKSource).subscribe(o=>{this.updateDataCache(e,o.value)}),this.zones.runOutsideAngular(()=>{this.dataSetSub[r].updateTimerSub=uk(1e3*this.dataSets[i].updateTimer).subscribe(o=>{this.aggregateDataCache(e)})})}addDataSet(e,i,r,o){let s=this.newUuid();this.dataSets.push({uuid:s,path:e,signalKSource:i,updateTimer:r,dataPoints:o}),this.startDataSet(s),this.AppSettingsService.saveDataSets(this.dataSets)}updateDataset(e){this.dataSetSub.findIndex(o=>o.uuid===e.uuid)>=0&&this.stopDataSet(e.uuid);let r=this.dataSets.findIndex(o=>o.uuid===e.uuid);r>=0&&(this.dataSets.splice(r,1,e),this.startDataSet(e.uuid)),this.AppSettingsService.saveDataSets(this.dataSets)}deleteDataSet(e){this.dataSetSub.findIndex(o=>o.uuid===e)>=0&&this.stopDataSet(e);let r=this.dataSets.findIndex(o=>o.uuid===e);r>=0&&this.dataSets.splice(r,1),this.AppSettingsService.saveDataSets(this.dataSets)}getDataSets(){let e=[];for(let i=0;ia.uuid==e),o=this.dataSetSub.findIndex(a=>a.uuid==e);this.dataSetSub[o].dataCache.numberOfPoints>0&&(i=this.dataSetSub[o].dataCache.runningTotal/this.dataSetSub[o].dataCache.numberOfPoints),this.dataSetSub[o].data.length>=this.dataSets[r].dataPoints&&this.dataSetSub[o].data.shift();let s={timestamp:Date.now(),average:i,minValue:this.dataSetSub[o].dataCache.minValue,maxValue:this.dataSetSub[o].dataCache.maxValue};this.dataSetSub[o].data.push(s),this.dataSetSub[o].dataCache={runningTotal:0,numberOfPoints:0,minValue:null,maxValue:null};for(let a=0;ao.uuid==e);this.dataSetSub[r].dataCache.runningTotal=this.dataSetSub[r].dataCache.runningTotal+i,this.dataSetSub[r].dataCache.numberOfPoints=this.dataSetSub[r].dataCache.numberOfPoints+1,(null===this.dataSetSub[r].dataCache.minValue||this.dataSetSub[r].dataCache.minValue>i)&&(this.dataSetSub[r].dataCache.minValue=i),(null===this.dataSetSub[r].dataCache.maxValue||this.dataSetSub[r].dataCache.maxValue{class t{constructor(e){this.AppSettingsService=e,this.widgets=this.AppSettingsService.getWidgets()}newUuid(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){const i=16*Math.random()|0;return("x"==e?i:3&i|8).toString(16)})}getWidget(e){return this.widgets.find(i=>i.uuid==e)}newWidget(){const e=this.newUuid();return this.widgets.push({uuid:e,type:"WidgetBlank",config:null}),this.saveWidgets(),e}deleteWidget(e){const i=this.widgets.findIndex(r=>r.uuid==e);i<0||this.widgets.splice(i,1)}updateWidgetType(e,i){const r=this.widgets.findIndex(o=>o.uuid==e);r<0||(this.widgets[r].config=null,this.widgets[r].type=i,this.saveWidgets())}updateWidgetConfig(e,i){const r=this.widgets.findIndex(o=>o.uuid==e);r<0||(this.widgets[r].config=i,this.saveWidgets())}saveWidgets(){this.AppSettingsService.saveWidgets(this.widgets)}}return t.\u0275fac=function(e){return new(e||t)(K(hr))},t.\u0275prov=Te({token:t,factory:t.\u0275fac}),t})(),ey=(()=>{class t{constructor(e,i,r){this.AppSettingsService=e,this.WidgetManagerService=i,this.router=r,this.splitSets=[],this.splitSetObs=[],this.rootUUIDs=[],this.activeRoot=new En(null),this.splitSets=this.AppSettingsService.getSplitSets();for(let o=0;or.uuid==e);return i<0?null:this.splitSetObs[i].observable.asObservable()}getSplit(e){let i=this.splitSets.findIndex(r=>r.uuid==e);return i<0?null:this.splitSets[i]}newSplit(e,i,r,o){let s=this.newUuid(),a={uuid:s,parentUUID:e,direction:i,splitAreas:[{uuid:r,type:"widget",size:50},{uuid:o,type:"widget",size:50}]};return this.splitSets.push(a),this.splitSetObs.push({uuid:s,observable:new En(a)}),s}newRootSplit(){let e=this.newUuid(),r={uuid:e,direction:"horizontal",splitAreas:[{uuid:this.WidgetManagerService.newWidget(),type:"widget",size:100}]};this.splitSets.push(r),this.splitSetObs.push({uuid:e,observable:new En(r)}),this.rootUUIDs.push(e),this.saveRootUUIDs(),this.router.navigate(["/page",this.rootUUIDs.indexOf(e)])}splitArea(e,i,r){let o=this.splitSets.findIndex(_=>_.uuid==e);if(o<0)return null;let s=this.splitSets[o].splitAreas.findIndex(_=>_.uuid==i);if(s<0)return;let a=this.splitSets[o].splitAreas[s].size,l=a/2,c=a-l,p=this.WidgetManagerService.newWidget(),m={uuid:p,type:"widget",size:c};if(this.splitSets[o].direction==r)this.splitSets[o].splitAreas[s].size=l,this.splitSets[o].splitAreas.splice(s+1,0,m);else{let _=this.newSplit(e,r,i,p);this.splitSets[o].splitAreas[s].uuid=_,this.splitSets[o].splitAreas[s].type="splitSet"}this.updateSplit(e)}updateSplitSizes(e,i){let r=this.splitSets.findIndex(o=>o.uuid==e);if(r<0)return null;for(let o=0;oo.uuid==e);if(r<0)return null;if(this.splitSets[r].splitAreas.length>1){this.WidgetManagerService.deleteWidget(i);let o=this.splitSets[r].splitAreas.findIndex(s=>s.uuid==i);if(o<0)return null;this.splitSets[r].splitAreas.splice(o,1),this.updateSplit(e)}else if(this.WidgetManagerService.deleteWidget(i),this.isRootSplit(e)){console.log("[LayoutSplit Service] Deleting last split in root"),this.splitSets.splice(r,1);let o=this.rootUUIDs.findIndex(s=>s==e);this.rootUUIDs.splice(o,1),this.saveRootUUIDs(),this.rootUUIDs.length<=0&&(console.log("[LayoutSplit Service] Deleted last page"),this.newRootSplit(),this.setActiveRootIndex(0)),this.nextRoot()}else{let o=this.splitSets.findIndex(a=>a.uuid==this.splitSets[r].parentUUID),s=this.splitSets[o].uuid;this.splitSets.splice(r,1),this.deleteArea(s,e)}}updateSplit(e){let i=this.splitSets.findIndex(o=>o.uuid==e);if(i<0)return null;let r=this.splitSetObs.findIndex(o=>o.uuid==e);if(r<0)return null;this.splitSetObs[r].observable.next(this.splitSets[i]),this.saveSplits()}isRootSplit(e){return this.rootUUIDs.includes(e)}saveRootUUIDs(){this.AppSettingsService.saveRootUUIDs(this.rootUUIDs)}saveSplits(){this.AppSettingsService.saveSplitSets(this.splitSets)}}return t.\u0275fac=function(e){return new(e||t)(K(hr),K(Jb),K(Or))},t.\u0275prov=Te({token:t,factory:t.\u0275fac}),t})();function BL(t,n=mh){return function kue(t){return Ye((n,e)=>{let i=!1,r=null;n.subscribe(Ot(e,o=>{i=!0,r=o})),z(t).subscribe(Ot(e,()=>{if(i){i=!1;const o=r;r=null,e.next(o)}},x))})}(uk(t,n))}let _o=(()=>{class t{constructor(){this.defaultConfig=void 0,this.dataStream=void 0,this.dataSubscription=void 0,this.signalKService=ki(ra),this.unitsService=ki(km)}createDataOservable(){if(void 0!==this.widgetProperties){if(0==Object.keys(this.widgetProperties.config?.paths).length)return void(this.dataStream=void 0);this.dataStream=[],Object.keys(this.widgetProperties.config.paths).forEach(e=>{"string"!=typeof this.widgetProperties.config.paths[e].path||""==this.widgetProperties.config.paths[e].path||null==this.widgetProperties.config.paths[e].path||this.dataStream.push({pathName:e,observable:this.signalKService.subscribePath(this.widgetProperties.uuid,this.widgetProperties.config.paths[e].path,this.widgetProperties.config.paths[e].source)})})}}observeDataStream(e,i){void 0===this.dataStream&&this.createDataOservable();const r=this.buildObserver(e,i);let o=this.dataStream.find(s=>s.pathName===e);void 0!==o&&(void 0===this.dataSubscription?this.dataSubscription=o.observable.pipe(BL(this.widgetProperties.config.paths[e].sampleTime)).subscribe(r):this.dataSubscription.add(o.observable.pipe(BL(this.widgetProperties.config.paths[e].sampleTime)).subscribe(r)))}buildObserver(e,i){const r={next:o=>i(o),error:o=>console.error("Observer got an error: "+o),complete:()=>console.log("Observer got a complete notification: "+e)};return"number"===this.widgetProperties.config.paths[e].pathType&&(r.next=o=>{o.value=this.unitsService.convertUnit(this.widgetProperties.config.paths[e].convertUnitTo,o.value),i(o)}),r}formatWidgetNumberValue(e){return null==e?void 0:(e>=this.widgetProperties.config.maxValue?e=this.widgetProperties.config.maxValue:e<=this.widgetProperties.config.minValue&&(e=this.widgetProperties.config.minValue),e.toFixed(this.widgetProperties.config.numDecimal))}unsubscribeDataStream(){void 0!==this.dataSubscription&&(this.dataSubscription.unsubscribe(),Object.keys(this.widgetProperties.config.paths).forEach(e=>{this.signalKService.unsubscribePath(this.widgetProperties.uuid,this.widgetProperties.config.paths[e].path)}),this.dataSubscription=void 0,this.dataStream=void 0)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Pe({type:t,selectors:[["ng-component"]],inputs:{theme:"theme",widgetProperties:"widgetProperties"},decls:0,vars:0,template:function(e,i){},encapsulation:2}),t})(),Due=(()=>{class t extends _o{constructor(){super(),this.defaultConfig={displayName:""}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Pe({type:t,selectors:[["app-widget-blank"]],features:[we],decls:3,vars:1,consts:[[1,"blankGenericWrapper"],[1,"text"]],template:function(e,i){1&e&&(v(0,"div",0)(1,"div",1),M(2),b()()),2&e&&(I(2),Qn(i.widgetProperties.config.displayName))},styles:[".blankGenericWrapper[_ngcontent-%COMP%]{position:relative;width:100%;height:100%;display:flex;align-items:center;justify-content:center}"]}),t})(),Mue=(()=>{class t extends _o{constructor(){super()}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Pe({type:t,selectors:[["app-widget-unknown"]],features:[we],decls:2,vars:0,template:function(e,i){1&e&&(v(0,"p"),M(1," widget-unknown!\n"),b())}}),t})();const Tue=["canvasEl"],Eue=["canvasBG"],Aue=["NumWrapperDiv"],Oue=["warn"],Iue=["warncontrast"];let Pue=(()=>{class t extends _o{constructor(){super(),this.dataValue=null,this.IZoneState=null,this.maxValue=null,this.minValue=null,this.dataTimestamp=Date.now(),this.currentValueLength=0,this.currentMinMaxLength=0,this.valueFontSize=1,this.minMaxFontSize=1,this.flashOn=!1,this.defaultConfig={displayName:"Gauge Label",filterSelfPaths:!0,paths:{numericPath:{description:"Numeric Data",path:null,source:null,pathType:"number",isPathConfigurable:!0,convertUnitTo:"unitless",sampleTime:500}},showMax:!1,showMin:!1,numDecimal:1,numInt:1}}ngOnInit(){this.observeDataStream("numericPath",e=>{this.dataValue=e.value,null===this.minValue&&(this.minValue=this.dataValue),null===this.maxValue&&(this.maxValue=this.dataValue),this.dataValue>this.maxValue&&(this.maxValue=this.dataValue),this.dataValue{this.flashOn=!this.flashOn,this.updateCanvas()},350),this.updateCanvas()}),this.canvasCtx=this.canvasEl.nativeElement.getContext("2d"),this.canvasBGCtx=this.canvasBG.nativeElement.getContext("2d"),this.resizeWidget()}ngOnDestroy(){this.unsubscribeDataStream(),this.flashInterval&&(clearInterval(this.flashInterval),this.flashInterval=null)}ngAfterViewChecked(){this.resizeWidget()}resizeWidget(){let e=this.wrapperDiv.nativeElement.getBoundingClientRect();e.height<50||e.width<50||(this.canvasEl.nativeElement.width!=Math.floor(e.width)||this.canvasEl.nativeElement.height!=Math.floor(e.height))&&(this.canvasEl.nativeElement.width=Math.floor(e.width),this.canvasEl.nativeElement.height=Math.floor(e.height),this.canvasBG.nativeElement.width=Math.floor(e.width),this.canvasBG.nativeElement.height=Math.floor(e.height),this.currentValueLength=0,this.currentMinMaxLength=0,this.updateCanvas(),this.updateCanvasBG())}updateCanvas(){this.canvasCtx&&(this.canvasCtx.clearRect(0,0,this.canvasEl.nativeElement.width,this.canvasEl.nativeElement.height),this.drawValue(),(this.widgetProperties.config.showMax||this.widgetProperties.config.showMin)&&this.drawMinMax())}updateCanvasBG(){this.canvasBGCtx&&(this.canvasBGCtx.clearRect(0,0,this.canvasEl.nativeElement.width,this.canvasEl.nativeElement.height),this.drawTitle(),this.drawUnit())}drawValue(){let r,e=Math.floor(this.canvasEl.nativeElement.width-.15*this.canvasEl.nativeElement.width),i=Math.floor(this.canvasEl.nativeElement.height-.2*this.canvasEl.nativeElement.height);if(null!==this.dataValue){let o=this.widgetProperties.config.paths.numericPath.convertUnitTo;r="latitudeSec"==o||"latitudeMin"==o||"longitudeSec"==o||"longitudeMin"==o?this.dataValue.toString():this.applyDecorations(this.formatWidgetNumberValue(this.dataValue))}else r="--";if(this.currentValueLength!=r.length){this.currentValueLength=r.length,this.valueFontSize=i,this.canvasCtx.font="bold "+this.valueFontSize.toString()+"px Arial";let o=this.canvasCtx.measureText(r).width;for(o>e&&(this.valueFontSize=Math.floor(this.valueFontSize*(e/o)),this.canvasCtx.font="bold "+this.valueFontSize.toString()+"px Arial");this.canvasCtx.measureText(r).width>e&&this.valueFontSize>0;)this.valueFontSize--,this.canvasCtx.font="bold "+this.valueFontSize.toString()+"px Arial"}switch(this.IZoneState){case gi.alarm:this.flashOn?this.canvasCtx.fillStyle=window.getComputedStyle(this.warnElement.nativeElement).color:(this.canvasCtx.fillStyle=window.getComputedStyle(this.warnElement.nativeElement).color,this.canvasCtx.fillRect(0,0,this.canvasEl.nativeElement.width,this.canvasEl.nativeElement.height),this.canvasCtx.fillStyle=window.getComputedStyle(this.warnContrastElement.nativeElement).color);break;case gi.warning:this.canvasCtx.fillStyle=window.getComputedStyle(this.warnElement.nativeElement).color;break;default:this.canvasCtx.fillStyle=window.getComputedStyle(this.wrapperDiv.nativeElement).color}this.canvasCtx.font="bold "+this.valueFontSize.toString()+"px Arial",this.canvasCtx.textAlign="center",this.canvasCtx.textBaseline="middle",this.canvasCtx.fillText(r,this.canvasEl.nativeElement.width/2,this.canvasEl.nativeElement.height/2+this.valueFontSize/15,e)}drawTitle(){var e=Math.floor(this.canvasEl.nativeElement.width-.2*this.canvasEl.nativeElement.width),i=Math.floor(this.canvasEl.nativeElement.height-.8*this.canvasEl.nativeElement.height);if(null===this.widgetProperties.config.displayName)return;var r=i;this.canvasBGCtx.font="bold "+r.toString()+"px Arial";let o=this.canvasBGCtx.measureText(this.widgetProperties.config.displayName).width;for(o>e&&(r=Math.floor(r*(e/o)),this.canvasBGCtx.font="bold "+r.toString()+"px Arial");this.canvasBGCtx.measureText(this.widgetProperties.config.displayName).width>e&&r>0;)r--,this.canvasBGCtx.font="bold "+r.toString()+"px Arial";this.canvasBGCtx.textAlign="left",this.canvasBGCtx.textBaseline="top",this.canvasBGCtx.fillStyle=window.getComputedStyle(this.wrapperDiv.nativeElement).color,this.canvasBGCtx.fillText(this.widgetProperties.config.displayName,.03*this.canvasEl.nativeElement.width,.03*this.canvasEl.nativeElement.height,e)}drawUnit(){if("unitless"==this.widgetProperties.config.paths.numericPath.convertUnitTo||this.widgetProperties.config.paths.numericPath.convertUnitTo.startsWith("percent")||"ratio"==this.widgetProperties.config.paths.numericPath.convertUnitTo||this.widgetProperties.config.paths.numericPath.convertUnitTo.startsWith("lat")||this.widgetProperties.config.paths.numericPath.convertUnitTo.startsWith("lon"))return;var e=Math.floor(this.canvasEl.nativeElement.width-.8*this.canvasEl.nativeElement.width),r=Math.floor(this.canvasEl.nativeElement.height-.8*this.canvasEl.nativeElement.height);this.canvasBGCtx.font="bold "+r.toString()+"px Arial";let o=this.canvasBGCtx.measureText(this.widgetProperties.config.paths.numericPath.convertUnitTo).width;for(o>e&&(r=Math.floor(r*(e/o)),this.canvasBGCtx.font="bold "+r.toString()+"px Arial");this.canvasBGCtx.measureText(this.widgetProperties.config.paths.numericPath.convertUnitTo).width>e&&r>0;)r--,this.canvasBGCtx.font="bold "+r.toString()+"px Arial";this.canvasBGCtx.textAlign="right",this.canvasBGCtx.textBaseline="bottom",this.canvasBGCtx.fillStyle=window.getComputedStyle(this.wrapperDiv.nativeElement).color,this.canvasBGCtx.fillText(this.widgetProperties.config.paths.numericPath.convertUnitTo,.97*this.canvasEl.nativeElement.width,.97*this.canvasEl.nativeElement.height,e)}drawMinMax(){if(!this.widgetProperties.config.showMin&&!this.widgetProperties.config.showMax)return;let e="";if(this.widgetProperties.config.showMin&&(e=null!=this.minValue?" Min: "+this.applyDecorations(this.formatWidgetNumberValue(this.minValue)):" Min: --"),this.widgetProperties.config.showMax&&(e+=null!=this.maxValue?" Max: "+this.applyDecorations(this.formatWidgetNumberValue(this.maxValue)):e+" Max: --"),e=e.trim(),this.currentMinMaxLength!=e.length){this.currentMinMaxLength=e.length;var i=Math.floor(this.canvasEl.nativeElement.width-.6*this.canvasEl.nativeElement.width),r=Math.floor(this.canvasEl.nativeElement.height-.85*this.canvasEl.nativeElement.height);this.minMaxFontSize=r,this.canvasBGCtx.font="bold "+this.minMaxFontSize.toString()+"px Arial";let o=this.canvasBGCtx.measureText(e).width;for(o>i&&(this.minMaxFontSize=Math.floor(this.minMaxFontSize*(i/o)),this.canvasBGCtx.font="bold "+this.minMaxFontSize.toString()+"px Arial");this.canvasBGCtx.measureText(e).width>i&&this.minMaxFontSize>0;)this.minMaxFontSize--,this.canvasBGCtx.font="bold "+this.minMaxFontSize.toString()+"px Arial"}this.canvasCtx.font="bold "+this.minMaxFontSize.toString()+"px Arial",this.canvasCtx.textAlign="left",this.canvasCtx.textBaseline="bottom",this.canvasCtx.fillStyle=window.getComputedStyle(this.wrapperDiv.nativeElement).color,this.canvasCtx.fillText(e,.03*this.canvasEl.nativeElement.width,.97*this.canvasEl.nativeElement.height,i)}applyDecorations(e){switch(this.widgetProperties.config.paths.numericPath.convertUnitTo){case"percent":case"percentraw":e+="%"}return e}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Pe({type:t,selectors:[["app-widget-numeric"]],viewQuery:function(e,i){if(1&e&&(Oe(Tue,7,xe),Oe(Eue,7,xe),Oe(Aue,7,xe),Oe(Oue,7,xe),Oe(Iue,7,xe)),2&e){let r;ue(r=de())&&(i.canvasEl=r.first),ue(r=de())&&(i.canvasBG=r.first),ue(r=de())&&(i.wrapperDiv=r.first),ue(r=de())&&(i.warnElement=r.first),ue(r=de())&&(i.warnContrastElement=r.first)}},features:[we],decls:10,vars:0,consts:[[1,"textGenericWrapper"],["NumWrapperDiv",""],["id","canvasValue",1,"canvas-size"],["canvasEl",""],["id","canvasBG",1,"canvas-size"],["canvasBG",""],[1,"warn",2,"display","none"],["warn",""],[1,"warn-contrast",2,"display","none"],["warncontrast",""]],template:function(e,i){1&e&&(v(0,"div",0,1),q(2,"canvas",2,3)(4,"canvas",4,5)(6,"div",6,7)(8,"div",8,9),b())}}),t})();const Rue=["canvasEl"],Fue=["canvasBG"],Nue=["textGenericWrapperDiv"];let Lue=(()=>{class t extends _o{constructor(){super(),this.dataValue=null,this.dataTimestamp=Date.now(),this.valueFontSize=1,this.currentValueLength=0,this.defaultConfig={displayName:"Gauge Label",filterSelfPaths:!0,paths:{stringPath:{description:"String Data",path:null,source:null,pathType:"string",isPathConfigurable:!0,sampleTime:500}}}}ngOnInit(){this.canvasCtx=this.canvasEl.nativeElement.getContext("2d"),this.canvasBGCtx=this.canvasBG.nativeElement.getContext("2d"),this.resizeWidget(),this.observeDataStream("stringPath",e=>{this.dataValue=e.value,this.updateCanvas()})}ngOnDestroy(){this.unsubscribeDataStream()}ngAfterViewChecked(){this.resizeWidget()}resizeWidget(){let e=this.wrapperDiv.nativeElement.getBoundingClientRect();e.height<50||e.width<50||(this.canvasEl.nativeElement.width!=Math.floor(e.width)||this.canvasEl.nativeElement.height!=Math.floor(e.height)?(this.canvasEl.nativeElement.width=Math.floor(e.width),this.canvasEl.nativeElement.height=Math.floor(e.height),this.canvasBG.nativeElement.width=Math.floor(e.width),this.canvasBG.nativeElement.height=Math.floor(e.height),this.currentValueLength=0,this.updateCanvas(),this.updateCanvasBG()):this.updateCanvasBG())}updateCanvas(){this.canvasCtx&&(this.canvasCtx.clearRect(0,0,this.canvasEl.nativeElement.width,this.canvasEl.nativeElement.height),this.drawValue())}updateCanvasBG(){this.canvasBGCtx&&(this.canvasBGCtx.clearRect(0,0,this.canvasEl.nativeElement.width,this.canvasEl.nativeElement.height),this.drawTitle())}drawValue(){let r,e=Math.floor(this.canvasEl.nativeElement.width-.15*this.canvasEl.nativeElement.width),i=Math.floor(this.canvasEl.nativeElement.height-.2*this.canvasEl.nativeElement.height);if(r=null===this.dataValue?"--":this.dataValue,this.currentValueLength!=r.length){this.currentValueLength=r.length,this.valueFontSize=i,this.canvasCtx.font="bold "+this.valueFontSize.toString()+"px Arial";let o=this.canvasCtx.measureText(r).width;for(o>e&&(this.valueFontSize=Math.floor(this.valueFontSize*(e/o)),this.canvasCtx.font="bold "+this.valueFontSize.toString()+"px Arial");this.canvasCtx.measureText(r).width>e&&this.valueFontSize>0;)this.valueFontSize--,this.canvasCtx.font="bold "+this.valueFontSize.toString()+"px Arial"}this.canvasCtx.font="bold "+this.valueFontSize.toString()+"px Arial",this.canvasCtx.textAlign="center",this.canvasCtx.textBaseline="middle",this.canvasCtx.fillStyle=window.getComputedStyle(this.wrapperDiv.nativeElement).color,this.canvasCtx.fillText(r,this.canvasEl.nativeElement.width/2,this.canvasEl.nativeElement.height/2+this.valueFontSize/15,e)}drawTitle(){var e=Math.floor(this.canvasEl.nativeElement.width-.2*this.canvasEl.nativeElement.width),i=Math.floor(this.canvasEl.nativeElement.height-.8*this.canvasEl.nativeElement.height);if(null!==this.widgetProperties.config.displayName){var r=1;for(this.canvasBGCtx.font="bold "+r.toString()+"px Arial";this.canvasBGCtx.measureText(this.widgetProperties.config.displayName).width{class t extends _o{constructor(){super(),this.dataValue=null,this.dataTimestamp=Date.now(),this.valueFontSize=1,this.currentValueLength=0,this.defaultConfig={displayName:"Time Label",filterSelfPaths:!0,paths:{gaugePath:{description:"String Data",path:null,source:null,pathType:"string",isPathConfigurable:!0,sampleTime:500}},dateFormat:"dd/MM/yyyy HH:mm:ss",dateTimezone:Intl.DateTimeFormat().resolvedOptions().timeZone}}ngOnInit(){this.observeDataStream("gaugePath",e=>{this.dataValue=e.value,this.updateCanvas()}),this.canvasCtx=this.canvasEl.nativeElement.getContext("2d"),this.canvasBGCtx=this.canvasBG.nativeElement.getContext("2d"),this.resizeWidget()}ngOnDestroy(){this.unsubscribeDataStream()}ngAfterViewChecked(){this.resizeWidget()}resizeWidget(){const e=this.wrapperDiv.nativeElement.getBoundingClientRect();e.height<50||e.width<50||(this.canvasEl.nativeElement.width!=Math.floor(e.width)||this.canvasEl.nativeElement.height!=Math.floor(e.height)?(this.canvasEl.nativeElement.width=Math.floor(e.width),this.canvasEl.nativeElement.height=Math.floor(e.height),this.canvasBG.nativeElement.width=Math.floor(e.width),this.canvasBG.nativeElement.height=Math.floor(e.height),this.currentValueLength=0,this.updateCanvas(),this.updateCanvasBG()):this.updateCanvasBG())}updateCanvas(){this.canvasCtx&&(this.canvasCtx.clearRect(0,0,this.canvasEl.nativeElement.width,this.canvasEl.nativeElement.height),this.drawValue())}updateCanvasBG(){this.canvasBGCtx&&(this.canvasBGCtx.clearRect(0,0,this.canvasEl.nativeElement.width,this.canvasEl.nativeElement.height),this.drawTitle())}drawValue(){const e=Math.floor(this.canvasEl.nativeElement.width-.15*this.canvasEl.nativeElement.width),i=Math.floor(this.canvasEl.nativeElement.height-.2*this.canvasEl.nativeElement.height);let r;if(null===this.dataValue)r="Source Path not configured";else{r=this.dataValue;try{r=G2(r,this.widgetProperties.config.dateFormat,"en-US",this.widgetProperties.config.dateTimezone)}catch(o){r=o,console.log("[Date Value Widget]: "+o)}}if(this.currentValueLength!=r.length){this.currentValueLength=r.length,this.valueFontSize=i,this.canvasCtx.font="bold "+this.valueFontSize.toString()+"px Arial";const o=this.canvasCtx.measureText(r).width;for(o>e&&(this.valueFontSize=Math.floor(this.valueFontSize*(e/o)),this.canvasCtx.font="bold "+this.valueFontSize.toString()+"px Arial");this.canvasCtx.measureText(r).width>e&&this.valueFontSize>0;)this.valueFontSize--,this.canvasCtx.font="bold "+this.valueFontSize.toString()+"px Arial"}this.canvasCtx.font="bold "+this.valueFontSize.toString()+"px Arial",this.canvasCtx.textAlign="center",this.canvasCtx.textBaseline="middle",this.canvasCtx.fillStyle=window.getComputedStyle(this.wrapperDiv.nativeElement).color,this.canvasCtx.fillText(r,this.canvasEl.nativeElement.width/2,this.canvasEl.nativeElement.height/2+this.valueFontSize/15,e)}drawTitle(){const e=Math.floor(this.canvasEl.nativeElement.width-.2*this.canvasEl.nativeElement.width),i=Math.floor(this.canvasEl.nativeElement.height-.8*this.canvasEl.nativeElement.height);if(null===this.widgetProperties.config.displayName)return;let r=1;for(this.canvasBGCtx.font="bold "+r.toString()+"px Arial";this.canvasBGCtx.measureText(this.widgetProperties.config.displayName).width"u"}function Ri(t){if(Array.isArray&&Array.isArray(t))return!0;const n=Object.prototype.toString.call(t);return"[object"===n.slice(0,7)&&"Array]"===n.slice(-6)}function zn(t){return null!==t&&"[object Object]"===Object.prototype.toString.call(t)}const Cr=t=>("number"==typeof t||t instanceof Number)&&isFinite(+t);function Os(t,n){return Cr(t)?t:n}function Dn(t,n){return typeof t>"u"?n:t}const VL=(t,n)=>"string"==typeof t&&t.endsWith("%")?parseFloat(t)/100*n:+t;function Fi(t,n,e){if(t&&"function"==typeof t.call)return t.apply(e,n)}function Ci(t,n,e,i){let r,o,s;if(Ri(t))if(o=t.length,i)for(r=o-1;r>=0;r--)n.call(e,t[r],r);else for(r=0;rt,x:t=>t.x,y:t=>t.y};function Ec(t,n){return(zL[n]||(zL[n]=function $ue(t){const n=function que(t){const n=t.split("."),e=[];let i="";for(const r of n)i+=r,i.endsWith("\\")?i=i.slice(0,-1)+".":(e.push(i),i="");return e}(t);return e=>{for(const i of n){if(""===i)break;e=e&&e[i]}return e}}(n)))(t)}function dk(t){return t.charAt(0).toUpperCase()+t.slice(1)}const Is=t=>typeof t<"u",Ac=t=>"function"==typeof t,WL=(t,n)=>{if(t.size!==n.size)return!1;for(const e of t)if(!n.has(e))return!1;return!0},er=Math.PI,Mi=2*er,Kue=Mi+er,iy=Number.POSITIVE_INFINITY,Zue=er/180,fr=er/2,Em=er/4,jL=2*er/3,Ps=Math.log10,Ba=Math.sign;function UL(t){const n=Math.round(t);t=Am(t,n,t/1e3)?n:t;const e=Math.pow(10,Math.floor(Ps(t))),i=t/e;return(i<=1?1:i<=2?2:i<=5?5:10)*e}function Gh(t){return!isNaN(parseFloat(t))&&isFinite(t)}function Am(t,n,e){return Math.abs(t-n)l&&c=Math.min(n,e)-i&&t<=Math.max(n,e)+i}function pk(t,n,e){e=e||(s=>t[s]1;)o=r+i>>1,e(o)?r=o:i=o;return{lo:r,hi:i}}const Ll=(t,n,e,i)=>pk(t,e,i?r=>t[r][n]<=e:r=>t[r][n]pk(t,e,i=>t[i][n]>=e),YL=["push","pop","shift","splice","unshift"];function KL(t,n){const e=t._chartjs;if(!e)return;const i=e.listeners,r=i.indexOf(n);-1!==r&&i.splice(r,1),!(i.length>0)&&(YL.forEach(o=>{delete t[o]}),delete t._chartjs)}function ZL(t){const n=new Set;let e,i;for(e=0,i=t.length;e"u"?function(t){return t()}:window.requestAnimationFrame;function XL(t,n,e){const i=e||(s=>Array.prototype.slice.call(s));let r=!1,o=[];return function(...s){o=i(s),r||(r=!0,QL.call(window,()=>{r=!1,t.apply(n,o)}))}}const mk=t=>"start"===t?"left":"end"===t?"right":"center",vo=(t,n,e)=>"start"===t?n:"end"===t?e:(n+e)/2;function JL(t,n,e){const i=n.length;let r=0,o=i;if(t._sorted){const{iScale:s,_parsed:a}=t,l=s.axis,{min:c,max:p,minDefined:m,maxDefined:_}=s.getUserBounds();m&&(r=Yr(Math.min(Ll(a,s.axis,c).lo,e?i:Ll(n,l,s.getPixelForValue(c)).lo),0,i-1)),o=_?Yr(Math.max(Ll(a,s.axis,p,!0).hi+1,e?0:Ll(n,l,s.getPixelForValue(p),!0).hi+1),r,i)-r:i-r}return{start:r,count:o}}function e4(t){const{xScale:n,yScale:e,_scaleRanges:i}=t,r={xmin:n.min,xmax:n.max,ymin:e.min,ymax:e.max};if(!i)return t._scaleRanges=r,!0;const o=i.xmin!==n.min||i.xmax!==n.max||i.ymin!==e.min||i.ymax!==e.max;return Object.assign(i,r),o}const ry=t=>0===t||1===t,t4=(t,n,e)=>-Math.pow(2,10*(t-=1))*Math.sin((t-n)*Mi/e),n4=(t,n,e)=>Math.pow(2,-10*t)*Math.sin((t-n)*Mi/e)+1,Im={linear:t=>t,easeInQuad:t=>t*t,easeOutQuad:t=>-t*(t-2),easeInOutQuad:t=>(t/=.5)<1?.5*t*t:-.5*(--t*(t-2)-1),easeInCubic:t=>t*t*t,easeOutCubic:t=>(t-=1)*t*t+1,easeInOutCubic:t=>(t/=.5)<1?.5*t*t*t:.5*((t-=2)*t*t+2),easeInQuart:t=>t*t*t*t,easeOutQuart:t=>-((t-=1)*t*t*t-1),easeInOutQuart:t=>(t/=.5)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2),easeInQuint:t=>t*t*t*t*t,easeOutQuint:t=>(t-=1)*t*t*t*t+1,easeInOutQuint:t=>(t/=.5)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2),easeInSine:t=>1-Math.cos(t*fr),easeOutSine:t=>Math.sin(t*fr),easeInOutSine:t=>-.5*(Math.cos(er*t)-1),easeInExpo:t=>0===t?0:Math.pow(2,10*(t-1)),easeOutExpo:t=>1===t?1:1-Math.pow(2,-10*t),easeInOutExpo:t=>ry(t)?t:t<.5?.5*Math.pow(2,10*(2*t-1)):.5*(2-Math.pow(2,-10*(2*t-1))),easeInCirc:t=>t>=1?t:-(Math.sqrt(1-t*t)-1),easeOutCirc:t=>Math.sqrt(1-(t-=1)*t),easeInOutCirc:t=>(t/=.5)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1),easeInElastic:t=>ry(t)?t:t4(t,.075,.3),easeOutElastic:t=>ry(t)?t:n4(t,.075,.3),easeInOutElastic:t=>ry(t)?t:t<.5?.5*t4(2*t,.1125,.45):.5+.5*n4(2*t-1,.1125,.45),easeInBack:t=>t*t*(2.70158*t-1.70158),easeOutBack:t=>(t-=1)*t*(2.70158*t+1.70158)+1,easeInOutBack(t){let n=1.70158;return(t/=.5)<1?t*t*((1+(n*=1.525))*t-n)*.5:.5*((t-=2)*t*((1+(n*=1.525))*t+n)+2)},easeInBounce:t=>1-Im.easeOutBounce(1-t),easeOutBounce:t=>t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375,easeInOutBounce:t=>t<.5?.5*Im.easeInBounce(2*t):.5*Im.easeOutBounce(2*t-1)+.5};function Pm(t){return t+.5|0}const Oc=(t,n,e)=>Math.max(Math.min(t,e),n);function Rm(t){return Oc(Pm(2.55*t),0,255)}function Ic(t){return Oc(Pm(255*t),0,255)}function Bl(t){return Oc(Pm(t/2.55)/100,0,1)}function r4(t){return Oc(Pm(100*t),0,100)}const Rs={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},gk=[..."0123456789ABCDEF"],sde=t=>gk[15&t],ade=t=>gk[(240&t)>>4]+gk[15&t],oy=t=>(240&t)>>4==(15&t);const hde=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function o4(t,n,e){const i=n*Math.min(e,1-e),r=(o,s=(o+t/30)%12)=>e-i*Math.max(Math.min(s-3,9-s,1),-1);return[r(0),r(8),r(4)]}function fde(t,n,e){const i=(r,o=(r+t/60)%6)=>e-e*n*Math.max(Math.min(o,4-o,1),0);return[i(5),i(3),i(1)]}function pde(t,n,e){const i=o4(t,1,.5);let r;for(n+e>1&&(r=1/(n+e),n*=r,e*=r),r=0;r<3;r++)i[r]*=1-n-e,i[r]+=n;return i}function _k(t){const e=t.r/255,i=t.g/255,r=t.b/255,o=Math.max(e,i,r),s=Math.min(e,i,r),a=(o+s)/2;let l,c,p;return o!==s&&(p=o-s,c=a>.5?p/(2-o-s):p/(o+s),l=function mde(t,n,e,i,r){return t===r?(n-e)/i+(nt<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055,$h=t=>t<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4);function ay(t,n,e){if(t){let i=_k(t);i[n]=Math.max(0,Math.min(i[n]+i[n]*e,0===n?360:1)),i=bk(i),t.r=i[0],t.g=i[1],t.b=i[2]}}function c4(t,n){return t&&Object.assign(n||{},t)}function u4(t){var n={r:0,g:0,b:0,a:255};return Array.isArray(t)?t.length>=3&&(n={r:t[0],g:t[1],b:t[2],a:255},t.length>3&&(n.a=Ic(t[3]))):(n=c4(t,{r:0,g:0,b:0,a:1})).a=Ic(n.a),n}function Mde(t){return"r"===t.charAt(0)?function xde(t){const n=Sde.exec(t);let i,r,o,e=255;if(n){if(n[7]!==i){const s=+n[7];e=n[8]?Rm(s):Oc(255*s,0,255)}return i=+n[1],r=+n[3],o=+n[5],i=255&(n[2]?Rm(i):Oc(i,0,255)),r=255&(n[4]?Rm(r):Oc(r,0,255)),o=255&(n[6]?Rm(o):Oc(o,0,255)),{r:i,g:r,b:o,a:e}}}(t):function vde(t){const n=hde.exec(t);let i,e=255;if(!n)return;n[5]!==i&&(e=n[6]?Rm(+n[5]):Ic(+n[5]));const r=s4(+n[2]),o=+n[3]/100,s=+n[4]/100;return i="hwb"===n[1]?function gde(t,n,e){return vk(pde,t,n,e)}(r,o,s):"hsv"===n[1]?function _de(t,n,e){return vk(fde,t,n,e)}(r,o,s):bk(r,o,s),{r:i[0],g:i[1],b:i[2],a:e}}(t)}class ly{constructor(n){if(n instanceof ly)return n;const e=typeof n;let i;"object"===e?i=u4(n):"string"===e&&(i=function cde(t){var e,n=t.length;return"#"===t[0]&&(4===n||5===n?e={r:255&17*Rs[t[1]],g:255&17*Rs[t[2]],b:255&17*Rs[t[3]],a:5===n?17*Rs[t[4]]:255}:(7===n||9===n)&&(e={r:Rs[t[1]]<<4|Rs[t[2]],g:Rs[t[3]]<<4|Rs[t[4]],b:Rs[t[5]]<<4|Rs[t[6]],a:9===n?Rs[t[7]]<<4|Rs[t[8]]:255})),e}(n)||function Cde(t){sy||(sy=function wde(){const t={},n=Object.keys(l4),e=Object.keys(a4);let i,r,o,s,a;for(i=0;i>16&255,o>>8&255,255&o]}return t}(),sy.transparent=[0,0,0,0]);const n=sy[t.toLowerCase()];return n&&{r:n[0],g:n[1],b:n[2],a:4===n.length?n[3]:255}}(n)||Mde(n)),this._rgb=i,this._valid=!!i}get valid(){return this._valid}get rgb(){var n=c4(this._rgb);return n&&(n.a=Bl(n.a)),n}set rgb(n){this._rgb=u4(n)}rgbString(){return this._valid?function kde(t){return t&&(t.a<255?`rgba(${t.r}, ${t.g}, ${t.b}, ${Bl(t.a)})`:`rgb(${t.r}, ${t.g}, ${t.b})`)}(this._rgb):void 0}hexString(){return this._valid?function dde(t){var n=(t=>oy(t.r)&&oy(t.g)&&oy(t.b)&&oy(t.a))(t)?sde:ade;return t?"#"+n(t.r)+n(t.g)+n(t.b)+((t,n)=>t<255?n(t):"")(t.a,n):void 0}(this._rgb):void 0}hslString(){return this._valid?function yde(t){if(!t)return;const n=_k(t),e=n[0],i=r4(n[1]),r=r4(n[2]);return t.a<255?`hsla(${e}, ${i}%, ${r}%, ${Bl(t.a)})`:`hsl(${e}, ${i}%, ${r}%)`}(this._rgb):void 0}mix(n,e){if(n){const i=this.rgb,r=n.rgb;let o;const s=e===o?.5:e,a=2*s-1,l=i.a-r.a,c=((a*l==-1?a:(a+l)/(1+a*l))+1)/2;o=1-c,i.r=255&c*i.r+o*r.r+.5,i.g=255&c*i.g+o*r.g+.5,i.b=255&c*i.b+o*r.b+.5,i.a=s*i.a+(1-s)*r.a,this.rgb=i}return this}interpolate(n,e){return n&&(this._rgb=function Dde(t,n,e){const i=$h(Bl(t.r)),r=$h(Bl(t.g)),o=$h(Bl(t.b));return{r:Ic(yk(i+e*($h(Bl(n.r))-i))),g:Ic(yk(r+e*($h(Bl(n.g))-r))),b:Ic(yk(o+e*($h(Bl(n.b))-o))),a:t.a+e*(n.a-t.a)}}(this._rgb,n._rgb,e)),this}clone(){return new ly(this.rgb)}alpha(n){return this._rgb.a=Ic(n),this}clearer(n){return this._rgb.a*=1-n,this}greyscale(){const n=this._rgb,e=Pm(.3*n.r+.59*n.g+.11*n.b);return n.r=n.g=n.b=e,this}opaquer(n){return this._rgb.a*=1+n,this}negate(){const n=this._rgb;return n.r=255-n.r,n.g=255-n.g,n.b=255-n.b,this}lighten(n){return ay(this._rgb,2,n),this}darken(n){return ay(this._rgb,2,-n),this}saturate(n){return ay(this._rgb,1,n),this}desaturate(n){return ay(this._rgb,1,-n),this}rotate(n){return function bde(t,n){var e=_k(t);e[0]=s4(e[0]+n),e=bk(e),t.r=e[0],t.g=e[1],t.b=e[2]}(this._rgb,n),this}}function d4(t){return new ly(t)}function h4(t){if(t&&"object"==typeof t){const n=t.toString();return"[object CanvasPattern]"===n||"[object CanvasGradient]"===n}return!1}function f4(t){return h4(t)?t:d4(t)}function wk(t){return h4(t)?t:d4(t).saturate(.5).darken(.1).hexString()}const $u=Object.create(null),Ck=Object.create(null);function Fm(t,n){if(!n)return t;const e=n.split(".");for(let i=0,r=e.length;ie.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(e,i)=>wk(i.backgroundColor),this.hoverBorderColor=(e,i)=>wk(i.borderColor),this.hoverColor=(e,i)=>wk(i.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(n)}set(n,e){return Sk(this,n,e)}get(n){return Fm(this,n)}describe(n,e){return Sk(Ck,n,e)}override(n,e){return Sk($u,n,e)}route(n,e,i,r){const o=Fm(this,n),s=Fm(this,i),a="_"+e;Object.defineProperties(o,{[a]:{value:o[e],writable:!0},[e]:{enumerable:!0,get(){const l=this[a],c=s[r];return zn(l)?Object.assign({},c,l):Dn(l,c)},set(l){this[a]=l}}})}}({_scriptable:t=>!t.startsWith("on"),_indexable:t=>"events"!==t,hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}});function cy(t,n,e,i,r){let o=n[r];return o||(o=n[r]=t.measureText(r).width,e.push(r)),o>i&&(i=o),i}function Ade(t,n,e,i){let r=(i=i||{}).data=i.data||{},o=i.garbageCollect=i.garbageCollect||[];i.font!==n&&(r=i.data={},o=i.garbageCollect=[],i.font=n),t.save(),t.font=n;let s=0;const a=e.length;let l,c,p,m,_;for(l=0;le.length){for(l=0;l0&&t.stroke()}}function Nm(t,n,e){return e=e||.5,!n||t&&t.x>n.left-e&&t.xn.top-e&&t.y0&&""!==o.strokeColor;let l,c;for(t.save(),t.font=r.string,function Pde(t,n){n.translation&&t.translate(n.translation[0],n.translation[1]),Xn(n.rotation)||t.rotate(n.rotation),n.color&&(t.fillStyle=n.color),n.textAlign&&(t.textAlign=n.textAlign),n.textBaseline&&(t.textBaseline=n.textBaseline)}(t,o),l=0;l+t||0;function kk(t,n){const e={},i=zn(n),r=i?Object.keys(n):n,o=zn(t)?i?s=>Dn(t[s],t[n[s]]):s=>t[s]:()=>t;for(const s of r)e[s]=Bde(o(s));return e}function g4(t){return kk(t,{top:"y",right:"x",bottom:"y",left:"x"})}function Ku(t){return kk(t,["topLeft","topRight","bottomLeft","bottomRight"])}function bo(t){const n=g4(t);return n.width=n.left+n.right,n.height=n.top+n.bottom,n}function Hr(t,n){let e=Dn((t=t||{}).size,(n=n||Un.font).size);"string"==typeof e&&(e=parseInt(e,10));let i=Dn(t.style,n.style);i&&!(""+i).match(Nde)&&(console.warn('Invalid font style specified: "'+i+'"'),i="");const r={family:Dn(t.family,n.family),lineHeight:Lde(Dn(t.lineHeight,n.lineHeight),e),size:e,style:i,weight:Dn(t.weight,n.weight),string:""};return r.string=function Ede(t){return!t||Xn(t.size)||Xn(t.family)?null:(t.style?t.style+" ":"")+(t.weight?t.weight+" ":"")+t.size+"px "+t.family}(r),r}function Bm(t,n,e,i){let o,s,a,r=!0;for(o=0,s=t.length;ot[0])){Is(i)||(i=w4("_fallback",t));const o={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:t,_rootScopes:e,_fallback:i,_getTarget:r,override:s=>Dk([s,...t],n,e,i)};return new Proxy(o,{deleteProperty:(s,a)=>(delete s[a],delete s._keys,delete t[0][a],!0),get:(s,a)=>v4(s,a,()=>function qde(t,n,e,i){let r;for(const o of n)if(r=w4(Hde(o,t),e),Is(r))return Mk(t,r)?Tk(e,i,t,r):r}(a,n,t,s)),getOwnPropertyDescriptor:(s,a)=>Reflect.getOwnPropertyDescriptor(s._scopes[0],a),getPrototypeOf:()=>Reflect.getPrototypeOf(t[0]),has:(s,a)=>C4(s).includes(a),ownKeys:s=>C4(s),set(s,a,l){const c=s._storage||(s._storage=r());return s[a]=c[a]=l,delete s._keys,!0}})}function qh(t,n,e,i){const r={_cacheable:!1,_proxy:t,_context:n,_subProxy:e,_stack:new Set,_descriptors:_4(t,i),setContext:o=>qh(t,o,e,i),override:o=>qh(t.override(o),n,e,i)};return new Proxy(r,{deleteProperty:(o,s)=>(delete o[s],delete t[s],!0),get:(o,s,a)=>v4(o,s,()=>function zde(t,n,e){const{_proxy:i,_context:r,_subProxy:o,_descriptors:s}=t;let a=i[n];return Ac(a)&&s.isScriptable(n)&&(a=function Wde(t,n,e,i){const{_proxy:r,_context:o,_subProxy:s,_stack:a}=e;if(a.has(t))throw new Error("Recursion detected: "+Array.from(a).join("->")+"->"+t);return a.add(t),n=n(o,s||i),a.delete(t),Mk(t,n)&&(n=Tk(r._scopes,r,t,n)),n}(n,a,t,e)),Ri(a)&&a.length&&(a=function jde(t,n,e,i){const{_proxy:r,_context:o,_subProxy:s,_descriptors:a}=e;if(Is(o.index)&&i(t))n=n[o.index%n.length];else if(zn(n[0])){const l=n,c=r._scopes.filter(p=>p!==l);n=[];for(const p of l){const m=Tk(c,r,t,p);n.push(qh(m,o,s&&s[t],a))}}return n}(n,a,t,s.isIndexable)),Mk(n,a)&&(a=qh(a,r,o&&o[n],s)),a}(o,s,a)),getOwnPropertyDescriptor:(o,s)=>o._descriptors.allKeys?Reflect.has(t,s)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(t,s),getPrototypeOf:()=>Reflect.getPrototypeOf(t),has:(o,s)=>Reflect.has(t,s),ownKeys:()=>Reflect.ownKeys(t),set:(o,s,a)=>(t[s]=a,delete o[s],!0)})}function _4(t,n={scriptable:!0,indexable:!0}){const{_scriptable:e=n.scriptable,_indexable:i=n.indexable,_allKeys:r=n.allKeys}=t;return{allKeys:r,scriptable:e,indexable:i,isScriptable:Ac(e)?e:()=>e,isIndexable:Ac(i)?i:()=>i}}const Hde=(t,n)=>t?t+dk(n):n,Mk=(t,n)=>zn(n)&&"adapters"!==t&&(null===Object.getPrototypeOf(n)||n.constructor===Object);function v4(t,n,e){if(Object.prototype.hasOwnProperty.call(t,n))return t[n];const i=e();return t[n]=i,i}function b4(t,n,e){return Ac(t)?t(n,e):t}const Ude=(t,n)=>!0===t?n:"string"==typeof t?Ec(n,t):void 0;function Gde(t,n,e,i,r){for(const o of n){const s=Ude(e,o);if(s){t.add(s);const a=b4(s._fallback,e,r);if(Is(a)&&a!==e&&a!==i)return a}else if(!1===s&&Is(i)&&e!==i)return null}return!1}function Tk(t,n,e,i){const r=n._rootScopes,o=b4(n._fallback,e,i),s=[...t,...r],a=new Set;a.add(i);let l=y4(a,s,e,o||e,i);return!(null===l||Is(o)&&o!==e&&(l=y4(a,s,o,l,i),null===l))&&Dk(Array.from(a),[""],r,o,()=>function $de(t,n,e){const i=t._getTarget();n in i||(i[n]={});const r=i[n];return Ri(r)&&zn(e)?e:r}(n,e,i))}function y4(t,n,e,i,r){for(;e;)e=Gde(t,n,e,i,r);return e}function w4(t,n){for(const e of n){if(!e)continue;const i=e[t];if(Is(i))return i}}function C4(t){let n=t._keys;return n||(n=t._keys=function Yde(t){const n=new Set;for(const e of t)for(const i of Object.keys(e).filter(r=>!r.startsWith("_")))n.add(i);return Array.from(n)}(t._scopes)),n}function S4(t,n,e,i){const{iScale:r}=t,{key:o="r"}=this._parsing,s=new Array(i);let a,l,c,p;for(a=0,l=i;an"x"===t?"y":"x";function Zde(t,n,e,i){const r=t.skip?n:t,o=n,s=e.skip?n:e,a=fk(o,r),l=fk(s,o);let c=a/(a+l),p=l/(a+l);c=isNaN(c)?0:c,p=isNaN(p)?0:p;const m=i*c,_=i*p;return{previous:{x:o.x-m*(s.x-r.x),y:o.y-m*(s.y-r.y)},next:{x:o.x+_*(s.x-r.x),y:o.y+_*(s.y-r.y)}}}function hy(t,n,e){return Math.max(Math.min(t,e),n)}function the(t,n,e,i,r){let o,s,a,l;if(n.spanGaps&&(t=t.filter(c=>!c.skip)),"monotone"===n.cubicInterpolationMode)!function Jde(t,n="x"){const e=x4(n),i=t.length,r=Array(i).fill(0),o=Array(i);let s,a,l,c=Yh(t,0);for(s=0;swindow.getComputedStyle(t,null),ihe=["top","right","bottom","left"];function Zu(t,n,e){const i={};e=e?"-"+e:"";for(let r=0;r<4;r++){const o=ihe[r];i[o]=parseFloat(t[n+"-"+o+e])||0}return i.width=i.left+i.right,i.height=i.top+i.bottom,i}function Qu(t,n){if("native"in t)return t;const{canvas:e,currentDevicePixelRatio:i}=n,r=py(e),o="border-box"===r.boxSizing,s=Zu(r,"padding"),a=Zu(r,"border","width"),{x:l,y:c,box:p}=function ohe(t,n){const e=t.touches,i=e&&e.length?e[0]:t,{offsetX:r,offsetY:o}=i;let a,l,s=!1;if(((t,n,e)=>(t>0||n>0)&&(!e||!e.shadowRoot))(r,o,t.target))a=r,l=o;else{const c=n.getBoundingClientRect();a=i.clientX-c.left,l=i.clientY-c.top,s=!0}return{x:a,y:l,box:s}}(t,e),m=s.left+(p&&a.left),_=s.top+(p&&a.top);let{width:C,height:k}=n;return o&&(C-=s.width+a.width,k-=s.height+a.height),{x:Math.round((l-m)/C*e.width/i),y:Math.round((c-_)/k*e.height/i)}}const Ak=t=>Math.round(10*t)/10;function D4(t,n,e){const i=n||1,r=Math.floor(t.height*i),o=Math.floor(t.width*i);t.height=r/i,t.width=o/i;const s=t.canvas;return s.style&&(e||!s.style.height&&!s.style.width)&&(s.style.height=`${t.height}px`,s.style.width=`${t.width}px`),(t.currentDevicePixelRatio!==i||s.height!==r||s.width!==o)&&(t.currentDevicePixelRatio=i,s.height=r,s.width=o,t.ctx.setTransform(i,0,0,i,0,0),!0)}const lhe=function(){let t=!1;try{const n={get passive(){return t=!0,!1}};window.addEventListener("test",null,n),window.removeEventListener("test",null,n)}catch{}return t}();function M4(t,n){const e=function nhe(t,n){return py(t).getPropertyValue(n)}(t,n),i=e&&e.match(/^(\d+)(\.\d+)?px$/);return i?+i[1]:void 0}function Xu(t,n,e,i){return{x:t.x+e*(n.x-t.x),y:t.y+e*(n.y-t.y)}}function che(t,n,e,i){return{x:t.x+e*(n.x-t.x),y:"middle"===i?e<.5?t.y:n.y:"after"===i?e<1?t.y:n.y:e>0?n.y:t.y}}function uhe(t,n,e,i){const r={x:t.cp2x,y:t.cp2y},o={x:n.cp1x,y:n.cp1y},s=Xu(t,r,e),a=Xu(r,o,e),l=Xu(o,n,e),c=Xu(s,a,e),p=Xu(a,l,e);return Xu(c,p,e)}const T4=new Map;function Vm(t,n,e){return function dhe(t,n){n=n||{};const e=t+JSON.stringify(n);let i=T4.get(e);return i||(i=new Intl.NumberFormat(t,n),T4.set(e,i)),i}(n,e).format(t)}function Kh(t,n,e){return t?function(t,n){return{x:e=>t+t+n-e,setWidth(e){n=e},textAlign:e=>"center"===e?e:"right"===e?"left":"right",xPlus:(e,i)=>e-i,leftForLtr:(e,i)=>e-i}}(n,e):{x:t=>t,setWidth(t){},textAlign:t=>t,xPlus:(t,n)=>t+n,leftForLtr:(t,n)=>t}}function E4(t,n){let e,i;("ltr"===n||"rtl"===n)&&(e=t.canvas.style,i=[e.getPropertyValue("direction"),e.getPropertyPriority("direction")],e.setProperty("direction",n,"important"),t.prevTextDirection=i)}function A4(t,n){void 0!==n&&(delete t.prevTextDirection,t.canvas.style.setProperty("direction",n[0],n[1]))}function O4(t){return"angle"===t?{between:Om,compare:Jue,normalize:as}:{between:Nl,compare:(n,e)=>n-e,normalize:n=>n}}function I4({start:t,end:n,count:e,loop:i,style:r}){return{start:t%e,end:n%e,loop:i&&(n-t+1)%e==0,style:r}}function P4(t,n,e){if(!e)return[t];const{property:i,start:r,end:o}=e,s=n.length,{compare:a,between:l,normalize:c}=O4(i),{start:p,end:m,loop:_,style:C}=function phe(t,n,e){const{property:i,start:r,end:o}=e,{between:s,normalize:a}=O4(i),l=n.length;let _,C,{start:c,end:p,loop:m}=t;if(m){for(c+=l,p+=l,_=0,C=l;_a({chart:n,initial:e.initial,numSteps:s,currentStep:Math.min(i-e.start,s)}))}_refresh(){this._request||(this._running=!0,this._request=QL.call(window,()=>{this._update(),this._request=null,this._running&&this._refresh()}))}_update(n=Date.now()){let e=0;this._charts.forEach((i,r)=>{if(!i.running||!i.items.length)return;const o=i.items;let l,s=o.length-1,a=!1;for(;s>=0;--s)l=o[s],l._active?(l._total>i.duration&&(i.duration=l._total),l.tick(n),a=!0):(o[s]=o[o.length-1],o.pop());a&&(r.draw(),this._notify(r,i,n,"progress")),o.length||(i.running=!1,this._notify(r,i,n,"complete"),i.initial=!1),e+=o.length}),this._lastDate=n,0===e&&(this._running=!1)}_getAnims(n){const e=this._charts;let i=e.get(n);return i||(i={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},e.set(n,i)),i}listen(n,e,i){this._getAnims(n).listeners[e].push(i)}add(n,e){!e||!e.length||this._getAnims(n).items.push(...e)}has(n){return this._getAnims(n).items.length>0}start(n){const e=this._charts.get(n);!e||(e.running=!0,e.start=Date.now(),e.duration=e.items.reduce((i,r)=>Math.max(i,r._duration),0),this._refresh())}running(n){if(!this._running)return!1;const e=this._charts.get(n);return!(!e||!e.running||!e.items.length)}stop(n){const e=this._charts.get(n);if(!e||!e.items.length)return;const i=e.items;let r=i.length-1;for(;r>=0;--r)i[r].cancel();e.items=[],this._notify(n,e,Date.now(),"complete")}remove(n){return this._charts.delete(n)}};const L4="transparent",whe={boolean:(t,n,e)=>e>.5?n:t,color(t,n,e){const i=f4(t||L4),r=i.valid&&f4(n||L4);return r&&r.valid?r.mix(i,e).hexString():n},number:(t,n,e)=>t+(n-t)*e};class Che{constructor(n,e,i,r){const o=e[i];r=Bm([n.to,r,o,n.from]);const s=Bm([n.from,o,r]);this._active=!0,this._fn=n.fn||whe[n.type||typeof s],this._easing=Im[n.easing]||Im.linear,this._start=Math.floor(Date.now()+(n.delay||0)),this._duration=this._total=Math.floor(n.duration),this._loop=!!n.loop,this._target=e,this._prop=i,this._from=s,this._to=r,this._promises=void 0}active(){return this._active}update(n,e,i){if(this._active){this._notify(!1);const r=this._target[this._prop],o=i-this._start,s=this._duration-o;this._start=i,this._duration=Math.floor(Math.max(s,n.duration)),this._total+=o,this._loop=!!n.loop,this._to=Bm([n.to,e,r,n.from]),this._from=Bm([n.from,r,e])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(n){const e=n-this._start,i=this._duration,r=this._prop,o=this._from,s=this._loop,a=this._to;let l;if(this._active=o!==a&&(s||e1?2-l:l,l=this._easing(Math.min(1,Math.max(0,l))),this._target[r]=this._fn(o,a,l))}wait(){const n=this._promises||(this._promises=[]);return new Promise((e,i)=>{n.push({res:e,rej:i})})}_notify(n){const e=n?"res":"rej",i=this._promises||[];for(let r=0;r"onProgress"!==t&&"onComplete"!==t&&"fn"!==t}),Un.set("animations",{colors:{type:"color",properties:["color","borderColor","backgroundColor"]},numbers:{type:"number",properties:["x","y","borderWidth","radius","tension"]}}),Un.describe("animations",{_fallback:"animation"}),Un.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:t=>0|t}}}});class B4{constructor(n,e){this._chart=n,this._properties=new Map,this.configure(e)}configure(n){if(!zn(n))return;const e=this._properties;Object.getOwnPropertyNames(n).forEach(i=>{const r=n[i];if(!zn(r))return;const o={};for(const s of khe)o[s]=r[s];(Ri(r.properties)&&r.properties||[i]).forEach(s=>{(s===i||!e.has(s))&&e.set(s,o)})})}_animateOptions(n,e){const i=e.options,r=function Mhe(t,n){if(!n)return;let e=t.options;if(e)return e.$shared&&(t.options=e=Object.assign({},e,{$shared:!1,$animations:{}})),e;t.options=n}(n,i);if(!r)return[];const o=this._createAnimations(r,i);return i.$shared&&function Dhe(t,n){const e=[],i=Object.keys(n);for(let r=0;r{n.options=i},()=>{}),o}_createAnimations(n,e){const i=this._properties,r=[],o=n.$animations||(n.$animations={}),s=Object.keys(e),a=Date.now();let l;for(l=s.length-1;l>=0;--l){const c=s[l];if("$"===c.charAt(0))continue;if("options"===c){r.push(...this._animateOptions(n,e));continue}const p=e[c];let m=o[c];const _=i.get(c);if(m){if(_&&m.active()){m.update(_,p,a);continue}m.cancel()}_&&_.duration?(o[c]=m=new Che(_,n,c,p),r.push(m)):n[c]=p}return r}update(n,e){if(0===this._properties.size)return void Object.assign(n,e);const i=this._createAnimations(n,e);return i.length?(Vl.add(this._chart,i),!0):void 0}}function V4(t,n){const e=t&&t.options||{},i=e.reverse,r=void 0===e.min?n:0,o=void 0===e.max?n:0;return{start:i?o:r,end:i?r:o}}function H4(t,n){const e=[],i=t._getSortedDatasetMetas(n);let r,o;for(r=0,o=i.length;r0||!e&&o<0)return r.index}return null}function U4(t,n){const{chart:e,_cachedMeta:i}=t,r=e._stacks||(e._stacks={}),{iScale:o,vScale:s,index:a}=i,l=o.axis,c=s.axis,p=function Ohe(t,n,e){return`${t.id}.${n.id}.${e.stack||e.type}`}(o,s,i),m=n.length;let _;for(let C=0;Ce[i].axis===n).shift()}function Hm(t,n){const e=t.controller.index,i=t.vScale&&t.vScale.axis;if(i){n=n||t._parsed;for(const r of n){const o=r._stacks;if(!o||void 0===o[i]||void 0===o[i][e])return;delete o[i][e]}}}const Ik=t=>"reset"===t||"none"===t,G4=(t,n)=>n?t:Object.assign({},t);let Va=(()=>{class t{constructor(e,i){this.chart=e,this._ctx=e.ctx,this.index=i,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.initialize()}initialize(){const e=this._cachedMeta;this.configure(),this.linkScales(),e._stacked=W4(e.vScale,e),this.addElements()}updateIndex(e){this.index!==e&&Hm(this._cachedMeta),this.index=e}linkScales(){const e=this.chart,i=this._cachedMeta,r=this.getDataset(),o=(_,C,k,A)=>"x"===_?C:"r"===_?A:k,s=i.xAxisID=Dn(r.xAxisID,Ok(e,"x")),a=i.yAxisID=Dn(r.yAxisID,Ok(e,"y")),l=i.rAxisID=Dn(r.rAxisID,Ok(e,"r")),c=i.indexAxis,p=i.iAxisID=o(c,s,a,l),m=i.vAxisID=o(c,a,s,l);i.xScale=this.getScaleForId(s),i.yScale=this.getScaleForId(a),i.rScale=this.getScaleForId(l),i.iScale=this.getScaleForId(p),i.vScale=this.getScaleForId(m)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(e){return this.chart.scales[e]}_getOtherScale(e){const i=this._cachedMeta;return e===i.iScale?i.vScale:i.iScale}reset(){this._update("reset")}_destroy(){const e=this._cachedMeta;this._data&&KL(this._data,this),e._stacked&&Hm(e)}_dataCheck(){const e=this.getDataset(),i=e.data||(e.data=[]),r=this._data;if(zn(i))this._data=function Ahe(t){const n=Object.keys(t),e=new Array(n.length);let i,r,o;for(i=0,r=n.length;i{const i="_onData"+dk(e),r=t[e];Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value(...o){const s=r.apply(this,o);return t._chartjs.listeners.forEach(a=>{"function"==typeof a[i]&&a[i](...o)}),s}})}))}(i,this),this._syncList=[],this._data=i}}addElements(){const e=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(e.dataset=new this.datasetElementType)}buildOrUpdateElements(e){const i=this._cachedMeta,r=this.getDataset();let o=!1;this._dataCheck();const s=i._stacked;i._stacked=W4(i.vScale,i),i.stack!==r.stack&&(o=!0,Hm(i),i.stack=r.stack),this._resyncElements(e),(o||s!==i._stacked)&&U4(this,i._parsed)}configure(){const e=this.chart.config,i=e.datasetScopeKeys(this._type),r=e.getOptionScopes(this.getDataset(),i,!0);this.options=e.createResolver(r,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(e,i){const{_cachedMeta:r,_data:o}=this,{iScale:s,_stacked:a}=r,l=s.axis;let m,_,C,c=0===e&&i===o.length||r._sorted,p=e>0&&r._parsed[e-1];if(!1===this._parsing)r._parsed=o,r._sorted=!0,C=o;else{C=Ri(o[e])?this.parseArrayData(r,o,e,i):zn(o[e])?this.parseObjectData(r,o,e,i):this.parsePrimitiveData(r,o,e,i);const k=()=>null===_[l]||p&&_[l]t&&!n.hidden&&n._stacked&&{keys:H4(this.chart,!0),values:null})(i,r),p={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY},{min:m,max:_}=function Ihe(t){const{min:n,max:e,minDefined:i,maxDefined:r}=t.getUserBounds();return{min:i?n:Number.NEGATIVE_INFINITY,max:r?e:Number.POSITIVE_INFINITY}}(l);let C,k;function A(){k=o[C];const P=k[l.axis];return!Cr(k[e.axis])||m>P||_=0;--C)if(!A()){this.updateRangeFromParsed(p,e,k,c);break}return p}getAllParsedValues(e){const i=this._cachedMeta._parsed,r=[];let o,s,a;for(o=0,s=i.length;o=0&&ethis.getContext(r,o),_);return P.$shared&&(P.$shared=c,s[a]=Object.freeze(G4(P,c))),P}_resolveAnimations(e,i,r){const o=this.chart,s=this._cachedDataOpts,a=`animation-${i}`,l=s[a];if(l)return l;let c;if(!1!==o.options.animation){const m=this.chart.config,_=m.datasetAnimationScopeKeys(this._type,i),C=m.getOptionScopes(this.getDataset(),_);c=m.createResolver(C,this.getContext(e,r,i))}const p=new B4(o,c&&c.animations);return c&&c._cacheable&&(s[a]=Object.freeze(p)),p}getSharedOptions(e){if(e.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},e))}includeOptions(e,i){return!i||Ik(e)||this.chart._animationsDisabled}_getSharedOptions(e,i){const r=this.resolveDataElementOptions(e,i),o=this._sharedOptions,s=this.getSharedOptions(r),a=this.includeOptions(i,s)||s!==o;return this.updateSharedOptions(s,i,r),{sharedOptions:s,includeOptions:a}}updateElement(e,i,r,o){Ik(o)?Object.assign(e,r):this._resolveAnimations(i,o).update(e,r)}updateSharedOptions(e,i,r){e&&!Ik(i)&&this._resolveAnimations(void 0,i).update(e,r)}_setStyle(e,i,r,o){e.active=o;const s=this.getStyle(i,o);this._resolveAnimations(i,r,o).update(e,{options:!o&&this.getSharedOptions(s)||s})}removeHoverStyle(e,i,r){this._setStyle(e,r,"active",!1)}setHoverStyle(e,i,r){this._setStyle(e,r,"active",!0)}_removeDatasetHoverStyle(){const e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,"active",!1)}_setDatasetHoverStyle(){const e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,"active",!0)}_resyncElements(e){const i=this._data,r=this._cachedMeta.data;for(const[l,c,p]of this._syncList)this[l](c,p);this._syncList=[];const o=r.length,s=i.length,a=Math.min(s,o);a&&this.parse(0,a),s>o?this._insertElements(o,s-o,e):s{for(p.length+=i,l=p.length-1;l>=a;l--)p[l]=p[l-i]};for(c(s),l=e;lr-o))}return t._cache.$bar}(n,t.type);let r,o,s,a,i=n._length;const l=()=>{32767===s||-32768===s||(Is(a)&&(i=Math.min(i,Math.abs(s-a)||i)),a=s)};for(r=0,o=e.length;rMath.abs(a)&&(l=a,c=s),n[e.axis]=c,n._custom={barStart:l,barEnd:c,start:r,end:o,min:s,max:a}}(t,n,e,i):n[e.axis]=e.parse(t,i),n}function q4(t,n,e,i){const r=t.iScale,o=t.vScale,s=r.getLabels(),a=r===o,l=[];let c,p,m,_;for(c=e,p=e+i;ct.x,e="left",i="right"):(n=t.base{class t extends Va{parsePrimitiveData(e,i,r,o){return q4(e,i,r,o)}parseArrayData(e,i,r,o){return q4(e,i,r,o)}parseObjectData(e,i,r,o){const{iScale:s,vScale:a}=e,{xAxisKey:l="x",yAxisKey:c="y"}=this._parsing,p="x"===s.axis?l:c,m="x"===a.axis?l:c,_=[];let C,k,A,P;for(C=r,k=r+o;Cc.controller.options.grouped),s=r.options.stacked,a=[],l=c=>{const p=c.controller.getParsed(i),m=p&&p[c.vScale.axis];if(Xn(m)||isNaN(m))return!0};for(const c of o)if((void 0===i||!l(c))&&((!1===s||-1===a.indexOf(c.stack)||void 0===s&&void 0===c.stack)&&a.push(c.stack),c.index===e))break;return a.length||a.push(void 0),a}_getStackCount(e){return this._getStacks(void 0,e).length}_getStackIndex(e,i,r){const o=this._getStacks(e,r),s=void 0!==i?o.indexOf(i):-1;return-1===s?o.length-1:s}_getRuler(){const e=this.options,i=this._cachedMeta,r=i.iScale,o=[];let s,a;for(s=0,a=i.data.length;s=e?1:-1)}(A,i,a)*s,m===a&&(N-=A/2);const G=i.getPixelForDecimal(0),U=i.getPixelForDecimal(1),X=Math.min(G,U),se=Math.max(G,U);N=Math.max(Math.min(N,se),X),k=N+A}if(N===i.getPixelForValue(a)){const G=Ba(A)*i.getLineWidthForValue(a)/2;N+=G,A-=G}return{size:A,base:N,head:k,center:k+A/2}}_calculateBarIndexPixels(e,i){const r=i.scale,o=this.options,s=o.skipNull,a=Dn(o.maxBarThickness,1/0);let l,c;if(i.grouped){const p=s?this._getStackCount(e):i.stackCount,m="flex"===o.barThickness?function Hhe(t,n,e,i){const r=n.pixels,o=r[t];let s=t>0?r[t-1]:null,a=t{class t extends Va{initialize(){this.enableOptionSharing=!0,super.initialize()}parsePrimitiveData(e,i,r,o){const s=super.parsePrimitiveData(e,i,r,o);for(let a=0;a=0;--r)i=Math.max(i,e[r].size(this.resolveDataElementOptions(r))/2);return i>0&&i}getLabelAndValue(e){const i=this._cachedMeta,{xScale:r,yScale:o}=i,s=this.getParsed(e),a=r.getLabelForValue(s.x),l=o.getLabelForValue(s.y),c=s._custom;return{label:i.label,value:"("+a+", "+l+(c?", "+c:"")+")"}}update(e){const i=this._cachedMeta.data;this.updateElements(i,0,i.length,e)}updateElements(e,i,r,o){const s="reset"===o,{iScale:a,vScale:l}=this._cachedMeta,{sharedOptions:c,includeOptions:p}=this._getSharedOptions(i,o),m=a.axis,_=l.axis;for(let C=i;C""}}}},t})(),Z4=(()=>{class t extends Va{constructor(e,i){super(e,i),this.enableOptionSharing=!0,this.innerRadius=void 0,this.outerRadius=void 0,this.offsetX=void 0,this.offsetY=void 0}linkScales(){}parse(e,i){const r=this.getDataset().data,o=this._cachedMeta;if(!1===this._parsing)o._parsed=r;else{let a,l,s=c=>+r[c];if(zn(r[e])){const{key:c="value"}=this._parsing;s=p=>+Ec(r[p],c)}for(a=e,l=e+i;a"string"==typeof t&&t.endsWith("%")?parseFloat(t)/100:t/n)(this.options.cutout,l),1),p=this._getRingWeight(this.index),{circumference:m,rotation:_}=this._getRotationExtents(),{ratioX:C,ratioY:k,offsetX:A,offsetY:P}=function Khe(t,n,e){let i=1,r=1,o=0,s=0;if(nOm(U,a,l,!0)?1:Math.max(X,X*e,se,se*e),k=(U,X,se)=>Om(U,a,l,!0)?-1:Math.min(X,X*e,se,se*e),A=C(0,c,m),P=C(fr,p,_),N=k(er,c,m),G=k(er+fr,p,_);i=(A-N)/2,r=(P-G)/2,o=-(A+N)/2,s=-(P+G)/2}return{ratioX:i,ratioY:r,offsetX:o,offsetY:s}}(_,m,c),U=Math.max(Math.min((r.width-a)/C,(r.height-a)/k)/2,0),X=VL(this.options.radius,U),ve=(X-Math.max(X*c,0))/this._getVisibleDatasetWeightTotal();this.offsetX=A*X,this.offsetY=P*X,o.total=this.calculateTotal(),this.outerRadius=X-ve*this._getRingWeightOffset(this.index),this.innerRadius=Math.max(this.outerRadius-ve*p,0),this.updateElements(s,0,s.length,e)}_circumference(e,i){const r=this.options,o=this._cachedMeta,s=this._getCircumference();return i&&r.animation.animateRotate||!this.chart.getDataVisibility(e)||null===o._parsed[e]||o.data[e].hidden?0:this.calculateCircumference(o._parsed[e]*s/Mi)}updateElements(e,i,r,o){const s="reset"===o,a=this.chart,l=a.chartArea,m=(l.left+l.right)/2,_=(l.top+l.bottom)/2,C=s&&a.options.animation.animateScale,k=C?0:this.innerRadius,A=C?0:this.outerRadius,{sharedOptions:P,includeOptions:N}=this._getSharedOptions(i,o);let U,G=this._getRotation();for(U=0;U0&&!isNaN(e)?Mi*(Math.abs(e)/i):0}getLabelAndValue(e){const r=this.chart,o=r.data.labels||[],s=Vm(this._cachedMeta._parsed[e],r.options.locale);return{label:o[e]||"",value:s}}getMaxBorderWidth(e){let i=0;const r=this.chart;let o,s,a,l,c;if(!e)for(o=0,s=r.data.datasets.length;o"spacing"!==n,_indexable:n=>"spacing"!==n},t.overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(n){const e=n.data;if(e.labels.length&&e.datasets.length){const{labels:{pointStyle:i}}=n.legend.options;return e.labels.map((r,o)=>{const a=n.getDatasetMeta(0).controller.getStyle(o);return{text:r,fillStyle:a.backgroundColor,strokeStyle:a.borderColor,lineWidth:a.borderWidth,pointStyle:i,hidden:!n.getDataVisibility(o),index:o}})}return[]}},onClick(n,e,i){i.chart.toggleDataVisibility(e.index),i.chart.update()}},tooltip:{callbacks:{title:()=>"",label(n){let e=n.label;const i=": "+n.formattedValue;return Ri(e)?(e=e.slice(),e[0]+=i):e+=i,e}}}}},t})(),Zhe=(()=>{class t extends Va{initialize(){this.enableOptionSharing=!0,this.supportsDecimation=!0,super.initialize()}update(e){const i=this._cachedMeta,{dataset:r,data:o=[],_dataset:s}=i,a=this.chart._animationsDisabled;let{start:l,count:c}=JL(i,o,a);this._drawStart=l,this._drawCount=c,e4(i)&&(l=0,c=o.length),r._chart=this.chart,r._datasetIndex=this.index,r._decimated=!!s._decimated,r.points=o;const p=this.resolveDatasetElementOptions(e);this.options.showLine||(p.borderWidth=0),p.segment=this.options.segment,this.updateElement(r,void 0,{animated:!a,options:p},e),this.updateElements(o,l,c,e)}updateElements(e,i,r,o){const s="reset"===o,{iScale:a,vScale:l,_stacked:c,_dataset:p}=this._cachedMeta,{sharedOptions:m,includeOptions:_}=this._getSharedOptions(i,o),C=a.axis,k=l.axis,{spanGaps:A,segment:P}=this.options,N=Gh(A)?A:Number.POSITIVE_INFINITY,G=this.chart._animationsDisabled||s||"none"===o;let U=i>0&&this.getParsed(i-1);for(let X=i;X0&&Math.abs(ve[C]-U[C])>N,P&&(De.parsed=ve,De.raw=p.data[X]),_&&(De.options=m||this.resolveDataElementOptions(X,se.active?"active":o)),G||this.updateElement(se,X,De,o),U=ve}}getMaxOverflow(){const e=this._cachedMeta,i=e.dataset,r=i.options&&i.options.borderWidth||0,o=e.data||[];if(!o.length)return r;const s=o[0].size(this.resolveDataElementOptions(0)),a=o[o.length-1].size(this.resolveDataElementOptions(o.length-1));return Math.max(r,s,a)/2}draw(){const e=this._cachedMeta;e.dataset.updateControlPoints(this.chart.chartArea,e.iScale.axis),super.draw()}}return t.id="line",t.defaults={datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1},t.overrides={scales:{_index_:{type:"category"},_value_:{type:"linear"}}},t})(),Qhe=(()=>{class t extends Va{constructor(e,i){super(e,i),this.innerRadius=void 0,this.outerRadius=void 0}getLabelAndValue(e){const r=this.chart,o=r.data.labels||[],s=Vm(this._cachedMeta._parsed[e].r,r.options.locale);return{label:o[e]||"",value:s}}parseObjectData(e,i,r,o){return S4.bind(this)(e,i,r,o)}update(e){const i=this._cachedMeta.data;this._updateRadius(),this.updateElements(i,0,i.length,e)}getMinMax(){const i={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY};return this._cachedMeta.data.forEach((r,o)=>{const s=this.getParsed(o).r;!isNaN(s)&&this.chart.getDataVisibility(o)&&(si.max&&(i.max=s))}),i}_updateRadius(){const e=this.chart,i=e.chartArea,r=e.options,o=Math.min(i.right-i.left,i.bottom-i.top),s=Math.max(o/2,0),l=(s-Math.max(r.cutoutPercentage?s/100*r.cutoutPercentage:1,0))/e.getVisibleDatasetCount();this.outerRadius=s-l*this.index,this.innerRadius=this.outerRadius-l}updateElements(e,i,r,o){const s="reset"===o,a=this.chart,c=a.options.animation,p=this._cachedMeta.rScale,m=p.xCenter,_=p.yCenter,C=p.getIndexAngle(0)-.5*er;let A,k=C;const P=360/this.countVisibleElements();for(A=0;A{!isNaN(this.getParsed(o).r)&&this.chart.getDataVisibility(o)&&i++}),i}_computeAngle(e,i,r){return this.chart.getDataVisibility(e)?oa(this.resolveDataElementOptions(e,i).angle||r):0}}return t.id="polarArea",t.defaults={dataElementType:"arc",animation:{animateRotate:!0,animateScale:!0},animations:{numbers:{type:"number",properties:["x","y","startAngle","endAngle","innerRadius","outerRadius"]}},indexAxis:"r",startAngle:0},t.overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(n){const e=n.data;if(e.labels.length&&e.datasets.length){const{labels:{pointStyle:i}}=n.legend.options;return e.labels.map((r,o)=>{const a=n.getDatasetMeta(0).controller.getStyle(o);return{text:r,fillStyle:a.backgroundColor,strokeStyle:a.borderColor,lineWidth:a.borderWidth,pointStyle:i,hidden:!n.getDataVisibility(o),index:o}})}return[]}},onClick(n,e,i){i.chart.toggleDataVisibility(e.index),i.chart.update()}},tooltip:{callbacks:{title:()=>"",label:n=>n.chart.data.labels[n.dataIndex]+": "+n.formattedValue}}},scales:{r:{type:"radialLinear",angleLines:{display:!1},beginAtZero:!0,grid:{circular:!0},pointLabels:{display:!1},startAngle:0}}},t})(),Xhe=(()=>{class t extends Z4{}return t.id="pie",t.defaults={cutout:0,rotation:0,circumference:360,radius:"100%"},t})(),Jhe=(()=>{class t extends Va{getLabelAndValue(e){const i=this._cachedMeta.vScale,r=this.getParsed(e);return{label:i.getLabels()[e],value:""+i.getLabelForValue(r[i.axis])}}parseObjectData(e,i,r,o){return S4.bind(this)(e,i,r,o)}update(e){const i=this._cachedMeta,r=i.dataset,o=i.data||[],s=i.iScale.getLabels();if(r.points=o,"resize"!==e){const a=this.resolveDatasetElementOptions(e);this.options.showLine||(a.borderWidth=0),this.updateElement(r,void 0,{_loop:!0,_fullLoop:s.length===o.length,options:a},e)}this.updateElements(o,0,o.length,e)}updateElements(e,i,r,o){const s=this._cachedMeta.rScale,a="reset"===o;for(let l=i;l{r[o]=i[o]&&i[o].active()?i[o]._to:this[o]}),r}}sa.defaults={},sa.defaultRoutes=void 0;const Q4={values:t=>Ri(t)?t:""+t,numeric(t,n,e){if(0===t)return"0";const i=this.chart.options.locale;let r,o=t;if(e.length>1){const c=Math.max(Math.abs(e[0].value),Math.abs(e[e.length-1].value));(c<1e-4||c>1e15)&&(r="scientific"),o=function efe(t,n){let e=n.length>3?n[2].value-n[1].value:n[1].value-n[0].value;return Math.abs(e)>=1&&t!==Math.floor(t)&&(e=t-Math.floor(t)),e}(t,e)}const s=Ps(Math.abs(o)),a=Math.max(Math.min(-1*Math.floor(s),20),0),l={notation:r,minimumFractionDigits:a,maximumFractionDigits:a};return Object.assign(l,this.options.ticks.format),Vm(t,i,l)},logarithmic(t,n,e){if(0===t)return"0";const i=t/Math.pow(10,Math.floor(Ps(t)));return 1===i||2===i||5===i?Q4.numeric.call(this,t,n,e):""}};var my={formatters:Q4};function gy(t,n,e,i,r){const o=Dn(i,0),s=Math.min(Dn(r,t.length),t.length);let l,c,p,a=0;for(e=Math.ceil(e),r&&(l=r-i,e=l/Math.floor(l/e)),p=o;p<0;)a++,p=Math.round(o+a*e);for(c=Math.max(o,0);cn.lineWidth,tickColor:(t,n)=>n.color,offset:!1,borderDash:[],borderDashOffset:0,borderWidth:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:my.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),Un.route("scale.ticks","color","","color"),Un.route("scale.grid","color","","borderColor"),Un.route("scale.grid","borderColor","","borderColor"),Un.route("scale.title","color","","color"),Un.describe("scale",{_fallback:!1,_scriptable:t=>!t.startsWith("before")&&!t.startsWith("after")&&"callback"!==t&&"parser"!==t,_indexable:t=>"borderDash"!==t&&"tickBorderDash"!==t}),Un.describe("scales",{_fallback:"scale"}),Un.describe("scale.ticks",{_scriptable:t=>"backdropPadding"!==t&&"callback"!==t,_indexable:t=>"backdropPadding"!==t});const X4=(t,n,e)=>"top"===n||"left"===n?t[n]+e:t[n]-e;function J4(t,n){const e=[],i=t.length/n,r=t.length;let o=0;for(;os+a)))return l}function zm(t){return t.drawTicks?t.tickLength:0}function e5(t,n){if(!t.display)return 0;const e=Hr(t.font,n),i=bo(t.padding);return(Ri(t.text)?t.text.length:1)*e.lineHeight+i.height}function hfe(t,n,e){let i=mk(t);return(e&&"right"!==n||!e&&"right"===n)&&(i=(t=>"left"===t?"right":"right"===t?"left":t)(i)),i}class Ju extends sa{constructor(n){super(),this.id=n.id,this.type=n.type,this.options=void 0,this.ctx=n.ctx,this.chart=n.chart,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this._margins={left:0,right:0,top:0,bottom:0},this.maxWidth=void 0,this.maxHeight=void 0,this.paddingTop=void 0,this.paddingBottom=void 0,this.paddingLeft=void 0,this.paddingRight=void 0,this.axis=void 0,this.labelRotation=void 0,this.min=void 0,this.max=void 0,this._range=void 0,this.ticks=[],this._gridLineItems=null,this._labelItems=null,this._labelSizes=null,this._length=0,this._maxLength=0,this._longestTextCache={},this._startPixel=void 0,this._endPixel=void 0,this._reversePixels=!1,this._userMax=void 0,this._userMin=void 0,this._suggestedMax=void 0,this._suggestedMin=void 0,this._ticksLength=0,this._borderValue=0,this._cache={},this._dataLimitsCached=!1,this.$context=void 0}init(n){this.options=n.setContext(this.getContext()),this.axis=n.axis,this._userMin=this.parse(n.min),this._userMax=this.parse(n.max),this._suggestedMin=this.parse(n.suggestedMin),this._suggestedMax=this.parse(n.suggestedMax)}parse(n,e){return n}getUserBounds(){let{_userMin:n,_userMax:e,_suggestedMin:i,_suggestedMax:r}=this;return n=Os(n,Number.POSITIVE_INFINITY),e=Os(e,Number.NEGATIVE_INFINITY),i=Os(i,Number.POSITIVE_INFINITY),r=Os(r,Number.NEGATIVE_INFINITY),{min:Os(n,i),max:Os(e,r),minDefined:Cr(n),maxDefined:Cr(e)}}getMinMax(n){let s,{min:e,max:i,minDefined:r,maxDefined:o}=this.getUserBounds();if(r&&o)return{min:e,max:i};const a=this.getMatchingVisibleMetas();for(let l=0,c=a.length;li?i:e,i=r&&e>i?e:i,{min:Os(e,Os(i,e)),max:Os(i,Os(e,i))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){const n=this.chart.data;return this.options.labels||(this.isHorizontal()?n.xLabels:n.yLabels)||n.labels||[]}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){Fi(this.options.beforeUpdate,[this])}update(n,e,i){const{beginAtZero:r,grace:o,ticks:s}=this.options,a=s.sampleSize;this.beforeUpdate(),this.maxWidth=n,this.maxHeight=e,this._margins=i=Object.assign({left:0,right:0,top:0,bottom:0},i),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+i.left+i.right:this.height+i.top+i.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=function Vde(t,n,e){const{min:i,max:r}=t,o=VL(n,(r-i)/2),s=(a,l)=>e&&0===a?0:a+l;return{min:s(i,-Math.abs(o)),max:s(r,o)}}(this,o,r),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const l=ai)return function ofe(t,n,e,i){let s,r=0,o=e[0];for(i=Math.ceil(i),s=0;sr-o).pop(),n}(i);for(let s=0,a=o.length-1;sr)return l}return Math.max(r,1)}(r,n,i);if(o>0){let p,m;const _=o>1?Math.round((a-s)/(o-1)):null;for(gy(n,l,c,Xn(_)?0:s-_,s),p=0,m=o-1;p=o||i<=1||!this.isHorizontal())return void(this.labelRotation=r);const p=this._getLabelSizes(),m=p.widest.width,_=p.highest.height,C=Yr(this.chart.width-m,0,this.maxWidth);a=n.offset?this.maxWidth/i:C/(i-1),m+6>a&&(a=C/(i-(n.offset?.5:1)),l=this.maxHeight-zm(n.grid)-e.padding-e5(n.title,this.chart.options.font),c=Math.sqrt(m*m+_*_),s=hk(Math.min(Math.asin(Yr((p.highest.height+6)/a,-1,1)),Math.asin(Yr(l/c,-1,1))-Math.asin(Yr(_/c,-1,1)))),s=Math.max(r,Math.min(o,s))),this.labelRotation=s}afterCalculateLabelRotation(){Fi(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){Fi(this.options.beforeFit,[this])}fit(){const n={width:0,height:0},{chart:e,options:{ticks:i,title:r,grid:o}}=this,s=this._isVisible(),a=this.isHorizontal();if(s){const l=e5(r,e.options.font);if(a?(n.width=this.maxWidth,n.height=zm(o)+l):(n.height=this.maxHeight,n.width=zm(o)+l),i.display&&this.ticks.length){const{first:c,last:p,widest:m,highest:_}=this._getLabelSizes(),C=2*i.padding,k=oa(this.labelRotation),A=Math.cos(k),P=Math.sin(k);a?n.height=Math.min(this.maxHeight,n.height+(i.mirror?0:P*m.width+A*_.height)+C):n.width=Math.min(this.maxWidth,n.width+(i.mirror?0:A*m.width+P*_.height)+C),this._calculatePadding(c,p,P,A)}}this._handleMargins(),a?(this.width=this._length=e.width-this._margins.left-this._margins.right,this.height=n.height):(this.width=n.width,this.height=this._length=e.height-this._margins.top-this._margins.bottom)}_calculatePadding(n,e,i,r){const{ticks:{align:o,padding:s},position:a}=this.options,l=0!==this.labelRotation,c="top"!==a&&"x"===this.axis;if(this.isHorizontal()){const p=this.getPixelForTick(0)-this.left,m=this.right-this.getPixelForTick(this.ticks.length-1);let _=0,C=0;l?c?(_=r*n.width,C=i*e.height):(_=i*n.height,C=r*e.width):"start"===o?C=e.width:"end"===o?_=n.width:"inner"!==o&&(_=n.width/2,C=e.width/2),this.paddingLeft=Math.max((_-p+s)*this.width/(this.width-p),0),this.paddingRight=Math.max((C-m+s)*this.width/(this.width-m),0)}else{let p=e.height/2,m=n.height/2;"start"===o?(p=0,m=n.height):"end"===o&&(p=e.height,m=0),this.paddingTop=p+s,this.paddingBottom=m+s}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){Fi(this.options.afterFit,[this])}isHorizontal(){const{axis:n,position:e}=this.options;return"top"===e||"bottom"===e||"x"===n}isFullSize(){return this.options.fullSize}_convertTicksToLabels(n){let e,i;for(this.beforeTickToLabelConversion(),this.generateTickLabels(n),e=0,i=n.length;e{const i=e.gc,r=i.length/2;let o;if(r>n){for(o=0;o({width:o[De]||0,height:s[De]||0});return{first:ve(0),last:ve(e-1),widest:ve(X),highest:ve(se),widths:o,heights:s}}getLabelForValue(n){return n}getPixelForValue(n,e){return NaN}getValueForPixel(n){}getPixelForTick(n){const e=this.ticks;return n<0||n>e.length-1?null:this.getPixelForValue(e[n].value)}getPixelForDecimal(n){this._reversePixels&&(n=1-n);const e=this._startPixel+n*this._length;return function ede(t){return Yr(t,-32768,32767)}(this._alignToPixels?qu(this.chart,e,0):e)}getDecimalForPixel(n){const e=(n-this._startPixel)/this._length;return this._reversePixels?1-e:e}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){const{min:n,max:e}=this;return n<0&&e<0?e:n>0&&e>0?n:0}getContext(n){const e=this.ticks||[];if(n>=0&&na*r?a/i:l/r:l*r0}_computeGridLineItems(n){const e=this.axis,i=this.chart,r=this.options,{grid:o,position:s}=r,a=o.offset,l=this.isHorizontal(),p=this.ticks.length+(a?1:0),m=zm(o),_=[],C=o.setContext(this.getContext()),k=C.drawBorder?C.borderWidth:0,A=k/2,P=function(pt){return qu(i,pt,k)};let N,G,U,X,se,ve,De,He,We,Ft,an,qt;if("top"===s)N=P(this.bottom),ve=this.bottom-m,He=N-A,Ft=P(n.top)+A,qt=n.bottom;else if("bottom"===s)N=P(this.top),Ft=n.top,qt=P(n.bottom)-A,ve=N+A,He=this.top+m;else if("left"===s)N=P(this.right),se=this.right-m,De=N-A,We=P(n.left)+A,an=n.right;else if("right"===s)N=P(this.left),We=n.left,an=P(n.right)-A,se=N+A,De=this.left+m;else if("x"===e){if("center"===s)N=P((n.top+n.bottom)/2+.5);else if(zn(s)){const pt=Object.keys(s)[0];N=P(this.chart.scales[pt].getPixelForValue(s[pt]))}Ft=n.top,qt=n.bottom,ve=N+A,He=ve+m}else if("y"===e){if("center"===s)N=P((n.left+n.right)/2);else if(zn(s)){const pt=Object.keys(s)[0];N=P(this.chart.scales[pt].getPixelForValue(s[pt]))}se=N-A,De=se-m,We=n.left,an=n.right}const Nn=Dn(r.ticks.maxTicksLimit,p),Ni=Math.max(1,Math.ceil(p/Nn));for(G=0;Go.value===n);return r>=0?e.setContext(this.getContext(r)).lineWidth:0}drawGrid(n){const e=this.options.grid,i=this.ctx,r=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(n));let o,s;const a=(l,c,p)=>{!p.width||!p.color||(i.save(),i.lineWidth=p.width,i.strokeStyle=p.color,i.setLineDash(p.borderDash||[]),i.lineDashOffset=p.borderDashOffset,i.beginPath(),i.moveTo(l.x,l.y),i.lineTo(c.x,c.y),i.stroke(),i.restore())};if(e.display)for(o=0,s=r.length;o{this.drawBackground(),this.drawGrid(r),this.drawTitle()}},{z:i+1,draw:()=>{this.drawBorder()}},{z:e,draw:r=>{this.drawLabels(r)}}]:[{z:e,draw:r=>{this.draw(r)}}]}getMatchingVisibleMetas(n){const e=this.chart.getSortedVisibleDatasetMetas(),i=this.axis+"AxisID",r=[];let o,s;for(o=0,s=e.length;o{const i=e.split("."),r=i.pop(),o=[t].concat(i).join("."),s=n[e].split("."),a=s.pop(),l=s.join(".");Un.route(o,r,l,a)})}(n,t.defaultRoutes),t.descriptors&&Un.describe(n,t.descriptors)}(n,s,i),this.override&&Un.override(n.id,n.overrides)),s}get(n){return this.items[n]}unregister(n){const e=this.items,i=n.id,r=this.scope;i in e&&delete e[i],r&&i in Un[r]&&(delete Un[r][i],this.override&&delete $u[i])}}var Ha=new class _fe{constructor(){this.controllers=new _y(Va,"datasets",!0),this.elements=new _y(sa,"elements"),this.plugins=new _y(Object,"plugins"),this.scales=new _y(Ju,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...n){this._each("register",n)}remove(...n){this._each("unregister",n)}addControllers(...n){this._each("register",n,this.controllers)}addElements(...n){this._each("register",n,this.elements)}addPlugins(...n){this._each("register",n,this.plugins)}addScales(...n){this._each("register",n,this.scales)}getController(n){return this._get(n,this.controllers,"controller")}getElement(n){return this._get(n,this.elements,"element")}getPlugin(n){return this._get(n,this.plugins,"plugin")}getScale(n){return this._get(n,this.scales,"scale")}removeControllers(...n){this._each("unregister",n,this.controllers)}removeElements(...n){this._each("unregister",n,this.elements)}removePlugins(...n){this._each("unregister",n,this.plugins)}removeScales(...n){this._each("unregister",n,this.scales)}_each(n,e,i){[...e].forEach(r=>{const o=i||this._getRegistryForType(r);i||o.isForType(r)||o===this.plugins&&r.id?this._exec(n,o,r):Ci(r,s=>{const a=i||this._getRegistryForType(s);this._exec(n,a,s)})})}_exec(n,e,i){const r=dk(n);Fi(i["before"+r],[],i),e[n](i),Fi(i["after"+r],[],i)}_getRegistryForType(n){for(let e=0;e{class t extends Va{update(e){const i=this._cachedMeta,{data:r=[]}=i,o=this.chart._animationsDisabled;let{start:s,count:a}=JL(i,r,o);if(this._drawStart=s,this._drawCount=a,e4(i)&&(s=0,a=r.length),this.options.showLine){const{dataset:l,_dataset:c}=i;l._chart=this.chart,l._datasetIndex=this.index,l._decimated=!!c._decimated,l.points=r;const p=this.resolveDatasetElementOptions(e);p.segment=this.options.segment,this.updateElement(l,void 0,{animated:!o,options:p},e)}this.updateElements(r,s,a,e)}addElements(){const{showLine:e}=this.options;!this.datasetElementType&&e&&(this.datasetElementType=Ha.getElement("line")),super.addElements()}updateElements(e,i,r,o){const s="reset"===o,{iScale:a,vScale:l,_stacked:c,_dataset:p}=this._cachedMeta,m=this.resolveDataElementOptions(i,o),_=this.getSharedOptions(m),C=this.includeOptions(o,_),k=a.axis,A=l.axis,{spanGaps:P,segment:N}=this.options,G=Gh(P)?P:Number.POSITIVE_INFINITY,U=this.chart._animationsDisabled||s||"none"===o;let X=i>0&&this.getParsed(i-1);for(let se=i;se0&&Math.abs(De[k]-X[k])>G,N&&(He.parsed=De,He.raw=p.data[se]),C&&(He.options=_||this.resolveDataElementOptions(se,ve.active?"active":o)),U||this.updateElement(ve,se,He,o),X=De}this.updateSharedOptions(_,o,m)}getMaxOverflow(){const e=this._cachedMeta,i=e.data||[];if(!this.options.showLine){let l=0;for(let c=i.length-1;c>=0;--c)l=Math.max(l,i[c].size(this.resolveDataElementOptions(c))/2);return l>0&&l}const r=e.dataset,o=r.options&&r.options.borderWidth||0;if(!i.length)return o;const s=i[0].size(this.resolveDataElementOptions(0)),a=i[i.length-1].size(this.resolveDataElementOptions(i.length-1));return Math.max(o,s,a)/2}}return t.id="scatter",t.defaults={datasetElementType:!1,dataElementType:"point",showLine:!1,fill:!1},t.overrides={interaction:{mode:"point"},plugins:{tooltip:{callbacks:{title:()=>"",label:n=>"("+n.label+", "+n.formattedValue+")"}}},scales:{x:{type:"linear"},y:{type:"linear"}}},t})()});function ed(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}var t5={_date:(()=>{class t{constructor(e){this.options=e||{}}init(e){}formats(){return ed()}parse(e,i){return ed()}format(e,i){return ed()}add(e,i,r){return ed()}diff(e,i,r){return ed()}startOf(e,i,r){return ed()}endOf(e,i){return ed()}}return t.override=function(n){Object.assign(t.prototype,n)},t})()};function bfe(t,n,e,i){const{controller:r,data:o,_sorted:s}=t,a=r._cachedMeta.iScale;if(a&&n===a.axis&&"r"!==n&&s&&o.length){const l=a._reversePixels?tde:Ll;if(!i)return l(o,n,e);if(r._sharedOptions){const c=o[0],p="function"==typeof c.getRange&&c.getRange(n);if(p){const m=l(o,n,e-p),_=l(o,n,e+p);return{lo:m.lo,hi:_.hi}}}}return{lo:0,hi:o.length-1}}function Wm(t,n,e,i,r){const o=t.getSortedVisibleDatasetMetas(),s=e[n];for(let a=0,l=o.length;a{l[s](n[e],r)&&(o.push({element:l,datasetIndex:c,index:p}),a=a||l.inRange(n.x,n.y,r))}),i&&!a?[]:o}var Sfe={evaluateInteractionItems:Wm,modes:{index(t,n,e,i){const r=Qu(n,t),o=e.axis||"x",s=e.includeInvisible||!1,a=e.intersect?Rk(t,r,o,i,s):Fk(t,r,o,!1,i,s),l=[];return a.length?(t.getSortedVisibleDatasetMetas().forEach(c=>{const p=a[0].index,m=c.data[p];m&&!m.skip&&l.push({element:m,datasetIndex:c.index,index:p})}),l):[]},dataset(t,n,e,i){const r=Qu(n,t),o=e.axis||"xy",s=e.includeInvisible||!1;let a=e.intersect?Rk(t,r,o,i,s):Fk(t,r,o,!1,i,s);if(a.length>0){const l=a[0].datasetIndex,c=t.getDatasetMeta(l).data;a=[];for(let p=0;pRk(t,Qu(n,t),e.axis||"xy",i,e.includeInvisible||!1),nearest:(t,n,e,i)=>Fk(t,Qu(n,t),e.axis||"xy",e.intersect,i,e.includeInvisible||!1),x:(t,n,e,i)=>n5(t,Qu(n,t),"x",e.intersect,i),y:(t,n,e,i)=>n5(t,Qu(n,t),"y",e.intersect,i)}};const r5=["left","top","right","bottom"];function jm(t,n){return t.filter(e=>e.pos===n)}function o5(t,n){return t.filter(e=>-1===r5.indexOf(e.pos)&&e.box.axis===n)}function Um(t,n){return t.sort((e,i)=>{const r=n?i:e,o=n?e:i;return r.weight===o.weight?r.index-o.index:r.weight-o.weight})}function s5(t,n,e,i){return Math.max(t[e],n[e])+Math.max(t[i],n[i])}function a5(t,n){t.top=Math.max(t.top,n.top),t.left=Math.max(t.left,n.left),t.bottom=Math.max(t.bottom,n.bottom),t.right=Math.max(t.right,n.right)}function Tfe(t,n,e,i){const{pos:r,box:o}=e,s=t.maxPadding;if(!zn(r)){e.size&&(t[r]-=e.size);const m=i[e.stack]||{size:0,count:1};m.size=Math.max(m.size,e.horizontal?o.height:o.width),e.size=m.size/m.count,t[r]+=e.size}o.getPadding&&a5(s,o.getPadding());const a=Math.max(0,n.outerWidth-s5(s,t,"left","right")),l=Math.max(0,n.outerHeight-s5(s,t,"top","bottom")),c=a!==t.w,p=l!==t.h;return t.w=a,t.h=l,e.horizontal?{same:c,other:p}:{same:p,other:c}}function Afe(t,n){const e=n.maxPadding;return function i(r){const o={left:0,top:0,right:0,bottom:0};return r.forEach(s=>{o[s]=Math.max(n[s],e[s])}),o}(t?["left","right"]:["top","bottom"])}function Gm(t,n,e,i){const r=[];let o,s,a,l,c,p;for(o=0,s=t.length,c=0;oc.box.fullSize),!0),i=Um(jm(n,"left"),!0),r=Um(jm(n,"right")),o=Um(jm(n,"top"),!0),s=Um(jm(n,"bottom")),a=o5(n,"x"),l=o5(n,"y");return{fullSize:e,leftAndTop:i.concat(o),rightAndBottom:r.concat(l).concat(s).concat(a),chartArea:jm(n,"chartArea"),vertical:i.concat(r).concat(l),horizontal:o.concat(s).concat(a)}}(t.boxes),l=a.vertical,c=a.horizontal;Ci(t.boxes,A=>{"function"==typeof A.beforeLayout&&A.beforeLayout()});const p=l.reduce((A,P)=>P.box.options&&!1===P.box.options.display?A:A+1,0)||1,m=Object.freeze({outerWidth:n,outerHeight:e,padding:r,availableWidth:o,availableHeight:s,vBoxMaxWidth:o/2/p,hBoxMaxHeight:s/2}),_=Object.assign({},r);a5(_,bo(i));const C=Object.assign({maxPadding:_,w:o,h:s,x:r.left,y:r.top},r),k=function Dfe(t,n){const e=function kfe(t){const n={};for(const e of t){const{stack:i,pos:r,stackWeight:o}=e;if(!i||!r5.includes(r))continue;const s=n[i]||(n[i]={count:0,placed:0,weight:0,size:0});s.count++,s.weight+=o}return n}(t),{vBoxMaxWidth:i,hBoxMaxHeight:r}=n;let o,s,a;for(o=0,s=t.length;o{const P=A.box;Object.assign(P,t.chartArea),P.update(C.w,C.h,{left:0,top:0,right:0,bottom:0})})}};class c5{acquireContext(n,e){}releaseContext(n){return!1}addEventListener(n,e,i){}removeEventListener(n,e,i){}getDevicePixelRatio(){return 1}getMaximumSize(n,e,i,r){return e=Math.max(0,e||n.width),i=i||n.height,{width:e,height:Math.max(0,r?Math.floor(e/r):i)}}isAttached(n){return!0}updateConfig(n){}}class Ofe extends c5{acquireContext(n){return n&&n.getContext&&n.getContext("2d")||null}updateConfig(n){n.options.animation=!1}}const by="$chartjs",Ife={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},u5=t=>null===t||""===t,d5=!!lhe&&{passive:!0};function Ffe(t,n,e){t.canvas.removeEventListener(n,e,d5)}function yy(t,n){for(const e of t)if(e===n||e.contains(n))return!0}function Lfe(t,n,e){const i=t.canvas,r=new MutationObserver(o=>{let s=!1;for(const a of o)s=s||yy(a.addedNodes,i),s=s&&!yy(a.removedNodes,i);s&&e()});return r.observe(document,{childList:!0,subtree:!0}),r}function Bfe(t,n,e){const i=t.canvas,r=new MutationObserver(o=>{let s=!1;for(const a of o)s=s||yy(a.removedNodes,i),s=s&&!yy(a.addedNodes,i);s&&e()});return r.observe(document,{childList:!0,subtree:!0}),r}const $m=new Map;let h5=0;function f5(){const t=window.devicePixelRatio;t!==h5&&(h5=t,$m.forEach((n,e)=>{e.currentDevicePixelRatio!==t&&n()}))}function zfe(t,n,e){const i=t.canvas,r=i&&Ek(i);if(!r)return;const o=XL((a,l)=>{const c=r.clientWidth;e(a,l),c{const l=a[0],c=l.contentRect.width,p=l.contentRect.height;0===c&&0===p||o(c,p)});return s.observe(r),function Vfe(t,n){$m.size||window.addEventListener("resize",f5),$m.set(t,n)}(t,o),s}function Nk(t,n,e){e&&e.disconnect(),"resize"===n&&function Hfe(t){$m.delete(t),$m.size||window.removeEventListener("resize",f5)}(t)}function Wfe(t,n,e){const i=t.canvas,r=XL(o=>{null!==t.ctx&&e(function Nfe(t,n){const e=Ife[t.type]||t.type,{x:i,y:r}=Qu(t,n);return{type:e,chart:n,native:t,x:void 0!==i?i:null,y:void 0!==r?r:null}}(o,t))},t,o=>{const s=o[0];return[s,s.offsetX,s.offsetY]});return function Rfe(t,n,e){t.addEventListener(n,e,d5)}(i,n,r),r}class jfe extends c5{acquireContext(n,e){const i=n&&n.getContext&&n.getContext("2d");return i&&i.canvas===n?(function Pfe(t,n){const e=t.style,i=t.getAttribute("height"),r=t.getAttribute("width");if(t[by]={initial:{height:i,width:r,style:{display:e.display,height:e.height,width:e.width}}},e.display=e.display||"block",e.boxSizing=e.boxSizing||"border-box",u5(r)){const o=M4(t,"width");void 0!==o&&(t.width=o)}if(u5(i))if(""===t.style.height)t.height=t.width/(n||2);else{const o=M4(t,"height");void 0!==o&&(t.height=o)}}(n,e),i):null}releaseContext(n){const e=n.canvas;if(!e[by])return!1;const i=e[by].initial;["height","width"].forEach(o=>{const s=i[o];Xn(s)?e.removeAttribute(o):e.setAttribute(o,s)});const r=i.style||{};return Object.keys(r).forEach(o=>{e.style[o]=r[o]}),e.width=e.width,delete e[by],!0}addEventListener(n,e,i){this.removeEventListener(n,e),(n.$proxies||(n.$proxies={}))[e]=({attach:Lfe,detach:Bfe,resize:zfe}[e]||Wfe)(n,e,i)}removeEventListener(n,e){const i=n.$proxies||(n.$proxies={}),r=i[e];r&&(({attach:Nk,detach:Nk,resize:Nk}[e]||Ffe)(n,e,r),i[e]=void 0)}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(n,e,i,r){return function ahe(t,n,e,i){const r=py(t),o=Zu(r,"margin"),s=fy(r.maxWidth,t,"clientWidth")||iy,a=fy(r.maxHeight,t,"clientHeight")||iy,l=function she(t,n,e){let i,r;if(void 0===n||void 0===e){const o=Ek(t);if(o){const s=o.getBoundingClientRect(),a=py(o),l=Zu(a,"border","width"),c=Zu(a,"padding");n=s.width-c.width-l.width,e=s.height-c.height-l.height,i=fy(a.maxWidth,o,"clientWidth"),r=fy(a.maxHeight,o,"clientHeight")}else n=t.clientWidth,e=t.clientHeight}return{width:n,height:e,maxWidth:i||iy,maxHeight:r||iy}}(t,n,e);let{width:c,height:p}=l;if("content-box"===r.boxSizing){const m=Zu(r,"border","width"),_=Zu(r,"padding");c-=_.width+m.width,p-=_.height+m.height}return c=Math.max(0,c-o.width),p=Math.max(0,i?Math.floor(c/i):p-o.height),c=Ak(Math.min(c,s,l.maxWidth)),p=Ak(Math.min(p,a,l.maxHeight)),c&&!p&&(p=Ak(c/2)),{width:c,height:p}}(n,e,i,r)}isAttached(n){const e=Ek(n);return!(!e||!e.isConnected)}}class Gfe{constructor(){this._init=[]}notify(n,e,i,r){"beforeInit"===e&&(this._init=this._createDescriptors(n,!0),this._notify(this._init,n,"install"));const o=r?this._descriptors(n).filter(r):this._descriptors(n),s=this._notify(o,n,e,i);return"afterDestroy"===e&&(this._notify(o,n,"stop"),this._notify(this._init,n,"uninstall")),s}_notify(n,e,i,r){r=r||{};for(const o of n){const s=o.plugin;if(!1===Fi(s[i],[e,r,o.options],s)&&r.cancelable)return!1}return!0}invalidate(){Xn(this._cache)||(this._oldCache=this._cache,this._cache=void 0)}_descriptors(n){if(this._cache)return this._cache;const e=this._cache=this._createDescriptors(n);return this._notifyStateChanges(n),e}_createDescriptors(n,e){const i=n&&n.config,r=Dn(i.options&&i.options.plugins,{}),o=function $fe(t){const n={},e=[],i=Object.keys(Ha.plugins.items);for(let o=0;oo.filter(a=>!s.some(l=>a.plugin.id===l.plugin.id));this._notify(r(e,i),n,"stop"),this._notify(r(i,e),n,"start")}}function qfe(t,n){return n||!1!==t?!0===t?{}:t:null}function Kfe(t,{plugin:n,local:e},i,r){const o=t.pluginScopeKeys(n),s=t.getOptionScopes(i,o);return e&&n.defaults&&s.push(n.defaults),t.createResolver(s,r,[""],{scriptable:!1,indexable:!1,allKeys:!0})}function Lk(t,n){return((n.datasets||{})[t]||{}).indexAxis||n.indexAxis||(Un.datasets[t]||{}).indexAxis||"x"}function Bk(t,n){return"x"===t||"y"===t?t:n.axis||function Xfe(t){return"top"===t||"bottom"===t?"x":"left"===t||"right"===t?"y":void 0}(n.position)||t.charAt(0).toLowerCase()}function p5(t){const n=t.options||(t.options={});n.plugins=Dn(n.plugins,{}),n.scales=function Jfe(t,n){const e=$u[t.type]||{scales:{}},i=n.scales||{},r=Lk(t.type,n),o=Object.create(null),s=Object.create(null);return Object.keys(i).forEach(a=>{const l=i[a];if(!zn(l))return console.error(`Invalid scale configuration for scale: ${a}`);if(l._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${a}`);const c=Bk(a,l),p=function Qfe(t,n){return t===n?"_index_":"_value_"}(c,r),m=e.scales||{};o[c]=o[c]||a,s[a]=Tm(Object.create(null),[{axis:c},l,m[c],m[p]])}),t.data.datasets.forEach(a=>{const l=a.type||t.type,c=a.indexAxis||Lk(l,n),m=($u[l]||{}).scales||{};Object.keys(m).forEach(_=>{const C=function Zfe(t,n){let e=t;return"_index_"===t?e=n:"_value_"===t&&(e="x"===n?"y":"x"),e}(_,c),k=a[C+"AxisID"]||o[C]||C;s[k]=s[k]||Object.create(null),Tm(s[k],[{axis:C},i[k],m[_]])})}),Object.keys(s).forEach(a=>{const l=s[a];Tm(l,[Un.scales[l.type],Un.scale])}),s}(t,n)}function m5(t){return(t=t||{}).datasets=t.datasets||[],t.labels=t.labels||[],t}const g5=new Map,_5=new Set;function wy(t,n){let e=g5.get(t);return e||(e=n(),g5.set(t,e),_5.add(e)),e}const qm=(t,n,e)=>{const i=Ec(n,e);void 0!==i&&t.add(i)};class tpe{constructor(n){this._config=function epe(t){return(t=t||{}).data=m5(t.data),p5(t),t}(n),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(n){this._config.type=n}get data(){return this._config.data}set data(n){this._config.data=m5(n)}get options(){return this._config.options}set options(n){this._config.options=n}get plugins(){return this._config.plugins}update(){const n=this._config;this.clearCache(),p5(n)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(n){return wy(n,()=>[[`datasets.${n}`,""]])}datasetAnimationScopeKeys(n,e){return wy(`${n}.transition.${e}`,()=>[[`datasets.${n}.transitions.${e}`,`transitions.${e}`],[`datasets.${n}`,""]])}datasetElementScopeKeys(n,e){return wy(`${n}-${e}`,()=>[[`datasets.${n}.elements.${e}`,`datasets.${n}`,`elements.${e}`,""]])}pluginScopeKeys(n){const e=n.id;return wy(`${this.type}-plugin-${e}`,()=>[[`plugins.${e}`,...n.additionalOptionScopes||[]]])}_cachedScopes(n,e){const i=this._scopeCache;let r=i.get(n);return(!r||e)&&(r=new Map,i.set(n,r)),r}getOptionScopes(n,e,i){const{options:r,type:o}=this,s=this._cachedScopes(n,i),a=s.get(e);if(a)return a;const l=new Set;e.forEach(p=>{n&&(l.add(n),p.forEach(m=>qm(l,n,m))),p.forEach(m=>qm(l,r,m)),p.forEach(m=>qm(l,$u[o]||{},m)),p.forEach(m=>qm(l,Un,m)),p.forEach(m=>qm(l,Ck,m))});const c=Array.from(l);return 0===c.length&&c.push(Object.create(null)),_5.has(e)&&s.set(e,c),c}chartOptionScopes(){const{options:n,type:e}=this;return[n,$u[e]||{},Un.datasets[e]||{},{type:e},Un,Ck]}resolveNamedOptions(n,e,i,r=[""]){const o={$shared:!0},{resolver:s,subPrefixes:a}=v5(this._resolverCache,n,r);let l=s;(function ipe(t,n){const{isScriptable:e,isIndexable:i}=_4(t);for(const r of n){const o=e(r),s=i(r),a=(s||o)&&t[r];if(o&&(Ac(a)||npe(a))||s&&Ri(a))return!0}return!1})(s,e)&&(o.$shared=!1,l=qh(s,i=Ac(i)?i():i,this.createResolver(n,i,a)));for(const c of e)o[c]=l[c];return o}createResolver(n,e,i=[""],r){const{resolver:o}=v5(this._resolverCache,n,i);return zn(e)?qh(o,e,void 0,r):o}}function v5(t,n,e){let i=t.get(n);i||(i=new Map,t.set(n,i));const r=e.join();let o=i.get(r);return o||(o={resolver:Dk(n,e),subPrefixes:e.filter(a=>!a.toLowerCase().includes("hover"))},i.set(r,o)),o}const npe=t=>zn(t)&&Object.getOwnPropertyNames(t).reduce((n,e)=>n||Ac(t[e]),!1),ope=["top","bottom","left","right","chartArea"];function b5(t,n){return"top"===t||"bottom"===t||-1===ope.indexOf(t)&&"x"===n}function y5(t,n){return function(e,i){return e[t]===i[t]?e[n]-i[n]:e[t]-i[t]}}function w5(t){const n=t.chart,e=n.options.animation;n.notifyPlugins("afterRender"),Fi(e&&e.onComplete,[t],n)}function spe(t){const n=t.chart,e=n.options.animation;Fi(e&&e.onProgress,[t],n)}function C5(t){return k4()&&"string"==typeof t?t=document.getElementById(t):t&&t.length&&(t=t[0]),t&&t.canvas&&(t=t.canvas),t}const Cy={},S5=t=>{const n=C5(t);return Object.values(Cy).filter(e=>e.canvas===n).pop()};function ape(t,n,e){const i=Object.keys(t);for(const r of i){const o=+r;if(o>=n){const s=t[r];delete t[r],(e>0||o>n)&&(t[o+e]=s)}}}class Zh{constructor(n,e){const i=this.config=new tpe(e),r=C5(n),o=S5(r);if(o)throw new Error("Canvas is already in use. Chart with ID '"+o.id+"' must be destroyed before the canvas with ID '"+o.canvas.id+"' can be reused.");const s=i.createResolver(i.chartOptionScopes(),this.getContext());this.platform=new(i.platform||function Ufe(t){return!k4()||typeof OffscreenCanvas<"u"&&t instanceof OffscreenCanvas?Ofe:jfe}(r)),this.platform.updateConfig(i);const a=this.platform.acquireContext(r,s.aspectRatio),l=a&&a.canvas,c=l&&l.height,p=l&&l.width;this.id=Wue(),this.ctx=a,this.canvas=l,this.width=p,this.height=c,this._options=s,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new Gfe,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=function rde(t,n){let e;return function(...i){return n?(clearTimeout(e),e=setTimeout(t,n,i)):t.apply(this,i),n}}(m=>this.update(m),s.resizeDelay||0),this._dataChanges=[],Cy[this.id]=this,a&&l?(Vl.listen(this,"complete",w5),Vl.listen(this,"progress",spe),this._initialize(),this.attached&&this.update()):console.error("Failed to create chart: can't acquire context from the given item")}get aspectRatio(){const{options:{aspectRatio:n,maintainAspectRatio:e},width:i,height:r,_aspectRatio:o}=this;return Xn(n)?e&&o?o:r?i/r:null:n}get data(){return this.config.data}set data(n){this.config.data=n}get options(){return this._options}set options(n){this.config.options=n}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():D4(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return p4(this.canvas,this.ctx),this}stop(){return Vl.stop(this),this}resize(n,e){Vl.running(this)?this._resizeBeforeDraw={width:n,height:e}:this._resize(n,e)}_resize(n,e){const i=this.options,s=this.platform.getMaximumSize(this.canvas,n,e,i.maintainAspectRatio&&this.aspectRatio),a=i.devicePixelRatio||this.platform.getDevicePixelRatio(),l=this.width?"resize":"attach";this.width=s.width,this.height=s.height,this._aspectRatio=this.aspectRatio,D4(this,a,!0)&&(this.notifyPlugins("resize",{size:s}),Fi(i.onResize,[this,s],this),this.attached&&this._doResize(l)&&this.render())}ensureScalesHaveIDs(){Ci(this.options.scales||{},(i,r)=>{i.id=r})}buildOrUpdateScales(){const n=this.options,e=n.scales,i=this.scales,r=Object.keys(i).reduce((s,a)=>(s[a]=!1,s),{});let o=[];e&&(o=o.concat(Object.keys(e).map(s=>{const a=e[s],l=Bk(s,a),c="r"===l,p="x"===l;return{options:a,dposition:c?"chartArea":p?"bottom":"left",dtype:c?"radialLinear":p?"category":"linear"}}))),Ci(o,s=>{const a=s.options,l=a.id,c=Bk(l,a),p=Dn(a.type,s.dtype);(void 0===a.position||b5(a.position,c)!==b5(s.dposition))&&(a.position=s.dposition),r[l]=!0;let m=null;l in i&&i[l].type===p?m=i[l]:(m=new(Ha.getScale(p))({id:l,type:p,ctx:this.ctx,chart:this}),i[m.id]=m),m.init(a,n)}),Ci(r,(s,a)=>{s||delete i[a]}),Ci(i,s=>{yo.configure(this,s,s.options),yo.addBox(this,s)})}_updateMetasets(){const n=this._metasets,e=this.data.datasets.length,i=n.length;if(n.sort((r,o)=>r.index-o.index),i>e){for(let r=e;re.length&&delete this._stacks,n.forEach((i,r)=>{0===e.filter(o=>o===i._dataset).length&&this._destroyDatasetMeta(r)})}buildOrUpdateControllers(){const n=[],e=this.data.datasets;let i,r;for(this._removeUnreferencedMetasets(),i=0,r=e.length;i{this.getDatasetMeta(e).controller.reset()},this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(n){const e=this.config;e.update();const i=this._options=e.createResolver(e.chartOptionScopes(),this.getContext()),r=this._animationsDisabled=!i.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),!1===this.notifyPlugins("beforeUpdate",{mode:n,cancelable:!0}))return;const o=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let s=0;for(let c=0,p=this.data.datasets.length;c{c.reset()}),this._updateDatasets(n),this.notifyPlugins("afterUpdate",{mode:n}),this._layers.sort(y5("z","_idx"));const{_active:a,_lastEvent:l}=this;l?this._eventHandler(l,!0):a.length&&this._updateHoverStyles(a,a,!0),this.render()}_updateScales(){Ci(this.scales,n=>{yo.removeBox(this,n)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const n=this.options,e=new Set(Object.keys(this._listeners)),i=new Set(n.events);(!WL(e,i)||!!this._responsiveListeners!==n.responsive)&&(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:n}=this,e=this._getUniformDataChanges()||[];for(const{method:i,start:r,count:o}of e)ape(n,r,"_removeElements"===i?-o:o)}_getUniformDataChanges(){const n=this._dataChanges;if(!n||!n.length)return;this._dataChanges=[];const e=this.data.datasets.length,i=o=>new Set(n.filter(s=>s[0]===o).map((s,a)=>a+","+s.splice(1).join(","))),r=i(0);for(let o=1;oo.split(",")).map(o=>({method:o[1],start:+o[2],count:+o[3]}))}_updateLayout(n){if(!1===this.notifyPlugins("beforeLayout",{cancelable:!0}))return;yo.update(this,this.width,this.height,n);const e=this.chartArea,i=e.width<=0||e.height<=0;this._layers=[],Ci(this.boxes,r=>{i&&"chartArea"===r.position||(r.configure&&r.configure(),this._layers.push(...r._layers()))},this),this._layers.forEach((r,o)=>{r._idx=o}),this.notifyPlugins("afterLayout")}_updateDatasets(n){if(!1!==this.notifyPlugins("beforeDatasetsUpdate",{mode:n,cancelable:!0})){for(let e=0,i=this.data.datasets.length;e=0;--e)this._drawDataset(n[e]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(n){const e=this.ctx,i=n._clip,r=!i.disabled,o=this.chartArea,s={meta:n,index:n.index,cancelable:!0};!1!==this.notifyPlugins("beforeDatasetDraw",s)&&(r&&uy(e,{left:!1===i.left?0:o.left-i.left,right:!1===i.right?this.width:o.right+i.right,top:!1===i.top?0:o.top-i.top,bottom:!1===i.bottom?this.height:o.bottom+i.bottom}),n.controller.draw(),r&&dy(e),s.cancelable=!1,this.notifyPlugins("afterDatasetDraw",s))}isPointInArea(n){return Nm(n,this.chartArea,this._minPadding)}getElementsAtEventForMode(n,e,i,r){const o=Sfe.modes[e];return"function"==typeof o?o(this,n,i,r):[]}getDatasetMeta(n){const e=this.data.datasets[n],i=this._metasets;let r=i.filter(o=>o&&o._dataset===e).pop();return r||(r={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:e&&e.order||0,index:n,_dataset:e,_parsed:[],_sorted:!1},i.push(r)),r}getContext(){return this.$context||(this.$context=Pc(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(n){const e=this.data.datasets[n];if(!e)return!1;const i=this.getDatasetMeta(n);return"boolean"==typeof i.hidden?!i.hidden:!e.hidden}setDatasetVisibility(n,e){this.getDatasetMeta(n).hidden=!e}toggleDataVisibility(n){this._hiddenIndices[n]=!this._hiddenIndices[n]}getDataVisibility(n){return!this._hiddenIndices[n]}_updateVisibility(n,e,i){const r=i?"show":"hide",o=this.getDatasetMeta(n),s=o.controller._resolveAnimations(void 0,r);Is(e)?(o.data[e].hidden=!i,this.update()):(this.setDatasetVisibility(n,i),s.update(o,{visible:i}),this.update(a=>a.datasetIndex===n?r:void 0))}hide(n,e){this._updateVisibility(n,e,!1)}show(n,e){this._updateVisibility(n,e,!0)}_destroyDatasetMeta(n){const e=this._metasets[n];e&&e.controller&&e.controller._destroy(),delete this._metasets[n]}_stop(){let n,e;for(this.stop(),Vl.remove(this),n=0,e=this.data.datasets.length;n{e.addEventListener(this,o,s),n[o]=s},r=(o,s,a)=>{o.offsetX=s,o.offsetY=a,this._eventHandler(o)};Ci(this.options.events,o=>i(o,r))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const n=this._responsiveListeners,e=this.platform,i=(l,c)=>{e.addEventListener(this,l,c),n[l]=c},r=(l,c)=>{n[l]&&(e.removeEventListener(this,l,c),delete n[l])},o=(l,c)=>{this.canvas&&this.resize(l,c)};let s;const a=()=>{r("attach",a),this.attached=!0,this.resize(),i("resize",o),i("detach",s)};s=()=>{this.attached=!1,r("resize",o),this._stop(),this._resize(0,0),i("attach",a)},e.isAttached(this.canvas)?a():s()}unbindEvents(){Ci(this._listeners,(n,e)=>{this.platform.removeEventListener(this,e,n)}),this._listeners={},Ci(this._responsiveListeners,(n,e)=>{this.platform.removeEventListener(this,e,n)}),this._responsiveListeners=void 0}updateHoverStyle(n,e,i){const r=i?"set":"remove";let o,s,a,l;for("dataset"===e&&(o=this.getDatasetMeta(n[0].datasetIndex),o.controller["_"+r+"DatasetHoverStyle"]()),a=0,l=n.length;a{const a=this.getDatasetMeta(o);if(!a)throw new Error("No dataset found at index "+o);return{datasetIndex:o,element:a.data[s],index:s}});!ty(i,e)&&(this._active=i,this._lastEvent=null,this._updateHoverStyles(i,e))}notifyPlugins(n,e,i){return this._plugins.notify(this,n,e,i)}_updateHoverStyles(n,e,i){const r=this.options.hover,o=(l,c)=>l.filter(p=>!c.some(m=>p.datasetIndex===m.datasetIndex&&p.index===m.index)),s=o(e,n),a=i?n:o(n,e);s.length&&this.updateHoverStyle(s,r.mode,!1),a.length&&r.mode&&this.updateHoverStyle(a,r.mode,!0)}_eventHandler(n,e){const i={event:n,replay:e,cancelable:!0,inChartArea:this.isPointInArea(n)},r=s=>(s.options.events||this.options.events).includes(n.native.type);if(!1===this.notifyPlugins("beforeEvent",i,r))return;const o=this._handleEvent(n,e,i.inChartArea);return i.cancelable=!1,this.notifyPlugins("afterEvent",i,r),(o||i.changed)&&this.render(),this}_handleEvent(n,e,i){const{_active:r=[],options:o}=this,a=this._getActiveElements(n,r,i,e),l=function Yue(t){return"mouseup"===t.type||"click"===t.type||"contextmenu"===t.type}(n),c=function lpe(t,n,e,i){return e&&"mouseout"!==t.type?i?n:t:null}(n,this._lastEvent,i,l);i&&(this._lastEvent=null,Fi(o.onHover,[n,a,this],this),l&&Fi(o.onClick,[n,a,this],this));const p=!ty(a,r);return(p||e)&&(this._active=a,this._updateHoverStyles(a,r,e)),this._lastEvent=c,p}_getActiveElements(n,e,i,r){if("mouseout"===n.type)return[];if(!i)return e;const o=this.options.hover;return this.getElementsAtEventForMode(n,o.mode,o,r)}}const x5=()=>Ci(Zh.instances,t=>t._plugins.invalidate()),Rc=!0;function k5(t,n,e){const{startAngle:i,pixelMargin:r,x:o,y:s,outerRadius:a,innerRadius:l}=n;let c=r/a;t.beginPath(),t.arc(o,s,a,i-c,e+c),l>r?(c=r/l,t.arc(o,s,l,e+c,i-c,!0)):t.arc(o,s,r,e+fr,i-fr),t.closePath(),t.clip()}function Qh(t,n,e,i){return{x:e+t*Math.cos(n),y:i+t*Math.sin(n)}}function Vk(t,n,e,i,r,o){const{x:s,y:a,startAngle:l,pixelMargin:c,innerRadius:p}=n,m=Math.max(n.outerRadius+i+e-c,0),_=p>0?p+i+e+c:0;let C=0;const k=r-l;if(i){const je=((p>0?p-i:0)+(m>0?m-i:0))/2;C=(k-(0!==je?k*je/(je+i):k))/2}const P=(k-Math.max(.001,k*m-e/er)/m)/2,N=l+P+C,G=r-P-C,{outerStart:U,outerEnd:X,innerStart:se,innerEnd:ve}=function upe(t,n,e,i){const r=function cpe(t){return kk(t,["outerStart","outerEnd","innerStart","innerEnd"])}(t.options.borderRadius),o=(e-n)/2,s=Math.min(o,i*n/2),a=l=>{const c=(e-Math.min(o,l))*i/2;return Yr(l,0,Math.min(o,c))};return{outerStart:a(r.outerStart),outerEnd:a(r.outerEnd),innerStart:Yr(r.innerStart,0,s),innerEnd:Yr(r.innerEnd,0,s)}}(n,_,m,G-N),De=m-U,He=m-X,We=N+U/De,Ft=G-X/He,an=_+se,qt=_+ve,Nn=N+se/an,Ni=G-ve/qt;if(t.beginPath(),o){if(t.arc(s,a,m,We,Ft),X>0){const je=Qh(He,Ft,s,a);t.arc(je.x,je.y,X,Ft,G+fr)}const pt=Qh(qt,G,s,a);if(t.lineTo(pt.x,pt.y),ve>0){const je=Qh(qt,Ni,s,a);t.arc(je.x,je.y,ve,G+fr,Ni+Math.PI)}if(t.arc(s,a,_,G-ve/_,N+se/_,!0),se>0){const je=Qh(an,Nn,s,a);t.arc(je.x,je.y,se,Nn+Math.PI,N-fr)}const Re=Qh(De,N,s,a);if(t.lineTo(Re.x,Re.y),U>0){const je=Qh(De,We,s,a);t.arc(je.x,je.y,U,N-fr,We)}}else{t.moveTo(s,a);const pt=Math.cos(We)*m+s,Re=Math.sin(We)*m+a;t.lineTo(pt,Re);const je=Math.cos(Ft)*m+s,At=Math.sin(Ft)*m+a;t.lineTo(je,At)}t.closePath()}Object.defineProperties(Zh,{defaults:{enumerable:Rc,value:Un},instances:{enumerable:Rc,value:Cy},overrides:{enumerable:Rc,value:$u},registry:{enumerable:Rc,value:Ha},version:{enumerable:Rc,value:"3.9.1"},getChart:{enumerable:Rc,value:S5},register:{enumerable:Rc,value:(...t)=>{Ha.add(...t),x5()}},unregister:{enumerable:Rc,value:(...t)=>{Ha.remove(...t),x5()}}});class Sy extends sa{constructor(n){super(),this.options=void 0,this.circumference=void 0,this.startAngle=void 0,this.endAngle=void 0,this.innerRadius=void 0,this.outerRadius=void 0,this.pixelMargin=0,this.fullCircles=0,n&&Object.assign(this,n)}inRange(n,e,i){const r=this.getProps(["x","y"],i),{angle:o,distance:s}=qL(r,{x:n,y:e}),{startAngle:a,endAngle:l,innerRadius:c,outerRadius:p,circumference:m}=this.getProps(["startAngle","endAngle","innerRadius","outerRadius","circumference"],i),_=this.options.spacing/2,k=Dn(m,l-a)>=Mi||Om(o,a,l),A=Nl(s,c+_,p+_);return k&&A}getCenterPoint(n){const{x:e,y:i,startAngle:r,endAngle:o,innerRadius:s,outerRadius:a}=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius","circumference"],n),{offset:l,spacing:c}=this.options,p=(r+o)/2,m=(s+a+c+l)/2;return{x:e+Math.cos(p)*m,y:i+Math.sin(p)*m}}tooltipPosition(n){return this.getCenterPoint(n)}draw(n){const{options:e,circumference:i}=this,r=(e.offset||0)/2,o=(e.spacing||0)/2,s=e.circular;if(this.pixelMargin="inner"===e.borderAlign?.33:0,this.fullCircles=i>Mi?Math.floor(i/Mi):0,0===i||this.innerRadius<0||this.outerRadius<0)return;n.save();let a=0;if(r){a=r/2;const c=(this.startAngle+this.endAngle)/2;n.translate(Math.cos(c)*a,Math.sin(c)*a),this.circumference>=er&&(a=r)}n.fillStyle=e.backgroundColor,n.strokeStyle=e.borderColor;const l=function dpe(t,n,e,i,r){const{fullCircles:o,startAngle:s,circumference:a}=n;let l=n.endAngle;if(o){Vk(t,n,e,i,s+Mi,r);for(let c=0;ca&&o>a)?i+c-l:c-l}}function gpe(t,n,e,i){const{points:r,options:o}=n,{count:s,start:a,loop:l,ilen:c}=M5(r,e,i),p=function mpe(t){return t.stepped?Ode:t.tension||"monotone"===t.cubicInterpolationMode?Ide:ppe}(o);let C,k,A,{move:m=!0,reverse:_}=i||{};for(C=0;C<=c;++C)k=r[(a+(_?c-C:C))%s],!k.skip&&(m?(t.moveTo(k.x,k.y),m=!1):p(t,A,k,_,o.stepped),A=k);return l&&(k=r[(a+(_?c:0))%s],p(t,A,k,_,o.stepped)),!!l}function _pe(t,n,e,i){const r=n.points,{count:o,start:s,ilen:a}=M5(r,e,i),{move:l=!0,reverse:c}=i||{};let _,C,k,A,P,N,p=0,m=0;const G=X=>(s+(c?a-X:X))%o,U=()=>{A!==P&&(t.lineTo(p,P),t.lineTo(p,A),t.lineTo(p,N))};for(l&&(C=r[G(0)],t.moveTo(C.x,C.y)),_=0;_<=a;++_){if(C=r[G(_)],C.skip)continue;const X=C.x,se=C.y,ve=0|X;ve===k?(seP&&(P=se),p=(m*p+X)/++m):(U(),t.lineTo(X,se),k=ve,m=0,A=P=se),N=se}U()}function Hk(t){const n=t.options;return t._decimated||t._loop||n.tension||"monotone"===n.cubicInterpolationMode||n.stepped||n.borderDash&&n.borderDash.length?gpe:_pe}Sy.id="arc",Sy.defaults={borderAlign:"center",borderColor:"#fff",borderJoinStyle:void 0,borderRadius:0,borderWidth:2,offset:0,spacing:0,angle:void 0,circular:!0},Sy.defaultRoutes={backgroundColor:"backgroundColor"};const wpe="function"==typeof Path2D;let xy=(()=>{class t extends sa{constructor(e){super(),this.animated=!0,this.options=void 0,this._chart=void 0,this._loop=void 0,this._fullLoop=void 0,this._path=void 0,this._points=void 0,this._segments=void 0,this._decimated=!1,this._pointsUpdated=!1,this._datasetIndex=void 0,e&&Object.assign(this,e)}updateControlPoints(e,i){const r=this.options;!r.tension&&"monotone"!==r.cubicInterpolationMode||r.stepped||this._pointsUpdated||(the(this._points,r,e,r.spanGaps?this._loop:this._fullLoop,i),this._pointsUpdated=!0)}set points(e){this._points=e,delete this._segments,delete this._path,this._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||(this._segments=function _he(t,n){const e=t.points,i=t.options.spanGaps,r=e.length;if(!r)return[];const o=!!t._loop,{start:s,end:a}=function mhe(t,n,e,i){let r=0,o=n-1;if(e&&!i)for(;rr&&t[o%n].skip;)o--;return o%=n,{start:r,end:o}}(e,r,o,i);return function F4(t,n,e,i){return i&&i.setContext&&e?function vhe(t,n,e,i){const r=t._chart.getContext(),o=N4(t.options),{_datasetIndex:s,options:{spanGaps:a}}=t,l=e.length,c=[];let p=o,m=n[0].start,_=m;function C(k,A,P,N){const G=a?-1:1;if(k!==A){for(k+=l;e[k%l].skip;)k-=G;for(;e[A%l].skip;)A+=G;k%l!=A%l&&(c.push({start:k%l,end:A%l,loop:P,style:N}),p=N,m=A%l)}}for(const k of n){m=a?m:k.start;let P,A=e[m%l];for(_=m+1;_<=k.end;_++){const N=e[_%l];P=N4(i.setContext(Pc(r,{type:"segment",p0:A,p1:N,p0DataIndex:(_-1)%l,p1DataIndex:_%l,datasetIndex:s}))),bhe(P,p)&&C(m,_-1,k.loop,p),A=N,p=P}m<_-1&&C(m,_-1,k.loop,p)}return c}(t,n,e,i):n}(t,!0===i?[{start:s,end:a,loop:o}]:function ghe(t,n,e,i){const r=t.length,o=[];let l,s=n,a=t[n];for(l=n+1;l<=e;++l){const c=t[l%r];c.skip||c.stop?a.skip||(o.push({start:n%r,end:(l-1)%r,loop:i=!1}),n=s=c.stop?l:null):(s=l,a.skip&&(n=l)),a=c}return null!==s&&o.push({start:n%r,end:s%r,loop:i}),o}(e,s,a"borderDash"!==n&&"fill"!==n},t})();function T5(t,n,e,i){const r=t.options,{[e]:o}=t.getProps([e],i);return Math.abs(n-o){class t extends sa{constructor(e){super(),this.options=void 0,this.parsed=void 0,this.skip=void 0,this.stop=void 0,e&&Object.assign(this,e)}inRange(e,i,r){const o=this.options,{x:s,y:a}=this.getProps(["x","y"],r);return Math.pow(e-s,2)+Math.pow(i-a,2){A5(n)})}var Ppe={id:"decimation",defaults:{algorithm:"min-max",enabled:!1},beforeElementsUpdate:(t,n,e)=>{if(!e.enabled)return void O5(t);const i=t.width;t.data.datasets.forEach((r,o)=>{const{_data:s,indexAxis:a}=r,l=t.getDatasetMeta(o),c=s||r.data;if("y"===Bm([a,t.options.indexAxis])||!l.controller.supportsDecimation)return;const p=t.scales[l.xAxisID];if("linear"!==p.type&&"time"!==p.type||t.options.parsing)return;let k,{start:m,count:_}=function Ipe(t,n){const e=n.length;let r,i=0;const{iScale:o}=t,{min:s,max:a,minDefined:l,maxDefined:c}=o.getUserBounds();return l&&(i=Yr(Ll(n,o.axis,s).lo,0,e-1)),r=c?Yr(Ll(n,o.axis,a).hi+1,i,e)-i:e-i,{start:i,count:r}}(l,c);if(_<=(e.threshold||4*i))A5(r);else{switch(Xn(s)&&(r._data=c,delete r.data,Object.defineProperty(r,"data",{configurable:!0,enumerable:!0,get:function(){return this._decimated},set:function(A){this._data=A}})),e.algorithm){case"lttb":k=function Ape(t,n,e,i,r){const o=r.samples||i;if(o>=e)return t.slice(n,n+e);const s=[],a=(e-2)/(o-2);let l=0;const c=n+e-1;let m,_,C,k,A,p=n;for(s[l++]=t[p],m=0;mC&&(C=k,_=t[G],A=G);s[l++]=_,p=A}return s[l++]=t[c],s}(c,m,_,i,e);break;case"min-max":k=function Ope(t,n,e,i){let s,a,l,c,p,m,_,C,k,A,r=0,o=0;const P=[],G=t[n].x,X=t[n+e-1].x-G;for(s=n;sA&&(A=c,_=s),r=(o*r+a.x)/++o;else{const ve=s-1;if(!Xn(m)&&!Xn(_)){const De=Math.min(m,_),He=Math.max(m,_);De!==C&&De!==ve&&P.push({...t[De],x:r}),He!==C&&He!==ve&&P.push({...t[He],x:r})}s>0&&ve!==C&&P.push(t[ve]),P.push(a),p=se,o=0,k=A=c,m=_=C=s}}return P}(c,m,_,i);break;default:throw new Error(`Unsupported decimation algorithm '${e.algorithm}'`)}r._decimated=k}})},destroy(t){O5(t)}};function jk(t,n,e,i){if(i)return;let r=n[t],o=e[t];return"angle"===t&&(r=as(r),o=as(o)),{property:t,start:r,end:o}}function Uk(t,n,e){for(;n>t;n--){const i=e[n];if(!isNaN(i.x)&&!isNaN(i.y))break}return n}function I5(t,n,e,i){return t&&n?i(t[e],n[e]):t?t[e]:n?n[e]:0}function P5(t,n){let e=[],i=!1;return Ri(t)?(i=!0,e=t):e=function Fpe(t,n){const{x:e=null,y:i=null}=t||{},r=n.points,o=[];return n.segments.forEach(({start:s,end:a})=>{a=Uk(s,a,r);const l=r[s],c=r[a];null!==i?(o.push({x:l.x,y:i}),o.push({x:c.x,y:i})):null!==e&&(o.push({x:e,y:l.y}),o.push({x:e,y:c.y}))}),o}(t,n),e.length?new xy({points:e,options:{tension:0},_loop:i,_fullLoop:i}):null}function R5(t){return t&&!1!==t.fill}function Npe(t,n,e){let r=t[n].fill;const o=[n];let s;if(!e)return r;for(;!1!==r&&-1===o.indexOf(r);){if(!Cr(r))return r;if(s=t[r],!s)return!1;if(s.visible)return r;o.push(r),r=s.fill}return!1}function Lpe(t,n,e){const i=function zpe(t){const n=t.options,e=n.fill;let i=Dn(e&&e.target,e);return void 0===i&&(i=!!n.backgroundColor),!1!==i&&null!==i&&(!0===i?"origin":i)}(t);if(zn(i))return!isNaN(i.value)&&i;let r=parseFloat(i);return Cr(r)&&Math.floor(r)===r?function Bpe(t,n,e,i){return("-"===t||"+"===t)&&(e=n+e),!(e===n||e<0||e>=i)&&e}(i[0],n,r,e):["origin","start","end","stack","shape"].indexOf(i)>=0&&i}function Upe(t,n,e){const i=[];for(let r=0;r=0;--s){const a=r[s].$filler;!a||(a.line.updateControlPoints(o,a.axis),i&&a.fill&&Gk(t.ctx,a,o))}},beforeDatasetsDraw(t,n,e){if("beforeDatasetsDraw"!==e.drawTime)return;const i=t.getSortedVisibleDatasetMetas();for(let r=i.length-1;r>=0;--r){const o=i[r].$filler;R5(o)&&Gk(t.ctx,o,t.chartArea)}},beforeDatasetDraw(t,n,e){const i=n.meta.$filler;!R5(i)||"beforeDatasetDraw"!==e.drawTime||Gk(t.ctx,i,t.chartArea)},defaults:{propagate:!0,drawTime:"beforeDatasetDraw"}};const V5=(t,n)=>{let{boxHeight:e=n,boxWidth:i=n}=t;return t.usePointStyle&&(e=Math.min(e,n),i=t.pointStyleWidth||Math.min(i,n)),{boxWidth:i,boxHeight:e,itemHeight:Math.max(n,e)}};class H5 extends sa{constructor(n){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=n.chart,this.options=n.options,this.ctx=n.ctx,this.legendItems=void 0,this.columnSizes=void 0,this.lineWidths=void 0,this.maxHeight=void 0,this.maxWidth=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.height=void 0,this.width=void 0,this._margins=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(n,e,i){this.maxWidth=n,this.maxHeight=e,this._margins=i,this.setDimensions(),this.buildLabels(),this.fit()}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=this._margins.left,this.right=this.width):(this.height=this.maxHeight,this.top=this._margins.top,this.bottom=this.height)}buildLabels(){const n=this.options.labels||{};let e=Fi(n.generateLabels,[this.chart],this)||[];n.filter&&(e=e.filter(i=>n.filter(i,this.chart.data))),n.sort&&(e=e.sort((i,r)=>n.sort(i,r,this.chart.data))),this.options.reverse&&e.reverse(),this.legendItems=e}fit(){const{options:n,ctx:e}=this;if(!n.display)return void(this.width=this.height=0);const i=n.labels,r=Hr(i.font),o=r.size,s=this._computeTitleHeight(),{boxWidth:a,itemHeight:l}=V5(i,o);let c,p;e.font=r.string,this.isHorizontal()?(c=this.maxWidth,p=this._fitRows(s,o,a,l)+10):(p=this.maxHeight,c=this._fitCols(s,o,a,l)+10),this.width=Math.min(c,n.maxWidth||this.maxWidth),this.height=Math.min(p,n.maxHeight||this.maxHeight)}_fitRows(n,e,i,r){const{ctx:o,maxWidth:s,options:{labels:{padding:a}}}=this,l=this.legendHitBoxes=[],c=this.lineWidths=[0],p=r+a;let m=n;o.textAlign="left",o.textBaseline="middle";let _=-1,C=-p;return this.legendItems.forEach((k,A)=>{const P=i+e/2+o.measureText(k.text).width;(0===A||c[c.length-1]+P+2*a>s)&&(m+=p,c[c.length-(A>0?0:1)]=0,C+=p,_++),l[A]={left:0,top:C,row:_,width:P,height:r},c[c.length-1]+=P+a}),m}_fitCols(n,e,i,r){const{ctx:o,maxHeight:s,options:{labels:{padding:a}}}=this,l=this.legendHitBoxes=[],c=this.columnSizes=[],p=s-n;let m=a,_=0,C=0,k=0,A=0;return this.legendItems.forEach((P,N)=>{const G=i+e/2+o.measureText(P.text).width;N>0&&C+r+2*a>p&&(m+=_+a,c.push({width:_,height:C}),k+=_+a,A++,_=C=0),l[N]={left:k,top:C,col:A,width:G,height:r},_=Math.max(_,G),C+=r+a}),m+=_,c.push({width:_,height:C}),m}adjustHitBoxes(){if(!this.options.display)return;const n=this._computeTitleHeight(),{legendHitBoxes:e,options:{align:i,labels:{padding:r},rtl:o}}=this,s=Kh(o,this.left,this.width);if(this.isHorizontal()){let a=0,l=vo(i,this.left+r,this.right-this.lineWidths[a]);for(const c of e)a!==c.row&&(a=c.row,l=vo(i,this.left+r,this.right-this.lineWidths[a])),c.top+=this.top+n+r,c.left=s.leftForLtr(s.x(l),c.width),l+=c.width+r}else{let a=0,l=vo(i,this.top+n+r,this.bottom-this.columnSizes[a].height);for(const c of e)c.col!==a&&(a=c.col,l=vo(i,this.top+n+r,this.bottom-this.columnSizes[a].height)),c.top=l,c.left+=this.left+r,c.left=s.leftForLtr(s.x(c.left),c.width),l+=c.height+r}}isHorizontal(){return"top"===this.options.position||"bottom"===this.options.position}draw(){if(this.options.display){const n=this.ctx;uy(n,this),this._draw(),dy(n)}}_draw(){const{options:n,columnSizes:e,lineWidths:i,ctx:r}=this,{align:o,labels:s}=n,a=Un.color,l=Kh(n.rtl,this.left,this.width),c=Hr(s.font),{color:p,padding:m}=s,_=c.size,C=_/2;let k;this.drawTitle(),r.textAlign=l.textAlign("left"),r.textBaseline="middle",r.lineWidth=.5,r.font=c.string;const{boxWidth:A,boxHeight:P,itemHeight:N}=V5(s,_),X=this.isHorizontal(),se=this._computeTitleHeight();k=X?{x:vo(o,this.left+m,this.right-i[0]),y:this.top+m+se,line:0}:{x:this.left+m,y:vo(o,this.top+se+m,this.bottom-e[0].height),line:0},E4(this.ctx,n.textDirection);const ve=N+m;this.legendItems.forEach((De,He)=>{r.strokeStyle=De.fontColor||p,r.fillStyle=De.fontColor||p;const We=r.measureText(De.text).width,Ft=l.textAlign(De.textAlign||(De.textAlign=s.textAlign)),an=A+C+We;let qt=k.x,Nn=k.y;l.setWidth(this.width),X?He>0&&qt+an+m>this.right&&(Nn=k.y+=ve,k.line++,qt=k.x=vo(o,this.left+m,this.right-i[k.line])):He>0&&Nn+ve>this.bottom&&(qt=k.x=qt+e[k.line].width+m,k.line++,Nn=k.y=vo(o,this.top+se+m,this.bottom-e[k.line].height)),function(De,He,We){if(isNaN(A)||A<=0||isNaN(P)||P<0)return;r.save();const Ft=Dn(We.lineWidth,1);if(r.fillStyle=Dn(We.fillStyle,a),r.lineCap=Dn(We.lineCap,"butt"),r.lineDashOffset=Dn(We.lineDashOffset,0),r.lineJoin=Dn(We.lineJoin,"miter"),r.lineWidth=Ft,r.strokeStyle=Dn(We.strokeStyle,a),r.setLineDash(Dn(We.lineDash,[])),s.usePointStyle){const an={radius:P*Math.SQRT2/2,pointStyle:We.pointStyle,rotation:We.rotation,borderWidth:Ft},qt=l.xPlus(De,A/2);m4(r,an,qt,He+C,s.pointStyleWidth&&A)}else{const an=He+Math.max((_-P)/2,0),qt=l.leftForLtr(De,A),Nn=Ku(We.borderRadius);r.beginPath(),Object.values(Nn).some(Ni=>0!==Ni)?Lm(r,{x:qt,y:an,w:A,h:P,radius:Nn}):r.rect(qt,an,A,P),r.fill(),0!==Ft&&r.stroke()}r.restore()}(l.x(qt),Nn,De),qt=((t,n,e,i)=>t===(i?"left":"right")?e:"center"===t?(n+e)/2:n)(Ft,qt+A+C,X?qt+an:this.right,n.rtl),function(De,He,We){Yu(r,We.text,De,He+N/2,c,{strikethrough:We.hidden,textAlign:l.textAlign(We.textAlign)})}(l.x(qt),Nn,De),X?k.x+=an+m:k.y+=ve}),A4(this.ctx,n.textDirection)}drawTitle(){const n=this.options,e=n.title,i=Hr(e.font),r=bo(e.padding);if(!e.display)return;const o=Kh(n.rtl,this.left,this.width),s=this.ctx,a=e.position,c=r.top+i.size/2;let p,m=this.left,_=this.width;if(this.isHorizontal())_=Math.max(...this.lineWidths),p=this.top+c,m=vo(n.align,m,this.right-_);else{const k=this.columnSizes.reduce((A,P)=>Math.max(A,P.height),0);p=c+vo(n.align,this.top,this.bottom-k-n.labels.padding-this._computeTitleHeight())}const C=vo(a,m,m+_);s.textAlign=o.textAlign(mk(a)),s.textBaseline="middle",s.strokeStyle=e.color,s.fillStyle=e.color,s.font=i.string,Yu(s,e.text,C,p,i)}_computeTitleHeight(){const n=this.options.title,e=Hr(n.font),i=bo(n.padding);return n.display?e.lineHeight+i.height:0}_getLegendItemAt(n,e){let i,r,o;if(Nl(n,this.left,this.right)&&Nl(e,this.top,this.bottom))for(o=this.legendHitBoxes,i=0;inull!==t&&null!==n&&t.datasetIndex===n.datasetIndex&&t.index===n.index)(r,i);r&&!o&&Fi(e.onLeave,[n,r,this],this),this._hoveredItem=i,i&&!o&&Fi(e.onHover,[n,i,this],this)}else i&&Fi(e.onClick,[n,i,this],this)}}var nme={id:"legend",_element:H5,start(t,n,e){const i=t.legend=new H5({ctx:t.ctx,options:e,chart:t});yo.configure(t,i,e),yo.addBox(t,i)},stop(t){yo.removeBox(t,t.legend),delete t.legend},beforeUpdate(t,n,e){const i=t.legend;yo.configure(t,i,e),i.options=e},afterUpdate(t){const n=t.legend;n.buildLabels(),n.adjustHitBoxes()},afterEvent(t,n){n.replay||t.legend.handleEvent(n.event)},defaults:{display:!0,position:"top",align:"center",fullSize:!0,reverse:!1,weight:1e3,onClick(t,n,e){const i=n.datasetIndex,r=e.chart;r.isDatasetVisible(i)?(r.hide(i),n.hidden=!0):(r.show(i),n.hidden=!1)},onHover:null,onLeave:null,labels:{color:t=>t.chart.options.color,boxWidth:40,padding:10,generateLabels(t){const n=t.data.datasets,{labels:{usePointStyle:e,pointStyle:i,textAlign:r,color:o}}=t.legend.options;return t._getSortedDatasetMetas().map(s=>{const a=s.controller.getStyle(e?0:void 0),l=bo(a.borderWidth);return{text:n[s.index].label,fillStyle:a.backgroundColor,fontColor:o,hidden:!s.visible,lineCap:a.borderCapStyle,lineDash:a.borderDash,lineDashOffset:a.borderDashOffset,lineJoin:a.borderJoinStyle,lineWidth:(l.width+l.height)/4,strokeStyle:a.borderColor,pointStyle:i||a.pointStyle,rotation:a.rotation,textAlign:r||a.textAlign,borderRadius:0,datasetIndex:s.index}},this)}},title:{color:t=>t.chart.options.color,display:!1,position:"center",text:""}},descriptors:{_scriptable:t=>!t.startsWith("on"),labels:{_scriptable:t=>!["generateLabels","filter","sort"].includes(t)}}};class $k extends sa{constructor(n){super(),this.chart=n.chart,this.options=n.options,this.ctx=n.ctx,this._padding=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(n,e){const i=this.options;if(this.left=0,this.top=0,!i.display)return void(this.width=this.height=this.right=this.bottom=0);this.width=this.right=n,this.height=this.bottom=e;const r=Ri(i.text)?i.text.length:1;this._padding=bo(i.padding);const o=r*Hr(i.font).lineHeight+this._padding.height;this.isHorizontal()?this.height=o:this.width=o}isHorizontal(){const n=this.options.position;return"top"===n||"bottom"===n}_drawArgs(n){const{top:e,left:i,bottom:r,right:o,options:s}=this,a=s.align;let c,p,m,l=0;return this.isHorizontal()?(p=vo(a,i,o),m=e+n,c=o-i):("left"===s.position?(p=i+n,m=vo(a,r,e),l=-.5*er):(p=o-n,m=vo(a,e,r),l=.5*er),c=r-e),{titleX:p,titleY:m,maxWidth:c,rotation:l}}draw(){const n=this.ctx,e=this.options;if(!e.display)return;const i=Hr(e.font),o=i.lineHeight/2+this._padding.top,{titleX:s,titleY:a,maxWidth:l,rotation:c}=this._drawArgs(o);Yu(n,e.text,0,0,i,{color:e.color,maxWidth:l,rotation:c,textAlign:mk(e.align),textBaseline:"middle",translation:[s,a]})}}var rme={id:"title",_element:$k,start(t,n,e){!function ime(t,n){const e=new $k({ctx:t.ctx,options:n,chart:t});yo.configure(t,e,n),yo.addBox(t,e),t.titleBlock=e}(t,e)},stop(t){yo.removeBox(t,t.titleBlock),delete t.titleBlock},beforeUpdate(t,n,e){const i=t.titleBlock;yo.configure(t,i,e),i.options=e},defaults:{align:"center",display:!1,font:{weight:"bold"},fullSize:!0,padding:10,position:"top",text:"",weight:2e3},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const Dy=new WeakMap;var ome={id:"subtitle",start(t,n,e){const i=new $k({ctx:t.ctx,options:e,chart:t});yo.configure(t,i,e),yo.addBox(t,i),Dy.set(t,i)},stop(t){yo.removeBox(t,Dy.get(t)),Dy.delete(t)},beforeUpdate(t,n,e){const i=Dy.get(t);yo.configure(t,i,e),i.options=e},defaults:{align:"center",display:!1,font:{weight:"normal"},fullSize:!0,padding:0,position:"top",text:"",weight:1500},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const Ym={average(t){if(!t.length)return!1;let n,e,i=0,r=0,o=0;for(n=0,e=t.length;n-1?t.split("\n"):t}function sme(t,n){const{element:e,datasetIndex:i,index:r}=n,o=t.getDatasetMeta(i).controller,{label:s,value:a}=o.getLabelAndValue(r);return{chart:t,label:s,parsed:o.getParsed(r),raw:t.data.datasets[i].data[r],formattedValue:a,dataset:o.getDataset(),dataIndex:r,datasetIndex:i,element:e}}function z5(t,n){const e=t.chart.ctx,{body:i,footer:r,title:o}=t,{boxWidth:s,boxHeight:a}=n,l=Hr(n.bodyFont),c=Hr(n.titleFont),p=Hr(n.footerFont),m=o.length,_=r.length,C=i.length,k=bo(n.padding);let A=k.height,P=0,N=i.reduce((X,se)=>X+se.before.length+se.lines.length+se.after.length,0);N+=t.beforeBody.length+t.afterBody.length,m&&(A+=m*c.lineHeight+(m-1)*n.titleSpacing+n.titleMarginBottom),N&&(A+=C*(n.displayColors?Math.max(a,l.lineHeight):l.lineHeight)+(N-C)*l.lineHeight+(N-1)*n.bodySpacing),_&&(A+=n.footerMarginTop+_*p.lineHeight+(_-1)*n.footerSpacing);let G=0;const U=function(X){P=Math.max(P,e.measureText(X).width+G)};return e.save(),e.font=c.string,Ci(t.title,U),e.font=l.string,Ci(t.beforeBody.concat(t.afterBody),U),G=n.displayColors?s+2+n.boxPadding:0,Ci(i,X=>{Ci(X.before,U),Ci(X.lines,U),Ci(X.after,U)}),G=0,e.font=p.string,Ci(t.footer,U),e.restore(),P+=k.width,{width:P,height:A}}function cme(t,n,e,i){const{x:r,width:o}=e,{width:s,chartArea:{left:a,right:l}}=t;let c="center";return"center"===i?c=r<=(a+l)/2?"left":"right":r<=o/2?c="left":r>=s-o/2&&(c="right"),function lme(t,n,e,i){const{x:r,width:o}=i,s=e.caretSize+e.caretPadding;if("left"===t&&r+o+s>n.width||"right"===t&&r-o-s<0)return!0}(c,t,n,e)&&(c="center"),c}function W5(t,n,e){const i=e.yAlign||n.yAlign||function ame(t,n){const{y:e,height:i}=n;return et.height-i/2?"bottom":"center"}(t,e);return{xAlign:e.xAlign||n.xAlign||cme(t,n,e,i),yAlign:i}}function j5(t,n,e,i){const{caretSize:r,caretPadding:o,cornerRadius:s}=t,{xAlign:a,yAlign:l}=e,c=r+o,{topLeft:p,topRight:m,bottomLeft:_,bottomRight:C}=Ku(s);let k=function ume(t,n){let{x:e,width:i}=t;return"right"===n?e-=i:"center"===n&&(e-=i/2),e}(n,a);const A=function dme(t,n,e){let{y:i,height:r}=t;return"top"===n?i+=e:i-="bottom"===n?r+e:r/2,i}(n,l,c);return"center"===l?"left"===a?k+=c:"right"===a&&(k-=c):"left"===a?k-=Math.max(p,_)+r:"right"===a&&(k+=Math.max(m,C)+r),{x:Yr(k,0,i.width-n.width),y:Yr(A,0,i.height-n.height)}}function My(t,n,e){const i=bo(e.padding);return"center"===n?t.x+t.width/2:"right"===n?t.x+t.width-i.right:t.x+i.left}function U5(t){return za([],Hl(t))}function G5(t,n){const e=n&&n.dataset&&n.dataset.tooltip&&n.dataset.tooltip.callbacks;return e?t.override(e):t}let $5=(()=>{class t extends sa{constructor(e){super(),this.opacity=0,this._active=[],this._eventPosition=void 0,this._size=void 0,this._cachedAnimations=void 0,this._tooltipItems=[],this.$animations=void 0,this.$context=void 0,this.chart=e.chart||e._chart,this._chart=this.chart,this.options=e.options,this.dataPoints=void 0,this.title=void 0,this.beforeBody=void 0,this.body=void 0,this.afterBody=void 0,this.footer=void 0,this.xAlign=void 0,this.yAlign=void 0,this.x=void 0,this.y=void 0,this.height=void 0,this.width=void 0,this.caretX=void 0,this.caretY=void 0,this.labelColors=void 0,this.labelPointStyles=void 0,this.labelTextColors=void 0}initialize(e){this.options=e,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){const e=this._cachedAnimations;if(e)return e;const i=this.chart,r=this.options.setContext(this.getContext()),o=r.enabled&&i.options.animation&&r.animations,s=new B4(this.chart,o);return o._cacheable&&(this._cachedAnimations=Object.freeze(s)),s}getContext(){return this.$context||(this.$context=function hme(t,n,e){return Pc(t,{tooltip:n,tooltipItems:e,type:"tooltip"})}(this.chart.getContext(),this,this._tooltipItems))}getTitle(e,i){const{callbacks:r}=i,o=r.beforeTitle.apply(this,[e]),s=r.title.apply(this,[e]),a=r.afterTitle.apply(this,[e]);let l=[];return l=za(l,Hl(o)),l=za(l,Hl(s)),l=za(l,Hl(a)),l}getBeforeBody(e,i){return U5(i.callbacks.beforeBody.apply(this,[e]))}getBody(e,i){const{callbacks:r}=i,o=[];return Ci(e,s=>{const a={before:[],lines:[],after:[]},l=G5(r,s);za(a.before,Hl(l.beforeLabel.call(this,s))),za(a.lines,l.label.call(this,s)),za(a.after,Hl(l.afterLabel.call(this,s))),o.push(a)}),o}getAfterBody(e,i){return U5(i.callbacks.afterBody.apply(this,[e]))}getFooter(e,i){const{callbacks:r}=i,o=r.beforeFooter.apply(this,[e]),s=r.footer.apply(this,[e]),a=r.afterFooter.apply(this,[e]);let l=[];return l=za(l,Hl(o)),l=za(l,Hl(s)),l=za(l,Hl(a)),l}_createItems(e){const i=this._active,r=this.chart.data,o=[],s=[],a=[];let c,p,l=[];for(c=0,p=i.length;ce.filter(m,_,C,r))),e.itemSort&&(l=l.sort((m,_)=>e.itemSort(m,_,r))),Ci(l,m=>{const _=G5(e.callbacks,m);o.push(_.labelColor.call(this,m)),s.push(_.labelPointStyle.call(this,m)),a.push(_.labelTextColor.call(this,m))}),this.labelColors=o,this.labelPointStyles=s,this.labelTextColors=a,this.dataPoints=l,l}update(e,i){const r=this.options.setContext(this.getContext()),o=this._active;let s,a=[];if(o.length){const l=Ym[r.position].call(this,o,this._eventPosition);a=this._createItems(r),this.title=this.getTitle(a,r),this.beforeBody=this.getBeforeBody(a,r),this.body=this.getBody(a,r),this.afterBody=this.getAfterBody(a,r),this.footer=this.getFooter(a,r);const c=this._size=z5(this,r),p=Object.assign({},l,c),m=W5(this.chart,r,p),_=j5(r,p,m,this.chart);this.xAlign=m.xAlign,this.yAlign=m.yAlign,s={opacity:1,x:_.x,y:_.y,width:c.width,height:c.height,caretX:l.x,caretY:l.y}}else 0!==this.opacity&&(s={opacity:0});this._tooltipItems=a,this.$context=void 0,s&&this._resolveAnimations().update(this,s),e&&r.external&&r.external.call(this,{chart:this.chart,tooltip:this,replay:i})}drawCaret(e,i,r,o){const s=this.getCaretPosition(e,r,o);i.lineTo(s.x1,s.y1),i.lineTo(s.x2,s.y2),i.lineTo(s.x3,s.y3)}getCaretPosition(e,i,r){const{xAlign:o,yAlign:s}=this,{caretSize:a,cornerRadius:l}=r,{topLeft:c,topRight:p,bottomLeft:m,bottomRight:_}=Ku(l),{x:C,y:k}=e,{width:A,height:P}=i;let N,G,U,X,se,ve;return"center"===s?(se=k+P/2,"left"===o?(N=C,G=N-a,X=se+a,ve=se-a):(N=C+A,G=N+a,X=se-a,ve=se+a),U=N):(G="left"===o?C+Math.max(c,m)+a:"right"===o?C+A-Math.max(p,_)-a:this.caretX,"top"===s?(X=k,se=X-a,N=G-a,U=G+a):(X=k+P,se=X+a,N=G+a,U=G-a),ve=X),{x1:N,x2:G,x3:U,y1:X,y2:se,y3:ve}}drawTitle(e,i,r){const o=this.title,s=o.length;let a,l,c;if(s){const p=Kh(r.rtl,this.x,this.width);for(e.x=My(this,r.titleAlign,r),i.textAlign=p.textAlign(r.titleAlign),i.textBaseline="middle",a=Hr(r.titleFont),l=r.titleSpacing,i.fillStyle=r.titleColor,i.font=a.string,c=0;c0!==X)?(e.beginPath(),e.fillStyle=s.multiKeyBackground,Lm(e,{x:N,y:P,w:p,h:c,radius:U}),e.fill(),e.stroke(),e.fillStyle=a.backgroundColor,e.beginPath(),Lm(e,{x:G,y:P+1,w:p-2,h:c-2,radius:U}),e.fill()):(e.fillStyle=s.multiKeyBackground,e.fillRect(N,P,p,c),e.strokeRect(N,P,p,c),e.fillStyle=a.backgroundColor,e.fillRect(G,P+1,p-2,c-2))}e.fillStyle=this.labelTextColors[r]}drawBody(e,i,r){const{body:o}=this,{bodySpacing:s,bodyAlign:a,displayColors:l,boxHeight:c,boxWidth:p,boxPadding:m}=r,_=Hr(r.bodyFont);let C=_.lineHeight,k=0;const A=Kh(r.rtl,this.x,this.width),P=function(We){i.fillText(We,A.x(e.x+k),e.y+C/2),e.y+=C+s},N=A.textAlign(a);let G,U,X,se,ve,De,He;for(i.textAlign=a,i.textBaseline="middle",i.font=_.string,e.x=My(this,N,r),i.fillStyle=r.bodyColor,Ci(this.beforeBody,P),k=l&&"right"!==N?"center"===a?p/2+m:p+2+m:0,se=0,De=o.length;se0&&i.stroke()}_updateAnimationTarget(e){const i=this.chart,r=this.$animations,o=r&&r.x,s=r&&r.y;if(o||s){const a=Ym[e.position].call(this,this._active,this._eventPosition);if(!a)return;const l=this._size=z5(this,e),c=Object.assign({},a,this._size),p=W5(i,e,c),m=j5(e,c,p,i);(o._to!==m.x||s._to!==m.y)&&(this.xAlign=p.xAlign,this.yAlign=p.yAlign,this.width=l.width,this.height=l.height,this.caretX=a.x,this.caretY=a.y,this._resolveAnimations().update(this,m))}}_willRender(){return!!this.opacity}draw(e){const i=this.options.setContext(this.getContext());let r=this.opacity;if(!r)return;this._updateAnimationTarget(i);const o={width:this.width,height:this.height},s={x:this.x,y:this.y};r=Math.abs(r)<.001?0:r;const a=bo(i.padding);i.enabled&&(this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length)&&(e.save(),e.globalAlpha=r,this.drawBackground(s,e,o,i),E4(e,i.textDirection),s.y+=a.top,this.drawTitle(s,e,i),this.drawBody(s,e,i),this.drawFooter(s,e,i),A4(e,i.textDirection),e.restore())}getActiveElements(){return this._active||[]}setActiveElements(e,i){const r=this._active,o=e.map(({datasetIndex:l,index:c})=>{const p=this.chart.getDatasetMeta(l);if(!p)throw new Error("Cannot find a dataset at index "+l);return{datasetIndex:l,element:p.data[c],index:c}}),s=!ty(r,o),a=this._positionChanged(o,i);(s||a)&&(this._active=o,this._eventPosition=i,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(e,i,r=!0){if(i&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const o=this.options,s=this._active||[],a=this._getActiveElements(e,s,i,r),l=this._positionChanged(a,e),c=i||!ty(a,s)||l;return c&&(this._active=a,(o.enabled||o.external)&&(this._eventPosition={x:e.x,y:e.y},this.update(!0,i))),c}_getActiveElements(e,i,r,o){const s=this.options;if("mouseout"===e.type)return[];if(!o)return i;const a=this.chart.getElementsAtEventForMode(e,s.mode,s,r);return s.reverse&&a.reverse(),a}_positionChanged(e,i){const{caretX:r,caretY:o,options:s}=this,a=Ym[s.position].call(this,e,i);return!1!==a&&(r!==a.x||o!==a.y)}}return t.positioners=Ym,t})();var fme={id:"tooltip",_element:$5,positioners:Ym,afterInit(t,n,e){e&&(t.tooltip=new $5({chart:t,options:e}))},beforeUpdate(t,n,e){t.tooltip&&t.tooltip.initialize(e)},reset(t,n,e){t.tooltip&&t.tooltip.initialize(e)},afterDraw(t){const n=t.tooltip;if(n&&n._willRender()){const e={tooltip:n};if(!1===t.notifyPlugins("beforeTooltipDraw",e))return;n.draw(t.ctx),t.notifyPlugins("afterTooltipDraw",e)}},afterEvent(t,n){t.tooltip&&t.tooltip.handleEvent(n.event,n.replay,n.inChartArea)&&(n.changed=!0)},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(t,n)=>n.bodyFont.size,boxWidth:(t,n)=>n.bodyFont.size,multiKeyBackground:"#fff",displayColors:!0,boxPadding:0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:{beforeTitle:Fl,title(t){if(t.length>0){const n=t[0],e=n.chart.data.labels,i=e?e.length:0;if(this&&this.options&&"dataset"===this.options.mode)return n.dataset.label||"";if(n.label)return n.label;if(i>0&&n.dataIndex"filter"!==t&&"itemSort"!==t&&"external"!==t,_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]},pme=Object.freeze({__proto__:null,Decimation:Ppe,Filler:Jpe,Legend:nme,SubTitle:ome,Title:rme,Tooltip:fme});class Ty extends Ju{constructor(n){super(n),this._startValue=void 0,this._valueRange=0,this._addedLabels=[]}init(n){const e=this._addedLabels;if(e.length){const i=this.getLabels();for(const{index:r,label:o}of e)i[r]===o&&i.splice(r,1);this._addedLabels=[]}super.init(n)}parse(n,e){if(Xn(n))return null;const i=this.getLabels();return((t,n)=>null===t?null:Yr(Math.round(t),0,n))(e=isFinite(e)&&i[e]===n?e:function gme(t,n,e,i){const r=t.indexOf(n);return-1===r?((t,n,e,i)=>("string"==typeof n?(e=t.push(n)-1,i.unshift({index:e,label:n})):isNaN(n)&&(e=null),e))(t,n,e,i):r!==t.lastIndexOf(n)?e:r}(i,n,Dn(e,n),this._addedLabels),i.length-1)}determineDataLimits(){const{minDefined:n,maxDefined:e}=this.getUserBounds();let{min:i,max:r}=this.getMinMax(!0);"ticks"===this.options.bounds&&(n||(i=0),e||(r=this.getLabels().length-1)),this.min=i,this.max=r}buildTicks(){const n=this.min,e=this.max,i=this.options.offset,r=[];let o=this.getLabels();o=0===n&&e===o.length-1?o:o.slice(n,e+1),this._valueRange=Math.max(o.length-(i?0:1),1),this._startValue=this.min-(i?.5:0);for(let s=n;s<=e;s++)r.push({value:s});return r}getLabelForValue(n){const e=this.getLabels();return n>=0&&ne.length-1?null:this.getPixelForValue(e[n].value)}getValueForPixel(n){return Math.round(this._startValue+this.getDecimalForPixel(n)*this._valueRange)}getBasePixel(){return this.bottom}}function q5(t,n,{horizontal:e,minRotation:i}){const r=oa(i),o=(e?Math.sin(r):Math.cos(r))||.001;return Math.min(n/o,.75*n*(""+t).length)}Ty.id="category",Ty.defaults={ticks:{callback:Ty.prototype.getLabelForValue}};class Ey extends Ju{constructor(n){super(n),this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(n,e){return Xn(n)||("number"==typeof n||n instanceof Number)&&!isFinite(+n)?null:+n}handleTickRangeOptions(){const{beginAtZero:n}=this.options,{minDefined:e,maxDefined:i}=this.getUserBounds();let{min:r,max:o}=this;const s=l=>r=e?r:l,a=l=>o=i?o:l;if(n){const l=Ba(r),c=Ba(o);l<0&&c<0?a(0):l>0&&c>0&&s(0)}if(r===o){let l=1;(o>=Number.MAX_SAFE_INTEGER||r<=Number.MIN_SAFE_INTEGER)&&(l=Math.abs(.05*o)),a(o+l),n||s(r-l)}this.min=r,this.max=o}getTickLimit(){const n=this.options.ticks;let r,{maxTicksLimit:e,stepSize:i}=n;return i?(r=Math.ceil(this.max/i)-Math.floor(this.min/i)+1,r>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${i} would result generating up to ${r} ticks. Limiting to 1000.`),r=1e3)):(r=this.computeTickLimit(),e=e||11),e&&(r=Math.min(e,r)),r}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const n=this.options,e=n.ticks;let i=this.getTickLimit();i=Math.max(2,i);const s=function vme(t,n){const e=[],{bounds:r,step:o,min:s,max:a,precision:l,count:c,maxTicks:p,maxDigits:m,includeBounds:_}=t,C=o||1,k=p-1,{min:A,max:P}=n,N=!Xn(s),G=!Xn(a),U=!Xn(c),X=(P-A)/(m+1);let ve,De,He,We,se=UL((P-A)/k/C)*C;if(se<1e-14&&!N&&!G)return[{value:A},{value:P}];We=Math.ceil(P/se)-Math.floor(A/se),We>k&&(se=UL(We*se/k/C)*C),Xn(l)||(ve=Math.pow(10,l),se=Math.ceil(se*ve)/ve),"ticks"===r?(De=Math.floor(A/se)*se,He=Math.ceil(P/se)*se):(De=A,He=P),N&&G&&o&&function Xue(t,n){const e=Math.round(t);return e-n<=t&&e+n>=t}((a-s)/o,se/1e3)?(We=Math.round(Math.min((a-s)/se,p)),se=(a-s)/We,De=s,He=a):U?(De=N?s:De,He=G?a:He,We=c-1,se=(He-De)/We):(We=(He-De)/se,We=Am(We,Math.round(We),se/1e3)?Math.round(We):Math.ceil(We));const Ft=Math.max($L(se),$L(De));ve=Math.pow(10,Xn(l)?Ft:l),De=Math.round(De*ve)/ve,He=Math.round(He*ve)/ve;let an=0;for(N&&(_&&De!==s?(e.push({value:s}),De0?i:null;this._zero=!0}determineDataLimits(){const{min:n,max:e}=this.getMinMax(!0);this.min=Cr(n)?Math.max(0,n):null,this.max=Cr(e)?Math.max(0,e):null,this.options.beginAtZero&&(this._zero=!0),this.handleTickRangeOptions()}handleTickRangeOptions(){const{minDefined:n,maxDefined:e}=this.getUserBounds();let i=this.min,r=this.max;const o=l=>i=n?i:l,s=l=>r=e?r:l,a=(l,c)=>Math.pow(10,Math.floor(Ps(l))+c);i===r&&(i<=0?(o(1),s(10)):(o(a(i,-1)),s(a(r,1)))),i<=0&&o(a(r,-1)),r<=0&&s(a(i,1)),this._zero&&this.min!==this._suggestedMin&&i===a(this.min,0)&&o(a(i,-1)),this.min=i,this.max=r}buildTicks(){const n=this.options,i=function bme(t,n){const e=Math.floor(Ps(n.max)),i=Math.ceil(n.max/Math.pow(10,e)),r=[];let o=Os(t.min,Math.pow(10,Math.floor(Ps(n.min)))),s=Math.floor(Ps(o)),a=Math.floor(o/Math.pow(10,s)),l=s<0?Math.pow(10,Math.abs(s)):1;do{r.push({value:o,major:Y5(o)}),++a,10===a&&(a=1,++s,l=s>=0?1:l),o=Math.round(a*Math.pow(10,s)*l)/l}while(sr?{start:n-e,end:n}:{start:n,end:n+e}}function Cme(t,n,e,i,r){const o=Math.abs(Math.sin(e)),s=Math.abs(Math.cos(e));let a=0,l=0;i.startn.r&&(a=(i.end-n.r)/o,t.r=Math.max(t.r,n.r+a)),r.startn.b&&(l=(r.end-n.b)/s,t.b=Math.max(t.b,n.b+l))}function xme(t){return 0===t||180===t?"center":t<180?"left":"right"}function kme(t,n,e){return"right"===e?t-=n:"center"===e&&(t-=n/2),t}function Dme(t,n,e){return 90===e||270===e?t-=n/2:(e>270||e<90)&&(t-=n),t}function Z5(t,n,e,i){const{ctx:r}=t;if(e)r.arc(t.xCenter,t.yCenter,n,0,Mi);else{let o=t.getPointPosition(0,n);r.moveTo(o.x,o.y);for(let s=1;s{const r=Fi(this.options.pointLabels.callback,[e,i],this);return r||0===r?r:""}).filter((e,i)=>this.chart.getDataVisibility(i))}fit(){const n=this.options;n.display&&n.pointLabels.display?function wme(t){const n={l:t.left+t._padding.left,r:t.right-t._padding.right,t:t.top+t._padding.top,b:t.bottom-t._padding.bottom},e=Object.assign({},n),i=[],r=[],o=t._pointLabels.length,s=t.options.pointLabels,a=s.centerPointLabels?er/o:0;for(let l=0;l=0&&n=0;r--){const o=i.setContext(t.getPointLabelContext(r)),s=Hr(o.font),{x:a,y:l,textAlign:c,left:p,top:m,right:_,bottom:C}=t._pointLabelItems[r],{backdropColor:k}=o;if(!Xn(k)){const A=Ku(o.borderRadius),P=bo(o.backdropPadding);e.fillStyle=k;const N=p-P.left,G=m-P.top,U=_-p+P.width,X=C-m+P.height;Object.values(A).some(se=>0!==se)?(e.beginPath(),Lm(e,{x:N,y:G,w:U,h:X,radius:A}),e.fill()):e.fillRect(N,G,U,X)}Yu(e,t._pointLabels[r],a,l+s.lineHeight/2,s,{color:o.color,textAlign:c,textBaseline:"middle"})}}(this,o),r.display&&this.ticks.forEach((c,p)=>{0!==p&&(a=this.getDistanceFromCenterForValue(c.value),function Tme(t,n,e,i){const r=t.ctx,o=n.circular,{color:s,lineWidth:a}=n;!o&&!i||!s||!a||e<0||(r.save(),r.strokeStyle=s,r.lineWidth=a,r.setLineDash(n.borderDash),r.lineDashOffset=n.borderDashOffset,r.beginPath(),Z5(t,e,o,i),r.closePath(),r.stroke(),r.restore())}(this,r.setContext(this.getContext(p-1)),a,o))}),i.display){for(n.save(),s=o-1;s>=0;s--){const c=i.setContext(this.getPointLabelContext(s)),{color:p,lineWidth:m}=c;!m||!p||(n.lineWidth=m,n.strokeStyle=p,n.setLineDash(c.borderDash),n.lineDashOffset=c.borderDashOffset,a=this.getDistanceFromCenterForValue(e.ticks.reverse?this.min:this.max),l=this.getPointPosition(s,a),n.beginPath(),n.moveTo(this.xCenter,this.yCenter),n.lineTo(l.x,l.y),n.stroke())}n.restore()}}drawBorder(){}drawLabels(){const n=this.ctx,e=this.options,i=e.ticks;if(!i.display)return;const r=this.getIndexAngle(0);let o,s;n.save(),n.translate(this.xCenter,this.yCenter),n.rotate(r),n.textAlign="center",n.textBaseline="middle",this.ticks.forEach((a,l)=>{if(0===l&&!e.reverse)return;const c=i.setContext(this.getContext(l)),p=Hr(c.font);if(o=this.getDistanceFromCenterForValue(this.ticks[l].value),c.showLabelBackdrop){n.font=p.string,s=n.measureText(a.label).width,n.fillStyle=c.backdropColor;const m=bo(c.backdropPadding);n.fillRect(-s/2-m.left,-o-p.size/2-m.top,s+m.width,p.size+m.height)}Yu(n,a.label,0,-o,p,{color:c.color})}),n.restore()}drawTitle(){}}Km.id="radialLinear",Km.defaults={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,lineWidth:1,borderDash:[],borderDashOffset:0},grid:{circular:!1},startAngle:0,ticks:{showLabelBackdrop:!0,callback:my.formatters.numeric},pointLabels:{backdropColor:void 0,backdropPadding:2,display:!0,font:{size:10},callback:t=>t,padding:5,centerPointLabels:!1}},Km.defaultRoutes={"angleLines.color":"borderColor","pointLabels.color":"color","ticks.color":"color"},Km.descriptors={angleLines:{_fallback:"grid"}};const Ay={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},zo=Object.keys(Ay);function Ame(t,n){return t-n}function Q5(t,n){if(Xn(n))return null;const e=t._adapter,{parser:i,round:r,isoWeekday:o}=t._parseOpts;let s=n;return"function"==typeof i&&(s=i(s)),Cr(s)||(s="string"==typeof i?e.parse(s,i):e.parse(s)),null===s?null:(r&&(s="week"!==r||!Gh(o)&&!0!==o?e.startOf(s,r):e.startOf(s,"isoWeek",o)),+s)}function X5(t,n,e,i){const r=zo.length;for(let o=zo.indexOf(t);o=n?e[i]:e[r]]=!0}}else t[n]=!0}function e6(t,n,e){const i=[],r={},o=n.length;let s,a;for(s=0;s=0&&(n[l].major=!0);return n}(t,i,r,e):i}let Zk=(()=>{class t extends Ju{constructor(e){super(e),this._cache={data:[],labels:[],all:[]},this._unit="day",this._majorUnit=void 0,this._offsets={},this._normalized=!1,this._parseOpts=void 0}init(e,i){const r=e.time||(e.time={}),o=this._adapter=new t5._date(e.adapters.date);o.init(i),Tm(r.displayFormats,o.formats()),this._parseOpts={parser:r.parser,round:r.round,isoWeekday:r.isoWeekday},super.init(e),this._normalized=i.normalized}parse(e,i){return void 0===e?null:Q5(this,e)}beforeLayout(){super.beforeLayout(),this._cache={data:[],labels:[],all:[]}}determineDataLimits(){const e=this.options,i=this._adapter,r=e.time.unit||"day";let{min:o,max:s,minDefined:a,maxDefined:l}=this.getUserBounds();function c(p){!a&&!isNaN(p.min)&&(o=Math.min(o,p.min)),!l&&!isNaN(p.max)&&(s=Math.max(s,p.max))}(!a||!l)&&(c(this._getLabelBounds()),("ticks"!==e.bounds||"labels"!==e.ticks.source)&&c(this.getMinMax(!1))),o=Cr(o)&&!isNaN(o)?o:+i.startOf(Date.now(),r),s=Cr(s)&&!isNaN(s)?s:+i.endOf(Date.now(),r)+1,this.min=Math.min(o,s-1),this.max=Math.max(o+1,s)}_getLabelBounds(){const e=this.getLabelTimestamps();let i=Number.POSITIVE_INFINITY,r=Number.NEGATIVE_INFINITY;return e.length&&(i=e[0],r=e[e.length-1]),{min:i,max:r}}buildTicks(){const e=this.options,i=e.time,r=e.ticks,o="labels"===r.source?this.getLabelTimestamps():this._generate();"ticks"===e.bounds&&o.length&&(this.min=this._userMin||o[0],this.max=this._userMax||o[o.length-1]);const s=this.min,l=function nde(t,n,e){let i=0,r=t.length;for(;ii&&t[r-1]>e;)r--;return i>0||r=zo.indexOf(e);o--){const s=zo[o];if(Ay[s].common&&t._adapter.diff(r,i,s)>=n-1)return s}return zo[e?zo.indexOf(e):0]}(this,l.length,i.minUnit,this.min,this.max)),this._majorUnit=r.major.enabled&&"year"!==this._unit?function Ime(t){for(let n=zo.indexOf(t)+1,e=zo.length;n+e.value))}initOffsets(e){let o,s,i=0,r=0;this.options.offset&&e.length&&(o=this.getDecimalForValue(e[0]),i=1===e.length?1-o:(this.getDecimalForValue(e[1])-o)/2,s=this.getDecimalForValue(e[e.length-1]),r=1===e.length?s:(s-this.getDecimalForValue(e[e.length-2]))/2);const a=e.length<3?.5:.25;i=Yr(i,0,a),r=Yr(r,0,a),this._offsets={start:i,end:r,factor:1/(i+1+r)}}_generate(){const e=this._adapter,i=this.min,r=this.max,o=this.options,s=o.time,a=s.unit||X5(s.minUnit,i,r,this._getLabelCapacity(i)),l=Dn(s.stepSize,1),c="week"===a&&s.isoWeekday,p=Gh(c)||!0===c,m={};let C,k,_=i;if(p&&(_=+e.startOf(_,"isoWeek",c)),_=+e.startOf(_,p?"day":a),e.diff(r,i,a)>1e5*l)throw new Error(i+" and "+r+" are too far apart with stepSize of "+l+" "+a);const A="data"===o.ticks.source&&this.getDataTimestamps();for(C=_,k=0;CP-N).map(P=>+P)}getLabelForValue(e){const r=this.options.time;return this._adapter.format(e,r.tooltipFormat?r.tooltipFormat:r.displayFormats.datetime)}_tickFormatFunction(e,i,r,o){const s=this.options,a=s.time.displayFormats,l=this._unit,c=this._majorUnit,m=c&&a[c],_=r[i],k=this._adapter.format(e,o||(c&&m&&_&&_.major?m:l&&a[l])),A=s.ticks.callback;return A?Fi(A,[k,i,r],this):k}generateTickLabels(e){let i,r,o;for(i=0,r=e.length;i0?l:1}getDataTimestamps(){let i,r,e=this._cache.data||[];if(e.length)return e;const o=this.getMatchingVisibleMetas();if(this._normalized&&o.length)return this._cache.data=o[0].controller.getAllParsedValues(this);for(i=0,r=o.length;i=t[i].pos&&n<=t[r].pos&&({lo:i,hi:r}=Ll(t,"pos",n)),({pos:o,time:a}=t[i]),({pos:s,time:l}=t[r])):(n>=t[i].time&&n<=t[r].time&&({lo:i,hi:r}=Ll(t,"time",n)),({time:o,pos:a}=t[i]),({time:s,pos:l}=t[r]));const c=s-o;return c?a+(l-a)*(n-o)/c:a}class Qk extends Zk{constructor(n){super(n),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){const n=this._getTimestampsForTable(),e=this._table=this.buildLookupTable(n);this._minPos=Oy(e,this.min),this._tableRange=Oy(e,this.max)-this._minPos,super.initOffsets(n)}buildLookupTable(n){const{min:e,max:i}=this,r=[],o=[];let s,a,l,c,p;for(s=0,a=n.length;s=e&&c<=i&&r.push(c);if(r.length<2)return[{time:e,pos:0},{time:i,pos:1}];for(s=0,a=r.length;s1?"s":"")+" required, but only "+n.length+" present")}function $t(t){Et(1,arguments);var n=Object.prototype.toString.call(t);return t instanceof Date||"object"===zl(t)&&"[object Date]"===n?new Date(t.getTime()):"number"==typeof t||"[object Number]"===n?new Date(t):(("string"==typeof t||"[object String]"===n)&&typeof console<"u"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn((new Error).stack)),new Date(NaN))}function t6(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,i=new Array(n);e=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(c){throw c},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){e=e.call(t)},n:function(){var c=e.next();return o=c.done,c},e:function(c){s=!0,a=c},f:function(){try{!o&&null!=e.return&&e.return()}finally{if(s)throw a}}}}var Lme={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function Xk(t){return function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=n.width?String(n.width):t.defaultWidth,i=t.formats[e]||t.formats[t.defaultWidth];return i}}const Ume={date:Xk({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:Xk({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:Xk({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})};var Gme={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function Zm(t){return function(n,e){var r;if("formatting"===(null!=e&&e.context?String(e.context):"standalone")&&t.formattingValues){var o=t.defaultFormattingWidth||t.defaultWidth,s=null!=e&&e.width?String(e.width):o;r=t.formattingValues[s]||t.formattingValues[o]}else{var a=t.defaultWidth,l=null!=e&&e.width?String(e.width):t.defaultWidth;r=t.values[l]||t.values[a]}return r[t.argumentCallback?t.argumentCallback(n):n]}}const nge={ordinalNumber:function(n,e){var i=Number(n),r=i%100;if(r>20||r<10)switch(r%10){case 1:return i+"st";case 2:return i+"nd";case 3:return i+"rd"}return i+"th"},era:Zm({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:Zm({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(n){return n-1}}),month:Zm({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:Zm({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:Zm({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})};function Qm(t){return function(n){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=e.width,r=i&&t.matchPatterns[i]||t.matchPatterns[t.defaultMatchWidth],o=n.match(r);if(!o)return null;var c,s=o[0],a=i&&t.parsePatterns[i]||t.parsePatterns[t.defaultParseWidth],l=Array.isArray(a)?rge(a,function(m){return m.test(s)}):ige(a,function(m){return m.test(s)});c=t.valueCallback?t.valueCallback(l):l,c=e.valueCallback?e.valueCallback(c):c;var p=n.slice(s.length);return{value:c,rest:p}}}function ige(t,n){for(var e in t)if(t.hasOwnProperty(e)&&n(t[e]))return e}function rge(t,n){for(var e=0;e1&&void 0!==arguments[1]?arguments[1]:{},i=n.match(t.matchPattern);if(!i)return null;var r=i[0],o=n.match(t.parsePattern);if(!o)return null;var s=t.valueCallback?t.valueCallback(o[0]):o[0];s=e.valueCallback?e.valueCallback(s):s;var a=n.slice(r.length);return{value:s,rest:a}}}({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(n){return parseInt(n,10)}}),era:Qm({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:Qm({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(n){return n+1}}),month:Qm({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:Qm({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:Qm({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})};const i6={code:"en-US",formatDistance:function(n,e,i){var r,o=Lme[n];return r="string"==typeof o?o:1===e?o.one:o.other.replace("{{count}}",e.toString()),null!=i&&i.addSuffix?i.comparison&&i.comparison>0?"in "+r:r+" ago":r},formatLong:Ume,formatRelative:function(n,e,i,r){return Gme[n]},localize:nge,match:vge,options:{weekStartsOn:0,firstWeekContainsDate:1}};function $i(t){if(null===t||!0===t||!1===t)return NaN;var n=Number(t);return isNaN(n)?n:n<0?Math.ceil(n):Math.floor(n)}function Xm(t,n){Et(2,arguments);var e=$t(t).getTime(),i=$i(n);return new Date(e+i)}function r6(t,n){Et(2,arguments);var e=$i(n);return Xm(t,-e)}function yge(t,n){if(null==t)throw new TypeError("assign requires that input parameter not be null or undefined");for(var e in n)Object.prototype.hasOwnProperty.call(n,e)&&(t[e]=n[e]);return t}var o6=function(n,e){switch(n){case"P":return e.date({width:"short"});case"PP":return e.date({width:"medium"});case"PPP":return e.date({width:"long"});default:return e.date({width:"full"})}},s6=function(n,e){switch(n){case"p":return e.time({width:"short"});case"pp":return e.time({width:"medium"});case"ppp":return e.time({width:"long"});default:return e.time({width:"full"})}};const Jk={p:s6,P:function(n,e){var s,i=n.match(/(P+)(p+)?/)||[],r=i[1],o=i[2];if(!o)return o6(n,e);switch(r){case"P":s=e.dateTime({width:"short"});break;case"PP":s=e.dateTime({width:"medium"});break;case"PPP":s=e.dateTime({width:"long"});break;default:s=e.dateTime({width:"full"})}return s.replace("{{date}}",o6(r,e)).replace("{{time}}",s6(o,e))}};function Iy(t){var n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),t.getTime()-n.getTime()}var Sge=["D","DD"],xge=["YY","YYYY"];function a6(t){return-1!==Sge.indexOf(t)}function l6(t){return-1!==xge.indexOf(t)}function Py(t,n,e){if("YYYY"===t)throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(n,"`) for formatting years to the input `").concat(e,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("YY"===t)throw new RangeError("Use `yy` instead of `YY` (in `".concat(n,"`) for formatting years to the input `").concat(e,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("D"===t)throw new RangeError("Use `d` instead of `D` (in `".concat(n,"`) for formatting days of the month to the input `").concat(e,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("DD"===t)throw new RangeError("Use `dd` instead of `DD` (in `".concat(n,"`) for formatting days of the month to the input `").concat(e,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}function ft(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function eD(t,n){return(eD=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,r){return i.__proto__=r,i})(t,n)}function Jn(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),n&&eD(t,n)}function Ry(t){return(Ry=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(t)}function Dge(t,n){if(n&&("object"===zl(n)||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return ft(t)}function ei(t){var n=function kge(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var r,i=Ry(t);if(n){var o=Ry(this).constructor;r=Reflect.construct(i,arguments,o)}else r=i.apply(this,arguments);return Dge(this,r)}}function Gn(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}function c6(t){var n=function Mge(t,n){if("object"!==zl(t)||null===t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,n||"default");if("object"!==zl(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(t)}(t,"string");return"symbol"===zl(n)?n:String(n)}function u6(t,n){for(var e=0;e0,i=e?n:1-n;if(i<=50)r=t||100;else{var o=i+50;r=t+100*Math.floor(o/100)-(t>=o%100?100:0)}return e?r:1-r}function m6(t){return t%400==0||t%4==0&&t%100!=0}var Bge=function(t){Jn(e,t);var n=ei(e);function e(){var i;Gn(this,e);for(var r=arguments.length,o=new Array(r),s=0;s0}},{key:"set",value:function(r,o,s){var a=r.getUTCFullYear();if(s.isTwoDigitYear){var l=p6(s.year,a);return r.setUTCFullYear(l,0,1),r.setUTCHours(0,0,0,0),r}return r.setUTCFullYear("era"in o&&1!==o.era?1-s.year:s.year,0,1),r.setUTCHours(0,0,0,0),r}}]),e}(fi),g6={};function Nc(){return g6}function td(t,n){var e,i,r,o,s,a,l,c;Et(1,arguments);var p=Nc(),m=$i(null!==(e=null!==(i=null!==(r=null!==(o=n?.weekStartsOn)&&void 0!==o?o:null==n||null===(s=n.locale)||void 0===s||null===(a=s.options)||void 0===a?void 0:a.weekStartsOn)&&void 0!==r?r:p.weekStartsOn)&&void 0!==i?i:null===(l=p.locale)||void 0===l||null===(c=l.options)||void 0===c?void 0:c.weekStartsOn)&&void 0!==e?e:0);if(!(m>=0&&m<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var _=$t(t),C=_.getUTCDay(),k=(C=1&&C<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var k=new Date(0);k.setUTCFullYear(m+1,0,C),k.setUTCHours(0,0,0,0);var A=td(k,n),P=new Date(0);P.setUTCFullYear(m,0,C),P.setUTCHours(0,0,0,0);var N=td(P,n);return p.getTime()>=A.getTime()?m+1:p.getTime()>=N.getTime()?m:m-1}var Vge=function(t){Jn(e,t);var n=ei(e);function e(){var i;Gn(this,e);for(var r=arguments.length,o=new Array(r),s=0;s0}},{key:"set",value:function(r,o,s,a){var l=nD(r,a);if(s.isTwoDigitYear){var c=p6(s.year,l);return r.setUTCFullYear(c,0,a.firstWeekContainsDate),r.setUTCHours(0,0,0,0),td(r,a)}return r.setUTCFullYear("era"in o&&1!==o.era?1-s.year:s.year,0,a.firstWeekContainsDate),r.setUTCHours(0,0,0,0),td(r,a)}}]),e}(fi);function Xh(t){Et(1,arguments);var n=1,e=$t(t),i=e.getUTCDay(),r=(i=1&&o<=4}},{key:"set",value:function(r,o,s){return r.setUTCMonth(3*(s-1),1),r.setUTCHours(0,0,0,0),r}}]),e}(fi),jge=function(t){Jn(e,t);var n=ei(e);function e(){var i;Gn(this,e);for(var r=arguments.length,o=new Array(r),s=0;s=1&&o<=4}},{key:"set",value:function(r,o,s){return r.setUTCMonth(3*(s-1),1),r.setUTCHours(0,0,0,0),r}}]),e}(fi),Uge=function(t){Jn(e,t);var n=ei(e);function e(){var i;Gn(this,e);for(var r=arguments.length,o=new Array(r),s=0;s=0&&o<=11}},{key:"set",value:function(r,o,s){return r.setUTCMonth(s,1),r.setUTCHours(0,0,0,0),r}}]),e}(fi),Gge=function(t){Jn(e,t);var n=ei(e);function e(){var i;Gn(this,e);for(var r=arguments.length,o=new Array(r),s=0;s=0&&o<=11}},{key:"set",value:function(r,o,s){return r.setUTCMonth(s,1),r.setUTCHours(0,0,0,0),r}}]),e}(fi);function $ge(t,n){var e,i,r,o,s,a,l,c;Et(1,arguments);var p=Nc(),m=$i(null!==(e=null!==(i=null!==(r=null!==(o=n?.firstWeekContainsDate)&&void 0!==o?o:null==n||null===(s=n.locale)||void 0===s||null===(a=s.options)||void 0===a?void 0:a.firstWeekContainsDate)&&void 0!==r?r:p.firstWeekContainsDate)&&void 0!==i?i:null===(l=p.locale)||void 0===l||null===(c=l.options)||void 0===c?void 0:c.firstWeekContainsDate)&&void 0!==e?e:1),_=nD(t,n),C=new Date(0);C.setUTCFullYear(_,0,m),C.setUTCHours(0,0,0,0);var k=td(C,n);return k}function _6(t,n){Et(1,arguments);var e=$t(t),i=td(e,n).getTime()-$ge(e,n).getTime();return Math.round(i/6048e5)+1}var Kge=function(t){Jn(e,t);var n=ei(e);function e(){var i;Gn(this,e);for(var r=arguments.length,o=new Array(r),s=0;s=1&&o<=53}},{key:"set",value:function(r,o,s,a){return td(function Yge(t,n,e){Et(2,arguments);var i=$t(t),r=$i(n),o=_6(i,e)-r;return i.setUTCDate(i.getUTCDate()-7*o),i}(r,s,a),a)}}]),e}(fi);function v6(t){Et(1,arguments);var n=$t(t),e=n.getUTCFullYear(),i=new Date(0);i.setUTCFullYear(e+1,0,4),i.setUTCHours(0,0,0,0);var r=Xh(i),o=new Date(0);o.setUTCFullYear(e,0,4),o.setUTCHours(0,0,0,0);var s=Xh(o);return n.getTime()>=r.getTime()?e+1:n.getTime()>=s.getTime()?e:e-1}function Zge(t){Et(1,arguments);var n=v6(t),e=new Date(0);e.setUTCFullYear(n,0,4),e.setUTCHours(0,0,0,0);var i=Xh(e);return i}function b6(t){Et(1,arguments);var n=$t(t),e=Xh(n).getTime()-Zge(n).getTime();return Math.round(e/6048e5)+1}var Jge=function(t){Jn(e,t);var n=ei(e);function e(){var i;Gn(this,e);for(var r=arguments.length,o=new Array(r),s=0;s=1&&o<=53}},{key:"set",value:function(r,o,s){return Xh(function Xge(t,n){Et(2,arguments);var e=$t(t),i=$i(n),r=b6(e)-i;return e.setUTCDate(e.getUTCDate()-7*r),e}(r,s))}}]),e}(fi),e_e=[31,28,31,30,31,30,31,31,30,31,30,31],t_e=[31,29,31,30,31,30,31,31,30,31,30,31],n_e=function(t){Jn(e,t);var n=ei(e);function e(){var i;Gn(this,e);for(var r=arguments.length,o=new Array(r),s=0;s=1&&o<=t_e[l]:o>=1&&o<=e_e[l]}},{key:"set",value:function(r,o,s){return r.setUTCDate(s),r.setUTCHours(0,0,0,0),r}}]),e}(fi),i_e=function(t){Jn(e,t);var n=ei(e);function e(){var i;Gn(this,e);for(var r=arguments.length,o=new Array(r),s=0;s=1&&o<=366:o>=1&&o<=365}},{key:"set",value:function(r,o,s){return r.setUTCMonth(0,s),r.setUTCHours(0,0,0,0),r}}]),e}(fi);function iD(t,n,e){var i,r,o,s,a,l,c,p;Et(2,arguments);var m=Nc(),_=$i(null!==(i=null!==(r=null!==(o=null!==(s=e?.weekStartsOn)&&void 0!==s?s:null==e||null===(a=e.locale)||void 0===a||null===(l=a.options)||void 0===l?void 0:l.weekStartsOn)&&void 0!==o?o:m.weekStartsOn)&&void 0!==r?r:null===(c=m.locale)||void 0===c||null===(p=c.options)||void 0===p?void 0:p.weekStartsOn)&&void 0!==i?i:0);if(!(_>=0&&_<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var C=$t(t),k=$i(n),A=C.getUTCDay(),P=k%7,N=(P+7)%7,G=(N<_?7:0)+k-A;return C.setUTCDate(C.getUTCDate()+G),C}var r_e=function(t){Jn(e,t);var n=ei(e);function e(){var i;Gn(this,e);for(var r=arguments.length,o=new Array(r),s=0;s=0&&o<=6}},{key:"set",value:function(r,o,s,a){return(r=iD(r,s,a)).setUTCHours(0,0,0,0),r}}]),e}(fi),o_e=function(t){Jn(e,t);var n=ei(e);function e(){var i;Gn(this,e);for(var r=arguments.length,o=new Array(r),s=0;s=0&&o<=6}},{key:"set",value:function(r,o,s,a){return(r=iD(r,s,a)).setUTCHours(0,0,0,0),r}}]),e}(fi),s_e=function(t){Jn(e,t);var n=ei(e);function e(){var i;Gn(this,e);for(var r=arguments.length,o=new Array(r),s=0;s=0&&o<=6}},{key:"set",value:function(r,o,s,a){return(r=iD(r,s,a)).setUTCHours(0,0,0,0),r}}]),e}(fi),l_e=function(t){Jn(e,t);var n=ei(e);function e(){var i;Gn(this,e);for(var r=arguments.length,o=new Array(r),s=0;s=1&&o<=7}},{key:"set",value:function(r,o,s){return r=function a_e(t,n){Et(2,arguments);var e=$i(n);e%7==0&&(e-=7);var i=1,r=$t(t),o=r.getUTCDay(),l=((e%7+7)%7=1&&o<=12}},{key:"set",value:function(r,o,s){var a=r.getUTCHours()>=12;return r.setUTCHours(a&&s<12?s+12:a||12!==s?s:0,0,0,0),r}}]),e}(fi),f_e=function(t){Jn(e,t);var n=ei(e);function e(){var i;Gn(this,e);for(var r=arguments.length,o=new Array(r),s=0;s=0&&o<=23}},{key:"set",value:function(r,o,s){return r.setUTCHours(s,0,0,0),r}}]),e}(fi),p_e=function(t){Jn(e,t);var n=ei(e);function e(){var i;Gn(this,e);for(var r=arguments.length,o=new Array(r),s=0;s=0&&o<=11}},{key:"set",value:function(r,o,s){var a=r.getUTCHours()>=12;return r.setUTCHours(a&&s<12?s+12:s,0,0,0),r}}]),e}(fi),m_e=function(t){Jn(e,t);var n=ei(e);function e(){var i;Gn(this,e);for(var r=arguments.length,o=new Array(r),s=0;s=1&&o<=24}},{key:"set",value:function(r,o,s){return r.setUTCHours(s<=24?s%24:s,0,0,0),r}}]),e}(fi),g_e=function(t){Jn(e,t);var n=ei(e);function e(){var i;Gn(this,e);for(var r=arguments.length,o=new Array(r),s=0;s=0&&o<=59}},{key:"set",value:function(r,o,s){return r.setUTCMinutes(s,0,0),r}}]),e}(fi),__e=function(t){Jn(e,t);var n=ei(e);function e(){var i;Gn(this,e);for(var r=arguments.length,o=new Array(r),s=0;s=0&&o<=59}},{key:"set",value:function(r,o,s){return r.setUTCSeconds(s,0),r}}]),e}(fi),v_e=function(t){Jn(e,t);var n=ei(e);function e(){var i;Gn(this,e);for(var r=arguments.length,o=new Array(r),s=0;s2)return n;if(/:/.test(e[0])?i=e[0]:(n.date=e[0],i=e[1],By.timeZoneDelimiter.test(n.date)&&(n.date=t.split(By.timeZoneDelimiter)[0],i=t.substr(n.date.length,t.length))),i){var r=By.timezone.exec(i);r?(n.time=i.replace(r[1],""),n.timezone=r[1]):n.time=i}return n}function L_e(t,n){var e=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+n)+"})|(\\d{2}|[+-]\\d{"+(2+n)+"})$)"),i=t.match(e);if(!i)return{year:NaN,restDateString:""};var r=i[1]?parseInt(i[1]):null,o=i[2]?parseInt(i[2]):null;return{year:null===o?r:100*o,restDateString:t.slice((i[1]||i[2]).length)}}function B_e(t,n){if(null===n)return new Date(NaN);var e=t.match(P_e);if(!e)return new Date(NaN);var i=!!e[4],r=Jm(e[1]),o=Jm(e[2])-1,s=Jm(e[3]),a=Jm(e[4]),l=Jm(e[5])-1;if(i)return function G_e(t,n,e){return n>=1&&n<=53&&e>=0&&e<=6}(0,a,l)?function z_e(t,n,e){var i=new Date(0);i.setUTCFullYear(t,0,4);var o=7*(n-1)+e+1-(i.getUTCDay()||7);return i.setUTCDate(i.getUTCDate()+o),i}(n,a,l):new Date(NaN);var c=new Date(0);return function j_e(t,n,e){return n>=0&&n<=11&&e>=1&&e<=(W_e[n]||(y6(t)?29:28))}(n,o,s)&&function U_e(t,n){return n>=1&&n<=(y6(t)?366:365)}(n,r)?(c.setUTCFullYear(n,o,Math.max(r,s)),c):new Date(NaN)}function Jm(t){return t?parseInt(t):1}function V_e(t){var n=t.match(R_e);if(!n)return NaN;var e=rD(n[1]),i=rD(n[2]),r=rD(n[3]);return function $_e(t,n,e){return 24===t?0===n&&0===e:e>=0&&e<60&&n>=0&&n<60&&t>=0&&t<25}(e,i,r)?e*Ny+i*Fy+1e3*r:NaN}function rD(t){return t&&parseFloat(t.replace(",","."))||0}function H_e(t){if("Z"===t)return 0;var n=t.match(F_e);if(!n)return 0;var e="+"===n[1]?-1:1,i=parseInt(n[2]),r=n[3]&&parseInt(n[3])||0;return function q_e(t,n){return n>=0&&n<=59}(0,r)?e*(i*Ny+r*Fy):NaN}var W_e=[31,null,31,30,31,30,31,31,30,31,30,31];function y6(t){return t%400==0||t%4==0&&t%100!=0}function Y_e(t){return Et(1,arguments),t instanceof Date||"object"===zl(t)&&"[object Date]"===Object.prototype.toString.call(t)}function w6(t){if(Et(1,arguments),!Y_e(t)&&"number"!=typeof t)return!1;var n=$t(t);return!isNaN(Number(n))}function Si(t,n){for(var e=t<0?"-":"",i=Math.abs(t).toString();i.length0?i:1-i;return Si("yy"===e?r%100:r,e.length)},Lc_M=function(n,e){var i=n.getUTCMonth();return"M"===e?String(i+1):Si(i+1,2)},Lc_d=function(n,e){return Si(n.getUTCDate(),e.length)},Lc_h=function(n,e){return Si(n.getUTCHours()%12||12,e.length)},Lc_H=function(n,e){return Si(n.getUTCHours(),e.length)},Lc_m=function(n,e){return Si(n.getUTCMinutes(),e.length)},Lc_s=function(n,e){return Si(n.getUTCSeconds(),e.length)},Lc_S=function(n,e){var i=e.length,r=n.getUTCMilliseconds();return Si(Math.floor(r*Math.pow(10,i-3)),e.length)};var X_e={G:function(n,e,i){var r=n.getUTCFullYear()>0?1:0;switch(e){case"G":case"GG":case"GGG":return i.era(r,{width:"abbreviated"});case"GGGGG":return i.era(r,{width:"narrow"});default:return i.era(r,{width:"wide"})}},y:function(n,e,i){if("yo"===e){var r=n.getUTCFullYear();return i.ordinalNumber(r>0?r:1-r,{unit:"year"})}return Lc_y(n,e)},Y:function(n,e,i,r){var o=nD(n,r),s=o>0?o:1-o;return"YY"===e?Si(s%100,2):"Yo"===e?i.ordinalNumber(s,{unit:"year"}):Si(s,e.length)},R:function(n,e){return Si(v6(n),e.length)},u:function(n,e){return Si(n.getUTCFullYear(),e.length)},Q:function(n,e,i){var r=Math.ceil((n.getUTCMonth()+1)/3);switch(e){case"Q":return String(r);case"QQ":return Si(r,2);case"Qo":return i.ordinalNumber(r,{unit:"quarter"});case"QQQ":return i.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return i.quarter(r,{width:"narrow",context:"formatting"});default:return i.quarter(r,{width:"wide",context:"formatting"})}},q:function(n,e,i){var r=Math.ceil((n.getUTCMonth()+1)/3);switch(e){case"q":return String(r);case"qq":return Si(r,2);case"qo":return i.ordinalNumber(r,{unit:"quarter"});case"qqq":return i.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return i.quarter(r,{width:"narrow",context:"standalone"});default:return i.quarter(r,{width:"wide",context:"standalone"})}},M:function(n,e,i){var r=n.getUTCMonth();switch(e){case"M":case"MM":return Lc_M(n,e);case"Mo":return i.ordinalNumber(r+1,{unit:"month"});case"MMM":return i.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return i.month(r,{width:"narrow",context:"formatting"});default:return i.month(r,{width:"wide",context:"formatting"})}},L:function(n,e,i){var r=n.getUTCMonth();switch(e){case"L":return String(r+1);case"LL":return Si(r+1,2);case"Lo":return i.ordinalNumber(r+1,{unit:"month"});case"LLL":return i.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return i.month(r,{width:"narrow",context:"standalone"});default:return i.month(r,{width:"wide",context:"standalone"})}},w:function(n,e,i,r){var o=_6(n,r);return"wo"===e?i.ordinalNumber(o,{unit:"week"}):Si(o,e.length)},I:function(n,e,i){var r=b6(n);return"Io"===e?i.ordinalNumber(r,{unit:"week"}):Si(r,e.length)},d:function(n,e,i){return"do"===e?i.ordinalNumber(n.getUTCDate(),{unit:"date"}):Lc_d(n,e)},D:function(n,e,i){var r=function Z_e(t){Et(1,arguments);var n=$t(t),e=n.getTime();n.setUTCMonth(0,1),n.setUTCHours(0,0,0,0);var i=n.getTime();return Math.floor((e-i)/864e5)+1}(n);return"Do"===e?i.ordinalNumber(r,{unit:"dayOfYear"}):Si(r,e.length)},E:function(n,e,i){var r=n.getUTCDay();switch(e){case"E":case"EE":case"EEE":return i.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return i.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return i.day(r,{width:"short",context:"formatting"});default:return i.day(r,{width:"wide",context:"formatting"})}},e:function(n,e,i,r){var o=n.getUTCDay(),s=(o-r.weekStartsOn+8)%7||7;switch(e){case"e":return String(s);case"ee":return Si(s,2);case"eo":return i.ordinalNumber(s,{unit:"day"});case"eee":return i.day(o,{width:"abbreviated",context:"formatting"});case"eeeee":return i.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return i.day(o,{width:"short",context:"formatting"});default:return i.day(o,{width:"wide",context:"formatting"})}},c:function(n,e,i,r){var o=n.getUTCDay(),s=(o-r.weekStartsOn+8)%7||7;switch(e){case"c":return String(s);case"cc":return Si(s,e.length);case"co":return i.ordinalNumber(s,{unit:"day"});case"ccc":return i.day(o,{width:"abbreviated",context:"standalone"});case"ccccc":return i.day(o,{width:"narrow",context:"standalone"});case"cccccc":return i.day(o,{width:"short",context:"standalone"});default:return i.day(o,{width:"wide",context:"standalone"})}},i:function(n,e,i){var r=n.getUTCDay(),o=0===r?7:r;switch(e){case"i":return String(o);case"ii":return Si(o,e.length);case"io":return i.ordinalNumber(o,{unit:"day"});case"iii":return i.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return i.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return i.day(r,{width:"short",context:"formatting"});default:return i.day(r,{width:"wide",context:"formatting"})}},a:function(n,e,i){var o=n.getUTCHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return i.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"aaa":return i.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return i.dayPeriod(o,{width:"narrow",context:"formatting"});default:return i.dayPeriod(o,{width:"wide",context:"formatting"})}},b:function(n,e,i){var o,r=n.getUTCHours();switch(o=12===r?"noon":0===r?"midnight":r/12>=1?"pm":"am",e){case"b":case"bb":return i.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"bbb":return i.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return i.dayPeriod(o,{width:"narrow",context:"formatting"});default:return i.dayPeriod(o,{width:"wide",context:"formatting"})}},B:function(n,e,i){var o,r=n.getUTCHours();switch(o=r>=17?"evening":r>=12?"afternoon":r>=4?"morning":"night",e){case"B":case"BB":case"BBB":return i.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"BBBBB":return i.dayPeriod(o,{width:"narrow",context:"formatting"});default:return i.dayPeriod(o,{width:"wide",context:"formatting"})}},h:function(n,e,i){if("ho"===e){var r=n.getUTCHours()%12;return 0===r&&(r=12),i.ordinalNumber(r,{unit:"hour"})}return Lc_h(n,e)},H:function(n,e,i){return"Ho"===e?i.ordinalNumber(n.getUTCHours(),{unit:"hour"}):Lc_H(n,e)},K:function(n,e,i){var r=n.getUTCHours()%12;return"Ko"===e?i.ordinalNumber(r,{unit:"hour"}):Si(r,e.length)},k:function(n,e,i){var r=n.getUTCHours();return 0===r&&(r=24),"ko"===e?i.ordinalNumber(r,{unit:"hour"}):Si(r,e.length)},m:function(n,e,i){return"mo"===e?i.ordinalNumber(n.getUTCMinutes(),{unit:"minute"}):Lc_m(n,e)},s:function(n,e,i){return"so"===e?i.ordinalNumber(n.getUTCSeconds(),{unit:"second"}):Lc_s(n,e)},S:function(n,e){return Lc_S(n,e)},X:function(n,e,i,r){var s=(r._originalDate||n).getTimezoneOffset();if(0===s)return"Z";switch(e){case"X":return S6(s);case"XXXX":case"XX":return nd(s);default:return nd(s,":")}},x:function(n,e,i,r){var s=(r._originalDate||n).getTimezoneOffset();switch(e){case"x":return S6(s);case"xxxx":case"xx":return nd(s);default:return nd(s,":")}},O:function(n,e,i,r){var s=(r._originalDate||n).getTimezoneOffset();switch(e){case"O":case"OO":case"OOO":return"GMT"+C6(s,":");default:return"GMT"+nd(s,":")}},z:function(n,e,i,r){var s=(r._originalDate||n).getTimezoneOffset();switch(e){case"z":case"zz":case"zzz":return"GMT"+C6(s,":");default:return"GMT"+nd(s,":")}},t:function(n,e,i,r){return Si(Math.floor((r._originalDate||n).getTime()/1e3),e.length)},T:function(n,e,i,r){return Si((r._originalDate||n).getTime(),e.length)}};function C6(t,n){var e=t>0?"-":"+",i=Math.abs(t),r=Math.floor(i/60),o=i%60;if(0===o)return e+String(r);var s=n||"";return e+String(r)+s+Si(o,2)}function S6(t,n){return t%60==0?(t>0?"-":"+")+Si(Math.abs(t)/60,2):nd(t,n)}function nd(t,n){var e=n||"",i=t>0?"-":"+",r=Math.abs(t);return i+Si(Math.floor(r/60),2)+e+Si(r%60,2)}const J_e=X_e;var eve=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,tve=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,nve=/^'([^]*?)'?$/,ive=/''/g,rve=/[a-zA-Z]/;function sve(t){var n=t.match(nve);return n?n[1].replace(ive,"'"):t}function x6(t,n){Et(2,arguments);var e=$t(t),i=$i(n);return isNaN(i)?new Date(NaN):(i&&e.setDate(e.getDate()+i),e)}function oD(t,n){Et(2,arguments);var e=$t(t),i=$i(n);if(isNaN(i))return new Date(NaN);if(!i)return e;var r=e.getDate(),o=new Date(e.getTime());o.setMonth(e.getMonth()+i+1,0);var s=o.getDate();return r>=s?o:(e.setFullYear(o.getFullYear(),o.getMonth(),r),e)}function Vy(t,n){return Et(2,arguments),$t(t).getTime()-$t(n).getTime()}var k6={ceil:Math.ceil,round:Math.round,floor:Math.floor,trunc:function(n){return n<0?Math.ceil(n):Math.floor(n)}};function eg(t){return t?k6[t]:k6.trunc}function sD(t){Et(1,arguments);var n=$t(t);return n.setHours(0,0,0,0),n}function yve(t,n){Et(2,arguments);var e=sD(t),i=sD(n),r=e.getTime()-Iy(e),o=i.getTime()-Iy(i);return Math.round((r-o)/864e5)}function D6(t,n){var e=t.getFullYear()-n.getFullYear()||t.getMonth()-n.getMonth()||t.getDate()-n.getDate()||t.getHours()-n.getHours()||t.getMinutes()-n.getMinutes()||t.getSeconds()-n.getSeconds()||t.getMilliseconds()-n.getMilliseconds();return e<0?-1:e>0?1:e}function M6(t,n){Et(2,arguments);var e=$t(t),i=$t(n),r=D6(e,i),o=Math.abs(yve(e,i));e.setDate(e.getDate()-r*o);var s=Number(D6(e,i)===-r),a=r*(o-s);return 0===a?0:a}function Cve(t,n){Et(2,arguments);var e=$t(t),i=$t(n),r=e.getFullYear()-i.getFullYear(),o=e.getMonth()-i.getMonth();return 12*r+o}function tg(t,n){Et(2,arguments);var e=$t(t),i=$t(n),r=e.getTime()-i.getTime();return r<0?-1:r>0?1:r}function T6(t){Et(1,arguments);var n=$t(t);return n.setHours(23,59,59,999),n}function E6(t){Et(1,arguments);var n=$t(t),e=n.getMonth();return n.setFullYear(n.getFullYear(),e+1,0),n.setHours(23,59,59,999),n}function Sve(t){Et(1,arguments);var n=$t(t);return T6(n).getTime()===E6(n).getTime()}function A6(t,n){Et(2,arguments);var s,e=$t(t),i=$t(n),r=tg(e,i),o=Math.abs(Cve(e,i));if(o<1)s=0;else{1===e.getMonth()&&e.getDate()>27&&e.setDate(30),e.setMonth(e.getMonth()-r*o);var a=tg(e,i)===-r;Sve($t(t))&&1===o&&1===tg(t,i)&&(a=!1),s=r*(o-Number(a))}return 0===s?0:s}function kve(t,n){Et(2,arguments);var e=$t(t),i=$t(n);return e.getFullYear()-i.getFullYear()}function O6(t,n){var e,i,r,o,s,a,l,c;Et(1,arguments);var p=Nc(),m=$i(null!==(e=null!==(i=null!==(r=null!==(o=n?.weekStartsOn)&&void 0!==o?o:null==n||null===(s=n.locale)||void 0===s||null===(a=s.options)||void 0===a?void 0:a.weekStartsOn)&&void 0!==r?r:p.weekStartsOn)&&void 0!==i?i:null===(l=p.locale)||void 0===l||null===(c=l.options)||void 0===c?void 0:c.weekStartsOn)&&void 0!==e?e:0);if(!(m>=0&&m<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var _=$t(t),C=_.getDay(),k=(C"u")return null;const e=typeof t;return"number"===e||t instanceof Date?t=$t(t):"string"===e&&(t="string"==typeof n?function A_e(t,n,e,i){var r,o,s,a,l,c,p,m,_,C,k,A,P,N,G,U,X,se;Et(3,arguments);var ve=String(t),De=String(n),He=Nc(),We=null!==(r=null!==(o=i?.locale)&&void 0!==o?o:He.locale)&&void 0!==r?r:i6;if(!We.match)throw new RangeError("locale must contain match property");var Ft=$i(null!==(s=null!==(a=null!==(l=null!==(c=i?.firstWeekContainsDate)&&void 0!==c?c:null==i||null===(p=i.locale)||void 0===p||null===(m=p.options)||void 0===m?void 0:m.firstWeekContainsDate)&&void 0!==l?l:He.firstWeekContainsDate)&&void 0!==a?a:null===(_=He.locale)||void 0===_||null===(C=_.options)||void 0===C?void 0:C.firstWeekContainsDate)&&void 0!==s?s:1);if(!(Ft>=1&&Ft<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var an=$i(null!==(k=null!==(A=null!==(P=null!==(N=i?.weekStartsOn)&&void 0!==N?N:null==i||null===(G=i.locale)||void 0===G||null===(U=G.options)||void 0===U?void 0:U.weekStartsOn)&&void 0!==P?P:He.weekStartsOn)&&void 0!==A?A:null===(X=He.locale)||void 0===X||null===(se=X.options)||void 0===se?void 0:se.weekStartsOn)&&void 0!==k?k:0);if(!(an>=0&&an<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(""===De)return""===ve?$t(e):new Date(NaN);var je,qt={firstWeekContainsDate:Ft,weekStartsOn:an,locale:We},Nn=[new Age],Ni=De.match(k_e).map(function(Bi){var Pn=Bi[0];return Pn in Jk?(0,Jk[Pn])(Bi,We.formatLong):Bi}).join("").match(x_e),pt=[],Re=n6(Ni);try{var At=function(){var Pn=je.value;!(null!=i&&i.useAdditionalWeekYearTokens)&&l6(Pn)&&Py(Pn,De,t),(null==i||!i.useAdditionalDayOfYearTokens)&&a6(Pn)&&Py(Pn,De,t);var oo=Pn[0],Hc=S_e[oo];if(Hc){var J6=Hc.incompatibleTokens;if(Array.isArray(J6)){var eB=pt.find(function(tB){return J6.includes(tB.token)||tB.token===oo});if(eB)throw new RangeError("The format string mustn't contain `".concat(eB.fullToken,"` and `").concat(Pn,"` at the same time"))}else if("*"===Hc.incompatibleTokens&&pt.length>0)throw new RangeError("The format string mustn't contain `".concat(Pn,"` and any other token at the same time"));pt.push({token:oo,fullToken:Pn});var hD=Hc.run(ve,Pn,We.match,qt);if(!hD)return{v:new Date(NaN)};Nn.push(hD.setter),ve=hD.rest}else{if(oo.match(E_e))throw new RangeError("Format string contains an unescaped latin alphabet character `"+oo+"`");if("''"===Pn?Pn="'":"'"===oo&&(Pn=O_e(Pn)),0!==ve.indexOf(Pn))return{v:new Date(NaN)};ve=ve.slice(Pn.length)}};for(Re.s();!(je=Re.n()).done;){var An=At();if("object"===zl(An))return An.v}}catch(Bi){Re.e(Bi)}finally{Re.f()}if(ve.length>0&&T_e.test(ve))return new Date(NaN);var Ti=Nn.map(function(Bi){return Bi.priority}).sort(function(Bi,Pn){return Pn-Bi}).filter(function(Bi,Pn,oo){return oo.indexOf(Bi)===Pn}).map(function(Bi){return Nn.filter(function(Pn){return Pn.priority===Bi}).sort(function(Pn,oo){return oo.subPriority-Pn.subPriority})}).map(function(Bi){return Bi[0]}),zr=$t(e);if(isNaN(zr.getTime()))return new Date(NaN);var jl,Li=r6(zr,Iy(zr)),ro={},oi=n6(Ti);try{for(oi.s();!(jl=oi.n()).done;){var Vc=jl.value;if(!Vc.validate(Li,qt))return new Date(NaN);var kr=Vc.set(Li,ro,qt);Array.isArray(kr)?(Li=kr[0],yge(ro,kr[1])):Li=kr}}catch(Bi){oi.e(Bi)}finally{oi.f()}return Li}(t,n,new Date,this.options):function I_e(t,n){var e;Et(1,arguments);var i=$i(null!==(e=n?.additionalDigits)&&void 0!==e?e:2);if(2!==i&&1!==i&&0!==i)throw new RangeError("additionalDigits must be 0, 1 or 2");if("string"!=typeof t&&"[object String]"!==Object.prototype.toString.call(t))return new Date(NaN);var o,r=N_e(t);if(r.date){var s=L_e(r.date,i);o=B_e(s.restDateString,s.year)}if(!o||isNaN(o.getTime()))return new Date(NaN);var c,a=o.getTime(),l=0;if(r.time&&(l=V_e(r.time),isNaN(l)))return new Date(NaN);if(!r.timezone){var p=new Date(a+l),m=new Date(0);return m.setFullYear(p.getUTCFullYear(),p.getUTCMonth(),p.getUTCDate()),m.setHours(p.getUTCHours(),p.getUTCMinutes(),p.getUTCSeconds(),p.getUTCMilliseconds()),m}return c=H_e(r.timezone),isNaN(c)?new Date(NaN):new Date(a+l+c)}(t,this.options)),w6(t)?t.getTime():null},format:function(t,n){return function ove(t,n,e){var i,r,o,s,a,l,c,p,m,_,C,k,A,P,N,G,U,X;Et(2,arguments);var se=String(n),ve=Nc(),De=null!==(i=null!==(r=e?.locale)&&void 0!==r?r:ve.locale)&&void 0!==i?i:i6,He=$i(null!==(o=null!==(s=null!==(a=null!==(l=e?.firstWeekContainsDate)&&void 0!==l?l:null==e||null===(c=e.locale)||void 0===c||null===(p=c.options)||void 0===p?void 0:p.firstWeekContainsDate)&&void 0!==a?a:ve.firstWeekContainsDate)&&void 0!==s?s:null===(m=ve.locale)||void 0===m||null===(_=m.options)||void 0===_?void 0:_.firstWeekContainsDate)&&void 0!==o?o:1);if(!(He>=1&&He<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var We=$i(null!==(C=null!==(k=null!==(A=null!==(P=e?.weekStartsOn)&&void 0!==P?P:null==e||null===(N=e.locale)||void 0===N||null===(G=N.options)||void 0===G?void 0:G.weekStartsOn)&&void 0!==A?A:ve.weekStartsOn)&&void 0!==k?k:null===(U=ve.locale)||void 0===U||null===(X=U.options)||void 0===X?void 0:X.weekStartsOn)&&void 0!==C?C:0);if(!(We>=0&&We<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!De.localize)throw new RangeError("locale must contain localize property");if(!De.formatLong)throw new RangeError("locale must contain formatLong property");var Ft=$t(t);if(!w6(Ft))throw new RangeError("Invalid time value");var an=Iy(Ft),qt=r6(Ft,an),Nn={firstWeekContainsDate:He,weekStartsOn:We,locale:De,_originalDate:Ft};return se.match(tve).map(function(pt){var Re=pt[0];return"p"===Re||"P"===Re?(0,Jk[Re])(pt,De.formatLong):pt}).join("").match(eve).map(function(pt){if("''"===pt)return"'";var Re=pt[0];if("'"===Re)return sve(pt);var je=J_e[Re];if(je)return!(null!=e&&e.useAdditionalWeekYearTokens)&&l6(pt)&&Py(pt,n,String(t)),!(null!=e&&e.useAdditionalDayOfYearTokens)&&a6(pt)&&Py(pt,n,String(t)),je(qt,pt,De.localize,Nn);if(Re.match(rve))throw new RangeError("Format string contains an unescaped latin alphabet character `"+Re+"`");return pt}).join("")}(t,n,this.options)},add:function(t,n,e){switch(e){case"millisecond":return Xm(t,n);case"second":return function ave(t,n){Et(2,arguments);var e=$i(n);return Xm(t,1e3*e)}(t,n);case"minute":return function cve(t,n){Et(2,arguments);var e=$i(n);return Xm(t,6e4*e)}(t,n);case"hour":return function dve(t,n){Et(2,arguments);var e=$i(n);return Xm(t,36e5*e)}(t,n);case"day":return x6(t,n);case"week":return function hve(t,n){Et(2,arguments);var e=$i(n);return x6(t,7*e)}(t,n);case"month":return oD(t,n);case"quarter":return function fve(t,n){Et(2,arguments);var e=$i(n);return oD(t,3*e)}(t,n);case"year":return function pve(t,n){Et(2,arguments);var e=$i(n);return oD(t,12*e)}(t,n);default:return t}},diff:function(t,n,e){switch(e){case"millisecond":return Vy(t,n);case"second":return function gve(t,n,e){Et(2,arguments);var i=Vy(t,n)/1e3;return eg(e?.roundingMethod)(i)}(t,n);case"minute":return function _ve(t,n,e){Et(2,arguments);var i=Vy(t,n)/Fy;return eg(e?.roundingMethod)(i)}(t,n);case"hour":return function vve(t,n,e){Et(2,arguments);var i=Vy(t,n)/Ny;return eg(e?.roundingMethod)(i)}(t,n);case"day":return M6(t,n);case"week":return function wve(t,n,e){Et(2,arguments);var i=M6(t,n)/7;return eg(e?.roundingMethod)(i)}(t,n);case"month":return A6(t,n);case"quarter":return function xve(t,n,e){Et(2,arguments);var i=A6(t,n)/3;return eg(e?.roundingMethod)(i)}(t,n);case"year":return function Dve(t,n){Et(2,arguments);var e=$t(t),i=$t(n),r=tg(e,i),o=Math.abs(kve(e,i));e.setFullYear(1584),i.setFullYear(1584);var s=tg(e,i)===-r,a=r*(o-Number(s));return 0===a?0:a}(t,n);default:return 0}},startOf:function(t,n,e){switch(n){case"second":return function Mve(t){Et(1,arguments);var n=$t(t);return n.setMilliseconds(0),n}(t);case"minute":return function Tve(t){Et(1,arguments);var n=$t(t);return n.setSeconds(0,0),n}(t);case"hour":return function Eve(t){Et(1,arguments);var n=$t(t);return n.setMinutes(0,0,0),n}(t);case"day":return sD(t);case"week":return O6(t);case"isoWeek":return O6(t,{weekStartsOn:+e});case"month":return function Ave(t){Et(1,arguments);var n=$t(t);return n.setDate(1),n.setHours(0,0,0,0),n}(t);case"quarter":return function Ove(t){Et(1,arguments);var n=$t(t),e=n.getMonth();return n.setMonth(e-e%3,1),n.setHours(0,0,0,0),n}(t);case"year":return function Ive(t){Et(1,arguments);var n=$t(t),e=new Date(0);return e.setFullYear(n.getFullYear(),0,1),e.setHours(0,0,0,0),e}(t);default:return t}},endOf:function(t,n){switch(n){case"second":return function Pve(t){Et(1,arguments);var n=$t(t);return n.setMilliseconds(999),n}(t);case"minute":return function Rve(t){Et(1,arguments);var n=$t(t);return n.setSeconds(59,999),n}(t);case"hour":return function Fve(t){Et(1,arguments);var n=$t(t);return n.setMinutes(59,59,999),n}(t);case"day":return T6(t);case"week":return function Nve(t,n){var e,i,r,o,s,a,l,c;Et(1,arguments);var p=Nc(),m=$i(null!==(e=null!==(i=null!==(r=null!==(o=n?.weekStartsOn)&&void 0!==o?o:null==n||null===(s=n.locale)||void 0===s||null===(a=s.options)||void 0===a?void 0:a.weekStartsOn)&&void 0!==r?r:p.weekStartsOn)&&void 0!==i?i:null===(l=p.locale)||void 0===l||null===(c=l.options)||void 0===c?void 0:c.weekStartsOn)&&void 0!==e?e:0);if(!(m>=0&&m<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var _=$t(t),C=_.getDay(),k=6+(C{class t extends _o{constructor(e){super(),this.dataSetService=e,this.chart=null,this.chartDataMin=[],this.chartDataAvg=[],this.chartDataMax=[],this.dataSetSub=null,this.defaultConfig={displayName:"Display Label",filterSelfPaths:!0,convertUnitTo:"unitless",dataSetUUID:null,invertData:!1,displayMinMax:!1,includeZero:!0,minValue:null,maxValue:null,verticalGraph:!1}}ngOnInit(){this.textColor=window.getComputedStyle(this.lineGraph.nativeElement).color,this.chartCtx=this.lineGraph.nativeElement.getContext("2d"),this.startChart(),this.subscribeDataSet()}startChart(){null!==this.chart&&this.chart.destroy();let e=[{label:`${this.widgetProperties.config.displayName}-Avg.`,data:this.chartDataAvg,fill:"false",borderColor:this.textColor}];this.widgetProperties.config.displayMinMax&&e.push({label:`${this.widgetProperties.config.displayName}-Min`,data:this.chartDataMin,fill:"+1",borderColor:this.textColor,borderDash:[10,10]},{label:`${this.widgetProperties.config.displayName}-Max`,data:this.chartDataMax,fill:"-1",borderColor:this.textColor,borderDash:[5,5]});let i=this.widgetProperties.config.verticalGraph?"y":"x",r=this.widgetProperties.config.verticalGraph?"x":"y";this.chart=new Zh(this.chartCtx,{type:"line",data:{datasets:e},options:{maintainAspectRatio:!1,indexAxis:this.widgetProperties.config.verticalGraph?"y":"x",parsing:{xAxisKey:i,yAxisKey:r},scales:{[r]:{position:this.widgetProperties.config.verticalGraph?"top":"right",...null!==this.widgetProperties.config.minValue&&{suggestedMin:this.widgetProperties.config.minValue},...null!==this.widgetProperties.config.maxValue&&{suggestedMax:this.widgetProperties.config.maxValue},...this.widgetProperties.config.includeZero&&{beginAtZero:!0},ticks:{color:this.textColor,autoSkip:!0,autoSkipPadding:40}},[i]:{position:this.widgetProperties.config.verticalGraph?"right":"bottom",type:"time",time:{minUnit:"second",round:"second"},ticks:{color:this.textColor,callback:function o(s,a,l){let c=l[a].value,p=Date.now(),m=Math.floor((p-c)/1e3);if(m<60)return m.toString()+" sec ago";if(m<3600){let C=m%60;return Math.floor(m/60).toString()+":"+C.toString().padStart(2,"0")+" min ago"}return m<86400?Math.floor(m/3600).toString()+" hour ago":Math.floor(m/86400).toString()+" day ago"},autoSkip:!0,autoSkipPadding:40}}},plugins:{legend:{labels:{color:this.textColor}}}}})}subscribeDataSet(){this.unsubscribeDataSet(),null!==this.widgetProperties.config.dataSetUUID&&(this.dataSetSub=this.dataSetService.subscribeDataSet(this.widgetProperties.uuid,this.widgetProperties.config.dataSetUUID).subscribe(e=>{if(null===e)return;let i=1;this.widgetProperties.config.invertData&&(i=-1),this.chartDataAvg=[];for(let o=0;oo.reduce((s,a)=>s+a,0)/o.length;this.chart.data.datasets[0].label=this.widgetProperties.config.displayName+" ["+r(this.chartDataAvg.map(o=>o.y)).toFixed(2)+"]",this.widgetProperties.config.displayMinMax&&(this.chart.data.datasets[1].label=this.widgetProperties.config.displayName+" ["+r(this.chartDataMin.map(o=>o.y)).toFixed(2)+"]",this.chart.data.datasets[2].label=this.widgetProperties.config.displayName+" ["+r(this.chartDataMax.map(o=>o.y)).toFixed(2)+"]"),this.chart.update("none")}))}unsubscribeDataSet(){null!==this.dataSetSub&&(this.dataSetSub.unsubscribe(),this.dataSetSub=null)}ngOnDestroy(){this.unsubscribeDataSet()}}return t.\u0275fac=function(e){return new(e||t)(D(Dm))},t.\u0275cmp=Pe({type:t,selectors:[["app-widget-historical"]],viewQuery:function(e,i){if(1&e&&Oe(Hve,7,xe),2&e){let r;ue(r=de())&&(i.lineGraph=r.first)}},features:[we],decls:4,vars:0,consts:[[1,"mainWrapper"],[1,"chart-container"],["id","chart"],["lineGraph",""]],template:function(e,i){1&e&&(v(0,"div",0)(1,"div",1),q(2,"canvas",2,3),b()())},styles:[".mainWrapper[_ngcontent-%COMP%]{position:relative;width:100%;height:100%}.chart-container[_ngcontent-%COMP%]{position:relative;margin:auto;height:100%;width:100%}"]}),t})();const Wve=["compassAnimate"],jve=["appWindAnimate"],Uve=["trueWindAnimate"],Gve=["appWindValueAnimate"],$ve=["trueWindValueAnimate"];function qve(t,n){1&t&&(vr(),v(0,"g",136)(1,"g",137),q(2,"path",138)(3,"path",139)(4,"path",140)(5,"path",141)(6,"path",142)(7,"path",143)(8,"path",144)(9,"path",145)(10,"path",146),b(),q(11,"path",147)(12,"path",148)(13,"path",149)(14,"path",150)(15,"path",151)(16,"path",152)(17,"path",153),b())}function Yve(t,n){1&t&&(vr(),q(0,"path",157)),2&t&&Je("d",re(2).portWindSectorPath)}function Kve(t,n){1&t&&(vr(),q(0,"path",158)),2&t&&Je("d",re(2).stbdWindSectorPath)}function Zve(t,n){if(1&t&&(vr(),v(0,"g",154),$(1,Yve,1,1,"path",155),$(2,Kve,1,1,"path",156),b()),2&t){const e=re();I(1),R("ngIf","none"!=e.portWindSectorPath),I(1),R("ngIf","none"!=e.stbdWindSectorPath)}}function Qve(t,n){1&t&&(vr(),q(0,"path",162)),2&t&&Je("d",re(2).laylinePortPath)}function Xve(t,n){1&t&&(vr(),q(0,"path",163)),2&t&&Je("d",re(2).laylineStbdPath)}function Jve(t,n){if(1&t&&(vr(),v(0,"g",159),$(1,Qve,1,1,"path",160),$(2,Xve,1,1,"path",161),b()),2&t){const e=re();I(1),R("ngIf",null!=e.trueWindAngle),I(1),R("ngIf",null!=e.trueWindAngle)}}const Hy=([t,n],[e,i],[r,o])=>(Math.atan2(o-i,r-e)-Math.atan2(n-i,t-e)+3*Math.PI)%(2*Math.PI)-Math.PI;let ebe=(()=>{class t{constructor(){this.headingValue="--",this.appWindSpeedDisplay="--",this.trueWindSpeedDisplay="--",this.trueWindHeading=0,this.laylinePortPath="M 231,231 231,90",this.laylineStbdPath="M 231,231 231,90",this.portWindSectorPath="none",this.stbdWindSectorPath="none",this.appWind={oldDegreeIndicator:"0",newDegreeIndicator:"0",animationElement:void 0},this.appWindValue={oldDegreeIndicator:"0",newDegreeIndicator:"0",animationElement:void 0},this.trueWind={oldDegreeIndicator:"0",newDegreeIndicator:"0",animationElement:void 0},this.trueWindValue={oldDegreeIndicator:"0",newDegreeIndicator:"0",animationElement:void 0},this.compassFaceplate={oldDegreeIndicator:"0",newDegreeIndicator:"0",animationElement:void 0}}ngAfterViewInit(){this.compassFaceplate.animationElement=this.compassAnimate,this.appWind.animationElement=this.appWindAnimate,this.appWindValue.animationElement=this.appWindValueAnimate,this.trueWind.animationElement=this.trueWindAnimate,this.trueWindValue.animationElement=this.trueWindValueAnimate}ngOnChanges(e){if(e.compassHeading&&(e.compassHeading.firstChange||(this.compassFaceplate.oldDegreeIndicator=this.compassFaceplate.newDegreeIndicator,this.compassFaceplate.newDegreeIndicator=e.compassHeading.currentValue.toFixed(0),this.headingValue=this.compassFaceplate.newDegreeIndicator,this.smoothCircularRotation(this.compassFaceplate),this.updateLaylines(),this.updateWindSectors())),e.appWindAngle&&!e.appWindAngle.firstChange){this.appWind.oldDegreeIndicator=this.appWind.newDegreeIndicator,this.appWindValue.oldDegreeIndicator=this.appWindValue.newDegreeIndicator,this.appWind.newDegreeIndicator=e.appWindAngle.currentValue.toFixed(0);let i=-1*Number(e.appWindAngle.currentValue);this.appWindValue.newDegreeIndicator=i.toFixed(0),this.smoothCircularRotation(this.appWind,this.appWindValue)}if(e.appWindSpeed&&(e.appWindSpeed.firstChange||(this.appWindSpeedDisplay=e.appWindSpeed.currentValue.toFixed(1))),e.trueWindAngle&&!e.trueWindAngle.firstChange){this.trueWind.oldDegreeIndicator=this.trueWind.newDegreeIndicator,this.trueWindValue.oldDegreeIndicator=this.trueWindValue.newDegreeIndicator,this.trueWindHeading=e.trueWindAngle.currentValue,this.trueWind.newDegreeIndicator=this.addHeading(this.trueWindHeading,-1*Number(this.compassFaceplate.newDegreeIndicator)).toFixed(0);let i=-1*Number(this.trueWind.newDegreeIndicator);this.trueWindValue.newDegreeIndicator=i.toFixed(0),this.smoothCircularRotation(this.trueWind,this.trueWindValue),this.updateLaylines()}if(e.trueWindSpeed&&!e.trueWindSpeed.firstChange){if(null===e.trueWindSpeed.currentValue)return;this.trueWindSpeedDisplay=e.trueWindSpeed.currentValue.toFixed(1)}(e.trueWindMinHistoric&&!e.trueWindMinHistoric.firstChange||e.trueWindMaxHistoric&&!e.trueWindMaxHistoric.firstChange)&&isNaN(Number(this.trueWindMinHistoric))&&isNaN(Number(this.trueWindMaxHistoric))&&this.updateWindSectors()}updateLaylines(){let e=this.addHeading(Number(this.trueWind.newDegreeIndicator),-1*this.laylineAngle),i=160*Math.sin(e*Math.PI/180)+231,r=160*Math.cos(e*Math.PI/180)*-1+231;this.laylinePortPath="M 231,231 "+i+","+r;let o=this.addHeading(Number(this.trueWind.newDegreeIndicator),this.laylineAngle),s=160*Math.sin(o*Math.PI/180)+231,a=160*Math.cos(o*Math.PI/180)*-1+231;this.laylineStbdPath="M 231,231 "+s+","+a}updateWindSectors(){let e=this.addHeading(this.addHeading(this.trueWindMinHistoric,-1*Number(this.compassFaceplate.newDegreeIndicator)),-1*this.laylineAngle),i=this.addHeading(this.addHeading(this.trueWindMidHistoric,-1*Number(this.compassFaceplate.newDegreeIndicator)),-1*this.laylineAngle),r=this.addHeading(this.addHeading(this.trueWindMaxHistoric,-1*Number(this.compassFaceplate.newDegreeIndicator)),-1*this.laylineAngle),o=160*Math.sin(e*Math.PI/180)+231,s=160*Math.cos(e*Math.PI/180)*-1+231,a=160*Math.sin(i*Math.PI/180)+231,l=160*Math.cos(i*Math.PI/180)*-1+231,c=160*Math.sin(r*Math.PI/180)+231,p=160*Math.cos(r*Math.PI/180)*-1+231,m=Math.abs(Hy([o,s],[a,l],[c,p]))>Math.PI/2?0:1,_=Hy([c,p],[o,s],[a,l])>0?0:1;this.portWindSectorPath="M 231,231 L "+o+","+s+" A 160,160 0 "+m+" "+_+" "+c+","+p+" z";let C=this.addHeading(this.addHeading(this.trueWindMinHistoric,-1*Number(this.compassFaceplate.newDegreeIndicator)),this.laylineAngle),k=this.addHeading(this.addHeading(this.trueWindMidHistoric,-1*Number(this.compassFaceplate.newDegreeIndicator)),this.laylineAngle),A=this.addHeading(this.addHeading(this.trueWindMaxHistoric,-1*Number(this.compassFaceplate.newDegreeIndicator)),this.laylineAngle),P=160*Math.sin(C*Math.PI/180)+231,N=160*Math.cos(C*Math.PI/180)*-1+231,G=160*Math.sin(k*Math.PI/180)+231,U=160*Math.cos(k*Math.PI/180)*-1+231,X=160*Math.sin(A*Math.PI/180)+231,se=160*Math.cos(A*Math.PI/180)*-1+231,ve=Math.abs(Hy([P,N],[G,U],[X,se]))>Math.PI/2?0:1,De=Hy([X,se],[P,N],[G,U])>0?0:1;this.stbdWindSectorPath="M 231,231 L "+P+","+N+" A 160,160 0 "+ve+" "+De+" "+X+","+se+" z"}addHeading(e=0,i=0){let r=e+i;for(;r>359;)r-=359;for(;r<0;)r+=359;return r}smoothCircularRotation(e,i){const r=Number(e.oldDegreeIndicator),o=Number(e.newDegreeIndicator),s=r-o;e.animationElement&&0!=s&&(Math.abs(s)>180?1==Math.sign(s)?359==r?(e.oldDegreeIndicator="0",e.animationElement.nativeElement.beginElement(),void 0!==i&&(i.oldDegreeIndicator="0",i.animationElement.nativeElement.beginElement())):(e.newDegreeIndicator="359",e.animationElement.nativeElement.beginElement(),void 0!==i&&(i.newDegreeIndicator="359",i.animationElement.nativeElement.beginElement()),e.oldDegreeIndicator="0",e.newDegreeIndicator=o.toFixed(0),e.animationElement.nativeElement.beginElement(),void 0!==i&&(i.oldDegreeIndicator=e.oldDegreeIndicator,i.newDegreeIndicator="0",i.animationElement.nativeElement.beginElement())):0==r?(e.oldDegreeIndicator="359",e.animationElement.nativeElement.beginElement(),void 0!==i&&(i.oldDegreeIndicator="359",i.animationElement.nativeElement.beginElement())):(e.newDegreeIndicator="0",e.animationElement.nativeElement.beginElement(),void 0!==i&&(i.newDegreeIndicator="0",i.animationElement.nativeElement.beginElement()),e.oldDegreeIndicator="359",e.newDegreeIndicator=o.toFixed(0),e.animationElement.nativeElement.beginElement(),void 0!==i&&(i.oldDegreeIndicator="359",i.newDegreeIndicator=o.toFixed(0),i.animationElement.nativeElement.beginElement())):(e.animationElement.nativeElement.beginElement(),void 0!==i&&i.animationElement.nativeElement.beginElement()))}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Pe({type:t,selectors:[["app-svg-wind"]],viewQuery:function(e,i){if(1&e&&(Oe(Wve,7,xe),Oe(jve,7,xe),Oe(Uve,7,xe),Oe(Gve,7,xe),Oe($ve,7,xe)),2&e){let r;ue(r=de())&&(i.compassAnimate=r.first),ue(r=de())&&(i.appWindAnimate=r.first),ue(r=de())&&(i.trueWindAnimate=r.first),ue(r=de())&&(i.appWindValueAnimate=r.first),ue(r=de())&&(i.trueWindValueAnimate=r.first)}},inputs:{compassHeading:"compassHeading",trueWindAngle:"trueWindAngle",trueWindSpeed:"trueWindSpeed",appWindAngle:"appWindAngle",appWindSpeed:"appWindSpeed",laylineAngle:"laylineAngle",laylineEnable:"laylineEnable",sailSetupEnable:"sailSetupEnable",windSectorEnable:"windSectorEnable",trueWindMinHistoric:"trueWindMinHistoric",trueWindMidHistoric:"trueWindMidHistoric",trueWindMaxHistoric:"trueWindMaxHistoric"},features:[Tn],decls:161,vars:16,consts:[["width","100%","height","100%","viewBox","0 0 462 462","version","1.1","id","svg8",0,"xmlns","xlink","http://www.w3.org/1999/xlink","xmlns","http://www.w3.org/2000/svg",0,"xmlns","svg","http://www.w3.org/2000/svg",0,"xmlns","rdf","http://www.w3.org/1999/02/22-rdf-syntax-ns#",0,"xmlns","cc","http://creativecommons.org/ns#"],["id","defs2"],["id","linearGradient14212"],["offset","0","id","stop14208",1,"boatBackground",2,"stop-opacity","1"],["offset","1","id","stop14210",1,"boatBackground",2,"stop-opacity","0"],["id","linearGradient7154"],["offset","0","id","stop7150",2,"stop-color","#ff0000","stop-opacity","1"],["offset","0.39871383","id","stop7152",1,"boatBackground",2,"stop-opacity","0.56470591"],["id","linearGradient1133"],["offset","0","id","stop1129",2,"stop-color","#48b438","stop-opacity","1"],["offset","0.39871383","id","stop1131",1,"boatBackground",2,"stop-opacity","0.56603771"],[0,"xlink","href","#linearGradient1133","id","linearGradient1135","x1","472.6088","y1","531.48444","x2","472.49197","y2","879.10449","gradientUnits","userSpaceOnUse","spreadMethod","pad","gradientTransform","matrix(-1,0,0,1,703.32731,-474.28644)"],[0,"xlink","href","#linearGradient7154","id","linearGradient7156","x1","-472.64746","y1","531.50549","x2","-472.46103","y2","879.07489","gradientUnits","userSpaceOnUse","gradientTransform","translate(703.32731,-474.28644)"],[0,"xlink","href","#linearGradient14212","id","linearGradient14214","x1","250.36952","y1","296.6875","x2","252.56253","y2","512.70984","gradientUnits","userSpaceOnUse"],[0,"xlink","href","#linearGradient14212","id","linearGradient20477","gradientUnits","userSpaceOnUse","x1","250.84233","y1","382.58936","x2","249.67986","y2","510.65265","gradientTransform","matrix(1.0960272,0,0,0.99845438,-43.954738,-169.73034)",1,"boatBackground"],[0,"xlink","href","#linearGradient14212","id","linearGradient24749","gradientUnits","userSpaceOnUse","gradientTransform","matrix(-1.0960272,0,0,0.99845438,505.95474,-169.73034)","x1","250.84233","y1","382.58936","x2","249.67986","y2","510.65265"],["id","layer1","transform","matrix(0.1248082,0,0,0.11220779,-23.713913,416.39261)","style","display:inline",4,"ngIf"],["id","layerBackground",2,"display","inline"],["id","portStarboardDial","transform","matrix(1.2528928,0,0,1.2528928,-58.41824,-58.418234)",2,"display","inline"],["id","dial",2,"display","inline"],["d","M 230.84956,397.3848 A 165.94029,166.38596 0 0 1 65.282663,231.0632 165.94029,166.38596 0 0 1 230.72204,64.614075","id","Port",2,"display","inline","fill","none","fill-opacity","0","stroke","url(#linearGradient7156)","stroke-width","14.8205","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["d","M 230.68031,397.38592 A 165.94029,166.38596 0 0 0 374.4654,314.23407 165.94029,166.38596 0 0 0 374.48627,147.80217 165.94029,166.38596 0 0 0 230.72204,64.614055","id","Starboard",2,"display","inline","opacity","1","fill","none","fill-opacity","1","stroke","url(#linearGradient1135)","stroke-width","14.8205","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["id","Markers",1,"compass-inner-ring",2,"display","inline"],["id","path7189","d","m 80.687566,144.4454 12.77685,7.39357",2,"fill","none","stroke-width","1.61443","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["d","m 144.00413,80.713346 7.37674,12.80605","id","path7191",2,"fill","none","stroke-width","1.61443","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["id","path7193","d","m 317.35705,80.343646 -7.37672,12.80611",2,"fill","none","stroke-width","1.61443","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["d","m 380.94363,143.80506 -12.77686,7.39366","id","path7195",2,"fill","none","stroke-width","1.61443","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["id","path7197","d","m 404.35295,230.63031 -14.75348,3e-5",2,"fill","none","stroke-width","1.61443","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["d","m 381.31248,317.55462 -12.77692,-7.3936","id","path7199",2,"fill","none","stroke-width","1.61443","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["id","path7201","d","m 317.99591,381.28669 -7.37678,-12.80612",2,"fill","none","stroke-width","1.61443","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["d","m 231.36885,404.74957 -3e-5,-14.78727","id","path7203",2,"fill","none","stroke-width","1.61443","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["id","path7205","d","m 144.64297,381.65636 7.37672,-12.80615",2,"fill","none","stroke-width","1.61443","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["d","m 81.056382,318.19494 12.776874,-7.39367","id","path7207",2,"fill","none","stroke-width","1.61443","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["id","path7209","d","m 57.647056,231.36969 14.753506,-6e-5",2,"fill","none","stroke-width","1.61443","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["d","m 230.63116,57.250436 6e-5,14.78725","id","path7211",2,"fill","none","stroke-width","1.61443","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["ry","1.4716377","rx","1.4684811","transform","matrix(0.98473974,0.17403345,-0.1732637,0.98487547,0,0)","cy","20.915556","cx","267.08746","id","path7213",2,"fill-opacity","1","stroke-width","1.61443","stroke-linecap","butt","stroke-linejoin","round","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["ry","1.4713458","rx","1.4687726","id","circle7219","cx","295.5636","cy","-28.405027","transform","matrix(0.93944096,0.3427108,-0.34133044,0.93994337,0,0)",2,"fill-opacity","1","stroke-width","1.61443","stroke-linecap","butt","stroke-linejoin","round","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["ry","1.4703517","rx","1.4697686","transform","matrix(0.7653205,0.64364938,-0.64192532,0.76676716,0,0)","cy","-137.90392","cx","325.09726","id","circle7221",2,"fill-opacity","1","stroke-width","1.61443","stroke-linecap","butt","stroke-linejoin","round","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["ry","1.4697686","rx","1.4703517","id","circle7223","cx","325.22626","cy","-194.73386","transform","matrix(0.64192538,0.76676711,-0.76532046,0.64364943,0,0)",2,"fill-opacity","1","stroke-width","1.61443","stroke-linecap","butt","stroke-linejoin","round","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["ry","1.4687726","rx","1.4713458","transform","matrix(0.34133049,0.93994335,-0.93944093,0.34271086,0,0)","cy","-304.00223","cx","296.08084","id","circle7225",2,"fill-opacity","1","stroke-width","1.61443","stroke-linecap","butt","stroke-linejoin","round","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["ry","1.4684812","rx","1.4716377","id","circle7227","cx","267.66086","cy","-353.1622","transform","matrix(0.1732637,0.98487547,-0.98473974,0.17403346,0,0)",2,"fill-opacity","1","stroke-width","1.61443","stroke-linecap","butt","stroke-linejoin","round","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["ry","1.4684812","rx","1.4716377","transform","matrix(-0.1732637,0.98487547,-0.98473974,-0.17403346,0,0)","cy","-433.23273","cx","187.41795","id","circle7229",2,"fill-opacity","1","stroke-width","1.61443","stroke-linecap","butt","stroke-linejoin","round","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["ry","1.4687726","rx","1.4713457","id","circle7231","cx","138.06422","cy","-461.74182","transform","matrix(-0.34133048,0.93994335,-0.93944094,-0.34271083,0,0)",2,"fill-opacity","1","stroke-width","1.61443","stroke-linecap","butt","stroke-linejoin","round","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["ry","1.4697688","rx","1.4703517","transform","matrix(-0.64192535,0.76676714,-0.7653205,-0.64364938,0,0)","cy","-491.38818","cx","28.452917","id","circle7233",2,"fill-opacity","1","stroke-width","1.61443","stroke-linecap","butt","stroke-linejoin","round","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["ry","1.4703517","rx","1.4697688","id","circle7235","cx","-28.442974","cy","-491.58316","transform","matrix(-0.7653205,0.64364938,-0.64192535,-0.76676714,0,0)",2,"fill-opacity","1","stroke-width","1.61443","stroke-linecap","butt","stroke-linejoin","round","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["ry","1.4713457","rx","1.4687726","transform","matrix(-0.93944094,0.34271083,-0.34133048,-0.93994335,0,0)","cy","-462.55035","cx","-137.82401","id","circle7237",2,"fill-opacity","1","stroke-width","1.61443","stroke-linecap","butt","stroke-linejoin","round","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["ry","1.4716377","rx","1.4684812","id","circle7239","cx","-187.01695","cy","-434.16339","transform","matrix(-0.98473974,0.17403346,-0.1732637,-0.98487547,0,0)",2,"fill-opacity","1","stroke-width","1.61443","stroke-linecap","butt","stroke-linejoin","round","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["ry","1.4716377","rx","1.4684812","transform","matrix(-0.98473974,-0.17403346,0.1732637,-0.98487547,0,0)","cy","-353.92023","cx","-267.08746","id","circle7241",2,"fill-opacity","1","stroke-width","1.61443","stroke-linecap","butt","stroke-linejoin","round","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["ry","1.4713457","rx","1.4687726","id","circle7243","cx","-295.56357","cy","-304.53366","transform","matrix(-0.93944094,-0.34271083,0.34133048,-0.93994335,0,0)",2,"fill-opacity","1","stroke-width","1.61443","stroke-linecap","butt","stroke-linejoin","round","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["ry","1.4703517","rx","1.4697688","transform","matrix(-0.7653205,-0.64364938,0.64192535,-0.76676714,0,0)","cy","-194.80986","cx","-325.09729","id","circle7245",2,"fill-opacity","1","stroke-width","1.61443","stroke-linecap","butt","stroke-linejoin","round","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["ry","1.4697688","rx","1.4703517","id","circle7247","cx","-325.22629","cy","-137.84785","transform","matrix(-0.64192535,-0.76676714,0.7653205,-0.64364938,0,0)",2,"fill-opacity","1","stroke-width","1.61443","stroke-linecap","butt","stroke-linejoin","round","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["ry","1.4687726","rx","1.4713457","transform","matrix(-0.34133048,-0.93994335,0.93944094,-0.34271083,0,0)","cy","-28.354155","cx","-296.08081","id","circle7249",2,"fill-opacity","1","stroke-width","1.61443","stroke-linecap","butt","stroke-linejoin","round","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["ry","1.4684812","rx","1.4716377","id","circle7251","cx","-267.66086","cy","20.871838","transform","matrix(-0.1732637,-0.98487547,0.98473974,-0.17403346,0,0)",2,"fill-opacity","1","stroke-width","1.61443","stroke-linecap","butt","stroke-linejoin","round","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["ry","1.4684812","rx","1.4716377","transform","matrix(0.1732637,-0.98487547,0.98473974,0.17403346,0,0)","cy","100.94239","cx","-187.41795","id","circle7253",2,"fill-opacity","1","stroke-width","1.61443","stroke-linecap","butt","stroke-linejoin","round","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["ry","1.4687726","rx","1.4713458","id","circle7255","cx","-138.06422","cy","129.38542","transform","matrix(0.34133049,-0.93994335,0.93944093,0.34271086,0,0)",2,"fill-opacity","1","stroke-width","1.61443","stroke-linecap","butt","stroke-linejoin","round","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["ry","1.4697686","rx","1.4703517","transform","matrix(0.64192538,-0.76676711,0.76532046,0.64364943,0,0)","cy","158.80649","cx","-28.452925","id","circle7257",2,"fill-opacity","1","stroke-width","1.61443","stroke-linecap","butt","stroke-linejoin","round","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["ry","1.4703517","rx","1.4697686","id","circle7259","cx","28.442968","cy","158.86946","transform","matrix(0.7653205,-0.64364938,0.64192532,0.76676716,0,0)",2,"fill-opacity","1","stroke-width","1.61443","stroke-linecap","butt","stroke-linejoin","round","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["ry","1.4713458","rx","1.4687726","transform","matrix(0.93944096,-0.3427108,0.34133044,0.93994337,0,0)","cy","129.61153","cx","137.82397","id","circle7261",2,"fill-opacity","1","stroke-width","1.61443","stroke-linecap","butt","stroke-linejoin","round","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["ry","1.4716377","rx","1.4684811","id","circle7263","cx","187.01694","cy","101.15855","transform","matrix(0.98473974,-0.17403345,0.1732637,0.98487547,0,0)",2,"fill-opacity","1","stroke-width","1.61443","stroke-linecap","butt","stroke-linejoin","round","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["ry","1.4716377","rx","1.4684811","transform","matrix(0.98473974,-0.17403345,0.1732637,0.98487547,0,0)","cy","101.15855","cx","187.01694","id","circle7265",2,"fill-opacity","1","stroke-width","1.61443","stroke-linecap","butt","stroke-linejoin","round","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["id","vessel"],["d","m 290.42597,338.16266 c 2.63751,1.24549 18.13789,-172.91133 -60.18622,-214.49975","id","rightSide",2,"display","inline","fill","none","fill-opacity","1","stroke","url(#linearGradient20477)","stroke-width","3.29218","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["d","m 171.57403,338.16266 c -2.63751,1.24549 -18.13789,-172.91133 60.18622,-214.49975","id","LeftSide",2,"display","inline","fill","none","fill-opacity","1","stroke","url(#linearGradient24749)","stroke-width","3.29218","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["id","layerCompassHeading",2,"display","inline"],["ry","180.0916","rx","180.39105","id","circle4732","cx","231","cy","231",1,"compass-inner-ring",2,"display","inline","fill","none","stroke-width","25.7045","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["d","m 263.57231,46.351529 -2.645,14.975662","id","use6608",1,"wind-text",2,"display","inline","fill-opacity","1","stroke-width","2.02924","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["d","m 295.14524,54.854852 -5.20963,14.289576","id","use6610",1,"wind-text",2,"display","inline","fill-opacity","1","stroke-width","2.02924","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["d","m 351.51519,87.473623 -9.79086,11.648999","id","use6614",1,"wind-text",2,"display","inline","fill-opacity","1","stroke-width","2.02924","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["d","m 374.59941,110.59797 -11.66832,9.77463","id","use6616",1,"wind-text",2,"display","inline","fill-opacity","1","stroke-width","2.02924","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["d","m 407.08076,166.9848 -14.31341,5.20098","id","use6620",1,"wind-text",2,"display","inline","fill-opacity","1","stroke-width","2.02924","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["d","m 415.4909,198.53405 -15.00058,2.64064","id","use6622",1,"wind-text",2,"display","inline","fill-opacity","1","stroke-width","2.02924","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["d","m 415.3802,263.58022 -15.00058,-2.64063","id","use6626",1,"wind-text",2,"display","inline","fill-opacity","1","stroke-width","2.02924","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["d","m 406.86273,295.10073 -14.31336,-5.201","id","use6628",1,"wind-text",2,"display","inline","fill-opacity","1","stroke-width","2.02924","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["d","m 374.82713,351.8892 -11.66835,-9.77469","id","use6632",1,"wind-text",2,"display","inline","fill-opacity","1","stroke-width","2.02924","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["d","m 351.6643,374.93512 -9.79091,-11.64903","id","use6634",1,"wind-text",2,"display","inline","fill-opacity","1","stroke-width","2.02924","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["d","m 295.18368,407.36246 -5.20963,-14.28959","id","use6638",1,"wind-text",2,"display","inline","fill-opacity","1","stroke-width","2.02924","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["d","m 263.582,415.7587 -2.64498,-14.97568","id","use6640",1,"wind-text",2,"display","inline","fill-opacity","1","stroke-width","2.02924","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["d","m 198.42768,415.64815 2.64502,-14.97563","id","use6644",1,"wind-text",2,"display","inline","fill-opacity","1","stroke-width","2.02924","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["d","m 166.85475,407.14491 5.20963,-14.28964","id","use6646",1,"wind-text",2,"display","inline","fill-opacity","1","stroke-width","2.02924","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["d","m 110.48482,374.52608 9.7909,-11.64895","id","use6650",1,"wind-text",2,"display","inline","fill-opacity","1","stroke-width","2.02924","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["d","m 87.400578,351.40175 11.668341,-9.77468","id","use6652",1,"wind-text",2,"display","inline","fill-opacity","1","stroke-width","2.02924","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["d","m 54.919243,295.01489 14.313345,-5.20101","id","use6656",1,"wind-text",2,"display","inline","fill-opacity","1","stroke-width","2.02924","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["d","m 46.509108,263.46566 15.000536,-2.64062","id","use6658",1,"wind-text",2,"display","inline","fill-opacity","1","stroke-width","2.02924","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["d","m 46.619797,198.41948 15.000536,2.64063","id","use6662",1,"wind-text",2,"display","inline","fill-opacity","1","stroke-width","2.02924","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["d","m 55.137227,166.89897 14.313356,5.20102","id","use6664",1,"wind-text",2,"display","inline","fill-opacity","1","stroke-width","2.02924","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["d","m 87.172904,110.11054 11.668332,9.77464","id","use6668",1,"wind-text",2,"display","inline","fill-opacity","1","stroke-width","2.02924","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["d","m 110.33569,87.064604 9.79094,11.648998","id","use6670",1,"wind-text",2,"display","inline","fill-opacity","1","stroke-width","2.02924","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["d","m 166.81632,54.63722 5.20964,14.289621","id","use6674",1,"wind-text",2,"display","inline","fill-opacity","1","stroke-width","2.02924","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["d","m 198.41802,46.241065 2.645,14.975629","id","use6676",1,"wind-text",2,"display","inline","fill-opacity","1","stroke-width","2.02924","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["transform","scale(1.0008192,0.99918148)","id","textNorth","y","59.938854","x","220.36444",0,"xml","space","preserve",1,"wind-text",2,"font-style","normal","font-variant","normal","font-weight","bold","font-stretch","normal","font-size","24.6764px","line-height","1.25","font-family","sans-serif","-inkscape-font-specification","sans-serif, Bold","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-variant-east-asian","normal","text-align","start","letter-spacing","0px","word-spacing","0px","writing-mode","lr-tb","text-anchor","start","fill-opacity","1","stroke","none","stroke-width","20.2921","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","0.854271"],["y","59.938854","x","220.36444","id","tspan4586",2,"font-style","normal","font-variant","normal","font-weight","bold","font-stretch","normal","font-size","24.6764px","font-family","sans-serif","-inkscape-font-specification","sans-serif, Bold","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-variant-east-asian","normal","text-align","start","writing-mode","lr-tb","text-anchor","start","stroke","none","stroke-width","20.2921","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","0.854271"],["transform","matrix(0.85624422,0.51732097,-0.51817793,0.85482117,0,0)",0,"xml","space","preserve","x","306.34256","y","-96.410698","id","use7031",1,"wind-text",2,"font-style","normal","font-variant","normal","font-weight","bold","font-stretch","normal","font-size","13.709px","line-height","1.25","font-family","Arial","-inkscape-font-specification","Arial, Bold","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-variant-east-asian","normal","text-align","start","letter-spacing","0px","word-spacing","0px","writing-mode","lr-tb","text-anchor","start","display","inline","fill-opacity","1","stroke","none","stroke-width","1.02642"],["y","-96.410698","x","306.34256","id","tspan7101",2,"font-style","normal","font-variant","normal","font-weight","bold","font-stretch","normal","font-size","13.709px","font-family","Arial","-inkscape-font-specification","Arial, Bold","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-variant-east-asian","normal","stroke-width","1.02642"],["transform","matrix(0.48244023,0.87542368,-0.87687739,0.48163639,0,0)",0,"xml","space","preserve","x","301.879","y","-266.04935","id","use7033",1,"wind-text",2,"font-style","normal","font-variant","normal","font-weight","bold","font-stretch","normal","font-size","13.709px","line-height","1.25","font-family","Arial","-inkscape-font-specification","Arial, Bold","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-variant-east-asian","normal","text-align","start","letter-spacing","0px","word-spacing","0px","writing-mode","lr-tb","text-anchor","start","display","inline","fill-opacity","1","stroke","none","stroke-width","1.02642"],["y","-266.04935","x","301.879","id","tspan7103",2,"font-style","normal","font-variant","normal","font-weight","bold","font-stretch","normal","font-size","13.709px","font-family","Arial","-inkscape-font-specification","Arial, Bold","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-variant-east-asian","normal","stroke-width","1.02642"],["transform","matrix(-0.02063317,0.99895735,-1.0006182,-0.0206025,0,0)",0,"xml","space","preserve","x","214.30859","y","-410.76288","id","use7035",1,"wind-text",2,"font-style","normal","font-variant","normal","font-weight","bold","font-stretch","normal","font-size","13.709px","line-height","1.25","font-family","Arial","-inkscape-font-specification","Arial, Bold","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-variant-east-asian","normal","text-align","start","letter-spacing","0px","word-spacing","0px","writing-mode","lr-tb","text-anchor","start","display","inline","fill-opacity","1","stroke","none","stroke-width","1.02642"],["y","-410.76288","x","214.30859","id","tspan7105",2,"font-style","normal","font-variant","normal","font-weight","bold","font-stretch","normal","font-size","13.709px","font-family","Arial","-inkscape-font-specification","Arial, Bold","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-variant-east-asian","normal","stroke-width","1.02642"],["transform","matrix(-0.51817793,0.85482117,-0.85624422,-0.51732097,0,0)",0,"xml","space","preserve","x","60.744469","y","-490.80396","id","use7037",1,"wind-text",2,"font-style","normal","font-variant","normal","font-weight","bold","font-stretch","normal","font-size","13.709px","line-height","1.25","font-family","Arial","-inkscape-font-specification","Arial, Bold","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-variant-east-asian","normal","text-align","start","letter-spacing","0px","word-spacing","0px","writing-mode","lr-tb","text-anchor","start","display","inline","fill-opacity","1","stroke","none","stroke-width","1.02642"],["y","-490.80396","x","60.744469","id","tspan7109",2,"font-style","normal","font-variant","normal","font-weight","bold","font-stretch","normal","font-size","13.709px","font-family","Arial","-inkscape-font-specification","Arial, Bold","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-variant-east-asian","normal","stroke-width","1.02642"],["transform","matrix(-0.87687739,0.48163639,-0.48244023,-0.87542368,0,0)",0,"xml","space","preserve","x","-109.23221","y","-488.53186","id","use7039",1,"wind-text",2,"font-style","normal","font-variant","normal","font-weight","bold","font-stretch","normal","font-size","13.709px","line-height","1.25","font-family","Arial","-inkscape-font-specification","Arial, Bold","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-variant-east-asian","normal","text-align","start","letter-spacing","0px","word-spacing","0px","writing-mode","lr-tb","text-anchor","start","display","inline","fill-opacity","1","stroke","none","stroke-width","1.02642"],["y","-488.53186","x","-109.23221","id","tspan7111",2,"font-style","normal","font-variant","normal","font-weight","bold","font-stretch","normal","font-size","13.709px","font-family","Arial","-inkscape-font-specification","Arial, Bold","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-variant-east-asian","normal","stroke-width","1.02642"],["transform","matrix(-1.0006182,-0.0206025,0.02063317,-0.99895735,0,0)",0,"xml","space","preserve","x","-250.87608","y","-401.37546","id","use7041",1,"wind-text",2,"font-style","normal","font-variant","normal","font-weight","bold","font-stretch","normal","font-size","13.709px","line-height","1.25","font-family","Arial","-inkscape-font-specification","Arial, Bold","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-variant-east-asian","normal","text-align","start","letter-spacing","0px","word-spacing","0px","writing-mode","lr-tb","text-anchor","start","display","inline","fill-opacity","1","stroke","none","stroke-width","1.02642"],["y","-401.37546","x","-250.87608","id","tspan7113",2,"font-style","normal","font-variant","normal","font-weight","bold","font-stretch","normal","font-size","13.709px","font-family","Arial","-inkscape-font-specification","Arial, Bold","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-variant-east-asian","normal","stroke-width","1.02642"],["transform","matrix(-0.85624422,-0.51732097,0.51817793,-0.85482117,0,0)",0,"xml","space","preserve","x","-332.97412","y","-254.26855","id","use7043",1,"wind-text",2,"font-style","normal","font-variant","normal","font-weight","bold","font-stretch","normal","font-size","13.709px","line-height","1.25","font-family","Arial","-inkscape-font-specification","Arial, Bold","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-variant-east-asian","normal","text-align","start","letter-spacing","0px","word-spacing","0px","writing-mode","lr-tb","text-anchor","start","display","inline","fill-opacity","1","stroke","none","stroke-width","1.02642"],["y","-254.26855","x","-332.97412","id","tspan7115",2,"font-style","normal","font-variant","normal","font-weight","bold","font-stretch","normal","font-size","13.709px","font-family","Arial","-inkscape-font-specification","Arial, Bold","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-variant-east-asian","normal","stroke-width","1.02642"],["transform","matrix(-0.48244023,-0.87542368,0.87687739,-0.48163639,0,0)",0,"xml","space","preserve","x","-328.56262","y","-84.81398","id","use7045",1,"wind-text",2,"font-style","normal","font-variant","normal","font-weight","bold","font-stretch","normal","font-size","13.709px","line-height","1.25","font-family","Arial","-inkscape-font-specification","Arial, Bold","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-variant-east-asian","normal","text-align","start","letter-spacing","0px","word-spacing","0px","writing-mode","lr-tb","text-anchor","start","display","inline","fill-opacity","1","stroke","none","stroke-width","1.02642"],["y","-84.81398","x","-328.56262","id","tspan7117",2,"font-style","normal","font-variant","normal","font-weight","bold","font-stretch","normal","font-size","13.709px","font-family","Arial","-inkscape-font-specification","Arial, Bold","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-variant-east-asian","normal","stroke-width","1.02642"],["transform","matrix(0.02063317,-0.99895735,1.0006182,0.0206025,0,0)",0,"xml","space","preserve","x","-243.82649","y","60.284389","id","use7047",1,"wind-text",2,"font-style","normal","font-variant","normal","font-weight","bold","font-stretch","normal","font-size","13.709px","line-height","1.25","font-family","Arial","-inkscape-font-specification","Arial, Bold","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-variant-east-asian","normal","text-align","start","letter-spacing","0px","word-spacing","0px","writing-mode","lr-tb","text-anchor","start","display","inline","fill-opacity","1","stroke","none","stroke-width","1.02642"],["y","60.284389","x","-243.82649","id","tspan7119",2,"font-style","normal","font-variant","normal","font-weight","bold","font-stretch","normal","font-size","13.709px","font-family","Arial","-inkscape-font-specification","Arial, Bold","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-variant-east-asian","normal","stroke-width","1.02642"],["transform","matrix(0.51817793,-0.85482117,0.85624422,0.51732097,0,0)",0,"xml","space","preserve","x","-94.569901","y","141.12741","id","use7049",1,"wind-text",2,"font-style","normal","font-variant","normal","font-weight","bold","font-stretch","normal","font-size","13.709px","line-height","1.25","font-family","Arial","-inkscape-font-specification","Arial, Bold","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-variant-east-asian","normal","text-align","start","letter-spacing","0px","word-spacing","0px","writing-mode","lr-tb","text-anchor","start","display","inline","fill-opacity","1","stroke","none","stroke-width","1.02642"],["y","141.12741","x","-94.569901","id","tspan7121",2,"font-style","normal","font-variant","normal","font-weight","bold","font-stretch","normal","font-size","13.709px","font-family","Arial","-inkscape-font-specification","Arial, Bold","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-variant-east-asian","normal","stroke-width","1.02642"],["transform","matrix(0.84497054,-0.53548077,0.5363647,0.84356435,0,0)",0,"xml","space","preserve","x","68.010208","y","143.99249","id","use7051",1,"wind-text",2,"font-style","normal","font-variant","normal","font-weight","bold","font-stretch","normal","font-size","13.709px","line-height","1.25","font-family","Arial","-inkscape-font-specification","Arial, Bold","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-variant-east-asian","normal","text-align","start","letter-spacing","0px","word-spacing","0px","writing-mode","lr-tb","text-anchor","start","display","inline","fill-opacity","1","stroke","none","stroke-width","1.02642"],["y","143.99249","x","68.010208","id","tspan7125",2,"font-style","normal","font-variant","normal","font-weight","bold","font-stretch","normal","font-size","13.709px","font-family","Arial","-inkscape-font-specification","Arial, Bold","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-variant-east-asian","normal","stroke-width","1.02642"],["attributeName","transform","type","rotate","begin","indefinite","dur","0.5s","additive","replace","fill","freeze"],["compassAnimate",""],["style","display:inline","id","layerLayline",4,"ngIf"],["id","LayerLayline","style","display:inline",4,"ngIf"],["id","layerWindAngle",2,"display","inline"],["x","0","y","0","width","33","height","83","viewBox","0 0 33 83","id","AppWindCoord",2,"overflow","visible"],["id","NeddleAWA","d","m 231,7.2483045 a 16.130346,16.130346 0 0 0 -16.13086,16.1308605 16.130346,16.130346 0 0 0 4.87109,11.494141 l 11.40039,54.181641 0.006,0.01367 11.27539,-54.357423 A 16.130346,16.130346 0 0 0 247.13086,23.379165 16.130346,16.130346 0 0 0 231,7.2483045 Z",1,"app-wind",2,"display","inline","fill-opacity","1","stroke","#000000","stroke-width","0.496609","stroke-dasharray","none","stroke-opacity","1"],[0,"xml","space","preserve","x","233","y","52.233677","id","LabelAWS",1,"wind-text",2,"font-style","normal","font-variant","normal","font-weight","bold","font-stretch","normal","font-size","13.3333px","font-family","Arial","-inkscape-font-specification","Arial, Bold","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-variant-east-asian","normal","text-anchor","middle","display","inline","fill-opacity","1","stroke","none","stroke-width","0","stroke-dasharray","none","stroke-opacity","1"],["viewBox","-231.5 -8 33 53","id","AWSCoord",2,"overflow","visible"],[0,"xml","space","preserve","alignment-baseline","middle","x","0","y","0","id","ValueAWS","transform","scale(1.0128481,0.98731488)",1,"wind-text",2,"font-style","normal","font-variant","normal","font-weight","bold","font-stretch","normal","font-size","15.3333px","font-family","Arial","-inkscape-font-specification","Arial, Bold","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-variant-east-asian","normal","text-anchor","middle","display","inline","fill-opacity","1","stroke-width","1.0135"],["appWindValueAnimate",""],["appWindAnimate",""],["x","0","y","0","width","33","height","53","viewBox","0 0 33 53","id","TrueWindCoord",2,"overflow","visible"],["id","NeddleTWA","d","m 231,7.25 a 16.122065,16.122065 0 0 0 -16.12109,16.121093 16.122065,16.122065 0 0 0 4.70117,11.322266 l 11.52148,24.009766 0.008,0.0059 11.41015,-24.115234 A 16.122065,16.122065 0 0 0 247.12109,23.371093 16.122065,16.122065 0 0 0 231,7.25 Z",1,"true-wind",2,"display","inline","fill-opacity","0.996078","stroke","#000000","stroke-width","0.5","stroke-dasharray","none","stroke-opacity","1"],[0,"xml","space","preserve","x","232.99219","y","52.227623","id","LabelTWS",1,"wind-text",2,"font-style","normal","font-variant","normal","font-weight","bold","font-stretch","normal","font-size","13.3333px","font-family","Arial","-inkscape-font-specification","Arial, Bold","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-variant-east-asian","normal","text-anchor","middle","display","inline","fill-opacity","1","stroke","none","stroke-width","0","stroke-dasharray","none","stroke-opacity","1"],["viewBox","-231.5 -24 33 53","id","TWSCoord",2,"overflow","visible"],[0,"xml","space","preserve","alignment-baseline","middle","x","0","y","0","id","ValueTWS",1,"wind-text",2,"font-style","normal","font-variant","normal","font-weight","bold","font-stretch","normal","font-size","15.3333px","font-family","Arial","-inkscape-font-specification","Arial, Bold","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-variant-east-asian","normal","text-anchor","middle","display","inline","fill-opacity","1","stroke","none","stroke-width","0","stroke-dasharray","none","stroke-opacity","1"],["trueWindValueAnimate",""],["trueWindAnimate",""],["id","LayerHeadingIndicator","transform","translate(4,8)",2,"display","inline"],["id","FaceplateHeading","width","67.073669","height","38.361046","x","194.46938","y","30.8176","d","m 225.64754,33.805625 1.6301,0.0048 c 17.39931,0.05072 31.39725,3.329857 31.38553,7.35232 l -0.0685,23.494107 c -0.0117,4.022464 -14.02856,7.21993 -31.42786,7.169208 l -1.63011,-0.0048 c -17.3993,-0.05072 -31.39725,-3.329857 -31.38552,-7.352321 l 0.0685,-23.494107 c 0.0117,-4.022463 14.02855,-7.219929 31.42786,-7.169207 z","ry","7.3267355","rx","32.688519","transform","matrix(1.002028,0,0,0.77009941,-0.86633959,3.237595)",1,"heading-background",2,"display","inline","opacity","1","fill-opacity","1","stroke-width","2.5","stroke-linecap","butt","stroke-linejoin","round","stroke-dasharray","none","stroke-opacity","1"],[0,"xml","space","preserve","x","226.14061","y","52.178043","id","ValueHeading",1,"wind-text",2,"font-style","normal","font-variant","normal","font-weight","bold","font-stretch","normal","font-size","24px","font-family","Arial","-inkscape-font-specification","Arial, Bold","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-variant-east-asian","normal","text-anchor","middle","display","inline"],["id","tspan349","x","226.14061","y","52.178043"],["id","layer1","transform","matrix(0.1248082,0,0,0.11220779,-23.713913,416.39261)",2,"display","inline"],["id","Boat","transform","matrix(2.4762966,0,0,2.4762966,312.32639,-480.88375)",1,"sailSetupBoat",2,"display","inline"],["d","m 117.80581,288.1415 -22.540223,29.3722 h -16.5349 l 0.25052,-26.32688 c -1.06637,-2.75393 -2.56049,-3.06484 -4.84601,-3.55125 z","id","path2110",2,"display","inline","fill","none","fill-rule","evenodd","stroke-width","3","stroke-linecap","butt","stroke-linejoin","miter","stroke-dasharray","none","stroke-opacity","1"],["d","m 8.9767971,282.82435 -4.95991,24.75841 h 7.7154099 l 7.16432,-23.7875","id","path2148",2,"display","inline","fill","none","fill-rule","evenodd","stroke-width","3","stroke-linecap","butt","stroke-linejoin","miter","stroke-dasharray","none","stroke-opacity","1"],["id","scafo_1_","d","m 195.42256,265.29369 c 0,0 -12.46584,10.53388 -18.18235,16.95385 -1.87779,2.10888 -8.08356,2.76316 -16.33955,3.62976 -32.36804,3.39759 -103.815953,4.14078 -157.1129429,-4.52397 3.49616,-2.32158 3.79424,-8.74891 5.51442,-13.35052 7.1e-4,0 131.6522929,-0.0975 186.1204229,-2.70912 z",2,"display","inline","fill","none","stroke-width","3","stroke-dasharray","none"],["d","m 23.541277,239.61115 h 94.045203 l 0.39645,2.12132 -94.545213,0.35355 z","id","path2154",2,"display","inline","fill","none","fill-rule","evenodd","stroke-width","3","stroke-linecap","butt","stroke-linejoin","miter","stroke-dasharray","none","stroke-opacity","1"],["d","m 102.35735,2.5312768 h 4.37983 c 8.9756,36.5347612 12.51565,95.9939792 14.23441,163.1344432 v 92.86113 h -2.73738 l 0.54748,-92.86113 C 116.16119,110.0212 115.191,52.56101 105.64222,4.5390852 Z","id","path2158",2,"display","inline","fill","none","fill-rule","evenodd","stroke-width","3","stroke-linecap","butt","stroke-linejoin","miter","stroke-dasharray","none","stroke-opacity","1"],["d","m 104.27966,267.15927 -0.22723,-7.83783 c 22.67574,-0.50375 30.37822,0.37193 37.04087,7.36281","id","path2116",2,"display","inline","fill","none","fill-rule","evenodd","stroke-width","3","stroke-linecap","butt","stroke-linejoin","miter","stroke-dasharray","none","stroke-opacity","1"],["d","m 1.0329568,282.20014 5.7927027,-15.82819 1.9208522,1.18337","id","path2104",2,"display","inline","fill","none","fill-rule","evenodd","stroke-width","2.13494","stroke-linecap","butt","stroke-linejoin","miter","stroke-dasharray","none","stroke-opacity","1"],["d","M 116.99965,68.100007 190.49965,265.1","id","path2160",2,"display","inline","fill","none","fill-rule","evenodd","stroke-width","3","stroke-linecap","butt","stroke-linejoin","miter","stroke-dasharray","none","stroke-opacity","1"],["d","M 8.8139634,266.87847 102.98152,3.5208385","id","path2208",2,"display","inline","fill","none","fill-rule","evenodd","stroke-width","3","stroke-linecap","butt","stroke-linejoin","miter","stroke-dasharray","none","stroke-opacity","1"],["d","m 268.56631,196.18971 -7.52466,-0.0957 -42.6992,68.72135 -26.43173,67.95776 -0.29576,0.48195 -0.11878,1.21163 -0.092,1.15201 76.51843,-0.0845 0.0422,-3.68441 0.0578,-2.60466 -0.0832,-3.58678 0.40814,-30.21044 0.43451,-38.16536 0.11267,-19.13053 0.008,-13.73528 -0.12432,-16.23422 z","id","Reef3","transform","matrix(1.5736253,0,0,1.5736253,181.67439,-417.86068)",1,"sailSetupReef3",2,"display","inline","fill-opacity","1","fill-rule","evenodd","stroke-width","2.34613","stroke-linecap","butt","stroke-linejoin","miter","stroke-dasharray","none","stroke-opacity","1"],["d","m 266.10811,139.30664 h -7.42901 l -42.69918,68.72134 -26.43173,67.95777 -14.01711,50.03862 -1.05129,5.07493 -0.70001,4.5951 94.06196,-0.0639 0.15835,-8.47316 0.0577,-2.44384 0.46668,-44.66571 0.42579,-41.29152 -0.2351,-38.16536 -0.74826,-19.13053 -0.75663,-13.54396 -0.6982,-16.61687 z","id","Reef2","transform","matrix(1.5736253,0,0,1.5736253,181.67439,-417.86068)",1,"sailSetupReef2",2,"display","inline","fill-opacity","1","fill-rule","evenodd","stroke-width","2.34613","stroke-linecap","butt","stroke-linejoin","miter","stroke-dasharray","none","stroke-opacity","1"],["d","m 261.10546,61.763841 h -6.78005 l -42.69918,68.721369 -26.43173,67.95776 -20.02404,74.06637 -14.96301,59.55366 -0.75384,3.65964 118.40312,-0.24747 0.3958,-35.2044 0.55482,-54.44997 0.036,-42.1476 -1.91047,-41.81069 -1.92241,-38.16537 -1.00784,-19.5199 -0.75663,-13.803549 -1.08758,-16.746654 z","id","Reef1","transform","matrix(1.5736253,0,0,1.5736253,181.67439,-417.86068)",1,"sailSetupReef1",2,"display","inline","fill-opacity","1","fill-rule","evenodd","stroke-width","2.34613","stroke-linecap","butt","stroke-linejoin","miter","stroke-dasharray","none","stroke-opacity","1"],["d","m 250.83842,-17.681808 h -6.40769 l -42.45096,68.72137 -26.43173,67.957768 -20.02404,74.06638 -17.62115,71.77563 -15.21827,71.01207 145.19283,-0.39575 0.95061,-116.19575 v -15.85565 l -3.08946,-66.73565 -2.85177,-52.536575 -3.08946,-39.284109 -2.37648,-20.588657 -1.9012,-14.6723772 -2.13885,-14.9090281 z","id","Main","transform","matrix(1.5736253,0,0,1.5736253,181.67439,-417.86068)",1,"sailSetupFull",2,"display","inline","fill-opacity","1","fill-rule","evenodd","stroke-width","2.34613","stroke-linecap","butt","stroke-linejoin","miter","stroke-dasharray","none","stroke-opacity","1"],["d","m 308.08151,183.27812 -13.93148,139.40275 65.92617,-1.08343","id","WorkingJib","transform","matrix(1.5736253,0,0,1.5736253,181.67439,-417.86068)",1,"sailSetupReef2",2,"display","inline","fill-opacity","1","fill-rule","evenodd","stroke","#000000","stroke-width","1.67085","stroke-linecap","butt","stroke-linejoin","miter","stroke-dasharray","none","stroke-opacity","1"],["d","m 291.85104,138.47323 -31.19542,207.55672 108.08107,-0.81342","id","Jib","transform","matrix(1.5736253,0,0,1.5736253,181.67439,-417.86068)",1,"sailSetupReef1",2,"display","inline","fill-opacity","1","fill-rule","evenodd","stroke","#000000","stroke-width","2.33332","stroke-linecap","butt","stroke-linejoin","miter","stroke-dasharray","none","stroke-opacity","1"],["d","m 272.14328,86.627245 -57.69332,284.259845 162.9035,-2.80365","id","Genoa","transform","matrix(1.5736253,0,0,1.5736253,181.67439,-417.86068)",1,"sailSetupFull",2,"display","inline","fill-opacity","1","fill-rule","evenodd","stroke","#000000","stroke-width","2.36044","stroke-linecap","butt","stroke-linejoin","miter","stroke-dasharray","none","stroke-opacity","1"],["id","layerLayline",2,"display","inline"],["id","portSectorShift","class","wind-sector-port","style","fill-opacity:0.3;stroke:none;stroke-width:1.90858;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:0.483517",4,"ngIf"],["id","StbdSectorShift","class","wind-sector-stbd","style","fill-opacity:0.3;stroke:none;stroke-width:1.90858;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:0.483517",4,"ngIf"],["id","portSectorShift",1,"wind-sector-port",2,"fill-opacity","0.3","stroke","none","stroke-width","1.90858","stroke-linecap","butt","stroke-linejoin","round","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","0.483517"],["id","StbdSectorShift",1,"wind-sector-stbd",2,"fill-opacity","0.3","stroke","none","stroke-width","1.90858","stroke-linecap","butt","stroke-linejoin","round","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","0.483517"],["id","LayerLayline",2,"display","inline"],["id","PortLayline","style","display:inline;fill:none;stroke-width:3.06951;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:7.16218;stroke-opacity:1","class","laylines",4,"ngIf"],["class","laylines","style","display:inline;fill:none;stroke-width:3.06951;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:7.16218;stroke-opacity:1","id","StbdLayline",4,"ngIf"],["id","PortLayline",1,"laylines",2,"display","inline","fill","none","stroke-width","3.06951","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","7.16218","stroke-opacity","1"],["id","StbdLayline",1,"laylines",2,"display","inline","fill","none","stroke-width","3.06951","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","7.16218","stroke-opacity","1"]],template:function(e,i){1&e&&(vr(),v(0,"svg",0)(1,"defs",1)(2,"linearGradient",2),q(3,"stop",3)(4,"stop",4),b(),v(5,"linearGradient",5),q(6,"stop",6)(7,"stop",7),b(),v(8,"linearGradient",8),q(9,"stop",9)(10,"stop",10),b(),q(11,"linearGradient",11)(12,"linearGradient",12)(13,"linearGradient",13)(14,"linearGradient",14)(15,"linearGradient",15),b(),$(16,qve,18,0,"g",16),v(17,"g",17)(18,"g",18)(19,"g",19),q(20,"path",20)(21,"path",21),b(),v(22,"g",22),q(23,"path",23)(24,"path",24)(25,"path",25)(26,"path",26)(27,"path",27)(28,"path",28)(29,"path",29)(30,"path",30)(31,"path",31)(32,"path",32)(33,"path",33)(34,"path",34)(35,"ellipse",35)(36,"ellipse",36)(37,"ellipse",37)(38,"ellipse",38)(39,"ellipse",39)(40,"ellipse",40)(41,"ellipse",41)(42,"ellipse",42)(43,"ellipse",43)(44,"ellipse",44)(45,"ellipse",45)(46,"ellipse",46)(47,"ellipse",47)(48,"ellipse",48)(49,"ellipse",49)(50,"ellipse",50)(51,"ellipse",51)(52,"ellipse",52)(53,"ellipse",53)(54,"ellipse",54)(55,"ellipse",55)(56,"ellipse",56)(57,"ellipse",57)(58,"ellipse",58)(59,"ellipse",59),b()(),v(60,"g",60),q(61,"path",61)(62,"path",62),b()(),v(63,"g",63),q(64,"ellipse",64)(65,"path",65)(66,"path",66)(67,"path",67)(68,"path",68)(69,"path",69)(70,"path",70)(71,"path",71)(72,"path",72)(73,"path",73)(74,"path",74)(75,"path",75)(76,"path",76)(77,"path",77)(78,"path",78)(79,"path",79)(80,"path",80)(81,"path",81)(82,"path",82)(83,"path",83)(84,"path",84)(85,"path",85)(86,"path",86)(87,"path",87)(88,"path",88),v(89,"text",89)(90,"tspan",90),M(91,"N"),b()(),v(92,"text",91)(93,"tspan",92),M(94,"30"),b()(),v(95,"text",93)(96,"tspan",94),M(97,"60"),b()(),v(98,"text",95)(99,"tspan",96),M(100,"90"),b()(),v(101,"text",97)(102,"tspan",98),M(103,"120"),b()(),v(104,"text",99)(105,"tspan",100),M(106,"150"),b()(),v(107,"text",101)(108,"tspan",102),M(109,"180"),b()(),v(110,"text",103)(111,"tspan",104),M(112,"210"),b()(),v(113,"text",105)(114,"tspan",106),M(115,"240"),b()(),v(116,"text",107)(117,"tspan",108),M(118,"270"),b()(),v(119,"text",109)(120,"tspan",110),M(121,"300"),b()(),v(122,"text",111)(123,"tspan",112),M(124,"330"),b()(),q(125,"animateTransform",113,114),b(),$(127,Zve,3,2,"g",115),$(128,Jve,3,2,"g",116),v(129,"g",117)(130,"svg",118)(131,"g"),q(132,"path",119),v(133,"text",120),M(134,"A "),b(),v(135,"svg",121)(136,"g")(137,"text",122),M(138),b(),q(139,"animateTransform",113,123),b()(),q(141,"animateTransform",113,124),b()(),v(143,"svg",125)(144,"g"),q(145,"path",126),v(146,"text",127),M(147,"T "),b(),v(148,"svg",128)(149,"g")(150,"text",129),M(151),b(),q(152,"animateTransform",113,130),b()(),q(154,"animateTransform",113,131),b()()(),v(156,"g",132),q(157,"path",133),v(158,"text",134)(159,"tspan",135),M(160),b()()()()),2&e&&(I(16),R("ngIf",i.sailSetupEnable),I(109),Je("from","-"+i.compassFaceplate.oldDegreeIndicator+" 231 231")("to","-"+i.compassFaceplate.newDegreeIndicator+" 231 231"),I(2),R("ngIf",i.windSectorEnable),I(1),R("ngIf",i.laylineEnable),I(10),vn(" ",i.appWindSpeedDisplay," "),I(1),Je("from",i.appWindValue.oldDegreeIndicator)("to",i.appWindValue.newDegreeIndicator),I(2),Je("from",i.appWind.oldDegreeIndicator+" 231 231")("to",i.appWind.newDegreeIndicator+" 231 231"),I(10),vn(" ",i.trueWindSpeedDisplay," "),I(1),Je("from",i.trueWindValue.oldDegreeIndicator)("to",i.trueWindValue.newDegreeIndicator),I(2),Je("from",i.trueWind.oldDegreeIndicator+" 231 231")("to",i.trueWind.newDegreeIndicator+" 231 231"),I(6),Qn(i.headingValue))},dependencies:[ui],encapsulation:2}),t})(),tbe=(()=>{class t extends _o{constructor(e){super(),this.zones=e,this.currentHeading=0,this.appWindAngle=0,this.appWindSpeed=0,this.trueWindAngle=0,this.trueWindSpeed=0,this.trueWindHistoric=[],this.windSectorObservableSub=null,this.defaultConfig={filterSelfPaths:!0,paths:{headingPath:{description:"Heading",path:"self.navigation.headingTrue",source:"default",pathType:"number",isPathConfigurable:!0,convertUnitTo:"deg",sampleTime:500},trueWindAngle:{description:"True Wind Angle",path:"self.environment.wind.angleTrueWater",source:"default",pathType:"number",isPathConfigurable:!0,convertUnitTo:"deg",sampleTime:500},trueWindSpeed:{description:"True Wind Speed",path:"self.environment.wind.speedTrue",source:"default",pathType:"number",isPathConfigurable:!0,convertUnitTo:"knots",sampleTime:500},appWindAngle:{description:"Apparent Wind Angle",path:"self.environment.wind.angleApparent",source:"default",pathType:"number",isPathConfigurable:!0,convertUnitTo:"deg",sampleTime:500},appWindSpeed:{description:"Apparent Wind Speed",path:"self.environment.wind.speedApparent",source:"default",pathType:"number",isPathConfigurable:!0,convertUnitTo:"knots",sampleTime:500}},windSectorEnable:!0,windSectorWindowSeconds:10,laylineEnable:!0,laylineAngle:35,sailSetupEnable:!1}}ngOnInit(){this.observeDataStream("headingPath",e=>{null===e.value&&(this.currentHeading=0),this.currentHeading=e.value}),this.observeDataStream("appWindAngle",e=>{null===e.value&&(this.appWindAngle=0),this.appWindAngle=e.value<0?360+e.value:e.value}),this.observeDataStream("appWindSpeed",e=>{null===e&&(this.appWindSpeed=0),this.appWindSpeed=e.value}),this.observeDataStream("trueWindSpeed",e=>{null===e&&(this.trueWindSpeed=0),this.trueWindSpeed=e.value}),this.observeDataStream("trueWindAngle",e=>{null===e.value&&(this.trueWindAngle=0),this.trueWindAngle=this.widgetProperties.config.paths.trueWindAngle.path.match("angleTrueWater")||this.widgetProperties.config.paths.trueWindAngle.path.match("angleTrueGround")?this.addHeading(this.currentHeading,e.value):(this.widgetProperties.config.paths.trueWindAngle.path.match("direction"),e.value),this.widgetProperties.config.windSectorEnable&&this.addHistoricalTrue(this.trueWindAngle)}),this.startWindSectors()}ngOnDestroy(){this.unsubscribeDataStream(),this.stopWindSectors()}startWindSectors(){this.zones.runOutsideAngular(()=>{this.windSectorObservableSub=uk(500).subscribe(e=>{this.historicalCleanup()})})}addHistoricalTrue(e){this.trueWindHistoric.push({timestamp:Date.now(),heading:e});let i=this.arcForAngles(this.trueWindHistoric.map(r=>r.heading));this.trueWindMinHistoric=i[0],this.trueWindMaxHistoric=i[1],this.trueWindMidHistoric=i[2]}arcForAngles(e){return e.slice(1).reduce((i,r)=>{let o=r;for(;oi[1]+180;)o-=360;return i[0]=Math.min(i[0],o),i[1]=Math.max(i[1],o),i[2]=(i[1]-i[0])/2+i[0],i},[e[0],e[0]])}historicalCleanup(){let e=Date.now()-1e3*this.widgetProperties.config.windSectorWindowSeconds;for(var i=this.trueWindHistoric.length-1;i>=0;--i)this.trueWindHistoric[i].timestamp359;)r-=359;for(;r<0;)r+=359;return r}}return t.\u0275fac=function(e){return new(e||t)(D(bt))},t.\u0275cmp=Pe({type:t,selectors:[["app-widget-wind"]],features:[we],decls:2,vars:12,consts:[[1,"windWrapper"],[3,"compassHeading","trueWindAngle","trueWindSpeed","appWindAngle","appWindSpeed","laylineAngle","laylineEnable","windSectorEnable","trueWindMinHistoric","trueWindMidHistoric","trueWindMaxHistoric","sailSetupEnable"]],template:function(e,i){1&e&&(v(0,"div",0),q(1,"app-svg-wind",1),b()),2&e&&(I(1),R("compassHeading",i.currentHeading)("trueWindAngle",i.trueWindAngle)("trueWindSpeed",i.trueWindSpeed)("appWindAngle",i.appWindAngle)("appWindSpeed",i.appWindSpeed)("laylineAngle",i.widgetProperties.config.laylineAngle)("laylineEnable",i.widgetProperties.config.laylineEnable)("windSectorEnable",i.widgetProperties.config.windSectorEnable)("trueWindMinHistoric",i.trueWindMinHistoric)("trueWindMidHistoric",i.trueWindMidHistoric)("trueWindMaxHistoric",i.trueWindMaxHistoric)("sailSetupEnable",i.defaultConfig.sailSetupEnable))},dependencies:[ebe],encapsulation:2}),t})();const nbe=["sgWrapperDiv"],I6={darkGray:steelseries.BackgroundColor.DARK_GRAY,satinGray:steelseries.BackgroundColor.SATIN_GRAY,lightGray:steelseries.BackgroundColor.LIGHT_GRAY,white:steelseries.BackgroundColor.WHITE,black:steelseries.BackgroundColor.BLACK,beige:steelseries.BackgroundColor.BEIGE,brown:steelseries.BackgroundColor.BROWN,red:steelseries.BackgroundColor.RED,green:steelseries.BackgroundColor.GREEN,blue:steelseries.BackgroundColor.BLUE,anthracite:steelseries.BackgroundColor.ANTHRACITE,mud:steelseries.BackgroundColor.MUD,punchedSheet:steelseries.BackgroundColor.PUNCHED_SHEET,carbon:steelseries.BackgroundColor.CARBON,stainless:steelseries.BackgroundColor.STAINLESS,brushedMetal:steelseries.BackgroundColor.BRUSHED_METAL,brushedStainless:steelseries.BackgroundColor.BRUSHED_STAINLESS,turned:steelseries.BackgroundColor.TURNED},P6={blackMetal:steelseries.FrameDesign.BLACK_METAL,metal:steelseries.FrameDesign.METAL,shinyMetal:steelseries.FrameDesign.SHINY_METAL,brass:steelseries.FrameDesign.BRASS,steel:steelseries.FrameDesign.STEEL,chrome:steelseries.FrameDesign.CHROME,gold:steelseries.FrameDesign.GOLD,anthracite:steelseries.FrameDesign.ANTHRACITE,tiltedGray:steelseries.FrameDesign.TILTED_GRAY,tiltedBlack:steelseries.FrameDesign.TILTED_BLACK,glossyMetal:steelseries.FrameDesign.GLOSSY_METAL};let ibe=(()=>{class t{constructor(){this.gaugeWidth=0,this.gaugeHeight=0,this.isInResizeWindow=!1,this.gaugeStarted=!1,this.gaugeOptions={}}ngAfterViewInit(){this.gaugeType||(this.gaugeType="radial")}buildOptions(){if(this.gaugeOptions={},"radial"==this.gaugeType?this.gaugeOptions.size=Math.min(this.gaugeHeight,this.gaugeWidth):(this.gaugeOptions.width=this.gaugeWidth,this.gaugeOptions.height=this.gaugeHeight),this.gaugeOptions.minValue=this.minValue,this.gaugeOptions.maxValue=this.maxValue,this.gaugeOptions.titleString=this.title,this.gaugeOptions.unitString=this.units,"radial"==this.gaugeType)switch(this.radialSize){case"quarter":this.gaugeOptions.gaugeType=steelseries.GaugeType.TYPE1;break;case"half":this.gaugeOptions.gaugeType=steelseries.GaugeType.TYPE2;break;case"three-quarter":this.gaugeOptions.gaugeType=steelseries.GaugeType.TYPE3;break;default:this.gaugeOptions.gaugeType=steelseries.GaugeType.TYPE4}if(this.zones){let e=[],i=[];for(let r=0;r{let i=this.sgWrapperDiv.nativeElement.getBoundingClientRect();this.gaugeWidth=i.width,this.gaugeHeight=i.height,this.isInResizeWindow=!1,this.startGauge()},500))}ngOnChanges(e){!this.gaugeStarted||(e.value&&(e.value.firstChange||this.gauge.setValueAnimated(e.value.currentValue)),e.gaugeType&&(e.gaugeType.firstChange||this.startGauge()),e.barGauge&&(e.barGauge.firstChange||this.startGauge()),e.title&&(e.title.firstChange||this.startGauge()),e.units&&(e.units.firstChange||this.startGauge()),e.minValue&&(e.minValue.firstChange||this.startGauge()),e.maxValue&&(e.maxValue.firstChange||this.startGauge()),e.radialSize&&(e.radialSize.firstChange||this.startGauge()),e.backgroundColor&&(e.backgroundColor.firstChange||this.startGauge()),e.frameColor&&(e.frameColor.firstChange||this.startGauge()))}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Pe({type:t,selectors:[["gauge-steel"]],viewQuery:function(e,i){if(1&e&&Oe(nbe,7,xe),2&e){let r;ue(r=de())&&(i.sgWrapperDiv=r.first)}},inputs:{widgetUUID:"widgetUUID",gaugeType:"gaugeType",barGauge:"barGauge",radialSize:"radialSize",backgroundColor:"backgroundColor",frameColor:"frameColor",minValue:"minValue",maxValue:"maxValue",zones:"zones",title:"title",units:"units",value:"value"},features:[Tn],decls:4,vars:1,consts:[[1,"sgWrapper",3,"resized"],["sgWrapperDiv",""],["width","201","height","201",3,"id"]],template:function(e,i){1&e&&(v(0,"div",0,1),ne("resized",function(o){return i.onResized(o)}),v(2,"canvas",2),M(3,"Browser does not support canvas element."),b()()),2&e&&(I(2),hc("id",i.widgetUUID))},dependencies:[$x],styles:[".sgWrapper[_ngcontent-%COMP%]{height:100%;width:100%;text-align:center}"]}),t})(),rbe=(()=>{class t extends _o{constructor(){super(),this.dataValue=0,this.defaultConfig={displayName:"Gauge Label",filterSelfPaths:!0,paths:{gaugePath:{description:"Numeric Data",path:null,source:null,pathType:"number",isPathConfigurable:!0,convertUnitTo:"unitless",sampleTime:500}},gaugeType:"linear",barGraph:!1,radialSize:"full",minValue:0,maxValue:100,rotateFace:!1,backgroundColor:"carbon",frameColor:"anthracite"}}ngOnInit(){this.observeDataStream("gaugePath",e=>{this.dataValue=e.value})}ngOnDestroy(){this.unsubscribeDataStream()}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Pe({type:t,selectors:[["app-widget-gauge"]],features:[we],decls:3,vars:11,consts:[[1,"gaugeWrapper"],["gaugeWrapperDiv",""],[3,"widgetUUID","gaugeType","barGauge","radialSize","backgroundColor","frameColor","minValue","maxValue","zones","title","units","value"]],template:function(e,i){1&e&&(v(0,"div",0,1),q(2,"gauge-steel",2),b()),2&e&&(I(2),R("widgetUUID",i.widgetProperties.uuid)("gaugeType",i.widgetProperties.config.gaugeType)("barGauge",i.widgetProperties.config.barGraph)("radialSize",i.widgetProperties.config.radialSize)("backgroundColor",i.widgetProperties.config.backgroundColor)("frameColor",i.widgetProperties.config.frameColor)("minValue",i.widgetProperties.config.minValue)("maxValue",i.widgetProperties.config.maxValue)("title",i.widgetProperties.config.displayName)("units",i.widgetProperties.config.paths.gaugePath.convertUnitTo)("value",i.dataValue))},dependencies:[ibe],styles:[".gaugeWrapper[_ngcontent-%COMP%]{position:relative;width:100%;height:100%}"]}),t})();const aD={200:"The request was successfully.",202:"The request is awaiting authorization.",400:"Bad Client request format.",401:"Login failed. Your User ID or Password is incorrect.",403:"DENIED: You must be authenticated to send commands. Configure server connection authentication or requets a Device Authorization token.",405:"The server does not support the request.",500:"The request failed.",502:"Something went wrong carrying out the request on the server side.",504:"Timeout on the server side trying to carry out the request."};let lD=(()=>{class t{constructor(e,i,r,o){this.signalKDeltaService=e,this.appSettingsService=i,this.NotificationsService=r,this.auth=o,this.requestStatus$=new pe,this.requests=[],this.signalKDeltaService.subscribeRequestUpdates().subscribe(a=>{this.updateRequest(a)})}requestDeviceAccessToken(){let e=this.newUuid(),i={requestId:e,accessRequest:{clientId:this.appSettingsService.KipUUID,description:"Kip web app",permissions:"admin"}};console.log("[Request Service] Requesting Device Authorization Token"),this.signalKDeltaService.publishDelta(i),this.requests.push({requestId:e,state:null,statusCode:null})}requestUserLogin(e,i){let r=this.newUuid(),o={requestId:r,login:{username:e,password:i}};return console.log("[Request Service] Requesting User Login"),this.signalKDeltaService.publishDelta(o),this.requests.push({requestId:r,state:null,statusCode:null}),r}putRequest(e,i,r){let o=this.newUuid(),s=e.replace(/^(self\.)/,"");return this.signalKDeltaService.publishDelta({context:"vessels.self",requestId:o,put:{path:s,value:i}}),this.requests.push({requestId:o,state:null,statusCode:null,widgetUUID:r}),o}updateRequest(e){let i=this.requests.findIndex(r=>r.requestId==e.requestId);if(i>-1){this.requests[i].state=e.state,this.requests[i].statusCode=e.statusCode,this.requests[i].message=e.message;const r=aD[e.statusCode];if(typeof r<"u"&&(200==this.requests[i].statusCode||202==this.requests[i].statusCode||401==this.requests[i].statusCode||405==this.requests[i].statusCode)){if(this.requests[i].statusCodeDescription=r,202==this.requests[i].statusCode)return void this.NotificationsService.sendSnackbarNotification(this.requests[i].statusCodeDescription);405==this.requests[i].statusCode&&console.log("[Request Service] Status Code: "+this.requests[i].statusCode+" - "+this.requests[i].message),void 0!==e.accessRequest&&void 0!==e.accessRequest.token&&(this.NotificationsService.sendSnackbarNotification(e.accessRequest.permission+": Device Access Token received from server."),console.log(`[Request Service] ${e.accessRequest.permission}: Device Access Token received`),this.auth.setDeviceAccessToken(e.accessRequest.token))}else this.NotificationsService.sendSnackbarNotification("ERROR: Unknown Request Status Code received: "+this.requests[i].statusCode+" - "+aD[this.requests[i].statusCode]+" - "+this.requests[i].message),console.error("[Request Service] Unknown Request Status Code received: "+this.requests[i].statusCode+" - "+aD[this.requests[i].statusCode]+" - "+this.requests[i].message);try{this.requestStatus$.next(this.requests[i]),this.requests.splice(i,1)}catch(o){this.requestStatus$.error(o),console.error("[Request Service] "+o),this.requests=[]}}else this.NotificationsService.sendSnackbarNotification("ERROR: A request message that contains an unknown Request ID was received. Request Delta:\n"+JSON.stringify(e)),console.error("[Request Service] A Request message that contains an unknown Request ID was received. from delta:\n"+JSON.stringify(e))}subscribeRequest(){return this.requestStatus$.asObservable()}newUuid(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){var i=16*Math.random()|0;return("x"==e?i:3&i|8).toString(16)})}}return t.\u0275fac=function(e){return new(e||t)(K(Tc),K(hr),K(As),K(Rl))},t.\u0275prov=Te({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const obe=["btnDiv"],sbe=["lightDiv"],abe=["btnLabelCanvas"];let lbe=(()=>{class t extends _o{constructor(e,i){super(),this.signalkRequestsService=e,this.notification=i,this.buttonBorberColorOn="",this.buttonColorOn="",this.buttonLabelColorOn="",this.buttonBorberColorOff="",this.buttonColorOff="",this.buttonLabelColorOff="",this.lightColorOn="",this.lightColorOff="",this.currentValueLength=0,this.valueFontSize=1,this.state=null,this.pressed=!1,this.skRequestSub=new Z,this.defaultConfig={displayName:"Switch Label",filterSelfPaths:!0,paths:{boolPath:{description:"Boolean Data",path:null,source:null,pathType:"boolean",isPathConfigurable:!0,convertUnitTo:"unitless",sampleTime:500}},putEnable:!1,putMomentary:!1,putMomentaryValue:!0,barColor:"accent"}}ngOnInit(){this.canvasButtonTxt=this.canvasBtnTxtElement.nativeElement.getContext("2d"),this.observeDataStream("boolPath",e=>{this.state=e.value,this.updateBtnCanvas()}),this.subscribeSKRequest()}updateGaugeSettings(){switch(this.buttonColorOff="",this.buttonColorOn=this.theme.background,this.widgetProperties.config.barColor){case"primary":this.buttonLabelColorOff=this.theme.background,this.buttonLabelColorOn=this.theme.primary,this.buttonBorberColorOff=this.theme.primary,this.buttonBorberColorOn=this.theme.primaryDark,this.lightColorOff=this.theme.background,this.lightColorOn=this.theme.primaryDark;break;case"accent":this.buttonLabelColorOff=this.theme.background,this.buttonLabelColorOn=this.theme.accent,this.buttonBorberColorOff=this.theme.accent,this.buttonBorberColorOn=this.theme.accentDark,this.lightColorOff=this.theme.background,this.lightColorOn=this.theme.accentDark;break;case"warn":this.buttonLabelColorOff=this.theme.background,this.buttonLabelColorOn=this.theme.warn,this.buttonBorberColorOff=this.theme.warn,this.buttonBorberColorOn=this.theme.warnDark,this.lightColorOff=this.theme.background,this.lightColorOn=this.theme.warnDark}}ngAfterViewChecked(){this.resizeWidget()}ngOnChanges(e){e.theme&&(this.updateGaugeSettings(),this.updateBtnCanvas())}resizeWidget(){let e=this.divBtnElement.nativeElement.getBoundingClientRect();e.height<50||e.width<50||(this.canvasBtnTxtElement.nativeElement.width!=Math.floor(e.width)||this.canvasBtnTxtElement.nativeElement.height!=Math.floor(e.height))&&(this.canvasBtnTxtElement.nativeElement.width=Math.floor(e.width),this.canvasBtnTxtElement.nativeElement.height=Math.floor(e.height),this.currentValueLength=0,this.updateBtnCanvas())}subscribeSKRequest(){this.skRequestSub=this.signalkRequestsService.subscribeRequest().subscribe(e=>{if(e.widgetUUID==this.widgetProperties.uuid){let i=`Button ${this.widgetProperties.config.displayName}: `;200!=e.statusCode&&(i+=e.message?e.message:e.statusCode+" - "+e.statusCodeDescription,this.notification.sendSnackbarNotification(i,0))}})}unsubscribeSKRequest(){this.skRequestSub.unsubscribe()}handleClickDown(){if(this.widgetProperties.config.putEnable){if(this.widgetProperties.config.putMomentary)return this.pressed=!0,this.signalkRequestsService.putRequest(this.widgetProperties.config.paths.boolPath.path,this.widgetProperties.config.paths.boolPath.source,this.widgetProperties.uuid),void(this.timeoutHandler=setInterval(()=>{this.signalkRequestsService.putRequest(this.widgetProperties.config.paths.boolPath.path,this.widgetProperties.config.paths.boolPath.source,this.widgetProperties.uuid)},100));if(this.signalkRequestsService.putRequest(this.widgetProperties.config.paths.boolPath.path,this.widgetProperties.config.paths.boolPath.source,this.widgetProperties.uuid),!this.state)return}}handleClickUp(){!this.widgetProperties.config.putEnable||!this.pressed||this.widgetProperties.config.putMomentary&&(this.pressed=!1,clearInterval(this.timeoutHandler),this.signalkRequestsService.putRequest(this.widgetProperties.config.paths.boolPath.path,this.widgetProperties.config.paths.boolPath.source,this.widgetProperties.uuid))}ngOnDestroy(){this.unsubscribeDataStream(),this.unsubscribeSKRequest()}updateBtnCanvas(){this.canvasButtonTxt&&(this.canvasButtonTxt.clearRect(0,0,this.canvasBtnTxtElement.nativeElement.width,this.canvasBtnTxtElement.nativeElement.height),this.drawBtnLabel())}drawBtnLabel(){let r,e=Math.floor(this.canvasBtnTxtElement.nativeElement.width-.15*this.canvasBtnTxtElement.nativeElement.width),i=Math.floor(this.canvasBtnTxtElement.nativeElement.height-.2*this.canvasBtnTxtElement.nativeElement.height);if(r=null===this.widgetProperties.config.displayName?"":this.widgetProperties.config.displayName,this.currentValueLength!=r.length){this.currentValueLength=r.length,this.valueFontSize=i,this.canvasButtonTxt.font=this.valueFontSize.toString()+"px Arial";let o=this.canvasButtonTxt.measureText(r).width;for(o>e&&(this.valueFontSize=Math.floor(this.valueFontSize*(e/o)),this.canvasButtonTxt.font=this.valueFontSize.toString()+"px Arial");this.canvasButtonTxt.measureText(r).width>e&&this.valueFontSize>0;)this.valueFontSize--,this.canvasButtonTxt.font=this.valueFontSize.toString()+"px Arial"}this.canvasButtonTxt.font=this.valueFontSize.toString()+"px Arial",this.canvasButtonTxt.textAlign="center",this.canvasButtonTxt.textBaseline="middle",this.canvasButtonTxt.fillStyle=this.theme.text,this.canvasButtonTxt.fillText(r,this.canvasBtnTxtElement.nativeElement.width/2,this.canvasBtnTxtElement.nativeElement.height/2+this.valueFontSize/15,e)}}return t.\u0275fac=function(e){return new(e||t)(D(lD),D(As))},t.\u0275cmp=Pe({type:t,selectors:[["app-widget-button"]],viewQuery:function(e,i){if(1&e&&(Oe(obe,7,xe),Oe(sbe,7,xe),Oe(abe,7,xe)),2&e){let r;ue(r=de())&&(i.divBtnElement=r.first),ue(r=de())&&(i.divLightElement=r.first),ue(r=de())&&(i.canvasBtnTxtElement=r.first)}},features:[we,Tn],decls:9,vars:6,consts:[[2,"margin","0px","padding","0px","width","100%","height","100%"],[1,"switchWrapper"],[1,"square"],[1,"light"],["lighDiv",""],[1,"label"],["btnLabelCanvas",""],[1,"button",3,"mousedown","mouseup","mouseout"],["btnDiv",""]],template:function(e,i){1&e&&(v(0,"div",0)(1,"div",1)(2,"div",2),q(3,"div",3,4),b(),q(5,"canvas",5,6),v(7,"div",7,8),ne("mousedown",function(){return i.handleClickDown()})("mouseup",function(){return i.handleClickUp()})("mouseout",function(){return i.handleClickUp()}),b()()()),2&e&&(I(3),br("background",i.state?i.lightColorOn:i.lightColorOff),I(4),br("color",i.state?i.buttonBorberColorOn:i.buttonBorberColorOff)("background-color",i.buttonColorOn))},styles:['.switchWrapper[_ngcontent-%COMP%]{position:relative;margin:0;top:47%;transform:translateY(-47%);display:flex;flex-direction:row;align-items:center;justify-content:center}.light[_ngcontent-%COMP%]{position:absolute;inset:0;border-radius:50%;border-color:#262626;border-style:solid;border-width:medium}.square[_ngcontent-%COMP%]{position:relative;width:10%}.square[_ngcontent-%COMP%]:before{content:"";display:block;padding-top:100%}.label[_ngcontent-%COMP%]{position:relative;width:60%}.button[_ngcontent-%COMP%]{position:relative;width:25%;box-sizing:border-box;border:inset 4px;border-radius:20px}.button[_ngcontent-%COMP%]:before{content:"";display:block;padding-top:70%}.button[_ngcontent-%COMP%]:active{border-style:outset}']}),t})(),cbe=(()=>{class t{constructor(e){this.sanitizer=e}transform(e){return this.sanitizer.bypassSecurityTrustResourceUrl(e)}}return t.\u0275fac=function(e){return new(e||t)(D(W_,16))},t.\u0275pipe=Lr({name:"safe",type:t,pure:!0}),t})();function ube(t,n){1&t&&(q(0,"iframe",3),es(1,"safe")),2&t&&R("src",Ca(1,1,re().widgetUrl),bw)}function dbe(t,n){1&t&&(v(0,"div")(1,"h4"),M(2,"URL Not Configured"),b(),v(3,"p"),M(4,'For Example in Graphana, select share for the graph you want, go to embed tab, and take the "src" url.'),b(),v(5,"p"),M(6,'You should probably change the from/to timestamps to "from=now-15m" and "to=now" and make sure you have "refresh=30" in the parameters as well!'),b(),v(7,"p"),M(8,"Of note, cross-domain loading security rules apply! "),v(9,"a",4),M(10,"Link!"),b()()())}let hbe=(()=>{class t extends _o{constructor(){super(),this.widgetUrl=null,this.defaultConfig={widgetUrl:null}}ngOnInit(){this.widgetUrl=this.widgetProperties.config.widgetUrl}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Pe({type:t,selectors:[["app-widget-iframe"]],features:[we],decls:3,vars:2,consts:[[1,"iFrameWrapper"],["width","100%","height","100%","frameborder","0",3,"src",4,"ngIf"],[4,"ngIf"],["width","100%","height","100%","frameborder","0",3,"src"],["href","https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Frame-Options","target","_blank"]],template:function(e,i){1&e&&(v(0,"div",0),$(1,ube,2,3,"iframe",1),$(2,dbe,11,0,"div",2),b()),2&e&&(I(1),R("ngIf",i.widgetUrl),I(1),R("ngIf",!i.widgetUrl))},dependencies:[ui,cbe],styles:[".iFrameWrapper[_ngcontent-%COMP%]{position:relative;width:100%;height:100%}"]}),t})();function fbe(t,n){1&t&&(v(0,"div")(1,"h3"),M(2,"Kip Installation Notes"),b(),v(3,"p"),M(4,"For complete functionality, certain Signal K plugin should be installed on the server you are connecting to: "),b(),v(5,"ul")(6,"li"),M(7,"@signalk-alarm-silencer: To silence Notifications on the server. This enables Kip to instruct the Signal K server to silence said alarm for on all devices supporting Signal K Notifications, else Kip will be silenced."),b(),v(8,"li"),M(9,"@signalk/signalk-autopilot: required for the N2k Autopilot to function. "),q(10,"br"),v(11,"b"),M(12,"Use the Kip N2k autopilot at your own risk. Use with caution and constant supervision."),b()()()())}function pbe(t,n){1&t&&(v(0,"div")(1,"h3"),M(2,"Getting Started"),b(),v(3,"h4"),M(4,"Two options are available:"),b(),v(5,"ol")(6,"li"),M(7,"Load Live Demo "),v(8,"p"),M(9,"To dive right in and see what KIP can do! Load the demo configuration with simulated data from demo.signalk.org. Note that an internet connection is required."),b(),v(10,"button",2),M(11,"Load Demo"),b(),q(12,"br")(13,"br"),b(),v(14,"li"),M(15,"Connect to a Signal K server, then start configuring instruments "),v(16,"p"),M(17,' Configure KIP\'s Signal K server URL connection and connect to receive data. Use the "Set Sign In credentials" button to authenticate to the server with a pre existing Signal K user/password and enable KIP configuration to be shared by any device. See '),v(18,"a",3),M(19,"Configuration Management Help"),b(),M(20," for more instructions. "),b(),v(21,"button",4),M(22,"Configure"),b(),q(23,"br"),b()(),v(24,"h4"),M(25,"Then start editing Page Layouts"),b(),v(26,"p"),M(27,' Page layouts are "Locked" by default. This is to prevent accidental touch screens interaction from changing anything. A page layout is a screen where you can add, configure and remove the various avalable widgets such as gauges and components. Multiple pages can be added to facilitate organization. You can unlock page layout using the hamburger icon in the lower right corner and selecting "Configuration -> Edit Layout". Go Ahead try it now! '),b()())}function mbe(t,n){1&t&&(v(0,"div")(1,"h1"),M(2,"Next Steps..."),b(),v(3,"h2"),M(4,"Configuring Page Layout"),b(),v(5,"p"),M(6," Now that the page layout is unlocked, you can do a few actions: "),b(),v(7,"ul")(8,"li"),M(9,"The icon in the lower right can be used to select the Widget you would like to display"),b(),v(10,"li"),M(11,'The icon in the lower left can be used to "split" the pages into various areas. You can use area to display different widgets on one page. Areas can be resized to better fit designs'),b(),v(12,"li"),M(13,'The "X" in the upper right can be used to delete an area (basically undoing a split)'),b(),v(14,"li"),M(15,"Once a widget is selected, there will be a gear in the lower middle. Clicking it will allow you to setup the widget parameters"),b()(),v(16,"h2"),M(17,"Getting Data from Signalk"),b(),v(18,"p"),M(19,'The next steps is to configure your connection to a Signal K server using the hamburger icon in the lower right corner and selecting "Configuration -> Settings".'),b()())}let gbe=(()=>{class t extends _o{constructor(){super(),this.defaultConfig={}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Pe({type:t,selectors:[["app-widget-tutorial"]],inputs:{unlockStatus:"unlockStatus"},features:[we],decls:4,vars:3,consts:[[1,"tabGroupPanel","mat-typography"],[4,"ngIf"],["mat-raised-button","","routerLink","/demo"],["routerLink","/help"],["mat-raised-button","","routerLink","/settings"]],template:function(e,i){1&e&&(v(0,"div",0),$(1,fbe,13,0,"div",1),$(2,pbe,28,0,"div",1),$(3,mbe,20,0,"div",1),b()),2&e&&(I(1),R("ngIf",!i.unlockStatus),I(1),R("ngIf",!i.unlockStatus),I(1),R("ngIf",i.unlockStatus))},dependencies:[ui,Pp,Rp,Ji],encapsulation:2}),t})();var zy=Yi(8023),R6=Yi.n(zy),_be=Yi(5578);const vbe=["gauge"],ybe=t=>t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),F6=t=>(t=>t.replace(/(\-\w)/g,n=>n[1].toUpperCase()))(t);let N6=(()=>{class t{constructor(e,i){this.el=e,this.zone=i,this.isInited=!1}get options(){const e={};e.renderTo=this.canvas.nativeElement;for(const i of this.el.nativeElement.attributes)e[F6(i.name)]=zy.DomObserver.parse(i.value);for(const i in this.preInitOptions)e[i]=this.preInitOptions[i];return this.isInited&&(this.preInitOptions=null),e}set options(e){this.isInited?this.update(e):this.preInitOptions=e}set value(e){this.isInited?this.zone.runOutsideAngular(()=>{this.gauge.value=e}):this.preInitValue=e}update(e){if(e)for(const i in e){const r=e[i].toString();if("value"===i)this.value=zy.DomObserver.parse(r);else{const o=ybe(i);this.el.nativeElement.setAttribute(o,r)}}}ngAfterViewInit(){this.initGauge(),this.listenForDOMEvents(),this.isInited=!0,this.preInitValue&&(this.value=this.preInitValue)}listenForDOMEvents(){this.domListener=_be.DOM.fromMutationObserver(this.el.nativeElement,{attributes:!0}).subscribe(e=>{const i={};e.forEach(r=>{"attributes"===r.type&&(i[F6(r.attributeName)]=zy.DomObserver.parse(this.el.nativeElement.getAttribute(r.attributeName)))}),this.basicUpdate(i)})}stopListeningForDOMEvents(){this.domListener&&(this.domListener.disconnect(),this.domListener=null)}initGauge(){const e=this.options;(!e.hasOwnProperty("renderTo")||!e.renderTo)&&(e.renderTo=this.canvas.nativeElement),this.basicUpdate(e)}basicUpdate(e){"number"==typeof e.value&&(this.value=e.value,delete e.value),Object.keys(e).length&&this.gauge.update(e)}}return t.\u0275fac=function(e){return new(e||t)(D(xe),D(bt))},t.\u0275dir=fe({type:t,viewQuery:function(e,i){if(1&e&&Oe(vbe,7),2&e){let r;ue(r=de())&&(i.canvas=r.first)}},inputs:{options:"options",value:"value"}}),t})(),wbe=(()=>{class t extends N6{constructor(e,i){super(e,i)}ngOnInit(){this.gauge=new(R6().LinearGauge)(this.options).draw()}}return t.\u0275fac=function(e){return new(e||t)(D(xe),D(bt))},t.\u0275cmp=Pe({type:t,selectors:[["linear-gauge"]],features:[we],decls:2,vars:0,consts:[["gauge",""]],template:function(e,i){1&e&&q(0,"canvas",null,0)},encapsulation:2}),t})();const Cbe=["linearWrapperDiv"],Sbe=["linearGauge"];let xbe=(()=>{class t extends _o{constructor(e){super(),this.appSettingsService=e,this.dataValue=0,this.dataValueTrimmed=0,this.sample=500,this.gaugeOptions={},this.isGaugeVertical=!0,this.zones=[],this.defaultConfig={displayName:"Gauge Label",filterSelfPaths:!0,paths:{gaugePath:{description:"Numeric Data",path:null,source:null,pathType:"number",isPathConfigurable:!0,convertUnitTo:"unitless",sampleTime:500}},gaugeType:"ngLinearVertical",gaugeTicks:!1,minValue:0,maxValue:100,numInt:1,numDecimal:0,barColor:"accent"}}ngOnInit(){this.observeDataStream("gaugePath",e=>{let i=this.dataValue,r=this.formatWidgetNumberValue(e.value);switch(i!=r&&(this.dataValue=r),e.state){case gi.warning:case gi.alarm:this.gaugeOptions.colorValueText=this.theme.warnDark;break;default:this.gaugeOptions.colorValueText=getComputedStyle(this.wrapper.nativeElement).color}}),this.subscribeZones()}ngOnDestroy(){this.unsubscribeDataStream(),this.unsubscribeZones()}ngOnChanges(e){e.theme&&this.updateGaugeConfig()}subscribeZones(){this.zonesSub=this.appSettingsService.getZonesAsO().subscribe(e=>{this.zones=e,this.updateGaugeConfig()})}unsubscribeZones(){null!==this.zonesSub&&(this.zonesSub.unsubscribe(),this.zonesSub=null)}updateGaugeConfig(){let e="",i="";switch(this.gaugeOptions.colorTitle=this.gaugeOptions.colorUnits=this.gaugeOptions.colorValueText=window.getComputedStyle(this.wrapper.nativeElement).color,this.gaugeOptions.colorPlate=window.getComputedStyle(this.wrapper.nativeElement).backgroundColor,this.gaugeOptions.colorBar=this.theme.background,this.gaugeOptions.colorMajorTicks=this.gaugeOptions.colorTitle,this.gaugeOptions.colorMinorTicks=this.gaugeOptions.colorTitle,this.gaugeOptions.colorNeedleEnd="",this.gaugeOptions.colorNeedleShadowUp="",this.gaugeOptions.colorNeedleShadowDown="black",this.widgetProperties.config.barColor){case"primary":e=this.theme.primary,i=this.theme.primaryDark,this.gaugeOptions.colorBarProgress=e,this.gaugeOptions.colorBarProgressEnd=i,this.gaugeOptions.colorNeedle=i,this.gaugeOptions.needleWidth=5;break;case"accent":e=this.theme.accent,i=this.theme.accentDark,this.gaugeOptions.colorBarProgress=e,this.gaugeOptions.colorBarProgressEnd=i,this.gaugeOptions.colorNeedle=i,this.gaugeOptions.needleWidth=5;break;case"warn":e=this.theme.warn,i=this.theme.warnDark,this.gaugeOptions.colorBarProgress=e,this.gaugeOptions.colorBarProgressEnd=i,this.gaugeOptions.colorNeedle=i,this.gaugeOptions.needleWidth=5;break;case"nobar":e=this.theme.background,i=this.theme.warnDark,this.gaugeOptions.colorBar=e,this.gaugeOptions.colorBarProgress=e,this.gaugeOptions.colorBarProgressEnd=e,this.gaugeOptions.colorNeedle=i,this.gaugeOptions.needleWidth=20}let r=[];this.zones.forEach(o=>{if(o.path==this.widgetProperties.config.paths.gaugePath.path){let l,s=o.lower||this.widgetProperties.config.minValue,a=o.upper||this.widgetProperties.config.maxValue;switch(o.state){case 1:l=this.theme.warn;break;case gi.alarm:l=this.theme.warnDark;break;default:l=this.theme.primary}r.push({from:s,to:a,color:l})}}),this.gaugeOptions.highlights=r,this.gaugeOptions.minValue=this.widgetProperties.config.minValue,this.gaugeOptions.maxValue=this.widgetProperties.config.maxValue,this.gaugeOptions.valueInt=this.widgetProperties.config.numInt,this.gaugeOptions.valueDec=this.widgetProperties.config.numDecimal,this.gaugeOptions.majorTicksInt=this.widgetProperties.config.numInt,this.gaugeOptions.majorTicksDec=this.widgetProperties.config.numDecimal,this.gaugeOptions.animationDuration=this.sample-25,this.gaugeOptions.colorMajorTicks=this.gaugeOptions.colorNumbers=this.gaugeOptions.colorMinorTicks=this.widgetProperties.config.gaugeTicks?this.gaugeOptions.colorTitle:"",this.gaugeOptions.valueBox=!0,this.gaugeOptions.valueBoxWidth=100,this.gaugeOptions.valueBoxBorderRadius=0,this.gaugeOptions.needle=!0,this.gaugeOptions.needleType="line",this.gaugeOptions.needleShadow=!1,this.gaugeOptions.needleSide="both","ngLinearVertical"==this.widgetProperties.config.gaugeType?(this.isGaugeVertical=!0,this.gaugeOptions.barLength=75,this.gaugeOptions.fontUnitsSize=40,this.gaugeOptions.fontTitleSize=40,1==this.widgetProperties.config.gaugeTicks?(this.gaugeOptions.barWidth=30,this.gaugeOptions.needleStart=-45,this.gaugeOptions.needleEnd=55,this.gaugeOptions.exactTicks=!1,this.gaugeOptions.tickSide="right",this.gaugeOptions.ticksWidth=8,this.gaugeOptions.ticksPadding=4,this.gaugeOptions.strokeTicks=!1,this.gaugeOptions.majorTicks=[this.widgetProperties.config.minValue,this.widgetProperties.config.maxValue],this.gaugeOptions.numberSide="right",this.gaugeOptions.numbersMargin=0,this.gaugeOptions.fontNumbersSize=25,this.gaugeOptions.minorTicks=10,this.gaugeOptions.ticksWidthMinor=4,this.gaugeOptions.highlightsWidth=15):(this.gaugeOptions.barWidth=100,this.gaugeOptions.needleStart=0,this.gaugeOptions.needleEnd=100,this.gaugeOptions.ticksWidth=0,this.gaugeOptions.strokeTicks=!1,this.gaugeOptions.majorTicks=[],this.gaugeOptions.ticksPadding=0,this.gaugeOptions.minorTicks=0,this.gaugeOptions.ticksWidthMinor=0,this.gaugeOptions.numbersMargin=0,this.gaugeOptions.fontNumbersSize=0,this.gaugeOptions.highlightsWidth=15)):(this.isGaugeVertical=!1,this.gaugeOptions.barLength=80,this.gaugeOptions.fontTitleSize=45,this.gaugeOptions.fontUnitsSize=35,this.gaugeOptions.barWidth=40,1==this.widgetProperties.config.gaugeTicks?(this.gaugeOptions.exactTicks=!1,this.gaugeOptions.barWidth=30,this.gaugeOptions.needleStart=-45,this.gaugeOptions.needleEnd=56,this.gaugeOptions.tickSide="right",this.gaugeOptions.ticksWidth=8,this.gaugeOptions.ticksPadding=5,this.gaugeOptions.strokeTicks=!1,this.gaugeOptions.majorTicks=[this.widgetProperties.config.minValue,this.widgetProperties.config.maxValue],this.gaugeOptions.numberSide="right",this.gaugeOptions.numbersMargin=-5,this.gaugeOptions.fontNumbersSize=25,this.gaugeOptions.minorTicks=10,this.gaugeOptions.ticksWidthMinor=5,this.gaugeOptions.highlightsWidth=15):(this.gaugeOptions.barWidth=60,this.gaugeOptions.needleStart=0,this.gaugeOptions.needleEnd=100,this.gaugeOptions.ticksWidth=0,this.gaugeOptions.strokeTicks=!1,this.gaugeOptions.majorTicks=[],this.gaugeOptions.ticksPadding=0,this.gaugeOptions.minorTicks=0,this.gaugeOptions.ticksWidthMinor=0,this.gaugeOptions.numbersMargin=0,this.gaugeOptions.fontNumbersSize=0,this.gaugeOptions.highlightsWidth=15))}onResized(e){this.gaugeOptions.height=e.newRect.height,this.gaugeOptions.width=1==this.isGaugeVertical?.3*e.newRect.height:e.newRect.width}}return t.\u0275fac=function(e){return new(e||t)(D(hr))},t.\u0275cmp=Pe({type:t,selectors:[["app-widget-gauge-ng-linear"]],viewQuery:function(e,i){if(1&e&&(Oe(Cbe,7,xe),Oe(Sbe,7,xe)),2&e){let r;ue(r=de())&&(i.wrapper=r.first),ue(r=de())&&(i.linearGauge=r.first)}},features:[we,Tn],decls:6,vars:60,consts:[[2,"margin","0px","padding","0px","width","100%","height","100%"],[3,"className","resized"],["linearWrapperDiv",""],["font-title","arial","font-title-weight","bold","font-Units","arial","font-Units-weight","","borders","false","border-outer-width","0","color-border-outer","red","color-border-outer-end","red","border-middle-width","0","color-border-middle","#63afdf","color-border-middle-end","#63afdf","border-inner-width","0","color-border-inner","red","color-border-inner-end","#121212","border-shadow-width","0","border-radius","0","bar-progress","true","bar-begin-circle","false","bar-stroke-width","0","bar-shadow","0","color-bar-end","","color-bar-stroke","0","value-box-stroke","0","color-value-box-rect","","color-value-box-rect-end","","value-text","","font-value","arial","font-value-size","50","font-value-weight","bold","value-text-shadow","false","color-value-box-shadow","","color-stroke-ticks","","font-numbers","arial","font-numbers-weight","","animation","true","animation-rule","linear","animated-value","false","animate-on-init","false",1,"linearGauge",3,"id","value"],["linearGauge",""]],template:function(e,i){1&e&&(v(0,"div",0)(1,"div",1,2),ne("resized",function(o){return i.onResized(o)}),q(3,"linear-gauge",3,4),es(5,"json"),b()()),2&e&&(I(1),R("className",i.isGaugeVertical?"verticalLinearWrapper":"horizontalLinearWrapper"),I(2),hc("id",i.widgetProperties.uuid),R("value",i.dataValue),Je("width",i.gaugeOptions.width)("height",i.gaugeOptions.height)("title",i.widgetProperties.config.displayName)("font-title-size",i.gaugeOptions.fontTitleSize)("color-title",i.gaugeOptions.colorTitle)("units",i.widgetProperties.config.paths.gaugePath.convertUnitTo)("min-value",i.gaugeOptions.minValue)("max-value",i.gaugeOptions.maxValue)("font-Units-size",i.gaugeOptions.fontUnitsSize)("color-units",i.gaugeOptions.colorUnits)("color-plate",i.gaugeOptions.colorPlate)("color-plate-end",i.gaugeOptions.colorPlate)("bar-width",i.gaugeOptions.barWidth)("bar-length",i.gaugeOptions.barLength)("color-bar",i.gaugeOptions.colorBar)("color-bar-progress",i.gaugeOptions.colorBarProgress)("color-bar-progress-end",i.gaugeOptions.colorBarProgressEnd)("value-box",i.gaugeOptions.valueBox)("value-box-width",i.gaugeOptions.valueBoxWidth)("value-box-border-radius",i.gaugeOptions.valueBoxBorderRadius)("color-value-box-background",i.gaugeOptions.colorBar)("value-int",i.gaugeOptions.valueInt)("value-dec",i.gaugeOptions.valueDec)("color-value-text",i.gaugeOptions.colorValueText)("exact-ticks",i.gaugeOptions.exactTicks)("stroke-ticks",i.gaugeOptions.strokeTicks)("tick-side",i.gaugeOptions.tickSide)("ticks-padding",i.gaugeOptions.ticksPadding)("major-ticks",i.gaugeOptions.majorTicks)("major-ticks-int",i.gaugeOptions.majorTicksInt)("major-ticks-dec",i.gaugeOptions.majorTicksDec)("color-major-ticks",i.gaugeOptions.colorMajorTicks)("ticks-width",i.gaugeOptions.ticksWidth)("minor-ticks",i.gaugeOptions.minorTicks)("color-minor-ticks",i.gaugeOptions.colorMinorTicks)("number-side",i.gaugeOptions.numberSide)("numbers-margin",i.gaugeOptions.numbersMargin)("font-numbers-size",i.gaugeOptions.fontNumbersSize)("color-numbers",i.gaugeOptions.colorNumbers)("ticks-width-minor",i.gaugeOptions.ticksWidthMinor)("highlights",Ca(5,58,i.gaugeOptions.highlights))("highlights-width",i.gaugeOptions.highlightsWidth)("needle-side",i.gaugeOptions.needleSide)("animation-duration",i.gaugeOptions.animationDuration)("needle",i.gaugeOptions.needle)("needle-end",i.gaugeOptions.needleEnd)("needle-start",i.gaugeOptions.needleStart)("needle-shadow",i.gaugeOptions.needleShadow)("needle-side",i.gaugeOptions.needleSide)("needle-width",i.gaugeOptions.needleWidth)("needle-type",i.gaugeOptions.needleType)("color-needle",i.gaugeOptions.colorNeedle)("color-needle-end",i.gaugeOptions.colorNeedleEnd)("color-needle-shadow-up",i.gaugeOptions.colorNeedleShadowUp)("color-needle-shadow-down",i.gaugeOptions.colorNeedleShadowDown))},dependencies:[$x,wbe,rC],styles:['.verticalLinearWrapper[_ngcontent-%COMP%]{position:relative;top:3%;height:97%;width:100%}.verticalLinearWrapper[_ngcontent-%COMP%] > .linearGauge[_ngcontent-%COMP%]{position:absolute;inset:0;text-align:center}.horizontalLinearWrapper[_ngcontent-%COMP%]{position:relative;margin:0;top:47%;transform:translateY(-47%)}.horizontalLinearWrapper[_ngcontent-%COMP%]:before{display:block;content:"";width:100%;padding-top:24.25%;margin-top:3%}.horizontalLinearWrapper[_ngcontent-%COMP%] > .linearGauge[_ngcontent-%COMP%]{position:absolute;inset:0}']}),t})(),L6=(()=>{class t extends N6{constructor(e,i){super(e,i)}ngOnInit(){this.gauge=new(R6().RadialGauge)(this.options).draw()}}return t.\u0275fac=function(e){return new(e||t)(D(xe),D(bt))},t.\u0275cmp=Pe({type:t,selectors:[["radial-gauge"]],features:[we],decls:2,vars:0,consts:[["gauge",""]],template:function(e,i){1&e&&q(0,"canvas",null,0)},encapsulation:2}),t})();const kbe=["ngRadialWrapperDiv"],Dbe=["radialGauge"];let Mbe=(()=>{class t extends _o{constructor(e){super(),this.appSettingsService=e,this.dataValue=0,this.valueSub$=null,this.sample=500,this.gaugeOptions={},this.colorStrokeTicks="",this.unitName=null,this.zones=[],this.defaultConfig={displayName:null,filterSelfPaths:!0,paths:{gaugePath:{description:"Numeric Data",path:null,source:null,pathType:"number",isPathConfigurable:!0,convertUnitTo:"unitless",sampleTime:500}},gaugeType:"ngRadial",gaugeTicks:!1,radialSize:"measuring",compassUseNumbers:!1,minValue:0,maxValue:100,numInt:1,numDecimal:0,barColor:"accent"}}ngOnInit(){this.observeDataStream("gaugePath",e=>{let i=this.dataValue,r=this.formatWidgetNumberValue(e.value);switch(i!=r&&(this.dataValue=r),e.state){case gi.warning:case gi.alarm:this.gaugeOptions.colorValueText=this.theme.warnDark;break;default:this.gaugeOptions.colorValueText=this.theme.text}}),this.subscribeZones()}ngOnDestroy(){this.unsubscribeDataStream(),this.unsubscribeZones()}ngOnChanges(e){e.theme&&this.updateGaugeConfig()}subscribeZones(){this.zonesSub=this.appSettingsService.getZonesAsO().subscribe(e=>{this.zones=e,this.updateGaugeConfig()})}unsubscribeZones(){null!==this.zonesSub&&(this.zonesSub.unsubscribe(),this.zonesSub=null)}updateGaugeConfig(){let e="",i="";switch(this.gaugeOptions.colorTitle=this.gaugeOptions.colorUnits=this.theme.text,this.gaugeOptions.colorPlate=getComputedStyle(this.wrapper.nativeElement).backgroundColor,this.gaugeOptions.colorBar=this.theme.background,this.gaugeOptions.colorNeedleShadowUp="",this.gaugeOptions.colorNeedleShadowDown="black",this.gaugeOptions.colorNeedleCircleInner=this.gaugeOptions.colorPlate,this.gaugeOptions.colorNeedleCircleInnerEnd=this.gaugeOptions.colorPlate,this.gaugeOptions.colorNeedleCircleOuter=this.gaugeOptions.colorPlate,this.gaugeOptions.colorNeedleCircleOuterEnd=this.gaugeOptions.colorPlate,this.widgetProperties.config.barColor){case"primary":e=this.theme.primary,i=this.theme.primaryDark,this.gaugeOptions.colorBarProgress=e,this.gaugeOptions.colorNeedle=i,this.gaugeOptions.colorNeedleEnd=i;break;case"accent":e=this.theme.accent,i=this.theme.accentDark,this.gaugeOptions.colorBarProgress=e,this.gaugeOptions.colorNeedle=i,this.gaugeOptions.colorNeedleEnd=i;break;case"warn":e=this.theme.warn,i=this.theme.warnDark,this.gaugeOptions.colorBarProgress=e,this.gaugeOptions.colorNeedle=i,this.gaugeOptions.colorNeedleEnd=i}let r=[];switch(this.zones.forEach(o=>{if(o.path==this.widgetProperties.config.paths.gaugePath.path){let l,s=o.lower||this.widgetProperties.config.minValue,a=o.upper||this.widgetProperties.config.maxValue;switch(o.state){case 1:l=this.theme.warn;break;case gi.alarm:l=this.theme.warnDark;break;default:l=this.theme.primary}r.push({from:s,to:a,color:l})}}),this.gaugeOptions.highlights=r,this.gaugeOptions.valueInt=this.widgetProperties.config.numInt,this.gaugeOptions.valueDec=this.widgetProperties.config.numDecimal,this.gaugeOptions.majorTicksInt=this.widgetProperties.config.numInt,this.gaugeOptions.majorTicksDec=this.widgetProperties.config.numDecimal,this.gaugeOptions.animationDuration=this.sample-25,this.widgetProperties.config.radialSize){case"capacity":this.unitName=this.widgetProperties.config.paths.gaugePath.convertUnitTo,this.gaugeOptions.colorMajorTicks=this.gaugeOptions.colorPlate,this.gaugeOptions.colorNumbers=this.gaugeOptions.colorMinorTicks="",this.gaugeOptions.fontTitleSize=60,this.gaugeOptions.minValue=this.widgetProperties.config.minValue,this.gaugeOptions.maxValue=this.widgetProperties.config.maxValue,this.gaugeOptions.barProgress=!0,this.gaugeOptions.barWidth=15,this.gaugeOptions.valueBox=!0,this.gaugeOptions.fontValueSize=110,this.gaugeOptions.valueBoxWidth=100,this.gaugeOptions.valueBoxBorderRadius=0,this.gaugeOptions.valueBoxStroke=0,this.gaugeOptions.colorValueBoxBackground="",this.gaugeOptions.ticksAngle=360,this.gaugeOptions.startAngle=180,this.gaugeOptions.exactTicks=!1,this.gaugeOptions.strokeTicks=!1,this.gaugeOptions.majorTicks=[],this.gaugeOptions.minorTicks=0,this.gaugeOptions.numbersMargin=0,this.gaugeOptions.fontNumbersSize=0,this.gaugeOptions.highlightsWidth=15,this.gaugeOptions.needle=!0,this.gaugeOptions.needleType="line",this.gaugeOptions.needleWidth=2,this.gaugeOptions.needleShadow=!1,this.gaugeOptions.needleStart=80,this.gaugeOptions.needleEnd=95,this.gaugeOptions.needleCircleSize=1,this.gaugeOptions.needleCircleInner=!1,this.gaugeOptions.needleCircleOuter=!1,this.gaugeOptions.borders=!0,this.gaugeOptions.borderOuterWidth=0,this.gaugeOptions.borderMiddleWidth=2,this.gaugeOptions.borderInnerWidth=2,this.gaugeOptions.borderShadowWidth=0,this.gaugeOptions.animationTarget="needle",this.gaugeOptions.useMinPath=!1;break;case"measuring":this.unitName=this.widgetProperties.config.paths.gaugePath.convertUnitTo;let o=this.calculateMajorTicks(this.widgetProperties.config.minValue,this.widgetProperties.config.maxValue);this.gaugeOptions.colorTitle=this.colorStrokeTicks=this.gaugeOptions.colorMinorTicks=this.gaugeOptions.colorNumbers=this.gaugeOptions.colorTitle,this.gaugeOptions.fontTitleSize=20,this.gaugeOptions.minValue=this.widgetProperties.config.minValue,this.gaugeOptions.maxValue=this.widgetProperties.config.maxValue,this.gaugeOptions.barProgress=!0,this.gaugeOptions.barWidth=15,this.gaugeOptions.valueBox=!0,this.gaugeOptions.fontValueSize=60,this.gaugeOptions.valueBoxWidth=100,this.gaugeOptions.valueBoxBorderRadius=0,this.gaugeOptions.valueBoxStroke=0,this.gaugeOptions.colorValueBoxBackground="",this.gaugeOptions.ticksAngle=270,this.gaugeOptions.startAngle=45,this.gaugeOptions.exactTicks=!1,this.gaugeOptions.strokeTicks=!0,this.gaugeOptions.majorTicks=[o.toString()],this.gaugeOptions.minorTicks=2,this.gaugeOptions.numbersMargin=3,this.gaugeOptions.fontNumbersSize=15,this.gaugeOptions.highlightsWidth=15,this.gaugeOptions.needle=!0,this.gaugeOptions.needleType="line",this.gaugeOptions.needleWidth=2,this.gaugeOptions.needleShadow=!1,this.gaugeOptions.needleStart=0,this.gaugeOptions.needleEnd=95,this.gaugeOptions.needleCircleSize=10,this.gaugeOptions.needleCircleInner=!1,this.gaugeOptions.needleCircleOuter=!1,this.gaugeOptions.borders=!1,this.gaugeOptions.borderOuterWidth=0,this.gaugeOptions.borderMiddleWidth=0,this.gaugeOptions.borderInnerWidth=0,this.gaugeOptions.borderShadowWidth=0,this.gaugeOptions.animationTarget="needle",this.gaugeOptions.useMinPath=!1;break;case"marineCompass":this.widgetProperties.config.minValue=0,this.widgetProperties.config.maxValue=360,this.widgetProperties.config.paths.gaugePath.convertUnitTo="deg",this.unitName=null,this.gaugeOptions.colorMajorTicks=this.gaugeOptions.colorNumbers=this.gaugeOptions.colorMinorTicks=this.gaugeOptions.colorUnits,this.gaugeOptions.fontTitleSize=60,this.gaugeOptions.minValue=0,this.gaugeOptions.maxValue=360,this.gaugeOptions.barProgress=!1,this.gaugeOptions.barWidth=0,this.gaugeOptions.valueBox=!0,this.gaugeOptions.fontValueSize=50,this.gaugeOptions.valueBoxWidth=0,this.gaugeOptions.valueBoxBorderRadius=5,this.gaugeOptions.valueBoxStroke=0,this.gaugeOptions.colorValueBoxBackground=this.gaugeOptions.colorBar,this.gaugeOptions.ticksAngle=360,this.gaugeOptions.startAngle=180,this.gaugeOptions.exactTicks=!1,this.gaugeOptions.strokeTicks=!1,this.gaugeOptions.majorTicks=this.widgetProperties.config.compassUseNumbers?["0,45,90,135,180,225,270,315,0"]:["N,NE,E,SE,S,SW,W,NW,N"],this.gaugeOptions.numbersMargin=3,this.gaugeOptions.fontNumbersSize=15,this.gaugeOptions.minorTicks=22,this.gaugeOptions.highlights=[],this.gaugeOptions.highlightsWidth=0,this.gaugeOptions.needle=!0,this.gaugeOptions.needleType="line",this.gaugeOptions.needleWidth=3,this.gaugeOptions.needleShadow=!1,this.gaugeOptions.needleStart=75,this.gaugeOptions.needleEnd=99,this.gaugeOptions.needleCircleSize=2,this.gaugeOptions.needleCircleInner=!1,this.gaugeOptions.needleCircleOuter=!1,this.gaugeOptions.borders=!0,this.gaugeOptions.borderOuterWidth=0,this.gaugeOptions.borderMiddleWidth=2,this.gaugeOptions.borderInnerWidth=2,this.gaugeOptions.borderShadowWidth=0,this.gaugeOptions.animationTarget="plate",this.gaugeOptions.useMinPath=!0;break;case"baseplateCompass":this.widgetProperties.config.minValue=0,this.widgetProperties.config.maxValue=360,this.widgetProperties.config.paths.gaugePath.convertUnitTo="deg",this.unitName=null,this.gaugeOptions.colorMajorTicks=this.gaugeOptions.colorNumbers=this.gaugeOptions.colorMinorTicks=this.gaugeOptions.colorUnits,this.gaugeOptions.fontTitleSize=60,this.gaugeOptions.minValue=0,this.gaugeOptions.maxValue=360,this.gaugeOptions.barProgress=!1,this.gaugeOptions.barWidth=0,this.gaugeOptions.valueBox=!0,this.gaugeOptions.fontValueSize=50,this.gaugeOptions.valueBoxWidth=0,this.gaugeOptions.valueBoxBorderRadius=5,this.gaugeOptions.valueBoxStroke=0,this.gaugeOptions.colorValueBoxBackground=this.gaugeOptions.colorBar,this.gaugeOptions.ticksAngle=360,this.gaugeOptions.startAngle=180,this.gaugeOptions.exactTicks=!1,this.gaugeOptions.strokeTicks=!1,this.gaugeOptions.majorTicks=this.widgetProperties.config.compassUseNumbers?["0,45,90,135,180,225,270,315,0"]:["N,NE,E,SE,S,SW,W,NW,N"],this.gaugeOptions.numbersMargin=3,this.gaugeOptions.fontNumbersSize=15,this.gaugeOptions.minorTicks=22,this.gaugeOptions.highlights=[],this.gaugeOptions.highlightsWidth=0,this.gaugeOptions.needle=!0,this.gaugeOptions.needleType="line",this.gaugeOptions.needleWidth=3,this.gaugeOptions.needleShadow=!1,this.gaugeOptions.needleStart=75,this.gaugeOptions.needleEnd=99,this.gaugeOptions.needleCircleSize=2,this.gaugeOptions.needleCircleInner=!1,this.gaugeOptions.needleCircleOuter=!1,this.gaugeOptions.borders=!0,this.gaugeOptions.borderOuterWidth=0,this.gaugeOptions.borderMiddleWidth=2,this.gaugeOptions.borderInnerWidth=2,this.gaugeOptions.borderShadowWidth=0,this.gaugeOptions.animationTarget="needle",this.gaugeOptions.useMinPath=!0}}onResized(e){this.gaugeOptions.height=Math.floor(.88*e.newRect.height),this.gaugeOptions.width=Math.floor(.88*e.newRect.width)}calculateMajorTicks(e,i){let r=e,o=i,s=i-e,a=0,c=[];s=this.calcNiceNumber(i-e,!1),a=this.calcNiceNumber(s/9,!0),r=Math.floor(e/a)*a,o=Math.ceil(i/a)*a,c.push(r);for(let p=0;po?1:3>o?2:7>o?5:10:1>=o?1:2>=o?2:5>=o?5:10,s*Math.pow(10,r)}}return t.\u0275fac=function(e){return new(e||t)(D(hr))},t.\u0275cmp=Pe({type:t,selectors:[["app-widget-gauge-ng-radial"]],viewQuery:function(e,i){if(1&e&&(Oe(kbe,7,xe),Oe(Dbe,7,L6)),2&e){let r;ue(r=de())&&(i.wrapper=r.first),ue(r=de())&&(i.radialGauge=r.first)}},features:[we,Tn],decls:5,vars:75,consts:[[1,"ngRadialWrapper",3,"resized"],["ngRadialWrapperDiv",""],["font-title","arial","font-title-weight","bold","font-Units","arial","font-Units-size","25","font-Units-weight","","color-border-outer","red","color-border-outer-end","green","bar-stroke-width","0","bar-shadow","0","color-bar-stroke","","value-text","","font-value","arial","font-value-weight","bold","value-text-shadow","false","color-value-box-shadow","","font-numbers","arial","font-numbers-weight","bold","animation","true","animation-rule","linear","animated-value","false","animate-on-init","false",1,"radialGauge",3,"id","value"],["radialGauge",""]],template:function(e,i){1&e&&(v(0,"div",0,1),ne("resized",function(o){return i.onResized(o)}),q(2,"radial-gauge",2,3),es(4,"json"),b()),2&e&&(I(2),hc("id",i.widgetProperties.uuid),R("value",i.dataValue),Je("width",i.gaugeOptions.width)("height",i.gaugeOptions.height)("title",i.widgetProperties.config.displayName)("font-title-size",i.gaugeOptions.fontTitleSize)("color-title",i.gaugeOptions.colorTitle)("units",i.unitName)("min-value",i.widgetProperties.config.minValue)("max-value",i.widgetProperties.config.maxValue)("color-units",i.gaugeOptions.colorUnits)("borders",i.gaugeOptions.borders)("border-outer-width",i.gaugeOptions.borderOuterWidth)("border-middle-width",i.gaugeOptions.borderMiddleWidth)("border-inner-width",i.gaugeOptions.borderInnerWidth)("border-shadow-width",i.gaugeOptions.borderShadowWidth)("color-border-middle",i.gaugeOptions.colorBarProgress)("color-border-middle-end",i.gaugeOptions.colorBarProgress)("color-border-inner",i.gaugeOptions.colorPlate)("color-border-inner-end",i.gaugeOptions.colorPlate)("color-plate",i.gaugeOptions.colorPlate)("color-plate-end",i.gaugeOptions.colorPlate)("bar-progress",i.gaugeOptions.barProgress)("bar-width",i.gaugeOptions.barWidth)("color-bar",i.gaugeOptions.colorBar)("color-bar-progress",i.gaugeOptions.colorBarProgress)("value-box",i.gaugeOptions.valueBox)("value-box-stroke",i.gaugeOptions.valueBoxStroke)("color-value-box-rect",i.gaugeOptions.colorValueBoxRect)("color-value-box-rect-end",i.gaugeOptions.colorValueBoxRectEnd)("value-box-width",i.gaugeOptions.valueBoxWidth)("value-box-border-radius",i.gaugeOptions.valueBoxBorderRadius)("color-value-box-background",i.gaugeOptions.colorValueBoxBackground)("value-int",i.gaugeOptions.valueInt)("value-dec",i.gaugeOptions.valueDec)("font-value-size",i.gaugeOptions.fontValueSize)("color-value-text",i.gaugeOptions.colorValueText)("ticks-angle",i.gaugeOptions.ticksAngle)("start-angle",i.gaugeOptions.startAngle)("exact-ticks",i.gaugeOptions.exactTicks)("stroke-ticks",i.gaugeOptions.strokeTicks)("color-stroke-ticks",i.colorStrokeTicks)("major-ticks",i.gaugeOptions.majorTicks)("major-ticks-int",i.gaugeOptions.majorTicksInt)("major-ticks-dec",i.gaugeOptions.majorTicksDec)("color-major-ticks",i.gaugeOptions.colorMajorTicks)("minor-ticks",i.gaugeOptions.minorTicks)("color-minor-ticks",i.gaugeOptions.colorMinorTicks)("numbers-margin",i.gaugeOptions.numbersMargin)("font-numbers-size",i.gaugeOptions.fontNumbersSize)("color-numbers",i.gaugeOptions.colorNumbers)("highlights",Ca(4,73,i.gaugeOptions.highlights))("highlights-width",i.gaugeOptions.highlightsWidth)("animation-duration",i.gaugeOptions.animationDuration)("animation-target",i.gaugeOptions.animationTarget)("use-min-path",i.gaugeOptions.useMinPath)("needle",i.gaugeOptions.needle)("needle-end",i.gaugeOptions.needleEnd)("needle-start",i.gaugeOptions.needleStart)("needle-shadow",i.gaugeOptions.needleShadow)("needle-width",i.gaugeOptions.needleWidth)("needle-type",i.gaugeOptions.needleType)("needle-circle-size",i.gaugeOptions.needleCircleSize)("needle-circle-inner",i.gaugeOptions.needleCircleInner)("needle-circle-outer",i.gaugeOptions.needleCircleOuter)("color-needle",i.gaugeOptions.colorNeedle)("color-needle-end",i.gaugeOptions.colorNeedleEnd)("color-needle-shadow-up",i.gaugeOptions.colorNeedleShadowUp)("color-needle-shadow-down",i.gaugeOptions.colorNeedleShadowDown)("color-needle-circle-inner",i.gaugeOptions.colorNeedleCircleInner)("color-needle-circle-inner-end",i.gaugeOptions.colorNeedleCircleInnerEnd)("color-needle-circle-outer",i.gaugeOptions.colorNeedleCircleOuter)("color-needle-circle-outer-end",i.gaugeOptions.colorNeedleCircleOuterEnd))},dependencies:[$x,L6,rC],styles:["radial-gauge.radialGauge[_ngcontent-%COMP%]{position:relative;width:94%!important;height:auto!important;top:6%}.ngRadialWrapper[_ngcontent-%COMP%]{position:relative;width:100%;height:100%;text-align:center}"]}),t})();const Tbe=["apStencil"],Ebe=["countDown"],Abe=["compassAnimate"],Obe=["appWindAnimate"],Ibe=["rudderPrtAnimate"],Pbe=["rudderStbAnimate"];function Rbe(t,n){if(1&t&&(vr(),v(0,"tspan",206),M(1),b()),2&t){const e=re();I(1),vn("Wind: ",e.apTargetAppWindAngle,"\xb0")}}let Fbe=(()=>{class t{constructor(){this.headingValue="--",this.oldRudderPrtAngle=0,this.newRudderPrtAngle=0,this.oldRudderStbAngle=0,this.newRudderStbAngle=0,this.activityIconVisibility="hidden;",this.errorIconVisibility="hidden",this.msgStencilVisibility="hidden",this.msgStencilInnerHTML="Empty Message Stencil",this.errorStencilVisibility="hidden",this.errorStencilInnerText="Empty Error Stencil",this.messageVisibility="hidden",this.messageInnerText="",this.compassFaceplate={oldDegreeIndicator:"0",newDegreeIndicator:"0",animationElement:void 0},this.appWind={oldDegreeIndicator:"0",newDegreeIndicator:"0",animationElement:void 0}}ngAfterViewInit(){this.compassFaceplate.animationElement=this.compassAnimate,this.appWind.animationElement=this.appWindAnimate}ngOnChanges(e){e.compassHeading&&(e.compassHeading.firstChange||(this.compassFaceplate.oldDegreeIndicator=this.compassFaceplate.newDegreeIndicator,this.headingValue=this.compassFaceplate.newDegreeIndicator=e.compassHeading.currentValue.toFixed(0),this.smoothCircularRotation(this.compassFaceplate))),e.apState&&(e.apState.firstChange||(this.apState=this.apState.toUpperCase())),e.apTargetAppWindAngle&&(e.apTargetAppWindAngle.firstChange||(this.apTargetAppWindAngle=e.apTargetAppWindAngle.currentValue.toFixed(0))),e.appWindAngle&&(e.appWindAngle.firstChange||(this.appWind.oldDegreeIndicator=this.appWind.newDegreeIndicator,this.appWind.newDegreeIndicator=e.appWindAngle.currentValue.toFixed(0),this.smoothCircularRotation(this.appWind))),e.rudderAngle&&(e.rudderAngle.firstChange||(e.rudderAngle.currentValue<=0?(this.oldRudderPrtAngle=0,this.newRudderPrtAngle=0,this.oldRudderStbAngle=this.newRudderStbAngle,this.newRudderStbAngle=Math.round(7.16*e.rudderAngle.currentValue*-1)):(this.oldRudderStbAngle=0,this.newRudderStbAngle=0,this.oldRudderPrtAngle=this.newRudderPrtAngle,this.newRudderPrtAngle=Math.round(7.16*e.rudderAngle.currentValue)),this.rudderPrtAnimate&&this.rudderPrtAnimate.nativeElement.beginElement(),this.rudderStbAnimate&&this.rudderStbAnimate.nativeElement.beginElement()))}smoothCircularRotation(e){const i=Number(e.oldDegreeIndicator),r=Number(e.newDegreeIndicator),o=i-r;e.animationElement&&0!=o&&(Math.abs(o)>180?1==Math.sign(o)?359==i?(e.oldDegreeIndicator="0",e.animationElement.nativeElement.beginElement()):(e.newDegreeIndicator="359",e.animationElement.nativeElement.beginElement(),e.oldDegreeIndicator="0",e.newDegreeIndicator=r.toFixed(0),e.animationElement.nativeElement.beginElement()):0==i?(e.oldDegreeIndicator="359",e.animationElement.nativeElement.beginElement()):(e.newDegreeIndicator="0",e.animationElement.nativeElement.beginElement(),e.oldDegreeIndicator="359",e.newDegreeIndicator=r.toFixed(0),e.animationElement.nativeElement.beginElement()):e.animationElement.nativeElement.beginElement())}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Pe({type:t,selectors:[["app-svg-autopilot"]],viewQuery:function(e,i){if(1&e&&(Oe(Tbe,7,xe),Oe(Ebe,7,xe),Oe(Abe,7,xe),Oe(Obe,7,xe),Oe(Ibe,7,xe),Oe(Pbe,7,xe)),2&e){let r;ue(r=de())&&(i.ApStencil=r.first),ue(r=de())&&(i.countDown=r.first),ue(r=de())&&(i.compassAnimate=r.first),ue(r=de())&&(i.appWindAnimate=r.first),ue(r=de())&&(i.rudderPrtAnimate=r.first),ue(r=de())&&(i.rudderStbAnimate=r.first)}},inputs:{compassHeading:"compassHeading",appWindAngle:"appWindAngle",rudderAngle:"rudderAngle",apState:"apState",apTargetAppWindAngle:"apTargetAppWindAngle",isApConnected:"isApConnected"},features:[Tn],decls:253,vars:25,consts:[[1,"apScreen"],[1,"apCompass"],[0,"xmlns","osb","http://www.openswatchbook.org/uri/2009/osb",0,"xmlns","dc","http://purl.org/dc/elements/1.1/",0,"xmlns","cc","http://creativecommons.org/ns#",0,"xmlns","rdf","http://www.w3.org/1999/02/22-rdf-syntax-ns#",0,"xmlns","svg","http://www.w3.org/2000/svg","xmlns","http://www.w3.org/2000/svg","id","svg8","version","1.1","viewBox","0 0 452 255","height","100%","width","100%"],["id","defs2"],[0,"osb","paint","solid","id","linearGradient7155"],["id","stop7153","offset","0",2,"stop-color","#6d6d6d","stop-opacity","1"],["id","layerCompassDial",2,"display","inline"],["transform","translate(-49,76)","id","gDial"],["id","path4584","cx","275","cy","200","rx","203.96022","ry","204.07419",1,"compass-outer-ring",2,"display","inline","fill","none","stroke-width","30.60257721","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","0.85427091"],["cy","200.00005","cx","275","id","circle4732","rx","181.16154","ry","181.26276",1,"compass-inner-ring",2,"display","inline","fill","none","stroke-width","15.7575798","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["id","use6608","d","m 307.7114,14.150798 -2.65629,15.073051",2,"display","inline","fill","#000000","fill-opacity","1","stroke","#000000","stroke-width","2.04017186","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["id","use6610","d","m 339.4192,22.709418 -5.23189,14.382504",2,"display","inline","fill","#000000","fill-opacity","1","stroke","#000000","stroke-width","2.04017186","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["id","use6614","d","m 396.02992,55.540321 -9.83269,11.72475",2,"display","inline","fill","#000000","fill-opacity","1","stroke","#000000","stroke-width","2.04017186","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["id","use6616","d","m 419.21273,78.815041 -11.71816,9.83821",2,"display","inline","fill","#000000","fill-opacity","1","stroke","#000000","stroke-width","2.04017186","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["id","use6620","d","m 451.8328,135.56858 -14.37454,5.23479",2,"display","inline","fill","#000000","fill-opacity","1","stroke","#000000","stroke-width","2.04017186","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["id","use6622","d","m 460.27887,167.32298 -15.06464,2.65782",2,"display","inline","fill","#000000","fill-opacity","1","stroke","#000000","stroke-width","2.04017186","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["id","use6626","d","m 460.16769,232.79216 -15.06465,-2.6578",2,"display","inline","fill","#000000","fill-opacity","1","stroke","#000000","stroke-width","2.04017186","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["id","use6628","d","m 451.61385,264.51765 -14.3745,-5.23482",2,"display","inline","fill","#000000","fill-opacity","1","stroke","#000000","stroke-width","2.04017186","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["id","use6632","d","m 419.44142,321.67543 -11.71819,-9.83826",2,"display","inline","fill","#000000","fill-opacity","1","stroke","#000000","stroke-width","2.04017186","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["id","use6634","d","m 396.17966,344.87121 -9.83274,-11.72477",2,"display","inline","fill","#000000","fill-opacity","1","stroke","#000000","stroke-width","2.04017186","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["id","use6638","d","m 339.45779,377.50944 -5.23188,-14.38252",2,"display","inline","fill","#000000","fill-opacity","1","stroke","#000000","stroke-width","2.04017186","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["id","use6640","d","m 307.72114,385.96028 -2.65629,-15.07307",2,"display","inline","fill","#000000","fill-opacity","1","stroke","#000000","stroke-width","2.04017186","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["id","use6644","d","m 242.28854,385.84901 2.65631,-15.07302",2,"display","inline","fill","#000000","fill-opacity","1","stroke","#000000","stroke-width","2.04017186","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["id","use6646","d","m 210.58075,377.29047 5.23187,-14.38255",2,"display","inline","fill","#000000","fill-opacity","1","stroke","#000000","stroke-width","2.04017186","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["id","use6650","d","m 153.97004,344.45952 9.83272,-11.72471",2,"display","inline","fill","#000000","fill-opacity","1","stroke","#000000","stroke-width","2.04017186","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["id","use6652","d","m 130.7872,321.1848 11.71819,-9.83825",2,"display","inline","fill","#000000","fill-opacity","1","stroke","#000000","stroke-width","2.04017186","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["id","use6656","d","m 98.167138,264.43125 14.374482,-5.23482",2,"display","inline","fill","#000000","fill-opacity","1","stroke","#000000","stroke-width","2.04017186","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["id","use6658","d","m 89.72108,232.67686 15.06461,-2.6578",2,"display","inline","fill","#000000","fill-opacity","1","stroke","#000000","stroke-width","2.04017186","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["id","use6662","d","m 89.832242,167.20768 15.064608,2.6578",2,"display","inline","fill","#000000","fill-opacity","1","stroke","#000000","stroke-width","2.04017186","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["id","use6664","d","m 98.386053,135.48218 14.374497,5.23484",2,"display","inline","fill","#000000","fill-opacity","1","stroke","#000000","stroke-width","2.04017186","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["id","use6668","d","m 130.55856,78.324441 11.71817,9.83821",2,"display","inline","fill","#000000","fill-opacity","1","stroke","#000000","stroke-width","2.04017186","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["id","use6670","d","m 153.82027,55.128641 9.83276,11.72475",2,"display","inline","fill","#000000","fill-opacity","1","stroke","#000000","stroke-width","2.04017186","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["id","use6674","d","m 210.54215,22.49037 5.23189,14.382551",2,"display","inline","fill","#000000","fill-opacity","1","stroke","#000000","stroke-width","2.04017186","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["id","use6676","d","m 242.27883,14.039615 2.65629,15.073018",2,"display","inline","fill","#000000","fill-opacity","1","stroke","#000000","stroke-width","2.04017186","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],[0,"xml","space","preserve","x","261.23273","y","7.5849795","id","text4588","transform","scale(0.99972065,1.0002794)",1,"apText",2,"font-style","normal","font-variant","normal","font-weight","bold","font-stretch","normal","font-size","32.64274979px","line-height","1.25","font-family","sans-serif","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-feature-settings","normal","text-align","start","letter-spacing","0px","word-spacing","0px","writing-mode","lr-tb","text-anchor","start","stroke","none","stroke-width","20.40172005","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","0.85427091"],["id","tspan4586","x","261.23273","y","7.5849795",2,"font-style","normal","font-variant","normal","font-weight","bold","font-stretch","normal","font-size","32.64274979px","font-family","sans-serif","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-feature-settings","normal","text-align","start","writing-mode","lr-tb","text-anchor","start","stroke","none","stroke-width","20.40172005","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","0.85427091"],[0,"xml","space","preserve","x","-288.64084","y","-391.88641","id","text4588-7","transform","scale(-0.99972065,-1.0002794)",1,"apText",2,"font-style","normal","font-variant","normal","font-weight","bold","font-stretch","normal","font-size","32.64274979px","line-height","1.25","font-family","sans-serif","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-feature-settings","normal","text-align","start","letter-spacing","0px","word-spacing","0px","writing-mode","lr-tb","text-anchor","start","stroke","none","stroke-width","20.40172005","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","0.85427091"],["id","tspan4608","x","-288.64084","y","-391.88641",2,"stroke-width","20.40172005"],[0,"xml","space","preserve","x","188.83127","y","-467.20248","id","text4588-0","transform","matrix(0,1.0002794,-0.99972065,0,0,0)",1,"apText",2,"font-style","normal","font-variant","normal","font-weight","bold","font-stretch","normal","font-size","32.64274979px","line-height","1.25","font-family","sans-serif","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-feature-settings","normal","text-align","start","letter-spacing","0px","word-spacing","0px","writing-mode","lr-tb","text-anchor","start","stroke","none","stroke-width","20.40172005","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","0.85427091"],["id","tspan4628","x","188.83127","y","-467.20248",2,"stroke-width","20.40172005"],[0,"xml","space","preserve","x","-220.33897","y","83.127594","id","text4588-79","transform","matrix(0,-1.0002794,0.99972065,0,0,0)",1,"apText",2,"font-style","normal","font-variant","normal","font-weight","bold","font-stretch","normal","font-size","32.64274979px","line-height","1.25","font-family","sans-serif","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-feature-settings","normal","text-align","start","letter-spacing","0px","word-spacing","0px","writing-mode","lr-tb","text-anchor","start","stroke","none","stroke-width","20.40172005","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","0.85427091"],["id","tspan4648","x","-220.33897","y","83.127594",2,"stroke-width","20.40172005"],["id","text4656","y","-249.69855","x","319.23901",0,"xml","space","preserve","transform","matrix(0.70690928,0.70730433,-0.70690928,0.70730433,0,0)",1,"apText",2,"font-style","normal","font-variant","normal","font-weight","normal","font-stretch","normal","font-size","21.76183891px","line-height","1.25","font-family","sans-serif","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-feature-settings","normal","text-align","start","letter-spacing","0px","word-spacing","0px","writing-mode","lr-tb","text-anchor","start","stroke","none","stroke-width","20.40171623","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","0.85427091"],["id","tspan4658","x","319.23901","y","-249.69855",2,"stroke-width","20.40171623"],[0,"xml","space","preserve","x","37.022793","y","141.15974","id","text4664","transform","matrix(0.70690928,-0.70730433,0.70690928,0.70730433,0,0)",1,"apText",2,"font-style","normal","font-variant","normal","font-weight","normal","font-stretch","normal","font-size","21.76183891px","line-height","1.25","font-family","sans-serif","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-feature-settings","normal","text-align","start","letter-spacing","0px","word-spacing","0px","writing-mode","lr-tb","text-anchor","start","stroke","none","stroke-width","20.40171623","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","0.85427091"],["id","tspan4666","x","37.022793","y","141.15974",2,"stroke-width","20.40171623"],["transform","matrix(-0.70690928,-0.70730433,0.70690928,-0.70730433,0,0)","id","text4670","y","-142.26419","x","-351.17065",0,"xml","space","preserve",1,"apText",2,"font-style","normal","font-variant","normal","font-weight","normal","font-stretch","normal","font-size","21.76183891px","line-height","1.25","font-family","sans-serif","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-feature-settings","normal","text-align","start","letter-spacing","0px","word-spacing","0px","writing-mode","lr-tb","text-anchor","start","stroke","none","stroke-width","20.40171623","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","0.85427091"],["id","tspan4672","x","-351.17065","y","-142.26419",2,"stroke-width","20.40171623"],[0,"xml","space","preserve","x","-68.111122","y","-532.27917","id","text4676","transform","matrix(-0.70690928,0.70730433,-0.70690928,-0.70730433,0,0)",1,"apText",2,"font-style","normal","font-variant","normal","font-weight","normal","font-stretch","normal","font-size","21.76183891px","line-height","1.25","font-family","sans-serif","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-feature-settings","normal","text-align","start","letter-spacing","0px","word-spacing","0px","writing-mode","lr-tb","text-anchor","start","stroke","none","stroke-width","20.40171623","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","0.85427091"],["id","tspan4678","x","-68.111122","y","-532.27917",2,"stroke-width","20.40171623"],[0,"xml","space","preserve","x","318.18405","y","-119.23701","id","text4684","transform","matrix(0.92362146,0.38279035,-0.38257655,0.92413768,0,0)",1,"apText",2,"font-style","normal","font-variant","normal","font-weight","normal","font-stretch","normal","font-size","10.88091946px","line-height","1.25","font-family","sans-serif","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-feature-settings","normal","text-align","start","letter-spacing","0px","word-spacing","0px","writing-mode","lr-tb","text-anchor","start","stroke","none","stroke-width","20.40171814","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","0.85427091"],["id","tspan4686","x","318.18405","y","-119.23701",2,"stroke-width","20.40171814"],["transform","matrix(0.38257655,0.92413768,-0.92362146,0.38279035,0,0)","id","text4690","y","-377.56421","x","278.92706",0,"xml","space","preserve",1,"apText",2,"font-style","normal","font-variant","normal","font-weight","normal","font-stretch","normal","font-size","10.88091946px","line-height","1.25","font-family","sans-serif","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-feature-settings","normal","text-align","start","letter-spacing","0px","word-spacing","0px","writing-mode","lr-tb","text-anchor","start","stroke","none","stroke-width","20.40171814","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","0.85427091"],["id","tspan4694","x","278.92706","y","-377.56421",2,"stroke-width","20.40171814"],[0,"xml","space","preserve","x","69.223236","y","-529.73126","id","text4698","transform","matrix(-0.38257655,0.92413768,-0.92362146,-0.38279035,0,0)",1,"apText",2,"font-style","normal","font-variant","normal","font-weight","normal","font-stretch","normal","font-size","10.88091946px","line-height","1.25","font-family","sans-serif","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-feature-settings","normal","text-align","start","letter-spacing","0px","word-spacing","0px","writing-mode","lr-tb","text-anchor","start","stroke","none","stroke-width","20.40171814","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","0.85427091"],["id","tspan4700","x","69.223236","y","-529.73126",2,"stroke-width","20.40171814"],["transform","matrix(-0.92362146,0.38279035,-0.38257655,-0.92413768,0,0)","id","text4704","y","-489.35358","x","-188.60149",0,"xml","space","preserve",1,"apText",2,"font-style","normal","font-variant","normal","font-weight","normal","font-stretch","normal","font-size","10.88091946px","line-height","1.25","font-family","sans-serif","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-feature-settings","normal","text-align","start","letter-spacing","0px","word-spacing","0px","writing-mode","lr-tb","text-anchor","start","stroke","none","stroke-width","20.40171814","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","0.85427091"],["id","tspan4706","x","-188.60149","y","-489.35358",2,"stroke-width","20.40171814"],[0,"xml","space","preserve","x","-341.82956","y","-279.7951","id","text4710","transform","matrix(-0.92362146,-0.38279035,0.38257655,-0.92413768,0,0)",1,"apText",2,"font-style","normal","font-variant","normal","font-weight","normal","font-stretch","normal","font-size","10.88091946px","line-height","1.25","font-family","sans-serif","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-feature-settings","normal","text-align","start","letter-spacing","0px","word-spacing","0px","writing-mode","lr-tb","text-anchor","start","stroke","none","stroke-width","20.40171814","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","0.85427091"],["id","tspan4712","x","-341.82956","y","-279.7951",2,"stroke-width","20.40171814"],["transform","matrix(-0.38257655,-0.92413768,0.92362146,-0.38279035,0,0)","id","text4716","y","-22.359142","x","-304.323",0,"xml","space","preserve",1,"apText",2,"font-style","normal","font-variant","normal","font-weight","normal","font-stretch","normal","font-size","10.88091946px","line-height","1.25","font-family","sans-serif","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-feature-settings","normal","text-align","start","letter-spacing","0px","word-spacing","0px","writing-mode","lr-tb","text-anchor","start","stroke","none","stroke-width","20.40171814","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","0.85427091"],["id","tspan4718","x","-304.323","y","-22.359142",2,"stroke-width","20.40171814"],[0,"xml","space","preserve","x","-93.375298","y","130.60631","id","text4722","transform","matrix(0.38257655,-0.92413768,0.92362146,0.38279035,0,0)",1,"apText",2,"font-style","normal","font-variant","normal","font-weight","normal","font-stretch","normal","font-size","10.88091946px","line-height","1.25","font-family","sans-serif","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-feature-settings","normal","text-align","start","letter-spacing","0px","word-spacing","0px","writing-mode","lr-tb","text-anchor","start","stroke","none","stroke-width","20.40171814","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","0.85427091"],["id","tspan4724","x","-93.375298","y","130.60631",2,"stroke-width","20.40171814"],["transform","matrix(0.92362146,-0.38279035,0.38257655,0.92413768,0,0)","id","text4728","y","89.936447","x","165.05888",0,"xml","space","preserve",1,"apText",2,"font-style","normal","font-variant","normal","font-weight","normal","font-stretch","normal","font-size","10.88091946px","line-height","1.25","font-family","sans-serif","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-feature-settings","normal","text-align","start","letter-spacing","0px","word-spacing","0px","writing-mode","lr-tb","text-anchor","start","stroke","none","stroke-width","20.40171814","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","0.85427091"],["id","tspan4730","x","165.05888","y","89.936447",2,"stroke-width","20.40171814"],["id","use7029","y","25.345657","x","269.16998",0,"xml","space","preserve","transform","scale(0.99972065,1.0002794)",1,"apText",2,"font-style","normal","font-variant","normal","font-weight","normal","font-stretch","normal","font-size","19.04160881px","line-height","1.25","font-family","sans-serif","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-feature-settings","normal","text-align","start","letter-spacing","0px","word-spacing","0px","writing-mode","lr-tb","text-anchor","start","display","inline","stroke","none","stroke-width","1.02008593"],["y","25.345657","x","269.16998","id","tspan7053",2,"font-style","normal","font-variant","normal","font-weight","normal","font-stretch","normal","font-size","19.04160881px","font-family","sans-serif","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-feature-settings","normal","text-align","start","writing-mode","lr-tb","text-anchor","start","stroke-width","1.02008593"],["id","use7031","y","-138.13023","x","326.06656",0,"xml","space","preserve","transform","matrix(0.86578352,0.50013971,-0.49986031,0.86626737,0,0)",1,"apText",2,"font-style","normal","font-variant","normal","font-weight","normal","font-stretch","normal","font-size","19.0416069px","line-height","1.25","font-family","sans-serif","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-feature-settings","normal","text-align","start","letter-spacing","0px","word-spacing","0px","writing-mode","lr-tb","text-anchor","start","display","inline","stroke","none","stroke-width","1.02008593"],["id","tspan7101","x","326.06656","y","-138.13023",2,"stroke-width","1.02008593"],["id","use7033","y","-311.27252","x","298.64697",0,"xml","space","preserve","transform","matrix(0.49986031,0.86626737,-0.86578352,0.50013971,0,0)",1,"apText",2,"font-style","normal","font-variant","normal","font-weight","normal","font-stretch","normal","font-size","19.0416069px","line-height","1.25","font-family","sans-serif","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-feature-settings","normal","text-align","start","letter-spacing","0px","word-spacing","0px","writing-mode","lr-tb","text-anchor","start","display","inline","stroke","none","stroke-width","1.02008593"],["id","tspan7103","x","298.64697","y","-311.27252",2,"stroke-width","1.02008593"],["id","use7035","y","-448.97495","x","188.02534",0,"xml","space","preserve","transform","matrix(0,1.0002794,-0.99972065,0,0,0)",1,"apText",2,"font-style","normal","font-variant","normal","font-weight","normal","font-stretch","normal","font-size","19.04160881px","line-height","1.25","font-family","sans-serif","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-feature-settings","normal","text-align","start","letter-spacing","0px","word-spacing","0px","writing-mode","lr-tb","text-anchor","start","display","inline","stroke","none","stroke-width","1.02008593"],["id","tspan7105","x","188.02534","y","-448.97495",2,"stroke-width","1.02008593"],["id","use7037","y","-511.58801","x","18.152977",0,"xml","space","preserve","transform","matrix(-0.49986031,0.86626737,-0.86578352,-0.50013971,0,0)",1,"apText",2,"font-style","normal","font-variant","normal","font-weight","normal","font-stretch","normal","font-size","19.0416069px","line-height","1.25","font-family","sans-serif","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-feature-settings","normal","text-align","start","letter-spacing","0px","word-spacing","0px","writing-mode","lr-tb","text-anchor","start","display","inline","stroke","none","stroke-width","1.02008593"],["id","tspan7109","x","18.152977","y","-511.58801",2,"stroke-width","1.02008593"],["id","use7039","y","-485.03159","x","-157.02438",0,"xml","space","preserve","transform","matrix(-0.86578352,0.50013971,-0.49986031,-0.86626737,0,0)",1,"apText",2,"font-style","normal","font-variant","normal","font-weight","normal","font-stretch","normal","font-size","19.0416069px","line-height","1.25","font-family","sans-serif","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-feature-settings","normal","text-align","start","letter-spacing","0px","word-spacing","0px","writing-mode","lr-tb","text-anchor","start","display","inline","stroke","none","stroke-width","1.02008593"],["id","tspan7111","x","-157.02438","y","-485.03159",2,"stroke-width","1.02008593"],["id","use7041","y","-374.19531","x","-293.47723",0,"xml","space","preserve","transform","scale(-0.99972065,-1.0002794)",1,"apText",2,"font-style","normal","font-variant","normal","font-weight","normal","font-stretch","normal","font-size","19.04160881px","line-height","1.25","font-family","sans-serif","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-feature-settings","normal","text-align","start","letter-spacing","0px","word-spacing","0px","writing-mode","lr-tb","text-anchor","start","display","inline","stroke","none","stroke-width","1.02008593"],["id","tspan7113","x","-293.47723","y","-374.19531",2,"stroke-width","1.02008593"],["id","use7043","y","-210.0593","x","-356.61142",0,"xml","space","preserve","transform","matrix(-0.86578352,-0.50013971,0.49986031,-0.86626737,0,0)",1,"apText",2,"font-style","normal","font-variant","normal","font-weight","normal","font-stretch","normal","font-size","19.0416069px","line-height","1.25","font-family","sans-serif","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-feature-settings","normal","text-align","start","letter-spacing","0px","word-spacing","0px","writing-mode","lr-tb","text-anchor","start","display","inline","stroke","none","stroke-width","1.02008593"],["id","tspan7115","x","-356.61142","y","-210.0593",2,"stroke-width","1.02008593"],["id","use7045","y","-35.933571","x","-328.77301",0,"xml","space","preserve","transform","matrix(-0.49986031,-0.86626737,0.86578352,-0.50013971,0,0)",1,"apText",2,"font-style","normal","font-variant","normal","font-weight","normal","font-stretch","normal","font-size","19.0416069px","line-height","1.25","font-family","sans-serif","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-feature-settings","normal","text-align","start","letter-spacing","0px","word-spacing","0px","writing-mode","lr-tb","text-anchor","start","display","inline","stroke","none","stroke-width","1.02008593"],["id","tspan7117","x","-328.77301","y","-35.933571",2,"stroke-width","1.02008593"],["id","use7047","y","101.6399","x","-217.66704",0,"xml","space","preserve","transform","matrix(0,-1.0002794,0.99972065,0,0,0)",1,"apText",2,"font-style","normal","font-variant","normal","font-weight","normal","font-stretch","normal","font-size","19.04160881px","line-height","1.25","font-family","sans-serif","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-feature-settings","normal","text-align","start","letter-spacing","0px","word-spacing","0px","writing-mode","lr-tb","text-anchor","start","display","inline","stroke","none","stroke-width","1.02008593"],["id","tspan7119","x","-217.66704","y","101.6399",2,"stroke-width","1.02008593"],["id","use7049","y","163.86317","x","-52.594109",0,"xml","space","preserve","transform","matrix(0.49986031,-0.86626737,0.86578352,0.50013971,0,0)",1,"apText",2,"font-style","normal","font-variant","normal","font-weight","normal","font-stretch","normal","font-size","19.0416069px","line-height","1.25","font-family","sans-serif","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-feature-settings","normal","text-align","start","letter-spacing","0px","word-spacing","0px","writing-mode","lr-tb","text-anchor","start","display","inline","stroke","none","stroke-width","1.02008593"],["id","tspan7121","x","-52.594109","y","163.86317",2,"stroke-width","1.02008593"],["id","use7051","y","136.26141","x","120.06727",0,"xml","space","preserve","transform","matrix(0.86578352,-0.50013971,0.49986031,0.86626737,0,0)",1,"apText",2,"font-style","normal","font-variant","normal","font-weight","normal","font-stretch","normal","font-size","19.0416069px","line-height","1.25","font-family","sans-serif","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-feature-settings","normal","text-align","start","letter-spacing","0px","word-spacing","0px","writing-mode","lr-tb","text-anchor","start","display","inline","stroke","none","stroke-width","1.02008593"],["id","tspan7125","x","120.06727","y","136.26141",2,"stroke-width","1.02008593"],["attributeName","transform","type","rotate","begin","indefinite","dur","0.1s","additive","replace","fill","freeze"],["compassAnimate",""],["transform","translate(-48.447528,53.7796)","id","layerAPModes",2,"display","inline"],["id","textHeadingUnits","y","195.59286","x","375.5509",0,"xml","space","preserve",1,"apText",2,"font-style","normal","font-variant","normal","font-weight","normal","font-stretch","normal","font-size","16px","line-height","1.25","font-family","Arial","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-feature-settings","normal","text-align","start","letter-spacing","0px","word-spacing","0px","writing-mode","lr-tb","text-anchor","start","stroke","none"],["y","195.59286","x","375.5509","id","tspan7332"],["id","textPilotMode","y","-5.9288187","x","53.518887",0,"xml","space","preserve",1,"apText",2,"font-style","normal","font-variant","normal","font-weight","normal","font-stretch","normal","font-size","21.33333397px","line-height","1.25","font-family","Arial","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-feature-settings","normal","text-align","start","letter-spacing","0px","word-spacing","0px","writing-mode","lr-tb","text-anchor","start","stroke","none"],["y","-5.9288187","x","53.518887","id","tspan7336"],["id","textLockedWindAngle","y","-5.63585","x","388.37534",0,"xml","space","preserve",1,"apText",2,"font-style","normal","font-variant","normal","font-weight","normal","font-stretch","normal","font-size","21.33333397px","line-height","1.25","font-family","Arial","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-feature-settings","normal","text-align","start","letter-spacing","0px","word-spacing","0px","writing-mode","lr-tb","text-anchor","start","stroke","none"],["y","-5.63585","x","388.37534","id","tspan7340",4,"ngIf"],["transform","translate(-48.447528,53.7796)","id","layerHeading",2,"display","inline"],["transform","translate(7.0707071,-37.373737)","id","textHeadingValue"],[0,"xml","space","preserve","x","261.90826","y","230.58067","id","text7163","transform","scale(0.98289846,1.0173991)",1,"apText",2,"font-style","normal","font-variant","normal","font-weight","bold","font-stretch","normal","font-size","124.02593231px","line-height","1.25","font-family","Arial","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-feature-settings","normal","text-align","center","letter-spacing","0px","word-spacing","0px","writing-mode","lr-tb","text-anchor","middle","stroke","none","stroke-width","3.24648261"],["id","tspan7406","x","261.90826","y","230.58067",2,"font-style","normal","font-variant","normal","font-weight","bold","font-stretch","normal","font-size","124.02593231px","font-family","Arial","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-feature-settings","normal","text-align","center","writing-mode","lr-tb","text-anchor","middle","stroke-width","3.24648261"],["x","350.04529",0,"xml","space","preserve","y","192.68625","id","text5715",1,"apText",2,"font-style","normal","font-variant","normal","font-weight","normal","font-stretch","normal","font-size","64px","line-height","1.25","font-family","sans-serif","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-feature-settings","normal","text-align","start","letter-spacing","0px","word-spacing","0px","writing-mode","lr-tb","text-anchor","start","stroke","none"],["id","tspan5713","x","350.04529","y","192.68625"],["transform","translate(-48.447528,53.7796)","id","layerRudder",2,"display","inline"],["y","-53.399956","x","274.99667","height","14.987642","width","0","id","rudderAnglePrt",1,"rudderStarboard",2,"display","inline","opacity","1","stroke","none","stroke-width","2","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["attributeType","XML","attributeName","width","dur","0.5s","begin","indefinite","additive","replace","fill","freeze"],["rudderStbAnimate",""],["transform","scale(-1,1)","y","-53.399956","x","-274.44928","height","14.987642","width","0","id","rudderAngleStb",1,"rudderPort",2,"display","inline","opacity","1","stroke","none","stroke-width","2","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["rudderPrtAnimate",""],["transform","translate(-48.447528,-110.9287)","id","layerBackground",2,"display","inline"],["id","g276"],["id","g7471","transform","translate(24.722982,-28.057562)"],["transform","translate(721.94867,-290.57106)","id","g5688"],["id","path4652-4","d","m -472.47775,871.67124 a 165.94029,166.38596 0 0 1 -165.5669,-166.3216 165.94029,166.38596 0 0 1 165.43938,-166.44913",1,"port",2,"display","inline","fill","none","stroke-width","14.82046986","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["id","path4652-4-2","d","M 472.647,871.67236 A 165.94029,166.38596 0 0 1 328.86191,788.52051 165.94029,166.38596 0 0 1 328.84104,622.0886 165.94029,166.38596 0 0 1 472.60527,538.90049","transform","scale(-1,1)",1,"starboard",2,"display","inline","fill","none","stroke-width","14.82046986","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["id","g5754"],["d","m 99.32582,328.14958 12.77685,7.39357","id","path7189",2,"fill","none","stroke","#000000","stroke-width","2.95406151","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["id","path7191","d","m 162.64238,264.41753 7.37674,12.80605",2,"fill","none","stroke","#000000","stroke-width","2.95406151","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["d","m 335.9953,264.04783 -7.37672,12.80611","id","path7193",2,"fill","none","stroke","#000000","stroke-width","2.95406151","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["id","path7195","d","m 399.58188,327.50924 -12.77686,7.39366",2,"fill","none","stroke","#000000","stroke-width","2.95406151","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["d","m 422.9912,414.33449 -14.75348,3e-5","id","path7197",2,"fill","none","stroke","#000000","stroke-width","2.95406151","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["id","path7199","d","m 399.95073,501.2588 -12.77692,-7.3936",2,"fill","none","stroke","#000000","stroke-width","2.95406151","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["d","m 336.63416,564.99087 -7.37678,-12.80612","id","path7201",2,"fill","none","stroke","#000000","stroke-width","2.95406151","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["id","path7203","d","m 250.0071,588.45375 -3e-5,-14.78727",2,"fill","none","stroke","#000000","stroke-width","2.95406151","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["d","m 163.28122,565.36054 7.37672,-12.80615","id","path7205",2,"fill","none","stroke","#000000","stroke-width","2.95406151","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["id","path7207","d","m 99.694636,501.89912 12.776874,-7.39367",2,"fill","none","stroke","#000000","stroke-width","2.95406151","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["d","m 76.28531,415.07387 14.753506,-6e-5","id","path7209",2,"fill","none","stroke","#000000","stroke-width","2.95406151","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["id","path7211","d","m 249.26941,240.95462 6e-5,14.78725",2,"fill","none","stroke","#000000","stroke-width","2.95406151","stroke-linecap","butt","stroke-linejoin","miter","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["id","path7213","cx","317.2731","cy","198.57274","transform","matrix(0.98473974,0.17403345,-0.1732637,0.98487547,0,0)","rx","1.4684811","ry","1.4716377",2,"fill","#040404","fill-opacity","1","stroke","#000000","stroke-width","2.95406199","stroke-linecap","butt","stroke-linejoin","round","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["transform","matrix(0.93944096,0.3427108,-0.34133044,0.93994337,0,0)","cy","137.78685","cx","375.78641","id","circle7219","rx","1.4687726","ry","1.4713458",2,"fill","#040404","fill-opacity","1","stroke","#000000","stroke-width","2.95406342","stroke-linecap","butt","stroke-linejoin","round","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["id","circle7221","cx","457.31314","cy","-9.3075047","transform","matrix(0.7653205,0.64364938,-0.64192532,0.76676716,0,0)","rx","1.4697686","ry","1.4703517",2,"fill","#040404","fill-opacity","1","stroke","#000000","stroke-width","2.95406508","stroke-linecap","butt","stroke-linejoin","round","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["transform","matrix(0.64192538,0.76676711,-0.76532046,0.64364943,0,0)","cy","-91.100418","cx","477.8157","id","circle7223","rx","1.4703517","ry","1.4697686",2,"fill","#040404","fill-opacity","1","stroke","#000000","stroke-width","2.95406508","stroke-linecap","butt","stroke-linejoin","round","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["id","circle7225","cx","475.04779","cy","-258.81723","transform","matrix(0.34133049,0.93994335,-0.93944093,0.34271086,0,0)","rx","1.4713458","ry","1.4687726",2,"fill","#040404","fill-opacity","1","stroke","#000000","stroke-width","2.95406318","stroke-linecap","butt","stroke-linejoin","round","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["transform","matrix(0.1732637,0.98487547,-0.98473974,0.17403346,0,0)","cy","-339.68927","cx","451.80542","id","circle7227","rx","1.4716377","ry","1.4684812",2,"fill","#040404","fill-opacity","1","stroke","#000000","stroke-width","2.95406199","stroke-linecap","butt","stroke-linejoin","round","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["id","circle7229","cx","365.07513","cy","-483.41837","transform","matrix(-0.1732637,0.98487547,-0.98473974,-0.17403346,0,0)","rx","1.4716377","ry","1.4684812",2,"fill","#040404","fill-opacity","1","stroke","#000000","stroke-width","2.95406199","stroke-linecap","butt","stroke-linejoin","round","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["transform","matrix(-0.34133048,0.93994335,-0.93944094,-0.34271083,0,0)","cy","-541.96466","cx","304.2561","id","circle7231","rx","1.4713457","ry","1.4687726",2,"fill","#040404","fill-opacity","1","stroke","#000000","stroke-width","2.95406294","stroke-linecap","butt","stroke-linejoin","round","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["id","circle7233","cx","157.04932","cy","-623.60413","transform","matrix(-0.64192535,0.76676714,-0.7653205,-0.64364938,0,0)","rx","1.4703517","ry","1.4697688",2,"fill","#040404","fill-opacity","1","stroke","#000000","stroke-width","2.95406508","stroke-linecap","butt","stroke-linejoin","round","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["transform","matrix(-0.7653205,0.64364938,-0.64192535,-0.76676714,0,0)","cy","-644.17261","cx","75.19046","id","circle7235","rx","1.4697688","ry","1.4703517",2,"fill","#040404","fill-opacity","1","stroke","#000000","stroke-width","2.95406508","stroke-linecap","butt","stroke-linejoin","round","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["id","circle7237","cx","-92.639015","cy","-641.51727","transform","matrix(-0.93944094,0.34271083,-0.34133048,-0.93994335,0,0)","rx","1.4687726","ry","1.4713457",2,"fill","#040404","fill-opacity","1","stroke","#000000","stroke-width","2.95406294","stroke-linecap","butt","stroke-linejoin","round","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["transform","matrix(-0.98473974,0.17403346,-0.1732637,-0.98487547,0,0)","cy","-618.30792","cx","-173.54405","id","circle7239","rx","1.4684812","ry","1.4716377",2,"fill","#040404","fill-opacity","1","stroke","#000000","stroke-width","2.95406199","stroke-linecap","butt","stroke-linejoin","round","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["id","circle7241","cx","-317.2731","cy","-531.57745","transform","matrix(-0.98473974,-0.17403346,0.1732637,-0.98487547,0,0)","rx","1.4684812","ry","1.4716377",2,"fill","#040404","fill-opacity","1","stroke","#000000","stroke-width","2.95406199","stroke-linecap","butt","stroke-linejoin","round","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["transform","matrix(-0.93944094,-0.34271083,0.34133048,-0.93994335,0,0)","cy","-470.72552","cx","-375.78641","id","circle7243","rx","1.4687726","ry","1.4713457",2,"fill","#040404","fill-opacity","1","stroke","#000000","stroke-width","2.95406294","stroke-linecap","butt","stroke-linejoin","round","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["id","circle7245","cx","-457.3132","cy","-323.40628","transform","matrix(-0.7653205,-0.64364938,0.64192535,-0.76676714,0,0)","rx","1.4697688","ry","1.4703517",2,"fill","#040404","fill-opacity","1","stroke","#000000","stroke-width","2.95406508","stroke-linecap","butt","stroke-linejoin","round","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["transform","matrix(-0.64192535,-0.76676714,0.7653205,-0.64364938,0,0)","cy","-241.48129","cx","-477.81573","id","circle7247","rx","1.4703517","ry","1.4697688",2,"fill","#040404","fill-opacity","1","stroke","#000000","stroke-width","2.95406508","stroke-linecap","butt","stroke-linejoin","round","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["id","circle7249","cx","-475.04776","cy","-73.539139","transform","matrix(-0.34133048,-0.93994335,0.93944094,-0.34271083,0,0)","rx","1.4713457","ry","1.4687726",2,"fill","#040404","fill-opacity","1","stroke","#000000","stroke-width","2.95406294","stroke-linecap","butt","stroke-linejoin","round","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["transform","matrix(-0.1732637,-0.98487547,0.98473974,-0.17403346,0,0)","cy","7.3989258","cx","-451.80542","id","circle7251","rx","1.4716377","ry","1.4684812",2,"fill","#040404","fill-opacity","1","stroke","#000000","stroke-width","2.95406199","stroke-linecap","butt","stroke-linejoin","round","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["id","circle7253","cx","-365.07513","cy","151.12804","transform","matrix(0.1732637,-0.98487547,0.98473974,0.17403346,0,0)","rx","1.4716377","ry","1.4684812",2,"fill","#040404","fill-opacity","1","stroke","#000000","stroke-width","2.95406199","stroke-linecap","butt","stroke-linejoin","round","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["transform","matrix(0.34133049,-0.93994335,0.93944093,0.34271086,0,0)","cy","209.60825","cx","-304.2561","id","circle7255","rx","1.4713458","ry","1.4687726",2,"fill","#040404","fill-opacity","1","stroke","#000000","stroke-width","2.95406318","stroke-linecap","butt","stroke-linejoin","round","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["id","circle7257","cx","-157.04932","cy","291.0224","transform","matrix(0.64192538,-0.76676711,0.76532046,0.64364943,0,0)","rx","1.4703517","ry","1.4697686",2,"fill","#040404","fill-opacity","1","stroke","#000000","stroke-width","2.95406508","stroke-linecap","butt","stroke-linejoin","round","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["transform","matrix(0.7653205,-0.64364938,0.64192532,0.76676716,0,0)","cy","311.45892","cx","-75.19046","id","circle7259","rx","1.4697686","ry","1.4703517",2,"fill","#040404","fill-opacity","1","stroke","#000000","stroke-width","2.95406508","stroke-linecap","butt","stroke-linejoin","round","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["id","circle7261","cx","92.639","cy","308.57849","transform","matrix(0.93944096,-0.3427108,0.34133044,0.93994337,0,0)","rx","1.4687726","ry","1.4713458",2,"fill","#040404","fill-opacity","1","stroke","#000000","stroke-width","2.95406342","stroke-linecap","butt","stroke-linejoin","round","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["transform","matrix(0.98473974,-0.17403345,0.1732637,0.98487547,0,0)","cy","285.3031","cx","173.54404","id","circle7263","rx","1.4684811","ry","1.4716377",2,"fill","#040404","fill-opacity","1","stroke","#000000","stroke-width","2.95406199","stroke-linecap","butt","stroke-linejoin","round","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["id","circle7265","cx","173.54404","cy","285.3031","transform","matrix(0.98473974,-0.17403345,0.1732637,0.98487547,0,0)","rx","1.4684811","ry","1.4716377",2,"fill","#040404","fill-opacity","1","stroke","#000000","stroke-width","2.95406199","stroke-linecap","butt","stroke-linejoin","round","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["r","221.99022","cy","414.70831","cx","250","id","path7341",2,"display","inline","fill","none","fill-opacity","0.80952382","stroke","#000000","stroke-width","6.01955366","stroke-linecap","butt","stroke-linejoin","round","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","0.71794876"],["id","path4120","d","m 249.26947,259.74187 -25.47864,22.43141 h 51.40958 z",2,"display","inline","opacity","0.5","fill","#000000","stroke","none","stroke-width","2.18676066px","stroke-linecap","butt","stroke-linejoin","miter","stroke-opacity","1"],["id","g7661","transform","matrix(1,0,0,0.40619912,-0.01308156,81.255803)"],["y","73.984749","x","49.443867","height","36.007324","width","450.58438","id","rect7491",2,"display","inline","opacity","1","fill","none","fill-opacity","1","stroke","#000000","stroke-width","1.99267745","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["y","74.014343","x","275.45538","height","35.807354","width","142.73141","id","rect7491-8-1-1",2,"display","inline","opacity","1","fill","none","fill-opacity","1","stroke","#000000","stroke-width","2.21205759","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["y","74.014343","x","132.72397","height","35.807354","width","142.73141","id","rect7491-8-1-1-1",2,"display","inline","opacity","1","fill","none","fill-opacity","1","stroke","#000000","stroke-width","2.21205759","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["y","74.014343","x","59.762901","height","35.807354","width","142.73141","id","rect7491-8-1-1-1-0",2,"display","inline","opacity","1","fill","none","fill-opacity","1","stroke","#000000","stroke-width","2.21205759","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["y","74.014343","x","346.97778","height","35.807354","width","142.73141","id","rect7491-8-1-1-1-6",2,"display","inline","opacity","1","fill","none","fill-opacity","1","stroke","#000000","stroke-width","2.21205759","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],[0,"xml","space","preserve","x","196.81769","y","135.53325","id","text7612",1,"apText",2,"font-style","normal","font-variant","normal","font-weight","normal","font-stretch","normal","font-size","10.66666698px","line-height","1.25","font-family","Arial","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-feature-settings","normal","text-align","start","letter-spacing","0px","word-spacing","0px","writing-mode","lr-tb","text-anchor","start","stroke","none"],["id","tspan7610","x","196.81769","y","135.53325"],[0,"xml","space","preserve","x","126.64516","y","135.53325","id","text7616",1,"apText",2,"font-style","normal","font-variant","normal","font-weight","normal","font-stretch","normal","font-size","10.66666698px","line-height","1.25","font-family","Arial","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-feature-settings","normal","text-align","start","letter-spacing","0px","word-spacing","0px","writing-mode","lr-tb","text-anchor","start","stroke","none"],["id","tspan7614","x","126.64516","y","135.53325"],[0,"xml","space","preserve","x","54.179352","y","135.53325","id","text7620",1,"apText",2,"font-style","normal","font-variant","normal","font-weight","normal","font-stretch","normal","font-size","10.66666698px","line-height","1.25","font-family","Arial","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-feature-settings","normal","text-align","start","letter-spacing","0px","word-spacing","0px","writing-mode","lr-tb","text-anchor","start","stroke","none"],["id","tspan7618","x","54.179352","y","135.53325"],[0,"xml","space","preserve","x","341.181","y","135.53325","id","text7612-4",1,"apText",2,"font-style","normal","font-variant","normal","font-weight","normal","font-stretch","normal","font-size","10.66666698px","line-height","1.25","font-family","Arial","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-feature-settings","normal","text-align","start","letter-spacing","0px","word-spacing","0px","writing-mode","lr-tb","text-anchor","start","display","inline","stroke","none"],["id","tspan7610-0","x","341.181","y","135.53325"],[0,"xml","space","preserve","x","413.27536","y","135.53325","id","text7616-8",1,"apText",2,"font-style","normal","font-variant","normal","font-weight","normal","font-stretch","normal","font-size","10.66666698px","line-height","1.25","font-family","Arial","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-feature-settings","normal","text-align","start","letter-spacing","0px","word-spacing","0px","writing-mode","lr-tb","text-anchor","start","display","inline","stroke","none"],["id","tspan7614-7","x","413.27536","y","135.53325"],[0,"xml","space","preserve","x","484.21832","y","135.53325","id","text7620-7",1,"apText",2,"font-style","normal","font-variant","normal","font-weight","normal","font-stretch","normal","font-size","10.66666698px","line-height","1.25","font-family","Arial","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-feature-settings","normal","text-align","start","letter-spacing","0px","word-spacing","0px","writing-mode","lr-tb","text-anchor","start","display","inline","stroke","none"],["id","tspan7618-0","x","484.21832","y","135.53325"],[0,"xml","space","preserve","x","257.13232","y","135.12598","id","text7612-7",1,"apText",2,"font-style","normal","font-variant","normal","font-weight","normal","font-stretch","normal","font-size","10.66666698px","line-height","1.25","font-family","Arial","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-feature-settings","normal","text-align","start","letter-spacing","0px","word-spacing","0px","writing-mode","lr-tb","text-anchor","start","display","inline","stroke","none"],["id","tspan7610-08","x","257.13232","y","135.12598"],[0,"xml","space","preserve","x","131.37558","y","360.30118","id","text7334-7",1,"apText",2,"font-style","normal","font-variant","normal","font-weight","normal","font-stretch","normal","font-size","16px","line-height","1.25","font-family","Arial","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-feature-settings","normal","text-align","start","letter-spacing","0px","word-spacing","0px","writing-mode","lr-tb","text-anchor","start","display","inline","stroke","none"],["id","tspan7332-3","x","131.37558","y","360.30118"],["id","layerWindAngle",2,"display","inline"],["transform","rotate(179.60924,237.62275,95.469746)","id","windAngleIndicator",2,"display","inline"],["transform","matrix(-5.1082345,0,0,-4.5354333,587.61946,139.05361)","id","g7361",1,"app-wind",2,"display","inline","fill-opacity","1"],["d","M 62.243972,4.0584953 A 3.9408352,3.9073367 0 0 1 66.184807,0.15115881 3.9408352,3.9073367 0 0 1 70.125642,4.0584955","id","path7357",1,"app-wind",2,"fill-opacity","1","stroke","#000000","stroke-width","0.30782673","stroke-linecap","butt","stroke-linejoin","round","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["id","path7359","d","m 62.177083,3.96875 3.968749,6.614583 3.96875,-6.614583",1,"app-wind",2,"fill-opacity","1","stroke","#000000","stroke-width","0.26458332px","stroke-linecap","butt","stroke-linejoin","miter","stroke-opacity","1"],["transform","scale(-1.0096233,-0.99046843)","id","text7365","y","-117.71236","x","-247.47594",0,"xml","space","preserve",1,"apText",2,"font-style","normal","font-variant","normal","font-weight","bold","font-stretch","normal","font-size","13.33333302px","line-height","1.25","font-family","Arial","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-feature-settings","normal","text-align","center","letter-spacing","0px","word-spacing","0px","writing-mode","lr-tb","text-anchor","middle","stroke","none","stroke-width","1.02742887"],["id","tspan7417","x","-247.47594","y","-117.71236"],["id","tspan184","x","-247.47594","y","-101.04569"],["transform","rotate(-179.60924)","id","text188","y","-125.73083","x","-374.62845",0,"xml","space","preserve",1,"apText",2,"font-style","normal","font-weight","normal","font-size","40px","line-height","1.25","font-family","sans-serif","letter-spacing","0px","word-spacing","0px","stroke","none"],["y","-89.237617","x","-374.62845","id","tspan186"],["appWindAnimate",""],[1,"apStatusBar"],["apStatusBar",""],[1,"",2,"width","calc((100% - 50px))",3,"innerText"],[1,"activityIcon"],["aria-hidden","true",1,"fa-solid","fa-exchange"],[2,"width","25px"],["aria-hidden","true",1,"fa-solid","fa-exclamation-triangle",2,"color","darkgoldenrod"],[1,"apStencil"],["apStencil",""],[2,"font-weight","bold","opacity","75%"],[2,"opacity","75%"],["aria-hidden","true",1,"fa-solid","fa-power-off"],[1,"apStencil","confirmCommand",3,"innerHTML"],[1,"apStencil","error"],["aria-hidden","true",1,"fa-solid","fa-exclamation-triangle","fa-5x",2,"color","darkgoldenrod","padding-top","15px"],[3,"innerHTML"],["y","-5.63585","x","388.37534","id","tspan7340"]],template:function(e,i){1&e&&(v(0,"div",0)(1,"div",1),vr(),v(2,"svg",2)(3,"defs",3)(4,"linearGradient",4),q(5,"stop",5),b()(),v(6,"g",6)(7,"g",7),q(8,"ellipse",8)(9,"ellipse",9)(10,"path",10)(11,"path",11)(12,"path",12)(13,"path",13)(14,"path",14)(15,"path",15)(16,"path",16)(17,"path",17)(18,"path",18)(19,"path",19)(20,"path",20)(21,"path",21)(22,"path",22)(23,"path",23)(24,"path",24)(25,"path",25)(26,"path",26)(27,"path",27)(28,"path",28)(29,"path",29)(30,"path",30)(31,"path",31)(32,"path",32)(33,"path",33),v(34,"text",34)(35,"tspan",35),M(36,"N"),b()(),v(37,"text",36)(38,"tspan",37),M(39,"S"),b()(),v(40,"text",38)(41,"tspan",39),M(42,"E"),b()(),v(43,"text",40)(44,"tspan",41),M(45,"W"),b()(),v(46,"text",42)(47,"tspan",43),M(48,"NE"),b()(),v(49,"text",44)(50,"tspan",45),M(51,"NW"),b()(),v(52,"text",46)(53,"tspan",47),M(54,"SW"),b()(),v(55,"text",48)(56,"tspan",49),M(57,"SE"),b()(),v(58,"text",50)(59,"tspan",51),M(60,"NNE"),b()(),v(61,"text",52)(62,"tspan",53),M(63,"ENE"),b()(),v(64,"text",54)(65,"tspan",55),M(66,"ESE"),b()(),v(67,"text",56)(68,"tspan",57),M(69,"SSE"),b()(),v(70,"text",58)(71,"tspan",59),M(72,"SSW"),b()(),v(73,"text",60)(74,"tspan",61),M(75,"WSW"),b()(),v(76,"text",62)(77,"tspan",63),M(78,"WNW"),b()(),v(79,"text",64)(80,"tspan",65),M(81,"NNW"),b()(),v(82,"text",66)(83,"tspan",67),M(84,"0"),b()(),v(85,"text",68)(86,"tspan",69),M(87,"30"),b()(),v(88,"text",70)(89,"tspan",71),M(90,"60"),b()(),v(91,"text",72)(92,"tspan",73),M(93,"90"),b()(),v(94,"text",74)(95,"tspan",75),M(96,"120"),b()(),v(97,"text",76)(98,"tspan",77),M(99,"150"),b()(),v(100,"text",78)(101,"tspan",79),M(102,"180"),b()(),v(103,"text",80)(104,"tspan",81),M(105,"210"),b()(),v(106,"text",82)(107,"tspan",83),M(108,"240"),b()(),v(109,"text",84)(110,"tspan",85),M(111,"270"),b()(),v(112,"text",86)(113,"tspan",87),M(114,"300"),b()(),v(115,"text",88)(116,"tspan",89),M(117,"330"),b()()(),q(118,"animateTransform",90,91),b(),v(120,"g",92)(121,"text",93)(122,"tspan",94),M(123,"Mag"),b()(),v(124,"text",95)(125,"tspan",96),M(126),b()(),v(127,"text",97),$(128,Rbe,2,1,"tspan",98),b()(),v(129,"g",99)(130,"g",100)(131,"text",101)(132,"tspan",102),M(133),b()(),v(134,"text",103)(135,"tspan",104),M(136,"\xb0"),b()()()(),v(137,"g",105)(138,"rect",106),q(139,"animate",107,108),b(),v(141,"rect",109),q(142,"animate",107,110),b()(),v(144,"g",111)(145,"g",112)(146,"g",113)(147,"g",114),q(148,"path",115)(149,"path",116),b(),v(150,"g",117),q(151,"path",118)(152,"path",119)(153,"path",120)(154,"path",121)(155,"path",122)(156,"path",123)(157,"path",124)(158,"path",125)(159,"path",126)(160,"path",127)(161,"path",128)(162,"path",129)(163,"ellipse",130)(164,"ellipse",131)(165,"ellipse",132)(166,"ellipse",133)(167,"ellipse",134)(168,"ellipse",135)(169,"ellipse",136)(170,"ellipse",137)(171,"ellipse",138)(172,"ellipse",139)(173,"ellipse",140)(174,"ellipse",141)(175,"ellipse",142)(176,"ellipse",143)(177,"ellipse",144)(178,"ellipse",145)(179,"ellipse",146)(180,"ellipse",147)(181,"ellipse",148)(182,"ellipse",149)(183,"ellipse",150)(184,"ellipse",151)(185,"ellipse",152)(186,"ellipse",153)(187,"ellipse",154),b(),q(188,"circle",155)(189,"path",156),b(),v(190,"g",157),q(191,"rect",158)(192,"rect",159)(193,"rect",160)(194,"rect",161)(195,"rect",162),b(),v(196,"text",163)(197,"tspan",164),M(198,"10\xb0"),b()(),v(199,"text",165)(200,"tspan",166),M(201,"20\xb0"),b()(),v(202,"text",167)(203,"tspan",168),M(204,"30\xb0"),b()(),v(205,"text",169)(206,"tspan",170),M(207,"10\xb0"),b()(),v(208,"text",171)(209,"tspan",172),M(210,"20\xb0"),b()(),v(211,"text",173)(212,"tspan",174),M(213,"30\xb0"),b()(),v(214,"text",175)(215,"tspan",176),M(216,"Rudder"),b()(),v(217,"text",177)(218,"tspan",178),M(219,"Hdg"),b()()()(),v(220,"g",179)(221,"g",180)(222,"g",181),q(223,"path",182)(224,"path",183),b(),v(225,"text",184)(226,"tspan",185),M(227,"Wind"),b(),v(228,"tspan",186),M(229,"A"),b()(),v(230,"text",187),q(231,"tspan",188),b()(),q(232,"animateTransform",90,189),b()()(),Yo(),v(234,"div",190,191),q(236,"div",192),v(237,"div",193),q(238,"i",194),b(),v(239,"div",195),q(240,"i",196),b()(),v(241,"div",197,198)(243,"p",199),M(244,"OFFLINE"),b(),v(245,"p",200),M(246,"Press "),q(247,"i",201),M(248," to connect to Signal K server"),b()(),q(249,"div",202),v(250,"div",203),q(251,"i",204)(252,"p",205),b()()),2&e&&(I(118),Je("from","-"+i.compassFaceplate.oldDegreeIndicator+" 226 276")("to","-"+i.compassFaceplate.newDegreeIndicator+" 226 276"),I(8),vn(" ",i.apState," "),I(2),R("ngIf","Wind"==i.apState),I(5),Qn(i.headingValue),I(6),Je("from",i.oldRudderStbAngle)("to",i.newRudderStbAngle),I(3),Je("from",i.oldRudderPrtAngle)("to",i.newRudderPrtAngle),I(90),Je("from",i.appWind.oldDegreeIndicator+" 226 276")("to",i.appWind.newDegreeIndicator+" 226 276"),I(4),br("visibility",i.messageVisibility),R("innerText",i.messageInnerText),I(1),br("visibility",i.activityIconVisibility),I(2),br("visibility",i.errorIconVisibility),I(2),R("@fadeInOut",i.isApConnected?"connected":"disconnected"),I(8),br("visibility",i.msgStencilVisibility),R("innerHTML",i.msgStencilInnerHTML,_w),I(1),br("visibility",i.errorStencilVisibility),I(2),R("innerHTML",i.errorStencilInnerText,_w))},dependencies:[ui],encapsulation:2,data:{animation:[Pr("fadeInOut",[In("connected",wt({opacity:0})),In("disconnected",wt({opacity:1})),ri("connected => disconnected",[mi(".3s")]),ri("disconnected => connected",[mi("1s")])])]}}),t})();const Nbe=["powerBtn"],Lbe=["stbTackBtn"],Bbe=["plus1Btn"],Vbe=["minus1Btn"],Hbe=["prtTackBtn"],zbe=["standbyBtn"],Wbe=["plus10Btn"],jbe=["minus10Btn"],Ube=["autoBtn"],Gbe=["windModeBtn"],$be=["trackModeBtn"],qbe=["muteBtn"],Ybe=["messageBtn"],Kbe=["appSvgAutopilot"];function Zbe(t,n){1&t&&q(0,"i",51)}function Qbe(t,n){1&t&&q(0,"i",52)}function Xbe(t,n){1&t&&q(0,"span",53),2&t&&hc("matBadge",re().alarmsCount)}const Jbe={wind:"windAngleApparent",route:"headingMag",auto:"headingMag",standby:"headingMag"},B6={auto:{path:"self.steering.autopilot.state",value:"auto"},wind:{path:"self.steering.autopilot.state",value:"wind"},route:{path:"self.steering.autopilot.state",value:"route"},standby:{path:"self.steering.autopilot.state",value:"standby"},"+1":{path:"self.steering.autopilot.actions.adjustHeading",value:1},"+10":{path:"self.steering.autopilot.actions.adjustHeading",value:10},"-1":{path:"self.steering.autopilot.actions.adjustHeading",value:-1},"-10":{path:"self.steering.autopilot.actions.adjustHeading",value:-10},tackToPort:{path:"self.steering.autopilot.actions.tack",value:"port"},tackToStarboard:{path:"self.steering.autopilot.actions.tack",value:"starboard"},advanceWaypoint:{path:"self.steering.autopilot.actions.advanceWaypoint",value:"1"}};let tye=(()=>{class t extends _o{constructor(e,i){super(),this.signalkRequestsService=e,this.widgetManagerService=i,this.currentAPState=null,this.currentAPTargetAppWind=0,this.currentHeading=0,this.currentAppWindAngle=null,this.currentRudder=null,this.skApNotificationSub=new Z,this.skRequestSub=new Z,this.handleCountDownCounterTimeout=null,this.handleConfirmActionTimeout=null,this.handleMessageTimeout=null,this.handleReceiveTimeout=null,this.handleDisplayErrorTimeout=null,this.countDownValue=0,this.actionToBeConfirmed="",this.skPathToAck="",this.preferedDisplayMode=Jbe,this.isWChecked=!1,this.isTChecked=!1,this.isApConnected=!1,this.notificationsArray={},this.alarmsCount=0,this.notificationTest={},this.defaultConfig={displayName:"N2k Autopilot",filterSelfPaths:!0,paths:{apState:{description:"Autopilot State",path:"self.steering.autopilot.state",source:"default",pathType:"string",isPathConfigurable:!1,convertUnitTo:"",sampleTime:500},apTargetHeadingMag:{description:"Autopilot Target Heading Mag",path:"self.steering.autopilot.target.headingMagnetic",source:"default",pathType:"number",convertUnitTo:"deg",isPathConfigurable:!0,sampleTime:500},apTargetWindAngleApp:{description:"Autopilot Target Wind Angle Apparent",path:"self.steering.autopilot.target.windAngleApparent",source:"default",pathType:"number",convertUnitTo:"deg",isPathConfigurable:!0,sampleTime:500},apNotifications:{description:"Autopilot Notifications",path:"self.notifications.autopilot.*",source:"default",pathType:"string",convertUnitTo:"",isPathConfigurable:!1,sampleTime:500},headingMag:{description:"Heading Magnetic",path:"self.navigation.headingMagnetic",source:"default",pathType:"number",convertUnitTo:"deg",isPathConfigurable:!0,sampleTime:500},headingTrue:{description:"Heading True",path:"self.navigation.headingTrue",source:"default",pathType:"number",convertUnitTo:"deg",isPathConfigurable:!0,sampleTime:500},windAngleApparent:{description:"Wind Angle Apparent",path:"self.environment.wind.angleApparent",source:"default",pathType:"number",convertUnitTo:"deg",isPathConfigurable:!0,sampleTime:500},windAngleTrueWater:{description:"Wind Angle True Water",path:"self.environment.wind.angleTrueWater",source:"default",pathType:"number",convertUnitTo:"deg",isPathConfigurable:!0,sampleTime:500},rudderAngle:{description:"Rudder Angle",path:"self.steering.rudderAngle",source:"default",pathType:"number",convertUnitTo:"deg",isPathConfigurable:!0,sampleTime:500}},usage:{headingMag:["wind","route","auto","standby"],headingTrue:["wind","route","auto","standby"],windAngleApparent:["wind"],windAngleTrueWater:["wind"]},typeVal:{headingMag:"Mag",headingTrue:"True",windAngleApparent:"AWA",windAngleTrueWater:"TWA"},barColor:"accent",autoStart:!1}}ngOnInit(){this.widgetProperties.config.autoStart&&setTimeout(()=>{this.startApHead()})}demoMode(){}ngOnDestroy(){this.unsubscribeDataStream(),this.unsubscribeSKRequest(),this.unsubscribeAPNotification(),console.log("Autopilot Subs Stopped")}startAllSubscriptions(){this.observeDataStream("apState",e=>{this.currentAPState=e.value,this.SetKeyboardMode(this.currentAPState)}),this.observeDataStream("headingMag",e=>{this.currentHeading=null===e.value?0:e.value}),this.observeDataStream("windAngleApparent",e=>{this.currentAppWindAngle=null!==e.value?e.value<0?360+e.value:e.value:null}),this.observeDataStream("rudderAngle",e=>{this.currentRudder=null===e.value?0:e.value}),this.observeDataStream("apTargetWindAngleApp",e=>{this.currentAPTargetAppWind=null===e.value?0:e.value}),this.subscribeSKRequest(),this.subscribeAPNotification(),console.log("Autopilot Subs Started")}stopAllSubscriptions(){this.unsubscribeDataStream(),this.unsubscribeSKRequest(),this.unsubscribeAPNotification(),console.log("Autopilot Subs Stopped")}subscribeAPNotification(){"string"==typeof this.widgetProperties.config.paths.apNotifications.path&&(this.skApNotificationSub=this.signalKService.subscribePath(this.widgetProperties.uuid,this.widgetProperties.config.paths.apNotifications.path,this.widgetProperties.config.paths.apNotifications.source).subscribe(e=>{null==!e.value&&(this.setNotificationMessage(e.value),console.log(e.value))}))}unsubscribeAPNotification(){null!==this.skApNotificationSub&&(this.skApNotificationSub.unsubscribe(),this.skApNotificationSub=null,this.signalKService.unsubscribePath(this.widgetProperties.uuid,this.widgetProperties.config.paths.apNotifications.path))}subscribeSKRequest(){this.skRequestSub=this.signalkRequestsService.subscribeRequest().subscribe(e=>{e.widgetUUID==this.widgetProperties.uuid&&this.commandReceived(e)})}unsubscribeSKRequest(){null!==this.skRequestSub&&(this.skRequestSub.unsubscribe(),this.skRequestSub=null)}addHeading(e,i){let r=e+i;for(;r>359;)r-=359;for(;r<0;)r+=359;return r}powerBtnClick(e){this.isApConnected?this.stopApHead():this.startApHead()}startApHead(){this.startAllSubscriptions(),this.widgetProperties.config.autoStart=!0,this.widgetManagerService.updateWidgetConfig(this.widgetProperties.uuid,this.widgetProperties.config),this.isApConnected=!0,this.muteBtn.disabled=!0,this.messageBtn.disabled=!1}stopApHead(){this.muteBtn.disabled=!0,this.messageBtn.disabled=!0,this.windModeBtn.disabled=!0,this.trackModeBtn.disabled=!0,this.autoBtn.disabled=!0,this.standbyBtn.disabled=!0,this.plus1Btn.disabled=!0,this.plus10Btn.disabled=!0,this.minus1Btn.disabled=!0,this.minus10Btn.disabled=!0,this.prtTackBtn.disabled=!0,this.stbTackBtn.disabled=!0,this.apScreen.errorIconVisibility="hidden",this.isApConnected=!1,this.stopAllSubscriptions(),this.widgetProperties.config.autoStart=!1,this.widgetManagerService.updateWidgetConfig(this.widgetProperties.uuid,this.widgetProperties.config)}SetKeyboardMode(e){switch(e){case"standby":this.trackModeBtn.disabled=!0,this.autoBtn.disabled=!1,this.standbyBtn.disabled=!1,this.windModeBtn.disabled=!1,this.plus1Btn.disabled=!0,this.plus10Btn.disabled=!0,this.minus1Btn.disabled=!0,this.minus10Btn.disabled=!0,this.prtTackBtn.disabled=!0,this.stbTackBtn.disabled=!0;break;case"auto":this.trackModeBtn.disabled=!1,this.autoBtn.disabled=!1,this.standbyBtn.disabled=!1,this.windModeBtn.disabled=!1,this.plus1Btn.disabled=!1,this.plus10Btn.disabled=!1,this.minus1Btn.disabled=!1,this.minus10Btn.disabled=!1,this.prtTackBtn.disabled=!0,this.stbTackBtn.disabled=!0;break;case"wind":this.trackModeBtn.disabled=!0,this.autoBtn.disabled=!1,this.standbyBtn.disabled=!1,this.windModeBtn.disabled=!1,this.plus1Btn.disabled=!1,this.plus10Btn.disabled=!1,this.minus1Btn.disabled=!1,this.minus10Btn.disabled=!1,this.prtTackBtn.disabled=!1,this.stbTackBtn.disabled=!1;break;case"route":this.trackModeBtn.disabled=!1,this.autoBtn.disabled=!1,this.standbyBtn.disabled=!1,this.windModeBtn.disabled=!0,this.plus1Btn.disabled=!0,this.plus10Btn.disabled=!0,this.minus1Btn.disabled=!0,this.minus10Btn.disabled=!0,this.prtTackBtn.disabled=!0,this.stbTackBtn.disabled=!0}}buildAndSendCommand(e){let i=B6[e];return typeof i>"u"?(alert("Unknown Autopilot command: "+e),null):(""!==this.actionToBeConfirmed&&this.actionToBeConfirmed!==e&&this.clearConfirmCmd(),"tackToPort"!==e&&"tackToStarboard"!==e||""!==this.actionToBeConfirmed?"route"===e&&"route"===this.currentAPState&&""===this.actionToBeConfirmed?(this.confirmAdvanceWaypoint(e),null):this.actionToBeConfirmed===e?(this.clearConfirmCmd(),("tackToPort"===e||"tackToStarboard"===e)&&this.sendCommand(i),"route"===e&&"route"===this.currentAPState&&this.sendCommand(B6.advanceWaypoint),null):void this.sendCommand(i):(this.confirmTack(e),null))}confirmAdvanceWaypoint(e){this.startConfirmCmd(e,"Repeat key [Next Wpt]
to confirm
Advance Waypoint")}confirmTack(e){let i="Repeat same key
to confirm
tack to ";if("tackToPort"===e)i+="port",this.actionToBeConfirmed=e;else{if("tackToStarboard"!==e)return this.actionToBeConfirmed="",null;i+="starboard",this.actionToBeConfirmed=e}this.startConfirmCmd(e,i)}sendCommand(e){this.signalkRequestsService.putRequest(e.path,e.value,this.widgetProperties.uuid),this.apScreen.activityIconVisibility="visible",setTimeout(()=>{this.apScreen.activityIconVisibility="hidden"},250),console.log("AP Action:\n"+JSON.stringify(e))}commandReceived(e){this.apScreen.activityIconVisibility="visible",clearTimeout(this.handleReceiveTimeout),this.handleReceiveTimeout=setTimeout(()=>{this.apScreen.activityIconVisibility="hidden"},250),200!=e.statusCode?this.displayApError(e):console.log("AP Received: \n"+JSON.stringify(e))}startConfirmCmd(e,i){this.countDownValue=5,this.actionToBeConfirmed=e,this.apScreen.msgStencilInnerHTML="

"+i+"

",this.apScreen.msgStencilVisibility="visible",this.updateCountDownCounter(i),clearTimeout(this.handleConfirmActionTimeout),this.handleConfirmActionTimeout=setTimeout(()=>{this.apScreen.msgStencilVisibility="hidden",this.apScreen.msgStencilInnerHTML="",this.actionToBeConfirmed=""},5e3)}clearConfirmCmd(){return clearTimeout(this.handleConfirmActionTimeout),clearTimeout(this.handleCountDownCounterTimeout),this.countDownValue=-1,this.apScreen.msgStencilVisibility="hidden",this.apScreen.msgStencilInnerHTML="",this.actionToBeConfirmed="",null}updateCountDownCounter(e){this.countDownValue>0?(clearTimeout(this.handleCountDownCounterTimeout),this.apScreen.msgStencilInnerHTML="

"+e+"

"+this.countDownValue.toString()+"

",this.countDownValue-=1,this.handleCountDownCounterTimeout=setTimeout(()=>{this.updateCountDownCounter(e)},1e3)):clearTimeout(this.handleCountDownCounterTimeout)}displayApError(e){let i=e.statusCode+" - "+e.statusCodeDescription;e.message&&(i=i+" Server Message: "+e.message),this.apScreen.errorStencilInnerText=i,this.apScreen.errorStencilVisibility="visible",clearTimeout(this.handleDisplayErrorTimeout),this.handleDisplayErrorTimeout=setTimeout(()=>{this.apScreen.errorStencilVisibility="hidden",this.apScreen.errorStencilInnerText=""},6e3),this.apScreen.errorIconVisibility="visible"}getNextNotification(e){let i=Object.keys(this.notificationsArray),r="",o=0;return i.length>0&&(o=typeof e<"u"?i.indexOf(e)+1:0,i.length<=o&&(o=0),r=i[o]),r}setNotificationMessage(e){this.apScreen.activityIconVisibility="visible",clearTimeout(this.handleReceiveTimeout),this.handleReceiveTimeout=setTimeout(()=>{this.apScreen.activityIconVisibility="hidden"},250),typeof e.path<"u"&&(e.path=e.path.replace("notifications.",""),typeof e.value<"u"&&("normal"===e.value.state?(this.apScreen.messageInnerText===this.notificationsArray[e.path]&&(this.apScreen.messageInnerText=""),delete this.notificationsArray[e.path]):(this.notificationsArray[e.path]=e.value.message.replace("Pilot",""),this.apScreen.messageInnerText=this.notificationsArray[e.path]))),this.alarmsCount=Object.keys(this.notificationsArray).length,this.alarmsCount>0?(this.muteBtn.disabled=!1,""==this.apScreen.messageInnerText&&(this.apScreen.messageInnerText=Object.keys(this.notificationsArray)[0])):(this.muteBtn.disabled=!0,this.alarmsCount=0,this.apScreen.messageInnerText="")}notificationToValue(e){let i=this.notificationsArray[e];return typeof i>"u"&&(i="No alarm present..."),i}notificationScroll(){Object.keys(this.notificationsArray).length>0&&""==this.skPathToAck&&(this.skPathToAck=Object.keys(this.notificationsArray)[0]),this.skPathToAck=this.getNextNotification(this.skPathToAck),this.apScreen.messageInnerText=this.notificationToValue(this.skPathToAck),this.apScreen.messageVisibility="visible",clearTimeout(this.handleMessageTimeout),this.handleMessageTimeout=setTimeout(()=>{this.apScreen.messageInnerText="",this.apScreen.messageVisibility="hidden"},2e3)}sendSilence(){"visible"!=this.apScreen.messageVisibility?(this.apScreen.messageVisibility="visible",Object.keys(this.notificationsArray).length>0&&""==this.skPathToAck&&(this.skPathToAck=Object.keys(this.notificationsArray)[0])):(""!==this.skPathToAck&&this.sendCommand({path:"notifications."+this.skPathToAck+".state",value:"normal"}),this.apScreen.messageVisibility="hidden"),this.apScreen.messageInnerText=this.notificationToValue(this.skPathToAck)}}return t.\u0275fac=function(e){return new(e||t)(D(lD),D(Jb))},t.\u0275cmp=Pe({type:t,selectors:[["app-widget-autopilot"]],viewQuery:function(e,i){if(1&e&&(Oe(Nbe,5),Oe(Lbe,5),Oe(Bbe,5),Oe(Vbe,5),Oe(Hbe,5),Oe(zbe,5),Oe(Wbe,5),Oe(jbe,5),Oe(Ube,5),Oe(Gbe,5),Oe($be,5),Oe(qbe,5),Oe(Ybe,5),Oe(Kbe,5)),2&e){let r;ue(r=de())&&(i.powerBtn=r.first),ue(r=de())&&(i.stbTackBtn=r.first),ue(r=de())&&(i.plus1Btn=r.first),ue(r=de())&&(i.minus1Btn=r.first),ue(r=de())&&(i.prtTackBtn=r.first),ue(r=de())&&(i.standbyBtn=r.first),ue(r=de())&&(i.plus10Btn=r.first),ue(r=de())&&(i.minus10Btn=r.first),ue(r=de())&&(i.autoBtn=r.first),ue(r=de())&&(i.windModeBtn=r.first),ue(r=de())&&(i.trackModeBtn=r.first),ue(r=de())&&(i.muteBtn=r.first),ue(r=de())&&(i.messageBtn=r.first),ue(r=de())&&(i.apScreen=r.first)}},features:[we],decls:63,vars:10,consts:[[1,"autopilotWidget",3,"id"],["autopilot",""],[1,"headerAutopilot"],[1,"apTitle"],[1,"apPower"],["mat-flat-button","","color","primary","id","powerBtn","disabled","false",1,"powerBtn",3,"click"],["powerBtn",""],["aria-hidden","true",1,"fa-solid","fa-power-off"],[3,"compassHeading","appWindAngle","rudderAngle","apState","apTargetAppWindAngle","isApConnected"],["appSvgAutopilot",""],[1,"autopilotGridBtnContainer"],[1,"itemStbTack"],["type","button","mat-flat-button","","color","accent","id","stbTackBtn","disabled","true",1,"autoPilotBtn",3,"click"],["stbTackBtn",""],[1,"itemPlus1"],["type","button","mat-flat-button","","color","accent","id","plus1Btn","disabled","true",1,"autoPilotBtn",3,"click"],["plus1Btn",""],[1,"itemMinus1"],["type","button","mat-flat-button","","color","accent","id","minus1Btn","disabled","true",1,"autoPilotBtn",3,"click"],["minus1Btn",""],[1,"itemPrtTack"],["type","button","mat-flat-button","","color","accent","id","prtTackBtn","disabled","true",1,"autoPilotBtn",3,"click"],["prtTackBtn",""],[1,"itemStandby"],["type","button","mat-flat-button","","color","warn","id","standbyBtn","disabled","true",1,"autoPilotBtn",3,"click"],["standbyBtn",""],[1,"itemPlus10"],["type","button","mat-flat-button","","color","accent","id","plus10Btn","disabled","true",1,"autoPilotBtn",3,"click"],["plus10Btn",""],[1,"itemMinus10"],["type","button","mat-flat-button","","color","accent","id","minus10Btn","disabled","true",1,"autoPilotBtn",3,"click"],["minus10Btn",""],[1,"itemAuto"],["type","button","mat-flat-button","","color","warn","id","autoBtn","disabled","true",1,"autoPilotBtn",3,"click"],["autoBtn",""],[1,"itemWindmode"],["type","button","mat-flat-button","","color","warn","id","windModeBtn","disabled","true",1,"autoPilotBtn",3,"click"],["windModeBtn",""],[1,"itemTrackmode"],["type","button","mat-flat-button","","color","primary","id","trackModeBtn","disabled","true",1,"autoPilotBtn",3,"click"],["trackModeBtn",""],[1,"itemMute"],["type","button","mat-mini-fab","","color","primary","id","muteBtn","disabled","true",1,"autoPilotBtnCtrl",3,"click"],["muteBtn",""],["class","fa-solid fa-bell-slash","aria-hidden","true",4,"ngIf"],["class","fa-solid fa-bell","aria-hidden","true",4,"ngIf"],[1,"itemMessage"],["type","button","mat-mini-fab","","color","primary","id","messageBtn","disabled","true",1,"autoPilotBtnCtrl",3,"click"],["messageBtn",""],["aria-hidden","true",1,"fa-solid","fa-envelope"],["matBadgeColor","warn","matBadgeSize","medium","matBadgeHidden","false","matBadgeOverlap","false",3,"matBadge",4,"ngIf"],["aria-hidden","true",1,"fa-solid","fa-bell-slash"],["aria-hidden","true",1,"fa-solid","fa-bell"],["matBadgeColor","warn","matBadgeSize","medium","matBadgeHidden","false","matBadgeOverlap","false",3,"matBadge"]],template:function(e,i){1&e&&(v(0,"div",0,1)(2,"div",2)(3,"div",3)(4,"span"),M(5,"N2K Autopilot"),b()(),v(6,"div",4)(7,"button",5,6),ne("click",function(o){return i.powerBtnClick(o)}),q(9,"i",7),b()()(),q(10,"app-svg-autopilot",8,9),v(12,"div",10)(13,"div",11)(14,"button",12,13),ne("click",function(){return i.buildAndSendCommand("tackToStarboard")}),M(16,"Std Tack"),b()(),v(17,"div",14)(18,"button",15,16),ne("click",function(){return i.buildAndSendCommand("+1")}),M(20,"+1\xb0"),b()(),v(21,"div",17)(22,"button",18,19),ne("click",function(){return i.buildAndSendCommand("-1")}),M(24,"-1\xb0"),b()(),v(25,"div",20)(26,"button",21,22),ne("click",function(){return i.buildAndSendCommand("tackToPort")}),M(28,"Prt Tack"),b()(),v(29,"div",23)(30,"button",24,25),ne("click",function(){return i.buildAndSendCommand("standby")}),M(32,"Standby"),b()(),v(33,"div",26)(34,"button",27,28),ne("click",function(){return i.buildAndSendCommand("+10")}),M(36,"+10\xb0"),b()(),v(37,"div",29)(38,"button",30,31),ne("click",function(){return i.buildAndSendCommand("-10")}),M(40,"-10\xb0"),b()(),v(41,"div",32)(42,"button",33,34),ne("click",function(){return i.buildAndSendCommand("auto")}),M(44,"Auto"),b()(),v(45,"div",35)(46,"button",36,37),ne("click",function(){return i.buildAndSendCommand("wind")}),M(48,"Wind"),b()(),v(49,"div",38)(50,"button",39,40),ne("click",function(){return i.buildAndSendCommand("route")}),M(52,"Route"),b()(),v(53,"div",41)(54,"button",42,43),ne("click",function(){return i.sendSilence()}),$(56,Zbe,1,0,"i",44),$(57,Qbe,1,0,"i",45),b()(),v(58,"div",46)(59,"button",47,48),ne("click",function(){return i.notificationScroll()}),q(61,"span",49),$(62,Xbe,1,1,"span",50),b()()()()),2&e&&(hc("id",i.widgetProperties.uuid),I(10),R("compassHeading",i.currentHeading)("appWindAngle",i.currentAppWindAngle)("rudderAngle",i.currentRudder)("apState",i.currentAPState)("apTargetAppWindAngle",i.currentAPTargetAppWind)("isApConnected",i.isApConnected),I(46),R("ngIf",i.alarmsCount),I(1),R("ngIf",!i.alarmsCount),I(5),R("ngIf",i.alarmsCount))},dependencies:[ui,Ji,xF,Fbe],encapsulation:2}),t})();const nye=["gaugeBarAnimate"];let iye=(()=>{class t{constructor(){this.newGaugeValue=1,this.oldGaugeValue=1}ngOnChanges(e){if(e.dataValue&&(e.dataValue.firstChange||(this.dataValue=e.dataValue.currentValue)),e.gaugeValue&&!e.gaugeValue.firstChange){let r=195/(this.gaugeMaxValue-this.gaugeMinValue);this.oldGaugeValue=this.newGaugeValue,this.newGaugeValue=(e.gaugeValue.currentValue-this.gaugeMinValue)*r,this.gaugeBarAnimate.nativeElement.beginElement()}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Pe({type:t,selectors:[["svg-simple-linear-gauge"]],viewQuery:function(e,i){if(1&e&&Oe(nye,7),2&e){let r;ue(r=de())&&(i.gaugeBarAnimate=r.first)}},inputs:{displayName:"displayName",dataValue:"dataValue",unitLabel:"unitLabel",barColor:"barColor",barColorGradient:"barColorGradient",barColorBackground:"barColorBackground",gaugeValue:"gaugeValue",gaugeMinValue:"gaugeMinValue",gaugeMaxValue:"gaugeMaxValue"},features:[Tn],decls:24,vars:13,consts:[[0,"xmlns","osb","http://www.openswatchbook.org/uri/2009/osb",0,"xmlns","dc","http://purl.org/dc/elements/1.1/",0,"xmlns","cc","http://creativecommons.org/ns#",0,"xmlns","rdf","http://www.w3.org/1999/02/22-rdf-syntax-ns#",0,"xmlns","svg","http://www.w3.org/2000/svg","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink","height","100%","width","100%","viewBox","0 0 205 50","version","1.1","id","svg8"],["id","defs2"],["id","gaugeBarGradient"],["id","stop849","offset","0",2,"stop-opacity","1"],["id","stop851","offset","0.40",2,"stop-opacity","0"],["gradientTransform","translate(5,-30)","gradientUnits","userSpaceOnUse","y2","34.5","x2","-5","y1","34.5","x1","-6","id","linearGradient855",0,"xlink","href","#gaugeBarGradient"],["id","layer1",2,"display","inline"],["id","GaugeBackground","width","195","height","9","x","5","y","30","ry","0",2,"opacity","1","fill-opacity","1","stroke","none","stroke-width","0.265899","stroke-miterlimit","4","stroke-dasharray","none","stroke-opacity","1"],["id","gaugeBar"],["id","gaugeValue","width","1","height","9","x","0","y","0","ry","0",2,"mix-blend-mode","normal","fill-opacity","1","stroke-width","0.0864229"],["id","GaugeValueGradient","transform","scale(-1,1)","width","1","height","9","x","-1","y","0","ry","0",2,"display","inline","opacity","0.38141","mix-blend-mode","multiply","fill","url(#linearGradient855)","fill-opacity","1","stroke-width","0.0864229"],[0,"xlink","href","#gaugeBar","transform","translate(5,30)"],["attributeName","transform","type","scale","begin","indefinite","dur","0.5s","additive","sum","fill","freeze"],["gaugeBarAnimate",""],["id","layer2",2,"display","inline"],[0,"xml","space","preserve","x","4.1731763","y","25.413595","id","displayNameText",1,"simpleLinear-text",2,"font-style","normal","font-variant","normal","font-weight","bold","font-stretch","normal","font-size","12.7px","line-height","1.25","font-family","Arial","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-variant-east-asian","normal","letter-spacing","0px","word-spacing","0px"],["id","tspan1945","x","4.1731763","y","25.413595",2,"font-style","normal","font-variant","normal","font-weight","bold","font-stretch","normal","font-size","12.7px","font-family","Arial","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-variant-east-asian","normal"],["text-anchor","end","id","gaugeTexts","y","25.293016","x","200.37138",0,"xml","space","preserve",1,"simpleLinear-text",2,"font-style","normal","font-variant","normal","font-weight","bold","font-stretch","normal","font-size","22.5778px","line-height","1.25","font-family","Arial","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-variant-east-asian","normal","letter-spacing","0px","word-spacing","0px"],["y","25.293016","x","200.37138","id","valueText",2,"font-style","normal","font-variant","normal","font-weight","bold","font-stretch","normal","font-size","22.5778px","font-family","Arial","font-variant-ligatures","normal","font-variant-caps","normal","font-variant-numeric","normal","font-variant-east-asian","normal"],["dy","-9","id","unitText",2,"text-transform","capitalize","font-size","9.87778px"]],template:function(e,i){1&e&&(vr(),v(0,"svg",0)(1,"defs",1)(2,"linearGradient",2),q(3,"stop",3)(4,"stop",4),b(),q(5,"linearGradient",5),b(),v(6,"g",6),q(7,"rect",7),v(8,"defs")(9,"g",8),q(10,"rect",9)(11,"rect",10),b()(),v(12,"use",11),q(13,"animateTransform",12,13),b()(),v(15,"g",14)(16,"text",15)(17,"tspan",16),M(18),b()(),v(19,"text",17)(20,"tspan",18),M(21),b(),v(22,"tspan",19),M(23),b()()()()),2&e&&(I(3),br("stop-color",i.barColorGradient),I(1),br("stop-color",i.barColorGradient),I(3),br("fill",i.barColorBackground),I(5),br("fill",i.barColor),I(1),Je("from",i.oldGaugeValue+" 1")("to",i.newGaugeValue+" 1"),I(5),Qn(i.displayName),I(3),Qn(i.dataValue),I(2),Qn(i.unitLabel))},encapsulation:2}),t})(),rye=(()=>{class t extends _o{constructor(){super(),this.unitsLabel="",this.dataLabelValue="0",this.dataValue=0,this.barColor="",this.barColorGradient="",this.barColorBackground="",this.defaultConfig={displayName:"Gauge Label",filterSelfPaths:!0,paths:{gaugePath:{description:"Numeric Data",path:null,source:null,pathType:"number",isPathConfigurable:!0,convertUnitTo:"V",sampleTime:500}},minValue:0,maxValue:15,numInt:1,numDecimal:2,gaugeType:"simpleLinear",gaugeUnitLabelFormat:"full",barColor:"accent"}}ngOnInit(){this.unitsLabel="abr"==this.widgetProperties.config.gaugeUnitLabelFormat?this.widgetProperties.config.paths.gaugePath.convertUnitTo.substr(0,1):this.widgetProperties.config.paths.gaugePath.convertUnitTo,this.observeDataStream("gaugePath",e=>{null!=e.value&&(e.value=this.formatWidgetNumberValue(e.value),this.dataValue=e.value,this.dataLabelValue=e.value.padStart(0!=this.widgetProperties.config.numDecimal?this.widgetProperties.config.numInt+1+this.widgetProperties.config.numDecimal:this.widgetProperties.config.numInt,"0"))})}ngOnChanges(e){e.theme&&this.updateGaugeSettings()}updateGaugeSettings(){switch(this.barColorBackground=this.theme.background,this.widgetProperties.config.barColor){case"primary":this.barColor=this.theme.primary,this.barColorGradient=this.theme.primaryDark;break;case"accent":this.barColor=this.theme.accent,this.barColorGradient=this.theme.accentDark;break;case"warn":this.barColor=this.theme.warn,this.barColorGradient=this.theme.warnDark}}ngOnDestroy(){this.unsubscribeDataStream()}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Pe({type:t,selectors:[["app-widget-simple-linear"]],features:[we,Tn],decls:19,vars:10,consts:[[1,"simpleLinearWidget",2,"margin","0px","padding","0px","width","100%","height","100%",3,"id"],["simpleLinear",""],[1,"simpleLinearGauge",3,"displayName","unitLabel","dataValue","barColor","barColorGradient","barColorBackground","gaugeValue","gaugeMaxValue","gaugeMinValue"],[1,"primary",2,"display","none"],["primary",""],[1,"accent",2,"display","none"],["accent",""],[1,"warn",2,"display","none"],["warn",""],[1,"primaryDark",2,"display","none"],["primaryDark",""],[1,"accentDark",2,"display","none"],["accentDark",""],[1,"warnDark",2,"display","none"],["warnDark",""],[1,"background",2,"display","none"],["background",""],[1,"text",2,"display","none"],["text",""]],template:function(e,i){1&e&&(v(0,"div",0,1),q(2,"svg-simple-linear-gauge",2)(3,"div",3,4)(5,"div",5,6)(7,"div",7,8)(9,"div",9,10)(11,"div",11,12)(13,"div",13,14)(15,"div",15,16)(17,"div",17,18),b()),2&e&&(hc("id",i.widgetProperties.uuid),I(2),R("displayName",i.widgetProperties.config.displayName)("unitLabel",i.unitsLabel)("dataValue",i.dataLabelValue)("barColor",i.barColor)("barColorGradient",i.barColorGradient)("barColorBackground",i.barColorBackground)("gaugeValue",i.dataLabelValue)("gaugeMaxValue",i.widgetProperties.config.maxValue)("gaugeMinValue",i.widgetProperties.config.minValue))},dependencies:[iye],styles:[".simpleLinearGauge[_ngcontent-%COMP%]{display:block;position:relative;border:none;margin:0;padding:5px 0;width:100%;height:100%}"]}),t})(),V6=(()=>{class t{constructor(){this.kipTimers={}}createTimer(e,i,r){return e in this.kipTimers||(this.kipTimers[e]={currentValue:new En(i),timeoutID:null,intervalMS:r}),this.kipTimers[e].currentValue.asObservable()}startTimer(e){!this.kipTimers.hasOwnProperty(e)||null===this.kipTimers[e].timeoutID&&(this.kipTimers[e].timeoutID=setInterval(()=>{this.kipTimers[e].currentValue.next(this.kipTimers[e].currentValue.value+1)},this.kipTimers[e].intervalMS))}stopTimer(e){!this.kipTimers.hasOwnProperty(e)||null!==this.kipTimers[e].timeoutID&&(clearInterval(this.kipTimers[e].timeoutID),this.kipTimers[e].timeoutID=null)}setTimer(e,i){!this.kipTimers.hasOwnProperty(e)||this.kipTimers[e].currentValue.next(i)}deleteTimer(e){!this.kipTimers.hasOwnProperty(e)||(this.stopTimer(e),delete this.kipTimers[e])}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Te({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const oye=["canvasEl"],sye=["canvasBG"],aye=["raceTimerWrapperDiv"],lye=["warn"],cye=["warncontrast"];function uye(t,n){if(1&t){const e=Zn();v(0,"button",15),ne("click",function(){return ut(e),lt(re().startTimer())}),M(1," Start "),b()}}function dye(t,n){if(1&t){const e=Zn();v(0,"button",15),ne("click",function(){return ut(e),lt(re().pauseTimer())}),M(1," Pause "),b()}}let hye=(()=>{class t extends _o{constructor(e){super(),this.TimersService=e,this.dataValue=null,this.IZoneState=null,this.currentValueLength=0,this.valueFontSize=1,this.flashOn=!1,this.timerRunning=!1,this.timerSub=null,this.defaultConfig={timerLength:300}}ngOnInit(){this.subscribeTimer(),this.canvasCtx=this.canvasEl.nativeElement.getContext("2d"),this.canvasBGCtx=this.canvasBG.nativeElement.getContext("2d")}ngOnDestroy(){this.unsubscribeTimer(),this.flashInterval&&(clearInterval(this.flashInterval),this.flashInterval=null)}ngAfterViewChecked(){this.resizeWidget()}resizeWidget(){let e=this.wrapperDiv.nativeElement.getBoundingClientRect();e.height<50||e.width<50||(this.canvasEl.nativeElement.width!=Math.floor(e.width)||this.canvasEl.nativeElement.height!=Math.floor(e.height))&&(this.canvasEl.nativeElement.width=Math.floor(e.width),this.canvasEl.nativeElement.height=Math.floor(e.height),this.canvasBG.nativeElement.width=Math.floor(e.width),this.canvasBG.nativeElement.height=Math.floor(e.height),this.currentValueLength=0,this.updateCanvas(),this.updateCanvasBG())}subscribeTimer(){this.unsubscribeTimer(),this.timerSub=this.TimersService.createTimer("race",-3e3,100).subscribe(i=>{this.dataValue=i,this.IZoneState=i>0?gi.normal:i>-100?gi.alarm:i>-300?gi.warning:gi.normal,this.IZoneState!=gi.alarm||this.flashInterval?this.IZoneState!=gi.alarm&&this.flashInterval&&(clearInterval(this.flashInterval),this.flashInterval=null):this.flashInterval=setInterval(()=>{this.flashOn=!this.flashOn,this.updateCanvas()},500),this.updateCanvas()})}unsubscribeTimer(){null!==this.timerSub&&(this.timerSub.unsubscribe(),this.timerSub=null)}startTimer(){this.TimersService.startTimer("race"),this.timerRunning=!0}resetTimer(){this.unsubscribeTimer(),this.TimersService.deleteTimer("race"),this.timerRunning=!1,this.subscribeTimer()}pauseTimer(){this.TimersService.stopTimer("race"),this.timerRunning=!1}roundToMin(){let e=this.dataValue;this.dataValue<0&&(e*=-1);var i=e%600;this.TimersService.setTimer("race",this.dataValue>0?i>300?this.dataValue+(600-i):this.dataValue-i:i>300?this.dataValue-(600-i):this.dataValue+i)}addOneMin(){this.TimersService.setTimer("race",this.dataValue+600)}remOneMin(){this.TimersService.setTimer("race",this.dataValue-600)}updateCanvas(){this.canvasCtx&&(this.canvasCtx.clearRect(0,0,this.canvasEl.nativeElement.width,this.canvasEl.nativeElement.height),this.drawValue())}updateCanvasBG(){this.canvasBGCtx&&this.canvasBGCtx.clearRect(0,0,this.canvasEl.nativeElement.width,this.canvasEl.nativeElement.height)}drawValue(){let r,e=Math.floor(this.canvasEl.nativeElement.width-.15*this.canvasEl.nativeElement.width),i=Math.floor(this.canvasEl.nativeElement.height-.2*this.canvasEl.nativeElement.height);if(null!=this.dataValue){let l=this.dataValue;this.dataValue<0&&(l*=-1);var o=Math.floor(l/600),s=Math.floor(l%600/10),a=Math.floor(l%600%10);r=o+":"+("0"+s).slice(-2)+"."+a,this.dataValue<0&&(r="-"+r)}else r="--";if(this.currentValueLength!=r.length){this.currentValueLength=r.length,this.valueFontSize=i,this.canvasCtx.font="bold "+this.valueFontSize.toString()+"px Arial";let l=this.canvasCtx.measureText(r).width;l>e&&(this.valueFontSize=Math.floor(this.valueFontSize*(e/l)),this.canvasCtx.font="bold "+this.valueFontSize.toString()+"px Arial");let c=0;for(;this.canvasCtx.measureText(r).width>e&&this.valueFontSize>0;)c++,this.valueFontSize--,this.canvasCtx.font="bold "+this.valueFontSize.toString()+"px Arial";console.log(`Recalculated font size, loops: ${c}`)}switch(this.IZoneState){case gi.alarm:this.flashOn?this.canvasCtx.fillStyle=window.getComputedStyle(this.warnElement.nativeElement).color:(this.canvasCtx.fillStyle=window.getComputedStyle(this.warnElement.nativeElement).color,this.canvasCtx.fillRect(0,0,this.canvasEl.nativeElement.width,this.canvasEl.nativeElement.height),this.canvasCtx.fillStyle=window.getComputedStyle(this.warnContrastElement.nativeElement).color);break;case gi.warning:this.canvasCtx.fillStyle=window.getComputedStyle(this.warnElement.nativeElement).color;break;default:this.canvasCtx.fillStyle=window.getComputedStyle(this.wrapperDiv.nativeElement).color}this.canvasCtx.font="bold "+this.valueFontSize.toString()+"px Arial",this.canvasCtx.textAlign="center",this.canvasCtx.textBaseline="middle",this.canvasCtx.fillText(r,this.canvasEl.nativeElement.width/2,this.canvasEl.nativeElement.height/2+this.valueFontSize/15,e)}}return t.\u0275fac=function(e){return new(e||t)(D(V6))},t.\u0275cmp=Pe({type:t,selectors:[["app-widget-race-timer"]],viewQuery:function(e,i){if(1&e&&(Oe(oye,7,xe),Oe(sye,7,xe),Oe(aye,7,xe),Oe(lye,7,xe),Oe(cye,7,xe)),2&e){let r;ue(r=de())&&(i.canvasEl=r.first),ue(r=de())&&(i.canvasBG=r.first),ue(r=de())&&(i.wrapperDiv=r.first),ue(r=de())&&(i.warnElement=r.first),ue(r=de())&&(i.warnContrastElement=r.first)}},features:[we],decls:25,vars:2,consts:[[1,"raceTimerWrapper"],["raceTimerWrapperDiv",""],["id","canvasValue",1,"canvas-size"],["canvasEl",""],["id","canvasBG",1,"canvas-size","numeric-labels"],["canvasBG",""],[1,"warn",2,"display","none"],["warn",""],[1,"warn-contrast",2,"display","none"],["warncontrast",""],[1,"timerBar"],[1,"timerBarContainer"],[1,"timerButtonGroups"],["color","accent","mat-flat-button","",1,"timerButtonsSmall",3,"click"],["color","accent","mat-flat-button","","class","timerButtons",3,"click",4,"ngIf"],["color","accent","mat-flat-button","",1,"timerButtons",3,"click"]],template:function(e,i){1&e&&(v(0,"div",0,1),q(2,"canvas",2,3)(4,"canvas",4,5)(6,"div",6,7)(8,"div",8,9),v(10,"div",10)(11,"div",11)(12,"div",12)(13,"button",13),ne("click",function(){return i.remOneMin()}),M(14," -1 "),b(),v(15,"button",13),ne("click",function(){return i.roundToMin()}),M(16," 0 "),b(),v(17,"button",13),ne("click",function(){return i.addOneMin()}),M(18," +1 "),b()(),v(19,"div",12),$(20,uye,2,0,"button",14),$(21,dye,2,0,"button",14),b(),v(22,"div",12)(23,"button",15),ne("click",function(){return i.resetTimer()}),M(24," Reset "),b()()()()()),2&e&&(I(20),R("ngIf",!i.timerRunning),I(1),R("ngIf",i.timerRunning))},dependencies:[ui,Ji],styles:[".raceTimerWrapper[_ngcontent-%COMP%]{position:relative;width:100%;height:100%}.canvas-size[_ngcontent-%COMP%]{position:absolute;top:0;left:0}.timerBar[_ngcontent-%COMP%]{flex:1}.timerBarContainer[_ngcontent-%COMP%]{position:absolute;bottom:5%;height:10%;width:100%;display:flex;flex-direction:row;justify-content:space-between;flex-wrap:nowrap}.timerBarContainer[_ngcontent-%COMP%] .timerButtonGroups[_ngcontent-%COMP%]{flex-grow:1;text-align:center;width:33%}.timerBarContainer[_ngcontent-%COMP%] .timerButtons[_ngcontent-%COMP%]{width:75%;height:100%}.timerBarContainer[_ngcontent-%COMP%] .timerButtonsSmall[_ngcontent-%COMP%]{width:25%;height:100%;margin-left:5px}"]}),t})(),uD=(()=>{class t{constructor(){this.widgetList={Basic:[{name:"WidgetBlank",componentName:Due,description:"Blank"},{name:"WidgetNumeric",componentName:Pue,description:"Numeric display"},{name:"WidgetTextGeneric",componentName:Lue,description:"Text display"},{name:"WidgetDateGeneric",componentName:zue,description:"Date value display"},{name:"WidgetStateComponent",componentName:lbe,description:"Button/Switch control"}],Gauge:[{name:"WidgetGaugeNgLinearComponent",componentName:xbe,description:"Linear Gauge"},{name:"WidgetSimpleLinearComponent",componentName:rye,description:"Linear Electrical Gauge"},{name:"WidgetGaugeNgRadialComponent",componentName:Mbe,description:"Radial Gauge"},{name:"WidgetGaugeComponent",componentName:rbe,description:"Radial & Linear Steel Gauges"}],Components:[{name:"WidgetHistorical",componentName:zve,description:"Historical Datagram chart"},{name:"WidgetWindComponent",componentName:tbe,description:"Wind Gauge"},{name:"WidgetAutopilotComponent",componentName:tye,description:"N2k Autopilot head"},{name:"WidgetRaceTimerComponent",componentName:hye,description:"Race Timer display"},{name:"WidgetIframeComponent",componentName:hbe,description:"Embed Webpage"},{name:"WidgetTutorial",componentName:gbe,description:"Tutorial"}]}}getComponentName(e){for(let[i,r]of Object.entries(this.widgetList)){let o=r.find(s=>s.name==e);if(o)return o.componentName}return Mue}getList(){return this.widgetList}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Te({token:t,factory:t.\u0275fac}),t})(),H6=(()=>{class t{constructor(e,i,r,o){this.connection=e,this.auth=i,this.router=r,this.storage=o,this.auth.isLoggedIn$.subscribe(s=>{this.isLoggedIn=s})}initNetworkServices(){var e=this;return Mc(function*(){e.loadLocalStorageConfig();try{void 0!==e.config?.signalKUrl&&null!==e.config.signalKUrl&&(yield e.connection.resetSignalK({url:e.config.signalKUrl,new:!1})),!e.isLoggedIn&&e.config?.signalKUrl&&e.config?.useSharedConfig&&e.config?.loginName&&e.config?.loginPassword&&(yield e.login()),e.isLoggedIn&&e.config?.useSharedConfig&&(e.storage.activeConfigVersion=e.config.configVersion,e.storage.sharedConfigName=e.config.sharedConfigName,yield e.storage.getConfig("user",e.config.sharedConfigName,!0)),!e.isLoggedIn&&e.config?.signalKUrl&&e.config?.useSharedConfig&&e.router.navigate(["/login"])}catch(i){return console.warn("[AppInit Network Service] Services loaded. Connection is not configured"),console.error(i),Promise.reject("[AppInit Network Service] Services loaded. Conneciton not configured")}finally{console.log("[AppInit Network Service] Initialyzation completed")}})()}login(){var e=this;return Mc(function*(){!e.isLoggedIn&&e.config.useSharedConfig&&e.config.loginName&&e.config.loginPassword&&(yield e.auth.login({usr:e.config.loginName,pwd:e.config.loginPassword}).catch(i=>{0===i.status?e.router.navigate(["/settings"]):401===i.status&&e.router.navigate(["/login"]),console.error("[AppInit Network Service] Login failure. Server returned: "+JSON.stringify(i.error))}))})()}loadLocalStorageConfig(){this.config=JSON.parse(localStorage.getItem("connectionConfig")),this.config?this.config.signalKUrl||console.warn("[AppInit Network Service] Config found but no server URL is present"):console.log("[AppInit Network Service] No Connection Config found in LocalStorage. Maybe a first time app start")}}return t.\u0275fac=function(e){return new(e||t)(K(Uh),K(Rl),K(Or),K(Xb))},t.\u0275prov=Te({token:t,factory:t.\u0275fac}),t})(),fye=(()=>{class t{constructor(e){this.auth=e,this.authToken=null,this.auth.authToken$.subscribe(i=>{this.authToken=i})}intercept(e,i){let r=e.clone();return this.authToken&&(r=e.clone({headers:e.headers.set("authorization","JWT "+this.authToken.token)})),i.handle(r)}}return t.\u0275fac=function(e){return new(e||t)(K(Rl))},t.\u0275prov=Te({token:t,factory:t.\u0275fac}),t})();const z6=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],Wl=(()=>{if(typeof document>"u")return!1;const t=z6[0],n={};for(const e of z6)if(e?.[1]in document){for(const[r,o]of e.entries())n[t[r]]=o;return n}return!1})(),W6={change:Wl.fullscreenchange,error:Wl.fullscreenerror};let ls={request:(t=document.documentElement,n)=>new Promise((e,i)=>{const r=()=>{ls.off("change",r),e()};ls.on("change",r);const o=t[Wl.requestFullscreen](n);o instanceof Promise&&o.then(r).catch(i)}),exit:()=>new Promise((t,n)=>{if(!ls.isFullscreen)return void t();const e=()=>{ls.off("change",e),t()};ls.on("change",e);const i=document[Wl.exitFullscreen]();i instanceof Promise&&i.then(e).catch(n)}),toggle:(t,n)=>ls.isFullscreen?ls.exit():ls.request(t,n),onchange(t){ls.on("change",t)},onerror(t){ls.on("error",t)},on(t,n){const e=W6[t];e&&document.addEventListener(e,n,!1)},off(t,n){const e=W6[t];e&&document.removeEventListener(e,n,!1)},raw:Wl};Object.defineProperties(ls,{isFullscreen:{get:()=>Boolean(document[Wl.fullscreenElement])},element:{enumerable:!0,get:()=>document[Wl.fullscreenElement]??void 0},isEnabled:{enumerable:!0,get:()=>Boolean(document[Wl.fullscreenEnabled])}}),Wl||(ls={isEnabled:!1});const Wy=ls,dD="self.environment.sun";let j6=(()=>{class t{constructor(e,i,r,o){this.settings=e,this.delta=i,this.sk=r,this.notification=o,this.sunValue="day",this.autoNightMode=this.settings.getAutoNightMode(),this.autoNightModeObserver()}autoNightModeObserver(){this.delta.getDataStreamStatusAsO().subscribe(i=>{2==i.operation&&setTimeout(()=>{this.settings.getAutoNightModeAsO().subscribe(o=>{if(this.autoNightMode=o,o&&null!==this.sk.getPathObject(dD)){this.settings.getThemeNameAsO().subscribe(a=>{"nightMode"!=a&&(this.dayTheme=a)});const s=this.settings.getConnectionConfig();this.sk.subscribePath(s.kipUUID,dD,"default").subscribe(a=>{"night"==a.value&&this.sunValue!=a.value?(this.sunValue=a.value,this.settings.setThemName("nightMode")):"day"==a.value&&this.sunValue!=a.value&&(this.sunValue=a.value,this.settings.setThemName(this.dayTheme))})}})},0)})}validateAutoNighModeSupported(){return null!=this.sk.getPathObject(dD)||(this.notification.sendSnackbarNotification("Dependency Error: self.environment.sun path was not found. To enable Automatic Night Mode, verify that the following Signal K requirements are meet: 1) The Derived Data plugin is installed and enabled. 2) The plugin's Sun:Sets environment.sun parameter is checked.",0),!1)}set autoNightModeConfig(e){this.settings.setAutoNightMode(e)}}return t.\u0275fac=function(e){return new(e||t)(K(hr),K(Tc),K(ra),K(As))},t.\u0275prov=Te({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function pye(t,n){if(1&t&&q(0,"span",8),2&t){const e=re();R("matBadgeHidden",!e.unAckAlarms)("matBadge",e.unAckAlarms)}}function mye(t,n){1&t&&(v(0,"span",9),q(1,"i",10)(2,"i",11),b())}function gye(t,n){1&t&&q(0,"span",18)}function _ye(t,n){1&t&&q(0,"span",19)}function vye(t,n){if(1&t){const e=Zn();v(0,"div")(1,"button",12),$(2,gye,1,0,"span",13),$(3,_ye,1,0,"span",14),M(4),b(),v(5,"mat-menu",null,15)(7,"button",16),ne("click",function(){const o=ut(e).$implicit;return lt(re().ackAlarm(o.key))}),M(8," Acknowledge "),b(),v(9,"button",17),ne("click",function(){const o=ut(e).$implicit;return lt(re().ackAlarm(o.key,3e5))}),M(10," Acknowledge (5 Min) "),b()()()}if(2&t){const e=n.$implicit,i=yi(6);I(1),R("matMenuTriggerFor",i)("matTooltip",e.value.notification.message),I(1),R("ngIf",e.value.isAck),I(1),R("ngIf",!e.value.isAck),I(1),vn(" ",e.value.notification.message.replace("self.","")," ")}}function bye(t,n){1&t&&(v(0,"span",20),q(1,"i",21),M(2," Mute Alarm Audio "),b())}function yye(t,n){1&t&&(v(0,"span",20),q(1,"i",22),M(2," Unmute Alarm Audio "),b())}let wye=(()=>{class t{constructor(e){this.notificationsService=e,this.alarmMenu={},this.alarmCount=0,this.unAckAlarms=0,this.blinkWarn=!1,this.blinkCrit=!1,this.isMuted=!1,this.notificationServiceSettings=this.notificationsService.getNotificationServiceConfigAsO().subscribe(i=>{this.notificationConfig=i})}ngOnInit(){this.alarmSub=this.notificationsService.getAlarms().subscribe(e=>{this.notificationAlarms=e,this.buildAlarmMenu()}),this.notificationsService.getAlarmInfoAsO().subscribe(e=>{switch(this.unAckAlarms=e.unackCount,this.isMuted=e.isMuted,this.alarmCount=e.alarmCount,e.visualSev){case 0:this.blinkWarn=!1,this.blinkCrit=!1;break;case 1:this.blinkWarn=!0,this.blinkCrit=!1;break;case 2:this.blinkCrit=!0,this.blinkWarn=!1}})}mutePlayer(e){this.notificationsService.mutePlayer(e)}buildAlarmMenu(){if(!this.notificationConfig.devices.showNormalState)for(const[e,i]of Object.entries(this.notificationAlarms)){let r=this.notificationAlarms[e];if("normal"==r.notification.state&&"device"==r.type){delete this.notificationAlarms[e];break}}this.alarms=this.notificationAlarms}createMenuRootItem(e){let i={label:e};if(Object.entries(this.alarmMenu).length){let r=Object.keys(this.alarmMenu).indexOf(e);return-1==r?(console.log("Root: "+e+" not found. Search index: "+r),i):(console.log("Root: "+e+" found. Search index: "+r),console.log(JSON.stringify(Object.values(this.alarmMenu))),null)}return console.log(JSON.stringify(Object.values(this.alarmMenu))),i}createMenuChildItem(e,i,r,o){let s;const a=r.length-1;let l=r[i-1];Object.keys(this.alarmMenu).indexOf(r[l]),s=i!=a?{label:r[i]}:{label:r[i],Alarm:o};for(const[p,m]of Object.entries(this.alarmMenu))p==l&&(console.log(JSON.stringify(m)),m.childNode=s,i!=a&&(s=++i!=a?{label:r[i]}:{label:r[i],Alarm:o},m.childNode[0].childNode=s));return null}ackAlarm(e,i=0){this.notificationsService.acknowledgeAlarm(e,i)}trackAlarmPath(e,i){return i?i.value.path:void 0}ngOnDestroy(){this.notificationServiceSettings.unsubscribe(),this.alarmSub.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(D(As))},t.\u0275cmp=Pe({type:t,selectors:[["app-alarm-menu"]],decls:12,vars:14,consts:[["color","accent","mat-flat-button","",1,"menuBarAlarmsButton",3,"matMenuTriggerFor","disabled"],["matBadgeSize","medium","matBadgePosition","after","matBadgeOverlap","false","matBadgeColor","warn","class","fa-solid fa-envelope fa-2x matBadge",3,"matBadgeHidden","matBadge",4,"ngIf"],["class","fa-stack fa-lg",4,"ngIf"],["focusFirstItem",""],["alarmMenu","matMenu"],[4,"ngFor","ngForOf","ngForTrackBy"],["mat-list-item","","matTooltip","Mute notification sounds",1,"muteSoundButton",3,"click"],["class","mute-unmte-alarm",4,"ngIf"],["matBadgeSize","medium","matBadgePosition","after","matBadgeOverlap","false","matBadgeColor","warn",1,"fa-solid","fa-envelope","fa-2x","matBadge",3,"matBadgeHidden","matBadge"],[1,"fa-stack","fa-lg"],["aria-hidden","true",1,"fa-solid","fa-bell","fa-1x"],["aria-hidden","true",1,"fa-solid","fa-ban","fa-stack-2x","text-danger"],["mat-menu-item","",3,"matMenuTriggerFor","matTooltip"],["class","fa-solid fa-lg fa-check",4,"ngIf"],["class","fa-solid fa-lg fa-exclamation",4,"ngIf"],["actions","matMenu"],["mat-menu-item","","matTooltip","Silence Alarm (until state change)",3,"click"],["mat-menu-item","","matTooltip","Silence Alarm for 5 minutes(state change can re-trigger)",3,"click"],[1,"fa-solid","fa-lg","fa-check"],[1,"fa-solid","fa-lg","fa-exclamation"],[1,"mute-unmte-alarm"],["aria-hidden","true",1,"fa-solid","fa-bell"],["aria-hidden","true",1,"fa-solid","fa-bell-slash"]],template:function(e,i){if(1&e&&(v(0,"button",0),$(1,pye,1,2,"span",1),$(2,mye,3,0,"span",2),b(),v(3,"mat-menu",3,4),$(5,vye,11,5,"div",5),es(6,"keyvalue"),v(7,"mat-action-list"),q(8,"mat-divider"),v(9,"button",6),ne("click",function(){return i.mutePlayer(!i.isMuted)}),$(10,bye,3,0,"span",7),$(11,yye,3,0,"span",7),b()()()),2&e){const r=yi(4);Rt("alarmCrit",i.blinkCrit)("alarmWarning",i.blinkWarn),R("matMenuTriggerFor",r)("disabled",0==i.alarmCount||i.notificationConfig.disableNotifications),I(1),R("ngIf",!i.notificationConfig.disableNotifications),I(1),R("ngIf",i.notificationConfig.disableNotifications),I(3),R("ngForOf",Ca(6,12,i.alarms))("ngForTrackBy",i.trackAlarmPath),I(5),R("ngIf",!i.isMuted),I(1),R("ngIf",i.isMuted)}},dependencies:[Eo,ui,kx,Mh,Dx,Ji,Px,xF,iie,rie,Vu,pp],styles:[".mat-menu-panel{max-width:-moz-fit-content!important;max-width:fit-content!important}"]}),t})();function Cye(t,n){1&t&&(v(0,"span"),q(1,"i",30),M(2," Night Mode"),b())}function Sye(t,n){1&t&&(v(0,"span"),q(1,"i",31),M(2," Day Mode"),b())}function xye(t,n){1&t&&(v(0,"span"),q(1,"i",32),M(2," Fullscreen"),b())}function kye(t,n){1&t&&(v(0,"span"),q(1,"i",33),M(2," Exit Fullscreen"),b())}function Dye(t,n){1&t&&(v(0,"span"),q(1,"i",34),M(2," Edit Layout"),b())}function Mye(t,n){1&t&&(v(0,"span"),q(1,"i",35),M(2," Lock Layout"),b())}function Tye(t,n){1&t&&q(0,"i",36)}function Eye(t,n){1&t&&q(0,"i",37)}function Aye(t,n){1&t&&q(0,"i",36)}function Oye(t,n){1&t&&q(0,"i",37)}function Iye(t,n){1&t&&q(0,"i",36)}function Pye(t,n){1&t&&q(0,"i",37)}function Rye(t,n){1&t&&q(0,"i",36)}function Fye(t,n){1&t&&q(0,"i",37)}function Nye(t,n){1&t&&q(0,"i",36)}function Lye(t,n){1&t&&q(0,"i",37)}function Bye(t,n){1&t&&q(0,"i",36)}function Vye(t,n){1&t&&q(0,"i",37)}let Hye=(()=>{class t{constructor(e,i,r,o,s,a,l,c,p,m,_){this.baseHref=e,this._snackBar=i,this.overlayContainer=r,this.LayoutSplitsService=o,this.appSettingsService=s,this.DataSetService=a,this.notificationsService=l,this.auththeticationService=c,this.deltaService=p,this.appService=m,this.signalKDeltaService=_,this.noSleep=new NoSleep,this.pageName="",this.unlockStatus=!1,this.fullscreenStatus=!1,this.activeThemeClass="modern-dark fullheight",this.isNightMode=!1}ngOnInit(){this.unlockStatusSub=this.appSettingsService.getUnlockStatusAsO().subscribe(e=>{this.unlockStatus=e}),this.themeNameSub=this.appSettingsService.getThemeNameAsO().subscribe(e=>{this.activeThemeClass=e+" fullheight",this.themeName?this.overlayContainer.getContainerElement().classList.remove(this.activeTheme):this.themeName=e,"nightMode"!=e?(this.isNightMode=!1,e!==this.themeName?(this.overlayContainer.getContainerElement().classList.add(e),this.themeName=e):this.overlayContainer.getContainerElement().classList.add(this.themeName)):(this.overlayContainer.getContainerElement().classList.add(e),this.isNightMode=!0),this.activeTheme=e}),this.appNotificationSub=this.notificationsService.getSnackbarAppNotifications().subscribe(e=>{this._snackBar.open(e.message,"dismiss",{duration:e.duration,verticalPosition:"top"}),!this.appSettingsService.getNotificationConfig().sound.disableSound&&!e.silent&&(new FL.Howl({src:["assets/notification.mp3"],autoplay:!0,preload:!0,loop:!1,volume:.3,onend:function(){},onloaderror:function(){console.log("snackbar: player onload error")},onplayerror:function(){console.log("snackbar: player locked"),this.howlPlayer.once("unlock",function(){this.howlPlayer.play()})}}).play(),Howler.autoUnlock=!0,Howler.autoSuspend=!1)}),this.connectionStatusSub=this.deltaService.getDataStreamStatusAsO().subscribe(e=>{this.displayConnectionsStatusNotification(e)}),this.DataSetService.startAllDataSets()}displayConnectionsStatusNotification(e){switch(e.operation){case 0:this.notificationsService.sendSnackbarNotification("Not connected to server.",5e3,!0);break;case 1:this.notificationsService.sendSnackbarNotification("Connecting to server.",2e3,!0);break;case 2:this.notificationsService.sendSnackbarNotification("Connection successful.",2e3,!1);break;case 3:this.notificationsService.sendSnackbarNotification("Error connecting to server.",0,!1);break;default:this.notificationsService.sendSnackbarNotification("Unknown stream connection status.",0,!1)}}setTheme(e){this.appSettingsService.setThemName(e)}setNightMode(e){this.isNightMode=e,this.appSettingsService.setThemName(this.isNightMode?"nightMode":this.themeName)}unlockPage(){this.unlockStatus?(console.log("Locking"),this.unlockStatus=!1):(console.log("Unlocking"),this.unlockStatus=!0),this.appSettingsService.setUnlockStatus(this.unlockStatus)}newPage(){this.LayoutSplitsService.newRootSplit()}pageDown(){this.LayoutSplitsService.previousRoot()}pageUp(){this.LayoutSplitsService.nextRoot()}toggleFullScreen(){Wy.isEnabled&&(this.fullscreenStatus?(Wy.isFullscreen&&Wy.exit(),this.noSleep.disable()):(Wy.request(),this.noSleep.enable())),this.fullscreenStatus=!this.fullscreenStatus}ngOnDestroy(){this.unlockStatusSub.unsubscribe(),this.themeNameSub.unsubscribe(),this.appNotificationSub.unsubscribe(),this.connectionStatusSub.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(D(up),D(ate),D(tm),D(ey),D(hr),D(Dm),D(As),D(Rl),D(Tc),D(j6),D(Tc))},t.\u0275cmp=Pe({type:t,selectors:[["app-root"]],decls:92,vars:25,consts:[[1,"mainContainer","app-defaults"],[1,"mainWindow"],[1,"menuBar"],[1,"menuBarContainer","theme-menu"],[1,"menuBarButtonGroups"],["color","accent","mat-flat-button","",1,"menuBarNavButtons",3,"click"],["aria-hidden","true",1,"fa-solid","fa-chevron-left","fa-2x"],["aria-hidden","true",1,"fa-solid","fa-chevron-right","fa-2x"],["color","accent","mat-flat-button","",1,"menuBarSettingsButton",3,"matMenuTriggerFor"],["aria-hidden","true",1,"fa-solid","fa-bars","fa-2x"],["settingsMenu","matMenu"],["mat-menu-item","","routerLink","/help"],["aria-hidden","true",1,"fa-solid","fa-question-circle"],["mat-menu-item","",3,"matMenuTriggerFor"],["aria-hidden","true",1,"fa-solid","fa-cog"],["mat-menu-item","","routerLink","/data"],["aria-hidden","true",1,"fa-solid","fa-info"],["mat-menu-item","",3,"click"],[4,"ngIf"],["configMenu","matMenu"],["mat-menu-item","","routerLink","/settings"],["aria-hidden","true",1,"fa-solid","fa-sliders"],["mat-menu-item","",3,"disabled","matMenuTriggerFor"],[1,"fa-solid","fa-paint-brush"],["mat-menu-item","",3,"disabled","click"],["aria-hidden","true",1,"fa-solid","fa-plus-square"],["xPosition","before"],["themesMenu","matMenu"],["class","fa-solid fa-circle","aria-hidden","true",4,"ngIf","ngIfElse"],["elseBlock",""],["aria-hidden","true",1,"fa-solid","fa-moon-o"],["aria-hidden","true",1,"fa-solid","fa-sun-o"],["aria-hidden","true",1,"fa-solid","fa-window-maximize"],["aria-hidden","true",1,"fa-solid","fa-window-restore"],["aria-hidden","true",1,"fa-solid","fa-columns"],["aria-hidden","true",1,"fa-solid","fa-lock"],["aria-hidden","true",1,"fa-solid","fa-circle"],["aria-hidden","true",1,"fa-solid","fa-circle-o"]],template:function(e,i){if(1&e&&(v(0,"div")(1,"div",0)(2,"div",1),q(3,"router-outlet"),b(),v(4,"div",2)(5,"div",3)(6,"div",4),q(7,"app-alarm-menu"),b(),v(8,"div",4)(9,"button",5),ne("click",function(){return i.pageDown()}),q(10,"i",6),b()(),v(11,"div",4)(12,"button",5),ne("click",function(){return i.pageUp()}),q(13,"i",7),b()(),v(14,"div",4)(15,"button",8),q(16,"i",9),b()()()()()(),v(17,"mat-menu",null,10)(19,"button",11)(20,"span"),q(21,"i",12),M(22," Help"),b()(),v(23,"button",13)(24,"span"),q(25,"i",14),M(26," Configuration"),b()(),v(27,"button",15)(28,"span"),q(29,"i",16),M(30," Data Browser"),b()(),v(31,"button",17),ne("click",function(){return i.setNightMode(!i.isNightMode)}),$(32,Cye,3,0,"span",18),$(33,Sye,3,0,"span",18),b(),v(34,"button",17),ne("click",function(){return i.toggleFullScreen()}),$(35,xye,3,0,"span",18),$(36,kye,3,0,"span",18),b()(),v(37,"mat-menu",null,19)(39,"button",20)(40,"span"),q(41,"i",21),M(42," Settings"),b()(),v(43,"button",22)(44,"span"),q(45,"i",23),M(46," Themes"),b()(),v(47,"button",24),ne("click",function(){return i.newPage()}),v(48,"span"),q(49,"i",25),M(50," Add Page"),b()(),v(51,"button",17),ne("click",function(){return i.unlockPage()}),$(52,Dye,3,0,"span",18),$(53,Mye,3,0,"span",18),b()(),v(54,"mat-menu",26,27)(56,"button",17),ne("click",function(){return i.setTheme("default-light")}),v(57,"span"),$(58,Tye,1,0,"i",28),M(59," Light Blue"),b(),$(60,Eye,1,0,"ng-template",null,29,Qs),b(),v(62,"button",17),ne("click",function(){return i.setTheme("signalk-light")}),v(63,"span"),$(64,Aye,1,0,"i",28),M(65," Signal K"),b(),$(66,Oye,1,0,"ng-template",null,29,Qs),b(),v(68,"button",17),ne("click",function(){return i.setTheme("high-contrast-light")}),v(69,"span"),$(70,Iye,1,0,"i",28),M(71," High Contrast"),b(),$(72,Pye,1,0,"ng-template",null,29,Qs),b(),v(74,"button",17),ne("click",function(){return i.setTheme("platypus-light")}),v(75,"span"),$(76,Rye,1,0,"i",28),M(77," Platypus"),b(),$(78,Fye,1,0,"ng-template",null,29,Qs),b(),v(80,"button",17),ne("click",function(){return i.setTheme("darkBlue-dark")}),v(81,"span"),$(82,Nye,1,0,"i",28),M(83," Dark Blue"),b(),$(84,Lye,1,0,"ng-template",null,29,Qs),b(),v(86,"button",17),ne("click",function(){return i.setTheme("modern-dark")}),v(87,"span"),$(88,Bye,1,0,"i",28),M(89," Modern Dark"),b(),$(90,Vye,1,0,"ng-template",null,29,Qs),b()()),2&e){const r=yi(18),o=yi(38),s=yi(55),a=yi(61);(function SE(t){Ks(Qo,wa,t,!0)})(i.activeThemeClass),I(15),R("matMenuTriggerFor",r),I(8),R("matMenuTriggerFor",o),I(9),R("ngIf",!i.isNightMode),I(1),R("ngIf",i.isNightMode),I(2),R("ngIf",!i.fullscreenStatus),I(1),R("ngIf",i.fullscreenStatus),I(7),R("disabled",i.isNightMode)("matMenuTriggerFor",s),I(4),R("disabled",!i.unlockStatus),I(5),R("ngIf",!i.unlockStatus),I(1),R("ngIf",i.unlockStatus),I(5),R("ngIf","default-light"==i.themeName)("ngIfElse",a),I(6),R("ngIf","signalk-light"==i.themeName)("ngIfElse",a),I(6),R("ngIf","high-contrast-light"==i.themeName)("ngIfElse",a),I(6),R("ngIf","platypus-light"==i.themeName)("ngIfElse",a),I(6),R("ngIf","darkBlue-dark"==i.themeName)("ngIfElse",a),I(6),R("ngIf","modern-dark"==i.themeName)("ngIfElse",a)}},dependencies:[ui,PC,Pp,kx,Mh,Dx,Ji,wye],styles:[".fullheight[_ngcontent-%COMP%]{height:100%}.mainContainer[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:stretch;height:100%}.mainWindow[_ngcontent-%COMP%]{flex:30;overflow:auto}.menuBar[_ngcontent-%COMP%]{flex:1}.menuBarContainer[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:space-between;flex-wrap:nowrap}.menuBarContainer[_ngcontent-%COMP%] .menuBarButtonGroups[_ngcontent-%COMP%]{flex-grow:1}.menuBarContainer[_ngcontent-%COMP%] .menuBarButtonGroups[_ngcontent-%COMP%]:first-child{text-align:left;margin-left:2px}.menuBarContainer[_ngcontent-%COMP%] .menuBarButtonGroups[_ngcontent-%COMP%]{text-align:center}.menuBarContainer[_ngcontent-%COMP%] .menuBarButtonGroups[_ngcontent-%COMP%]:last-child{text-align:right;margin-right:2px}.menuBarButtonGroups[_ngcontent-%COMP%] .menuBarNavButtons[_ngcontent-%COMP%]{width:99%}.menuBarButtonGroups[_ngcontent-%COMP%] .menuBarAlarmsButton[_ngcontent-%COMP%], .menuBarButtonGroups[_ngcontent-%COMP%] .menuBarSettingsButton[_ngcontent-%COMP%]{width:25%}"]}),t})();function zye(t,n){1&t&&(v(0,"div")(1,"h3"),M(2,"Unlocking"),b(),v(3,"p"),M(4,' The layout is "Locked" by default. This is to prevent accidental interaction from touch screens from changing anything. You can unlock KIP using the hamburger icon in the lower right corner and selecting "Configuration -> Edit Layout". Go Ahead try it now! '),b()())}function Wye(t,n){1&t&&(v(0,"div")(1,"h3"),M(2,"Configuring Layout"),b(),v(3,"p"),M(4," Now that KIP is unlocked, you can do a few actions. "),b(),v(5,"ul")(6,"li"),M(7,"The icon in the lower right can be used to select the Widget you would like to display"),b(),v(8,"li"),M(9,'The icon in the lower left can be used to "split" the existing area. You can use this to display multiple items on one page'),b(),v(10,"li"),M(11,'The "X" in the upper right can be used to delete an area (basically undoing a split)'),b(),v(12,"li"),M(13,"Once a widget is selected, there will be a gear in the lower middle. Clicking it will allow you to setup the widget parameters"),b(),v(14,"li"),M(15,"You can drag the bars between widgits to resize them"),b()()())}function jye(t,n){if(1&t){const e=Zn();v(0,"mat-tab-group",7)(1,"mat-tab",8)(2,"div",2)(3,"mat-accordion")(4,"mat-expansion-panel",9),ne("opened",function(){return ut(e),lt(re().setStep(0))}),v(5,"mat-expansion-panel-header")(6,"mat-panel-title"),M(7," 5 Minutes with Kip (by Boating with the Baileys) "),b(),v(8,"mat-panel-description"),M(9," Introduction to using KIP "),b()(),q(10,"iframe",10),b(),v(11,"mat-expansion-panel",9),ne("opened",function(){return ut(e),lt(re().setStep(1))}),v(12,"mat-expansion-panel-header")(13,"mat-panel-title"),M(14," Graphana embeded in KIP (by Boating with the Baileys) "),b(),v(15,"mat-panel-description"),M(16," Pretty graphs "),b()(),q(17,"iframe",11),b(),v(18,"mat-expansion-panel",9),ne("opened",function(){return ut(e),lt(re().setStep(2))}),v(19,"mat-expansion-panel-header")(20,"mat-panel-title"),M(21," Setting up zones in KIP (by Boating with the Baileys) "),b(),v(22,"mat-panel-description"),M(23," Warnings/Alarms "),b()(),q(24,"iframe",12),b()()()(),v(25,"mat-tab",13)(26,"div",2)(27,"mat-accordion")(28,"mat-expansion-panel",9),ne("opened",function(){return ut(e),lt(re().setStep(2))}),v(29,"mat-expansion-panel-header")(30,"mat-panel-title"),M(31," 5 Minutes with Graphana (by Boating with the Baileys) "),b(),v(32,"mat-panel-description"),M(33," Introduction to using Graphana "),b()(),q(34,"iframe",14),b(),v(35,"mat-expansion-panel",9),ne("opened",function(){return ut(e),lt(re().setStep(3))}),v(36,"mat-expansion-panel-header")(37,"mat-panel-title"),M(38," Signal K to InfluxDB (by Boating with the Baileys) "),b(),v(39,"mat-panel-description"),M(40," Database to store historical data "),b()(),q(41,"iframe",15),b()()()(),v(42,"mat-tab",16)(43,"div",2)(44,"mat-accordion")(45,"mat-expansion-panel",9),ne("opened",function(){return ut(e),lt(re().setStep(4))}),v(46,"mat-expansion-panel-header")(47,"mat-panel-title"),M(48," OpenPlotter (by Boating with the Baileys) "),b(),v(49,"mat-panel-description"),M(50," Installing OpenPlotter "),b()(),q(51,"iframe",17),b(),v(52,"mat-expansion-panel",9),ne("opened",function(){return ut(e),lt(re().setStep(5))}),v(53,"mat-expansion-panel-header")(54,"mat-panel-title"),M(55," OpenPlotter instruction video (by Smart Sailing Boat) "),b(),v(56,"mat-panel-description"),M(57," Installing OpenPlotter "),b()(),q(58,"iframe",18),b()()()()()}if(2&t){const e=re();I(4),R("expanded",0===e.step),I(7),R("expanded",1===e.step),I(7),R("expanded",2===e.step),I(10),R("expanded",2===e.step),I(7),R("expanded",3===e.step),I(10),R("expanded",4===e.step),I(7),R("expanded",5===e.step)}}let Uye=(()=>{class t{constructor(e){this.AppSettingsService=e,this.step=-1}ngOnInit(){this.unlockStatusSub=this.AppSettingsService.getUnlockStatusAsO().subscribe(e=>{this.unlockStatus=e})}ngOnDestroy(){this.unlockStatusSub.unsubscribe()}setStep(e){this.step=e}}return t.\u0275fac=function(e){return new(e||t)(D(hr))},t.\u0275cmp=Pe({type:t,selectors:[["app-help"]],decls:54,vars:2,consts:[[1,"tabGroups","mat-typography"],["label","Configuration Management"],[1,"tabGroupPanel"],["label","Editing Layout"],[4,"ngIf"],["label","Video Tutorials"],["matTabContent",""],[1,"tabGroups"],["label","KIP"],[3,"expanded","opened"],["width","560","height","315","src","https://www.youtube.com/embed/v6o4uK-Iq8s","title","YouTube video player","frameborder","0","allow","accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture","allowfullscreen",""],["width","560","height","315","src","https://www.youtube.com/embed/S8FbtwBwW3w","title","YouTube video player","frameborder","0","allow","accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture","allowfullscreen",""],["width","560","height","315","src","https://www.youtube.com/embed/BJFjLzjlpuY","title","YouTube video player","frameborder","0","allow","accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture","allowfullscreen",""],["label","Graphana"],["width","560","height","315","src","https://www.youtube.com/embed/b3lHwLnYgx0","title","YouTube video player","frameborder","0","allow","accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture","allowfullscreen",""],["width","560","height","315","src","https://www.youtube.com/embed/ULnN-cByQXE","title","YouTube video player","frameborder","0","allow","accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture","allowfullscreen",""],["label","OpenPlotter"],["width","560","height","315","src","https://www.youtube.com/embed/Q0sEpgzhHTE","title","YouTube video player","frameborder","0","allow","accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture","allowfullscreen",""],["width","560","height","315","src","https://www.youtube.com/embed/r8CGixMl18k","title","YouTube video player","frameborder","0","allow","accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture","allowfullscreen",""]],template:function(e,i){1&e&&(v(0,"mat-tab-group",0)(1,"mat-tab",1)(2,"div",2)(3,"h3"),M(4,"How does KIP manage configuration"),b(),v(5,"p"),M(6,'Essentially, KIP has two modes when it comes configuration mnagement. Note that all related settings are located in the "Signal K" tab under the Configuration/Settings menu option.'),b(),v(7,"h4"),M(8,"Default: Local Configuration"),b(),v(9,"p"),M(10,'If you simply enter the Signalk URL and click the Connect button to use KIP, meaning you have not switched on the "Enable user Sign in and configuration sharing" option, KIP will connect to the server and store it\'s configuration (your layouts and settings) locally in the Browser.'),b(),v(11,"p"),M(12,"In this mode, "),v(13,"strong"),M(14,"configuration cannot be shared"),b(),M(15,"."),b(),v(16,"h4"),M(17,"Shared Configuration"),b(),v(18,"p"),M(19,'If you switch on the "Enable user Sign in and configuration sharing" option, supply a valid user and password then click the Connect button, KIP will connect to the server and automatically Save, Retreive and Update it\'s configuration from the server, '),v(20,"strong"),M(21,"under that users storage space"),b(),M(22,". This means that "),v(23,"strong"),M(24,"each user has it's own configuration"),b(),M(25,"."),b(),v(26,"p"),M(27,"To reuse that configuration, on any device or browser, simply Sign in with that "),v(28,"strong"),M(29,"same user"),b(),M(30,". Nothing more is required. "),b(),v(31,"p"),M(32,"To create an alternavite configuration, Sign in with "),v(33,"strong"),M(34,"a different user"),b(),M(35," and create your configuration. "),b(),v(36,"p"),M(37,"To Sign in to Signal K, a user must first be created, or you can use the default admin user (not recommended). Here are the steps to create a Signal K User: "),b(),v(38,"ol")(39,"li"),M(40,'Go to Signal K server\'s Security/Users menu and click "Add" to create a user'),b(),v(41,"li"),M(42,"Provide a User ID and Password"),b(),v(43,"li"),M(44,"Assign Read/Write Permissions at a minimum"),b(),v(45,"li"),M(46,"Click Apply and you are done"),b()()()(),v(47,"mat-tab",3)(48,"div",2),$(49,zye,5,0,"div",4),$(50,Wye,16,0,"div",4),b()(),v(51,"mat-tab",5)(52,"div",2),$(53,jye,59,7,"ng-template",6),b()()()),2&e&&(I(49),R("ngIf",!i.unlockStatus),I(1),R("ngIf",i.unlockStatus))},dependencies:[ui,kb,cm,bne,iN,fb,pb,nN,tN],encapsulation:2}),t})(),Gye=(()=>{class t{transform(e,i){return e&&e.length?i?e.filter(r=>r.includes("self")):e:[]}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=Lr({name:"filterSelf",type:t,pure:!0}),t})();function $ye(t,n){1&t&&(v(0,"mat-header-cell",27),M(1," Path "),b())}function qye(t,n){if(1&t&&(v(0,"mat-cell",28),M(1),b()),2&t){const e=n.$implicit;I(1),vn(" ",e.path," ")}}function Yye(t,n){1&t&&(v(0,"mat-header-cell",29),M(1," Interval "),b())}function Kye(t,n){if(1&t&&(v(0,"mat-cell",30),M(1),b()),2&t){const e=n.$implicit;I(1),vn("every ",e.updateTimer," sec")}}function Zye(t,n){1&t&&(v(0,"mat-header-cell",29),M(1," Data Points "),b())}function Qye(t,n){if(1&t&&(v(0,"mat-cell",31),M(1),b()),2&t){const e=n.$implicit;I(1),vn("",e.dataPoints," times")}}function Xye(t,n){1&t&&q(0,"mat-header-cell",32)}function Jye(t,n){if(1&t){const e=Zn();v(0,"mat-cell",33)(1,"button",34),ne("click",function(){const o=ut(e).$implicit;return lt(re().openDatasetModal(o.uuid))}),M(2,"Edit"),b(),v(3,"button",34),ne("click",function(){const o=ut(e).$implicit;return lt(re().deleteDataset(o.uuid))}),M(4,"Delete"),b()()}}function e0e(t,n){1&t&&q(0,"mat-header-row",35)}function t0e(t,n){1&t&&q(0,"mat-row",36)}function n0e(t,n){if(1&t&&(v(0,"mat-row"),M(1),b()),2&t){re();const e=yi(11);I(1),vn(' No data matching the filter "',e.value,'" ')}}const i0e=function(){return[5,10,25,100]};function r0e(t,n){if(1&t&&(v(0,"mat-option",16),M(1),b()),2&t){const e=n.$implicit;R("value",e),I(1),vn(" ",e," ")}}function o0e(t,n){if(1&t&&(v(0,"mat-option",16),M(1),b()),2&t){const e=n.$implicit;R("value",e),I(1),vn(" ",e," ")}}const U6=".full-display[_ngcontent-%COMP%]{width:100%;height:100%;position:relative;z-index:500}.full-width[_ngcontent-%COMP%]{width:100%}.mat-column-actions[_ngcontent-%COMP%]{text-align:end}.buttons[_ngcontent-%COMP%]{margin-right:5px}.pathCell[_ngcontent-%COMP%], .pathHeader[_ngcontent-%COMP%]{flex:1 1 50%}.dataHeader[_ngcontent-%COMP%], .dataCell[_ngcontent-%COMP%]{flex:1 1 10%;justify-content:center}.actionHeader[_ngcontent-%COMP%]{flex:1 1 20%}.actionCell[_ngcontent-%COMP%]{flex:1 1 20%;justify-content:end}@media screen and (max-width: 750px){.pathHeader[_ngcontent-%COMP%], .dataHeader[_ngcontent-%COMP%]{flex:1 1 30%}.actionHeader[_ngcontent-%COMP%]{display:none}.mat-table[_ngcontent-%COMP%] .mat-cell[_ngcontent-%COMP%]:before{content:attr(data-label);float:left;padding-right:5px}mat-row[_ngcontent-%COMP%]:after{min-height:auto;padding-bottom:10px}.dataRow[_ngcontent-%COMP%]{flex-direction:column;align-items:flex-start}.dataCell[_ngcontent-%COMP%], .actionCell[_ngcontent-%COMP%]{margin-left:24px}}";let s0e=(()=>{class t{constructor(e,i,r,o){this.dialog=e,this.cdRef=i,this.SignalKService=r,this.DataSetService=o,this.tableData=new Ux([]),this.displayedColumns=["path","updateTimer","dataPoints","actions"]}ngOnInit(){this.loadDataSets()}loadDataSets(){this.tableData.data=this.DataSetService.getDataSets()}ngAfterViewInit(){this.tableData.paginator=this.paginator,this.tableData.sort=this.sort,this.tableData.filter="",this.cdRef.detectChanges()}openDatasetModal(e){let i;if(e){const r=this.tableData.data.find(o=>o.uuid===e);r&&(i=this.dialog.open(G6,{data:r}))}else i=this.dialog.open(G6,{});i.afterClosed().subscribe(r=>{void 0===r||!r||(r.uuid?this.editDataset(r):this.addDataset(r),this.loadDataSets())})}addDataset(e){this.DataSetService.addDataSet(e.path,e.signalKSource,e.updateTimer,e.dataPoints)}editDataset(e){this.DataSetService.updateDataset(e)}deleteDataset(e){this.DataSetService.deleteDataSet(e),this.loadDataSets()}trackByUuid(e,i){return`${i.uuid}`}applyFilter(e){this.tableData.filter=e.target.value.trim().toLowerCase(),this.tableData.paginator&&this.tableData.paginator.firstPage()}}return t.\u0275fac=function(e){return new(e||t)(D(Al),D(wn),D(ra),D(Dm))},t.\u0275cmp=Pe({type:t,selectors:[["settings-datasets"]],viewQuery:function(e,i){if(1&e&&(Oe(Ph,5),Oe(Hu,5)),2&e){let r;ue(r=de())&&(i.paginator=r.first),ue(r=de())&&(i.sort=r.first)}},decls:35,vars:7,consts:[[1,"mat-typography"],["name","existingDataSet"],["existingDataSet","ngForm"],[1,"mat-card-subtitle"],["matInput","","placeholder","Ex: navigation","value","",3,"keyup"],["input",""],[1,"mat-elevation-z8","full-width","table-container"],["matSort","","matSortActive","path","matSortDirection","asc",1,"full-display",3,"dataSource","trackBy"],["matColumnDef","path"],["class","pathHeader","mat-sort-header","",4,"matHeaderCellDef"],["class","pathCell","data-label","Path: ",4,"matCellDef"],["matColumnDef","updateTimer"],["class","dataHeader","mat-sort-header","",4,"matHeaderCellDef"],["class","dataCell","data-label","Interval: ",4,"matCellDef"],["matColumnDef","dataPoints"],["class","dataCell","data-label","Data Points: ",4,"matCellDef"],["matColumnDef","actions"],["class","actionHeader","mat-sort-header","",4,"matHeaderCellDef"],["class","actionCell",4,"matCellDef"],["class","headerRow",4,"matHeaderRowDef","matHeaderRowDefSticky"],["class","dataRow",4,"matRowDef","matRowDefColumns"],[4,"matNoDataRow"],[1,"paginator"],["pageSize","5",3,"pageSizeOptions"],[1,"formActionFooter"],[1,"formActionDivider"],["mat-raised-button","","color","accent",1,"formActionButton",3,"click"],["mat-sort-header","",1,"pathHeader"],["data-label","Path: ",1,"pathCell"],["mat-sort-header","",1,"dataHeader"],["data-label","Interval: ",1,"dataCell"],["data-label","Data Points: ",1,"dataCell"],["mat-sort-header","",1,"actionHeader"],[1,"actionCell"],["mat-raised-button","","color","accent",1,"small-button","buttons",3,"click"],[1,"headerRow"],[1,"dataRow"]],template:function(e,i){1&e&&(v(0,"div",0)(1,"form",1,2)(3,"h1"),M(4,"Datasets Configuration"),b(),v(5,"p",3),M(6,"Create historical datasets to record data values over time and display them on charts with the Historical DataSet widget."),b(),v(7,"mat-form-field")(8,"mat-label"),M(9,"Filter"),b(),v(10,"input",4,5),ne("keyup",function(o){return i.applyFilter(o)}),b()(),v(12,"div",6)(13,"mat-table",7),zi(14,8),$(15,$ye,2,0,"mat-header-cell",9),$(16,qye,2,1,"mat-cell",10),Wi(),zi(17,11),$(18,Yye,2,0,"mat-header-cell",12),$(19,Kye,2,1,"mat-cell",13),Wi(),zi(20,14),$(21,Zye,2,0,"mat-header-cell",12),$(22,Qye,2,1,"mat-cell",15),Wi(),zi(23,16),$(24,Xye,1,0,"mat-header-cell",17),$(25,Jye,5,0,"mat-cell",18),Wi(),$(26,e0e,1,0,"mat-header-row",19),$(27,t0e,1,0,"mat-row",20),$(28,n0e,2,1,"mat-row",21),b()(),v(29,"div",22),q(30,"mat-paginator",23),b(),v(31,"div",24),q(32,"mat-divider",25),v(33,"button",26),ne("click",function(){return i.openDatasetModal()}),M(34,"Add"),b()()()()),2&e&&(I(13),R("dataSource",i.tableData)("trackBy",i.trackByUuid),I(13),R("matHeaderRowDef",i.displayedColumns)("matHeaderRowDefSticky",!0),I(1),R("matRowDefColumns",i.displayedColumns),I(3),R("pageSizeOptions",ji(6,i0e)))},dependencies:[ks,ts,ns,Ji,Fo,Ho,ia,Vu,Fb,fm,Nb,pm,hm,Lb,mm,Ih,Bb,Vb,Hb,Ph,Hu,Gx],styles:[U6]}),t})(),G6=(()=>{class t{constructor(e,i,r){this.SignalKService=e,this.dialogRef=i,this.dataset=r,this.titleDialog=null,this.newDataset={uuid:null,path:null,signalKSource:null,updateTimer:1,dataPoints:30,name:null},this.formDataset=null,this.availablePaths=[],this.availableSources=[],this.filterSelfPaths=!0}ngOnInit(){if(this.dataset){this.titleDialog="Edit Dataset",this.formDataset=this.dataset;let e=this.SignalKService.getPathObject(this.formDataset.path);null!==e&&(this.availableSources=["default"].concat(Object.keys(e.sources)))}else this.titleDialog="Add Dataset",this.formDataset=this.newDataset;this.availablePaths=this.SignalKService.getPathsByType("number").sort()}changePath(){let e=this.SignalKService.getPathObject(this.formDataset.path);null!==e&&(this.availableSources=["default"].concat(Object.keys(e.sources)),this.formDataset.signalKSource="default")}closeForm(){this.dialogRef.close(this.formDataset)}}return t.\u0275fac=function(e){return new(e||t)(D(ra),D(Fa),D(Ru))},t.\u0275cmp=Pe({type:t,selectors:[["settings-datasets-modal"]],decls:39,vars:13,consts:[["mat-dialog-title",""],["name","datasetForm",3,"ngSubmit"],["datasetForm","ngForm"],["label","Source Data"],[1,"tab-content"],["appearance","outline","floatLabel","always",1,"full-width"],["placeholder","Select data path","name","selectedPath","required","",3,"ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],["name","filterSelfPaths",3,"ngModel","ngModelChange"],["placeholder","Select data source","name","selectedSource","required","",3,"ngModel","ngModelChange"],["type","button","mat-raised-button","","color","accent","matStepperNext","",3,"disabled"],["label","Data Points"],["matInput","","placeholder","Interval(seconds)","type","number","name","interval","required","",3,"ngModel","ngModelChange"],["matInput","","placeholder","Data Points","type","number","name","decimals","required","",3,"ngModel","ngModelChange"],["type","button","mat-raised-button","","color","accent","matStepperPrevious","",1,"buttons"],["mat-raised-button","","type","submit","color","accent",1,"buttons",3,"disabled"],[3,"value"]],template:function(e,i){if(1&e&&(v(0,"h2",0),M(1),b(),v(2,"mat-dialog-content")(3,"form",1,2),ne("ngSubmit",function(){return i.closeForm()}),v(5,"mat-horizontal-stepper")(6,"mat-step",3)(7,"div",4)(8,"mat-form-field",5)(9,"mat-label"),M(10,"Signal K Path"),b(),v(11,"mat-select",6),ne("ngModelChange",function(o){return i.formDataset.path=o})("ngModelChange",function(){return i.changePath()}),$(12,r0e,2,2,"mat-option",7),es(13,"filterSelf"),b()(),v(14,"mat-checkbox",8),ne("ngModelChange",function(o){return i.filterSelfPaths=o}),M(15," Restrict to own vessel "),b(),q(16,"br")(17,"br"),v(18,"mat-form-field",5)(19,"mat-label"),M(20,"Source"),b(),v(21,"mat-select",9),ne("ngModelChange",function(o){return i.formDataset.signalKSource=o}),$(22,o0e,2,2,"mat-option",7),b()()(),v(23,"button",10),M(24," Next "),b()(),v(25,"mat-step",11)(26,"div",4)(27,"mat-form-field",5)(28,"mat-label"),M(29,"Set data capture interval (sec)"),b(),v(30,"input",12),ne("ngModelChange",function(o){return i.formDataset.updateTimer=o}),b()(),v(31,"mat-form-field",5)(32,"mat-label"),M(33,"Total most recent data points that makes the dataset"),b(),v(34,"input",13),ne("ngModelChange",function(o){return i.formDataset.dataPoints=o}),b()(),v(35,"button",14),M(36," Back "),b(),v(37,"button",15),M(38," Save "),b()()()()()()),2&e){const r=yi(4);I(1),vn(" ",i.titleDialog," "),I(10),R("ngModel",i.formDataset.path),I(1),R("ngForOf",v1(13,10,i.availablePaths,i.filterSelfPaths)),I(2),R("ngModel",i.filterSelfPaths),I(7),R("ngModel",i.formDataset.signalKSource),I(1),R("ngForOf",i.availableSources),I(1),R("disabled",!i.formDataset.path),I(7),R("ngModel",i.formDataset.updateTimer),I(4),R("ngModel",i.formDataset.dataPoints),I(3),R("disabled",!r.valid)}},dependencies:[Eo,ks,ta,wu,xs,ts,na,Sl,ns,Ji,Fu,Nu,Fo,Ho,Na,Es,yh,jN,UN,Xte,Jte,ia,Gye],styles:[U6]}),t})();Zh.register(...Fme);const a0e=Zh;function l0e(t,n){if(1&t&&(v(0,"div",9),q(1,"i",10),M(2),b()),2&t){const e=re();I(2),vn(" ",e.data.error," ")}}const $6=function(){return{standalone:!1}};let q6=(()=>{class t{constructor(e,i){this.dialogRef=e,this.data=i,this.titleDialog="Sign in to Signal K"}ngOnInit(){}SaveCredential(){this.data.error=null,this.dialogRef.close(this.data)}}return t.\u0275fac=function(e){return new(e||t)(D(Fa),D(Ru))},t.\u0275cmp=Pe({type:t,selectors:[["app-modal-user-credential"]],decls:21,vars:10,consts:[["name","login",3,"ngSubmit"],["login","ngForm"],["mat-dialog-title",""],["class","errorMsgBox",4,"ngIf"],[1,"userLoginInput"],["type","text","autocomplete","username","id","username","matInput","","placeholder","User ID","name","username","required","",3,"ngModel","ngModelOptions","ngModelChange"],["type","password","autocomplete","current-password","id","current-password","matInput","","placeholder","Password","name","current-password","required","",3,"ngModel","ngModelOptions","ngModelChange"],["mat-raised-button","","type","button",3,"mat-dialog-close"],["mat-raised-button","","color","accent","type","submit",3,"disabled"],[1,"errorMsgBox"],["aria-hidden","true",1,"fa-solid","fa-times-circle",2,"color","red","padding-right","5px"]],template:function(e,i){if(1&e&&(v(0,"form",0,1),ne("ngSubmit",function(){return i.SaveCredential()}),v(2,"span",2),M(3),b(),v(4,"mat-dialog-content"),$(5,l0e,3,1,"div",3),q(6,"br"),v(7,"mat-form-field",4)(8,"input",5),ne("ngModelChange",function(o){return i.data.user=o}),b(),v(9,"mat-error"),M(10," You must enter a User ID value "),b()(),q(11,"br"),v(12,"mat-form-field",4)(13,"input",6),ne("ngModelChange",function(o){return i.data.password=o}),b(),v(14,"mat-error"),M(15," You must enter a password value "),b()()(),v(16,"mat-dialog-actions")(17,"button",7),M(18,"Cancel"),b(),v(19,"button",8),M(20,"Sign in"),b()()()),2&e){const r=yi(1);I(3),Qn(i.titleDialog),I(2),R("ngIf",i.data.error),I(3),R("ngModel",i.data.user)("ngModelOptions",ji(8,$6)),I(5),R("ngModel",i.data.password)("ngModelOptions",ji(9,$6)),I(4),R("mat-dialog-close",!1),I(2),R("disabled",!r.valid)}},dependencies:[ui,ks,ta,xs,ts,na,Sl,ns,Ji,kh,Fu,Nu,Dh,rm,Fo,ia],styles:[".errorMsgBox[_ngcontent-%COMP%]{background-color:#fff8dc;color:#2f4f4f;display:flex;width:auto;padding:5px;font-family:Arial,Times,serif;font-size:14px}"]}),t})();const c0e=["lineGraph"];function u0e(t,n){if(1&t){const e=Zn();v(0,"span")(1,"button",24),ne("click",function(){return ut(e),lt(re().deleteToken())}),M(2," Delete Token "),b()()}if(2&t){const e=re();I(1),R("disabled",!e.authToken)}}function d0e(t,n){if(1&t){const e=Zn();v(0,"span")(1,"button",25),ne("click",function(){return ut(e),lt(re().requestDeviceAccessToken())}),M(2," Request Token "),b()()}if(2&t){const e=re();I(1),R("disabled",2!==e.streamStatus.operation)}}function h0e(t,n){1&t&&(v(0,"div"),M(1," Type: Session "),b())}function f0e(t,n){1&t&&(v(0,"div"),M(1," Type: Device Access "),b())}function p0e(t,n){if(1&t&&(v(0,"div"),$(1,h0e,2,0,"div",11),$(2,f0e,2,0,"div",11),M(3),es(4,"slice"),b()),2&t){const e=re();I(1),R("ngIf",!e.authToken.isDeviceAccessToken),I(1),R("ngIf",e.authToken.isDeviceAccessToken),I(1),vn(" Token: ",function RA(t,n,e,i,r){const o=t+22,s=Ae(),a=Jl(s,o);return sp(s,o)?OA(s,Xr(),n,a.transform,e,i,r,a):a.transform(e,i,r)}(4,3,e.authToken.token,0,20),"... ")}}function m0e(t,n){1&t&&(v(0,"div"),M(1," No Authorization Token "),b())}function g0e(t,n){1&t&&q(0,"i",26)}function _0e(t,n){1&t&&q(0,"i",27)}function v0e(t,n){1&t&&q(0,"i",26)}function b0e(t,n){1&t&&q(0,"i",27)}const y0e=function(){return{standalone:!1}},w0e=function(){return{standalone:!0}};let C0e=(()=>{class t{constructor(e,i,r,o,s,a,l,c){this.dialog=e,this.appSettingsService=i,this.notificationsService=r,this.signalKService=o,this.signalKConnectionService=s,this.signalkRequestsService=a,this.deltaService=l,this.auth=c,this.updatesSeconds=[],this.chart=null,this.themeNameSub=null}ngOnInit(){this.isLoggedIn=!!this.auth.isLoggedIn$,this.connectionConfig=this.appSettingsService.getConnectionConfig(),this.authTokenSub=this.auth.authToken$.subscribe(e=>{this.authToken=e||null}),this.isLoggedInSub=this.auth.isLoggedIn$.subscribe(e=>{this.isLoggedIn=e}),this.skEndpointServiceStatusSub=this.signalKConnectionService.getServiceEndpointStatusAsO().subscribe(e=>{this.endpointServiceStatus=e}),this.skStreamStatusSub=this.deltaService.getDataStreamStatusAsO().subscribe(e=>{this.streamStatus=e}),this.updatesSecondSub=this.signalKService.getupdateStatsSecond().subscribe(e=>{this.lastSecondsUpdate=e[e.length-1],this.updatesSeconds=e,null!==this.chart&&(this.chart.config.data.datasets[0].data=e,this.chart.update("none"))}),this.textColor=window.getComputedStyle(this.lineGraph.nativeElement).color,this.chartCtx=this.lineGraph.nativeElement.getContext("2d"),this.startChart(),this.subscribeTheme()}openUserCredentialModal(e){this.dialog.open(q6,{data:{user:this.connectionConfig.loginName,password:this.connectionConfig.loginPassword,error:e}}).afterClosed().subscribe(r=>{!r||(this.connectionConfig.loginName=r.user,this.connectionConfig.loginPassword=r.password,this.connectToServer())})}connectToServer(){!this.connectionConfig.useSharedConfig||this.connectionConfig.loginName&&this.connectionConfig.loginPassword?this.connectionConfig.signalKUrl!=this.appSettingsService.signalkUrl.url?(this.appSettingsService.setConnectionConfig(this.connectionConfig),this.connectionConfig.useSharedConfig?this.serverLogin(this.connectionConfig.signalKUrl):(this.authToken&&this.auth.deleteToken(),location.reload())):(this.appSettingsService.setConnectionConfig(this.connectionConfig),this.authToken&&this.authToken.isDeviceAccessToken&&this.connectionConfig.useSharedConfig?this.serverLogin(this.connectionConfig.signalKUrl):!this.authToken||this.authToken.isDeviceAccessToken||this.connectionConfig.useSharedConfig?this.connectionConfig.useSharedConfig?this.serverLogin(this.connectionConfig.signalKUrl):location.reload():(this.deleteToken(),location.reload())):this.openUserCredentialModal("Credentials required")}serverLogin(e){this.auth.login({usr:this.connectionConfig.loginName,pwd:this.connectionConfig.loginPassword,newUrl:e}).then(i=>{location.reload()}).catch(i=>{401==i.status?(this.openUserCredentialModal("Sign in failed: Incorrect user/password. Enter valide credentials"),console.log("[Setting-SignalK Component] Sign in failed: "+i.error.message)):404==i.status?(this.notificationsService.sendSnackbarNotification("Sign in failed: Login API not found",5e3,!1),console.log("[Setting-SignalK Component] Sign in failed: "+i.error.message)):0==i.status?(this.notificationsService.sendSnackbarNotification("Sign in failed: Cannot reach server at Signal K URL",5e3,!1),console.log("[Setting-SignalK Component] Sign in failed: Cannot reach server at Signal K URL:"+i.message)):(this.notificationsService.sendSnackbarNotification("Unknown authentication failure: "+JSON.stringify(i),5e3,!1),console.log("[Setting-SignalK Component] Unknown login error response: "+JSON.stringify(i)))})}requestDeviceAccessToken(){this.signalkRequestsService.requestDeviceAccessToken()}deleteToken(){this.auth.deleteToken()}startChart(){null!==this.chart&&this.chart.destroy(),this.chart=new a0e(this.chartCtx,{type:"line",data:{labels:Array.from(Array(60).keys()).reverse(),datasets:[{label:"Updates Per Second",data:this.updatesSeconds,borderColor:this.textColor}]},options:{maintainAspectRatio:!1,scales:{x:{beginAtZero:!0,position:"bottom",ticks:{autoSkip:!0,autoSkipPadding:30}},y:{beginAtZero:!0,type:"linear",position:"left"}},plugins:{legend:{labels:{color:this.textColor}}}}})}subscribeTheme(){this.themeNameSub=this.appSettingsService.getThemeNameAsO().subscribe(e=>{setTimeout(()=>{this.textColor=window.getComputedStyle(this.lineGraph.nativeElement).color,this.startChart()},100)})}useSharedConfigToggleClick(e){if(e.checked){let i=this.signalKConnectionService.serverVersion$.getValue();if(!ak(i,"1.46.2",">="))return this.notificationsService.sendSnackbarNotification("Configuration sharing requires Signal K version 1.46.2 or better",0),void(this.connectionConfig.useSharedConfig=!1);this.openUserCredentialModal(null)}}ngOnDestroy(){this.skEndpointServiceStatusSub.unsubscribe(),this.skStreamStatusSub.unsubscribe(),this.authTokenSub.unsubscribe(),this.isLoggedInSub.unsubscribe(),this.updatesSecondSub.unsubscribe(),this.themeNameSub.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(D(Al),D(hr),D(As),D(ra),D(Uh),D(lD),D(Tc),D(Rl))},t.\u0275cmp=Pe({type:t,selectors:[["settings-signalk"]],viewQuery:function(e,i){if(1&e&&Oe(c0e,7,xe),2&e){let r;ue(r=de())&&(i.lineGraph=r.first)}},decls:61,vars:21,consts:[[1,"mat-typography"],["name","connectionForm",3,"ngSubmit"],["connectionForm","ngForm"],[1,"mat-card-subtitle"],[1,"connectUrlInput"],["type","url","matInput","","placeholder","Ex. http://192.168.0.1:3000","name","signalKURL","required","","pattern","https?://.+",3,"ngModel","ngModelOptions","ngModelChange"],["name","useSharedConfigToggle",3,"ngModel","ngModelOptions","disabled","ngModelChange","change"],["useSharedConfigToggle",""],["mat-raised-button","","type","button","color","primary","matTooltip","Configure User Credentials",3,"disabled","click"],[1,"formActionFooter"],[1,"formActionDivider"],[4,"ngIf"],["mat-raised-button","","type","submit","color","accent",1,"formActionButton",3,"disabled"],[1,"serverStatus"],[1,"mat-card-subtitle",2,"margin","0px"],[1,"flex-container"],[1,"flex-item-detail"],[1,"mat-card-subtitle","tableCellLabel"],[1,"mat-card-subtitle","tableCellData"],["class","fa-solid fa-check","style","color:green;","aria-hidden","true",4,"ngIf"],["class","fa-solid fa-times-circle","style","color:red;","aria-hidden","true",4,"ngIf"],[1,"flex-item-chart"],["id","chart"],["lineGraph",""],["mat-raised-button","","color","primary","matTooltip","Delete Signal K Authorization Token",1,"formActionButton",3,"disabled","click"],["mat-raised-button","","type","button","color","primary","matTooltip","Request a Device Authorization token. EXPLANNATION: Device Authorization token is only needed when Kip is used to send data to the server (ie. Using State, Switch, Autopilot Widgets) or when saving Kip configuration remotly. USAGE: Once a Devive Authorization token request is submitted, the request must be approved from the server. See Signal K Server - Security/Access Requests menu. Once approved, Kip will complete the process automatically.",3,"disabled","click"],["aria-hidden","true",1,"fa-solid","fa-check",2,"color","green"],["aria-hidden","true",1,"fa-solid","fa-times-circle",2,"color","red"]],template:function(e,i){if(1&e&&(v(0,"div",0)(1,"form",1,2),ne("ngSubmit",function(){return i.connectToServer()}),v(3,"h1"),M(4,"Connection"),b(),v(5,"p",3),M(6,"Set server connection properties, Sign in credential and manage Device Authorisation token."),b(),v(7,"mat-form-field",4)(8,"mat-label"),M(9,"Signal K URL"),b(),v(10,"input",5),ne("ngModelChange",function(o){return i.connectionConfig.signalKUrl=o}),b(),v(11,"mat-error"),M(12,' Valid URL is required. Ex. "https://demo.signalK.com" or "http://my.server.com:3000" '),b()(),q(13,"br"),v(14,"mat-slide-toggle",6,7),ne("ngModelChange",function(o){return i.connectionConfig.useSharedConfig=o})("change",function(o){return i.useSharedConfigToggleClick(o)}),M(16," Enable user Sign in and configuration sharing "),b(),q(17,"br")(18,"br"),v(19,"button",8),ne("click",function(){return i.openUserCredentialModal(null)}),M(20," Set Sign in credentials "),b(),v(21,"div",9),q(22,"mat-divider",10),$(23,u0e,3,1,"span",11),$(24,d0e,3,1,"span",11),v(25,"button",12),M(26," Connect "),b()()(),v(27,"div",13)(28,"h3",14),M(29," Connection Status "),b(),v(30,"div",15)(31,"div",16)(32,"table")(33,"tr")(34,"td",17),M(35," Version: "),b(),v(36,"td",18),M(37),b()(),v(38,"tr")(39,"td",17),M(40," Authorization: "),b(),v(41,"td",18),$(42,p0e,5,7,"div",11),$(43,m0e,2,0,"div",11),b()(),v(44,"tr")(45,"td",17),M(46," API Endpoint: "),b(),v(47,"td",18),$(48,g0e,1,0,"i",19),$(49,_0e,1,0,"i",20),M(50),b()(),v(51,"tr")(52,"td",17),M(53," Data Stream: "),b(),v(54,"td",18),$(55,v0e,1,0,"i",19),$(56,b0e,1,0,"i",20),M(57),b()()()(),v(58,"div",21),q(59,"canvas",22,23),b()()()()),2&e){const r=yi(2);I(10),R("ngModel",i.connectionConfig.signalKUrl)("ngModelOptions",ji(19,y0e)),I(4),R("ngModel",i.connectionConfig.useSharedConfig)("ngModelOptions",ji(20,w0e))("disabled",!i.connectionConfig.signalKUrl),I(5),R("disabled",!i.connectionConfig.useSharedConfig),I(4),R("ngIf",!i.connectionConfig.useSharedConfig&&i.authToken&&!i.isLoggedIn),I(1),R("ngIf",!i.connectionConfig.useSharedConfig&&!i.authToken),I(1),R("disabled",!r.form.valid),I(12),vn(" ",i.endpointServiceStatus.serverDescrption," "),I(5),R("ngIf",i.authToken),I(1),R("ngIf",!i.authToken),I(5),R("ngIf",2===i.endpointServiceStatus.operation),I(1),R("ngIf",2!==i.endpointServiceStatus.operation),I(1),vn(" ",i.endpointServiceStatus.message," "),I(5),R("ngIf",2===i.streamStatus.operation),I(1),R("ngIf",2!==i.streamStatus.operation),I(1),jd(" ",i.streamStatus.message," - Token: ",i.streamStatus.hasToken," ")}},dependencies:[ui,ks,ta,xs,ts,na,uS,Sl,ns,Ji,Px,rm,Fo,Ho,ia,Ex,Vu,oO],styles:[".connectUrlInput[_ngcontent-%COMP%]{width:100%}.userLoginInput[_ngcontent-%COMP%]{width:50%}.flex-container[_ngcontent-%COMP%]{width:100%;display:flex;flex-direction:row;flex-wrap:wrap;justify-content:flex-start;align-items:stretch;gap:10px 10px}.flex-item-detail[_ngcontent-%COMP%]{flex:0 0 290px}.flex-item-chart[_ngcontent-%COMP%]{flex:1 1 350px;position:relative;margin:0;height:130px;width:100%;border:2px inset}table[_ngcontent-%COMP%]{width:-moz-fit-content;width:fit-content}tr[_ngcontent-%COMP%]{vertical-align:top}.tableCellLabel[_ngcontent-%COMP%]{display:table-cell;text-align:right;padding:5px}.tableCellData[_ngcontent-%COMP%]{display:table-cell;margin:0!important;padding:5px}"]}),t})();function S0e(t,n){1&t&&(v(0,"div"),M(1," Writing to the server requires user Sign in or a Device token "),b())}const x0e=function(){return{standalone:!1}};function k0e(t,n){if(1&t){const e=Zn();v(0,"div")(1,"mat-form-field",41)(2,"mat-label"),M(3,"Scope"),b(),v(4,"mat-select",42),ne("ngModelChange",function(r){return ut(e),lt(re().saveConfigScope=r)}),v(5,"mat-option",43),M(6," Global "),b(),v(7,"mat-option",44),M(8," User "),b()()(),v(9,"mat-form-field",45)(10,"mat-label"),M(11,"Configuration Name"),b(),v(12,"input",46),ne("ngModelChange",function(r){return ut(e),lt(re().saveConfigName=r)}),b()(),$(13,S0e,2,0,"div",47),b()}if(2&t){const e=re();I(4),R("ngModel",e.saveConfigScope),I(8),R("ngModel",e.saveConfigName)("ngModelOptions",ji(4,x0e)),I(1),R("ngIf",!e.hasToken)}}function D0e(t,n){1&t&&(v(0,"div",48)(1,"p"),M(2,"Sign in or Device Token required"),b()())}function M0e(t,n){if(1&t&&(v(0,"mat-option",51),M(1),b()),2&t){const e=n.$implicit;R("value",e),I(1),jd(" ",e.scope," / ",e.name," ")}}function T0e(t,n){if(1&t){const e=Zn();v(0,"div")(1,"mat-form-field",49)(2,"mat-label"),M(3,"Configuration"),b(),v(4,"mat-select",50),ne("ngModelChange",function(r){return ut(e),lt(re().deleteConfigItem=r)}),$(5,M0e,2,3,"mat-option",24),b()()()}if(2&t){const e=re();I(4),R("ngModel",e.deleteConfigItem),I(1),R("ngForOf",e.serverConfigList)}}function E0e(t,n){1&t&&(v(0,"div",48)(1,"p"),M(2,"Sign in or Device Token required"),b()())}function A0e(t,n){if(1&t&&(v(0,"mat-radio-button",52),M(1),b()),2&t){const e=n.$implicit;R("value",e),I(1),vn(" ",e," ")}}function O0e(t,n){if(1&t&&(v(0,"mat-option",51),M(1),b()),2&t){const e=n.$implicit;R("value",e),I(1),jd(" ",e.scope," / ",e.name," ")}}function I0e(t,n){if(1&t&&(v(0,"mat-radio-button",52),M(1),b()),2&t){const e=n.$implicit;R("value",e),I(1),vn(" ",e," ")}}function P0e(t,n){if(1&t&&(v(0,"mat-option",51),M(1),b()),2&t){const e=n.$implicit;R("value",e),I(1),jd(" ",e.scope," / ",e.name," ")}}const R0e=function(){return{name:"connectionConfig",updateOn:"submit"}},F0e=function(){return{name:"appConfig",updateOn:"submit"}},N0e=function(){return{name:"widgetConfig",updateOn:"submit"}},L0e=function(){return{name:"layoutConfig",updateOn:"submit"}},B0e=function(){return{name:"themeConfig",updateOn:"submit"}},V0e=function(){return{name:"zonesConfig",updateOn:"submit"}};function H0e(t,n){if(1&t){const e=Zn();v(0,"div",17)(1,"div",53),q(2,"mat-divider",11),v(3,"h3"),M(4,"Local Configration Editor"),b(),v(5,"i"),M(6,"Config is in raw json and no validation on save. Make sure you double check your changes, else you lose your configuration. A good choice is to back up first using the Save feature above!"),b()(),v(7,"div",54)(8,"form",55),ne("ngSubmit",function(){return ut(e),lt(re().rawConfigSave("IConnectionConfig"))}),v(9,"mat-expansion-panel",56)(10,"mat-expansion-panel-header"),M(11,"Connection"),b(),v(12,"mat-form-field",57)(13,"textarea",58),ne("ngModelChange",function(r){return ut(e),lt(re().jsonConnectionConfig=r)}),b()(),v(14,"mat-action-row")(15,"button",59),M(16," Save Edits "),b()()()(),q(17,"br"),v(18,"form",55),ne("ngSubmit",function(){return ut(e),lt(re().rawConfigSave("IAppConfig"))}),v(19,"mat-expansion-panel")(20,"mat-expansion-panel-header"),M(21,"General"),b(),v(22,"mat-form-field",57)(23,"textarea",58),ne("ngModelChange",function(r){return ut(e),lt(re().jsonAppConfig=r)}),M(24," "),b()(),v(25,"mat-action-row")(26,"button",59),M(27," Save Edits "),b()()()(),q(28,"br"),v(29,"form",55),ne("ngSubmit",function(){return ut(e),lt(re().rawConfigSave("IWidgetConfig"))}),v(30,"mat-expansion-panel")(31,"mat-expansion-panel-header"),M(32,"Widgets"),b(),v(33,"mat-form-field",57)(34,"textarea",60),ne("ngModelChange",function(r){return ut(e),lt(re().jsonWidgetConfig=r)}),b()(),v(35,"mat-action-row")(36,"button",59),M(37," Save Edits "),b()()()(),q(38,"br"),v(39,"form",55),ne("ngSubmit",function(){return ut(e),lt(re().rawConfigSave("ILayoutConfig"))}),v(40,"mat-expansion-panel")(41,"mat-expansion-panel-header"),M(42,"Layouts"),b(),v(43,"mat-form-field",57)(44,"textarea",61),ne("ngModelChange",function(r){return ut(e),lt(re().jsonLayoutConfig=r)}),b()(),v(45,"mat-action-row")(46,"button",59),M(47," Save Edits "),b()()()(),q(48,"br"),v(49,"form",55),ne("ngSubmit",function(){return ut(e),lt(re().rawConfigSave("IThemeConfig"))}),v(50,"mat-expansion-panel")(51,"mat-expansion-panel-header"),M(52,"Theme"),b(),v(53,"mat-form-field",57)(54,"textarea",62),ne("ngModelChange",function(r){return ut(e),lt(re().jsonThemeConfig=r)}),b()(),v(55,"mat-action-row")(56,"button",59),M(57," Save Edits "),b()()()(),q(58,"br"),v(59,"form",55),ne("ngSubmit",function(){return ut(e),lt(re().rawConfigSave("IZonesConfig"))}),v(60,"mat-expansion-panel")(61,"mat-expansion-panel-header"),M(62,"Zones"),b(),v(63,"mat-form-field",57)(64,"textarea",61),ne("ngModelChange",function(r){return ut(e),lt(re().jsonZonesConfig=r)}),b()(),v(65,"mat-action-row")(66,"button",59),M(67," Save Edits "),b()()()()()()}if(2&t){const e=re();I(13),R("ngModel",e.jsonConnectionConfig)("ngModelOptions",ji(12,R0e)),I(10),R("ngModel",e.jsonAppConfig)("ngModelOptions",ji(13,F0e)),I(11),R("ngModel",e.jsonWidgetConfig)("ngModelOptions",ji(14,N0e)),I(10),R("ngModel",e.jsonLayoutConfig)("ngModelOptions",ji(15,L0e)),I(10),R("ngModel",e.jsonThemeConfig)("ngModelOptions",ji(16,B0e)),I(10),R("ngModel",e.jsonZonesConfig)("ngModelOptions",ji(17,V0e))}}let z0e=(()=>{class t{constructor(e,i,r,o,s){this.appSettingsService=e,this.storageSvc=i,this.notificationsService=r,this.auth=o,this.fb=s,this.hasToken=!1,this.isTokenTypeDevice=!1,this.supportApplicationData=!1,this.serverConfigList=[],this.storageLocation=null,this.locations=["Local Storage","Remote Storage"],this.saveConfigName=null,this.saveConfigScope=null,this.showRawEditor=!1}ngOnInit(){if(this.tokenSub=this.auth.authToken$.subscribe(e=>{e&&e.token?(this.hasToken=!0,this.isTokenTypeDevice=e.isDeviceAccessToken,this.saveConfigScope=e.isDeviceAccessToken?"glodal":"user"):this.hasToken=!1}),this.copyConfigForm=this.fb.group({copySource:["",Ma.required],sourceTarget:[{value:"",disabled:!0},Ma.required],copyDestination:["",Ma.required],destinationTarget:[{value:"",disabled:!0},Ma.required]}),!this.hasToken){let e=this.copyConfigForm.get("copySource");e.setValue("Remote Storage"),e.disable(),this.copyConfigForm.get("sourceTarget").enable();let i=this.copyConfigForm.get("copyDestination");i.setValue("Local Storage"),i.disable()}this.supportApplicationData=this.storageSvc.isAppDataSupported,this.getLiveConfig(),this.getServerConfigList()}getServerConfigList(){this.supportApplicationData&&this.storageSvc.listConfigs().then(e=>{this.serverConfigList=e}).catch(e=>{this.notificationsService.sendSnackbarNotification("Error listing server configurations: "+e,3e3,!1)})}saveConfig(e,i,r){this.supportApplicationData&&(this.storageSvc.setConfig(i,r,e)?(this.notificationsService.sendSnackbarNotification(`Configuration [${r}] saved to [${i}] storage scope`,5e3,!1),this.getServerConfigList()):this.notificationsService.sendSnackbarNotification("Error saving configuration to server",0,!1))}copyConfig(){var e=this;return Mc(function*(){if("Local Storage"===e.copyConfigForm.value.copySource)"Remote Storage"===e.copyConfigForm.value.copyDestination?"user"===e.copyConfigForm.value.destinationTarget.scope&&"default"===e.copyConfigForm.value.destinationTarget.name&&e.hasToken&&!e.isTokenTypeDevice?e.notificationsService.sendSnackbarNotification("Local Storage cannot be copied to [user / default] when Sign in option is enabled. Use another copy source",0,!1):e.saveConfig(e.getLocalConfig(),e.copyConfigForm.value.destinationTarget.scope,e.copyConfigForm.value.destinationTarget.name):"Local Storage"===e.copyConfigForm.value.copyDestination&&e.notificationsService.sendSnackbarNotification("Local Storage cannot be copies to Local Storage ",0,!1);else{let i=null;try{yield e.storageSvc.getConfig(e.copyConfigForm.value.sourceTarget.scope,e.copyConfigForm.value.sourceTarget.name).then(r=>{i=r})}catch(r){return void e.notificationsService.sendSnackbarNotification("Error retreiving configuration from server: "+r.statusText,3e3,!1)}"Remote Storage"===e.copyConfigForm.value.copyDestination?(e.saveConfig(i,e.copyConfigForm.value.destinationTarget.scope,e.copyConfigForm.value.destinationTarget.name),"user"===e.copyConfigForm.value.destinationTarget.scope&&"default"===e.copyConfigForm.value.destinationTarget.name&&e.hasToken&&!e.isTokenTypeDevice&&e.appSettingsService.reloadApp()):(e.appSettingsService.replaceConfig("appConfig",i.app,!1),e.appSettingsService.replaceConfig("widgetConfig",i.widget,!1),e.appSettingsService.replaceConfig("layoutConfig",i.layout,!1),e.appSettingsService.replaceConfig("themeConfig",i.theme,!1),e.appSettingsService.replaceConfig("zonesConfig",i.zones,!0))}})()}deleteConfig(e,i){this.storageSvc.removeItem(e,i),this.getServerConfigList(),this.notificationsService.sendSnackbarNotification(`Configuration [${i}] deleted from [${e}] storage scope`,5e3,!1)}rawConfigSave(e){switch(e){case"IConnectionConfig":this.appSettingsService.replaceConfig("connectionConfig",this.liveConnectionConfig,!0);break;case"IAppConfig":this.hasToken&&!this.isTokenTypeDevice?this.storageSvc.patchConfig(e,this.liveAppConfig):this.appSettingsService.replaceConfig("appConfig",this.liveAppConfig,!0);break;case"IWidgetConfig":this.hasToken&&!this.isTokenTypeDevice?this.storageSvc.patchConfig(e,this.liveWidgetConfig):this.appSettingsService.replaceConfig("widgetConfig",this.liveWidgetConfig,!0);break;case"ILayoutConfig":this.hasToken&&!this.isTokenTypeDevice?this.storageSvc.patchConfig(e,this.liveLayoutConfig):this.appSettingsService.replaceConfig("layoutConfig",this.liveLayoutConfig,!0);break;case"IThemeConfig":this.hasToken&&!this.isTokenTypeDevice?this.storageSvc.patchConfig(e,this.liveThemeConfig):this.appSettingsService.replaceConfig("themeConfig",this.liveThemeConfig,!0);break;case"IZonesConfig":this.hasToken&&!this.isTokenTypeDevice?this.storageSvc.patchConfig(e,this.liveZonesConfig):this.appSettingsService.replaceConfig("zonesConfig",this.liveZonesConfig,!0)}}resetConfigToDefault(){this.appSettingsService.resetSettings()}resetConnectionToDefault(){this.appSettingsService.resetConnection()}loadDemoConfig(){this.appSettingsService.loadDemoConfig()}getLiveConfig(){this.liveAppConfig=this.appSettingsService.getAppConfig(),this.liveConnectionConfig=this.appSettingsService.getConnectionConfig(),this.liveWidgetConfig=this.appSettingsService.getWidgetConfig(),this.liveLayoutConfig=this.appSettingsService.getLayoutConfig(),this.liveThemeConfig=this.appSettingsService.getThemeConfig(),this.liveZonesConfig=this.appSettingsService.getZonesConfig()}get jsonZonesConfig(){return JSON.stringify(this.liveZonesConfig,null,2)}set jsonZonesConfig(e){try{this.liveZonesConfig=JSON.parse(e)}catch(i){console.log(`JSON syntax error: ${i}`)}}get jsonThemeConfig(){return JSON.stringify(this.liveThemeConfig,null,2)}set jsonThemeConfig(e){try{this.liveThemeConfig=JSON.parse(e)}catch(i){console.log(`JSON syntax error: ${i}`)}}get jsonLayoutConfig(){return JSON.stringify(this.liveLayoutConfig,null,2)}set jsonLayoutConfig(e){try{this.liveLayoutConfig=JSON.parse(e)}catch(i){console.log(`JSON syntax error: ${i}`)}}get jsonWidgetConfig(){return JSON.stringify(this.liveWidgetConfig,null,2)}set jsonWidgetConfig(e){try{this.liveWidgetConfig=JSON.parse(e)}catch(i){console.log(`JSON syntax error: ${i}`)}}get jsonAppConfig(){return JSON.stringify(this.liveAppConfig,null,2)}set jsonAppConfig(e){try{this.liveAppConfig=JSON.parse(e)}catch(i){console.log(`JSON syntax error: ${i}`)}}get jsonConnectionConfig(){return JSON.stringify(this.liveConnectionConfig,null,2)}set jsonConnectionConfig(e){try{this.liveConnectionConfig=JSON.parse(e)}catch(i){console.log(`JSON syntax error: ${i}`)}}getLocalConfig(){return{app:this.appSettingsService.getAppConfig(),widget:this.appSettingsService.getWidgetConfig(),layout:this.appSettingsService.getLayoutConfig(),theme:this.appSettingsService.getThemeConfig(),zones:this.appSettingsService.getZonesConfig()}}onSourceSelectChange(e){"Local Storage"===e.value?this.copyConfigForm.get("sourceTarget").disable():this.copyConfigForm.get("sourceTarget").enable()}onDestinationSelectChange(e){"Local Storage"===e.value?this.copyConfigForm.get("destinationTarget").disable():this.copyConfigForm.get("destinationTarget").enable()}ngOnDestroy(){this.tokenSub.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(D(hr),D(Xb),D(As),D(Rl),D(eY))},t.\u0275cmp=Pe({type:t,selectors:[["settings-config"]],decls:100,vars:14,consts:[[1,"mat-typography"],[1,"mat-card-subtitle"],["routerLink","/help"],[1,"flex-container"],[1,"flex-item"],["name","saveConfigForm",3,"ngSubmit"],["saveConfigForm","ngForm"],[2,"margin-bottom","16px"],[4,"ngIf","ngIfElse"],["elseBlock",""],[1,"formActionFooter"],[1,"formActionDivider"],["mat-raised-button","","type","submit","color","accent",3,"disabled"],["name","deleteConfigForm",3,"ngSubmit"],["deleteConfigForm","ngForm"],[1,"flex-item-copy"],[3,"formGroup","ngSubmit"],[1,"config-row"],[1,"config-column"],["id","sources-radio-group-label"],["formControlName","copySource","aria-labelledby","sources-radio-group-label",1,"sources-radio-group",3,"change"],["class","sources-radio-button",3,"value",4,"ngFor","ngForOf"],[1,"select-config"],["formControlName","sourceTarget"],[3,"value",4,"ngFor","ngForOf"],["formControlName","copyDestination","aria-labelledby","sources-radio-group-label",1,"sources-radio-group",3,"change"],["formControlName","destinationTarget"],[2,"margin-top","20px"],[1,"config-operation-container"],[1,"demo-txt"],[1,"descriptiveTexts"],[1,"demo-btn","btn-div"],["mat-raised-button","","type","button","color","accent",3,"click"],[1,"reset-txt"],[1,"reset-btn","btn-div"],[1,"config-txt"],[1,"config-btn","btn-div"],[1,"editor-txt"],[1,"editor-bnt","btn-div"],[1,"example-margin",3,"ngModel","ngModelChange"],["class","config-row",4,"ngIf"],[2,"width","25%"],["name","serverConfiScope","required","",3,"ngModel","ngModelChange"],["value","global"],["value","user"],[2,"width","70%","padding-left","3%"],["matInput","","name","serverConfigName","placeholder","Enter a name for the configuration","required","",3,"ngModel","ngModelOptions","ngModelChange"],[4,"ngIf"],[1,"no-token-notice"],[2,"width","100%"],["name","selectedDeleteItem","required","",3,"ngModel","ngModelChange"],[3,"value"],[1,"sources-radio-button",3,"value"],[2,"padding-top","10px","margin-bottom","10px"],[2,"margin-left","10px","margin-right","10px","width","100%"],[3,"ngSubmit"],["color","accent"],[1,"config-size"],["matInput","","placeholder","Raw Application JSON configuration","wrap","off","autocomplete","off","autocorrect","off","spellcheck","false",1,"textheight",3,"ngModel","ngModelOptions","ngModelChange"],["mat-raised-button","","type","submit","color","accent"],["matInput","","placeholder","Raw Widget JSON configuration","wrap","off","autocomplete","off","autocorrect","off","spellcheck","false",1,"textheight",3,"ngModel","ngModelOptions","ngModelChange"],["matInput","","placeholder","Raw Layout JSON configuration","wrap","off","autocomplete","off","autocorrect","off","spellcheck","false",1,"textheight",3,"ngModel","ngModelOptions","ngModelChange"],["matInput","","placeholder","Raw Theme JSON configuration","wrap","off","autocomplete","off","autocorrect","off","spellcheck","false",1,"textheight",3,"ngModel","ngModelOptions","ngModelChange"]],template:function(e,i){if(1&e&&(v(0,"div",0)(1,"h1"),M(2,"Configuration Management"),b(),v(3,"p",1),M(4," Recommended Reading: To understand configuration management and storage options, consult the "),v(5,"a",2),M(6,"Configuration Management Help"),b(),M(7," section. "),b(),v(8,"div",3)(9,"div",4)(10,"form",5,6),ne("ngSubmit",function(){return i.saveConfig(i.getLocalConfig(),i.saveConfigScope,i.saveConfigName)}),v(12,"h3"),M(13,"Save"),b(),v(14,"p",7),M(15,"Save current configuration to server"),b(),$(16,k0e,14,5,"div",8),$(17,D0e,3,0,"ng-template",null,9,Qs),v(19,"div",10),q(20,"mat-divider",11),v(21,"button",12),M(22," Save "),b()()()(),v(23,"div",4)(24,"form",13,14),ne("ngSubmit",function(){return i.deleteConfig(i.deleteConfigItem.scope,i.deleteConfigItem.name)}),v(26,"h3"),M(27,"Delete"),b(),v(28,"p",7),M(29,"Delete a configuration from the server"),b(),$(30,T0e,6,2,"div",8),$(31,E0e,3,0,"ng-template",null,9,Qs),v(33,"div",10),q(34,"mat-divider",11),v(35,"button",12),M(36," Delete "),b()()()(),v(37,"div",15)(38,"form",16),ne("ngSubmit",function(){return i.copyConfig()}),v(39,"h3"),M(40,"Copy"),b(),v(41,"p",7),M(42,"Create, duplicate and overwrite configurations."),b(),v(43,"div",17)(44,"div",18)(45,"label",19),M(46,"Source"),b(),v(47,"mat-radio-group",20),ne("change",function(o){return i.onSourceSelectChange(o)}),$(48,A0e,2,2,"mat-radio-button",21),b(),v(49,"mat-form-field",22)(50,"mat-label"),M(51,"Configuration"),b(),v(52,"mat-select",23),$(53,O0e,2,3,"mat-option",24),b()()(),v(54,"div",18)(55,"label",19),M(56,"Destination"),b(),v(57,"mat-radio-group",25),ne("change",function(o){return i.onDestinationSelectChange(o)}),$(58,I0e,2,2,"mat-radio-button",21),b(),v(59,"mat-form-field",22)(60,"mat-label"),M(61,"Configuration"),b(),v(62,"mat-select",26),$(63,P0e,2,3,"mat-option",24),b()()()(),v(64,"div",10),q(65,"mat-divider",11),v(66,"button",12),M(67," Copy "),b()()()()(),v(68,"div",17)(69,"div",27)(70,"h3"),M(71,"Operations"),b(),v(72,"p",1),M(73,"Load predefined configuration or reset configurations to defaults."),b()(),v(74,"div",28)(75,"div",29)(76,"span",30),M(77,"Load Demo configuration and connect to Signal K demo server to see Kip in action. Warning: this will reset your connection settings and local layout configuration. "),b()(),v(78,"div",31)(79,"button",32),ne("click",function(){return i.loadDemoConfig()}),M(80," Load demo "),b()(),v(81,"div",33)(82,"span",30),M(83,"Reset the current application configuration (Layouts, Widgets, etc.) and restores defaults. The default configuration has a single Getting Started instruction widget to get you started. The server connections settingd will be kept. "),b()(),v(84,"div",34)(85,"button",32),ne("click",function(){return i.resetConfigToDefault()}),M(86," Reset app "),b()(),v(87,"div",35)(88,"span",30),M(89,"Reset the current connection configuration to defaults. The default connection configuration is empty and ready for configuration. This will not affect the app configuration (Layouts, widgets, etc.). "),b()(),v(90,"div",36)(91,"button",32),ne("click",function(){return i.resetConnectionToDefault()}),M(92," Reset connection "),b()(),v(93,"div",37)(94,"span",30),M(95,"Enable the configuration editor. The editor modifies the active in-memory configuration. This configuration represent the current state of the application. You can edit those values by configuration areas and save them to persist your changes. "),b()(),v(96,"div",38)(97,"mat-checkbox",39),ne("ngModelChange",function(o){return i.showRawEditor=o}),M(98,"Show Editor"),b()()()(),$(99,H0e,68,18,"div",40),b()),2&e){const r=yi(11),o=yi(18),s=yi(25);I(16),R("ngIf",i.hasToken)("ngIfElse",o),I(5),R("disabled",!i.hasToken||!r.valid),I(9),R("ngIf",i.hasToken)("ngIfElse",o),I(5),R("disabled",!i.hasToken||!s.valid),I(3),R("formGroup",i.copyConfigForm),I(10),R("ngForOf",i.locations),I(5),R("ngForOf",i.serverConfigList),I(5),R("ngForOf",i.locations),I(5),R("ngForOf",i.serverConfigList),I(3),R("disabled",!i.copyConfigForm.valid),I(31),R("ngModel",i.showRawEditor),I(2),R("ngIf",i.showRawEditor)}},dependencies:[Eo,ui,ks,ta,xs,ts,na,Sl,ns,Ea,Cu,Rp,Ji,Fo,Ho,Na,Es,yh,Mx,Tx,ia,fb,mJ,pb,Vu],styles:['a[_ngcontent-%COMP%]{font-size:14px}a[_ngcontent-%COMP%]:hover{text-decoration:underline;cursor:pointer}a[_ngcontent-%COMP%]:link, a[_ngcontent-%COMP%]:visited{color:#8ab4f8;text-decoration:none}.confirmTextarea[_ngcontent-%COMP%]{resize:none}.config-size[_ngcontent-%COMP%]{width:100%}.textheight[_ngcontent-%COMP%]{height:120px;background-color:#000}.warningText[_ngcontent-%COMP%]{padding-left:15px}.no-token-notice[_ngcontent-%COMP%]{height:58px;contain:content;text-align:center;font-style:italic}.mat-radio-button[_ngcontent-%COMP%] ~ .mat-radio-button[_ngcontent-%COMP%]{margin-right:16px;margin-left:16px}.config-row[_ngcontent-%COMP%]{display:flex;flex-direction:row;flex-wrap:wrap;width:100%}.config-column[_ngcontent-%COMP%]{display:flex;flex-direction:column;flex-basis:100%;flex:1;margin:0 10px}.flex-container[_ngcontent-%COMP%]{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center;align-items:stretch;gap:10px;min-height:100%;height:100%}.sources-radio-group[_ngcontent-%COMP%]{display:flex;flex-direction:column;margin:15px 0}.sources-radio-button[_ngcontent-%COMP%]{margin:5px;margin-left:0!important}.select-config[_ngcontent-%COMP%]{margin-left:0}.btn-div[_ngcontent-%COMP%]{align-self:center}.btn-div[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:-webkit-fill-available}.config-operation-container[_ngcontent-%COMP%]{display:grid;grid-template-columns:[col-start] auto [col1-end] min-content [col2-end];grid-template-rows:[row-start] max-content [row1-end] max-content [row2-end];grid-template-areas:"demo-txt demo-btn" "reset-txt reset-btn" "config-txt config-btn" "editor-txt editor-btn";row-gap:20px;column-gap:10px}.demo-txt[_ngcontent-%COMP%]{grid-area:demo-txt}.demo-btn[_ngcontent-%COMP%]{grid-area:demo-btn}.reset-txt[_ngcontent-%COMP%]{grid-area:reset-txt}.reset-btn[_ngcontent-%COMP%]{grid-area:reset-btn}.config-txt[_ngcontent-%COMP%]{grid-area:config-txt}.config-btn[_ngcontent-%COMP%]{grid-area:config-btn}.editor-txt[_ngcontent-%COMP%]{grid-area:editor-txt}.editor-btn[_ngcontent-%COMP%]{grid-area:editor-btn}']}),t})();function W0e(t,n){if(1&t&&(v(0,"mat-option",10),M(1),b()),2&t){const e=n.$implicit;R("value",e.measure),I(1),Qn(e.description)}}function j0e(t,n){if(1&t&&(v(0,"mat-form-field",7)(1,"mat-select",8),$(2,W0e,2,2,"mat-option",9),b()()),2&t){const e=n.$implicit,i=re();I(1),R("placeholder",e.key)("formControlName",e.key),I(1),R("ngForOf",i.groupUnits[e.key])}}let U0e=(()=>{class t{constructor(e,i,r){this.UnitsService=e,this.appSettingsService=i,this.notificationsService=r,this.groupUnits=[]}ngOnInit(){this.defaultUnits=this.appSettingsService.getDefaultUnits();let e=this.UnitsService.getConversions();for(let r=0;r{i.addControl(r,new Po(this.defaultUnits[r]))}),this.formUnitMaster=i,this.formUnitMaster.updateValueAndValidity()}submitConfig(){this.appSettingsService.setDefaultUnits(this.formUnitMaster.value),this.notificationsService.sendSnackbarNotification("Default units configuration saved",5e3,!1)}}return t.\u0275fac=function(e){return new(e||t)(D(km),D(hr),D(As))},t.\u0275cmp=Pe({type:t,selectors:[["settings-units"]],decls:12,vars:5,consts:[[1,"mat-typography"],[2,"height","100%",3,"formGroup","ngSubmit"],[1,"mat-card-subtitle"],["class","UnitSettings",4,"ngFor","ngForOf"],[1,"formActionFooter"],[1,"formActionDivider"],["mat-raised-button","","color","accent","type","submit",1,"formActionButton",3,"disabled"],[1,"UnitSettings"],[3,"placeholder","formControlName"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(e,i){1&e&&(v(0,"div",0)(1,"form",1),ne("ngSubmit",function(){return i.submitConfig()}),v(2,"h1"),M(3,"Application Default Units"),b(),v(4,"p",2),M(5,"Set the default units preferences per types of unit groups. The values will be automatically converted for display."),b(),$(6,j0e,3,3,"mat-form-field",3),es(7,"keyvalue"),v(8,"div",4),q(9,"mat-divider",5),v(10,"button",6),M(11,"Save"),b()()()()),2&e&&(I(1),R("formGroup",i.formUnitMaster),I(5),R("ngForOf",Ca(7,3,i.defaultUnits)),I(4),R("disabled",!i.formUnitMaster.valid))},dependencies:[Eo,ks,xs,ts,Ea,Cu,Ji,Fo,Na,Es,Vu,pp],styles:[".UnitSettings[_ngcontent-%COMP%]{padding-right:30px}"]}),t})();function G0e(t,n){if(1&t){const e=Zn();v(0,"button",19),ne("click",function(){return ut(e),lt(re(2).formGroup.controls.path.patchValue(""))}),q(1,"span",20),b()}}function $0e(t,n){if(1&t&&(zi(0),v(1,"span"),M(2),b(),q(3,"br"),v(4,"small",22),M(5),b(),Wi()),2&t){const e=re().$implicit;I(2),Qn(e.path),I(3),Qn(e.meta.description)}}function q0e(t,n){if(1&t&&(zi(0),M(1),Wi()),2&t){const e=re().$implicit;I(1),vn(" ",e.path," ")}}function Y0e(t,n){if(1&t&&(v(0,"mat-option",21),$(1,$0e,6,2,"ng-container",9),$(2,q0e,2,1,"ng-container",9),b()),2&t){const e=n.$implicit;R("value",e.path),I(1),R("ngIf",null!=e.meta),I(1),R("ngIf",null==e.meta)}}function K0e(t,n){1&t&&(v(0,"mat-error"),M(1," Path "),v(2,"strong"),M(3,"required"),b()())}function Z0e(t,n){1&t&&(v(0,"mat-error"),M(1," Please select an existing path "),b())}function Q0e(t,n){if(1&t&&(v(0,"mat-option",23),M(1),b()),2&t){const e=n.$implicit;R("value",e),I(1),vn(" ",e," ")}}function X0e(t,n){if(1&t&&(v(0,"mat-option",23),M(1),b()),2&t){const e=n.$implicit;R("value",e.measure),I(1),vn(" ",e.description," ")}}function J0e(t,n){if(1&t&&(v(0,"mat-optgroup",26),$(1,X0e,2,2,"mat-option",14),b()),2&t){const e=n.$implicit;R("label",e.group),I(1),R("ngForOf",e.units)}}function ewe(t,n){if(1&t&&(v(0,"mat-form-field",12)(1,"mat-label"),M(2,"Display Format"),b(),v(3,"mat-select",24),$(4,J0e,2,2,"mat-optgroup",25),b()()),2&t){const e=re(2);I(4),R("ngForOf",e.unitList.conversions)}}function twe(t,n){if(1&t&&(v(0,"div",2)(1,"p"),M(2),b(),v(3,"div",3)(4,"mat-form-field",4)(5,"mat-label"),M(6,"Signal K Path"),b(),q(7,"input",5),$(8,G0e,2,0,"button",6),v(9,"mat-autocomplete",null,7),$(11,Y0e,3,3,"mat-option",8),es(12,"async"),b(),$(13,K0e,4,0,"mat-error",9),$(14,Z0e,2,0,"mat-error",9),b(),v(15,"div",10)(16,"div",11)(17,"mat-form-field",12)(18,"mat-label"),M(19,"Data Source"),b(),v(20,"mat-select",13),$(21,Q0e,2,2,"mat-option",14),b()()(),v(22,"div",15)(23,"mat-form-field",12)(24,"mat-label"),M(25,"Sample Time"),b(),q(26,"input",16),b()(),v(27,"div",17),$(28,ewe,5,1,"mat-form-field",18),b()()()()),2&t){const e=yi(10),i=re();I(2),Qn(i.formGroup.value.description),I(5),R("matAutocomplete",e),I(1),R("ngIf",i.formGroup.value.path),I(3),R("ngForOf",Ca(12,8,i.filteredPaths)),I(2),R("ngIf",i.formGroup.controls.path.hasError("required")),I(1),R("ngIf",i.formGroup.controls.path.hasError("requireMatch")),I(7),R("ngForOf",i.availableSources),I(7),R("ngIf","number"==i.formGroup.value.pathType)}}let Y6=(()=>{class t{constructor(e){this.signalKService=e,this.filteredPaths=new bn,this.requirePathMatch=i=>r=>{const o=r.value;return i.some(s=>s.path===o)?null:{requireMatch:!0}}}ngOnInit(){this.unitList={},null==this.formGroup.value.path&&(this.formGroup.controls.source.disable(),this.formGroup.controls.sampleTime.disable(),"number"==this.formGroup.value.pathType&&this.formGroup.controls.convertUnitTo.disable()),this.getPaths(this.filterSelfPaths),this.updateSourcesAndUnits(),this.filteredPaths=this.formGroup.controls.path.valueChanges.pipe(Ui(""),Ne(e=>this.filterPaths(e))),this.formGroup.controls.path.valueChanges.subscribe(e=>{this.updateSourcesAndUnits();try{this.formGroup.controls.path.valid?(this.formGroup.controls.source.enable(),this.formGroup.controls.source.patchValue("default"),this.formGroup.controls.sampleTime.enable(),"number"==this.formGroup.controls.pathType.value&&(this.formGroup.controls.convertUnitTo.enable(),this.formGroup.controls.convertUnitTo.patchValue(this.unitList.default))):(this.formGroup.controls.source.disable(),this.formGroup.controls.sampleTime.disable(),"number"==this.formGroup.controls.pathType.value&&this.formGroup.controls.convertUnitTo.disable())}catch(i){console.debug(i)}})}ngOnChanges(e){e.filterSelfPaths&&!e.filterSelfPaths.firstChange&&(this.getPaths(this.filterSelfPaths),this.formGroup.controls.path.patchValue(""))}getPaths(e){this.availablePaths=this.signalKService.getPathsAndMetaByType(this.formGroup.value.pathType,e).sort(),this.formGroup.controls.path.setValidators([Ma.required])}filterPaths(e){const i=e.toLowerCase();return this.availablePaths.filter(r=>r.path.toLowerCase().includes(i)).slice(0,50)}updateSourcesAndUnits(){if(null==this.formGroup.controls.path.value||null==this.formGroup.controls.path.value||""==this.formGroup.controls.path.value)this.availableSources=null==this.formGroup.value.source||null==this.formGroup.value.source||""==this.formGroup.value.source?["default"]:["default"].concat([this.formGroup.value.source]);else{let e=this.signalKService.getPathObject(this.formGroup.controls.path.value);if(null!=e)this.availableSources=["default"].concat(Object.keys(e.sources));else try{this.formGroup.controls.source.disable(),this.formGroup.controls.sampleTime.disable(),"number"==this.formGroup.controls.pathType.value&&this.formGroup.controls.convertUnitTo.disable()}catch(i){console.debug(i)}}this.unitList=this.signalKService.getConversionsForPath(this.formGroup.controls.path.value)}}return t.\u0275fac=function(e){return new(e||t)(D(ra))},t.\u0275cmp=Pe({type:t,selectors:[["modal-path-selector"]],inputs:{formGroup:"formGroup",filterSelfPaths:"filterSelfPaths"},features:[Tn],decls:2,vars:2,consts:[[3,"formGroup"],["class","pathGroup",4,"ngIf"],[1,"pathGroup"],[1,"pathGroupFields"],["appearance","outline","floatLabel","always",1,"pathField"],["type","text","matInput","","placeholder","Select path (note dropdown limited to 50, type to use autocomplete)","formControlName","path","required","",3,"matAutocomplete"],["style","top:-8px","mat-button","","matSuffix","","mat-icon-button","","aria-label","Clear",3,"click",4,"ngIf"],["pathAutoComplete","matAutocomplete"],["style","min-height: 48px; line-height: 1.15; height: auto; padding: 8px 16px; white-space: normal;",3,"value",4,"ngFor","ngForOf"],[4,"ngIf"],[1,"pathProperties"],[1,"sourceField"],["appearance","outline","floatLabel","always",1,"fields"],["placeholder","Select source","formControlName","source","Ripple","","required",""],[3,"value",4,"ngFor","ngForOf"],[1,"sampleTimeField"],["matInput","","type","number","placeholder","Sample time in milliseconds","formControlName","sampleTime","Ripple","","required",""],[1,"unitField"],["class","fields","appearance","outline","floatLabel","always",4,"ngIf"],["mat-button","","matSuffix","","mat-icon-button","","aria-label","Clear",2,"top","-8px",3,"click"],[1,"fa-solid","fa-close"],[2,"min-height","48px","line-height","1.15","height","auto","padding","8px 16px","white-space","normal",3,"value"],[1,"pathMetaDescription"],[3,"value"],["placeholder","Select unit","formControlName","convertUnitTo","disableRipple","","required",""],[3,"label",4,"ngFor","ngForOf"],[3,"label"]],template:function(e,i){1&e&&(v(0,"div",0),$(1,twe,29,10,"div",1),b()),2&e&&(R("formGroup",i.formGroup),I(1),R("ngIf",i.formGroup.value.isPathConfigurable))},dependencies:[Eo,ui,ta,wu,xs,ts,na,Ea,Cu,Ji,rm,Fo,Ho,UJ,Na,Es,cx,ia,bie,m3,iC],styles:[".pathGroup[_ngcontent-%COMP%]{width:100%}.pathGroupFields[_ngcontent-%COMP%]{display:block;width:calc(100% - 5px)}.pathField[_ngcontent-%COMP%]{width:100%}.pathProperties[_ngcontent-%COMP%]{display:flex;flex-flow:row wrap;justify-content:space-between;align-items:center;align-content:flex-start;gap:10px}.fields[_ngcontent-%COMP%]{width:100%}.sourceField[_ngcontent-%COMP%]{flex:3 1}.sampleTimeField[_ngcontent-%COMP%]{flex:1 3}.unitField[_ngcontent-%COMP%]{flex:3 1}"]}),t})();function nwe(t,n){1&t&&(v(0,"mat-header-cell",29),M(1,"Path"),b())}function iwe(t,n){if(1&t&&(v(0,"mat-cell",30),M(1),b()),2&t){const e=n.$implicit;I(1),vn(" ",e.path," ")}}function rwe(t,n){1&t&&(v(0,"mat-header-cell",31),M(1,"Unit"),b())}function owe(t,n){if(1&t&&(v(0,"mat-cell",32),M(1),b()),2&t){const e=n.$implicit;I(1),vn(" ",e.unit," ")}}function swe(t,n){1&t&&(v(0,"mat-header-cell",31),M(1,"Lower"),b())}function awe(t,n){if(1&t&&(v(0,"mat-cell",33),M(1),b()),2&t){const e=n.$implicit;I(1),vn(" ",e.lower," ")}}function lwe(t,n){1&t&&(v(0,"mat-header-cell",31),M(1,"Upper"),b())}function cwe(t,n){if(1&t&&(v(0,"mat-cell",34),M(1),b()),2&t){const e=n.$implicit;I(1),vn(" ",e.upper," ")}}function uwe(t,n){1&t&&(v(0,"mat-header-cell",31),M(1,"State"),b())}function dwe(t,n){1&t&&(v(0,"div"),M(1,"Normal"),b())}function hwe(t,n){1&t&&(v(0,"div"),M(1,"Warning"),b())}function fwe(t,n){1&t&&(v(0,"div"),M(1,"Alarm"),b())}function pwe(t,n){if(1&t&&(v(0,"mat-cell",35)(1,"div",36),$(2,dwe,2,0,"div",37),$(3,hwe,2,0,"div",37),$(4,fwe,2,0,"div",37),b()()),2&t){const e=n.$implicit;I(1),R("ngSwitch",e.state),I(1),R("ngSwitchCase",0),I(1),R("ngSwitchCase",1),I(1),R("ngSwitchCase",2)}}function mwe(t,n){1&t&&q(0,"mat-header-cell",38)}function gwe(t,n){if(1&t){const e=Zn();v(0,"mat-cell",39)(1,"button",40),ne("click",function(){const o=ut(e).$implicit;return lt(re().openZoneDialog(o.uuid))}),M(2,"Edit"),b(),v(3,"button",41),ne("click",function(){const o=ut(e).$implicit;return lt(re().deleteZone(o.uuid))}),M(4,"Delete"),b()()}}function _we(t,n){1&t&&q(0,"mat-header-row",42)}function vwe(t,n){1&t&&q(0,"mat-row",43)}function bwe(t,n){if(1&t&&(v(0,"mat-row"),M(1),b()),2&t){re();const e=yi(9);I(1),vn(' No data matching the filter "',e.value,'" ')}}const ywe=function(){return[5,10,25,100]};function wwe(t,n){1&t&&(v(0,"mat-error",15),M(1," At least one value is required (lower / upper) "),b())}function Cwe(t,n){1&t&&(v(0,"mat-error",15),M(1," At least one value is required (lower / upper) "),b())}const K6=".full-width[_ngcontent-%COMP%]{width:100%}.flex-container[_ngcontent-%COMP%]{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:space-between;align-items:stretch;align-content:flex-start;gap:10px 10px}";let Swe=(()=>{class t{constructor(e,i,r){this.appSettingsService=e,this.dialog=i,this.cdRef=r,this.tableData=new Ux([]),this.displayedColumns=["path","unit","lower","upper","state","actions"]}ngOnInit(){this.zonesSub=this.appSettingsService.getZonesAsO().subscribe(e=>{this.tableData.data=e})}ngAfterViewInit(){this.tableData.paginator=this.paginator,this.tableData.sort=this.sort,this.tableData.filter="",this.cdRef.detectChanges()}trackByUuid(e,i){return`${i.uuid}`}applyFilter(e){this.tableData.filter=e.target.value.trim().toLowerCase(),this.tableData.paginator&&this.tableData.paginator.firstPage()}openZoneDialog(e){let i;if(e){const r=this.tableData.data.find(o=>o.uuid===e);r&&(i=this.dialog.open(kwe,{data:r}))}else i=this.dialog.open(xwe,{});i.afterClosed().subscribe(r=>{void 0===r||!r||(r.uuid?this.editZone(r):(r.uuid=this.newUuid(),this.addZone(r)))})}addZone(e){let i=this.appSettingsService.getZones();i.push(e),this.appSettingsService.saveZones(i)}editZone(e){if(e.uuid){const i=this.appSettingsService.getZones(),r=i.findIndex(o=>o.uuid===e.uuid);r>=0&&(i.splice(r,1,e),this.appSettingsService.saveZones(i))}}deleteZone(e){let i=this.appSettingsService.getZones(),r=i.findIndex(o=>o.uuid===e);r>=0&&(i.splice(r,1),this.appSettingsService.saveZones(i))}newUuid(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){var i=16*Math.random()|0;return("x"==e?i:3&i|8).toString(16)})}}return t.\u0275fac=function(e){return new(e||t)(D(hr),D(Al),D(wn))},t.\u0275cmp=Pe({type:t,selectors:[["settings-zones"]],viewQuery:function(e,i){if(1&e&&(Oe(Ph,5),Oe(Hu,5)),2&e){let r;ue(r=de())&&(i.paginator=r.first),ue(r=de())&&(i.sort=r.first)}},decls:39,vars:7,consts:[[1,"mat-typography"],[1,"mat-card-subtitle"],["matInput","","placeholder","Ex: navigation","value","",3,"keyup"],["input",""],[1,"mat-elevation-z8","full-width","table-container"],["matSort","","matSortActive","path","matSortDirection","asc",1,"full-display",3,"dataSource","trackBy"],["matColumnDef","path"],["class","pathHeader","mat-sort-header","",4,"matHeaderCellDef"],["class","pathCell","data-label","Path: ",4,"matCellDef"],["matColumnDef","unit"],["class","dataHeader","mat-sort-header","",4,"matHeaderCellDef"],["class","dataCell","data-label","Unit: ",4,"matCellDef"],["matColumnDef","lower"],["class","dataCell","data-label","Lower: ",4,"matCellDef"],["matColumnDef","upper"],["class","dataCell","data-label","Upper: ",4,"matCellDef"],["matColumnDef","state"],["class","dataCell","data-label","State: ",4,"matCellDef"],["matColumnDef","actions"],["class","actionHeader","mat-sort-header","",4,"matHeaderCellDef"],["class","actionCell",4,"matCellDef"],["class","headerRow",4,"matHeaderRowDef","matHeaderRowDefSticky"],["class","dataRow",4,"matRowDef","matRowDefColumns"],[4,"matNoDataRow"],[1,"paginator"],["pageSize","5",3,"pageSizeOptions"],[1,"formActionFooter"],[1,"formActionDivider"],["type","button","mat-raised-button","","color","accent",1,"formActionButton",3,"click"],["mat-sort-header","",1,"pathHeader"],["data-label","Path: ",1,"pathCell"],["mat-sort-header","",1,"dataHeader"],["data-label","Unit: ",1,"dataCell"],["data-label","Lower: ",1,"dataCell"],["data-label","Upper: ",1,"dataCell"],["data-label","State: ",1,"dataCell"],[3,"ngSwitch"],[4,"ngSwitchCase"],["mat-sort-header","",1,"actionHeader"],[1,"actionCell"],["mat-raised-button","","color","accent",1,"buttons",3,"click"],["mat-raised-button","","color","accent",3,"click"],[1,"headerRow"],[1,"dataRow"]],template:function(e,i){1&e&&(v(0,"div",0)(1,"h1"),M(2,"Zones Configuration"),b(),v(3,"p",1),M(4,"Zones can be used to inform Kip about the state the data it receives. For example is a battery voltage of 12.1V normal, requires attention or is in critical state."),b(),v(5,"mat-form-field")(6,"mat-label"),M(7,"Filter"),b(),v(8,"input",2,3),ne("keyup",function(o){return i.applyFilter(o)}),b()(),v(10,"div",4)(11,"mat-table",5),zi(12,6),$(13,nwe,2,0,"mat-header-cell",7),$(14,iwe,2,1,"mat-cell",8),Wi(),zi(15,9),$(16,rwe,2,0,"mat-header-cell",10),$(17,owe,2,1,"mat-cell",11),Wi(),zi(18,12),$(19,swe,2,0,"mat-header-cell",10),$(20,awe,2,1,"mat-cell",13),Wi(),zi(21,14),$(22,lwe,2,0,"mat-header-cell",10),$(23,cwe,2,1,"mat-cell",15),Wi(),zi(24,16),$(25,uwe,2,0,"mat-header-cell",10),$(26,pwe,5,4,"mat-cell",17),Wi(),zi(27,18),$(28,mwe,1,0,"mat-header-cell",19),$(29,gwe,5,0,"mat-cell",20),Wi(),$(30,_we,1,0,"mat-header-row",21),$(31,vwe,1,0,"mat-row",22),$(32,bwe,2,1,"mat-row",23),b()(),v(33,"div",24),q(34,"mat-paginator",25),b(),v(35,"div",26),q(36,"mat-divider",27),v(37,"button",28),ne("click",function(){return i.openZoneDialog()}),M(38,"Add"),b()()()),2&e&&(I(11),R("dataSource",i.tableData)("trackBy",i.trackByUuid),I(19),R("matHeaderRowDef",i.displayedColumns)("matHeaderRowDefSticky",!0),I(1),R("matRowDefColumns",i.displayedColumns),I(3),R("pageSizeOptions",ji(6,ywe)))},dependencies:[vl,mu,Ji,Fo,Ho,ia,Vu,Fb,fm,Nb,pm,hm,Lb,mm,Ih,Bb,Vb,Hb,Ph,Hu,Gx],styles:[".full-display[_ngcontent-%COMP%]{width:100%;height:100%;position:relative;z-index:500}.full-width[_ngcontent-%COMP%]{width:100%}.buttons[_ngcontent-%COMP%]{margin-right:5px}.pathCell[_ngcontent-%COMP%], .pathHeader[_ngcontent-%COMP%]{flex:1 1 40%}.dataHeader[_ngcontent-%COMP%], .dataCell[_ngcontent-%COMP%]{flex:1 1 8%;justify-content:center}.actionHeader[_ngcontent-%COMP%]{flex:1 1 20%}.actionCell[_ngcontent-%COMP%]{flex:1 1 20%;justify-content:end}@media screen and (max-width: 750px){.pathHeader[_ngcontent-%COMP%], .dataHeader[_ngcontent-%COMP%]{flex:1 1 30%}.actionHeader[_ngcontent-%COMP%]{display:none}.mat-table[_ngcontent-%COMP%] .mat-cell[_ngcontent-%COMP%]:before{content:attr(data-label);float:left;padding-right:5px}mat-row[_ngcontent-%COMP%]:after{min-height:auto;padding-bottom:10px}.dataRow[_ngcontent-%COMP%]{flex-direction:column;align-items:flex-start}.dataCell[_ngcontent-%COMP%], .actionCell[_ngcontent-%COMP%]{margin-left:24px}}"]}),t})(),xwe=(()=>{class t{constructor(e){this.dialogRef=e,this.zoneForm=new _v({upper:new Po(null),lower:new Po(null),state:new Po("0",Ma.required),filterSelfPaths:new Po(!0),path:new _v({path:new Po(null),isPathConfigurable:new Po(!0),convertUnitTo:new Po("unitless"),pathType:new Po("number"),source:new Po(null)})},this.rangeValidationFunction),this.filteredPaths=new bn,this.selectedUnit=null}rangeValidationFunction(e){let i=e.get("upper").value,r=e.get("lower").value;return null===i&&null===r?{needUpperLower:!0}:null}closeForm(){let e={uuid:null,upper:this.zoneForm.get("upper").value,lower:this.zoneForm.get("lower").value,path:this.zoneForm.get("path.path").value,unit:this.zoneForm.get("path.convertUnitTo").value,state:parseInt(this.zoneForm.get("state").value)};this.dialogRef.close(e)}}return t.\u0275fac=function(e){return new(e||t)(D(Fa))},t.\u0275cmp=Pe({type:t,selectors:[["dialog-new-zone"]],inputs:{filterSelfPaths:"filterSelfPaths"},decls:32,vars:5,consts:[["mat-dialog-title",""],[3,"formGroup","ngSubmit"],[1,"flex-container"],["name","filterSelfPaths","formControlName","filterSelfPaths"],[1,"full-width",3,"formGroup","filterSelfPaths"],["appearance","outline","floatLabel","always"],["type","number","matInput","","placeholder","Enter or select number...","name","lower","formControlName","lower"],["type","number","matInput","","placeholder","Enter or select number...","name","upper","formControlName","upper"],["placeholder","Value State","formControlName","state","name","state","required",""],["value","0"],["value","1"],["value","2"],["mat-raised-button","","mat-dialog-close",""],["mat-raised-button","","color","accent","type","submit",3,"disabled"],["style","padding-left: 10px;",4,"ngIf"],[2,"padding-left","10px"]],template:function(e,i){1&e&&(v(0,"h2",0),M(1,"Add Zone"),b(),v(2,"form",1),ne("ngSubmit",function(){return i.closeForm()}),v(3,"mat-dialog-content")(4,"div",2)(5,"mat-checkbox",3),M(6,"Restrict to own vessel"),b(),q(7,"modal-path-selector",4),v(8,"mat-form-field",5)(9,"mat-label"),M(10,"Lower value"),b(),q(11,"input",6),b(),v(12,"mat-form-field",5)(13,"mat-label"),M(14,"Upper value"),b(),q(15,"input",7),b(),v(16,"mat-form-field",5)(17,"mat-label"),M(18,"State"),b(),v(19,"mat-select",8)(20,"mat-option",9),M(21,"Normal"),b(),v(22,"mat-option",10),M(23,"Warning"),b(),v(24,"mat-option",11),M(25,"Alarm"),b()()()()(),v(26,"mat-dialog-actions")(27,"button",12),M(28,"Cancel"),b(),v(29,"button",13),M(30," Add "),b(),$(31,wwe,2,0,"mat-error",14),b()()),2&e&&(I(2),R("formGroup",i.zoneForm),I(5),R("formGroup",i.zoneForm.controls.path)("filterSelfPaths",i.zoneForm.value.filterSelfPaths),I(22),R("disabled",!i.zoneForm.valid),I(2),R("ngIf",i.zoneForm.hasError("needUpperLower")))},dependencies:[ui,ks,ta,wu,xs,ts,na,Ea,Cu,Ji,kh,Fu,Nu,Dh,rm,Fo,Ho,Na,Es,yh,ia,Y6],styles:[K6]}),t})(),kwe=(()=>{class t{constructor(e,i){this.dialogRef=e,this.zone=i}closeForm(){this.dialogRef.close(this.zone)}}return t.\u0275fac=function(e){return new(e||t)(D(Fa),D(Ru))},t.\u0275cmp=Pe({type:t,selectors:[["dialog-edit-zone"]],decls:34,vars:9,consts:[["name","zoneEditForm",3,"ngSubmit"],["zoneEditForm","ngForm"],["mat-dialog-title",""],["appearance","fill","floatLabel","always",1,"full-width"],["type","text","matInput","","placeholder","Enter or select number...","name","path","disabled","",3,"ngModel"],[1,"flex-container"],["appearance","outline","floatLabel","always",1,"leftThirdField"],["type","number","matInput","","placeholder","Enter or select number...","name","lower",3,"ngModel","ngModelChange"],["type","number","matInput","","placeholder","Enter or select number...","name","upper",3,"ngModel","ngModelChange"],["appearance","outline","floatLabel","always",1,"rightThirdField"],["placeholder","Value State","name","state","name","selectedState","required","",3,"ngModel","ngModelChange"],[3,"value"],["mat-raised-button","","mat-dialog-close",""],["mat-raised-button","","color","accent","type","submit",3,"disabled"],["style","padding-left: 10px;",4,"ngIf"],[2,"padding-left","10px"]],template:function(e,i){if(1&e&&(v(0,"form",0,1),ne("ngSubmit",function(){return i.closeForm()}),v(2,"h2",2),M(3,"Edit Zone"),b(),v(4,"mat-dialog-content")(5,"mat-form-field",3)(6,"mat-label"),M(7,"Signal K Path"),b(),q(8,"input",4),b(),v(9,"div",5)(10,"mat-form-field",6)(11,"mat-label"),M(12,"Lower value"),b(),v(13,"input",7),ne("ngModelChange",function(o){return i.zone.lower=o}),b()(),v(14,"mat-form-field",6)(15,"mat-label"),M(16,"Upper value"),b(),v(17,"input",8),ne("ngModelChange",function(o){return i.zone.upper=o}),b()(),v(18,"mat-form-field",9)(19,"mat-label"),M(20,"State"),b(),v(21,"mat-select",10),ne("ngModelChange",function(o){return i.zone.state=o}),v(22,"mat-option",11),M(23,"Normal"),b(),v(24,"mat-option",11),M(25,"Warning"),b(),v(26,"mat-option",11),M(27,"Alarm"),b()()()()(),v(28,"mat-dialog-actions")(29,"button",12),M(30,"Cancel"),b(),v(31,"button",13),M(32,"Save"),b(),$(33,Cwe,2,0,"mat-error",14),b()()),2&e){const r=yi(1);I(8),R("ngModel",i.zone.path),I(5),R("ngModel",i.zone.lower),I(4),R("ngModel",i.zone.upper),I(4),R("ngModel",i.zone.state),I(1),R("value",0),I(2),R("value",1),I(2),R("value",2),I(5),R("disabled",!r.valid||!i.zone.lower&&!i.zone.upper),I(2),R("ngIf",!i.zone.lower&&!i.zone.upper)}},dependencies:[ui,ks,ta,wu,xs,ts,na,Sl,ns,Ji,kh,Fu,Nu,Dh,rm,Fo,Ho,Na,Es,ia],styles:[K6]}),t})();const Dwe=function(){return{standalone:!1}},Bc=function(){return{standalone:!0}};let Mwe=(()=>{class t{constructor(e,i,r){this.notifications=e,this.app=i,this.settings=r}ngOnInit(){this.notificationConfig=this.settings.getNotificationConfig(),this.autoNightModeConfig=this.app.autoNightMode}saveAllSettings(){try{this.saveNotificationsSettings(),this.saveAutoNightMode(),this.notifications.sendSnackbarNotification("General settings saved",5e3,!1)}catch(e){this.notifications.sendSnackbarNotification("Error saving settings: "+e,5e3,!1)}}saveNotificationsSettings(){this.settings.setNotificationConfig(this.notificationConfig)}saveAutoNightMode(){this.app.autoNightModeConfig=this.autoNightModeConfig}isAutoNightPathSupported(e){e.checked&&(this.app.validateAutoNighModeSupported()||(this.autoNightModeConfig=!1))}}return t.\u0275fac=function(e){return new(e||t)(D(As),D(j6),D(hr))},t.\u0275cmp=Pe({type:t,selectors:[["settings-general"]],decls:66,vars:27,consts:[[1,"mat-typography"],["name","GeneraSetting"],["general","ngForm"],["name","autoNightMode",3,"ngModel","ngModelOptions","ngModelChange","change"],[1,"mat-card-subtitle"],["name","disableNotifications",3,"ngModel","ngModelOptions","ngModelChange"],["expanded","true"],[3,"ngModel","ngModelOptions","ngModelChange"],["expanded","false"],[1,"formActionFooter"],[1,"formActionDivider"],["mat-raised-button","","color","accent",1,"formActionButton",3,"click"]],template:function(e,i){1&e&&(v(0,"div",0)(1,"form",1,2)(3,"h2"),M(4,"Night Vision"),b(),v(5,"mat-checkbox",3),ne("ngModelChange",function(o){return i.autoNightModeConfig=o})("change",function(o){return i.isAutoNightPathSupported(o)}),M(6,"Automatically change between Day and Night display modes based on sun phases"),b(),q(7,"br")(8,"br"),v(9,"h2"),M(10,"Notifications"),b(),v(11,"p",4),M(12,"Notifications are a special type of data sent from Signal K and displayed in the notification menu. They are meant to alert or inform operators. Set server notification preferences such as types of messages to display and audio prompts."),b(),v(13,"mat-slide-toggle",5),ne("ngModelChange",function(o){return i.notificationConfig.disableNotifications=o}),M(14,"Disable All Notifications"),b(),v(15,"mat-accordion")(16,"mat-expansion-panel",6)(17,"mat-expansion-panel-header")(18,"mat-panel-title"),M(19," Messages "),b(),v(20,"mat-panel-description"),M(21," Control what messages the server will send "),b()(),v(22,"mat-checkbox",7),ne("ngModelChange",function(o){return i.notificationConfig.devices.showNormalState=o}),M(23,"Show Devices Informational notifications"),b()(),v(24,"mat-expansion-panel",8)(25,"mat-expansion-panel-header")(26,"mat-panel-title"),M(27," Audio "),b(),v(28,"mat-panel-description"),M(29," Configure sound options "),b()(),v(30,"mat-checkbox",7),ne("ngModelChange",function(o){return i.notificationConfig.sound.disableSound=o}),M(31,"Disable All Audio notification"),b(),q(32,"br"),v(33,"mat-checkbox",7),ne("ngModelChange",function(o){return i.notificationConfig.sound.muteNormal=o}),M(34,"Disable "),v(35,"b"),M(36,"Information"),b(),M(37," notifications"),b(),q(38,"br"),v(39,"mat-checkbox",7),ne("ngModelChange",function(o){return i.notificationConfig.sound.muteAlert=o}),M(40,"Disable "),v(41,"b"),M(42,"Alert Severity"),b(),M(43," notifications"),b(),q(44,"br"),v(45,"mat-checkbox",7),ne("ngModelChange",function(o){return i.notificationConfig.sound.muteWarning=o}),M(46,"Disable "),v(47,"b"),M(48,"Warning"),b(),M(49," notifications"),b(),q(50,"br"),v(51,"mat-checkbox",7),ne("ngModelChange",function(o){return i.notificationConfig.sound.muteAlarm=o}),M(52,"Disable "),v(53,"b"),M(54,"Alarm Severity"),b(),M(55," notifications"),b(),q(56,"br"),v(57,"mat-checkbox",7),ne("ngModelChange",function(o){return i.notificationConfig.sound.muteEmergency=o}),M(58,"Disable "),v(59,"b"),M(60,"Emergency Severity"),b(),M(61," notifications"),b()()(),v(62,"div",9),q(63,"mat-divider",10),v(64,"button",11),ne("click",function(){return i.saveAllSettings()}),M(65,"Save"),b()()()()),2&e&&(I(5),R("ngModel",i.autoNightModeConfig)("ngModelOptions",ji(18,Dwe)),I(8),R("ngModel",i.notificationConfig.disableNotifications)("ngModelOptions",ji(19,Bc)),I(9),R("ngModel",i.notificationConfig.devices.showNormalState)("ngModelOptions",ji(20,Bc)),I(8),R("ngModel",i.notificationConfig.sound.disableSound)("ngModelOptions",ji(21,Bc)),I(3),R("ngModel",i.notificationConfig.sound.muteNormal)("ngModelOptions",ji(22,Bc)),I(6),R("ngModel",i.notificationConfig.sound.muteAlert)("ngModelOptions",ji(23,Bc)),I(6),R("ngModel",i.notificationConfig.sound.muteWarning)("ngModelOptions",ji(24,Bc)),I(6),R("ngModel",i.notificationConfig.sound.muteAlarm)("ngModelOptions",ji(25,Bc)),I(6),R("ngModel",i.notificationConfig.sound.muteEmergency)("ngModelOptions",ji(26,Bc)))},dependencies:[ks,xs,ts,Sl,ns,Ji,yh,iN,fb,pb,nN,tN,Ex,Vu]}),t})(),Twe=(()=>{class t{constructor(){}ngOnInit(){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Pe({type:t,selectors:[["settings-tabs"]],decls:13,vars:0,consts:[[1,"tabGroups"],["label","Signal K"],[1,"tabGroupPanel"],["label","General"],["label","Units"],["label","Zones"],["label","Historical Data"],["label","Storage"]],template:function(e,i){1&e&&(v(0,"mat-tab-group",0)(1,"mat-tab",1),q(2,"settings-signalk",2),b(),v(3,"mat-tab",3),q(4,"settings-general",2),b(),v(5,"mat-tab",4),q(6,"settings-units",2),b(),v(7,"mat-tab",5),q(8,"settings-zones",2),b(),v(9,"mat-tab",6),q(10,"settings-datasets",2),b(),v(11,"mat-tab",7),q(12,"settings-config",2),b()())},dependencies:[kb,cm,s0e,C0e,z0e,U0e,Swe,Mwe],encapsulation:2}),t})(),Z6=(()=>{class t{constructor(e){this.viewContainerRef=e}}return t.\u0275fac=function(e){return new(e||t)(D(wi))},t.\u0275dir=fe({type:t,selectors:[["","dynamic-widget",""]]}),t})(),Ewe=(()=>{class t{transform(e,i){return Object.keys(e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=Lr({name:"objectKeys",type:t,pure:!0}),t})();function Awe(t,n){1&t&&(v(0,"mat-form-field",15)(1,"mat-label"),M(2,"URL"),b(),q(3,"input",16),b())}function Owe(t,n){1&t&&(v(0,"mat-form-field",15)(1,"mat-label"),M(2,"Widget Label"),b(),q(3,"input",17),b())}function Iwe(t,n){1&t&&(v(0,"div",6)(1,"mat-form-field",18)(2,"mat-label"),M(3,"Minimum Integer Places"),b(),q(4,"input",19),b(),v(5,"mat-form-field",20)(6,"mat-label"),M(7,"Minimum of Decimals"),b(),q(8,"input",21),b()())}function Pwe(t,n){1&t&&(v(0,"div",22)(1,"mat-checkbox",23),M(2," Show Max recorded value "),b()())}function Rwe(t,n){1&t&&(v(0,"div",24)(1,"mat-checkbox",25),M(2," Show Min recorded value "),b()())}function Fwe(t,n){1&t&&(v(0,"div",6)(1,"mat-form-field",26)(2,"mat-label"),M(3,"Date format"),b(),q(4,"input",27),b()())}function Nwe(t,n){1&t&&(v(0,"div",6)(1,"mat-form-field",26)(2,"mat-label"),M(3,"Timezone"),b(),q(4,"input",28),b()())}function Lwe(t,n){1&t&&(v(0,"div",6)(1,"mat-form-field",18)(2,"mat-label"),M(3,"Layline Angle"),b(),q(4,"input",29),b(),v(5,"mat-checkbox",30),M(6," Show Laylines "),b()())}function Bwe(t,n){1&t&&(v(0,"div",6)(1,"mat-form-field",18)(2,"mat-label"),M(3,"Wind Sector Duration"),b(),q(4,"input",31),b(),v(5,"mat-checkbox",32),M(6," Show Wind Sectors "),b()())}function Vwe(t,n){1&t&&(v(0,"div",6)(1,"mat-form-field",18)(2,"mat-label"),M(3,"Minimum Value"),b(),q(4,"input",33),b(),v(5,"mat-form-field",20)(6,"mat-label"),M(7,"Maximum Value"),b(),q(8,"input",34),b()())}function Hwe(t,n){1&t&&(v(0,"div",6)(1,"mat-form-field",18)(2,"mat-label"),M(3,"Background Style"),b(),v(4,"mat-select",35)(5,"mat-option",36),M(6,"Dark Gray"),b(),v(7,"mat-option",37),M(8,"Satin Gray"),b(),v(9,"mat-option",38),M(10,"Light Gray"),b(),v(11,"mat-option",39),M(12,"White"),b(),v(13,"mat-option",40),M(14,"Black"),b(),v(15,"mat-option",41),M(16,"Beige"),b(),v(17,"mat-option",42),M(18,"Brown"),b(),v(19,"mat-option",43),M(20,"Red"),b(),v(21,"mat-option",44),M(22,"Green"),b(),v(23,"mat-option",45),M(24,"Blue"),b(),v(25,"mat-option",46),M(26,"Anthracite"),b(),v(27,"mat-option",47),M(28,"Mud"),b(),v(29,"mat-option",48),M(30,"Punched Sheet"),b(),v(31,"mat-option",49),M(32,"Carbon"),b(),v(33,"mat-option",50),M(34,"Stainless"),b(),v(35,"mat-option",51),M(36,"Brushed Metal"),b(),v(37,"mat-option",52),M(38,"Brushed Stainless"),b(),v(39,"mat-option",53),M(40,"Turned"),b()()(),v(41,"mat-form-field",20)(42,"mat-label"),M(43,"Frame Style"),b(),v(44,"mat-select",54)(45,"mat-option",55),M(46,"Black Metal"),b(),v(47,"mat-option",56),M(48,"Metal"),b(),v(49,"mat-option",57),M(50,"Shiny Metal"),b(),v(51,"mat-option",58),M(52,"Brass"),b(),v(53,"mat-option",59),M(54,"Steel"),b(),v(55,"mat-option",60),M(56,"Chrome"),b(),v(57,"mat-option",61),M(58,"Gold"),b(),v(59,"mat-option",46),M(60,"Anthracite"),b(),v(61,"mat-option",62),M(62,"Tilted Gray"),b(),v(63,"mat-option",63),M(64,"Tilted Black"),b(),v(65,"mat-option",64),M(66,"Glossy Metal"),b()()()())}function zwe(t,n){1&t&&(v(0,"mat-option",70),M(1,"No Progress"),b())}function Wwe(t,n){if(1&t&&(v(0,"div",6)(1,"mat-form-field",15)(2,"mat-label"),M(3,"Color"),b(),v(4,"mat-select",65)(5,"mat-option",66),M(6,"Primary Color"),b(),v(7,"mat-option",67),M(8,"Accent Color"),b(),v(9,"mat-option",68),M(10,"Warn Color"),b(),$(11,zwe,2,0,"mat-option",69),b()()()),2&t){const e=re();I(11),R("ngIf","ngLinearVertical"==e.widgetConfig.gaugeType||"ngLinearHorizontal"==e.widgetConfig.gaugeType)}}function jwe(t,n){1&t&&q(0,"span",76)}function Uwe(t,n){1&t&&($(0,jwe,1,0,"span",75),M(1," Paths ")),2&t&&R("ngIf",!re(2).formMaster.controls.paths.valid)}function Gwe(t,n){if(1&t&&q(0,"modal-path-selector",77),2&t){const e=n.$implicit,i=re(2);R("formGroup",i.formMaster.controls.paths.get(e))("filterSelfPaths",i.formMaster.value.filterSelfPaths)}}function $we(t,n){if(1&t&&(v(0,"mat-tab",71),$(1,Uwe,2,1,"ng-template",72),$(2,Gwe,1,2,"modal-path-selector",73),es(3,"objectKeys"),v(4,"mat-checkbox",74),M(5,"Restrict to own vessel"),b()()),2&t){const e=re();I(2),R("ngForOf",Ca(3,1,e.formMaster.controls.paths.controls))}}function qwe(t,n){1&t&&(v(0,"mat-tab",78)(1,"div",3)(2,"mat-form-field",15)(3,"mat-label"),M(4,"Unit Label Options"),b(),v(5,"mat-select",79)(6,"mat-option",80),M(7,"Full Label"),b(),v(8,"mat-option",81),M(9,"First Letter Only"),b()()()()())}function Ywe(t,n){1&t&&(v(0,"p")(1,"label",89),M(2,"Tick Labels:"),b(),v(3,"mat-radio-group",90)(4,"mat-radio-button",91),M(5,"N/E/S/W"),b(),v(6,"mat-radio-button",91),M(7,"0/90/180/270"),b()()()),2&t&&(I(4),R("value",!1),I(2),R("value",!0))}const Kwe=function(){return["marineCompass","baseplateCompass"]};function Zwe(t,n){if(1&t&&(v(0,"mat-tab",78)(1,"div",3)(2,"p")(3,"label",82),M(4,"Radial Gauge type:"),b(),v(5,"mat-radio-group",83)(6,"mat-radio-button",84),M(7,"Measuring"),b(),v(8,"mat-radio-button",85),M(9,"Capacity"),b(),v(10,"mat-radio-button",86),M(11,"Marine Compass"),b(),v(12,"mat-radio-button",87),M(13,"Baseplate Compass"),b()()(),$(14,Ywe,8,2,"p",88),b()()),2&t){const e=re();I(14),R("ngIf",ji(1,Kwe).indexOf(e.formMaster.controls.radialSize.value)>-1)}}function Qwe(t,n){1&t&&(v(0,"mat-tab",78)(1,"div",3)(2,"mat-form-field",15)(3,"mat-label"),M(4,"Gauge Type"),b(),v(5,"mat-select",92)(6,"mat-option",93),M(7,"Vertical layout"),b(),v(8,"mat-option",94),M(9,"Horizontal layout"),b()()(),v(10,"p")(11,"mat-checkbox",95),M(12," Display Gauge Ticks "),b()()()())}function Xwe(t,n){1&t&&(v(0,"mat-radio-group",100)(1,"mat-radio-button",101),M(2,"1/4"),b(),v(3,"mat-radio-button",102),M(4,"1/2"),b(),v(5,"mat-radio-button",103),M(6,"3/4"),b(),v(7,"mat-radio-button",80),M(8,"Full"),b()())}function Jwe(t,n){if(1&t&&(v(0,"p"),$(1,Xwe,9,0,"mat-radio-group",99),b()),2&t){const e=re(2);I(1),R("ngIf","radial"==e.formMaster.controls.gaugeType.value)}}function e1e(t,n){if(1&t&&(v(0,"mat-tab",78)(1,"div",3)(2,"mat-form-field",15)(3,"mat-label"),M(4,"Gauge Type"),b(),v(5,"mat-select",92)(6,"mat-option",96),M(7,"Linear"),b(),v(8,"mat-option",97),M(9,"Radial"),b()()(),v(10,"p")(11,"mat-checkbox",98),M(12," Digital display "),b()(),$(13,Jwe,2,1,"p",88),b()()),2&t){const e=re();I(13),R("ngIf","radial"==e.formMaster.controls.gaugeType.value)}}function t1e(t,n){1&t&&(v(0,"p")(1,"mat-checkbox",107),M(2," Value to send on button push (checked = on, unchecked = off) "),b()())}function n1e(t,n){if(1&t&&(v(0,"mat-tab",104)(1,"div",3)(2,"p")(3,"mat-checkbox",105),M(4," Enable Put Requests "),b()(),v(5,"p")(6,"mat-checkbox",106),M(7," Momentary mode (instead of switching between on/off) "),b()(),$(8,t1e,3,0,"p",88),b()()),2&t){const e=re();I(8),R("ngIf",e.formMaster.controls.putMomentary.value)}}function i1e(t,n){1&t&&q(0,"span",76)}function r1e(t,n){1&t&&($(0,i1e,1,0,"span",75),M(1," Dataset ")),2&t&&R("ngIf",!re(2).formMaster.controls.dataSetUUID.valid)}function o1e(t,n){if(1&t&&(v(0,"mat-option",118),M(1),b()),2&t){const e=n.$implicit;R("value",e.uuid),I(1),vn(" ",e.name," ")}}function s1e(t,n){if(1&t&&(v(0,"mat-option",118),M(1),b()),2&t){const e=n.$implicit;R("value",e.measure),I(1),vn(" ",e.description," ")}}function a1e(t,n){if(1&t&&(v(0,"mat-optgroup",119),$(1,s1e,2,2,"mat-option",110),b()),2&t){const e=n.$implicit;R("label",e.group),I(1),R("ngForOf",e.units)}}function l1e(t,n){if(1&t&&(v(0,"mat-tab",108),$(1,r1e,2,1,"ng-template",72),v(2,"div",3)(3,"mat-form-field",15)(4,"mat-label"),M(5,"Configured Datasets"),b(),v(6,"mat-select",109),$(7,o1e,2,2,"mat-option",110),b()(),v(8,"mat-form-field",111)(9,"mat-label"),M(10,"Display Format"),b(),v(11,"mat-select",112),$(12,a1e,2,2,"mat-optgroup",113),b()(),v(13,"p")(14,"mat-checkbox",114),M(15," Show vertical graph "),b()(),v(16,"p")(17,"mat-checkbox",115),M(18," Invert Data (multiply by -1) "),b()(),v(19,"p")(20,"mat-checkbox",116),M(21," Display Min/Max value "),b()(),v(22,"p")(23,"mat-checkbox",117),M(24," Y axis always start from zero "),b()()()()),2&t){const e=re();I(7),R("ngForOf",e.availableDataSets),I(5),R("ngForOf",e.unitList.conversions)}}let c1e=(()=>{class t{constructor(e,i,r,o){this.dialogRef=e,this.DataSetService=i,this.signalKService=r,this.widgetConfig=o,this.titleDialog="Widget Options",this.unitList={}}ngOnInit(){this.availableDataSets=this.DataSetService.getDataSets().sort(),this.unitList=this.signalKService.getConversionsForPath(""),this.formMaster=this.generateFormGroups(this.widgetConfig),this.formMaster.updateValueAndValidity()}generateFormGroups(e,i){let r=new _v({});return Object.keys(e).forEach(o=>{if("object"==typeof e[o]&&null!==e[o])"paths"===i?this.widgetConfig.paths[o].isPathConfigurable&&r.addControl(o,this.generateFormGroups(e[o],o)):r.addControl(o,this.generateFormGroups(e[o],o));else if("convertUnitTo"==i)("number"==this.widgetConfig.paths[o].pathType||"datasetUUID"in this.widgetConfig)&&r.addControl(o,new Po(e[o]));else switch(o){case"path":case"dataSetUUID":r.addControl(o,new Po(e[o],Ma.required));break;default:r.addControl(o,new Po(e[o]))}}),r}submitConfig(){this.dialogRef.close(this.formMaster.value)}}return t.\u0275fac=function(e){return new(e||t)(D(Fa),D(Dm),D(ra),D(Ru))},t.\u0275cmp=Pe({type:t,selectors:[["modal-widget-config"]],decls:33,vars:22,consts:[[3,"formGroup","ngSubmit"],["mat-dialog-title",""],["label","Display"],[1,"tab-content"],["class","full-width","appearance","outline","floatLabel","always",4,"ngIf"],["class","full-width",4,"ngIf"],[1,"full-width"],["class","minField",4,"ngIf"],["class","maxField",4,"ngIf"],["label","Paths",4,"ngIf"],["label","Settings",4,"ngIf"],["label","Put Request",4,"ngIf"],["label","Dataset",4,"ngIf"],["type","button","mat-dialog-close","","mat-raised-button",""],["mat-raised-button","","color","accent","type","submit",3,"disabled"],["appearance","outline","floatLabel","always",1,"full-width"],["type","url","matInput","","placeholder","Enter URL to page/resource","name","widgetUrl","formControlName","widgetUrl"],["matInput","","placeholder","Enter a label to display","name","displayName","formControlName","displayName"],["appearance","outline","floatLabel","always",1,"minField"],["type","number","min","0","max","5","matInput","","placeholder","Enter or select number...","name","numInt","formControlName","numInt"],["appearance","outline","floatLabel","always",1,"maxField"],["type","number","min","0","max","5","matInput","","placeholder","Enter or select number...","name","numDecimal","formControlName","numDecimal"],[1,"minField"],["name","showMax","formControlName","showMax"],[1,"maxField"],["name","showMin","formControlName","showMin"],["appearance","outline","floatLabel","always",1,"dateFormat"],["matInput","","placeholder","dd/MM/yyyy HH:mm:ss","name","dateFormat","formControlName","dateFormat"],["matInput","","placeholder","es: +0430 | Europe/Rome","name","dateTimezone","formControlName","dateTimezone"],["type","number","min","10","max","90","matInput","","placeholder","Select angle...","name","laylineAngle","formControlName","laylineAngle"],["name","laylineEnable","formControlName","laylineEnable"],["type","number","min","1","max","90","matInput","","placeholder","Select or enter duration...","name","windSectorWindowSeconds","formControlName","windSectorWindowSeconds"],["name","windSectorEnable","formControlName","windSectorEnable"],["matInput","","type","number","name","minValue","formControlName","minValue","placeholder","Enter or select number..."],["matInput","","type","number","name","maxValue","formControlName","maxValue","placeholder","Enter or select number..."],["placeholder","Select style...","formControlName","backgroundColor","name","backgroundColor"],["value","darkGray"],["value","satinGray"],["value","lightGray"],["value","white"],["value","black"],["value","beige"],["value","brown"],["value","red"],["value","green"],["value","blue"],["value","anthracite"],["value","mud"],["value","punchedSheet"],["value","carbon"],["value","stainless"],["value","brushedMetal"],["value","brushedStainless"],["value","turned"],["placeholder","Select style...","formControlName","frameColor","name","frameColor"],["value","blackMetal"],["value","metal"],["value","shinyMetal"],["value","brass"],["value","steel"],["value","chrome"],["value","gold"],["value","tiltedGray"],["value","tiltedBlack"],["value","glossyMetal"],["placeholder","Select Theme Color","formControlName","barColor","name","barColor"],["value","primary"],["value","accent"],["value","warn"],["value","nobar",4,"ngIf"],["value","nobar"],["label","Paths"],["mat-tab-label",""],["class","full-width",3,"formGroup","filterSelfPaths",4,"ngFor","ngForOf"],["name","filterSelfPaths","formControlName","filterSelfPaths"],["class","warning fa fa-exclamation-circle",4,"ngIf"],[1,"warning","fa","fa-exclamation-circle"],[1,"full-width",3,"formGroup","filterSelfPaths"],["label","Settings"],["placeholder","Select label format","formControlName","gaugeUnitLabelFormat","name","gaugeUnitLabelFormat"],["value","full"],["value","abr"],["id","radial-type-label"],["aria-labelledby","radial-type-label","name","radialSize","formControlName","radialSize",1,"radio-group"],["value","measuring",1,"radio-button"],["value","capacity",1,"radio-button"],["value","marineCompass",1,"radio-button"],["value","baseplateCompass",1,"radio-button"],[4,"ngIf"],["id","tick-type-label"],["aria-labelledby","tick-type-label","name","compassUseNumbers","formControlName","compassUseNumbers",1,"radio-group"],[1,"radio-button",3,"value"],["placeholder","Select type...","formControlName","gaugeType","name","gaugeType"],["value","ngLinearVertical"],["value","ngLinearHorizontal"],["formControlName","gaugeTicks","name","gaugeTicks"],["value","linear"],["value","radial"],["formControlName","barGraph","name","barGraph"],["name","radialSize","formControlName","radialSize",4,"ngIf"],["name","radialSize","formControlName","radialSize"],["value","quarter"],["value","half"],["value","three-quarter"],["label","Put Request"],["formControlName","putEnable","name","putEnable"],["formControlName","putMomentary","name","putMomentary"],["formControlName","putMomentaryValue","name","putMomentaryValue"],["label","Dataset"],["placeholder","Select dataset to use...","formControlName","dataSetUUID","name","dataSetUUID","required",""],[3,"value",4,"ngFor","ngForOf"],["appearance","outline","floatLabel","always",1,"unitField"],["placeholder","Select unit","formControlName","convertUnitTo","disableRipple","","required",""],[3,"label",4,"ngFor","ngForOf"],["formControlName","verticalGraph","name","verticalGraph"],["formControlName","invertData","name","invertData"],["formControlName","displayMinMax","name","displayMinMax"],["formControlName","includeZero","name","includeZero"],[3,"value"],[3,"label"]],template:function(e,i){1&e&&(v(0,"form",0),ne("ngSubmit",function(){return i.submitConfig()}),v(1,"span",1),M(2),b(),v(3,"mat-dialog-content")(4,"mat-tab-group")(5,"mat-tab",2)(6,"div",3),$(7,Awe,4,0,"mat-form-field",4),$(8,Owe,4,0,"mat-form-field",4),$(9,Iwe,9,0,"div",5),v(10,"div",6),$(11,Pwe,3,0,"div",7),$(12,Rwe,3,0,"div",8),b(),v(13,"div",6),$(14,Fwe,5,0,"div",5),$(15,Nwe,5,0,"div",5),b(),$(16,Lwe,7,0,"div",5),$(17,Bwe,7,0,"div",5),$(18,Vwe,9,0,"div",5),$(19,Hwe,67,0,"div",5),$(20,Wwe,12,1,"div",5),b()(),$(21,$we,6,3,"mat-tab",9),$(22,qwe,10,0,"mat-tab",10),$(23,Zwe,15,2,"mat-tab",10),$(24,Qwe,13,0,"mat-tab",10),$(25,e1e,14,1,"mat-tab",10),$(26,n1e,9,1,"mat-tab",11),$(27,l1e,25,2,"mat-tab",12),b()(),v(28,"mat-dialog-actions")(29,"button",13),M(30,"Cancel"),b(),v(31,"button",14),M(32,"Save"),b()()()),2&e&&(R("formGroup",i.formMaster),I(2),Qn(i.titleDialog),I(5),R("ngIf",void 0!==i.widgetConfig.widgetUrl),I(1),R("ngIf",void 0!==i.widgetConfig.displayName),I(1),R("ngIf",void 0!==i.widgetConfig.numInt),I(2),R("ngIf",void 0!==i.widgetConfig.showMax),I(1),R("ngIf",void 0!==i.widgetConfig.showMin),I(2),R("ngIf",void 0!==i.widgetConfig.dateFormat),I(1),R("ngIf",void 0!==i.widgetConfig.dateTimezone),I(1),R("ngIf",void 0!==i.widgetConfig.laylineEnable),I(1),R("ngIf",void 0!==i.widgetConfig.windSectorEnable),I(1),R("ngIf",void 0!==i.widgetConfig.minValue),I(1),R("ngIf",void 0!==i.widgetConfig.backgroundColor&&("linear"==i.widgetConfig.gaugeType||"radial"==i.widgetConfig.gaugeType)),I(1),R("ngIf",void 0!==i.widgetConfig.barColor),I(1),R("ngIf",void 0!==i.widgetConfig.paths),I(1),R("ngIf","simpleLinear"==i.widgetConfig.gaugeType),I(1),R("ngIf","ngRadial"==i.widgetConfig.gaugeType),I(1),R("ngIf","ngLinearVertical"==i.widgetConfig.gaugeType||"ngLinearHorizontal"==i.widgetConfig.gaugeType),I(1),R("ngIf","linear"==i.widgetConfig.gaugeType||"radial"==i.widgetConfig.gaugeType),I(1),R("ngIf",void 0!==i.widgetConfig.putEnable),I(1),R("ngIf",void 0!==i.widgetConfig.dataSetUUID),I(4),R("disabled",!i.formMaster.valid))},dependencies:[Eo,ui,ks,ta,wu,xs,ts,na,cS,lS,Ea,Cu,Ji,kh,Fu,Nu,Dh,Fo,Ho,Na,Es,cx,yh,Mx,Tx,kb,yne,cm,ia,Y6,Ewe],styles:[".warning[_ngcontent-%COMP%]{color:red}.full-width[_ngcontent-%COMP%]{width:100%}.half-width[_ngcontent-%COMP%]{width:49%}.mat-radio-button[_ngcontent-%COMP%] ~ .mat-radio-button[_ngcontent-%COMP%]{margin-left:16px}.minField[_ngcontent-%COMP%]{display:inline-block;width:calc(50% - 15px);padding-right:30px}.maxField[_ngcontent-%COMP%]{display:inline-block;width:calc(50% - 15px)}.radio-group[_ngcontent-%COMP%]{display:flex;flex-direction:column;margin:15px 0}.radio-button[_ngcontent-%COMP%]{margin-left:16px}.tab-content[_ngcontent-%COMP%]{margin-top:20px}"]}),t})();const u1e=["primary"],d1e=["accent"],h1e=["warn"],f1e=["primaryDark"],p1e=["accentDark"],m1e=["warnDark"],g1e=["background"],_1e=["text"];function v1e(t,n){}function b1e(t,n){if(1&t){const e=Zn();v(0,"button",21),ne("click",function(){return ut(e),lt(re().selectWidget())}),q(1,"span",22),b()}}function y1e(t,n){if(1&t){const e=Zn();v(0,"div",23)(1,"button",21),ne("click",function(){return ut(e),lt(re().openWidgetSettings())}),q(2,"span",24),b()()}}function w1e(t,n){if(1&t&&(v(0,"mat-option",11),M(1),b()),2&t){const e=n.$implicit;R("value",e.name),I(1),vn(" ",e.description," ")}}function C1e(t,n){if(1&t){const e=Zn();v(0,"mat-tab",6)(1,"div",7)(2,"mat-form-field",8)(3,"mat-label"),M(4,"Widget Type"),b(),v(5,"mat-select",9),ne("ngModelChange",function(r){return ut(e),lt(re().newWidget=r)}),$(6,w1e,2,2,"mat-option",10),b()()()()}if(2&t){const e=n.$implicit,i=re();R("label",e.key),I(5),R("ngModel",i.newWidget),I(1),R("ngForOf",e.value)}}const Q6=".dynamicWidgetContainer[_ngcontent-%COMP%]{position:relative;width:100%;height:100%}.mat-card[_ngcontent-%COMP%]{display:block;position:absolute!important;width:calc(100% - 4px);height:calc(100% - 5px);margin:3px auto auto 2px;padding:0;transition:none;transition-property:none}.selectWidgetMenu[_ngcontent-%COMP%]{position:absolute;right:5%;bottom:5%}.settingsButton[_ngcontent-%COMP%]{position:absolute;bottom:5%;left:50%;transform:translate(-50%)}.mat-select-trigger[_ngcontent-%COMP%]{min-width:30px!important}.full-width[_ngcontent-%COMP%]{width:100%}";let S1e=(()=>{class t{constructor(e,i,r,o){this.dialog=e,this.appSettingsService=i,this.WidgetManagerService=r,this.widgetListService=o,this.themeNameSub=null,this.themeColor={primary:"",accent:"",warn:"",primaryDark:"",accentDark:"",warnDark:"",background:"",text:""}}ngOnInit(){this.subscribeTheme()}loadTheme(){this.themeColor.primary=getComputedStyle(this.primary.nativeElement).color,this.themeColor.accent=getComputedStyle(this.accent.nativeElement).color,this.themeColor.warn=getComputedStyle(this.warn.nativeElement).color,this.themeColor.primaryDark=getComputedStyle(this.primaryDark.nativeElement).color,this.themeColor.accentDark=getComputedStyle(this.accentDark.nativeElement).color,this.themeColor.warnDark=getComputedStyle(this.warnDark.nativeElement).color,this.themeColor.background=getComputedStyle(this.background.nativeElement).color,this.themeColor.text=getComputedStyle(this.text.nativeElement).color}ngOnChanges(e){e.splitUUID&&!e.splitUUID.firstChange&&this.instanciateWidget(),e.unlockStatus&&!e.unlockStatus.firstChange&&"WidgetTutorial"==this.splitWidgetSettings.type&&(this.widgetInstance.unlockStatus=this.unlockStatus)}ngOnDestroy(){this.unsubscribeTheme()}instanciateWidget(){this.splitWidgetSettings=null,this.splitWidgetSettings=Wh(this.WidgetManagerService.getWidget(this.splitUUID));const e=this.widgetListService.getComponentName(this.splitWidgetSettings.type);this.widgetInstance=null,this.dynamicWidgetContainerRef.clear();const i=this.dynamicWidgetContainerRef.createComponent(e);this.widgetInstance=i.instance,null==this.splitWidgetSettings.config&&this.loadWidgetDefaults(),i.setInput("widgetProperties",this.splitWidgetSettings),i.setInput("theme",this.themeColor),"WidgetTutorial"==this.splitWidgetSettings.type&&i.setInput("unlockStatus",this.unlockStatus)}selectWidget(){this.dialog.open(x1e,{data:{currentType:this.splitWidgetSettings.type}}).afterClosed().subscribe(i=>{let r=this.widgetListService.getList();for(let[o,s]of Object.entries(r))s.findIndex(a=>a.name==i)>=0&&this.splitWidgetSettings.type!=i&&(this.WidgetManagerService.updateWidgetType(this.splitUUID,i),this.instanciateWidget())})}openWidgetSettings(){this.dialog.open(c1e,{width:"80%",data:{...this.splitWidgetSettings.config}}).afterClosed().subscribe(i=>{if(i){if(null!=i.paths){var o={...{...this.splitWidgetSettings.config.paths},...i.paths};this.splitWidgetSettings.config=Wh(i),this.splitWidgetSettings.config.paths={...o}}else this.splitWidgetSettings.config=Wh(i);this.WidgetManagerService.updateWidgetConfig(this.splitWidgetSettings.uuid,this.splitWidgetSettings.config),this.instanciateWidget()}})}loadWidgetDefaults(){this.WidgetManagerService.updateWidgetConfig(this.splitWidgetSettings.uuid,{...this.widgetInstance.defaultConfig}),this.splitWidgetSettings.config=this.widgetInstance.defaultConfig}subscribeTheme(){this.themeNameSub=this.appSettingsService.getThemeNameAsO().subscribe(e=>{setTimeout(()=>{this.loadTheme(),this.instanciateWidget()},50)})}unsubscribeTheme(){null!==this.themeNameSub&&(this.themeNameSub.unsubscribe(),this.themeNameSub=null)}}return t.\u0275fac=function(e){return new(e||t)(D(Al),D(hr),D(Jb),D(uD))},t.\u0275cmp=Pe({type:t,selectors:[["app-dynamic-widget-container"]],viewQuery:function(e,i){if(1&e&&(Oe(Z6,7,wi),Oe(u1e,7,xe),Oe(d1e,7,xe),Oe(h1e,7,xe),Oe(f1e,7,xe),Oe(p1e,7,xe),Oe(m1e,7,xe),Oe(g1e,7,xe),Oe(_1e,7,xe)),2&e){let r;ue(r=de())&&(i.dynamicWidgetContainerRef=r.first),ue(r=de())&&(i.primary=r.first),ue(r=de())&&(i.accent=r.first),ue(r=de())&&(i.warn=r.first),ue(r=de())&&(i.primaryDark=r.first),ue(r=de())&&(i.accentDark=r.first),ue(r=de())&&(i.warnDark=r.first),ue(r=de())&&(i.background=r.first),ue(r=de())&&(i.text=r.first)}},inputs:{splitUUID:"splitUUID",unlockStatus:"unlockStatus"},features:[Tn],decls:22,vars:2,consts:[[1,"dynamicWidgetContainer"],["dynamic-widget",""],[1,"selectWidgetMenu"],["color","accent","mat-mini-fab","","class","selector-fab",3,"click",4,"ngIf"],["class","settingsButton",4,"ngIf"],[1,"primary",2,"display","none"],["primary",""],[1,"accent",2,"display","none"],["accent",""],[1,"warn",2,"display","none"],["warn",""],[1,"primaryDark",2,"display","none"],["primaryDark",""],[1,"accentDark",2,"display","none"],["accentDark",""],[1,"warnDark",2,"display","none"],["warnDark",""],[1,"background",2,"display","none"],["background",""],[1,"text",2,"display","none"],["text",""],["color","accent","mat-mini-fab","",1,"selector-fab",3,"click"],[1,"fa-solid","fa-list"],[1,"settingsButton"],[1,"fa-solid","fa-cog"]],template:function(e,i){1&e&&(v(0,"div",0)(1,"mat-card"),$(2,v1e,0,0,"ng-template",1),b(),v(3,"div",2),$(4,b1e,2,0,"button",3),b(),$(5,y1e,3,0,"div",4),q(6,"div",5,6)(8,"div",7,8)(10,"div",9,10)(12,"div",11,12)(14,"div",13,14)(16,"div",15,16)(18,"div",17,18)(20,"div",19,20),b()),2&e&&(I(4),R("ngIf",i.unlockStatus),I(1),R("ngIf",i.unlockStatus))},dependencies:[ui,Ji,BQ,Z6],styles:[Q6]}),t})(),x1e=(()=>{class t{constructor(e,i,r){this.widgetListService=e,this.dialogRef=i,this.data=r,this.selectedTab=new Po(0),this.keepOrder=(o,s)=>o}onNoClick(){this.dialogRef.close()}ngOnInit(){this.widgetList=this.widgetListService.getList(),this.newWidget=this.data.currentType;let e=0;for(let[i,r]of Object.entries(this.widgetList)){if(r.findIndex(o=>o.name==this.data.currentType)>=0){this.selectedTab.setValue(e);break}e++}}submitNewWidget(){this.dialogRef.close(this.newWidget)}}return t.\u0275fac=function(e){return new(e||t)(D(uD),D(Fa),D(Ru))},t.\u0275cmp=Pe({type:t,selectors:[["app-dynamic-widget-container-modal"]],decls:12,vars:5,consts:[["name","widgetForm",3,"ngSubmit"],["mat-dialog-title",""],[1,"tabGroup",3,"selectedIndex","selectedIndexChange"],[3,"label",4,"ngFor","ngForOf"],["mat-raised-button","","mat-dialog-close",""],["mat-raised-button","","color","accent","type","submit"],[3,"label"],[1,"tab-content"],["appearance","outline","floatLabel","always",1,"full-width"],["placeholder","Please select one","name","newWidget",3,"ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(e,i){1&e&&(v(0,"form",0),ne("ngSubmit",function(){return i.submitNewWidget()}),v(1,"h1",1),M(2,"Choose Widget:"),b(),v(3,"mat-dialog-content")(4,"mat-tab-group",2),ne("selectedIndexChange",function(o){return i.selectedTab.setValue(o)}),$(5,C1e,7,3,"mat-tab",3),es(6,"keyvalue"),b()(),v(7,"mat-dialog-actions")(8,"button",4),M(9,"Cancel"),b(),v(10,"button",5),M(11,"Confirm"),b()()()),2&e&&(I(4),R("selectedIndex",i.selectedTab.value),I(1),R("ngForOf",v1(6,2,i.widgetList,i.keepOrder)))},dependencies:[Eo,ks,xs,ts,Sl,ns,Ji,kh,Fu,Nu,Dh,Fo,Ho,Na,Es,kb,cm,pp],styles:[Q6]}),t})();function k1e(t,n){if(1&t){const e=Zn();v(0,"div",9)(1,"mat-menu",null,10)(3,"button",11),ne("click",function(){ut(e);const r=re(2).$implicit;return lt(re().splitArea(r.uuid,"vertical"))}),M(4,"Split Horz."),b(),v(5,"button",11),ne("click",function(){ut(e);const r=re(2).$implicit;return lt(re().splitArea(r.uuid,"horizontal"))}),M(6,"Split Vert."),b()(),v(7,"button",12),q(8,"span",13),b()()}if(2&t){const e=yi(2);I(7),R("matMenuTriggerFor",e)}}function D1e(t,n){if(1&t){const e=Zn();v(0,"div",14)(1,"button",15),ne("click",function(){ut(e);const r=re(2).$implicit;return lt(re().deleteArea(r.uuid))}),q(2,"span",16),b()()}}function M1e(t,n){if(1&t&&(v(0,"div",5),q(1,"app-dynamic-widget-container",6),$(2,k1e,9,1,"div",7),$(3,D1e,3,0,"div",8),b()),2&t){const e=re().$implicit,i=re();I(1),R("splitUUID",e.uuid)("unlockStatus",i.unlockStatus),I(1),R("ngIf",i.unlockStatus),I(1),R("ngIf",i.unlockStatus)}}function T1e(t,n){if(1&t&&q(0,"layout-split",17),2&t){const e=re().$implicit;R("unlockStatus",re().unlockStatus)("splitUUID",e.uuid)}}function E1e(t,n){if(1&t&&(v(0,"as-split-area",2),$(1,M1e,4,4,"div",3),$(2,T1e,1,2,"layout-split",4),b()),2&t){const e=n.$implicit;R("order",n.index)("size",e.size)("ngSwitch",e.type),I(1),R("ngSwitchCase","widget"),I(1),R("ngSwitchCase","splitSet")}}let A1e=(()=>{class t{constructor(e){this.layoutSplitsService=e}ngOnInit(){this.splitSetSub=this.layoutSplitsService.getSplitObs(this.splitUUID).subscribe(e=>{this.splitSet=e})}ngOnDestroy(){this.splitSetSub.unsubscribe()}ngOnChanges(e){e.splitUUID&&(e.splitUUID.firstChange||(this.ngOnDestroy(),this.ngOnInit()))}onDragEnd(e){this.layoutSplitsService.updateSplitSizes(this.splitSet.uuid,e.sizes)}splitArea(e,i){this.layoutSplitsService.splitArea(this.splitSet.uuid,e,i)}deleteArea(e){this.layoutSplitsService.deleteArea(this.splitSet.uuid,e)}}return t.\u0275fac=function(e){return new(e||t)(D(ey))},t.\u0275cmp=Pe({type:t,selectors:[["layout-split"]],inputs:{unlockStatus:"unlockStatus",splitUUID:"splitUUID"},features:[Tn],decls:2,vars:3,consts:[["gutterSize","4",3,"direction","disabled","dragEnd"],["ngFor","",3,"ngForOf"],[3,"order","size","ngSwitch"],["class","splitArea",4,"ngSwitchCase"],[3,"unlockStatus","splitUUID",4,"ngSwitchCase"],[1,"splitArea"],[3,"splitUUID","unlockStatus"],["class","splitMenu",4,"ngIf"],["class","splitdelete",4,"ngIf"],[1,"splitMenu"],["splitMenu","matMenu"],["mat-menu-item","",3,"click"],["color","accent","mat-mini-fab","",3,"matMenuTriggerFor"],[1,"fa-solid","fa-columns"],[1,"splitdelete"],["color","warn","mat-mini-fab","",3,"click"],[1,"fa-solid","fa-times"],[3,"unlockStatus","splitUUID"]],template:function(e,i){1&e&&(v(0,"as-split",0),ne("dragEnd",function(o){return i.onDragEnd(o)}),$(1,E1e,3,5,"ng-template",1),b()),2&e&&(R("direction",i.splitSet.direction)("disabled",!i.unlockStatus),I(1),R("ngForOf",i.splitSet.splitAreas))},dependencies:[Eo,ui,vl,mu,D3,Ore,kx,Mh,Dx,Ji,S1e,t],styles:["as-split-area[_ngcontent-%COMP%]{overflow-y:hidden!important}.as-disabled[_ngcontent-%COMP%] > .as-split-gutter[_ngcontent-%COMP%] > .as-split-gutter-icon[_ngcontent-%COMP%]{visibility:hidden}.splitArea[_ngcontent-%COMP%]{width:100%;height:100%;position:relative;z-index:500}.splitMenu[_ngcontent-%COMP%]{position:absolute;left:5%;bottom:5%;z-index:500}.splitdelete[_ngcontent-%COMP%]{position:absolute;right:5%;top:5%;z-index:500}"]}),t})(),O1e=(()=>{class t{constructor(e,i,r){this.AppSettingsService=e,this.LayoutSplitsService=i,this.route=r,this.currentRootUUID=null}ngOnInit(){this.pageNumberSub=this.route.params.subscribe(e=>{this.pageNumber=+e.id,this.LayoutSplitsService.setActiveRootIndex(this.pageNumber)}),this.rootUUIDSub=this.LayoutSplitsService.getActiveRootSub().subscribe(e=>{null!==e&&(this.currentRootUUID=e)}),this.unlockStatusSub=this.AppSettingsService.getUnlockStatusAsO().subscribe(e=>{this.unlockStatus=e})}ngOnDestroy(){this.rootUUIDSub.unsubscribe(),this.unlockStatusSub.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(D(hr),D(ey),D(Cl))},t.\u0275cmp=Pe({type:t,selectors:[["app-root-display"]],decls:1,vars:2,consts:[[3,"unlockStatus","splitUUID"]],template:function(e,i){1&e&&q(0,"layout-split",0),2&e&&R("unlockStatus",i.unlockStatus)("splitUUID",i.currentRootUUID)},dependencies:[A1e],encapsulation:2}),t})(),X6=(()=>{class t{constructor(e,i){this.AppSettingsService=e,this.route=i}ngOnInit(){this.route.url.subscribe(e=>{"demo"==e[0].path?this.AppSettingsService.loadDemoConfig():this.AppSettingsService.resetSettings()})}}return t.\u0275fac=function(e){return new(e||t)(D(hr),D(Cl))},t.\u0275cmp=Pe({type:t,selectors:[["app-reset-config"]],decls:0,vars:0,template:function(e,i){}}),t})();function I1e(t,n){if(1&t&&(v(0,"mat-option",8),M(1),b()),2&t){const e=n.$implicit;R("value",e.measure),I(1),vn(" ",e.measure," ")}}function P1e(t,n){if(1&t&&(v(0,"mat-optgroup",6),$(1,I1e,2,2,"mat-option",7),b()),2&t){const e=n.$implicit;R("label",e.group),I(1),R("ngForOf",e.units)}}let R1e=(()=>{class t{constructor(e,i,r){this.signalKService=e,this.unitsService=i,this.dialog=r,this.units=null,this.selectedUnit="unitless"}ngOnInit(){this.units=this.signalKService.getConversionsForPath(this.path),this.selectedUnit=this.units.default}convertValue(e){return"number"!=typeof e?e:this.unitsService.convertUnit(this.selectedUnit,e)}openDialog(){this.dialog.open(F1e,{data:{selectedUnit:this.selectedUnit,units:this.units}}).afterClosed().subscribe(i=>{i&&(this.selectedUnit=i)})}}return t.\u0275fac=function(e){return new(e||t)(D(ra),D(km),D(Al))},t.\u0275cmp=Pe({type:t,selectors:[["data-browser-row"]],inputs:{path:"path",source:"source",pathValue:"pathValue"},decls:7,vars:3,consts:[[1,"cell-source"],[1,"cell-value"],[1,"cell-action"],["mat-raised-button","","color","accent",1,"small-button",3,"click"]],template:function(e,i){1&e&&(v(0,"mat-cell",0),M(1),b(),v(2,"mat-cell",1),M(3),b(),v(4,"mat-cell",2)(5,"button",3),ne("click",function(){return i.openDialog()}),M(6),b()()),2&e&&(I(1),Qn(i.source),I(2),Qn(i.convertValue(i.pathValue)),I(3),Qn(i.selectedUnit))},dependencies:[Ji,Ih],styles:[".small-button{width:20px;height:20px;line-height:20px;min-height:20px;vertical-align:top;font-size:14px;padding:0;margin:0}.cell-source:first-of-type{padding-left:0}.cell-source:first-of-type{flex:1 1 40%}.cell-value{justify-content:center;flex:1 1 22%}.cell-action{justify-content:end;flex:1 1 14%}\n"],encapsulation:2}),t})(),F1e=(()=>{class t{constructor(e,i){this.dialogRef=e,this.data=i,this.selectedUnit=null}}return t.\u0275fac=function(e){return new(e||t)(D(Fa),D(Ru))},t.\u0275cmp=Pe({type:t,selectors:[["dialog-unit-selector"]],decls:13,vars:3,consts:[["mat-dialog-title",""],["appearance","outline","floatLabel","always"],[3,"value","valueChange"],[3,"label",4,"ngFor","ngForOf"],["mat-raised-button","","color","accent","mat-dialog-close",""],["mat-raised-button","","color","accent",3,"mat-dialog-close"],[3,"label"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(e,i){1&e&&(v(0,"h2",0),M(1,"Select Unit type"),b(),v(2,"mat-dialog-content")(3,"mat-form-field",1)(4,"mat-label"),M(5,"Unit"),b(),v(6,"mat-select",2),ne("valueChange",function(o){return i.data.selectedUnit=o}),$(7,P1e,2,2,"mat-optgroup",3),b()()(),v(8,"mat-dialog-actions")(9,"button",4),M(10,"Cancel"),b(),v(11,"button",5),M(12,"Ok"),b()()),2&e&&(I(6),R("value",i.data.selectedUnit),I(1),R("ngForOf",i.data.units.conversions),I(4),R("mat-dialog-close",i.data.selectedUnit))},dependencies:[Eo,Ji,kh,Fu,Nu,Dh,Fo,Ho,Na,Es,cx],encapsulation:2}),t})();function N1e(t,n){1&t&&(v(0,"mat-header-cell",17),M(1," Path "),b())}function L1e(t,n){if(1&t&&(v(0,"mat-cell",18),M(1),b()),2&t){const e=n.$implicit;I(1),vn(" ",e.path," ")}}function B1e(t,n){1&t&&(v(0,"mat-header-cell",19),M(1," Source / Value"),b())}function V1e(t,n){if(1&t&&(v(0,"div",22),q(1,"data-browser-row",23),b()),2&t){const e=n.$implicit,i=re().$implicit;I(1),R("path",i.path)("source",e.key)("pathValue",e.value.value)}}function H1e(t,n){if(1&t&&(v(0,"mat-cell",20),$(1,V1e,2,3,"div",21),es(2,"keyvalue"),b()),2&t){const e=n.$implicit,i=re();I(1),R("ngForOf",Ca(2,2,e.sources))("ngForTrackBy",i.trackBySource)}}function z1e(t,n){1&t&&q(0,"mat-header-row",24)}function W1e(t,n){1&t&&q(0,"mat-row",25)}function j1e(t,n){if(1&t&&(v(0,"tr",26)(1,"td",27),M(2),b()()),2&t){re();const e=yi(5);I(2),vn('No data matching the filter "',e.value,'"')}}const U1e=function(){return[5,10,25,100]},G1e=[{path:"",redirectTo:"/page/0",pathMatch:"full"},{path:"page/:id",component:O1e},{path:"settings",component:Twe},{path:"help",component:Uye},{path:"data",component:(()=>{class t{constructor(e,i){this.SignalKService=e,this.cdRef=i,this.pageSize=10,this.tableData=new Ux([]),this.displayedColumns=["path","defaultSource"]}onResize(e){this.setNumPerPage(e.target.innerHeight,e.target.innerWidth)}ngOnInit(){setTimeout(()=>{this.pathsSub=this.SignalKService.getPathsObservable().subscribe(e=>{this.tableData.data=e})},0)}ngAfterViewInit(){this.tableData.paginator=this.paginator,this.tableData.sort=this.sort,this.tableData.filter="self.",this.setNumPerPage(window.innerHeight,window.innerWidth),this.cdRef.detectChanges()}applyFilter(e){this.tableData.filter=e.target.value.trim().toLowerCase(),this.tableData.paginator&&this.tableData.paginator.firstPage()}trackByPath(e,i){return`${i.path}`}trackBySource(e,i){return`${i.key}`}setNumPerPage(e,i){this.pageSize=i<750?5:e>900?15:e>750&&e<900?10:5}}return t.\u0275fac=function(e){return new(e||t)(D(ra),D(wn))},t.\u0275cmp=Pe({type:t,selectors:[["data-browser"]],viewQuery:function(e,i){if(1&e&&(Oe(Ph,5),Oe(Hu,5)),2&e){let r;ue(r=de())&&(i.paginator=r.first),ue(r=de())&&(i.sort=r.first)}},decls:19,vars:8,consts:[[1,"full-display",3,"resize"],[1,"filter-field"],["matInput","","placeholder","Ex: navigation","value","self.",3,"keyup"],["input",""],[1,"mat-elevation-z8","full-width","table-container"],["matSort","","matSortActive","path","matSortDirection","asc",1,"full-display",3,"dataSource","trackBy"],["matColumnDef","path"],["class","pathHeader","mat-sort-header","",4,"matHeaderCellDef"],["class","pathCell",4,"matCellDef"],["matColumnDef","defaultSource"],["class","dataHeader","mat-sort-header","",4,"matHeaderCellDef"],["class","dataCell",4,"matCellDef"],["class","headerRow",4,"matHeaderRowDef","matHeaderRowDefSticky"],["class","cellRow",4,"matRowDef","matRowDefColumns"],["class","mat-row",4,"matNoDataRow"],[1,"paginator"],[3,"pageSize","pageSizeOptions"],["mat-sort-header","",1,"pathHeader"],[1,"pathCell"],["mat-sort-header","",1,"dataHeader"],[1,"dataCell"],["style","width: 100%;",4,"ngFor","ngForOf","ngForTrackBy"],[2,"width","100%"],[1,"flex-container",3,"path","source","pathValue"],[1,"headerRow"],[1,"cellRow"],[1,"mat-row"],["colspan","4",1,"mat-cell"]],template:function(e,i){1&e&&(v(0,"div",0),ne("resize",function(o){return i.onResize(o)},0,eT),v(1,"mat-form-field",1)(2,"mat-label"),M(3,"Filter"),b(),v(4,"input",2,3),ne("keyup",function(o){return i.applyFilter(o)}),b()(),v(6,"div",4)(7,"mat-table",5),zi(8,6),$(9,N1e,2,0,"mat-header-cell",7),$(10,L1e,2,1,"mat-cell",8),Wi(),zi(11,9),$(12,B1e,2,0,"mat-header-cell",10),$(13,H1e,3,4,"mat-cell",11),Wi(),$(14,z1e,1,0,"mat-header-row",12),$(15,W1e,1,0,"mat-row",13),$(16,j1e,3,1,"tr",14),b()(),v(17,"div",15),q(18,"mat-paginator",16),b()()),2&e&&(I(7),R("dataSource",i.tableData)("trackBy",i.trackByPath),I(7),R("matHeaderRowDef",i.displayedColumns)("matHeaderRowDefSticky",!0),I(1),R("matRowDefColumns",i.displayedColumns),I(3),R("pageSize",i.pageSize)("pageSizeOptions",ji(7,U1e)))},dependencies:[Eo,Fo,Ho,ia,Fb,fm,Nb,pm,hm,Lb,mm,Ih,Bb,Vb,Hb,Ph,Hu,Gx,R1e,pp],styles:[".full-display[_ngcontent-%COMP%]{width:100%;height:100%;position:relative;z-index:500}.full-width[_ngcontent-%COMP%]{width:100%}.full-height[_ngcontent-%COMP%]{height:100%}.mat-column-path[_ngcontent-%COMP%]{flex:0 0 50%;width:50%}.mat-table[_ngcontent-%COMP%]{overflow:auto}.table-container[_ngcontent-%COMP%]{overflow:auto;height:auto}.paginator[_ngcontent-%COMP%]{width:100%;position:sticky}.filter-field[_ngcontent-%COMP%]{padding-left:10px;padding-top:10px}.flex-container[_ngcontent-%COMP%]{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center;align-items:stretch;gap:10px}.pathCell[_ngcontent-%COMP%], .pathHeader[_ngcontent-%COMP%], .dataHeader[_ngcontent-%COMP%]{flex:1 1 50%}.dataCell[_ngcontent-%COMP%]{flex:1 1 50%;flex-flow:column;flex-wrap:wrap;gap:2px}@media screen and (max-width: 750px){.pathHeader[_ngcontent-%COMP%], .dataHeader[_ngcontent-%COMP%]{flex:1 1 50%}.dataCell[_ngcontent-%COMP%]{flex:1 1 100%}.dataCell[_ngcontent-%COMP%]{flex:1 1 100%;margin-left:24px}.mat-table[_ngcontent-%COMP%] .mat-row[_ngcontent-%COMP%]{flex-direction:row;flex-wrap:wrap}.mat-table[_ngcontent-%COMP%] .mat-cell[_ngcontent-%COMP%]:before{content:attr(data-label);float:left;padding-right:5px}mat-row[_ngcontent-%COMP%]:after{min-height:auto;padding-bottom:10px}.dataRow[_ngcontent-%COMP%]{flex-direction:column;align-items:flex-start}.actionCell[_ngcontent-%COMP%]{margin-left:24px}}"]}),t})()},{path:"reset",component:X6},{path:"login",component:(()=>{class t{constructor(e,i,r,o){this.dialog=e,this.auth=i,this.notificationsService=r,this.appSettingsService=o,this.connectionConfig=null}ngOnInit(){this.connectionConfig=this.appSettingsService.getConnectionConfig(),this.openUserCredentialModal("Sign in failed: Incorrect user/password. Enter valide credentials or access the Confifuration/Settings menu, validate the server URL or/and disable the user Sign in option")}openUserCredentialModal(e){this.dialog.open(q6,{disableClose:!0,data:{user:this.connectionConfig.loginName,password:this.connectionConfig.loginPassword,error:e}}).afterClosed().subscribe(r=>{void 0===r||!r||(this.connectionConfig.loginName=r.user,this.connectionConfig.loginPassword=r.password,this.appSettingsService.setConnectionConfig(this.connectionConfig),this.serverLogin())})}serverLogin(e){this.auth.login({usr:this.connectionConfig.loginName,pwd:this.connectionConfig.loginPassword,newUrl:e}).then(i=>{this.appSettingsService.reloadApp()}).catch(i=>{401==i.status?(this.openUserCredentialModal("Sign in failed: Invalide user/password. Enter valide credentials"),console.log("[Setting-SignalK Component] Sign in failed: "+i.error.message)):404==i.status?(this.notificationsService.sendSnackbarNotification("Sign in failed: Login API not found at URL. See connection detail status in Configuration/Settings",5e3,!1),console.log("[Setting-SignalK Component] Sign in failed: "+i.error.message)):0==i.status?(this.notificationsService.sendSnackbarNotification("Sign in failed: Cannot reach server at Signal K URL. See connection detail status in Configuration/Settings",5e3,!1),console.log("[Setting-SignalK Component] Sign in failed: Cannot reach server at Signal K URL:"+i.message)):(this.notificationsService.sendSnackbarNotification("Unknown authentication failure: "+JSON.stringify(i),5e3,!1),console.log("[Setting-SignalK Component] Unknown login error response: "+JSON.stringify(i)))})}}return t.\u0275fac=function(e){return new(e||t)(D(Al),D(Rl),D(As),D(hr))},t.\u0275cmp=Pe({type:t,selectors:[["app-widget-login"]],decls:0,vars:0,template:function(e,i){}}),t})()},{path:"demo",component:X6}],$1e=t=>()=>t.initNetworkServices().then(n=>{}).catch(n=>{});let q1e=(()=>{class t{constructor(){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Ct({type:t,bootstrap:[Hye]}),t.\u0275inj=yt({providers:[{provide:mS,useClass:fye,multi:!0},H6,{provide:lp,useFactory:$1e,deps:[H6],multi:!0},Rl,ra,Uh,Tc,Dm,ey,uD,Jb,km,hr,As,V6,Xb,{provide:up,useFactory:n=>n.getBaseHrefFromDOM(),deps:[k_]}],imports:[TO,Xq,dS,pY,Q$.forRoot(G1e,{useHash:!0,relativeLinkResolution:"legacy"}),Ire,Rre,pZ,uee,ab,s3,JX,SN,Nne,XQ,wJ,wee,Fne,VQ,DN,ene,XJ,vJ,AQ,Qee,uie,xie,wre,Zie,dre,yre]}),t})();(function Uz(){M2=!1})(),yU().bootstrapModule(q1e)},8023:qi=>{!function(ln){"use strict";function Yi(S){if(Array.isArray(S)){for(var w=0,T=Array(S.length);w"u"?global:window),void 0!==w[S])return w[S];for(var T=["webkit","moz","ms","o"],B=0,z=T.length,Y=S.charAt(0).toUpperCase()+S.substr(1);B1&&(ae=1),1!==ae&&(_e=B(ae),isFinite(_e)&&!isNaN(_e)&&(ae=_e)),w&&w(ae),me0){for(Y=B-(ee=S.toFixed(T).toString().split("."))[0].length;z0?Ze.roundRect(S,B,z,Y,ee,T):S.rect(B,z,Y,ee),S.stroke(),S.closePath()}function Ne(S,w,T,B,z,Y,ee){var me=function Wn(S,w,T,B,z,Y){var ee=Wr.pixelRatio,me=Y>=z,ae=me?.85*z:Y,_e=me?Y:z;T=me?Kt(T+(z-ae)/2):T;var H=!!w.title,Ve=!!w.units,Qe=!!w.valueBox,Nt=void 0,mt=void 0,hn=void 0;me?(mt=Kt(.05*_e),Nt=Kt(.075*_e),hn=Kt(.11*_e),H&&(_e-=Nt,B+=Nt),Ve&&(_e-=mt),Qe&&(_e-=hn)):(mt=Nt=Kt(.15*ae),H&&(ae-=Nt,B+=Nt),Ve&&(ae-=mt));var St=2*w.barStrokeWidth,Mt=w.barBeginCircle?Kt(ae*w.barBeginCircle/200-St/2):0,Cn=Kt(ae*w.barWidth/100-St),fn=Kt(_e*w.barLength/100-St),Zt=Kt((_e-fn)/2),it=Kt(T+(me?ae/2:Zt+Mt)),xt=Kt(B+(me?_e-Zt-Mt+St/2:ae/2)),et=!me||w.hasLeft&&w.hasRight?0:(w.hasRight?-1:1)*w.ticksWidth/100*ae,dn=me||w.hasLeft&&w.hasRight?0:(w.hasRight?-1:1)*w.ticksWidth/100*ae;return S.barDimensions={isVertical:me,width:ae,length:_e,barWidth:Cn,barLength:fn,strokeWidth:St,barMargin:Zt,radius:Mt,pixelRatio:ee,barOffset:null,titleMargin:H?Nt:0,unitsMargin:Ve?mt:0,get ticksLength(){return this.barLength-this.barOffset-this.strokeWidth},X:T+et,Y:B+dn,x0:it+et,y0:xt+dn,baseX:T,baseY:B,ticksPadding:w.ticksPadding/100},S.barDimensions}(S,w,B,z,Y,ee),ae=me.isVertical,_e=me.width,H=me.barWidth,Ve=me.barLength,Qe=me.strokeWidth,Nt=me.barMargin,mt=me.radius,hn=me.x0,St=me.y0,Mt=me.X,Cn=me.Y,fn=Ve;if(S.save(),S.beginPath(),w.barBeginCircle){var Zt=Ze.radians(ae?270:0),it=Math.asin(H/2/mt),xt=Math.cos(it),et=Math.sin(it),dn=hn+(ae?mt*et:mt*xt-Qe/2),Le=ae?St-mt*xt:St+mt*et,Lt=Kr(ae?Le-St:dn-hn);S.barDimensions.barOffset=Kt(Lt+mt);var It=ae?Kt(hn-mt*et):dn,Vi=ae?Le:Kt(St-mt*et);"progress"===T&&(Ve=S.barDimensions.barOffset+(Ve-S.barDimensions.barOffset)*(Ze.normalizedValue(w).normal-w.minValue)/(w.maxValue-w.minValue));var Mr=Kt(dn+Ve-S.barDimensions.barOffset+Qe/2),Ls=Kt(Le-Ve+S.barDimensions.barOffset-Qe/2);S.arc(hn,St,mt,Zt+it,Zt-it),ae?(S.moveTo(dn,Vi),S.lineTo(dn,Ls),S.lineTo(It,Ls),S.lineTo(It,Vi)):(S.moveTo(dn,Vi),S.lineTo(Mr,Vi),S.lineTo(Mr,Le),S.lineTo(dn,Le))}else{var Bs=Kt(ae?Mt+(_e-H)/2:Mt+Nt),Vs=Kt(ae?Cn+Ve+Nt:Cn+(_e-H)/2);"progress"===T&&(Ve*=(w.value-w.minValue)/(w.maxValue-w.minValue)),ae?S.rect(Bs,Vs,H,-Ve):S.rect(Bs,Vs,Ve,H)}"progress"!==T&&w.barStrokeWidth&&(S.lineWidth=Qe,S.strokeStyle=w.colorBarStroke,S.stroke()),"progress"!==T&&w.colorBar?(S.fillStyle=w.colorBarEnd?Ze.linearGradient(S,w.colorBar,w.colorBarEnd,Ve,ae,ae?Cn:Mt):w.colorBar,S.fill()):"progress"===T&&w.colorBarProgress&&(S.fillStyle=w.colorBarProgressEnd?Ze.linearGradient(S,w.colorBarProgress,w.colorBarProgressEnd,fn,ae,ae?Cn:Mt):w.colorBarProgress,S.fill()),S.closePath(),w.barBeginCircle&&(S.barDimensions.radius+=Qe),S.barDimensions.barWidth+=Qe,S.barDimensions.barLength+=Qe}function jt(S,w,T,B,z,Y){Ne(S,w,"",T,B,z,Y)}function on(S,w){return w.needleSide!==S||w.tickSide!==S||w.numberSide!==S}function Rn(S,w,T,B,z,Y){w.barProgress&&Ne(S,w,"progress",T,B,z,Y)}function tr(S,w,T,B,z){S.beginPath(),S.moveTo(w,T),S.lineTo(B,z),S.stroke(),S.closePath(),S.save()}function ti(S,w,T,B,z,Y,ee,me,ae){var _e=S.barDimensions,H=_e.isVertical,Ve=_e.length,Qe=_e.barWidth,Nt=_e.barOffset,mt=_e.barMargin,hn=_e.pixelRatio,St=_e.width,Mt=_e.X,Cn=_e.Y,fn=_e.ticksLength,Zt=_e.ticksPadding,it=(St-Qe)/2,xt=void 0,et=void 0,dn=0,Le=T.length,Lt=void 0,It=ae*St,Vi=it-Zt*St,Mr=it+Qe+It+Zt*St,Ls=w instanceof Array?w:new Array(T.length).fill(w);S.lineWidth=me*hn,S.save();for(var Bs=fn/(z-B);dnY&&(_e*=-1),S.moveTo(T-Ve,B),S.lineTo(T+Ve,B),S.lineTo(T+Ve,B+_e),S.lineTo(T,Y),S.lineTo(T-Ve,B+_e),S.lineTo(T-Ve,B)):(T>z&&(_e*=-1),S.moveTo(T,B-Ve),S.lineTo(T,B+Ve),S.lineTo(T+_e,B+Ve),S.lineTo(z,B),S.lineTo(T+_e,B-Ve),S.lineTo(T,B-Ve)),S.fill(),S.closePath()}function jo(S,w,T,B,z,Y,ee){var me=(parseFloat(w.fontValueSize)||0)*Y/200;S.barDimensions.isVertical&&Ze.drawValueBox(S,w,T,B+Y/2,z+ee-me-(.11*ee-me)/2,Y)}var qa=function(w,T){if(Array.isArray(w))return w;if(Symbol.iterator in Object(w))return function S(w,T){var B=[],z=!0,Y=!1,ee=void 0;try{for(var me,ae=w[Symbol.iterator]();!(z=(me=ae.next()).done)&&(B.push(me.value),!T||B.length!==T);z=!0);}catch(_e){Y=!0,ee=_e}finally{try{!z&&ae.return&&ae.return()}finally{if(Y)throw ee}}return B}(w,T);throw new TypeError("Invalid attempt to destructure non-iterable instance")},Ya=function S(w,T,B){null===w&&(w=Function.prototype);var z=Object.getOwnPropertyDescriptor(w,T);if(void 0===z){var Y=Object.getPrototypeOf(w);return null===Y?void 0:S(Y,T,B)}if("value"in z)return z.value;var ee=z.get;return void 0!==ee?ee.call(B):void 0},Ka=function S(w,T,B,z){var Y=Object.getOwnPropertyDescriptor(w,T);if(void 0===Y){var ee=Object.getPrototypeOf(w);null!==ee&&S(ee,T,B,z)}else if("value"in Y&&Y.writable)Y.value=B;else{var me=Y.set;void 0!==me&&me.call(z,B)}return B},ar=function(){function S(w,T){for(var B=0;B>>0;if(0===z)return-1;var Y=+w||0;if(Math.abs(Y)===1/0&&(Y=0),Y>=z)return-1;for(T=Math.max(Y>=0?Y:z-Math.abs(Y),0);T>>0,B=arguments[1],z=B>>0,Y=z<0?Math.max(T+z,0):Math.min(z,T),ee=arguments[2],me=void 0===ee?T:ee>>0,ae=me<0?Math.max(T+me,0):Math.min(me,T);Y"u"&&(window=typeof global>"u"?{}:global);var Gl=function(){function S(){j(this,S),this._events={},this.addListener=this.on,this.removeListener=this.off}return ar(S,[{key:"emit",value:function(w){if(this._events[w]){for(var T=0,B=this._events[w].length,z=arguments.length,Y=Array(z>1?z-1:0),ee=1;ee1?T-1:0),z=1;z=(7-4*w)/11)return-Math.pow((11-6*w-11*S)/4,2)+Math.pow(T,2)},elastic:function(S){return 1-ds.delastic(1-S)},delastic:function(S){return Math.pow(2,10*(S-1))*Math.cos(20*Math.PI*1.5/3*S)}},Za=function(){function S(){var w=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"linear",T=arguments.length>1&&void 0!==arguments[1]?arguments[1]:250,B=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){},z=arguments.length>3&&void 0!==arguments[3]?arguments[3]:function(){};if(j(this,S),this.duration=T,this.rule=w,this.draw=B,this.end=z,"function"!=typeof this.draw)throw new TypeError("Invalid animation draw callback:",B);if("function"!=typeof this.end)throw new TypeError("Invalid animation end callback:",z)}return ar(S,[{key:"animate",value:function(w,T){var B=this;this.frame&&this.cancel();var z=window.performance&&window.performance.now?window.performance.now():ge("animationStartTime")||Date.now();T=T||this.end,this.draw=w=w||this.draw,this.end=T,this.frame=$l(function(Y){return Z(Y,w,z,ds[B.rule]||B.rule,B.duration,T,B)})}},{key:"cancel",value:function(){this.frame&&((ge("cancelAnimationFrame")||function(w){})(this.frame),this.frame=null)}},{key:"destroy",value:function(){this.cancel(),this.draw=null,this.end=null}}]),S}();Za.rules=ds;var hs=function(){function S(w,T,B){j(this,S),this.options=w,this.element=T.toLowerCase(),this.type=S.toDashed(B),this.Type=ln[B],this.mutationsObserved=!1,this.isObservable=!!window.MutationObserver,window.GAUGES_NO_AUTO_INIT||S.domReady(this.traverse.bind(this))}return ar(S,[{key:"isValidNode",value:function(w){return!(!w.tagName||w.tagName.toLowerCase()!==this.element||w.getAttribute("data-type")!==this.type)}},{key:"traverse",value:function(){for(var w=document.getElementsByTagName(this.element),T=0,B=w.length;T1&&void 0!==arguments[1])||arguments[1],B=w.split(/-/),z=0,Y=B.length,ee="";z1&&void 0!==arguments[1]?arguments[1]:0;return T=parseFloat(T),!isNaN(T)&&isFinite(T)||(T=parseFloat(B)||0),T}},{key:"mod",value:function(T,B){return(T%B+B)%B}},{key:"version",get:function(){return ca}}]),w}(Gl);void 0!==ln&&(ln.BaseGauge=jr,ln.gauges=(window.document||{}).gauges=jn);var Xa=/{([_a-zA-Z]+[_a-zA-Z0-9]*)}/g,Ze={roundRect:Me,padValue:qn,formatMajorTickNumber:function x(S,w){var T=void 0,B=!1;return T=0===w.majorTicksDec?Math.round(S).toString():S.toFixed(w.majorTicksDec),w.majorTicksInt>1?(B=~T.indexOf("."),~T.indexOf("-")?"-"+[w.majorTicksInt+w.majorTicksDec+2+(B?1:0)-T.length].join("0")+T.replace("-",""):[w.majorTicksInt+w.majorTicksDec+1+(B?1:0)-T.length].join("0")+T):T},radians:function E(S){return S*Math.PI/180},radialPoint:function V(S,w){return{x:-S*Math.sin(w),y:S*Math.cos(w)}},linearGradient:function Q(S,w,T,B){var z=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],Y=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0,ee=S.createLinearGradient(z?0:Y,z?Y:0,z?0:B,z?B:0);return ee.addColorStop(0,w),ee.addColorStop(1,T),ee},drawNeedleShadow:function be(S,w){w.needleShadow&&(S.shadowOffsetX=2,S.shadowOffsetY=2,S.shadowBlur=10,S.shadowColor=w.colorNeedleShadowDown)},drawValueBox:function tt(S,w,T,B,z,Y){if(w.valueBox){Ue(S);var ee=w.valueDec?1+w.valueDec:0,me="9".repeat(Math.max.apply(null,[String(parseInt(T)).length+ee].concat(w.majorTicks.map(function(Le){return String(parseInt(Le,10)).length+ee})))),ae=w.valueText||qn(T,w),_e=Y/200,H=Y/100,Ve=.4*H,Qe=1.2*H;S.font=he(w,"Value",_e),Yt(S,w,Ve,Qe);var Nt=S.measureText(w.valueText?ae:"-"+qn(Number(me),w)).width;Ue(S);var mt=parseFloat(w.fontValueSize)*_e+Ve+Qe,hn=H*parseFloat(w.valueBoxStroke),St=2*Y-2*hn,Mt=Nt+10*H,Cn=1.1*mt+Ve+Qe,fn=H*w.valueBoxBorderRadius,Zt=(parseFloat(w.valueBoxWidth)||0)/100*St;Zt>Mt&&(Mt=Zt),Mt>St&&(Mt=St);var it=B-Mt/2,xt=z-Cn/2,et=z-5.75*H;if(S.beginPath(),fn?Me(S,it,xt,Mt,Cn,fn):S.rect(it,xt,Mt,Cn),hn){var dn=S.createRadialGradient(B,et,10*H,B,et,20*H);dn.addColorStop(0,w.colorValueBoxRect),dn.addColorStop(1,w.colorValueBoxRectEnd),S.strokeStyle=dn,S.lineWidth=hn,S.stroke()}w.colorValueBoxShadow&&(S.shadowBlur=1.2*H,S.shadowColor=w.colorValueBoxShadow),w.colorValueBoxBackground&&(S.fillStyle=w.colorValueBoxBackground,S.fill()),S.closePath(),S.restore(),Yt(S,w,Ve,Qe),S.fillStyle=w.colorValueText,S.textAlign="center",S.textBaseline="alphabetic",S.fillText(ae,it+Mt/2,z+Cn/2-mt/3),S.restore()}},verifyError:function ot(S){if(!(S instanceof DOMException&&2152923147===S.result))throw S},prepareTicks:function ht(S){return S.majorTicks instanceof Array||(S.majorTicks=S.majorTicks?[S.majorTicks]:[]),S.majorTicks.length||(S.majorTicks.push(Ze.formatMajorTickNumber(S.minValue,S)),S.majorTicks.push(Ze.formatMajorTickNumber(S.maxValue,S))),["right"!==S.tickSide,"left"!==S.tickSide]},drawShadow:function Ce(S,w){if(arguments.length>2&&void 0!==arguments[2]&&arguments[2])return S.restore(),!0;S.save();var T=w.borderShadowWidth;return T&&(S.shadowBlur=T,S.shadowColor=w.colorBorderShadow),!0},font:he,normalizedValue:function qe(S){var w=S.value,T=S.minValue,B=S.maxValue,z=.01*(B-T);return{normal:wB?B:w,indented:wB?B+z:w}},formatContext:function Mn(S,w){return w.replace(Xa,function(T,B){var z=S[B];return void 0!==z?z:T})}},L=Math.PI,te=L/2,ce=Object.assign({},Qa,{ticksAngle:270,startAngle:45,colorNeedleCircleOuter:"#f0f0f0",colorNeedleCircleOuterEnd:"#ccc",colorNeedleCircleInner:"#e8e8e8",colorNeedleCircleInnerEnd:"#f5f5f5",needleCircleSize:10,needleCircleInner:!0,needleCircleOuter:!0,needleStart:20,animationTarget:"needle",useMinPath:!1,barWidth:0,barStartPosition:"left"}),Ee=function(S){function w(T){return j(this,w),T=Object.assign({},ce,T||{}),Pt(this,(w.__proto__||Object.getPrototypeOf(w)).call(this,w.configure(T)))}return cn(w,S),ar(w,[{key:"draw",value:function(){try{var T=this.canvas,B=[-T.drawX,-T.drawY,T.drawWidth,T.drawHeight],z=B[0],Y=B[1],ee=B[2],me=B[3],ae=this.options;if("needle"===ae.animationTarget){if(!T.elementClone.initialized){var _e=T.contextClone;_e.clearRect(z,Y,ee,me),_e.save(),this.emit("beforePlate"),Fr(_e,ae),this.emit("beforeHighlights"),ye(_e,ae),this.emit("beforeMinorTicks"),si(_e,ae),this.emit("beforeMajorTicks"),wo(_e,ae),this.emit("beforeNumbers"),so(_e,ae),this.emit("beforeTitle"),bn(_e,ae),this.emit("beforeUnits"),cs(_e,ae),T.elementClone.initialized=!0}this.canvas.commit(),T.context.clearRect(z,Y,ee,me),T.context.save(),T.context.drawImage(T.elementClone,z,Y,ee,me),T.context.save(),this.emit("beforeProgressBar"),pe(T.context,ae),this.emit("beforeValueBox"),la(T.context,ae,nt(this)),this.emit("beforeNeedle"),aa(T.context,ae)}else{var H=-Ze.radians((ae.value-ae.minValue)/(ae.maxValue-ae.minValue)*ae.ticksAngle);if(T.context.clearRect(z,Y,ee,me),T.context.save(),this.emit("beforePlate"),Fr(T.context,ae),T.context.rotate(H),this.emit("beforeHighlights"),ye(T.context,ae),this.emit("beforeMinorTicks"),si(T.context,ae),this.emit("beforeMajorTicks"),wo(T.context,ae),this.emit("beforeNumbers"),so(T.context,ae),this.emit("beforeProgressBar"),pe(T.context,ae),T.context.rotate(-H),T.context.save(),!T.elementClone.initialized){var Ve=T.contextClone;Ve.clearRect(z,Y,ee,me),Ve.save(),this.emit("beforeTitle"),bn(Ve,ae),this.emit("beforeUnits"),cs(Ve,ae),this.emit("beforeNeedle"),aa(Ve,ae),T.elementClone.initialized=!0}T.context.drawImage(T.elementClone,z,Y,ee,me)}this.emit("beforeValueBox"),la(T.context,ae,nt(this)),Ya(w.prototype.__proto__||Object.getPrototypeOf(w.prototype),"draw",this).call(this)}catch(Qe){Ze.verifyError(Qe)}return this}},{key:"value",set:function(T){T=jr.ensureValue(T,this.options.minValue),this.options.animation&&360===this.options.ticksAngle&&this.options.useMinPath&&(this._value=T,T=this.options.value+((T-this.options.value)%360+540)%360-180),Ka(w.prototype.__proto__||Object.getPrototypeOf(w.prototype),"value",T,this)},get:function(){return Ya(w.prototype.__proto__||Object.getPrototypeOf(w.prototype),"value",this)}}],[{key:"configure",value:function(T){return T.barWidth>50&&(T.barWidth=50),isNaN(T.startAngle)&&(T.startAngle=45),isNaN(T.ticksAngle)&&(T.ticksAngle=270),T.ticksAngle>360&&(T.ticksAngle=360),T.ticksAngle<0&&(T.ticksAngle=0),T.startAngle<0&&(T.startAngle=0),T.startAngle>360&&(T.startAngle=360),T}}]),w}(jr);void 0!==ln&&(ln.RadialGauge=Ee),jr.initialize("RadialGauge",ce);var Ge=Object.assign({},Qa,{borderRadius:0,barBeginCircle:30,colorBarEnd:"",colorBarProgressEnd:"",needleWidth:6,tickSide:"both",needleSide:"both",numberSide:"both",ticksWidth:10,ticksWidthMinor:5,ticksPadding:5,barLength:85,fontTitleSize:26,highlightsWidth:10}),at=function(S){function w(T){return j(this,w),T=Object.assign({},Ge,T||{}),Pt(this,(w.__proto__||Object.getPrototypeOf(w)).call(this,w.configure(T)))}return cn(w,S),ar(w,[{key:"draw",value:function(){try{var T=this.canvas,B=[-T.drawX,-T.drawY,T.drawWidth,T.drawHeight],z=B[0],Y=B[1],ee=B[2],me=B[3],ae=this.options;if(!T.elementClone.initialized){var _e=T.contextClone;_e.clearRect(z,Y,ee,me),_e.save(),this.emit("beforePlate"),this.drawBox=function Ot(S,w,T,B,z,Y){var ee=Wr.pixelRatio;S.save();var me=w.borderRadius*ee,ae=z-w.borderShadowWidth-w.borderOuterWidth*ee,_e=ae-w.borderOuterWidth*ee-w.borderMiddleWidth*ee,H=_e-w.borderMiddleWidth*ee-w.borderInnerWidth*ee,Ve=H-w.borderInnerWidth*ee,Qe=Y-w.borderShadowWidth-w.borderOuterWidth*ee,Nt=Qe-w.borderOuterWidth*ee-w.borderMiddleWidth*ee,mt=Nt-w.borderMiddleWidth*ee-w.borderInnerWidth*ee,hn=mt-w.borderInnerWidth*ee,St=T-(_e-ae)/2,Mt=St-(H-_e)/2,Cn=Mt-(Ve-H)/2,fn=B-(Nt-Qe)/2,Zt=fn-(mt-Nt)/2,it=Zt-(hn-mt)/2,xt=0,et=!1;return w.borderOuterWidth&&(et=Ze.drawShadow(S,w,et),Ye(S,w.borderOuterWidth*ee,me,T+w.borderOuterWidth*ee/2-xt,B+w.borderOuterWidth*ee/2-xt,ae,Qe,w.colorBorderOuter,w.colorBorderOuterEnd),xt+=.5*ee),w.borderMiddleWidth&&(et=Ze.drawShadow(S,w,et),Ye(S,w.borderMiddleWidth*ee,me-=1+2*xt,St+w.borderMiddleWidth*ee/2-xt,fn+w.borderMiddleWidth*ee/2-xt,_e+2*xt,Nt+2*xt,w.colorBorderMiddle,w.colorBorderMiddleEnd),xt+=.5*ee),w.borderInnerWidth&&(et=Ze.drawShadow(S,w,et),Ye(S,w.borderInnerWidth*ee,me-=1+2*xt,Mt+w.borderInnerWidth*ee/2-xt,Zt+w.borderInnerWidth*ee/2-xt,H+2*xt,mt+2*xt,w.colorBorderInner,w.colorBorderInnerEnd),xt+=.5*ee),Ze.drawShadow(S,w,et),function Wt(S,w,T,B,z,Y,ee,me){S.beginPath(),S.fillStyle=me?Ze.linearGradient(S,ee,me,z>Y?z:Y,Y>z,z>Y?T:B):ee,w>0?Ze.roundRect(S,T,B,z,Y,w):S.rect(T,B,z,Y),S.fill(),S.closePath()}(S,me,Cn,it,Ve+2*xt,hn+2*xt,w.colorPlate,w.colorPlateEnd),S.restore(),[Cn,it,Ve,hn]}(_e,ae,z,Y,ee,me),this.emit("beforeBar"),jt.apply(void 0,[_e,ae].concat(Yi(this.drawBox))),T.context.barDimensions=_e.barDimensions,this.emit("beforeHighlights"),function Ei(S,w){var T=S.barDimensions,B=T.isVertical,z=T.width,Y=T.length,ee=T.barWidth,me=T.barOffset,ae=T.barMargin,_e=T.X,H=T.Y,Ve=T.ticksLength,Qe=T.ticksPadding,Nt=z*(parseFloat(w.highlightsWidth)||0)/100;if(w.highlights&&Nt){var mt="right"!==w.tickSide,hn="left"!==w.tickSide,St=0,Mt=w.highlights.length,Cn=(z-ee)/2,fn=w.maxValue-w.minValue,Zt=Kt(B?_e+Cn:_e+ae+me),it=Nt,xt=B?H+Y-ae-me:H+Cn,et=Kt((w.ticksWidth/100+Qe)*z)+(Nt-w.ticksWidth/100*z),dn=Kt(ee+Qe*z);for(S.save();St=T.barWidth&&(T.barStrokeWidth=Kt(T.barWidth/2)),T.hasLeft=on("right",T),T.hasRight=on("left",T),T.value>T.maxValue&&(T.value=T.maxValue),T.value{var Pt;!function(){"use strict";var cn=function(){this.init()};cn.prototype={init:function(){var x=this||j;return x._counter=1e3,x._html5AudioPool=[],x.html5PoolSize=10,x._codecs={},x._howls=[],x._muted=!1,x._volume=1,x._canPlayEvent="canplaythrough",x._navigator=typeof window<"u"&&window.navigator?window.navigator:null,x.masterGain=null,x.noAudio=!1,x.usingWebAudio=!0,x.autoSuspend=!0,x.ctx=null,x.autoUnlock=!0,x._setup(),x},volume:function(x){var E=this||j;if(x=parseFloat(x),E.ctx||qn(),typeof x<"u"&&x>=0&&x<=1){if(E._volume=x,E._muted)return E;E.usingWebAudio&&E.masterGain.gain.setValueAtTime(x,j.ctx.currentTime);for(var V=0;V=0;E--)x._howls[E].unload();return x.usingWebAudio&&x.ctx&&typeof x.ctx.close<"u"&&(x.ctx.close(),x.ctx=null,qn()),x},codecs:function(x){return(this||j)._codecs[x.replace(/^x-/,"")]},_setup:function(){var x=this||j;if(x.state=x.ctx&&x.ctx.state||"suspended",x._autoSuspend(),!x.usingWebAudio)if(typeof Audio<"u")try{typeof(new Audio).oncanplaythrough>"u"&&(x._canPlayEvent="canplay")}catch{x.noAudio=!0}else x.noAudio=!0;try{(new Audio).muted&&(x.noAudio=!0)}catch{}return x.noAudio||x._setupCodecs(),x},_setupCodecs:function(){var x=this||j,E=null;try{E=typeof Audio<"u"?new Audio:null}catch{return x}if(!E||"function"!=typeof E.canPlayType)return x;var V=E.canPlayType("audio/mpeg;").replace(/^no$/,""),Q=x._navigator?x._navigator.userAgent:"",Ce=Q.match(/OPR\/(\d+)/g),be=Ce&&parseInt(Ce[0].split("/")[1],10)<33,he=-1!==Q.indexOf("Safari")&&-1===Q.indexOf("Chrome"),Ue=Q.match(/Version\/(.*?) /),Yt=he&&Ue&&parseInt(Ue[1],10)<15;return x._codecs={mp3:!(be||!V&&!E.canPlayType("audio/mp3;").replace(/^no$/,"")),mpeg:!!V,opus:!!E.canPlayType('audio/ogg; codecs="opus"').replace(/^no$/,""),ogg:!!E.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),oga:!!E.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),wav:!!(E.canPlayType('audio/wav; codecs="1"')||E.canPlayType("audio/wav")).replace(/^no$/,""),aac:!!E.canPlayType("audio/aac;").replace(/^no$/,""),caf:!!E.canPlayType("audio/x-caf;").replace(/^no$/,""),m4a:!!(E.canPlayType("audio/x-m4a;")||E.canPlayType("audio/m4a;")||E.canPlayType("audio/aac;")).replace(/^no$/,""),m4b:!!(E.canPlayType("audio/x-m4b;")||E.canPlayType("audio/m4b;")||E.canPlayType("audio/aac;")).replace(/^no$/,""),mp4:!!(E.canPlayType("audio/x-mp4;")||E.canPlayType("audio/mp4;")||E.canPlayType("audio/aac;")).replace(/^no$/,""),weba:!(Yt||!E.canPlayType('audio/webm; codecs="vorbis"').replace(/^no$/,"")),webm:!(Yt||!E.canPlayType('audio/webm; codecs="vorbis"').replace(/^no$/,"")),dolby:!!E.canPlayType('audio/mp4; codecs="ec-3"').replace(/^no$/,""),flac:!!(E.canPlayType("audio/x-flac;")||E.canPlayType("audio/flac;")).replace(/^no$/,"")},x},_unlockAudio:function(){var x=this||j;if(!x._audioUnlocked&&x.ctx){x._audioUnlocked=!1,x.autoUnlock=!1,!x._mobileUnloaded&&44100!==x.ctx.sampleRate&&(x._mobileUnloaded=!0,x.unload()),x._scratchBuffer=x.ctx.createBuffer(1,1,22050);var E=function(V){for(;x._html5AudioPool.length"u"?Yt.noteOn(0):Yt.start(0),"function"==typeof x.ctx.resume&&x.ctx.resume(),Yt.onended=function(){Yt.disconnect(0),x._audioUnlocked=!0,document.removeEventListener("touchstart",E,!0),document.removeEventListener("touchend",E,!0),document.removeEventListener("click",E,!0),document.removeEventListener("keydown",E,!0);for(var tt=0;tt"u")&&j.usingWebAudio){for(var E=0;E"u")&&j.usingWebAudio)return"running"===x.state&&"interrupted"!==x.ctx.state&&x._suspendTimer?(clearTimeout(x._suspendTimer),x._suspendTimer=null):"suspended"===x.state||"running"===x.state&&"interrupted"===x.ctx.state?(x.ctx.resume().then(function(){x.state="running";for(var E=0;E"u"&&(x="__default",!V._playLock)){for(var Ce=0,be=0;be0?he._seek:V._sprite[x][0]/1e3),tt=Math.max(0,(V._sprite[x][0]+V._sprite[x][1])/1e3-Yt),qe=1e3*tt/Math.abs(he._rate),un=V._sprite[x][0]/1e3,Se=(V._sprite[x][0]+V._sprite[x][1])/1e3;he._sprite=x,he._ended=!1;var Fr=function(){he._paused=!1,he._seek=Yt,he._start=un,he._stop=Se,he._loop=!(!he._loop&&!V._sprite[x][2])};if(!(Yt>=Se)){var ye=he._node;if(V._webAudio){var si=function(){V._playLock=!1,Fr(),V._refreshBuffer(he),ye.gain.setValueAtTime(he._muted||V._muted?0:he._volume,j.ctx.currentTime),he._playStart=j.ctx.currentTime,typeof ye.bufferSource.start>"u"?ye.bufferSource.noteGrainOn(0,Yt,he._loop?86400:tt):ye.bufferSource.start(0,Yt,he._loop?86400:tt),qe!==1/0&&(V._endTimers[he._id]=setTimeout(V._ended.bind(V,he),qe)),E||setTimeout(function(){V._emit("play",he._id),V._loadQueue()},0)};"running"===j.state&&"interrupted"!==j.ctx.state?si():(V._playLock=!0,V.once("resume",si),V._clearTimer(he._id))}else{var sr=function(){ye.currentTime=Yt,ye.muted=he._muted||V._muted||j._muted||ye.muted,ye.volume=he._volume*j.volume(),ye.playbackRate=he._rate;try{var Dr=ye.play();if(Dr&&typeof Promise<"u"&&(Dr instanceof Promise||"function"==typeof Dr.then)?(V._playLock=!0,Fr(),Dr.then(function(){V._playLock=!1,ye._unlocked=!0,E?V._loadQueue():V._emit("play",he._id)}).catch(function(){V._playLock=!1,V._emit("playerror",he._id,"Playback was unable to start. This is most commonly an issue on mobile devices and Chrome where playback was not within a user interaction."),he._ended=!0,he._paused=!0})):E||(V._playLock=!1,Fr(),V._emit("play",he._id)),ye.playbackRate=he._rate,ye.paused)return void V._emit("playerror",he._id,"Playback was unable to start. This is most commonly an issue on mobile devices and Chrome where playback was not within a user interaction.");"__default"!==x||he._loop?V._endTimers[he._id]=setTimeout(V._ended.bind(V,he),qe):(V._endTimers[he._id]=function(){V._ended(he),ye.removeEventListener("ended",V._endTimers[he._id],!1)},ye.addEventListener("ended",V._endTimers[he._id],!1))}catch(so){V._emit("playerror",he._id,so)}};"data:audio/wav;base64,UklGRigAAABXQVZFZm10IBIAAAABAAEARKwAAIhYAQACABAAAABkYXRhAgAAAAEA"===ye.src&&(ye.src=V._src,ye.load());var wo=window&&window.ejecta||!ye.readyState&&j._navigator.isCocoonJS;if(ye.readyState>=3||wo)sr();else{V._playLock=!0,V._state="loading";var mr=function(){V._state="loaded",sr(),ye.removeEventListener(j._canPlayEvent,mr,!1)};ye.addEventListener(j._canPlayEvent,mr,!1),V._clearTimer(he._id)}}return he._id}V._ended(he)},pause:function(x){var E=this;if("loaded"!==E._state||E._playLock)return E._queue.push({event:"pause",action:function(){E.pause(x)}}),E;for(var V=E._getSoundIds(x),Q=0;Q"u"?Ce._node.bufferSource.noteOff(0):Ce._node.bufferSource.stop(0),E._cleanBuffer(Ce._node)}else(!isNaN(Ce._node.duration)||Ce._node.duration===1/0)&&Ce._node.pause();arguments[1]||E._emit("pause",Ce?Ce._id:null)}return E},stop:function(x,E){var V=this;if("loaded"!==V._state||V._playLock)return V._queue.push({event:"stop",action:function(){V.stop(x)}}),V;for(var Q=V._getSoundIds(x),Ce=0;Ce"u"?be._node.bufferSource.noteOff(0):be._node.bufferSource.stop(0),V._cleanBuffer(be._node)):(!isNaN(be._node.duration)||be._node.duration===1/0)&&(be._node.currentTime=be._start||0,be._node.pause(),be._node.duration===1/0&&V._clearSound(be._node))),E||V._emit("stop",be._id))}return V},mute:function(x,E){var V=this;if("loaded"!==V._state||V._playLock)return V._queue.push({event:"mute",action:function(){V.mute(x,E)}}),V;if(typeof E>"u"){if("boolean"!=typeof x)return V._muted;V._muted=x}for(var Q=V._getSoundIds(E),Ce=0;Ce"u"){var Ce=x._getSoundIds(),be=Ce.indexOf(E[0]);be>=0?Q=parseInt(E[0],10):V=parseFloat(E[0])}else E.length>=2&&(V=parseFloat(E[0]),Q=parseInt(E[1],10));if(!(typeof V<"u"&&V>=0&&V<=1))return(he=Q?x._soundById(Q):x._sounds[0])?he._volume:0;if("loaded"!==x._state||x._playLock)return x._queue.push({event:"volume",action:function(){x.volume.apply(x,E)}}),x;typeof Q>"u"&&(x._volume=V),Q=x._getSoundIds(Q);for(var Ue=0;Ue"u")}}return Ce},_startFadeInterval:function(x,E,V,Q,Ce,be){var he=this,Ue=E,Yt=V-E,tt=Math.abs(Yt/.01),qe=Math.max(4,tt>0?Q/tt:Q),un=Date.now();x._fadeTo=V,x._interval=setInterval(function(){var Se=(Date.now()-un)/Q;un=Date.now(),Ue+=Yt*Se,Ue=Math.round(100*Ue)/100,Ue=Yt<0?Math.max(V,Ue):Math.min(V,Ue),he._webAudio?x._volume=Ue:he.volume(Ue,x._id,!0),be&&(he._volume=Ue),(VE&&Ue>=V)&&(clearInterval(x._interval),x._interval=null,x._fadeTo=null,he.volume(V,x._id),he._emit("fade",x._id))},qe)},_stopFade:function(x){var E=this,V=E._soundById(x);return V&&V._interval&&(E._webAudio&&V._node.gain.cancelScheduledValues(j.ctx.currentTime),clearInterval(V._interval),V._interval=null,E.volume(V._fadeTo,x),V._fadeTo=null,E._emit("fade",x)),E},loop:function(){var V,Q,Ce,x=this,E=arguments;if(0===E.length)return x._loop;if(1===E.length){if("boolean"!=typeof E[0])return!!(Ce=x._soundById(parseInt(E[0],10)))&&Ce._loop;x._loop=V=E[0]}else 2===E.length&&(V=E[0],Q=parseInt(E[1],10));for(var be=x._getSoundIds(Q),he=0;he=0?Q=parseInt(E[0],10):V=parseFloat(E[0])}else 2===E.length&&(V=parseFloat(E[0]),Q=parseInt(E[1],10));if("number"!=typeof V)return(he=x._soundById(Q))?he._rate:x._rate;if("loaded"!==x._state||x._playLock)return x._queue.push({event:"rate",action:function(){x.rate.apply(x,E)}}),x;typeof Q>"u"&&(x._rate=V),Q=x._getSoundIds(Q);for(var Ue=0;Ue=0?Q=parseInt(E[0],10):x._sounds.length&&(Q=x._sounds[0]._id,V=parseFloat(E[0]))}else 2===E.length&&(V=parseFloat(E[0]),Q=parseInt(E[1],10));if(typeof Q>"u")return 0;if("number"==typeof V&&("loaded"!==x._state||x._playLock))return x._queue.push({event:"seek",action:function(){x.seek.apply(x,E)}}),x;var he=x._soundById(Q);if(he){if(!("number"==typeof V&&V>=0)){if(x._webAudio){var qe=x.playing(Q)?j.ctx.currentTime-he._playStart:0,un=he._rateSeek?he._rateSeek-he._seek:0;return he._seek+(un+qe*Math.abs(he._rate))}return he._node.currentTime}var Ue=x.playing(Q);Ue&&x.pause(Q,!0),he._seek=V,he._ended=!1,x._clearTimer(Q),!x._webAudio&&he._node&&!isNaN(he._node.duration)&&(he._node.currentTime=V);var Yt=function(){Ue&&x.play(Q,!0),x._emit("seek",Q)};if(Ue&&!x._webAudio){var tt=function(){x._playLock?setTimeout(tt,0):Yt()};setTimeout(tt,0)}else Yt()}return x},playing:function(x){var E=this;if("number"==typeof x){var V=E._soundById(x);return!!V&&!V._paused}for(var Q=0;Q=0&&j._howls.splice(Q,1);var Ce=!0;for(V=0;V=0){Ce=!1;break}return Ke&&Ce&&delete Ke[x._src],j.noAudio=!1,x._state="unloaded",x._sounds=[],x=null,null},on:function(x,E,V,Q){return"function"==typeof E&&this["_on"+x].push(Q?{id:V,fn:E,once:Q}:{id:V,fn:E}),this},off:function(x,E,V){var Q=this,Ce=Q["_on"+x],be=0;if("number"==typeof E&&(V=E,E=null),E||V)for(be=0;be=0;be--)(!Ce[be].id||Ce[be].id===E||"load"===x)&&(setTimeout(function(he){he.call(this,E,V)}.bind(Q,Ce[be].fn),0),Ce[be].once&&Q.off(x,Ce[be].fn,Ce[be].id));return Q._loadQueue(x),Q},_loadQueue:function(x){var E=this;if(E._queue.length>0){var V=E._queue[0];V.event===x&&(E._queue.shift(),E._loadQueue()),x||V.action()}return E},_ended:function(x){var E=this,V=x._sprite;if(!E._webAudio&&x._node&&!x._node.paused&&!x._node.ended&&x._node.currentTime=0;Q--){if(V<=E)return;x._sounds[Q]._ended&&(x._webAudio&&x._sounds[Q]._node&&x._sounds[Q]._node.disconnect(0),x._sounds.splice(Q,1),V--)}}},_getSoundIds:function(x){if(typeof x>"u"){for(var V=[],Q=0;Q=0;if(!x.bufferSource)return this;if(j._scratchBuffer&&x.bufferSource&&(x.bufferSource.onended=null,x.bufferSource.disconnect(0),V))try{x.bufferSource.buffer=j._scratchBuffer}catch{}return x.bufferSource=null,this},_clearSound:function(x){/MSIE |Trident\//.test(j._navigator&&j._navigator.userAgent)||(x.src="data:audio/wav;base64,UklGRigAAABXQVZFZm10IBIAAAABAAEARKwAAIhYAQACABAAAABkYXRhAgAAAAEA")}};var Z=function(x){this._parent=x,this.init()};Z.prototype={init:function(){var x=this,E=x._parent;return x._muted=E._muted,x._loop=E._loop,x._volume=E._volume,x._rate=E._rate,x._seek=0,x._paused=!0,x._ended=!0,x._sprite="__default",x._id=++j._counter,E._sounds.push(x),x.create(),x},create:function(){var x=this,E=x._parent,V=j._muted||x._muted||x._parent._muted?0:x._volume;return E._webAudio?(x._node=typeof j.ctx.createGain>"u"?j.ctx.createGainNode():j.ctx.createGain(),x._node.gain.setValueAtTime(V,j.ctx.currentTime),x._node.paused=!0,x._node.connect(j.masterGain)):j.noAudio||(x._node=j._obtainHtml5Audio(),x._errorFn=x._errorListener.bind(x),x._node.addEventListener("error",x._errorFn,!1),x._loadFn=x._loadListener.bind(x),x._node.addEventListener(j._canPlayEvent,x._loadFn,!1),x._endFn=x._endListener.bind(x),x._node.addEventListener("ended",x._endFn,!1),x._node.src=E._src,x._node.preload=!0===E._preload?"auto":E._preload,x._node.volume=V*j.volume(),x._node.load()),x},reset:function(){var x=this,E=x._parent;return x._muted=E._muted,x._loop=E._loop,x._volume=E._volume,x._rate=E._rate,x._seek=0,x._rateSeek=0,x._paused=!0,x._ended=!0,x._sprite="__default",x._id=++j._counter,x},_errorListener:function(){var x=this;x._parent._emit("loaderror",x._id,x._node.error?x._node.error.code:0),x._node.removeEventListener("error",x._errorFn,!1)},_loadListener:function(){var x=this,E=x._parent;E._duration=Math.ceil(10*x._node.duration)/10,0===Object.keys(E._sprite).length&&(E._sprite={__default:[0,1e3*E._duration]}),"loaded"!==E._state&&(E._state="loaded",E._emit("load"),E._loadQueue()),x._node.removeEventListener(j._canPlayEvent,x._loadFn,!1)},_endListener:function(){var x=this,E=x._parent;E._duration===1/0&&(E._duration=Math.ceil(10*x._node.duration)/10,E._sprite.__default[1]===1/0&&(E._sprite.__default[1]=1e3*E._duration),E._ended(x)),x._node.removeEventListener("ended",x._endFn,!1)}};var Ke={},ot=function(x){var E=x._src;if(Ke[E])return x._duration=Ke[E].duration,void Me(x);if(/^data:[^;]+;base64,/.test(E)){for(var V=atob(E.split(",")[1]),Q=new Uint8Array(V.length),Ce=0;Ce0?(Ke[E._src]=Ce,Me(E,Ce)):V()};typeof Promise<"u"&&1===j.ctx.decodeAudioData.length?j.ctx.decodeAudioData(x).then(Q).catch(V):j.ctx.decodeAudioData(x,Q,V)},Me=function(x,E){E&&!x._duration&&(x._duration=E.duration),0===Object.keys(x._sprite).length&&(x._sprite={__default:[0,1e3*x._duration]}),"loaded"!==x._state&&(x._state="loaded",x._emit("load"),x._loadQueue())},qn=function(){if(j.usingWebAudio){try{typeof AudioContext<"u"?j.ctx=new AudioContext:typeof webkitAudioContext<"u"?j.ctx=new webkitAudioContext:j.usingWebAudio=!1}catch{j.usingWebAudio=!1}j.ctx||(j.usingWebAudio=!1);var x=/iP(hone|od|ad)/.test(j._navigator&&j._navigator.platform),E=j._navigator&&j._navigator.appVersion.match(/OS (\d+)_(\d+)_?(\d+)?/),V=E?parseInt(E[1],10):null;if(x&&V&&V<9){var Q=/safari/.test(j._navigator&&j._navigator.userAgent.toLowerCase());j._navigator&&!Q&&(j.usingWebAudio=!1)}j.usingWebAudio&&(j.masterGain=typeof j.ctx.createGain>"u"?j.ctx.createGainNode():j.ctx.createGain(),j.masterGain.gain.setValueAtTime(j._muted?0:j._volume,j.ctx.currentTime),j.masterGain.connect(j.ctx.destination)),j._setup()}};void 0!==(Pt=function(){return{Howler:j,Howl:ge}}.apply(ln,[]))&&(qi.exports=Pt),ln.Howler=j,ln.Howl=ge,typeof global<"u"?(global.HowlerGlobal=cn,global.Howler=j,global.Howl=ge,global.Sound=Z):typeof window<"u"&&(window.HowlerGlobal=cn,window.Howler=j,window.Howl=ge,window.Sound=Z)}(),function(){"use strict";var j;HowlerGlobal.prototype._pos=[0,0,0],HowlerGlobal.prototype._orientation=[0,0,-1,0,1,0],HowlerGlobal.prototype.stereo=function(j){var ge=this;if(!ge.ctx||!ge.ctx.listener)return ge;for(var Z=ge._howls.length-1;Z>=0;Z--)ge._howls[Z].stereo(j);return ge},HowlerGlobal.prototype.pos=function(j,ge,Z){var Ke=this;return Ke.ctx&&Ke.ctx.listener?"number"!=typeof j?Ke._pos:(Ke._pos=[j,ge="number"!=typeof ge?Ke._pos[1]:ge,Z="number"!=typeof Z?Ke._pos[2]:Z],typeof Ke.ctx.listener.positionX<"u"?(Ke.ctx.listener.positionX.setTargetAtTime(Ke._pos[0],Howler.ctx.currentTime,.1),Ke.ctx.listener.positionY.setTargetAtTime(Ke._pos[1],Howler.ctx.currentTime,.1),Ke.ctx.listener.positionZ.setTargetAtTime(Ke._pos[2],Howler.ctx.currentTime,.1)):Ke.ctx.listener.setPosition(Ke._pos[0],Ke._pos[1],Ke._pos[2]),Ke):Ke},HowlerGlobal.prototype.orientation=function(j,ge,Z,Ke,ot,Mn){var ht=this;if(!ht.ctx||!ht.ctx.listener)return ht;var Me=ht._orientation;return"number"!=typeof j?Me:(ht._orientation=[j,ge="number"!=typeof ge?Me[1]:ge,Z="number"!=typeof Z?Me[2]:Z,Ke="number"!=typeof Ke?Me[3]:Ke,ot="number"!=typeof ot?Me[4]:ot,Mn="number"!=typeof Mn?Me[5]:Mn],typeof ht.ctx.listener.forwardX<"u"?(ht.ctx.listener.forwardX.setTargetAtTime(j,Howler.ctx.currentTime,.1),ht.ctx.listener.forwardY.setTargetAtTime(ge,Howler.ctx.currentTime,.1),ht.ctx.listener.forwardZ.setTargetAtTime(Z,Howler.ctx.currentTime,.1),ht.ctx.listener.upX.setTargetAtTime(Ke,Howler.ctx.currentTime,.1),ht.ctx.listener.upY.setTargetAtTime(ot,Howler.ctx.currentTime,.1),ht.ctx.listener.upZ.setTargetAtTime(Mn,Howler.ctx.currentTime,.1)):ht.ctx.listener.setOrientation(j,ge,Z,Ke,ot,Mn),ht)},Howl.prototype.init=(j=Howl.prototype.init,function(ge){var Z=this;return Z._orientation=ge.orientation||[1,0,0],Z._stereo=ge.stereo||null,Z._pos=ge.pos||null,Z._pannerAttr={coneInnerAngle:typeof ge.coneInnerAngle<"u"?ge.coneInnerAngle:360,coneOuterAngle:typeof ge.coneOuterAngle<"u"?ge.coneOuterAngle:360,coneOuterGain:typeof ge.coneOuterGain<"u"?ge.coneOuterGain:0,distanceModel:typeof ge.distanceModel<"u"?ge.distanceModel:"inverse",maxDistance:typeof ge.maxDistance<"u"?ge.maxDistance:1e4,panningModel:typeof ge.panningModel<"u"?ge.panningModel:"HRTF",refDistance:typeof ge.refDistance<"u"?ge.refDistance:1,rolloffFactor:typeof ge.rolloffFactor<"u"?ge.rolloffFactor:1},Z._onstereo=ge.onstereo?[{fn:ge.onstereo}]:[],Z._onpos=ge.onpos?[{fn:ge.onpos}]:[],Z._onorientation=ge.onorientation?[{fn:ge.onorientation}]:[],j.call(this,ge)}),Howl.prototype.stereo=function(j,ge){var Z=this;if(!Z._webAudio)return Z;if("loaded"!==Z._state)return Z._queue.push({event:"stereo",action:function(){Z.stereo(j,ge)}}),Z;var Ke=typeof Howler.ctx.createStereoPanner>"u"?"spatial":"stereo";if(typeof ge>"u"){if("number"!=typeof j)return Z._stereo;Z._stereo=j,Z._pos=[j,0,0]}for(var ot=Z._getSoundIds(ge),Mn=0;Mn"u"){if("number"!=typeof j)return ot._pos;ot._pos=[j,ge,Z]}for(var Mn=ot._getSoundIds(Ke),ht=0;ht"u"){if("number"!=typeof j)return ot._orientation;ot._orientation=[j,ge,Z]}for(var Mn=ot._getSoundIds(Ke),ht=0;ht"u"&&(Z.pannerAttr||(Z.pannerAttr={coneInnerAngle:Z.coneInnerAngle,coneOuterAngle:Z.coneOuterAngle,coneOuterGain:Z.coneOuterGain,distanceModel:Z.distanceModel,maxDistance:Z.maxDistance,refDistance:Z.refDistance,rolloffFactor:Z.rolloffFactor,panningModel:Z.panningModel}),j._pannerAttr={coneInnerAngle:typeof Z.pannerAttr.coneInnerAngle<"u"?Z.pannerAttr.coneInnerAngle:j._coneInnerAngle,coneOuterAngle:typeof Z.pannerAttr.coneOuterAngle<"u"?Z.pannerAttr.coneOuterAngle:j._coneOuterAngle,coneOuterGain:typeof Z.pannerAttr.coneOuterGain<"u"?Z.pannerAttr.coneOuterGain:j._coneOuterGain,distanceModel:typeof Z.pannerAttr.distanceModel<"u"?Z.pannerAttr.distanceModel:j._distanceModel,maxDistance:typeof Z.pannerAttr.maxDistance<"u"?Z.pannerAttr.maxDistance:j._maxDistance,refDistance:typeof Z.pannerAttr.refDistance<"u"?Z.pannerAttr.refDistance:j._refDistance,rolloffFactor:typeof Z.pannerAttr.rolloffFactor<"u"?Z.pannerAttr.rolloffFactor:j._rolloffFactor,panningModel:typeof Z.pannerAttr.panningModel<"u"?Z.pannerAttr.panningModel:j._panningModel})}else 2===ge.length&&(Z=ge[0],Ke=parseInt(ge[1],10));for(var Mn=j._getSoundIds(Ke),ht=0;ht":[["googol"],1e100,"prefix"],"":[["Ki","Kibi","kibi"],Math.pow(2,10),"prefix"],"":[["Mi","Mebi","mebi"],Math.pow(2,20),"prefix"],"":[["Gi","Gibi","gibi"],Math.pow(2,30),"prefix"],"":[["Ti","Tebi","tebi"],Math.pow(2,40),"prefix"],"":[["Pi","Pebi","pebi"],Math.pow(2,50),"prefix"],"":[["Ei","Exi","exi"],Math.pow(2,60),"prefix"],"":[["Zi","Zebi","zebi"],Math.pow(2,70),"prefix"],"":[["Yi","Yebi","yebi"],Math.pow(2,80),"prefix"],"":[["Y","Yotta","yotta"],1e24,"prefix"],"":[["Z","Zetta","zetta"],1e21,"prefix"],"":[["E","Exa","exa"],1e18,"prefix"],"":[["P","Peta","peta"],1e15,"prefix"],"":[["T","Tera","tera"],1e12,"prefix"],"":[["G","Giga","giga"],1e9,"prefix"],"":[["M","Mega","mega"],1e6,"prefix"],"":[["k","kilo"],1e3,"prefix"],"":[["h","Hecto","hecto"],100,"prefix"],"":[["da","Deca","deca","deka"],10,"prefix"],"":[["d","Deci","deci"],.1,"prefix"],"":[["c","Centi","centi"],.01,"prefix"],"":[["m","Milli","milli"],.001,"prefix"],"":[["u","\u03bc","\xb5","Micro","mc","micro"],1e-6,"prefix"],"":[["n","Nano","nano"],1e-9,"prefix"],"":[["p","Pico","pico"],1e-12,"prefix"],"":[["f","Femto","femto"],1e-15,"prefix"],"":[["a","Atto","atto"],1e-18,"prefix"],"":[["z","Zepto","zepto"],1e-21,"prefix"],"":[["y","Yocto","yocto"],1e-24,"prefix"],"<1>":[["1","<1>"],1,""],"":[["m","meter","meters","metre","metres"],1,"length",[""]],"":[["in","inch","inches",'"'],.0254,"length",[""]],"":[["ft","foot","feet","'"],.3048,"length",[""]],"":[["yd","yard","yards"],.9144,"length",[""]],"":[["mi","mile","miles"],1609.344,"length",[""]],"":[["nmi","naut-mile"],1852,"length",[""]],"":[["league","leagues"],4828,"length",[""]],"":[["furlong","furlongs"],201.2,"length",[""]],"":[["rd","rod","rods"],5.029,"length",[""]],"":[["mil","mils"],254e-7,"length",[""]],"":[["ang","angstrom","angstroms"],1e-10,"length",[""]],"":[["fathom","fathoms"],1.829,"length",[""]],"":[["pica","picas"],.00423333333,"length",[""]],"":[["pt","point","points"],.000352777778,"length",[""]],"":[["z","red-shift","redshift"],1302773e20,"length",[""]],"":[["AU","astronomical-unit"],1495979e5,"length",[""]],"":[["ls","light-second"],299792500,"length",[""]],"":[["lmin","light-minute"],1798755e4,"length",[""]],"":[["ly","light-year"],9460528e9,"length",[""]],"":[["pc","parsec","parsecs"],3085678e10,"length",[""]],"":[["DM","datamile"],1828.8,"length",[""]],"":[["kg","kilogram","kilograms"],1,"mass",[""]],"":[["u","AMU","amu"],1660538921e-36,"mass",[""]],"":[["Da","Dalton","Daltons","dalton","daltons"],1660538921e-36,"mass",[""]],"":[["slug","slugs"],14.5939029,"mass",[""]],"":[["tn","ton","short-ton"],907.18474,"mass",[""]],"":[["t","tonne","metric-ton"],1e3,"mass",[""]],"":[["ct","carat","carats"],2e-4,"mass",[""]],"":[["lbs","lb","pound","pounds","#"],.45359237,"mass",[""]],"":[["oz","ounce","ounces"],.0283495231,"mass",[""]],"":[["g","gram","grams","gramme","grammes"],.001,"mass",[""]],"":[["grain","grains","gr"],6479891e-11,"mass",[""]],"":[["dram","drams","dr"],.0017718452,"mass",[""]],"":[["stone","stones","st"],6.35029318,"mass",[""]],"":[["hectare"],1e4,"area",["",""]],"":[["acre","acres"],4046.85642,"area",["",""]],"":[["sqft"],1,"area",["",""]],"":[["l","L","liter","liters","litre","litres"],.001,"volume",["","",""]],"":[["gal","gallon","gallons"],.0037854118,"volume",["","",""]],"":[["galimp","gallon-imp","gallons-imp"],.00454609,"volume",["","",""]],"":[["qt","quart","quarts"],.00094635295,"volume",["","",""]],"":[["pt","pint","pints"],.000473176475,"volume",["","",""]],"":[["ptimp","pint-imp","pints-imp"],.00056826125,"volume",["","",""]],"":[["cu","cup","cups"],.000236588238,"volume",["","",""]],"":[["floz","fluid-ounce","fluid-ounces"],295735297e-13,"volume",["","",""]],"":[["flozimp","floz-imp","fluid-ounce-imp","fluid-ounces-imp"],284130625e-13,"volume",["","",""]],"":[["tb","tbsp","tbs","tablespoon","tablespoons"],147867648e-13,"volume",["","",""]],"":[["tsp","teaspoon","teaspoons"],492892161e-14,"volume",["","",""]],"":[["bu","bsh","bushel","bushels"],.035239072,"volume",["","",""]],"":[["bbl","oilbarrel","oilbarrels","oil-barrel","oil-barrels"],.158987294928,"volume",["","",""]],"":[["bl","bl-us","beerbarrel","beerbarrels","beer-barrel","beer-barrels"],.1173477658,"volume",["","",""]],"":[["blimp","bl-imp","beerbarrel-imp","beerbarrels-imp","beer-barrel-imp","beer-barrels-imp"],.16365924,"volume",["","",""]],"":[["kph"],.277777778,"speed",[""],[""]],"":[["mph"],.44704,"speed",[""],[""]],"":[["kt","kn","kts","knot","knots"],.514444444,"speed",[""],[""]],"":[["fps"],.3048,"speed",[""],[""]],"":[["gee"],9.80665,"acceleration",[""],["",""]],"":[["Gal"],.01,"acceleration",[""],["",""]],"":[["degK","kelvin"],1,"temperature",[""]],"":[["degC","celsius","celsius","centigrade"],1,"temperature",[""]],"":[["degF","fahrenheit"],5/9,"temperature",[""]],"":[["degR","rankine"],5/9,"temperature",[""]],"":[["tempK","temp-K"],1,"temperature",[""]],"":[["tempC","temp-C"],1,"temperature",[""]],"":[["tempF","temp-F"],5/9,"temperature",[""]],"":[["tempR","temp-R"],5/9,"temperature",[""]],"":[["s","sec","secs","second","seconds"],1,"time",[""]],"":[["min","mins","minute","minutes"],60,"time",[""]],"":[["h","hr","hrs","hour","hours"],3600,"time",[""]],"":[["d","day","days"],86400,"time",[""]],"":[["wk","week","weeks"],604800,"time",[""]],"":[["fortnight","fortnights"],1209600,"time",[""]],"":[["y","yr","year","years","annum"],31556926,"time",[""]],"":[["decade","decades"],315569260,"time",[""]],"":[["century","centuries"],3155692600,"time",[""]],"":[["Pa","pascal","Pascal"],1,"pressure",[""],["","",""]],"":[["bar","bars"],1e5,"pressure",[""],["","",""]],"":[["mmHg"],133.322368,"pressure",[""],["","",""]],"":[["inHg"],3386.3881472,"pressure",[""],["","",""]],"":[["torr"],133.322368,"pressure",[""],["","",""]],"":[["atm","ATM","atmosphere","atmospheres"],101325,"pressure",[""],["","",""]],"":[["psi"],6894.76,"pressure",[""],["","",""]],"":[["cmH2O","cmh2o"],98.0638,"pressure",[""],["","",""]],"":[["inH2O","inh2o"],249.082052,"pressure",[""],["","",""]],"":[["P","poise"],.1,"viscosity",[""],["",""]],"":[["St","stokes"],1e-4,"viscosity",["",""],[""]],"":[["mol","mole"],1,"substance",[""]],"":[["M","molar"],1e3,"molar_concentration",[""],["","",""]],"":[["wt%","wtpercent"],10,"molar_concentration",[""],["","",""]],"":[["kat","katal","Katal"],1,"activity",[""],[""]],"":[["U","enzUnit","unit"],16667e-19,"activity",[""],[""]],"":[["F","farad","Farad"],1,"capacitance",["","","","","",""],["","",""]],"":[["C","coulomb","Coulomb"],1,"charge",["",""]],"":[["Ah"],3600,"charge",["",""]],"":[["A","Ampere","ampere","amp","amps"],1,"current",[""]],"":[["S","Siemens","siemens"],1,"conductance",["","","","",""],["","",""]],"":[["H","Henry","henry"],1,"inductance",["","",""],["","","",""]],"":[["V","Volt","volt","volts"],1,"potential",["","",""],["","","",""]],"":[["Ohm","ohm","\u03a9","\u2126"],1,"resistance",["","",""],["","","","",""]],"":[["Wb","weber","webers"],1,"magnetism",["","",""],["","",""]],"":[["T","tesla","teslas"],1,"magnetism",[""],["","",""]],"":[["G","gauss"],1e-4,"magnetism",[""],["","",""]],"":[["Mx","maxwell","maxwells"],1e-8,"magnetism",["","",""],["","",""]],"":[["Oe","oersted","oersteds"],250/Math.PI,"magnetism",[""],[""]],"":[["J","joule","Joule","joules","Joules"],1,"energy",["","",""],["",""]],"":[["erg","ergs"],1e-7,"energy",["","",""],["",""]],"":[["BTU","btu","BTUs"],1055.056,"energy",["","",""],["",""]],"":[["cal","calorie","calories"],4.184,"energy",["","",""],["",""]],"":[["Cal","Calorie","Calories"],4184,"energy",["","",""],["",""]],"":[["th","therm","therms","Therm","therm-US"],105480400,"energy",["","",""],["",""]],"":[["Wh"],3600,"energy",["","",""],["",""]],"":[["eV","electronvolt","electronvolts"],1602176634e-28,"energy",["","",""],["",""]],"":[["N","Newton","newton"],1,"force",["",""],["",""]],"":[["dyn","dyne"],1e-5,"force",["",""],["",""]],"":[["lbf","pound-force"],4.448222,"force",["",""],["",""]],"":[["Hz","hertz","Hertz"],1,"frequency",["<1>"],[""]],"":[["rad","radian","radians"],1,"angle",[""]],"":[["deg","degree","degrees"],Math.PI/180,"angle",[""]],"":[["arcmin","arcminute","arcminutes"],Math.PI/10800,"angle",[""]],"":[["arcsec","arcsecond","arcseconds"],Math.PI/648e3,"angle",[""]],"":[["gon","grad","gradian","grads"],Math.PI/200,"angle",[""]],"":[["sr","steradian","steradians"],1,"solid_angle",[""]],"":[["rotation"],2*Math.PI,"angle",[""]],"":[["rpm"],2*Math.PI/60,"angular_velocity",[""],[""]],"":[["B","byte","bytes"],1,"information",[""]],"":[["b","bit","bits"],.125,"information",[""]],"":[["Bps"],1,"information_rate",[""],[""]],"":[["bps"],.125,"information_rate",[""],[""]],"":[["USD","dollar"],1,"currency",[""]],"":[["cents"],.01,"currency",[""]],"":[["cd","candela"],1,"luminosity",[""]],"":[["lm","lumen"],1,"luminous_power",["",""]],"":[["lux"],1,"illuminance",["",""],["",""]],"":[["W","watt","watts"],1,"power",["","",""],["","",""]],"":[["VA","volt-ampere"],1,"power",["","",""],["","",""]],"":[["var","Var","VAr","VAR","volt-ampere-reactive"],1,"power",["","",""],["","",""]],"":[["hp","horsepower"],745.699872,"power",["","",""],["","",""]],"":[["Gy","gray","grays"],1,"radiation",["",""],["",""]],"":[["R","roentgen"],.00933,"radiation",["",""],["",""]],"":[["Sv","sievert","sieverts"],1,"radiation",["",""],["",""]],"":[["Bq","becquerel","becquerels"],1,"radiation",["<1>"],[""]],"":[["Ci","curie","curies"],37e9,"radiation",["<1>"],[""]],"":[["cpm"],1/60,"rate",[""],[""]],"":[["dpm"],1/60,"rate",[""],[""]],"":[["bpm"],1/60,"rate",[""],[""]],"":[["dot","dots"],1,"resolution",[""]],"":[["pixel","px"],1,"resolution",[""]],"":[["ppi"],1,"resolution",[""],[""]],"":[["dpi"],1,"typography",[""],[""]],"":[["cells","cell"],1,"counting",[""]],"":[["each"],1,"counting",[""]],"":[["count"],1,"counting",[""]],"":[["bp","base-pair"],1,"counting",[""]],"":[["nt","nucleotide"],1,"counting",[""]],"":[["molecule","molecules"],1,"counting",["<1>"]],"":[["doz","dz","dozen"],12,"prefix_only",[""]],"":[["%","percent"],.01,"prefix_only",["<1>"]],"":[["ppm"],1e-6,"prefix_only",["<1>"]],"":[["ppb"],1e-9,"prefix_only",["<1>"]],"":[["ppt"],1e-12,"prefix_only",["<1>"]],"":[["ppq"],1e-15,"prefix_only",["<1>"]],"":[["gr","gross"],144,"prefix_only",["",""]],"":[["dB","decibel","decibels"],1,"logarithmic",[""]]},E=["","","","","","","","","","","","","",""],V="<1>",Q=[V];function Ce(L,te){var Ee=te[3]||[],Ge=te[4]||[];if(!Pt(te[1]))throw new Me(L+": Invalid unit definition. 'scalar' must be a number");Ee.forEach(function(at){if(void 0===x[at])throw new Me(L+": Invalid unit definition. Unit "+at+" in 'numerator' is not recognized")}),Ge.forEach(function(at){if(void 0===x[at])throw new Me(L+": Invalid unit definition. Unit "+at+" in 'denominator' is not recognized")})}var be={},he={},Ue={},Yt={},tt={};for(var qe in x)if(x.hasOwnProperty(qe)){var un=x[qe];if("prefix"===un[2]){be[qe]=un[1];for(var Se=0;Se=0&&(L[Ee]=L[Ee]+1);for(var at=0;at=0&&(L[Ee]=L[Ee]-1);return L}var Wt=new RegExp("^([+-]?\\s*(?:(?:\\d+(?:\\.\\d+)?)|(?:\\.\\d+))(?:[Ee][+-]?\\d+)?)?\\s*([^/]*)(?:/(.+))?$"),Ye="\\^|\\*{2}",Ot="[01234]",Wn=new RegExp("([^ \\*\\d]+?)(?:"+Ye+")?(-?"+Ot+"(?![a-zA-Z]))"),Ne=new RegExp("([^ \\*\\d]+?)(?:"+Ye+")?("+Ot+"(?![a-zA-Z]))");function jt(L){ln(L)||(L=L.toString()),L=L.trim();var te=Wt.exec(L);if(!te)throw new Me(L+": Quantity not recognized");var ce=te[1];ce?(ce=ce.replace(/\s/g,""),this.scalar=parseFloat(ce)):this.scalar=1;for(var at,S,w,Ee=te[2],Ge=te[3];te=Wn.exec(Ee);){if(at=parseFloat(te[2]),isNaN(at))throw new Me("Unit exponent is not a number");if(0===at&&!ti.test(te[1]))throw new Me("Unit not recognized");S=te[1]+" ",w="";for(var T=0;T=0?Ee=Ee.replace(te[0],w):(Ge=Ge?Ge+w:w,Ee=Ee.replace(te[0],""))}for(;te=Ne.exec(Ge);){if(at=parseFloat(te[2]),isNaN(at))throw new Me("Unit exponent is not a number");if(0===at&&!ti.test(te[1]))throw new Me("Unit not recognized");S=te[1]+" ",w="";for(var B=0;B=0)throw new Me("Cannot divide with temperatures");if(this.numerator.join("*").indexOf("temp")>=0){if(this.numerator.length>1)throw new Me("Cannot multiply by temperatures");if(!ge(this.denominator,Q))throw new Me("Cannot divide with temperatures")}if(this.initValue=L,zc.call(this),this.isTemperature()&&this.baseScalar<0)throw new Me("Temperatures must not be less than absolute zero")}function Ul(L,te){if(te){if(!Pt(L)||!ln(te))throw new Me("Only number accepted as initialization value when units are explicitly provided")}else if(!(ln(L)||Pt(L)||Fs(L)||Ns(L)))throw new Me("Only string, number or quantity accepted as single initialization value")}function Ns(L){return L&&"object"==typeof L&&L.hasOwnProperty("scalar")}function zc(){if(this.baseScalar)return this.baseScalar;if(this.isBase())this.baseScalar=this.scalar,this.signature=wo.call(this);else{var L=this.toBase();this.baseScalar=L.scalar,this.signature=L.signature}}var us={"-312078":"elastance","-312058":"resistance","-312038":"inductance","-152058":"potential","-152040":"magnetism","-152038":"magnetism","-7997":"specific_volume","-79":"snap","-59":"jolt","-39":"acceleration","-38":"radiation","-20":"frequency","-19":"speed","-18":"viscosity","-17":"volumetric_flow","-1":"wavenumber",0:"unitless",1:"length",2:"area",3:"volume",20:"time",400:"temperature",7941:"yank",7942:"power",7959:"pressure",7961:"force",7962:"energy",7979:"viscosity",7981:"momentum",7982:"angular_momentum",7997:"density",7998:"area_density",8e3:"mass",152020:"radiation_exposure",159999:"magnetism",16e4:"current",160020:"charge",312058:"conductance",312078:"capacitance",3199980:"activity",3199997:"molar_concentration",32e5:"substance",63999998:"illuminance",64e6:"luminous_power",128e7:"currency",25599999980:"information_rate",256e8:"information",511999999980:"angular_velocity",512e9:"angle"};function Ka(L,te){var ce=te.to(ar(L.units()));return Dt({scalar:L.scalar+ce.scalar,numerator:L.numerator,denominator:L.denominator})}function ar(L){if("tempK"===L)return"degK";if("tempC"===L)return"degC";if("tempF"===L)return"degF";if("tempR"===L)return"degR";throw new Me("Unknown type for temp conversion from: "+L)}function Gl(L,te){var Ge,ce=function $l(L){var ce,te=L.units();if(te.match(/(deg)[CFRK]/))ce=L.baseScalar;else if("tempK"===te)ce=L.scalar;else if("tempC"===te)ce=L.scalar;else if("tempF"===te)ce=5*L.scalar/9;else{if("tempR"!==te)throw new Me("Unknown type for temp conversion from: "+te);ce=5*L.scalar/9}return Dt({scalar:ce,numerator:[""],denominator:Q})}(L),Ee=te.units();if("degK"===Ee)Ge=ce.scalar;else if("degC"===Ee)Ge=ce.scalar;else if("degF"===Ee)Ge=9*ce.scalar/5;else{if("degR"!==Ee)throw new Me("Unknown type for degree conversion to: "+Ee);Ge=9*ce.scalar/5}return Dt({scalar:Ge,numerator:te.numerator,denominator:te.denominator})}(Dt.prototype={constructor:Dt}).kind=function(){return us[this.signature.toString()]},Z(Dt.prototype,{isDegrees:function(){return(null===this.signature||400===this.signature)&&1===this.numerator.length&&ge(this.denominator,Q)&&(this.numerator[0].match(//)||this.numerator[0].match(/<(kelvin|celsius|rankine|fahrenheit)>/))},isTemperature:function(){return this.isDegrees()&&this.numerator[0].match(//)}}),Z(Dt.prototype,{to:function(L){var te,ce;return null==L?this:ln(L)?(te=this._conversionCache[L])?te:(ce=Dt(L)).units()===this.units()?this:(this.isCompatible(ce)?ce=ce.isTemperature()?function ds(L,te){var Ee,ce=te.units();if("tempK"===ce)Ee=L.baseScalar;else if("tempC"===ce)Ee=L.baseScalar-273.15;else if("tempF"===ce)Ee=9*L.baseScalar/5-459.67;else{if("tempR"!==ce)throw new Me("Unknown type for temp conversion to: "+ce);Ee=9*L.baseScalar/5}return Dt({scalar:Ee,numerator:te.numerator,denominator:te.denominator})}(this,ce):ce.isDegrees()?Gl(this,ce):Dt({scalar:ot(this.baseScalar,ce.baseScalar),numerator:ce.numerator,denominator:ce.denominator}):this.isInverse(ce)?ce=this.inverse().to(L):qn(this.units(),ce.units()),this._conversionCache[L]=ce,ce):this.to(L.units())},toBase:function(){if(this.isBase())return this;if(this.isTemperature())return function Za(L){var ce,te=L.units();if(te.match(/(deg)[CFRK]/))ce=L.baseScalar;else if("tempK"===te)ce=L.scalar;else if("tempC"===te)ce=L.scalar+273.15;else if("tempF"===te)ce=5*(L.scalar+459.67)/9;else{if("tempR"!==te)throw new Me("Unknown type for temp conversion from: "+te);ce=5*L.scalar/9}return Dt({scalar:ce,numerator:[""],denominator:Q})}(this);var L=Wr[this.units()];return L||(L=function Qa(L,te){for(var at,ce=[],Ee=[],Ge=1,S=0;S0)for(ee=0;ee"u")for(te=0;teat.toLowerCase()?1:0})},Dt.getAliases=function si(L){if(!Yt[L])throw new Me("Unit not recognized");return x[Yt[L]][0]},Dt.mulSafe=Ke,Dt.divSafe=ot,Dt.getKinds=function jo(){return function j(L){var te={};return L.filter(function(ce){return!te.hasOwnProperty(ce)&&(te[ce]=!0)})}(Object.keys(us).map(function(L){return us[L]}))},Dt.swiftConverter=function hs(L,te){var Ge,ce=Dt(L),Ee=Dt(te);return ce.eq(Ee)?cn:(Ge=ce.isTemperature()?function(at){return ce.mul(at).to(Ee).scalar}:function(at){return at*ce.baseScalar/Ee.baseScalar},function(S){var w,T,B;if(Array.isArray(S)){for(T=S.length,B=[],w=0;wL.baseScalar?1:void 0)},same:function(L){return this.scalar===L.scalar&&this.units()===L.units()}}),Z(Dt.prototype,{isUnitless:function(){return[this.numerator,this.denominator].every(function(L){return ge(L,Q)})},isCompatible:function(L){return ln(L)?this.isCompatible(Dt(L)):!(!Fs(L)||void 0===L.signature)&&this.signature===L.signature},isInverse:function(L){return this.inverse().isCompatible(L)},isBase:function(){return void 0!==this._isBase?this._isBase:this.isDegrees()&&this.numerator[0].match(/<(kelvin|temp-K)>/)?(this._isBase=!0,this._isBase):(this.numerator.concat(this.denominator).forEach(function(L){L!==V&&-1===E.indexOf(L)&&(this._isBase=!1)},this),!1===this._isBase||(this._isBase=!0),this._isBase)}}),Kt.prototype.get=function(L){return arguments.length>1&&(L=Array.apply(null,arguments)),L.reduce(function(te,ce,Ee){if(te){var Ge=te[ce];return Ee===L.length-1?Ge?Ge.data:void 0:Ge}},this)},Kt.prototype.set=function(L,te){return arguments.length>2&&(L=Array.prototype.slice.call(arguments,0,-1),te=arguments[arguments.length-1]),L.reduce(function(ce,Ee,Ge){var at=ce[Ee];return void 0===at&&(at=ce[Ee]={}),Ge===L.length-1?(at.data=te,te):at},this)},Dt.formatter=function Kr(L,te){return(L+" "+te).trim()},Z(Dt.prototype,{units:function(){if(void 0!==this._units)return this._units;var L=ge(this.numerator,Q),te=ge(this.denominator,Q);if(L&&te)return this._units="",this._units;var ce=jr(this.numerator),Ee=jr(this.denominator);return this._units=ce+(te?"":"/"+Ee),this._units},toString:function(L,te){var ce;if(Pt(L))ce=this.units(),te=L;else if(ln(L))ce=L;else if(Fs(L))return this.toPrec(L).toString(te);var Ee=this.to(ce);return((void 0!==te?Mn(Ee.scalar,te):Ee.scalar)+" "+Ee.units()).trim()},format:function(L,te){1===arguments.length&&"function"==typeof L&&(te=L,L=void 0),te=te||Dt.formatter;var ce=this.to(L);return te.call(this,ce.scalar,ce.units())}});var jn=new Kt;function jr(L){var te=jn.get(L);return te||(te=ge(L,Q)?"1":function Ze(L){return L.reduce(function(ce,Ee){var Ge=ce[Ee];return Ge||ce.push(Ge=ce[Ee]=[Ee,0]),Ge[1]++,ce},[]).map(function(ce){return ce[0]+(ce[1]>1?ce[1]:"")})}(function Xa(L){for(var ce,te=[],Ge=0;Ged?1:u=mr&&f<=H0}function la(u){return-1!==u.indexOf("(module.js:")||-1!==u.indexOf("(node.js:")}function Wo(){if(sr)try{throw new Error}catch(f){var u=f.stack.split("\n"),h=pe(u[0].indexOf("@")>0?u[1]:u[2]);return h?(Dr=h[0],h[1]):void 0}}function pe(u){var d=/at .+ \((.+):(\d+):(?:\d+)\)$/.exec(u);if(d)return[d[1],Number(d[2])];var h=/at ([^ ]+):(\d+):(?:\d+)$/.exec(u);if(h)return[h[1],Number(h[2])];var f=/.*@(.+):(\d+)$/.exec(u);return f?[f[1],Number(f[2])]:void 0}var nt=E.EmptyError=function(){this.message="Sequence contains no elements.",Error.call(this)};nt.prototype=Object.create(Error.prototype),nt.prototype.name="EmptyError";var Wt=E.ObjectDisposedError=function(){this.message="Object has been disposed",Error.call(this)};Wt.prototype=Object.create(Error.prototype),Wt.prototype.name="ObjectDisposedError";var Ye=E.ArgumentOutOfRangeError=function(){this.message="Argument out of range",Error.call(this)};Ye.prototype=Object.create(Error.prototype),Ye.prototype.name="ArgumentOutOfRangeError";var Ot=E.NotSupportedError=function(u){this.message=u||"This operation is not supported",Error.call(this)};Ot.prototype=Object.create(Error.prototype),Ot.prototype.name="NotSupportedError";var Wn=E.NotImplementedError=function(u){this.message=u||"This operation is not implemented",Error.call(this)};Wn.prototype=Object.create(Error.prototype),Wn.prototype.name="NotImplementedError";var Ne=E.helpers.notImplemented=function(){throw new Wn},on=(E.helpers.notSupported=function(){throw new Ot},"function"==typeof Symbol&&Symbol.iterator||"_es6shim_iterator_");x.Set&&"function"==typeof(new x.Set)["@@iterator"]&&(on="@@iterator");var Rn=E.doneEnumerator={done:!0,value:cn},Ei=E.helpers.isIterable=function(u){return u&&u[on]!==cn},tr=E.helpers.isArrayLike=function(u){return u&&u.length!==cn};E.helpers.iterator=on;var ti=E.internals.bindCallback=function(u,d,h){if(typeof d>"u")return u;switch(h){case 0:return function(){return u.call(d)};case 1:return function(f){return u.call(d,f)};case 2:return function(f,g){return u.call(d,f,g)};case 3:return function(f,g,y){return u.call(d,f,g,y)}}return function(){return u.apply(d,arguments)}},Ga="[object Arguments]",$a="[object Array]",Fs="[object Boolean]",Dt="[object Date]",Ul="[object Error]",us="[object Number]",jo="[object Object]",qa="[object RegExp]",Ka="[object String]",jn={};jn["[object Float32Array]"]=jn["[object Float64Array]"]=jn["[object Int8Array]"]=jn["[object Int16Array]"]=jn["[object Int32Array]"]=jn["[object Uint8Array]"]=jn["[object Uint8ClampedArray]"]=jn["[object Uint16Array]"]=jn["[object Uint32Array]"]=!0,jn[Ga]=jn[$a]=jn["[object ArrayBuffer]"]=jn[Fs]=jn[Dt]=jn[Ul]=jn["[object Function]"]=jn["[object Map]"]=jn[us]=jn[jo]=jn[qa]=jn["[object Set]"]=jn[Ka]=jn["[object WeakMap]"]=!1;var jr=Object.prototype,Xa=jr.hasOwnProperty,Ze=jr.toString,L=Math.pow(2,53)-1,te=Object.keys||function(){var u=Object.prototype.hasOwnProperty,d=!{toString:null}.propertyIsEnumerable("toString"),h=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],f=h.length;return function(g){if("object"!=typeof g&&("function"!=typeof g||null===g))throw new TypeError("Object.keys called on non-object");var O,F,y=[];for(O in g)u.call(g,O)&&y.push(O);if(d)for(F=0;F-1&&u%1==0&&u<=L}var S=function(){try{Object({toString:0}+"")}catch{return function(){return!1}}return function(u){return"function"!=typeof u.toString&&"string"==typeof(u+"")}}(),T=Array.isArray||function(u){return Ge(u)&&at(u.length)&&Ze.call(u)===$a};function B(u,d){for(var h=-1,f=u.length;++hF))return!1;for(;++O=this.length||u<0)){var d=u-1>>1;if(!(d<0||d===u)&&this.isHigherPriority(u,d)){var h=this.items[u];this.items[u]=this.items[d],this.items[d]=h,this.percolate(d)}}},St.heapify=function(u){if(+u||(u=0),!(u>=this.length||u<0)){var d=2*u+1,h=2*u+2,f=u;if(d"u")throw new Ot;h=Ki(h);var g=d,y=x.setInterval(function(){g=f(g)},h);return Zt(function(){x.clearInterval(y)})}}(Bn.prototype),function(u){u.catchError=u.catch=function(d){return new sn(this,d)}}(Bn.prototype);var ua,xn,ef=E.internals.SchedulePeriodicRecursive=function(){function d(h,f,g,y){this._scheduler=h,this._state=f,this._period=g,this._action=y}return d.prototype.start=function(){var h=new Le;return this._cancel=h,h.setDisposable(this._scheduler.scheduleRecursiveFuture(0,this._period,function u(h){return function(g,y){y(0,h._period);var O=ye(h._action)(h._state);O===Se&&(h._cancel.dispose(),si(O.e)),h._state=O}}(this))),h},d}(),_i=function(u){function d(){u.call(this)}return H(d,u),d.prototype.schedule=function(h,f){return dn(f(this,h))},d}(Bn),Ur=Bn.immediate=new _i,vi=function(u){var d;function h(){for(;d.length>0;){var g=d.dequeue();!g.isCancelled()&&g.invoke()}}function f(){u.call(this)}return H(f,u),f.prototype.schedule=function(g,y){var O=new Vs(this,g,y,this.now());if(d)d.enqueue(O);else{(d=new hn(4)).enqueue(O);var F=ye(h)();d=null,F===Se&&si(F.e)}return O.disposable},f.prototype.scheduleRequired=function(){return!d},f}(Bn),Zi=Bn.currentThread=new vi,Ut=function(){var u,d=V;if(x.setTimeout)u=x.setTimeout,d=x.clearTimeout;else{if(!x.WScript)throw new Ot;u=function(h,f){x.WScript.Sleep(f),h()}}return{setTimeout:u,clearTimeout:d}}(),Wc=Ut.setTimeout,fD=Ut.clearTimeout;!function(){var u=1,d={},h=!1;function f(J){if(h)Wc(function(){f(J)},0);else{var oe=d[J];if(oe){h=!0;var Ie=ye(oe)();xn(J),h=!1,Ie===Se&&si(Ie.e)}}}xn=function(J){delete d[J]};var g=new RegExp("^"+String(toString).replace(/[.*+?^${}()|[\]\\]/g,"\\$&").replace(/toString| for [^\]]+/g,".*?")+"$"),y="function"==typeof(y=ot&&Me&&ot.setImmediate)&&!g.test(y)&&y;if(qe(y))ua=function(J){var oe=u++;return d[oe]=J,y(function(){f(oe)}),oe};else if(typeof process<"u"&&"[object process]"==={}.toString.call(process))ua=function(J){var oe=u++;return d[oe]=J,process.nextTick(function(){f(oe)}),oe};else if(function O(){if(!x.postMessage||x.importScripts)return!1;var J=!1,oe=x.onmessage;return x.onmessage=function(){J=!0},x.postMessage("","*"),x.onmessage=oe,J}()){var F="ms.rx.schedule"+Math.random();x.addEventListener("message",function(J){"string"==typeof J.data&&J.data.substring(0,F.length)===F&&f(J.data.substring(F.length))},!1),ua=function(J){var oe=u++;return d[oe]=J,x.postMessage(F+oe,"*"),oe}}else if(x.MessageChannel){var ie=new x.MessageChannel;ie.port1.onmessage=function(J){f(J.data)},ua=function(J){var oe=u++;return d[oe]=J,ie.port2.postMessage(oe),oe}}else ua="document"in x&&"onreadystatechange"in x.document.createElement("script")?function(J){var oe=x.document.createElement("script"),Ie=u++;return d[Ie]=J,oe.onreadystatechange=function(){f(Ie),oe.onreadystatechange=null,oe.parentNode.removeChild(oe),oe=null},x.document.documentElement.appendChild(oe),Ie}:function(J){var oe=u++;return d[oe]=J,Wc(function(){f(oe)},0),oe}}();var ke=function(u){function d(){u.call(this)}function h(O,F,W,ie){return function(){O.setDisposable(fn._fixup(F(W,ie)))}}function f(O){this._id=O,this.isDisposed=!1}function g(O){this._id=O,this.isDisposed=!1}return H(d,u),f.prototype.dispose=function(){this.isDisposed||(this.isDisposed=!0,xn(this._id))},g.prototype.dispose=function(){this.isDisposed||(this.isDisposed=!0,fD(this._id))},d.prototype.schedule=function(O,F){var W=new Le,ie=ua(h(W,F,this,O));return new It(W,new f(ie))},d.prototype._scheduleFuture=function(O,F,W){if(0===F)return this.schedule(O,W);var ie=new Le,J=Wc(h(ie,W,this,O),F);return new It(ie,new g(J))},d.prototype.scheduleLongRunning=function(O,F){var W=Zt(V);return ua(function y(O,F,W){return function(){F(O,W)}}(O,F,W)),W},d}(Bn),ni=Bn.default=Bn.async=new ke,sn=function(u){function d(h,f){this._scheduler=h,this._handler=f,this._recursiveOriginal=null,this._recursiveWrapper=null,u.call(this)}return H(d,u),d.prototype.schedule=function(h,f){return this._scheduler.schedule(h,this._wrap(f))},d.prototype._scheduleFuture=function(h,f,g){return this._scheduler.schedule(h,f,this._wrap(g))},d.prototype.now=function(){return this._scheduler.now()},d.prototype._clone=function(h){return new d(h,this._handler)},d.prototype._wrap=function(h){var f=this;return function(g,y){var O=ye(h)(f._getRecursiveWrapper(g),y);return O===Se?(f._handler(O.e)||si(O.e),it):dn(O)}},d.prototype._getRecursiveWrapper=function(h){if(this._recursiveOriginal!==h){this._recursiveOriginal=h;var f=this._clone(h);f._recursiveOriginal=h,f._recursiveWrapper=f,this._recursiveWrapper=f}return this._recursiveWrapper},d.prototype.schedulePeriodic=function(h,f,g){var y=this,O=!1,F=new Le;return F.setDisposable(this._scheduler.schedulePeriodic(h,f,function(W){if(O)return null;var ie=ye(g)(W);return ie===Se?(O=!0,y._handler(ie.e)||si(ie.e),F.dispose(),null):ie})),F},d}(Bn),en=E.Notification=function(){function u(){}return u.prototype._accept=function(d,h,f){throw new Wn},u.prototype._acceptObserver=function(d,h,f){throw new Wn},u.prototype.accept=function(d,h,f){return d&&"object"==typeof d?this._acceptObserver(d):this._accept(d,h,f)},u.prototype.toObservable=function(d){var h=this;return pn(d)||(d=Ur),new Sn(function(f){return d.schedule(h,function(g,y){y._acceptObserver(f),"N"===y.kind&&f.onCompleted()})})},u}(),jy=function(u){function d(h){this.value=h,this.kind="N"}return H(d,u),d.prototype._accept=function(h){return h(this.value)},d.prototype._acceptObserver=function(h){return h.onNext(this.value)},d.prototype.toString=function(){return"OnNext("+this.value+")"},d}(en),pD=function(u){function d(h){this.error=h,this.kind="E"}return H(d,u),d.prototype._accept=function(h,f){return f(this.error)},d.prototype._acceptObserver=function(h){return h.onError(this.error)},d.prototype.toString=function(){return"OnError("+this.error+")"},d}(en),Uy=function(u){function d(){this.kind="C"}return H(d,u),d.prototype._accept=function(h,f,g){return g()},d.prototype._acceptObserver=function(h){return h.onCompleted()},d.prototype.toString=function(){return"OnCompleted()"},d}(en),jc=en.createOnNext=function(u){return new jy(u)},ao=en.createOnError=function(u){return new pD(u)},Gy=en.createOnCompleted=function(){return new Uy},Nr=E.Observer=function(){};Nr.prototype.toNotifier=function(){var u=this;return function(d){return d.accept(u)}},Nr.prototype.asObserver=function(){var u=this;return new ng(function(d){u.onNext(d)},function(d){u.onError(d)},function(){u.onCompleted()})},Nr.prototype.checked=function(){return new mD(this)};var Ja=Nr.create=function(u,d,h){return u||(u=V),d||(d=Yt),h||(h=V),new ng(u,d,h)};Nr.fromNotifier=function(u,d){var h=ti(u,d,1);return new ng(function(f){return h(jc(f))},function(f){return h(ao(f))},function(){return h(Gy())})},Nr.prototype.notifyOn=function(u){return new qy(u,this)},Nr.prototype.makeSafe=function(u){return new AnonymousSafeObserver(this._onNext,this._onError,this._onCompleted,u)};var le,Fe=E.internals.AbstractObserver=function(u){function d(){this.isStopped=!1}return H(d,u),d.prototype.next=Ne,d.prototype.error=Ne,d.prototype.completed=Ne,d.prototype.onNext=function(h){!this.isStopped&&this.next(h)},d.prototype.onError=function(h){this.isStopped||(this.isStopped=!0,this.error(h))},d.prototype.onCompleted=function(){this.isStopped||(this.isStopped=!0,this.completed())},d.prototype.dispose=function(){this.isStopped=!0},d.prototype.fail=function(h){return!this.isStopped&&(this.isStopped=!0,this.error(h),!0)},d}(Nr),ng=E.AnonymousObserver=function(u){function d(h,f,g){u.call(this),this._onNext=h,this._onError=f,this._onCompleted=g}return H(d,u),d.prototype.next=function(h){this._onNext(h)},d.prototype.error=function(h){this._onError(h)},d.prototype.completed=function(){this._onCompleted()},d}(Fe),mD=function(u){function d(f){u.call(this),this._observer=f,this._state=0}H(d,u);var h=d.prototype;return h.onNext=function(f){this.checkAccess();var g=ye(this._observer.onNext).call(this._observer,f);this._state=0,g===Se&&si(g.e)},h.onError=function(f){this.checkAccess();var g=ye(this._observer.onError).call(this._observer,f);this._state=2,g===Se&&si(g.e)},h.onCompleted=function(){this.checkAccess();var f=ye(this._observer.onCompleted).call(this._observer);this._state=2,f===Se&&si(f.e)},h.checkAccess=function(){if(1===this._state)throw new Error("Re-entrancy detected");if(2===this._state)throw new Error("Observer completed");0===this._state&&(this._state=1)},d}(Nr),$y=E.internals.ScheduledObserver=function(u){function d(O,F){u.call(this),this.scheduler=O,this.observer=F,this.isAcquired=!1,this.hasFaulted=!1,this.queue=[],this.disposable=new Lt}function y(O,F){var W;if(O.queue.length>0){W=O.queue.shift();var ie=ye(W)();if(ie===Se)return O.queue=[],O.hasFaulted=!0,si(ie.e);F(O)}else O.isAcquired=!1}return H(d,u),d.prototype.next=function(O){this.queue.push(function h(O,F){return function(){O.onNext(F)}}(this.observer,O))},d.prototype.error=function(O){this.queue.push(function f(O,F){return function(){O.onError(F)}}(this.observer,O))},d.prototype.completed=function(){this.queue.push(function g(O){return function(){O.onCompleted()}}(this.observer))},d.prototype.ensureActive=function(){var O=!1;!this.hasFaulted&&this.queue.length>0&&(O=!this.isAcquired,this.isAcquired=!0),O&&this.disposable.setDisposable(this.scheduler.scheduleRecursive(this,y))},d.prototype.dispose=function(){u.prototype.dispose.call(this),this.disposable.dispose()},d}(Fe),qy=function(u){function d(h,f,g){u.call(this,h,f),this._cancel=g}return H(d,u),d.prototype.next=function(h){u.prototype.next.call(this,h),this.ensureActive()},d.prototype.error=function(h){u.prototype.error.call(this,h),this.ensureActive()},d.prototype.completed=function(){u.prototype.completed.call(this),this.ensureActive()},d.prototype.dispose=function(){u.prototype.dispose.call(this),this._cancel&&this._cancel.dispose(),this._cancel=null},d}($y),ze=E.Observable=function(){function d(){if(E.config.longStackSupport&&sr){var h=this._subscribe,f=ye(si)(new Error).e;this.stack=f.stack.substring(f.stack.indexOf("\n")+1),this._subscribe=function u(h,f){return function(g){var y=g.onError;return g.onError=function(O){(function bn(u,d){if(sr&&d.stack&&"object"==typeof u&&null!==u&&u.stack&&-1===u.stack.indexOf(so)){for(var h=[],f=d;f;f=f.source)f.stack&&h.unshift(f.stack);h.unshift(u.stack);var g=h.join("\n"+so+"\n");u.stack=function cs(u){for(var d=u.split("\n"),h=[],f=0,g=d.length;f0&&this.l--,{done:!1,value:this.v})},d}(gr),Te=gr.repeat=function(u,d){return new vD(u,d)},bD=function(u){function d(f,g,y){this.s=f,this.fn=g?ti(g,y,3):null}function h(f){this.i=-1,this.s=f.s,this.l=this.s.length,this.fn=f.fn}return H(d,u),d.prototype[on]=function(){return new h(this)},h.prototype.next=function(){return++this.isd?sd:d:d}(u),this._i=0}sg.prototype[on]=function(){return new lo(this._s)},lo.prototype[on]=function(){return this},lo.prototype.next=function(){return this._i0)&&(u.onNext(d),f>0&&f--),0===f)return u.onCompleted();g(f)})},ze.repeat=function(u,d,h){return pn(h)||(h=Zi),new Gc(u,d,h)};var Pe=function(u){function d(f,g){this._value=f,this._scheduler=g,u.call(this)}function h(f,g){var O=g[1];return O.onNext(g[0]),O.onCompleted(),it}return H(d,u),d.prototype.subscribeCore=function(f){var g=[this._value,f];return this._scheduler===Ur?h(0,g):this._scheduler.schedule(g,h)},d}(Be),ug=(ze.return=ze.just=function(u,d){return pn(d)||(d=Ur),new Pe(u,d)},function(u){function d(f,g){this._error=f,this._scheduler=g,u.call(this)}function h(f,g){return g[1].onError(g[0]),it}return H(d,u),d.prototype.subscribeCore=function(f){var g=[this._error,f];return this._scheduler===Ur?h(0,g):this._scheduler.schedule(g,h)},d}(Be)),ps=ze.throw=function(u,d){return pn(d)||(d=Ur),new ug(u,d)},Ct=function(u){function d(h,f){this._resFn=h,this._obsFn=f,u.call(this)}return H(d,u),d.prototype.subscribeCore=function(h){var f=it,g=ye(this._resFn)();if(g===Se)return new It(ps(g.e).subscribe(h),f);g&&(f=g);var y=ye(this._obsFn)(g);return new It(y===Se?ps(y.e).subscribe(h):y.subscribe(h),f)},d}(Be);function Zy(u,d){return u.amb(d)}ze.using=function(u,d){return new Ct(u,d)},le.amb=function(u){var d=this;return new Sn(function(h){var f,g="L",y="R",O=new Le,F=new Le;function W(){f||(f=g,F.dispose())}function ie(){f||(f=y,O.dispose())}tt(u)&&(u=mn(u));var J=Ja(function(Ie){W(),f===g&&h.onNext(Ie)},function(Ie){W(),f===g&&h.onError(Ie)},function(){W(),f===g&&h.onCompleted()}),oe=Ja(function(Ie){ie(),f===y&&h.onNext(Ie)},function(Ie){ie(),f===y&&h.onError(Ie)},function(){ie(),f===y&&h.onCompleted()});return O.setDisposable(d.subscribe(J)),F.setDisposable(u.subscribe(oe)),new It(O,F)})},ze.amb=function(){var d,u=Uc();if(Array.isArray(arguments[0]))d=arguments[0];else{var h=arguments.length;d=new Array(d);for(var f=0;f0?this.parent.handleSubscribe(this.parent.q.shift()):(this.parent.activeCount--,this.parent.done&&0===this.parent.activeCount&&this.parent.o.onCompleted())},d}(Fe);le.merge=function(u){return"number"!=typeof u?Ai(this,u):new Xe(this,u)};var Ai=ze.merge=function(){var u,h,d=[],f=arguments.length;if(arguments[0])if(pn(arguments[0]))for(u=arguments[0],h=1;h0}function f(y){return y.shift()}return H(d,u),d.prototype.next=function(y){if(this._q[this._i].push(y),this._q.every(h)){var O=this._q.map(f),F=ye(this._p._cb).apply(null,O);if(F===Se)return this._o.onError(F.e);this._o.onNext(F)}else this._d.filter(function g(y){return function(O,F){return F!==y}}(this._i)).every(Q)&&this._o.onCompleted()},d.prototype.error=function(y){this._o.onError(y)},d.prototype.completed=function(){this._d[this._i]=!0,this._d.every(Q)&&this._o.onCompleted()},d}(Fe);function fa(){return!1}function lf(){return[]}le.zip=function(){if(0===arguments.length)throw new Error("invalid arguments");for(var u=arguments.length,d=new Array(u),h=0;h0}function f(y){return y.shift()}return H(d,u),d.prototype.next=function(y){if(this._s.q[this._i].push(y),this._s.q.every(h)){var O=this._s.q.map(f),F=ye(this._s.cb).apply(null,O);if(F===Se)return this._s.o.onError(F.e);this._s.o.onNext(F)}else this._s.done.filter(function g(y){return function(O,F){return F!==y}}(this._i)).every(Q)&&this._s.o.onCompleted()},d.prototype.error=function(y){this._s.o.onError(y)},d.prototype.completed=function(){this._s.done[this._i]=!0,this._s.done.every(Q)&&this._s.o.onCompleted()},d}(Fe);function ud(u){return u.length>0}le.zipIterable=function(){if(0===arguments.length)throw new Error("invalid arguments");for(var u=arguments.length,d=new Array(u),h=0;hthis._c&&this._o.onNext(this._q.shift())},d.prototype.error=function(h){this._o.onError(h)},d.prototype.completed=function(){this._o.onCompleted()},d}(Fe);le.skipLast=function(u){if(u<0)throw new Ye;return new kD(this,u)},le.startWith=function(){var d,h=0;arguments.length&&pn(arguments[0])?(d=arguments[0],h=1):d=Ur;for(var f=[],g=h,y=arguments.length;gthis._c&&this._q.shift()},d.prototype.error=function(h){this._o.onError(h)},d.prototype.completed=function(){for(;this._q.length>0;)this._o.onNext(this._q.shift());this._o.onCompleted()},d}(Fe);le.takeLast=function(u){if(u<0)throw new Ye;var d=this;return new Sn(function(h){return d.subscribe(new MD(h,u))},d)};var TD=function(u){function d(h,f){this._o=h,this._c=f,this._q=[],u.call(this)}return H(d,u),d.prototype.next=function(h){this._q.push(h),this._q.length>this._c&&this._q.shift()},d.prototype.error=function(h){this._o.onError(h)},d.prototype.completed=function(){this._o.onNext(this._q),this._o.onCompleted()},d}(Fe);function t0(u,d,h){var f=ti(d,h,3);return u.map(function(g,y){var O=f(g,y,u);return tt(O)&&(O=mn(O)),(tr(O)||Ei(O))&&(O=ai(O)),O}).concatAll()}le.takeLastBuffer=function(u){if(u<0)throw new Ye;var d=this;return new Sn(function(h){return d.subscribe(new TD(h,u))},d)},le.windowWithCount=le.windowCount=function(u,d){var h=this;if(+u||(u=0),Math.abs(u)===1/0&&(u=0),u<=0)throw new Ye;if(null==d&&(d=u),+d||(d=0),Math.abs(d)===1/0&&(d=0),d<=0)throw new Ye;return new Sn(function(f){var g=new Le,y=new Mr(g),O=0,F=[];function W(){var ie=new bi;F.push(ie),f.onNext(Qe(ie,y))}return W(),g.setDisposable(h.subscribe(function(ie){for(var J=0,oe=F.length;J=0&&Ie%d==0&&F.shift().onCompleted(),++O%d==0&&W()},function(ie){for(;F.length>0;)F.shift().onError(ie);f.onError(ie)},function(){for(;F.length>0;)F.shift().onCompleted();f.onCompleted()})),y},h)},le.selectConcat=le.concatMap=function(u,d,h){return qe(u)&&qe(d)?this.concatMap(function(f,g){var y=u(f,g);return tt(y)&&(y=mn(y)),(tr(y)||Ei(y))&&(y=ai(y)),y.map(function(O,F){return d(f,O,g,F)})}):qe(u)?t0(this,u,h):t0(this,function(){return u})},le.concatMapObserver=le.selectConcatObserver=function(u,d,h,f){var g=this,y=ti(u,f,2),O=ti(d,f,1),F=ti(h,f,0);return new Sn(function(W){var ie=0;return g.subscribe(function(J){var oe;try{oe=y(J,ie++)}catch(Ie){return void W.onError(Ie)}tt(oe)&&(oe=mn(oe)),W.onNext(oe)},function(J){var oe;try{oe=O(J)}catch(Ie){return void W.onError(Ie)}tt(oe)&&(oe=mn(oe)),W.onNext(oe),W.onCompleted()},function(){var J;try{J=F()}catch(oe){return void W.onError(oe)}tt(J)&&(J=mn(J)),W.onNext(J),W.onCompleted()})},this).concatAll()};var ED=function(u){function d(h,f){this._o=h,this._d=f,this._f=!1,u.call(this)}return H(d,u),d.prototype.next=function(h){this._f=!0,this._o.onNext(h)},d.prototype.error=function(h){this._o.onError(h)},d.prototype.completed=function(){!this._f&&this._o.onNext(this._d),this._o.onCompleted()},d}(Fe);function n0(u){this.comparer=u,this.set=[]}le.defaultIfEmpty=function(u){var d=this;return u===cn&&(u=null),new Sn(function(h){return d.subscribe(new ED(h,u))},d)},n0.prototype.push=function(u){var d=-1===function AD(u,d,h){for(var f=0,g=u.length;f0&&(this._o.onNext(f),this._r<=0&&this._o.onCompleted())},h.prototype.error=function(f){this._o.onError(f)},h.prototype.completed=function(){this._o.onCompleted()},d}(Be);le.take=function(u,d){if(u<0)throw new Ye;return 0===u?ql(d):new FD(this,u)};var ND=function(u){function d(h,f){this.source=h,this._fn=f,u.call(this)}return H(d,u),d.prototype.subscribeCore=function(h){return this.source.subscribe(new LD(h,this))},d}(Be),LD=function(u){function d(h,f){this._o=h,this._p=f,this._i=0,this._r=!0,u.call(this)}return H(d,u),d.prototype.next=function(h){if(this._r&&(this._r=ye(this._p._fn)(h,this._i++,this._p),this._r===Se))return this._o.onError(this._r.e);this._r?this._o.onNext(h):this._o.onCompleted()},d.prototype.error=function(h){this._o.onError(h)},d.prototype.completed=function(){this._o.onCompleted()},d}(Fe);le.takeWhile=function(u,d){var h=ti(u,d,3);return new ND(this,h)};var pa=function(u){function d(g,y,O){this.source=g,this.predicate=ti(y,O,3),u.call(this)}function f(g,y,O){this.o=g,this.predicate=y,this.source=O,this.i=0,Fe.call(this)}return H(d,u),d.prototype.subscribeCore=function(g){return this.source.subscribe(new f(g,this.predicate,this))},d.prototype.internalFilter=function(g,y){return new d(this.source,function h(g,y){return function(O,F,W){return y.predicate(O,F,W)&&g.call(this,O,F,W)}}(g,this),y)},H(f,Fe),f.prototype.next=function(g){var y=ye(this.predicate)(g,this.i++,this.source);if(y===Se)return this.o.onError(y.e);y&&this.o.onNext(g)},f.prototype.error=function(g){this.o.onError(g)},f.prototype.completed=function(){this.o.onCompleted()},d}(Be);le.filter=le.where=function(u,d){return this instanceof pa?this.internalFilter(u,d):new pa(this,u,d)};var mg=function(u){function d(h,f,g){this.source=h,this._k=f,this._c=g,u.call(this)}return H(d,u),d.prototype.subscribeCore=function(h){return this.source.subscribe(new Tn(h,this._k,this._c))},d}(Be),Tn=function(u){function d(h,f,g){this._o=h,this._k=f,this._c=g,this._v=null,this._hv=!1,this._l=[],u.call(this)}return H(d,u),d.prototype.next=function(h){var f=ye(this._k)(h);if(f===Se)return this._o.onError(f.e);var g=0;if(this._hv){if((g=ye(this._c)(f,this._v))===Se)return this._o.onError(g.e)}else this._hv=!0,this._v=f;g>0&&(this._v=f,this._l=[]),g>=0&&this._l.push(h)},d.prototype.error=function(h){this._o.onError(h)},d.prototype.completed=function(){this._o.onNext(this._l),this._o.onCompleted()},d}(Fe);function hf(u){if(0===u.length)throw new nt;return u[0]}var o0=function(u){function d(h,f,g,y){this.source=h,this.accumulator=f,this.hasSeed=g,this.seed=y,u.call(this)}return H(d,u),d.prototype.subscribeCore=function(h){return this.source.subscribe(new s0(h,this))},d}(Be),s0=function(u){function d(h,f){this._o=h,this._p=f,this._fn=f.accumulator,this._hs=f.hasSeed,this._s=f.seed,this._ha=!1,this._a=null,this._hv=!1,this._i=0,u.call(this)}return H(d,u),d.prototype.next=function(h){if(!this._hv&&(this._hv=!0),this._ha?this._a=ye(this._fn)(this._a,h,this._i,this._p):(this._a=this._hs?ye(this._fn)(this._s,h,this._i,this._p):h,this._ha=!0),this._a===Se)return this._o.onError(this._a.e);this._i++},d.prototype.error=function(h){this._o.onError(h)},d.prototype.completed=function(){this._hv&&this._o.onNext(this._a),!this._hv&&this._hs&&this._o.onNext(this._s),!this._hv&&!this._hs&&this._o.onError(new nt),this._o.onCompleted()},d}(Fe);le.reduce=function(){var d,u=!1,h=arguments[0];return 2===arguments.length&&(u=!0,d=arguments[1]),new o0(this,h,u,d)};var gg=function(u){function d(h,f){this.source=h,this._fn=f,u.call(this)}return H(d,u),d.prototype.subscribeCore=function(h){return this.source.subscribe(new _g(h,this._fn,this.source))},d}(Be),_g=function(u){function d(h,f,g){this._o=h,this._fn=f,this._s=g,this._i=0,u.call(this)}return H(d,u),d.prototype.next=function(h){var f=ye(this._fn)(h,this._i++,this._s);if(f===Se)return this._o.onError(f.e);Boolean(f)&&(this._o.onNext(!0),this._o.onCompleted())},d.prototype.error=function(h){this._o.onError(h)},d.prototype.completed=function(){this._o.onNext(!1),this._o.onCompleted()},d}(Fe);le.some=function(u,d){var h=ti(u,d,3);return new gg(this,h)};var a0=function(u){function d(h){this.source=h,u.call(this)}return H(d,u),d.prototype.subscribeCore=function(h){return this.source.subscribe(new ff(h))},d}(Be),ff=function(u){function d(h){this._o=h,u.call(this)}return H(d,u),d.prototype.next=function(){this._o.onNext(!1),this._o.onCompleted()},d.prototype.error=function(h){this._o.onError(h)},d.prototype.completed=function(){this._o.onNext(!0),this._o.onCompleted()},d}(Fe);le.isEmpty=function(){return new a0(this)};var l0=function(u){function d(h,f){this.source=h,this._fn=f,u.call(this)}return H(d,u),d.prototype.subscribeCore=function(h){return this.source.subscribe(new No(h,this._fn,this.source))},d}(Be),No=function(u){function d(h,f,g){this._o=h,this._fn=f,this._s=g,this._i=0,u.call(this)}return H(d,u),d.prototype.next=function(h){var f=ye(this._fn)(h,this._i++,this._s);if(f===Se)return this._o.onError(f.e);Boolean(f)||(this._o.onNext(!1),this._o.onCompleted())},d.prototype.error=function(h){this._o.onError(h)},d.prototype.completed=function(){this._o.onNext(!0),this._o.onCompleted()},d}(Fe);le.every=function(u,d){var h=ti(u,d,3);return new l0(this,h)};var pf=function(u){function d(h,f,g){var y=+g||0;Math.abs(y)===1/0&&(y=0),this.source=h,this._elem=f,this._n=y,u.call(this)}return H(d,u),d.prototype.subscribeCore=function(h){return this._n<0?(h.onNext(!1),h.onCompleted(),it):this.source.subscribe(new c0(h,this._elem,this._n))},d}(Be),c0=function(u){function d(f,g,y){this._o=f,this._elem=g,this._n=y,this._i=0,u.call(this)}return H(d,u),d.prototype.next=function(f){this._i++>=this._n&&function h(f,g){return 0===f&&0===g||f===g||isNaN(f)&&isNaN(g)}(f,this._elem)&&(this._o.onNext(!0),this._o.onCompleted())},d.prototype.error=function(f){this._o.onError(f)},d.prototype.completed=function(){this._o.onNext(!1),this._o.onCompleted()},d}(Fe);le.includes=function(u,d){return new pf(this,u,d)};var mf=function(u){function d(h,f){this.source=h,this._fn=f,u.call(this)}return H(d,u),d.prototype.subscribeCore=function(h){return this.source.subscribe(new u0(h,this._fn,this.source))},d}(Be),u0=function(u){function d(h,f,g){this._o=h,this._fn=f,this._s=g,this._i=0,this._c=0,u.call(this)}return H(d,u),d.prototype.next=function(h){if(this._fn){var f=ye(this._fn)(h,this._i++,this._s);if(f===Se)return this._o.onError(f.e);Boolean(f)&&this._c++}else this._c++},d.prototype.error=function(h){this._o.onError(h)},d.prototype.completed=function(){this._o.onNext(this._c),this._o.onCompleted()},d}(Fe);le.count=function(u,d){var h=ti(u,d,3);return new mf(this,h)};var BD=function(u){function d(h,f,g){this.source=h,this._e=f,this._n=g,u.call(this)}return H(d,u),d.prototype.subscribeCore=function(h){return this._n<0?(h.onNext(-1),h.onCompleted(),it):this.source.subscribe(new cr(h,this._e,this._n))},d}(Be),cr=function(u){function d(h,f,g){this._o=h,this._e=f,this._n=g,this._i=0,u.call(this)}return H(d,u),d.prototype.next=function(h){this._i>=this._n&&h===this._e&&(this._o.onNext(this._i),this._o.onCompleted()),this._i++},d.prototype.error=function(h){this._o.onError(h)},d.prototype.completed=function(){this._o.onNext(-1),this._o.onCompleted()},d}(Fe);le.indexOf=function(u,d){var h=+d||0;return Math.abs(h)===1/0&&(h=0),new BD(this,u,h)};var d0=function(u){function d(h,f){this.source=h,this._fn=f,u.call(this)}return H(d,u),d.prototype.subscribeCore=function(h){return this.source.subscribe(new VD(h,this._fn,this.source))},d}(Be),VD=function(u){function d(h,f,g){this._o=h,this._fn=f,this._s=g,this._i=0,this._c=0,u.call(this)}return H(d,u),d.prototype.next=function(h){if(this._fn){var f=ye(this._fn)(h,this._i++,this._s);if(f===Se)return this._o.onError(f.e);this._c+=f}else this._c+=h},d.prototype.error=function(h){this._o.onError(h)},d.prototype.completed=function(){this._o.onNext(this._c),this._o.onCompleted()},d}(Fe);le.sum=function(u,d){var h=ti(u,d,3);return new d0(this,h)},le.minBy=function(u,d){return d||(d=he),new mg(this,u,function(h,f){return-1*d(h,f)})},le.min=function(u){return this.minBy(Q,u).map(hf)},le.maxBy=function(u,d){return d||(d=he),new mg(this,u,d)},le.max=function(u){return this.maxBy(Q,u).map(hf)};var fd=function(u){function d(h,f){this.source=h,this._fn=f,u.call(this)}return H(d,u),d.prototype.subscribeCore=function(h){return this.source.subscribe(new xo(h,this._fn,this.source))},d}(Be),xo=function(u){function d(h,f,g){this._o=h,this._fn=f,this._s=g,this._c=0,this._t=0,u.call(this)}return H(d,u),d.prototype.next=function(h){if(this._fn){var f=ye(this._fn)(h,this._c++,this._s);if(f===Se)return this._o.onError(f.e);this._t+=f}else this._c++,this._t+=h},d.prototype.error=function(h){this._o.onError(h)},d.prototype.completed=function(){if(0===this._c)return this._o.onError(new nt);this._o.onNext(this._t/this._c),this._o.onCompleted()},d}(Fe);le.average=function(u,d){var f;return qe(u)&&(f=ti(u,d,3)),new fd(this,f)},le.sequenceEqual=function(u,d){var h=this;return d||(d=be),new Sn(function(f){var g=!1,y=!1,O=[],F=[],W=h.subscribe(function(J){if(F.length>0){var oe=F.shift(),Ie=ye(d)(oe,J);if(Ie===Se)return f.onError(Ie.e);Ie||(f.onNext(!1),f.onCompleted())}else y?(f.onNext(!1),f.onCompleted()):O.push(J)},function(J){f.onError(J)},function(){g=!0,0===O.length&&(F.length>0?(f.onNext(!1),f.onCompleted()):y&&(f.onNext(!0),f.onCompleted()))});(tr(u)||Ei(u))&&(u=ai(u)),tt(u)&&(u=mn(u));var ie=u.subscribe(function(J){if(O.length>0){var oe=O.shift(),Ie=ye(d)(oe,J);if(Ie===Se)return f.onError(Ie.e);Ie||(f.onNext(!1),f.onCompleted())}else g?(f.onNext(!1),f.onCompleted()):F.push(J)},function(J){f.onError(J)},function(){y=!0,0===F.length&&(O.length>0?(f.onNext(!1),f.onCompleted()):g&&(f.onNext(!0),f.onCompleted()))});return new It(W,ie)},h)};var h0=function(u){function d(h,f,g){this.source=h,this._i=f,this._d=g,u.call(this)}return H(d,u),d.prototype.subscribeCore=function(h){return this.source.subscribe(new gf(h,this._i,this._d))},d}(Be),gf=function(u){function d(h,f,g){this._o=h,this._i=f,this._d=g,u.call(this)}return H(d,u),d.prototype.next=function(h){0==this._i--&&(this._o.onNext(h),this._o.onCompleted())},d.prototype.error=function(h){this._o.onError(h)},d.prototype.completed=function(){this._d===cn?this._o.onError(new Ye):(this._o.onNext(this._d),this._o.onCompleted())},d}(Fe);le.elementAt=function(u,d){if(u<0)throw new Ye;return new h0(this,u,d)};var Jl=function(u){function d(h,f,g){this._o=h,this._obj=f,this._s=g,this._i=0,this._hv=!1,this._v=null,u.call(this)}return H(d,u),d.prototype.next=function(h){var f=!1;if(this._obj.predicate){var g=ye(this._obj.predicate)(h,this._i++,this._s);if(g===Se)return this._o.onError(g.e);Boolean(g)&&(f=!0)}else this._obj.predicate||(f=!0);if(f){if(this._hv)return this._o.onError(new Error("Sequence contains more than one matching element"));this._hv=!0,this._v=h}},d.prototype.error=function(h){this._o.onError(h)},d.prototype.completed=function(){this._hv?(this._o.onNext(this._v),this._o.onCompleted()):this._obj.defaultValue===cn?this._o.onError(new nt):(this._o.onNext(this._obj.defaultValue),this._o.onCompleted())},d}(Fe);le.single=function(u,d){var h={},f=this;if(qe((h="object"==typeof arguments[0]?arguments[0]:{predicate:arguments[0],thisArg:arguments[1],defaultValue:arguments[2]}).predicate)){var g=h.predicate;h.predicate=ti(g,h.thisArg,3)}return new Sn(function(y){return f.subscribe(new Jl(y,h,f))},f)};var ko=function(u){function d(h,f){this.source=h,this._obj=f,u.call(this)}return H(d,u),d.prototype.subscribeCore=function(h){return this.source.subscribe(new f0(h,this._obj,this.source))},d}(Be),f0=function(u){function d(h,f,g){this._o=h,this._obj=f,this._s=g,this._i=0,u.call(this)}return H(d,u),d.prototype.next=function(h){if(this._obj.predicate){var f=ye(this._obj.predicate)(h,this._i++,this._s);if(f===Se)return this._o.onError(f.e);Boolean(f)&&(this._o.onNext(h),this._o.onCompleted())}else this._obj.predicate||(this._o.onNext(h),this._o.onCompleted())},d.prototype.error=function(h){this._o.onError(h)},d.prototype.completed=function(){this._obj.defaultValue===cn?this._o.onError(new nt):(this._o.onNext(this._obj.defaultValue),this._o.onCompleted())},d}(Fe);le.first=function(){var u={};if(qe((u="object"==typeof arguments[0]?arguments[0]:{predicate:arguments[0],thisArg:arguments[1],defaultValue:arguments[2]}).predicate)){var h=u.predicate;u.predicate=ti(h,u.thisArg,3)}return new ko(this,u)};var pd=function(u){function d(h,f){this.source=h,this._obj=f,u.call(this)}return H(d,u),d.prototype.subscribeCore=function(h){return this.source.subscribe(new p0(h,this._obj,this.source))},d}(Be),p0=function(u){function d(h,f,g){this._o=h,this._obj=f,this._s=g,this._i=0,this._hv=!1,this._v=null,u.call(this)}return H(d,u),d.prototype.next=function(h){var f=!1;if(this._obj.predicate){var g=ye(this._obj.predicate)(h,this._i++,this._s);if(g===Se)return this._o.onError(g.e);Boolean(g)&&(f=!0)}else this._obj.predicate||(f=!0);f&&(this._hv=!0,this._v=h)},d.prototype.error=function(h){this._o.onError(h)},d.prototype.completed=function(){this._hv?(this._o.onNext(this._v),this._o.onCompleted()):this._obj.defaultValue===cn?this._o.onError(new nt):(this._o.onNext(this._obj.defaultValue),this._o.onCompleted())},d}(Fe);le.last=function(){var u={};if(qe((u="object"==typeof arguments[0]?arguments[0]:{predicate:arguments[0],thisArg:arguments[1],defaultValue:arguments[2]}).predicate)){var h=u.predicate;u.predicate=ti(h,u.thisArg,3)}return new pd(this,u)};var ma=function(u){function d(h,f,g,y){this._o=h,this._s=f,this._cb=g,this._y=y,this._i=0,u.call(this)}return H(d,u),d.prototype.next=function(h){var f=ye(this._cb)(h,this._i,this._s);if(f===Se)return this._o.onError(f.e);f?(this._o.onNext(this._y?this._i:h),this._o.onCompleted()):this._i++},d.prototype.error=function(h){this._o.onError(h)},d.prototype.completed=function(){this._y&&this._o.onNext(-1),this._o.onCompleted()},d}(Fe);function _f(u,d,h,f){var g=ti(d,h,3);return new Sn(function(y){return u.subscribe(new ma(y,u,g,f))},u)}le.find=function(u,d){return _f(this,u,d,!1)},le.findIndex=function(u,d){return _f(this,u,d,!0)};var vf=function(u){function d(h){this.source=h,u.call(this)}return H(d,u),d.prototype.subscribeCore=function(h){return this.source.subscribe(new tn(h))},d}(Be),tn=function(u){function d(h){this._o=h,this._s=new x.Set,u.call(this)}return H(d,u),d.prototype.next=function(h){this._s.add(h)},d.prototype.error=function(h){this._o.onError(h)},d.prototype.completed=function(){this._o.onNext(this._s),this._o.onCompleted()},d}(Fe);le.toSet=function(){if(typeof x.Set>"u")throw new TypeError;return new vf(this)};var vg=function(u){function d(h,f,g){this.source=h,this._k=f,this._e=g,u.call(this)}return H(d,u),d.prototype.subscribeCore=function(h){return this.source.subscribe(new HD(h,this._k,this._e))},d}(Be),HD=function(u){function d(h,f,g){this._o=h,this._k=f,this._e=g,this._m=new x.Map,u.call(this)}return H(d,u),d.prototype.next=function(h){var f=ye(this._k)(h);if(f===Se)return this._o.onError(f.e);var g=h;if(this._e&&(g=ye(this._e)(h))===Se)return this._o.onError(g.e);this._m.set(f,g)},d.prototype.error=function(h){this._o.onError(h)},d.prototype.completed=function(){this._o.onNext(this._m),this._o.onCompleted()},d}(Fe);le.toMap=function(u,d){if(typeof x.Map>"u")throw new TypeError;return new vg(this,u,d)};var m0=function(u){function d(h,f,g){this.source=h,this._b=f,this._e=g,u.call(this)}return H(d,u),d.prototype.subscribeCore=function(h){return this.source.subscribe(new g0(h,this._b,this._e))},d}(Be),g0=function(u){function d(h,f,g){this._o=h,this._b=f,this._e=g,this._i=0,u.call(this)}return H(d,u),d.prototype.next=function(h){this._i>=this._b&&(this._e===this._i?this._o.onCompleted():this._o.onNext(h)),this._i++},d.prototype.error=function(h){this._o.onError(h)},d.prototype.completed=function(){this._o.onCompleted()},d}(Fe);le.slice=function(u,d){var h=u||0;if(h<0)throw new E.ArgumentOutOfRangeError;if("number"==typeof d&&d=this._n&&h===this._e&&(this._hv=!0,this._v=this._i),this._i++},d.prototype.error=function(h){this._o.onError(h)},d.prototype.completed=function(){this._o.onNext(this._hv?this._v:-1),this._o.onCompleted()},d}(Fe);le.lastIndexOf=function(u,d){var h=+d||0;return Math.abs(h)===1/0&&(h=0),new _0(this,u,h)},ze.wrap=function(u){function d(){return ze.spawn.call(this,u.apply(this,arguments))}return d.__generatorFunction__=u,d};var v0=ze.spawn=function(){for(var u=arguments[0],d=this,h=[],f=1,g=arguments.length;f2){for(var y=[],O=1,F=arguments.length;O"u"&&(d=this);for(var f=arguments.length,g=new Array(f),y=0;y"u"&&(d=this);for(var f=arguments.length,g=new Array(f),y=0;y0;)h.onNext(f.shift())}var O=function Ws(u,d,h){return new Sn(function(f){var W,g=[!1,!1],y=!1,O=!1,F=new Array(2);function ie(J,oe){if(F[oe]=J,g[oe]=!0,y||(y=g.every(Q))){if(W)return f.onError(W);var Ie=ye(h).apply(null,F);if(Ie===Se)return f.onError(Ie.e);f.onNext(Ie)}O&&F[1]&&f.onCompleted()}return new It(u.subscribe(function(J){ie(J,0)},function(J){F[1]?f.onError(J):W=J},function(){O=!0,F[1]&&f.onCompleted()}),d.subscribe(function(J){ie(J,1)},function(J){f.onError(J)},function(){O=!0,ie(!0,1)}))},u)}(this.source,this.pauser.startWith(!this.paused).distinctUntilChanged(),function(F,W){return{data:F,shouldFire:W}}).subscribe(function(F){g!==cn&&F.shouldFire!==g?(g=F.shouldFire,F.shouldFire&&y()):(g=F.shouldFire,F.shouldFire?h.onNext(F.data):f.push(F.data))},function(F){y(),h.onError(F)},function(){y(),h.onCompleted()});return O},d.prototype.pause=function(){this.paused=!0,this.controller.onNext(!1)},d.prototype.resume=function(){this.paused=!1,this.controller.onNext(!0)},d}(ze);le.pausableBuffered=function(u){return new w0(this,u)};var md=function(u){function d(h,f,g){u.call(this),this.subject=new C0(f,g),this.source=h.multicast(this.subject).refCount()}return H(d,u),d.prototype._subscribe=function(h){return this.source.subscribe(h)},d.prototype.request=function(h){return this.subject.request(h??-1)},d}(ze),C0=function(u){function d(h,f){null==h&&(h=!0),u.call(this),this.subject=new bi,this.enableQueue=h,this.queue=h?[]:null,this.requestedCount=0,this.requestedDisposable=null,this.error=null,this.hasFailed=!1,this.hasCompleted=!1,this.scheduler=f||Zi}return H(d,u),Ve(d.prototype,Nr,{_subscribe:function(h){return this.subject.subscribe(h)},onCompleted:function(){this.hasCompleted=!0,this.enableQueue&&0!==this.queue.length?this.queue.push(en.createOnCompleted()):(this.subject.onCompleted(),this.disposeCurrentRequest())},onError:function(h){this.hasFailed=!0,this.error=h,this.enableQueue&&0!==this.queue.length?this.queue.push(en.createOnError(h)):(this.subject.onError(h),this.disposeCurrentRequest())},onNext:function(h){this.requestedCount<=0?this.enableQueue&&this.queue.push(en.createOnNext(h)):(0==this.requestedCount--&&this.disposeCurrentRequest(),this.subject.onNext(h))},_processRequest:function(h){if(this.enableQueue)for(;this.queue.length>0&&(h>0||"N"!==this.queue[0].kind);){var f=this.queue.shift();f.accept(this.subject),"N"===f.kind?h--:(this.disposeCurrentRequest(),this.queue=[])}return h},request:function(h){this.disposeCurrentRequest();var f=this;return this.requestedDisposable=this.scheduler.schedule(h,function(g,y){var O=f._processRequest(y);if(!f.hasCompleted&&!f.hasFailed&&O>0)return f.requestedCount=O,Zt(function(){f.requestedCount=0})}),this.requestedDisposable},disposeCurrentRequest:function(){this.requestedDisposable&&(this.requestedDisposable.dispose(),this.requestedDisposable=null)}}),d}(ze);le.controlled=function(u,d){return u&&pn(u)&&(d=u,u=!0),null==u&&(u=!0),new md(this,u,d)};var S0=function(u){function d(g){u.call(this),this.source=g}function h(g,y){return y.source.request(1)}H(d,u),d.prototype._subscribe=function(g){return this.subscription=this.source.subscribe(new f(g,this,this.subscription)),new It(this.subscription,ni.schedule(this,h))};var f=function(g){function y(F,W,ie){g.call(this),this.observer=F,this.observable=W,this.cancel=ie,this.scheduleDisposable=null}function O(F,W){return W.observable.source.request(1)}return H(y,g),y.prototype.completed=function(){this.observer.onCompleted(),this.dispose()},y.prototype.error=function(F){this.observer.onError(F),this.dispose()},y.prototype.next=function(F){this.observer.onNext(F),this.scheduleDisposable=ni.schedule(this,O)},y.dispose=function(){this.observer=null,this.cancel&&(this.cancel.dispose(),this.cancel=null),this.scheduleDisposable&&(this.scheduleDisposable.dispose(),this.scheduleDisposable=null),g.prototype.dispose.call(this)},y}(Fe);return d}(ze);md.prototype.stopAndWait=function(){return new S0(this)};var xf=function(u){function d(g,y){u.call(this),this.source=g,this.windowSize=y}function h(g,y){return y.source.request(y.windowSize)}H(d,u),d.prototype._subscribe=function(g){return this.subscription=this.source.subscribe(new f(g,this,this.subscription)),new It(this.subscription,ni.schedule(this,h))};var f=function(g){function y(F,W,ie){this.observer=F,this.observable=W,this.cancel=ie,this.received=0,this.scheduleDisposable=null,g.call(this)}function O(F,W){return W.observable.source.request(W.observable.windowSize)}return H(y,g),y.prototype.completed=function(){this.observer.onCompleted(),this.dispose()},y.prototype.error=function(F){this.observer.onError(F),this.dispose()},y.prototype.next=function(F){this.observer.onNext(F),this.received=++this.received%this.observable.windowSize,0===this.received&&(this.scheduleDisposable=ni.schedule(this,O))},y.prototype.dispose=function(){this.observer=null,this.cancel&&(this.cancel.dispose(),this.cancel=null),this.scheduleDisposable&&(this.scheduleDisposable.dispose(),this.scheduleDisposable=null),g.prototype.dispose.call(this)},y}(Fe);return d}(ze);md.prototype.windowed=function(u){return new xf(this,u)},le.pipe=function(u){var d=this.pausableBuffered();function h(){d.resume()}return u.addListener("drain",h),d.subscribe(function(f){!u.write(f)&&d.pause()},function(f){u.emit("error",f)},function(){!u._isStdio&&u.end(),u.removeListener("drain",h)}),d.resume(),u};var kf=function(u){function d(h,f,g){this.source=h,this._fn1=f,this._fn2=g,u.call(this)}return H(d,u),d.prototype.subscribeCore=function(h){var f=this.source.multicast(this._fn1());return new It(this._fn2(f).subscribe(h),f.connect())},d}(Be);le.multicast=function(u,d){return qe(u)?new kf(this,u,d):new x0(this,u)},le.publish=function(u){return u&&qe(u)?this.multicast(function(){return new bi},u):this.multicast(new bi)},le.share=function(){return this.publish().refCount()},le.publishLast=function(u){return u&&qe(u)?this.multicast(function(){return new ol},u):this.multicast(new ol)},le.publishValue=function(u,d){return 2===arguments.length?this.multicast(function(){return new Cd(d)},u):this.multicast(new Cd(u))},le.shareValue=function(u){return this.publishValue(u).refCount()},le.replay=function(u,d,h,f){return u&&qe(u)?this.multicast(function(){return new sl(d,h,f)},u):this.multicast(new sl(d,h,f))},le.shareReplay=function(u,d,h){return this.replay(null,u,d,h).refCount()};var Xc=function(u,d){this._s=u,this._o=d};Xc.prototype.dispose=function(){if(!this._s.isDisposed&&null!==this._o){var u=this._s.observers.indexOf(this._o);this._s.observers.splice(u,1),this._o=null}};var Df=function(u){function d(f){this.source=f,this._count=0,this._connectableSubscription=null,u.call(this)}function h(f,g){this._p=f,this._s=g,this.isDisposed=!1}return H(d,u),d.prototype.subscribeCore=function(f){var g=this.source.subscribe(f);return 1==++this._count&&(this._connectableSubscription=this.source.connect()),new h(this,g)},h.prototype.dispose=function(){this.isDisposed||(this.isDisposed=!0,this._s.dispose(),0==--this._p._count&&this._p._connectableSubscription.dispose())},d}(Be),x0=E.ConnectableObservable=function(u){function d(f,g){this.source=f,this._connection=null,this._source=f.asObservable(),this._subject=g,u.call(this)}function h(f,g){this._p=f,this._s=g}return H(d,u),h.prototype.dispose=function(){this._s&&(this._s.dispose(),this._s=null,this._p._connection=null)},d.prototype.connect=function(){if(!this._connection){if(this._subject.isStopped)return it;var f=this._source.subscribe(this._subject);this._connection=new h(this,f)}return this._connection},d.prototype._subscribe=function(f){return this._subject.subscribe(f)},d.prototype.refCount=function(){return new Df(this)},d}(ze);function yg(u,d){return u.groupJoin(this,d,ql,function(h,f){return f})}function Mf(u){var d=this;return new Sn(function(h){var f=new bi,g=new Mt,y=new Mr(g);return h.onNext(Qe(f,y)),g.add(d.subscribe(function(O){f.onNext(O)},function(O){f.onError(O),h.onError(O)},function(){f.onCompleted(),h.onCompleted()})),tt(u)&&(u=mn(u)),g.add(u.subscribe(function(O){f.onCompleted(),f=new bi,h.onNext(Qe(f,y))},function(O){f.onError(O),h.onError(O)},function(){f.onCompleted(),h.onCompleted()})),y},d)}function wg(u){var d=this;return new Sn(function(h){var f=new Lt,g=new Mt(f),y=new Mr(g),O=new bi;return h.onNext(Qe(O,y)),g.add(d.subscribe(function(W){O.onNext(W)},function(W){O.onError(W),h.onError(W)},function(){O.onCompleted(),h.onCompleted()})),function F(){var W;try{W=u()}catch(J){return void h.onError(J)}tt(W)&&(W=mn(W));var ie=new Le;f.setDisposable(ie),ie.setDisposable(W.take(1).subscribe(V,function(J){O.onError(J),h.onError(J)},function(){O.onCompleted(),O=new bi,h.onNext(Qe(O,y)),F()}))}(),y},d)}le.singleInstance=function(){var h,u=this,d=!1;return new Sn(function(g){return function f(){return d||(d=!0,h=u.finally(function(){d=!1}).publish().refCount()),h}().subscribe(g)})},le.join=function(u,d,h,f){var g=this;return new Sn(function(y){var O=new Mt,F=!1,W=!1,ie=0,J=0,oe=new Yo,Ie=new Yo,gt=function(kt){y.onError(kt)};return O.add(g.subscribe(function(kt){var Tt=ie++,dt=new Le;oe.set(Tt,kt),O.add(dt);var Bt=ye(d)(kt);if(Bt===Se)return y.onError(Bt.e);dt.setDisposable(Bt.take(1).subscribe(V,gt,function(){oe.delete(Tt)&&0===oe.size&&F&&y.onCompleted(),O.remove(dt)})),Ie.forEach(function(Oi){var pi=ye(f)(kt,Oi);if(pi===Se)return y.onError(pi.e);y.onNext(pi)})},gt,function(){F=!0,(W||0===oe.size)&&y.onCompleted()})),O.add(u.subscribe(function(kt){var Tt=J++,dt=new Le;Ie.set(Tt,kt),O.add(dt);var Bt=ye(h)(kt);if(Bt===Se)return y.onError(Bt.e);dt.setDisposable(Bt.take(1).subscribe(V,gt,function(){Ie.delete(Tt)&&0===Ie.size&&W&&y.onCompleted(),O.remove(dt)})),oe.forEach(function(Oi){var pi=ye(f)(Oi,kt);if(pi===Se)return y.onError(pi.e);y.onNext(pi)})},gt,function(){W=!0,(F||0===Ie.size)&&y.onCompleted()})),O},g)},le.groupJoin=function(u,d,h,f){var g=this;return new Sn(function(y){var O=new Mt,F=new Mr(O),W=new Yo,ie=new Yo,J=0,oe=0;return O.add(g.subscribe(function(gt){var kt=new bi,Tt=J++;W.set(Tt,kt);var dt=ye(f)(gt,Qe(kt,F));if(dt===Se)return W.forEach(void 0),y.onError(dt.e);y.onNext(dt),ie.forEach(function(pi){kt.onNext(pi)});var Bt=new Le;O.add(Bt);var Oi=ye(d)(gt);if(Oi===Se)return W.forEach(void 0),y.onError(Oi.e);Bt.setDisposable(Oi.take(1).subscribe(V,function(pi){W.forEach(void 0),y.onError(pi)},function(){W.delete(Tt)&&kt.onCompleted(),O.remove(Bt)}))},function(gt){W.forEach(void 0),y.onError(gt)},function(){y.onCompleted()})),O.add(u.subscribe(function(gt){var kt=oe++;ie.set(kt,gt);var Tt=new Le;O.add(Tt);var dt=ye(h)(gt);if(dt===Se)return W.forEach(void 0),y.onError(dt.e);Tt.setDisposable(dt.take(1).subscribe(V,function(Bt){W.forEach(void 0),y.onError(Bt)},function(){ie.delete(kt),O.remove(Tt)})),W.forEach(function(Bt){Bt.onNext(gt)})},function(gt){W.forEach(void 0),y.onError(gt)})),F},g)},le.buffer=function(){return this.window.apply(this,arguments).flatMap(gs)},le.window=function(u,d){return 1===arguments.length&&"function"!=typeof arguments[0]?Mf.call(this,u):"function"==typeof u?wg.call(this,u):yg.call(this,u,d)};var Cg=function(u){function d(h){this.source=h,u.call(this)}return H(d,u),d.prototype.subscribeCore=function(h){return this.source.subscribe(new Sg(h))},d}(Be),Sg=function(u){function d(h){this._o=h,this._p=null,this._hp=!1,u.call(this)}return H(d,u),d.prototype.next=function(h){this._hp?this._o.onNext([this._p,h]):this._hp=!0,this._p=h},d.prototype.error=function(h){this._o.onError(h)},d.prototype.completed=function(){this._o.onCompleted()},d}(Fe);le.pairwise=function(){return new Cg(this)},le.partition=function(u,d){var h=ti(u,d,3);return[this.filter(u,d),this.filter(function(f,g,y){return!h(f,g,y)})]};var xg=function(u){function d(h,f){this.c=h,this.s=f}return H(d,u),d.prototype[on]=function(){var h=this;return{next:function(){return h.c()?{done:!1,value:h.s}:{done:!0,value:void 0}}}},d}(gr);le.letBind=le.let=function(u){return u(this)},ze.if=function(u,d,h){return da(function(){return h||(h=ql()),tt(d)&&(d=mn(d)),tt(h)&&(h=mn(h)),"function"==typeof h.now&&(h=ql(h)),u()?d:h})},ze.for=ze.forIn=function(u,d,h){return yt(u,d,h).concat()};var k0=ze.while=ze.whileDo=function(u,d){return tt(d)&&(d=mn(d)),function Tf(u,d){return new xg(u,d)}(u,d).concat()};le.doWhile=function(u){return co([this,k0(u,this)])},ze.case=function(u,d,h){return da(function(){tt(h)&&(h=mn(h)),h||(h=ql()),pn(h)&&(h=ql(h));var f=d[u()];return tt(f)&&(f=mn(f)),f||h})};var D0=function(u){function d(f,g,y){this.source=f,this._fn=g,this._scheduler=y,u.call(this)}function h(f,g){var F,y=f[0],O=f[1];if(y.q.length>0){F=y.q.shift();var W=new Le;y.d.add(W),W.setDisposable(F.subscribe(new Jr(y,O,W))),g([y,O])}else y.isAcquired=!1}return H(d,u),d.prototype._ensureActive=function(f){var g=!1;f.q.length>0&&(g=!f.isAcquired,f.isAcquired=!0),g&&f.m.setDisposable(this._scheduler.scheduleRecursive([f,this],h))},d.prototype.subscribeCore=function(f){var g=new Lt,y=new Mt(g),O={q:[],m:g,d:y,activeCount:0,isAcquired:!1,o:f};return O.q.push(this.source),O.activeCount++,this._ensureActive(O),y},d}(Be),Jr=function(u){function d(h,f,g){this._s=h,this._p=f,this._m1=g,u.call(this)}return H(d,u),d.prototype.next=function(h){this._s.o.onNext(h);var f=ye(this._p._fn)(h);if(f===Se)return this._s.o.onError(f.e);this._s.q.push(f),this._s.activeCount++,this._p._ensureActive(this._s)},d.prototype.error=function(h){this._s.o.onError(h)},d.prototype.completed=function(){this._s.d.remove(this._m1),this._s.activeCount--,0===this._s.activeCount&&this._s.o.onCompleted()},d}(Fe);function eo(){for(var u=arguments.length,d=new Array(u),h=0;h0){var W=h.now();(g=new Date(g.getTime()+y)).getTime()<=W&&(g=new Date(W+y))}f.onNext(O),F(O+1,new Date(g))})})}function nc(u,d,h){return u===d?new Sn(function(f){return h.schedulePeriodic(0,d,function(g){return f.onNext(g),g+1})}):da(function(){return js(new Date(h.now()+u),d,h)})}var A0=ze.interval=function(u,d){return nc(u,u,pn(d)?d:ni)};function ic(u,d,h){return new Sn(function(f){var ie,g=!1,y=new Lt,O=null,F=[],W=!1;return ie=u.materialize().timestamp(h).subscribe(function(J){var oe,Ie;"E"===J.value.kind?((F=[]).push(J),O=J.value.error,Ie=!W):(F.push({value:J.value,timestamp:J.timestamp+d}),Ie=!g,g=!0),Ie&&(null!==O?f.onError(O):(oe=new Le,y.setDisposable(oe),oe.setDisposable(h.scheduleRecursiveFuture(null,d,function(gt,kt){var Tt,dt,Bt,Oi;if(null===O){W=!0;do{Bt=null,F.length>0&&F[0].timestamp-h.now()<=0&&(Bt=F.shift().value),null!==Bt&&Bt.accept(f)}while(null!==Bt);Oi=!1,dt=0,F.length>0?(Oi=!0,dt=Math.max(0,F[0].timestamp-h.now())):g=!1,W=!1,null!==(Tt=O)?f.onError(Tt):Oi&&kt(null,dt)}}))))}),new It(ie,y)},u)}function Af(u,d,h){return da(function(){return ic(u,d-h.now(),h)})}function O0(u,d,h){var f,g;return qe(d)?g=d:(f=d,g=h),new Sn(function(y){var O=new Mt,F=!1,W=new Lt;function ie(){W.setDisposable(u.subscribe(function(oe){var Ie=ye(g)(oe);if(Ie===Se)return y.onError(Ie.e);var gt=new Le;O.add(gt),gt.setDisposable(Ie.subscribe(function(){y.onNext(oe),O.remove(gt),J()},function(kt){y.onError(kt)},function(){y.onNext(oe),O.remove(gt),J()}))},function(oe){y.onError(oe)},function(){F=!0,W.dispose(),J()}))}function J(){F&&0===O.length&&y.onCompleted()}return f?W.setDisposable(f.subscribe(ie,function(oe){y.onError(oe)},ie)):ie(),new It(W,O)},u)}ze.timer=function(u,d,h){var f;return pn(h)||(h=ni),null!=d&&"number"==typeof d?f=d:pn(d)&&(h=d),(u instanceof Date||"number"==typeof u)&&f===cn?function E0(u,d){return new Dg(u,d)}(u,h):u instanceof Date&&f!==cn?js(u,d,h):nc(u,f,h)},le.delay=function(){var u=arguments[0];if("number"==typeof u||u instanceof Date){var d=u,h=arguments[1];return pn(h)||(h=ni),d instanceof Date?Af(this,d,h):ic(this,d,h)}if(ze.isObservable(u)||qe(u))return O0(this,u,arguments[1]);throw new Error("Invalid arguments")};var I0=function(u){function d(h,f,g){pn(g)||(g=ni),this.source=h,this._dt=f,this._s=g,u.call(this)}return H(d,u),d.prototype.subscribeCore=function(h){var f=new Lt;return new It(this.source.subscribe(new jD(h,this._dt,this._s,f)),f)},d}(Be),jD=function(u){function d(f,g,y,O){this._o=f,this._d=g,this._scheduler=y,this._c=O,this._v=null,this._hv=!1,this._id=0,u.call(this)}return H(d,u),d.prototype.next=function(f){this._hv=!0,this._v=f;var g=++this._id,y=new Le;this._c.setDisposable(y),y.setDisposable(this._scheduler.scheduleFuture(this,this._d,function(O,F){F._hv&&F._id===g&&F._o.onNext(f),F._hv=!1}))},d.prototype.error=function(f){this._c.dispose(),this._o.onError(f),this._hv=!1,this._id++},d.prototype.completed=function(){this._c.dispose(),this._hv&&this._o.onNext(this._v),this._o.onCompleted(),this._hv=!1,this._id++},d}(Fe);function UD(u,d){return new Sn(function(h){var f,g=!1,y=new Lt,O=0,F=u.subscribe(function(W){var ie=ye(d)(W);if(ie===Se)return h.onError(ie.e);tt(ie)&&(ie=mn(ie)),g=!0,f=W;var J=++O,oe=new Le;y.setDisposable(oe),oe.setDisposable(ie.subscribe(function(){g&&O===J&&h.onNext(f),g=!1,oe.dispose()},function(Ie){h.onError(Ie)},function(){g&&O===J&&h.onNext(f),g=!1,oe.dispose()}))},function(W){y.dispose(),h.onError(W),g=!1,O++},function(){y.dispose(),g&&h.onNext(f),h.onCompleted(),g=!1,O++});return new It(F,y)},u)}function gs(u){return u.toArray()}le.debounce=function(){if(qe(arguments[0]))return UD(this,arguments[0]);if("number"==typeof arguments[0])return new I0(this,arguments[0],arguments[1]);throw new Error("Invalid arguments")},le.windowWithTime=le.windowTime=function(u,d,h){var g,f=this;return null==d&&(g=u),pn(h)||(h=ni),"number"==typeof d?g=d:pn(d)&&(g=u,h=d),new Sn(function(y){var O,J,F=g,W=u,ie=[],oe=new Lt,Ie=0;return O=new Mt(oe),J=new Mr(O),ie.push(new bi),y.onNext(Qe(ie[0],J)),function gt(){var kt=new Le,Tt=!1,dt=!1;oe.setDisposable(kt),W===F?(Tt=!0,dt=!0):W0&&f-this._q[0].interval>=this._d;)this._o.onNext(this._q.shift().value)},d.prototype.error=function(h){this._o.onError(h)},d.prototype.completed=function(){for(var h=this._s.now();this._q.length>0&&h-this._q[0].interval>=this._d;)this._o.onNext(this._q.shift().value);this._o.onCompleted()},d}(Fe);le.skipLastWithTime=function(u,d){return pn(d)||(d=ni),new R0(this,u,d)};var F0=function(u){function d(h,f,g){this.source=h,this._d=f,this._s=g,u.call(this)}return H(d,u),d.prototype.subscribeCore=function(h){return this.source.subscribe(new eu(h,this._d,this._s))},d}(Be),eu=function(u){function d(h,f,g){this._o=h,this._d=f,this._s=g,this._q=[],u.call(this)}return H(d,u),d.prototype.next=function(h){var f=this._s.now();for(this._q.push({interval:f,value:h});this._q.length>0&&f-this._q[0].interval>=this._d;)this._q.shift()},d.prototype.error=function(h){this._o.onError(h)},d.prototype.completed=function(){for(var h=this._s.now();this._q.length>0;){var f=this._q.shift();h-f.interval<=this._d&&this._o.onNext(f.value)}this._o.onCompleted()},d}(Fe);le.takeLastWithTime=function(u,d){return pn(d)||(d=ni),new F0(this,u,d)},le.takeLastBufferWithTime=function(u,d){var h=this;return pn(d)||(d=ni),new Sn(function(f){var g=[];return h.subscribe(function(y){var O=d.now();for(g.push({interval:O,value:y});g.length>0&&O-g[0].interval>=u;)g.shift()},function(y){f.onError(y)},function(){for(var y=d.now(),O=[];g.length>0;){var F=g.shift();y-F.interval<=u&&O.push(F.value)}f.onNext(O),f.onCompleted()})},h)};var Pf=function(u){function d(f,g,y){this.source=f,this._d=g,this._s=y,u.call(this)}function h(f,g){g.onCompleted()}return H(d,u),d.prototype.subscribeCore=function(f){return new It(this._s.scheduleFuture(f,this._d,h),this.source.subscribe(f))},d}(Be);le.takeWithTime=function(u,d){return pn(d)||(d=ni),new Pf(this,u,d)};var Rf=function(u){function d(f,g,y){this.source=f,this._d=g,this._s=y,this._open=!1,u.call(this)}function h(f,g){g._open=!0}return H(d,u),d.prototype.subscribeCore=function(f){return new It(this._s.scheduleFuture(this,this._d,h),this.source.subscribe(new yd(f,this)))},d}(Be),yd=function(u){function d(h,f){this._o=h,this._p=f,u.call(this)}return H(d,u),d.prototype.next=function(h){this._p._open&&this._o.onNext(h)},d.prototype.error=function(h){this._o.onError(h)},d.prototype.completed=function(){this._o.onCompleted()},d}(Fe);le.skipWithTime=function(u,d){return pn(d)||(d=ni),new Rf(this,u,d)};var wd=function(u){function d(f,g,y){this.source=f,this._st=g,this._s=y,u.call(this)}function h(f,g){g._open=!0}return H(d,u),d.prototype.subscribeCore=function(f){return this._open=!1,new It(this._s.scheduleFuture(this,this._st,h),this.source.subscribe(new N0(f,this)))},d}(Be),N0=function(u){function d(h,f){this._o=h,this._p=f,u.call(this)}return H(d,u),d.prototype.next=function(h){this._p._open&&this._o.onNext(h)},d.prototype.error=function(h){this._o.onError(h)},d.prototype.completed=function(){this._o.onCompleted()},d}(Fe);le.skipUntilWithTime=function(u,d){return pn(d)||(d=ni),new wd(this,u,d)},le.takeUntilWithTime=function(u,d){pn(d)||(d=ni);var h=this;return new Sn(function(f){return new It(d.scheduleFuture(f,u,function(g,y){y.onCompleted()}),h.subscribe(f))},h)},le.throttle=function(u,d){pn(d)||(d=ni);var h=+u||0;if(h<=0)throw new RangeError("windowDuration cannot be less or equal zero.");var f=this;return new Sn(function(g){var y=0;return f.subscribe(function(O){var F=d.now();(0===y||F-y>=h)&&(y=F,g.onNext(O))},function(O){g.onError(O)},function(){g.onCompleted()})},f)};var Ig=function(u){function d(h,f){this._o=h,this._xform=f,u.call(this)}return H(d,u),d.prototype.next=function(h){var f=ye(this._xform["@@transducer/step"]).call(this._xform,this._o,h);f===Se&&this._o.onError(f.e)},d.prototype.error=function(h){this._o.onError(h)},d.prototype.completed=function(){this._xform["@@transducer/result"](this._o)},d}(Fe);le.transduce=function(u){var d=this;return new Sn(function(h){var f=u(function Pg(u){return{"@@transducer/init":function(){return u},"@@transducer/step":function(d,h){return d.onNext(h)},"@@transducer/result":function(d){return d.onCompleted()}}}(h));return d.subscribe(new Ig(h,f))},d)};var Rg=function(u){function d(h){this.source=h,u.call(this)}return H(d,u),d.prototype.subscribeCore=function(h){var f=new Le,g=new Mt,y={hasCurrent:!1,isStopped:!1,o:h,g};return g.add(f),f.setDisposable(this.source.subscribe(new Fg(y))),g},d}(Be),Fg=function(u){function d(f){this._s=f,u.call(this)}function h(f,g){this._s=f,this._i=g,u.call(this)}return H(d,u),d.prototype.next=function(f){if(!this._s.hasCurrent){this._s.hasCurrent=!0,tt(f)&&(f=mn(f));var g=new Le;this._s.g.add(g),g.setDisposable(f.subscribe(new h(this._s,g)))}},d.prototype.error=function(f){this._s.o.onError(f)},d.prototype.completed=function(){this._s.isStopped=!0,!this._s.hasCurrent&&1===this._s.g.length&&this._s.o.onCompleted()},H(h,u),h.prototype.next=function(f){this._s.o.onNext(f)},h.prototype.error=function(f){this._s.o.onError(f)},h.prototype.completed=function(){this._s.g.remove(this._i),this._s.hasCurrent=!1,this._s.isStopped&&1===this._s.g.length&&this._s.o.onCompleted()},d}(Fe);le.switchFirst=function(){return new Rg(this)},le.flatMapFirst=le.exhaustMap=function(u,d,h){return new tf(this,u,d,h).switchFirst()},le.flatMapWithMaxConcurrent=le.flatMapMaxConcurrent=function(u,d,h,f){return new tf(this,d,h,f).merge(u)};var L0=E.VirtualTimeScheduler=function(u){function d(f,g){this.clock=f,this.comparer=g,this.isEnabled=!1,this.queue=new hn(1024),u.call(this)}H(d,u);var h=d.prototype;return h.now=function(){return this.toAbsoluteTime(this.clock)},h.schedule=function(f,g){return this.scheduleAbsolute(f,this.clock,g)},h.scheduleFuture=function(f,g,y){var O=g instanceof Date?this.toRelativeTime(g-this.now()):this.toRelativeTime(g);return this.scheduleRelative(f,O,y)},h.add=Ne,h.toAbsoluteTime=Ne,h.toRelativeTime=Ne,h.schedulePeriodic=function(f,g,y){return new ef(this,f,g,y).start()},h.scheduleRelative=function(f,g,y){var O=this.add(this.clock,g);return this.scheduleAbsolute(f,O,y)},h.start=function(){if(!this.isEnabled){this.isEnabled=!0;do{var f=this.getNext();null!==f?(this.comparer(f.dueTime,this.clock)>0&&(this.clock=f.dueTime),f.invoke()):this.isEnabled=!1}while(this.isEnabled)}},h.stop=function(){this.isEnabled=!1},h.advanceTo=function(f){var g=this.comparer(this.clock,f);if(this.comparer(this.clock,f)>0)throw new Ye;if(0!==g&&!this.isEnabled){this.isEnabled=!0;do{var y=this.getNext();null!==y&&this.comparer(y.dueTime,f)<=0?(this.comparer(y.dueTime,this.clock)>0&&(this.clock=y.dueTime),y.invoke()):this.isEnabled=!1}while(this.isEnabled);this.clock=f}},h.advanceBy=function(f){var g=this.add(this.clock,f),y=this.comparer(this.clock,g);if(y>0)throw new Ye;0!==y&&this.advanceTo(g)},h.sleep=function(f){var g=this.add(this.clock,f);if(this.comparer(this.clock,g)>=0)throw new Ye;this.clock=g},h.getNext=function(){for(;this.queue.length>0;){var f=this.queue.peek();if(!f.isCancelled())return f;this.queue.dequeue()}return null},h.scheduleAbsolute=function(f,g,y){var O=this,W=new Vs(this,f,function F(ie,J){return O.queue.remove(W),y(ie,J)},g,this.comparer);return this.queue.enqueue(W),W.disposable},d}(Bn);function tu(u){this.predicate=u}function oc(u){this.predicate=u}E.HistoricalScheduler=function(u){function d(f,g){u.call(this,f??0,g||he)}H(d,u);var h=d.prototype;return h.add=function(f,g){return f+g},h.toAbsoluteTime=function(f){return new Date(f).getTime()},h.toRelativeTime=function(f){return f},d}(E.VirtualTimeScheduler),tu.prototype.equals=function(u){return u===this||null!=u&&"N"===u.kind&&this.predicate(u.value)},oc.prototype.equals=function(u){return u===this||null!=u&&"E"===u.kind&&this.predicate(u.error)};var Ff=E.ReactiveTest={created:100,subscribed:200,disposed:1e3,onNext:function(u,d){return new Ko(u,"function"==typeof d?new tu(d):en.createOnNext(d))},onError:function(u,d){return new Ko(u,"function"==typeof d?new oc(d):en.createOnError(d))},onCompleted:function(u){return new Ko(u,en.createOnCompleted())},subscribe:function(u,d){return new Zo(u,d)}},Ko=E.Recorded=function(u,d,h){this.time=u,this.value=d,this.comparer=h||be};Ko.prototype.equals=function(u){return this.time===u.time&&this.comparer(this.value,u.value)},Ko.prototype.toString=function(){return this.value.toString()+"@"+this.time};var Zo=E.Subscription=function(u,d){this.subscribe=u,this.unsubscribe=d||Number.MAX_VALUE};Zo.prototype.equals=function(u){return this.subscribe===u.subscribe&&this.unsubscribe===u.unsubscribe},Zo.prototype.toString=function(){return"("+this.subscribe+", "+(this.unsubscribe===Number.MAX_VALUE?"Infinite":this.unsubscribe)+")"};var sc=E.MockDisposable=function(u){this.scheduler=u,this.disposes=[],this.disposes.push(this.scheduler.clock)};sc.prototype.dispose=function(){this.disposes.push(this.scheduler.clock)};var B0=function(u){function d(f){u.call(this),this.scheduler=f,this.messages=[]}H(d,u);var h=d.prototype;return h.onNext=function(f){this.messages.push(new Ko(this.scheduler.clock,en.createOnNext(f)))},h.onError=function(f){this.messages.push(new Ko(this.scheduler.clock,en.createOnError(f)))},h.onCompleted=function(){this.messages.push(new Ko(this.scheduler.clock,en.createOnCompleted()))},d}(Nr);function Ht(u,d){var h=this;this.scheduler=u,this.messages=d,this.subscriptions=[],this.observers=[];for(var f=0,g=this.messages.length;fg?1:f0},onCompleted:function(){if(et(this),!this.isStopped){this.isStopped=!0;for(var h=0,f=un(this.observers),g=f.length;h0},onCompleted:function(){var h;if(et(this),!this.isStopped){this.isStopped=!0;var g=un(this.observers),f=g.length;if(this.hasValue)for(h=0;h0},onCompleted:function(){if(et(this),!this.isStopped){this.isStopped=!0;for(var h=0,f=un(this.observers),g=f.length;h0},_trim:function(g){for(;this.q.length>this.bufferSize;)this.q.shift();for(;this.q.length>0&&g-this.q[0].interval>this.windowSize;)this.q.shift()},onNext:function(g){if(et(this),!this.isStopped){var y=this.scheduler.now();this.q.push({interval:y,value:g}),this._trim(y);for(var O=0,F=un(this.observers),W=F.length;O{qi(qi.s=5210)}]); \ No newline at end of file diff --git a/public/styles.5a50f41e438a6c09.css b/public/styles.5a50f41e438a6c09.css deleted file mode 100644 index 11c3acef..00000000 --- a/public/styles.5a50f41e438a6c09.css +++ /dev/null @@ -1 +0,0 @@ -html,body,app-root{height:100%}body{margin:0}.ng-valid[required],.ng-valid.required{border-left:5px solid #42A948}.ng-invalid:not(form){border-left:5px solid #a94442}.verticalCenter{position:relative;top:50%;transform:translateY(-50%)}.flexContainer{display:flex;align-items:stretch;height:100%}.flowRow{flex-direction:row}.flexCol{flex-direction:column}.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 transparent}.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:transparent;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}.fullheight{height:100%}.mainContainer{display:flex;flex-direction:column;align-items:stretch;height:100%}.mainWindow{flex:30;overflow:auto}.menuBar{flex:1}.menuBarContainer{display:flex;flex-direction:row;justify-content:space-between;flex-wrap:nowrap}.menuBarContainer .menuBarButtonGroups{flex-grow:1}.menuBarContainer .menuBarButtonGroups:first-child{text-align:left;margin-left:2px}.menuBarContainer .menuBarButtonGroups{text-align:center}.menuBarContainer .menuBarButtonGroups:last-child{text-align:right;margin-right:2px}.menuBarButtonGroups .menuBarNavButtons{width:99%}.menuBarButtonGroups .menuBarAlarmsButton,.menuBarButtonGroups .menuBarSettingsButton{width:25%}.dynamicWidgetContainer{position:relative;width:100%;height:100%}.mat-card{display:block;position:absolute!important;width:calc(100% - 4px);height:calc(100% - 5px);margin:3px auto auto 2px;padding:0;transition:none;transition-property:none}.selectWidgetMenu{position:absolute;right:5%;bottom:5%}.settingsButton{position:absolute;bottom:5%;left:50%;transform:translate(-50%)}.mat-select-trigger{min-width:30px!important}as-split-area{overflow-y:hidden!important}.as-disabled>.as-split-gutter>.as-split-gutter-icon{visibility:hidden}.splitArea{width:100%;height:100%;position:relative;z-index:500}.splitMenu{position:absolute;left:5%;bottom:5%;z-index:500}.splitdelete{position:absolute;right:5%;top:5%;z-index:500}.pathGroup{display:inline-block;width:100%}.pathGroupFields{display:inline-block;padding-left:15px;width:calc(100% - 30px)}.pathField{display:inline-block;width:100%}.sourceField{display:inline-block;width:calc(50% - 15px);padding-right:30px}.unitField{display:inline-block;width:calc(50% - 15px)}::ng-deep .mat-menu-panel{max-width:-moz-fit-content!important;max-width:fit-content!important}.connectUrlInput{width:100%}.userLoginInput{width:50%}.flex-container{width:100%;display:flex;flex-direction:row;flex-wrap:wrap;justify-content:flex-start;align-items:stretch;gap:10px 10px}.flex-item-detail{flex:0 0 290px}.flex-item-chart{flex:1 1 350px;position:relative;margin:0;height:130px;width:100%;border:2px inset}table{width:-moz-fit-content;width:fit-content}tr{vertical-align:top}.tableCellLabel{display:table-cell;text-align:right;padding:5px}.tableCellData{display:table-cell;margin:0!important;padding:5px}.full-display{width:100%;height:100%;position:relative;z-index:500}.full-width{width:100%}.mat-column-actions{text-align:end}.buttons{margin-right:5px}.pathCell,.pathHeader{flex:1 1 50%}.dataHeader,.dataCell{flex:1 1 10%;justify-content:center}.actionHeader{flex:1 1 20%}.actionCell{flex:1 1 20%;justify-content:end}@media screen and (max-width: 750px){.pathHeader,.dataHeader{flex:1 1 30%}.actionHeader{display:none}.mat-table .mat-cell:before{content:attr(data-label);float:left;padding-right:5px}mat-row:after{min-height:auto;padding-bottom:10px}.dataRow{flex-direction:column;align-items:flex-start}.dataCell,.actionCell{margin-left:24px}}a{font-size:14px}a:hover{text-decoration:underline;cursor:pointer}a:link,a:visited{color:#8ab4f8;text-decoration:none}.confirmTextarea{resize:none}.config-size{width:100%}.textheight{height:120px;background-color:#000}.warningText{padding-left:15px}.no-token-notice{height:58px;contain:content;text-align:center;font-style:italic}.mat-radio-button~.mat-radio-button{margin-right:16px;margin-left:16px}.config-row{display:flex;flex-direction:row;flex-wrap:wrap;width:100%}.config-column{display:flex;flex-direction:column;flex-basis:100%;flex:1;margin:0 10px}.flex-container{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center;align-items:stretch;gap:10px;min-height:100%;height:100%}.sources-radio-group{display:flex;flex-direction:column;margin:15px 0}.sources-radio-button{margin:5px;margin-left:0!important}.select-config{margin-left:0}.btn-div{align-self:center}.btn-div button{width:-webkit-fill-available}.config-operation-container{display:grid;grid-template-columns:[col-start] auto [col1-end] min-content [col2-end];grid-template-rows:[row-start] max-content [row1-end] max-content [row2-end];grid-template-areas:"demo-txt demo-btn" "reset-txt reset-btn" "config-txt config-btn" "editor-txt editor-btn";row-gap:20px;column-gap:10px}.demo-txt{grid-area:demo-txt}.demo-btn{grid-area:demo-btn}.reset-txt{grid-area:reset-txt}.reset-btn{grid-area:reset-btn}.config-txt{grid-area:config-txt}.config-btn{grid-area:config-btn}.editor-txt{grid-area:editor-txt}.editor-btn{grid-area:editor-btn}.raceTimerWrapper{position:relative;width:100%;height:100%}.canvas-size{position:absolute;top:0;left:0}.timerBar{flex:1}.timerBarContainer{position:absolute;bottom:5%;height:10%;width:100%;display:flex;flex-direction:row;justify-content:space-between;flex-wrap:nowrap}.timerBarContainer .timerButtonGroups{flex-grow:1;text-align:center;width:33%}.timerBarContainer .timerButtons{width:75%;height:100%}.timerBarContainer .timerButtonsSmall{width:25%;height:100%;margin-left:5px}div.autopilotWidget{display:block;position:relative;border:none;margin:0;padding:5px 0;width:100%;height:calc(100% - 10px)}.headerAutopilot{display:block;position:relative;width:346px;margin:auto auto 5px}.headerAutopilot .apTitle{display:inline-block;font-weight:700;width:calc(100% - 64px);margin:0}.headerAutopilot .apPower{display:inline-block;width:64px;margin:0}.autoPilotBtn{width:85px}.activityIcon{opacity:40%;color:#fff;width:25px}.autopilotGridBtnContainer{display:grid;width:-moz-fit-content;width:fit-content;margin:5px auto auto;height:160px;grid-template-columns:[col-start] 25% [col1-end] 25% [col2-end] 25% [col3-end] 25% [col-End];grid-template-rows:[row-start] 25% [row1-end] 25% [row2-end] 25% [row3-end] 25% [row-end];grid-template-areas:". mute message ." "port minus1 plus1 starboard" "windmode minus10 plus10 trackmode" "standby . . auto1";row-gap:0px;column-gap:2px;justify-items:center;align-items:center;justify-content:center;align-content:start}.itemStbTack{grid-area:starboard}.itemMute{grid-area:mute}.itemMessage{grid-area:message}.itemPrtTack{grid-area:port}.itemPlus1{grid-area:plus1}.itemMinus1{grid-area:minus1}.itemStandby{grid-area:standby}.itemPlus10{grid-area:plus10}.itemMinus10{grid-area:minus10}.itemAuto{grid-area:auto1}.itemWindmode{grid-area:windmode}.itemTrackmode{grid-area:trackmode}.itemNxtWp{grid-area:nxtWp}.counterText{font-weight:700;font-size:7em;margin-top:0;margin-bottom:0}.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:#00bcd4}.mat-accent .mat-option.mat-selected:not(.mat-option-disabled){color:#448aff}.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:#bbdefb}.mat-pseudo-checkbox-disabled{color:#b0b0b0}.mat-primary .mat-pseudo-checkbox-checked,.mat-primary .mat-pseudo-checkbox-indeterminate{background:#00bcd4}.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-indeterminate,.mat-accent .mat-pseudo-checkbox-checked,.mat-accent .mat-pseudo-checkbox-indeterminate{background:#448aff}.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:#bbdefb;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:#90caf9;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:#90caf9}.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:#00bcd4}.cdk-high-contrast-active .mat-badge-content{outline:solid 1px;border-radius:0}.mat-badge-accent .mat-badge-content{background:#448aff;color:#fff}.mat-badge-warn .mat-badge-content{color:#fff;background:#f44336}.mat-badge-disabled .mat-badge-content{background:#8aa4ba;color:#00000061}.mat-bottom-sheet-container{box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f;background:#90caf9;color:#000000de}.mat-button,.mat-icon-button,.mat-stroked-button{color:inherit;background:transparent}.mat-button.mat-primary,.mat-icon-button.mat-primary,.mat-stroked-button.mat-primary{color:#00bcd4}.mat-button.mat-accent,.mat-icon-button.mat-accent,.mat-stroked-button.mat-accent{color:#448aff}.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:#00bcd4}.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:#448aff}.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:transparent}.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:black}.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:#90caf9}.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:#00bcd4}.mat-flat-button.mat-accent,.mat-raised-button.mat-accent,.mat-fab.mat-accent,.mat-mini-fab.mat-accent{background-color:#448aff}.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:#0000000f}.mat-button-toggle-appearance-standard{color:#000000de;background:#90caf9}.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 #7fb2db}[dir=rtl] .mat-button-toggle-group-appearance-standard .mat-button-toggle+.mat-button-toggle{border-left:none;border-right:solid 1px #7fb2db}.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 #7fb2db}.mat-button-toggle-checked{background-color:#64b5f6;color:#0000008a}.mat-button-toggle-checked.mat-button-toggle-appearance-standard{color:#000000de}.mat-button-toggle-disabled{color:#00000042;background-color:#90caf9}.mat-button-toggle-disabled.mat-button-toggle-appearance-standard{background:#90caf9}.mat-button-toggle-disabled.mat-button-toggle-checked{background-color:#42a5f5}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.mat-button-toggle-group-appearance-standard{border:solid 1px #7fb2db}.mat-button-toggle-appearance-standard .mat-button-toggle-label-content{line-height:48px}.mat-card{background:#90caf9;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:#bbdefb}.mat-checkbox-checkmark-path{stroke:#bbdefb!important}.mat-checkbox-mixedmark{background-color:#bbdefb}.mat-checkbox-indeterminate.mat-primary .mat-checkbox-background,.mat-checkbox-checked.mat-primary .mat-checkbox-background{background-color:#00bcd4}.mat-checkbox-indeterminate.mat-accent .mat-checkbox-background,.mat-checkbox-checked.mat-accent .mat-checkbox-background{background-color:#448aff}.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:#00bcd4}.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:#448aff}.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:#64b5f6;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:black}.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary{background-color:#00bcd4;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:#448aff;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:#90caf9}.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:transparent}.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(0,188,212,.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(0,188,212,.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(0,188,212,.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:#00bcd4;color:#fff}.mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:#00bcd466}.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:#00bcd44d}@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:#00bcd44d}}.mat-datepicker-content{box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f;background-color:#90caf9;color:#000000de}.mat-datepicker-content.mat-accent .mat-calendar-body-in-range:before{background:rgba(68,138,255,.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(68,138,255,.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(68,138,255,.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:#448aff;color:#fff}.mat-datepicker-content.mat-accent .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:#448aff66}.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:#448aff4d}@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:#448aff4d}}.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:#00bcd4}.mat-datepicker-toggle-active.mat-accent{color:#448aff}.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:#90caf9;color:#000000de}.mat-divider{border-top-color:#0000001f}.mat-divider-vertical{border-right-color:#0000001f}.mat-expansion-panel{background:#90caf9;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:#90caf9}}.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:#00bcd4}.mat-form-field.mat-focused .mat-form-field-label.mat-accent{color:#448aff}.mat-form-field.mat-focused .mat-form-field-label.mat-warn{color:#f44336}.mat-focused .mat-form-field-required-marker{color:#448aff}.mat-form-field-ripple{background-color:#000000de}.mat-form-field.mat-focused .mat-form-field-ripple{background-color:#00bcd4}.mat-form-field.mat-focused .mat-form-field-ripple.mat-accent{background-color:#448aff}.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:#00bcd4}.mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid).mat-accent .mat-form-field-infix:after{color:#448aff}.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:transparent}.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:#00bcd4}.mat-form-field-appearance-outline.mat-focused.mat-accent .mat-form-field-outline-thick{color:#448aff}.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:#00bcd4}.mat-icon.mat-accent{color:#448aff}.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:#00bcd4}.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:#448aff}.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:#90caf9;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:#90caf9}.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:transparent;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:#90caf9}.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:#8cd6f1}.mat-progress-bar-buffer{background-color:#8cd6f1}.mat-progress-bar-fill:after{background-color:#00bcd4}.mat-progress-bar.mat-accent .mat-progress-bar-background{fill:#9dc9fc}.mat-progress-bar.mat-accent .mat-progress-bar-buffer{background-color:#9dc9fc}.mat-progress-bar.mat-accent .mat-progress-bar-fill:after{background-color:#448aff}.mat-progress-bar.mat-warn .mat-progress-bar-background{fill:#c9b7ca}.mat-progress-bar.mat-warn .mat-progress-bar-buffer{background-color:#c9b7ca}.mat-progress-bar.mat-warn .mat-progress-bar-fill:after{background-color:#f44336}.mat-progress-spinner circle,.mat-spinner circle{stroke:#00bcd4}.mat-progress-spinner.mat-accent circle,.mat-spinner.mat-accent circle{stroke:#448aff}.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:#00bcd4}.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:#00bcd4}.mat-radio-button.mat-accent.mat-radio-checked .mat-radio-outer-circle{border-color:#448aff}.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:#448aff}.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:#90caf9}.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:#00bcd4}.mat-form-field.mat-focused.mat-accent .mat-select-arrow{color:#448aff}.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:#bbdefb;color:#000000de}.mat-drawer{background-color:#90caf9;color:#000000de}.mat-drawer.mat-drawer-push{background-color:#90caf9}.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:#6f350699}.mat-slide-toggle.mat-checked .mat-slide-toggle-thumb{background-color:#448aff}.mat-slide-toggle.mat-checked .mat-slide-toggle-bar{background-color:#448aff8a}.mat-slide-toggle.mat-checked .mat-ripple-element{background-color:#448aff}.mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-thumb{background-color:#00bcd4}.mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-bar{background-color:#00bcd48a}.mat-slide-toggle.mat-primary.mat-checked .mat-ripple-element{background-color:#00bcd4}.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:#00bcd4}.mat-slider.mat-primary .mat-slider-thumb-label-text{color:#fff}.mat-slider.mat-primary .mat-slider-focus-ring{background-color:#00bcd433}.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:#448aff}.mat-slider.mat-accent .mat-slider-thumb-label-text{color:#fff}.mat-slider.mat-accent .mat-slider-focus-ring{background-color:#448aff33}.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:transparent}.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:#00bcd4;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:#448aff;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:transparent;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:#90caf9}.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:#425d73}.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:#b2ebf24d}.mat-tab-group.mat-primary .mat-ink-bar,.mat-tab-nav-bar.mat-primary .mat-ink-bar{background-color:#00bcd4}.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:#82b1ff4d}.mat-tab-group.mat-accent .mat-ink-bar,.mat-tab-nav-bar.mat-accent .mat-ink-bar{background-color:#448aff}.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:#b2ebf24d}.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:#00bcd4}.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:#82b1ff4d}.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:#448aff}.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:#bbdefb;color:#000000de}.mat-toolbar.mat-primary{background:#00bcd4;color:#fff}.mat-toolbar.mat-accent{background:#448aff;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-tree{background:#90caf9}.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:#448aff}.app-defaults{background-color:#bbdefb;color:#000000de}.theme-menu{background-color:#448aff}.menuBarButtonGroup{background-color:#0000001f}.tabGroups{padding-left:0;min-height:100%;height:100%}.tabGroupPanel{display:block;margin:10px 20px 20px}.formActionFooter{width:100%;text-align:end}.formActionButton{margin-left:10px}.formActionDivider{margin-top:10px;margin-bottom:10px}.as-split-gutter{background-color:transparent!important}.primary{color:#4dd0e1}.accent{color:#64b5f6}.warn{color:#e57373}.primaryDark{color:#006064}.accentDark{color:#0d47a1}.warnDark{color:#b71c1c}.background{color:#0000001f}.text{color:#000000de}.pathMetaDescription{font:small-caption;color:#00000061}.textGenericWrapper{position:relative;width:100%;height:100%}.canvas-size{position:absolute;top:0;left:0}.warn{color:#f44336}.warn-contrast{color:#fff}DIV.apScreen{display:block;position:relative;width:360px;height:220.5px;margin:auto;text-align:center;border-radius:5px;border:1px solid rgba(0,0,0,.12);background-color:#0000001f}.apScreen .apCompass{position:relative;width:360px;height:202px;margin:auto;border-radius:5px}.apStatusBar{width:360px;height:18.5px;border-bottom-left-radius:5px;border-bottom-right-radius:5px;background-color:#000}.apStatusBar,.apStatusBar DIV{display:inline-block;position:relative}.apScreen .apStencil{position:absolute;top:0;left:0;width:100%;height:100%;margin:auto;border-radius:5px;z-index:10;vertical-align:middle;background-color:#bbdefb}.apStencil.confirmCommand{z-index:5;visibility:hidden}.apStencil.error{z-index:6;visibility:hidden}.apText{fill:#000000de}.boatBackground{stop-color:#c7c7c7!important}.heading-background{stroke:#000;fill:#afafaf}.wind-text{fill:#000;stroke:#000}.laylines{stroke:#000000de}.wind-sector-port{fill:red}.wind-sector-stbd{fill:#1fce04}.compass-outer-ring{stroke:#757575}.compass-inner-ring{stroke:#afafaf;fill:#afafaf}.wind-rose-background{stroke:#8a8a8a}.sailSetupBoat{stroke:#afafaf}.sailSetupFull{fill:#4dd0e1}.sailSetupReef1{fill:#64b5f6}.sailSetupReef2{fill:#e57373}.sailSetupReef3{fill:#f44336}.port{stroke:red}.starboard{stroke:#1fce04}.rudderPort{fill:#d52626}.rudderStarboard{fill:#389c19}.true-wind{fill:#068dfb}.app-wind{fill:#06fb06}.simpleLinear-text{fill:#000000de}.windWrapper{position:relative;width:100%;height:100%}.matBadge{z-index:1000}.mute-unmte-alarm{width:max-content}.alarmWarning{animation:blinkingAlarmWarning 1.5s infinite;background-color:orange!important}.alarmCrit{animation:blinkingAlarmCrit .25s infinite}.muteSoundButton:hover{background:rgba(255,255,255,.04)}.serverStatus{background-color:#0000001f;margin:7% 5% 0%;padding:10px 20px 20px}.descriptiveTexts{color:#000000de;font-size:14px}.flex-item{flex:1 1 29%;background-color:#0000001f;padding:20px;border-radius:4px}.flex-item-copy{flex:2 1 40%;background-color:#0000001f;padding:10px 20px;border-radius:4px}.signalk-light .mat-ripple-element{background-color:#0000001a}.signalk-light .mat-option{color:#000000de}.signalk-light .mat-option:hover:not(.mat-option-disabled),.signalk-light .mat-option:focus:not(.mat-option-disabled){background:rgba(0,0,0,.04)}.signalk-light .mat-option.mat-selected:not(.mat-option-multiple):not(.mat-option-disabled){background:rgba(0,0,0,.04)}.signalk-light .mat-option.mat-active{background:rgba(0,0,0,.04);color:#000000de}.signalk-light .mat-option.mat-option-disabled{color:#00000061}.signalk-light .mat-primary .mat-option.mat-selected:not(.mat-option-disabled){color:#039}.signalk-light .mat-accent .mat-option.mat-selected:not(.mat-option-disabled){color:#fc0}.signalk-light .mat-warn .mat-option.mat-selected:not(.mat-option-disabled){color:#f44336}.signalk-light .mat-optgroup-label{color:#0000008a}.signalk-light .mat-optgroup-disabled .mat-optgroup-label{color:#00000061}.signalk-light .mat-pseudo-checkbox{color:#0000008a}.signalk-light .mat-pseudo-checkbox:after{color:#e0e7f3}.signalk-light .mat-pseudo-checkbox-disabled{color:#b0b0b0}.signalk-light .mat-primary .mat-pseudo-checkbox-checked,.signalk-light .mat-primary .mat-pseudo-checkbox-indeterminate{background:#003399}.signalk-light .mat-pseudo-checkbox-checked,.signalk-light .mat-pseudo-checkbox-indeterminate,.signalk-light .mat-accent .mat-pseudo-checkbox-checked,.signalk-light .mat-accent .mat-pseudo-checkbox-indeterminate{background:#ffcc00}.signalk-light .mat-warn .mat-pseudo-checkbox-checked,.signalk-light .mat-warn .mat-pseudo-checkbox-indeterminate{background:#f44336}.signalk-light .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.signalk-light .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background:#b0b0b0}.signalk-light .mat-app-background,.signalk-light.mat-app-background{background-color:#e0e7f3;color:#000000de}.signalk-light .mat-elevation-z0{box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.signalk-light .mat-elevation-z1{box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f}.signalk-light .mat-elevation-z2{box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.signalk-light .mat-elevation-z3{box-shadow:0 3px 3px -2px #0003,0 3px 4px #00000024,0 1px 8px #0000001f}.signalk-light .mat-elevation-z4{box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.signalk-light .mat-elevation-z5{box-shadow:0 3px 5px -1px #0003,0 5px 8px #00000024,0 1px 14px #0000001f}.signalk-light .mat-elevation-z6{box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.signalk-light .mat-elevation-z7{box-shadow:0 4px 5px -2px #0003,0 7px 10px 1px #00000024,0 2px 16px 1px #0000001f}.signalk-light .mat-elevation-z8{box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.signalk-light .mat-elevation-z9{box-shadow:0 5px 6px -3px #0003,0 9px 12px 1px #00000024,0 3px 16px 2px #0000001f}.signalk-light .mat-elevation-z10{box-shadow:0 6px 6px -3px #0003,0 10px 14px 1px #00000024,0 4px 18px 3px #0000001f}.signalk-light .mat-elevation-z11{box-shadow:0 6px 7px -4px #0003,0 11px 15px 1px #00000024,0 4px 20px 3px #0000001f}.signalk-light .mat-elevation-z12{box-shadow:0 7px 8px -4px #0003,0 12px 17px 2px #00000024,0 5px 22px 4px #0000001f}.signalk-light .mat-elevation-z13{box-shadow:0 7px 8px -4px #0003,0 13px 19px 2px #00000024,0 5px 24px 4px #0000001f}.signalk-light .mat-elevation-z14{box-shadow:0 7px 9px -4px #0003,0 14px 21px 2px #00000024,0 5px 26px 4px #0000001f}.signalk-light .mat-elevation-z15{box-shadow:0 8px 9px -5px #0003,0 15px 22px 2px #00000024,0 6px 28px 5px #0000001f}.signalk-light .mat-elevation-z16{box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f}.signalk-light .mat-elevation-z17{box-shadow:0 8px 11px -5px #0003,0 17px 26px 2px #00000024,0 6px 32px 5px #0000001f}.signalk-light .mat-elevation-z18{box-shadow:0 9px 11px -5px #0003,0 18px 28px 2px #00000024,0 7px 34px 6px #0000001f}.signalk-light .mat-elevation-z19{box-shadow:0 9px 12px -6px #0003,0 19px 29px 2px #00000024,0 7px 36px 6px #0000001f}.signalk-light .mat-elevation-z20{box-shadow:0 10px 13px -6px #0003,0 20px 31px 3px #00000024,0 8px 38px 7px #0000001f}.signalk-light .mat-elevation-z21{box-shadow:0 10px 13px -6px #0003,0 21px 33px 3px #00000024,0 8px 40px 7px #0000001f}.signalk-light .mat-elevation-z22{box-shadow:0 10px 14px -6px #0003,0 22px 35px 3px #00000024,0 8px 42px 7px #0000001f}.signalk-light .mat-elevation-z23{box-shadow:0 11px 14px -7px #0003,0 23px 36px 3px #00000024,0 9px 44px 8px #0000001f}.signalk-light .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}.signalk-light .mat-autocomplete-panel{background:white;color:#000000de}.signalk-light .mat-autocomplete-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.signalk-light .mat-autocomplete-panel .mat-option.mat-selected:not(.mat-active):not(:hover){background:white}.signalk-light .mat-autocomplete-panel .mat-option.mat-selected:not(.mat-active):not(:hover):not(.mat-option-disabled){color:#000000de}.signalk-light .mat-badge-content{color:#fff;background:#003399}.cdk-high-contrast-active .signalk-light .mat-badge-content{outline:solid 1px;border-radius:0}.signalk-light .mat-badge-accent .mat-badge-content{background:#ffcc00;color:#000}.signalk-light .mat-badge-warn .mat-badge-content{color:#fff;background:#f44336}.signalk-light .mat-badge-disabled .mat-badge-content{background:#a6abb4;color:#00000061}.signalk-light .mat-bottom-sheet-container{box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f;background:white;color:#000000de}.signalk-light .mat-button,.signalk-light .mat-icon-button,.signalk-light .mat-stroked-button{color:inherit;background:transparent}.signalk-light .mat-button.mat-primary,.signalk-light .mat-icon-button.mat-primary,.signalk-light .mat-stroked-button.mat-primary{color:#039}.signalk-light .mat-button.mat-accent,.signalk-light .mat-icon-button.mat-accent,.signalk-light .mat-stroked-button.mat-accent{color:#fc0}.signalk-light .mat-button.mat-warn,.signalk-light .mat-icon-button.mat-warn,.signalk-light .mat-stroked-button.mat-warn{color:#f44336}.signalk-light .mat-button.mat-primary.mat-button-disabled,.signalk-light .mat-button.mat-accent.mat-button-disabled,.signalk-light .mat-button.mat-warn.mat-button-disabled,.signalk-light .mat-button.mat-button-disabled.mat-button-disabled,.signalk-light .mat-icon-button.mat-primary.mat-button-disabled,.signalk-light .mat-icon-button.mat-accent.mat-button-disabled,.signalk-light .mat-icon-button.mat-warn.mat-button-disabled,.signalk-light .mat-icon-button.mat-button-disabled.mat-button-disabled,.signalk-light .mat-stroked-button.mat-primary.mat-button-disabled,.signalk-light .mat-stroked-button.mat-accent.mat-button-disabled,.signalk-light .mat-stroked-button.mat-warn.mat-button-disabled,.signalk-light .mat-stroked-button.mat-button-disabled.mat-button-disabled{color:#00000042}.signalk-light .mat-button.mat-primary .mat-button-focus-overlay,.signalk-light .mat-icon-button.mat-primary .mat-button-focus-overlay,.signalk-light .mat-stroked-button.mat-primary .mat-button-focus-overlay{background-color:#039}.signalk-light .mat-button.mat-accent .mat-button-focus-overlay,.signalk-light .mat-icon-button.mat-accent .mat-button-focus-overlay,.signalk-light .mat-stroked-button.mat-accent .mat-button-focus-overlay{background-color:#fc0}.signalk-light .mat-button.mat-warn .mat-button-focus-overlay,.signalk-light .mat-icon-button.mat-warn .mat-button-focus-overlay,.signalk-light .mat-stroked-button.mat-warn .mat-button-focus-overlay{background-color:#f44336}.signalk-light .mat-button.mat-button-disabled .mat-button-focus-overlay,.signalk-light .mat-icon-button.mat-button-disabled .mat-button-focus-overlay,.signalk-light .mat-stroked-button.mat-button-disabled .mat-button-focus-overlay{background-color:transparent}.signalk-light .mat-button .mat-ripple-element,.signalk-light .mat-icon-button .mat-ripple-element,.signalk-light .mat-stroked-button .mat-ripple-element{opacity:.1;background-color:currentColor}.signalk-light .mat-button-focus-overlay{background:black}.signalk-light .mat-stroked-button:not(.mat-button-disabled){border-color:#0000001f}.signalk-light .mat-flat-button,.signalk-light .mat-raised-button,.signalk-light .mat-fab,.signalk-light .mat-mini-fab{color:#000000de;background-color:#fff}.signalk-light .mat-flat-button.mat-primary,.signalk-light .mat-raised-button.mat-primary,.signalk-light .mat-fab.mat-primary,.signalk-light .mat-mini-fab.mat-primary{color:#fff}.signalk-light .mat-flat-button.mat-accent,.signalk-light .mat-raised-button.mat-accent,.signalk-light .mat-fab.mat-accent,.signalk-light .mat-mini-fab.mat-accent{color:#000}.signalk-light .mat-flat-button.mat-warn,.signalk-light .mat-raised-button.mat-warn,.signalk-light .mat-fab.mat-warn,.signalk-light .mat-mini-fab.mat-warn{color:#fff}.signalk-light .mat-flat-button.mat-primary.mat-button-disabled,.signalk-light .mat-flat-button.mat-accent.mat-button-disabled,.signalk-light .mat-flat-button.mat-warn.mat-button-disabled,.signalk-light .mat-flat-button.mat-button-disabled.mat-button-disabled,.signalk-light .mat-raised-button.mat-primary.mat-button-disabled,.signalk-light .mat-raised-button.mat-accent.mat-button-disabled,.signalk-light .mat-raised-button.mat-warn.mat-button-disabled,.signalk-light .mat-raised-button.mat-button-disabled.mat-button-disabled,.signalk-light .mat-fab.mat-primary.mat-button-disabled,.signalk-light .mat-fab.mat-accent.mat-button-disabled,.signalk-light .mat-fab.mat-warn.mat-button-disabled,.signalk-light .mat-fab.mat-button-disabled.mat-button-disabled,.signalk-light .mat-mini-fab.mat-primary.mat-button-disabled,.signalk-light .mat-mini-fab.mat-accent.mat-button-disabled,.signalk-light .mat-mini-fab.mat-warn.mat-button-disabled,.signalk-light .mat-mini-fab.mat-button-disabled.mat-button-disabled{color:#00000042}.signalk-light .mat-flat-button.mat-primary,.signalk-light .mat-raised-button.mat-primary,.signalk-light .mat-fab.mat-primary,.signalk-light .mat-mini-fab.mat-primary{background-color:#039}.signalk-light .mat-flat-button.mat-accent,.signalk-light .mat-raised-button.mat-accent,.signalk-light .mat-fab.mat-accent,.signalk-light .mat-mini-fab.mat-accent{background-color:#fc0}.signalk-light .mat-flat-button.mat-warn,.signalk-light .mat-raised-button.mat-warn,.signalk-light .mat-fab.mat-warn,.signalk-light .mat-mini-fab.mat-warn{background-color:#f44336}.signalk-light .mat-flat-button.mat-primary.mat-button-disabled,.signalk-light .mat-flat-button.mat-accent.mat-button-disabled,.signalk-light .mat-flat-button.mat-warn.mat-button-disabled,.signalk-light .mat-flat-button.mat-button-disabled.mat-button-disabled,.signalk-light .mat-raised-button.mat-primary.mat-button-disabled,.signalk-light .mat-raised-button.mat-accent.mat-button-disabled,.signalk-light .mat-raised-button.mat-warn.mat-button-disabled,.signalk-light .mat-raised-button.mat-button-disabled.mat-button-disabled,.signalk-light .mat-fab.mat-primary.mat-button-disabled,.signalk-light .mat-fab.mat-accent.mat-button-disabled,.signalk-light .mat-fab.mat-warn.mat-button-disabled,.signalk-light .mat-fab.mat-button-disabled.mat-button-disabled,.signalk-light .mat-mini-fab.mat-primary.mat-button-disabled,.signalk-light .mat-mini-fab.mat-accent.mat-button-disabled,.signalk-light .mat-mini-fab.mat-warn.mat-button-disabled,.signalk-light .mat-mini-fab.mat-button-disabled.mat-button-disabled{background-color:#0000001f}.signalk-light .mat-flat-button.mat-primary .mat-ripple-element,.signalk-light .mat-raised-button.mat-primary .mat-ripple-element,.signalk-light .mat-fab.mat-primary .mat-ripple-element,.signalk-light .mat-mini-fab.mat-primary .mat-ripple-element{background-color:#ffffff1a}.signalk-light .mat-flat-button.mat-accent .mat-ripple-element,.signalk-light .mat-raised-button.mat-accent .mat-ripple-element,.signalk-light .mat-fab.mat-accent .mat-ripple-element,.signalk-light .mat-mini-fab.mat-accent .mat-ripple-element{background-color:#0000001a}.signalk-light .mat-flat-button.mat-warn .mat-ripple-element,.signalk-light .mat-raised-button.mat-warn .mat-ripple-element,.signalk-light .mat-fab.mat-warn .mat-ripple-element,.signalk-light .mat-mini-fab.mat-warn .mat-ripple-element{background-color:#ffffff1a}.signalk-light .mat-stroked-button:not([class*=mat-elevation-z]),.signalk-light .mat-flat-button:not([class*=mat-elevation-z]){box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.signalk-light .mat-raised-button:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.signalk-light .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}.signalk-light .mat-raised-button.mat-button-disabled:not([class*=mat-elevation-z]){box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.signalk-light .mat-fab:not([class*=mat-elevation-z]),.signalk-light .mat-mini-fab:not([class*=mat-elevation-z]){box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.signalk-light .mat-fab:not(.mat-button-disabled):active:not([class*=mat-elevation-z]),.signalk-light .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}.signalk-light .mat-fab.mat-button-disabled:not([class*=mat-elevation-z]),.signalk-light .mat-mini-fab.mat-button-disabled:not([class*=mat-elevation-z]){box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.signalk-light .mat-button-toggle-standalone:not([class*=mat-elevation-z]),.signalk-light .mat-button-toggle-group:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.signalk-light .mat-button-toggle-standalone.mat-button-toggle-appearance-standard:not([class*=mat-elevation-z]),.signalk-light .mat-button-toggle-group-appearance-standard:not([class*=mat-elevation-z]){box-shadow:none}.signalk-light .mat-button-toggle{color:#00000061}.signalk-light .mat-button-toggle .mat-button-toggle-focus-overlay{background-color:#0000000f}.signalk-light .mat-button-toggle-appearance-standard{color:#000000de;background:white}.signalk-light .mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{background-color:#000}.signalk-light .mat-button-toggle-group-appearance-standard .mat-button-toggle+.mat-button-toggle{border-left:solid 1px #e0e0e0}.signalk-light [dir=rtl] .mat-button-toggle-group-appearance-standard .mat-button-toggle+.mat-button-toggle{border-left:none;border-right:solid 1px #e0e0e0}.signalk-light .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}.signalk-light .mat-button-toggle-checked{background-color:#4d70b8;color:#0000008a}.signalk-light .mat-button-toggle-checked.mat-button-toggle-appearance-standard{color:#000000de}.signalk-light .mat-button-toggle-disabled{color:#00000042;background-color:#fff}.signalk-light .mat-button-toggle-disabled.mat-button-toggle-appearance-standard{background:white}.signalk-light .mat-button-toggle-disabled.mat-button-toggle-checked{background-color:#2652a8}.signalk-light .mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.signalk-light .mat-button-toggle-group-appearance-standard{border:solid 1px #e0e0e0}.signalk-light .mat-card{background:white;color:#000000de}.signalk-light .mat-card:not([class*=mat-elevation-z]){box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f}.signalk-light .mat-card.mat-card-flat:not([class*=mat-elevation-z]){box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.signalk-light .mat-card-subtitle{color:#0000008a}.signalk-light .mat-checkbox-frame{border-color:#0000008a}.signalk-light .mat-checkbox-checkmark{fill:#e0e7f3}.signalk-light .mat-checkbox-checkmark-path{stroke:#e0e7f3!important}.signalk-light .mat-checkbox-mixedmark{background-color:#e0e7f3}.signalk-light .mat-checkbox-indeterminate.mat-primary .mat-checkbox-background,.signalk-light .mat-checkbox-checked.mat-primary .mat-checkbox-background{background-color:#039}.signalk-light .mat-checkbox-indeterminate.mat-accent .mat-checkbox-background,.signalk-light .mat-checkbox-checked.mat-accent .mat-checkbox-background{background-color:#fc0}.signalk-light .mat-checkbox-indeterminate.mat-warn .mat-checkbox-background,.signalk-light .mat-checkbox-checked.mat-warn .mat-checkbox-background{background-color:#f44336}.signalk-light .mat-checkbox-disabled.mat-checkbox-checked .mat-checkbox-background,.signalk-light .mat-checkbox-disabled.mat-checkbox-indeterminate .mat-checkbox-background{background-color:#b0b0b0}.signalk-light .mat-checkbox-disabled:not(.mat-checkbox-checked) .mat-checkbox-frame{border-color:#b0b0b0}.signalk-light .mat-checkbox-disabled .mat-checkbox-label{color:#00000061}.signalk-light .mat-checkbox .mat-ripple-element{background-color:#000}.signalk-light .mat-checkbox-checked:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element,.signalk-light .mat-checkbox:active:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element{background:#003399}.signalk-light .mat-checkbox-checked:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element,.signalk-light .mat-checkbox:active:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element{background:#ffcc00}.signalk-light .mat-checkbox-checked:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element,.signalk-light .mat-checkbox:active:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element{background:#f44336}.signalk-light .mat-chip.mat-standard-chip{background-color:#4d70b8;color:#000000de}.signalk-light .mat-chip.mat-standard-chip .mat-chip-remove{color:#000000de;opacity:.4}.signalk-light .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}.signalk-light .mat-chip.mat-standard-chip:not(.mat-chip-disabled) .mat-chip-remove:hover{opacity:.54}.signalk-light .mat-chip.mat-standard-chip.mat-chip-disabled{opacity:.4}.signalk-light .mat-chip.mat-standard-chip:after{background:black}.signalk-light .mat-chip.mat-standard-chip.mat-chip-selected.mat-primary{background-color:#039;color:#fff}.signalk-light .mat-chip.mat-standard-chip.mat-chip-selected.mat-primary .mat-chip-remove{color:#fff;opacity:.4}.signalk-light .mat-chip.mat-standard-chip.mat-chip-selected.mat-primary .mat-ripple-element{background-color:#ffffff1a}.signalk-light .mat-chip.mat-standard-chip.mat-chip-selected.mat-warn{background-color:#f44336;color:#fff}.signalk-light .mat-chip.mat-standard-chip.mat-chip-selected.mat-warn .mat-chip-remove{color:#fff;opacity:.4}.signalk-light .mat-chip.mat-standard-chip.mat-chip-selected.mat-warn .mat-ripple-element{background-color:#ffffff1a}.signalk-light .mat-chip.mat-standard-chip.mat-chip-selected.mat-accent{background-color:#fc0;color:#000}.signalk-light .mat-chip.mat-standard-chip.mat-chip-selected.mat-accent .mat-chip-remove{color:#000;opacity:.4}.signalk-light .mat-chip.mat-standard-chip.mat-chip-selected.mat-accent .mat-ripple-element{background-color:#0000001a}.signalk-light .mat-table{background:white}.signalk-light .mat-table thead,.signalk-light .mat-table tbody,.signalk-light .mat-table tfoot,.signalk-light mat-header-row,.signalk-light mat-row,.signalk-light mat-footer-row,.signalk-light [mat-header-row],.signalk-light [mat-row],.signalk-light [mat-footer-row],.signalk-light .mat-table-sticky{background:inherit}.signalk-light mat-row,.signalk-light mat-header-row,.signalk-light mat-footer-row,.signalk-light th.mat-header-cell,.signalk-light td.mat-cell,.signalk-light td.mat-footer-cell{border-bottom-color:#0000001f}.signalk-light .mat-header-cell{color:#0000008a}.signalk-light .mat-cell,.signalk-light .mat-footer-cell{color:#000000de}.signalk-light .mat-calendar-arrow{fill:#0000008a}.signalk-light .mat-datepicker-toggle,.signalk-light .mat-datepicker-content .mat-calendar-next-button,.signalk-light .mat-datepicker-content .mat-calendar-previous-button{color:#0000008a}.signalk-light .mat-calendar-table-header-divider:after{background:rgba(0,0,0,.12)}.signalk-light .mat-calendar-table-header,.signalk-light .mat-calendar-body-label{color:#0000008a}.signalk-light .mat-calendar-body-cell-content,.signalk-light .mat-date-range-input-separator{color:#000000de;border-color:transparent}.signalk-light .mat-calendar-body-disabled>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){color:#00000061}.signalk-light .mat-form-field-disabled .mat-date-range-input-separator{color:#00000061}.signalk-light .mat-calendar-body-in-preview{color:#0000003d}.signalk-light .mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:#00000061}.signalk-light .mat-calendar-body-disabled>.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:#0000002e}.signalk-light .mat-calendar-body-in-range:before{background:rgba(0,51,153,.2)}.signalk-light .mat-calendar-body-comparison-identical,.signalk-light .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.signalk-light .mat-calendar-body-comparison-bridge-start:before,.signalk-light [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(to right,rgba(0,51,153,.2) 50%,rgba(249,171,0,.2) 50%)}.signalk-light .mat-calendar-body-comparison-bridge-end:before,.signalk-light [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(to left,rgba(0,51,153,.2) 50%,rgba(249,171,0,.2) 50%)}.signalk-light .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.signalk-light .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after{background:#a8dab5}.signalk-light .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.signalk-light .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.signalk-light .mat-calendar-body-selected{background-color:#039;color:#fff}.signalk-light .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:#0396}.signalk-light .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.signalk-light .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.signalk-light .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:#0033994d}@media (hover: hover){.signalk-light .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:#0033994d}}.signalk-light .mat-datepicker-content{box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f;background-color:#fff;color:#000000de}.signalk-light .mat-datepicker-content.mat-accent .mat-calendar-body-in-range:before{background:rgba(255,204,0,.2)}.signalk-light .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-identical,.signalk-light .mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.signalk-light .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-bridge-start:before,.signalk-light .mat-datepicker-content.mat-accent [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(to right,rgba(255,204,0,.2) 50%,rgba(249,171,0,.2) 50%)}.signalk-light .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-bridge-end:before,.signalk-light .mat-datepicker-content.mat-accent [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(to left,rgba(255,204,0,.2) 50%,rgba(249,171,0,.2) 50%)}.signalk-light .mat-datepicker-content.mat-accent .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.signalk-light .mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after{background:#a8dab5}.signalk-light .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.signalk-light .mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.signalk-light .mat-datepicker-content.mat-accent .mat-calendar-body-selected{background-color:#fc0;color:#000}.signalk-light .mat-datepicker-content.mat-accent .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:#fc06}.signalk-light .mat-datepicker-content.mat-accent .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #000}.signalk-light .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),.signalk-light .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:#ffcc004d}@media (hover: hover){.signalk-light .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:#ffcc004d}}.signalk-light .mat-datepicker-content.mat-warn .mat-calendar-body-in-range:before{background:rgba(244,67,54,.2)}.signalk-light .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-identical,.signalk-light .mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.signalk-light .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-bridge-start:before,.signalk-light .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%)}.signalk-light .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-bridge-end:before,.signalk-light .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%)}.signalk-light .mat-datepicker-content.mat-warn .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.signalk-light .mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after{background:#a8dab5}.signalk-light .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.signalk-light .mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.signalk-light .mat-datepicker-content.mat-warn .mat-calendar-body-selected{background-color:#f44336;color:#fff}.signalk-light .mat-datepicker-content.mat-warn .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:#f4433666}.signalk-light .mat-datepicker-content.mat-warn .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.signalk-light .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),.signalk-light .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){.signalk-light .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}}.signalk-light .mat-datepicker-content-touch{box-shadow:0 11px 15px -7px #0003,0 24px 38px 3px #00000024,0 9px 46px 8px #0000001f}.signalk-light .mat-datepicker-toggle-active{color:#039}.signalk-light .mat-datepicker-toggle-active.mat-accent{color:#fc0}.signalk-light .mat-datepicker-toggle-active.mat-warn{color:#f44336}.signalk-light .mat-date-range-input-inner[disabled]{color:#00000061}.signalk-light .mat-dialog-container{box-shadow:0 11px 15px -7px #0003,0 24px 38px 3px #00000024,0 9px 46px 8px #0000001f;background:white;color:#000000de}.signalk-light .mat-divider{border-top-color:#0000001f}.signalk-light .mat-divider-vertical{border-right-color:#0000001f}.signalk-light .mat-expansion-panel{background:white;color:#000000de}.signalk-light .mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.signalk-light .mat-action-row{border-top-color:#0000001f}.signalk-light .mat-expansion-panel .mat-expansion-panel-header.cdk-keyboard-focused:not([aria-disabled=true]),.signalk-light .mat-expansion-panel .mat-expansion-panel-header.cdk-program-focused:not([aria-disabled=true]),.signalk-light .mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:hover:not([aria-disabled=true]){background:rgba(0,0,0,.04)}@media (hover: none){.signalk-light .mat-expansion-panel:not(.mat-expanded):not([aria-disabled=true]) .mat-expansion-panel-header:hover{background:white}}.signalk-light .mat-expansion-panel-header-title{color:#000000de}.signalk-light .mat-expansion-panel-header-description,.signalk-light .mat-expansion-indicator:after{color:#0000008a}.signalk-light .mat-expansion-panel-header[aria-disabled=true]{color:#00000042}.signalk-light .mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-title,.signalk-light .mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-description{color:inherit}.signalk-light .mat-form-field-label,.signalk-light .mat-hint{color:#0009}.signalk-light .mat-form-field.mat-focused .mat-form-field-label{color:#039}.signalk-light .mat-form-field.mat-focused .mat-form-field-label.mat-accent{color:#fc0}.signalk-light .mat-form-field.mat-focused .mat-form-field-label.mat-warn{color:#f44336}.signalk-light .mat-focused .mat-form-field-required-marker{color:#fc0}.signalk-light .mat-form-field-ripple{background-color:#000000de}.signalk-light .mat-form-field.mat-focused .mat-form-field-ripple{background-color:#039}.signalk-light .mat-form-field.mat-focused .mat-form-field-ripple.mat-accent{background-color:#fc0}.signalk-light .mat-form-field.mat-focused .mat-form-field-ripple.mat-warn{background-color:#f44336}.signalk-light .mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid) .mat-form-field-infix:after{color:#039}.signalk-light .mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid).mat-accent .mat-form-field-infix:after{color:#fc0}.signalk-light .mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid).mat-warn .mat-form-field-infix:after{color:#f44336}.signalk-light .mat-form-field.mat-form-field-invalid .mat-form-field-label,.signalk-light .mat-form-field.mat-form-field-invalid .mat-form-field-label.mat-accent,.signalk-light .mat-form-field.mat-form-field-invalid .mat-form-field-label .mat-form-field-required-marker{color:#f44336}.signalk-light .mat-form-field.mat-form-field-invalid .mat-form-field-ripple,.signalk-light .mat-form-field.mat-form-field-invalid .mat-form-field-ripple.mat-accent{background-color:#f44336}.signalk-light .mat-error{color:#f44336}.signalk-light .mat-form-field-appearance-legacy .mat-form-field-label,.signalk-light .mat-form-field-appearance-legacy .mat-hint{color:#0000008a}.signalk-light .mat-form-field-appearance-legacy .mat-form-field-underline{background-color:#0000006b}.signalk-light .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}.signalk-light .mat-form-field-appearance-standard .mat-form-field-underline{background-color:#0000006b}.signalk-light .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}.signalk-light .mat-form-field-appearance-fill .mat-form-field-flex{background-color:#0000000a}.signalk-light .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-flex{background-color:#00000005}.signalk-light .mat-form-field-appearance-fill .mat-form-field-underline:before{background-color:#0000006b}.signalk-light .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-label{color:#00000061}.signalk-light .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-underline:before{background-color:transparent}.signalk-light .mat-form-field-appearance-outline .mat-form-field-outline{color:#0000001f}.signalk-light .mat-form-field-appearance-outline .mat-form-field-outline-thick{color:#000000de}.signalk-light .mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick{color:#039}.signalk-light .mat-form-field-appearance-outline.mat-focused.mat-accent .mat-form-field-outline-thick{color:#fc0}.signalk-light .mat-form-field-appearance-outline.mat-focused.mat-warn .mat-form-field-outline-thick,.signalk-light .mat-form-field-appearance-outline.mat-form-field-invalid.mat-form-field-invalid .mat-form-field-outline-thick{color:#f44336}.signalk-light .mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-label{color:#00000061}.signalk-light .mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-outline{color:#0000000f}.signalk-light .mat-icon.mat-primary{color:#039}.signalk-light .mat-icon.mat-accent{color:#fc0}.signalk-light .mat-icon.mat-warn{color:#f44336}.signalk-light .mat-form-field-type-mat-native-select .mat-form-field-infix:after{color:#0000008a}.signalk-light .mat-input-element:disabled,.signalk-light .mat-form-field-type-mat-native-select.mat-form-field-disabled .mat-form-field-infix:after{color:#00000061}.signalk-light .mat-input-element{caret-color:#039}.signalk-light .mat-input-element::placeholder{color:#0000006b}.signalk-light .mat-input-element::-moz-placeholder{color:#0000006b}.signalk-light .mat-input-element::-webkit-input-placeholder{color:#0000006b}.signalk-light .mat-input-element:-ms-input-placeholder{color:#0000006b}.signalk-light .mat-form-field.mat-accent .mat-input-element{caret-color:#fc0}.signalk-light .mat-form-field.mat-warn .mat-input-element,.signalk-light .mat-form-field-invalid .mat-input-element{caret-color:#f44336}.signalk-light .mat-form-field-type-mat-native-select.mat-form-field-invalid .mat-form-field-infix:after{color:#f44336}.signalk-light .mat-list-base .mat-list-item,.signalk-light .mat-list-base .mat-list-option{color:#000000de}.signalk-light .mat-list-base .mat-subheader{color:#0000008a}.signalk-light .mat-list-base .mat-list-item-disabled{background-color:#fff;color:#00000061}.signalk-light .mat-list-option:hover,.signalk-light .mat-list-option:focus,.signalk-light .mat-nav-list .mat-list-item:hover,.signalk-light .mat-nav-list .mat-list-item:focus,.signalk-light .mat-action-list .mat-list-item:hover,.signalk-light .mat-action-list .mat-list-item:focus{background:rgba(0,0,0,.04)}.signalk-light .mat-list-single-selected-option,.signalk-light .mat-list-single-selected-option:hover,.signalk-light .mat-list-single-selected-option:focus{background:rgba(0,0,0,.12)}.signalk-light .mat-menu-panel{background:white}.signalk-light .mat-menu-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.signalk-light .mat-menu-item{background:transparent;color:#000000de}.signalk-light .mat-menu-item[disabled],.signalk-light .mat-menu-item[disabled] .mat-menu-submenu-icon,.signalk-light .mat-menu-item[disabled] .mat-icon-no-color{color:#00000061}.signalk-light .mat-menu-item .mat-icon-no-color,.signalk-light .mat-menu-submenu-icon{color:#0000008a}.signalk-light .mat-menu-item:hover:not([disabled]),.signalk-light .mat-menu-item.cdk-program-focused:not([disabled]),.signalk-light .mat-menu-item.cdk-keyboard-focused:not([disabled]),.signalk-light .mat-menu-item-highlighted:not([disabled]){background:rgba(0,0,0,.04)}.signalk-light .mat-paginator{background:white}.signalk-light .mat-paginator,.signalk-light .mat-paginator-page-size .mat-select-trigger{color:#0000008a}.signalk-light .mat-paginator-decrement,.signalk-light .mat-paginator-increment{border-top:2px solid rgba(0,0,0,.54);border-right:2px solid rgba(0,0,0,.54)}.signalk-light .mat-paginator-first,.signalk-light .mat-paginator-last{border-top:2px solid rgba(0,0,0,.54)}.signalk-light .mat-icon-button[disabled] .mat-paginator-decrement,.signalk-light .mat-icon-button[disabled] .mat-paginator-increment,.signalk-light .mat-icon-button[disabled] .mat-paginator-first,.signalk-light .mat-icon-button[disabled] .mat-paginator-last{border-color:#00000061}.signalk-light .mat-progress-bar-background{fill:#a8badd}.signalk-light .mat-progress-bar-buffer{background-color:#a8badd}.signalk-light .mat-progress-bar-fill:after{background-color:#039}.signalk-light .mat-progress-bar.mat-accent .mat-progress-bar-background{fill:#e8e0b6}.signalk-light .mat-progress-bar.mat-accent .mat-progress-bar-buffer{background-color:#e8e0b6}.signalk-light .mat-progress-bar.mat-accent .mat-progress-bar-fill:after{background-color:#fc0}.signalk-light .mat-progress-bar.mat-warn .mat-progress-bar-background{fill:#e5bec4}.signalk-light .mat-progress-bar.mat-warn .mat-progress-bar-buffer{background-color:#e5bec4}.signalk-light .mat-progress-bar.mat-warn .mat-progress-bar-fill:after{background-color:#f44336}.signalk-light .mat-progress-spinner circle,.signalk-light .mat-spinner circle{stroke:#039}.signalk-light .mat-progress-spinner.mat-accent circle,.signalk-light .mat-spinner.mat-accent circle{stroke:#fc0}.signalk-light .mat-progress-spinner.mat-warn circle,.signalk-light .mat-spinner.mat-warn circle{stroke:#f44336}.signalk-light .mat-radio-outer-circle{border-color:#0000008a}.signalk-light .mat-radio-button.mat-primary.mat-radio-checked .mat-radio-outer-circle{border-color:#039}.signalk-light .mat-radio-button.mat-primary .mat-radio-inner-circle,.signalk-light .mat-radio-button.mat-primary .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.signalk-light .mat-radio-button.mat-primary.mat-radio-checked .mat-radio-persistent-ripple,.signalk-light .mat-radio-button.mat-primary:active .mat-radio-persistent-ripple{background-color:#039}.signalk-light .mat-radio-button.mat-accent.mat-radio-checked .mat-radio-outer-circle{border-color:#fc0}.signalk-light .mat-radio-button.mat-accent .mat-radio-inner-circle,.signalk-light .mat-radio-button.mat-accent .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.signalk-light .mat-radio-button.mat-accent.mat-radio-checked .mat-radio-persistent-ripple,.signalk-light .mat-radio-button.mat-accent:active .mat-radio-persistent-ripple{background-color:#fc0}.signalk-light .mat-radio-button.mat-warn.mat-radio-checked .mat-radio-outer-circle{border-color:#f44336}.signalk-light .mat-radio-button.mat-warn .mat-radio-inner-circle,.signalk-light .mat-radio-button.mat-warn .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.signalk-light .mat-radio-button.mat-warn.mat-radio-checked .mat-radio-persistent-ripple,.signalk-light .mat-radio-button.mat-warn:active .mat-radio-persistent-ripple{background-color:#f44336}.signalk-light .mat-radio-button.mat-radio-disabled.mat-radio-checked .mat-radio-outer-circle,.signalk-light .mat-radio-button.mat-radio-disabled .mat-radio-outer-circle{border-color:#00000061}.signalk-light .mat-radio-button.mat-radio-disabled .mat-radio-ripple .mat-ripple-element,.signalk-light .mat-radio-button.mat-radio-disabled .mat-radio-inner-circle{background-color:#00000061}.signalk-light .mat-radio-button.mat-radio-disabled .mat-radio-label-content{color:#00000061}.signalk-light .mat-radio-button .mat-ripple-element{background-color:#000}.signalk-light .mat-select-value{color:#000000de}.signalk-light .mat-select-placeholder{color:#0000006b}.signalk-light .mat-select-disabled .mat-select-value{color:#00000061}.signalk-light .mat-select-arrow{color:#0000008a}.signalk-light .mat-select-panel{background:white}.signalk-light .mat-select-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.signalk-light .mat-select-panel .mat-option.mat-selected:not(.mat-option-multiple){background:rgba(0,0,0,.12)}.signalk-light .mat-form-field.mat-focused.mat-primary .mat-select-arrow{color:#039}.signalk-light .mat-form-field.mat-focused.mat-accent .mat-select-arrow{color:#fc0}.signalk-light .mat-form-field.mat-focused.mat-warn .mat-select-arrow,.signalk-light .mat-form-field .mat-select.mat-select-invalid .mat-select-arrow{color:#f44336}.signalk-light .mat-form-field .mat-select.mat-select-disabled .mat-select-arrow{color:#00000061}.signalk-light .mat-drawer-container{background-color:#e0e7f3;color:#000000de}.signalk-light .mat-drawer{background-color:#fff;color:#000000de}.signalk-light .mat-drawer.mat-drawer-push{background-color:#fff}.signalk-light .mat-drawer:not(.mat-drawer-side){box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f}.signalk-light .mat-drawer-side{border-right:solid 1px rgba(0,0,0,.12)}.signalk-light .mat-drawer-side.mat-drawer-end,.signalk-light [dir=rtl] .mat-drawer-side{border-left:solid 1px rgba(0,0,0,.12);border-right:none}.signalk-light [dir=rtl] .mat-drawer-side.mat-drawer-end{border-left:none;border-right:solid 1px rgba(0,0,0,.12)}.signalk-light .mat-drawer-backdrop.mat-drawer-shown{background-color:#0009}.signalk-light .mat-slide-toggle.mat-checked .mat-slide-toggle-thumb{background-color:#fc0}.signalk-light .mat-slide-toggle.mat-checked .mat-slide-toggle-bar{background-color:#ffcc008a}.signalk-light .mat-slide-toggle.mat-checked .mat-ripple-element{background-color:#fc0}.signalk-light .mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-thumb{background-color:#039}.signalk-light .mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-bar{background-color:#0033998a}.signalk-light .mat-slide-toggle.mat-primary.mat-checked .mat-ripple-element{background-color:#039}.signalk-light .mat-slide-toggle.mat-warn.mat-checked .mat-slide-toggle-thumb{background-color:#f44336}.signalk-light .mat-slide-toggle.mat-warn.mat-checked .mat-slide-toggle-bar{background-color:#f443368a}.signalk-light .mat-slide-toggle.mat-warn.mat-checked .mat-ripple-element{background-color:#f44336}.signalk-light .mat-slide-toggle:not(.mat-checked) .mat-ripple-element{background-color:#000}.signalk-light .mat-slide-toggle-thumb{box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f;background-color:#fafafa}.signalk-light .mat-slide-toggle-bar{background-color:#00000061}.signalk-light .mat-slider-track-background{background-color:#00000042}.signalk-light .mat-slider.mat-primary .mat-slider-track-fill,.signalk-light .mat-slider.mat-primary .mat-slider-thumb,.signalk-light .mat-slider.mat-primary .mat-slider-thumb-label{background-color:#039}.signalk-light .mat-slider.mat-primary .mat-slider-thumb-label-text{color:#fff}.signalk-light .mat-slider.mat-primary .mat-slider-focus-ring{background-color:#0393}.signalk-light .mat-slider.mat-accent .mat-slider-track-fill,.signalk-light .mat-slider.mat-accent .mat-slider-thumb,.signalk-light .mat-slider.mat-accent .mat-slider-thumb-label{background-color:#fc0}.signalk-light .mat-slider.mat-accent .mat-slider-thumb-label-text{color:#000}.signalk-light .mat-slider.mat-accent .mat-slider-focus-ring{background-color:#fc03}.signalk-light .mat-slider.mat-warn .mat-slider-track-fill,.signalk-light .mat-slider.mat-warn .mat-slider-thumb,.signalk-light .mat-slider.mat-warn .mat-slider-thumb-label{background-color:#f44336}.signalk-light .mat-slider.mat-warn .mat-slider-thumb-label-text{color:#fff}.signalk-light .mat-slider.mat-warn .mat-slider-focus-ring{background-color:#f4433633}.signalk-light .mat-slider:hover .mat-slider-track-background,.signalk-light .mat-slider.cdk-focused .mat-slider-track-background{background-color:#00000061}.signalk-light .mat-slider.mat-slider-disabled .mat-slider-track-background,.signalk-light .mat-slider.mat-slider-disabled .mat-slider-track-fill,.signalk-light .mat-slider.mat-slider-disabled .mat-slider-thumb,.signalk-light .mat-slider.mat-slider-disabled:hover .mat-slider-track-background{background-color:#00000042}.signalk-light .mat-slider.mat-slider-min-value .mat-slider-focus-ring{background-color:#0000001f}.signalk-light .mat-slider.mat-slider-min-value.mat-slider-thumb-label-showing .mat-slider-thumb,.signalk-light .mat-slider.mat-slider-min-value.mat-slider-thumb-label-showing .mat-slider-thumb-label{background-color:#000000de}.signalk-light .mat-slider.mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb,.signalk-light .mat-slider.mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb-label{background-color:#00000042}.signalk-light .mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing) .mat-slider-thumb{border-color:#00000042;background-color:transparent}.signalk-light .mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover .mat-slider-thumb,.signalk-light .mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused .mat-slider-thumb{border-color:#00000061}.signalk-light .mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover.mat-slider-disabled .mat-slider-thumb,.signalk-light .mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused.mat-slider-disabled .mat-slider-thumb{border-color:#00000042}.signalk-light .mat-slider-has-ticks .mat-slider-wrapper:after{border-color:#000000b3}.signalk-light .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)}.signalk-light .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)}.signalk-light .mat-step-header.cdk-keyboard-focused,.signalk-light .mat-step-header.cdk-program-focused,.signalk-light .mat-step-header:hover:not([aria-disabled]),.signalk-light .mat-step-header:hover[aria-disabled=false]{background-color:#0000000a}.signalk-light .mat-step-header:hover[aria-disabled=true]{cursor:default}@media (hover: none){.signalk-light .mat-step-header:hover{background:none}}.signalk-light .mat-step-header .mat-step-label,.signalk-light .mat-step-header .mat-step-optional{color:#0000008a}.signalk-light .mat-step-header .mat-step-icon{background-color:#0000008a;color:#fff}.signalk-light .mat-step-header .mat-step-icon-selected,.signalk-light .mat-step-header .mat-step-icon-state-done,.signalk-light .mat-step-header .mat-step-icon-state-edit{background-color:#039;color:#fff}.signalk-light .mat-step-header.mat-accent .mat-step-icon{color:#000}.signalk-light .mat-step-header.mat-accent .mat-step-icon-selected,.signalk-light .mat-step-header.mat-accent .mat-step-icon-state-done,.signalk-light .mat-step-header.mat-accent .mat-step-icon-state-edit{background-color:#fc0;color:#000}.signalk-light .mat-step-header.mat-warn .mat-step-icon{color:#fff}.signalk-light .mat-step-header.mat-warn .mat-step-icon-selected,.signalk-light .mat-step-header.mat-warn .mat-step-icon-state-done,.signalk-light .mat-step-header.mat-warn .mat-step-icon-state-edit{background-color:#f44336;color:#fff}.signalk-light .mat-step-header .mat-step-icon-state-error{background-color:transparent;color:#f44336}.signalk-light .mat-step-header .mat-step-label.mat-step-label-active{color:#000000de}.signalk-light .mat-step-header .mat-step-label.mat-step-label-error{color:#f44336}.signalk-light .mat-stepper-horizontal,.signalk-light .mat-stepper-vertical{background-color:#fff}.signalk-light .mat-stepper-vertical-line:before{border-left-color:#0000001f}.signalk-light .mat-horizontal-stepper-header:before,.signalk-light .mat-horizontal-stepper-header:after,.signalk-light .mat-stepper-horizontal-line{border-top-color:#0000001f}.signalk-light .mat-sort-header-arrow{color:#757575}.signalk-light .mat-tab-nav-bar,.signalk-light .mat-tab-header{border-bottom:1px solid rgba(0,0,0,.12)}.signalk-light .mat-tab-group-inverted-header .mat-tab-nav-bar,.signalk-light .mat-tab-group-inverted-header .mat-tab-header{border-top:1px solid rgba(0,0,0,.12);border-bottom:none}.signalk-light .mat-tab-label,.signalk-light .mat-tab-link{color:#000000de}.signalk-light .mat-tab-label.mat-tab-disabled,.signalk-light .mat-tab-link.mat-tab-disabled{color:#00000061}.signalk-light .mat-tab-header-pagination-chevron{border-color:#000000de}.signalk-light .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:#00000061}.signalk-light .mat-tab-group[class*=mat-background-]>.mat-tab-header,.signalk-light .mat-tab-nav-bar[class*=mat-background-]{border-bottom:none;border-top:none}.signalk-light .mat-tab-group.mat-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.signalk-light .mat-tab-group.mat-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.signalk-light .mat-tab-group.mat-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.signalk-light .mat-tab-group.mat-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.signalk-light .mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.signalk-light .mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.signalk-light .mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.signalk-light .mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#b3c2e04d}.signalk-light .mat-tab-group.mat-primary .mat-ink-bar,.signalk-light .mat-tab-nav-bar.mat-primary .mat-ink-bar{background-color:#039}.signalk-light .mat-tab-group.mat-primary.mat-background-primary>.mat-tab-header .mat-ink-bar,.signalk-light .mat-tab-group.mat-primary.mat-background-primary>.mat-tab-link-container .mat-ink-bar,.signalk-light .mat-tab-nav-bar.mat-primary.mat-background-primary>.mat-tab-header .mat-ink-bar,.signalk-light .mat-tab-nav-bar.mat-primary.mat-background-primary>.mat-tab-link-container .mat-ink-bar{background-color:#fff}.signalk-light .mat-tab-group.mat-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.signalk-light .mat-tab-group.mat-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.signalk-light .mat-tab-group.mat-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.signalk-light .mat-tab-group.mat-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.signalk-light .mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.signalk-light .mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.signalk-light .mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.signalk-light .mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#fff0b34d}.signalk-light .mat-tab-group.mat-accent .mat-ink-bar,.signalk-light .mat-tab-nav-bar.mat-accent .mat-ink-bar{background-color:#fc0}.signalk-light .mat-tab-group.mat-accent.mat-background-accent>.mat-tab-header .mat-ink-bar,.signalk-light .mat-tab-group.mat-accent.mat-background-accent>.mat-tab-link-container .mat-ink-bar,.signalk-light .mat-tab-nav-bar.mat-accent.mat-background-accent>.mat-tab-header .mat-ink-bar,.signalk-light .mat-tab-nav-bar.mat-accent.mat-background-accent>.mat-tab-link-container .mat-ink-bar{background-color:#000}.signalk-light .mat-tab-group.mat-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.signalk-light .mat-tab-group.mat-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.signalk-light .mat-tab-group.mat-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.signalk-light .mat-tab-group.mat-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.signalk-light .mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.signalk-light .mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.signalk-light .mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.signalk-light .mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#ffcdd24d}.signalk-light .mat-tab-group.mat-warn .mat-ink-bar,.signalk-light .mat-tab-nav-bar.mat-warn .mat-ink-bar{background-color:#f44336}.signalk-light .mat-tab-group.mat-warn.mat-background-warn>.mat-tab-header .mat-ink-bar,.signalk-light .mat-tab-group.mat-warn.mat-background-warn>.mat-tab-link-container .mat-ink-bar,.signalk-light .mat-tab-nav-bar.mat-warn.mat-background-warn>.mat-tab-header .mat-ink-bar,.signalk-light .mat-tab-nav-bar.mat-warn.mat-background-warn>.mat-tab-link-container .mat-ink-bar{background-color:#fff}.signalk-light .mat-tab-group.mat-background-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.signalk-light .mat-tab-group.mat-background-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.signalk-light .mat-tab-group.mat-background-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.signalk-light .mat-tab-group.mat-background-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.signalk-light .mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.signalk-light .mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.signalk-light .mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.signalk-light .mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#b3c2e04d}.signalk-light .mat-tab-group.mat-background-primary>.mat-tab-header,.signalk-light .mat-tab-group.mat-background-primary>.mat-tab-link-container,.signalk-light .mat-tab-group.mat-background-primary>.mat-tab-header-pagination,.signalk-light .mat-tab-nav-bar.mat-background-primary>.mat-tab-header,.signalk-light .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container,.signalk-light .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination{background-color:#039}.signalk-light .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-label,.signalk-light .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-tab-link,.signalk-light .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-label,.signalk-light .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-tab-link{color:#fff}.signalk-light .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-label.mat-tab-disabled,.signalk-light .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.signalk-light .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-label.mat-tab-disabled,.signalk-light .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:#fff6}.signalk-light .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-chevron,.signalk-light .mat-tab-group.mat-background-primary>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.signalk-light .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-focus-indicator:before,.signalk-light .mat-tab-group.mat-background-primary>.mat-tab-header .mat-focus-indicator:before,.signalk-light .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-chevron,.signalk-light .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.signalk-light .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-focus-indicator:before,.signalk-light .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-focus-indicator:before{border-color:#fff}.signalk-light .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.signalk-light .mat-tab-group.mat-background-primary>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.signalk-light .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.signalk-light .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:#fff;opacity:.4}.signalk-light .mat-tab-group.mat-background-primary>.mat-tab-header .mat-ripple-element,.signalk-light .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-ripple-element,.signalk-light .mat-tab-group.mat-background-primary>.mat-tab-header-pagination .mat-ripple-element,.signalk-light .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-ripple-element,.signalk-light .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-ripple-element,.signalk-light .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination .mat-ripple-element{background-color:#fff;opacity:.12}.signalk-light .mat-tab-group.mat-background-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.signalk-light .mat-tab-group.mat-background-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.signalk-light .mat-tab-group.mat-background-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.signalk-light .mat-tab-group.mat-background-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.signalk-light .mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.signalk-light .mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.signalk-light .mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.signalk-light .mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#fff0b34d}.signalk-light .mat-tab-group.mat-background-accent>.mat-tab-header,.signalk-light .mat-tab-group.mat-background-accent>.mat-tab-link-container,.signalk-light .mat-tab-group.mat-background-accent>.mat-tab-header-pagination,.signalk-light .mat-tab-nav-bar.mat-background-accent>.mat-tab-header,.signalk-light .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container,.signalk-light .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination{background-color:#fc0}.signalk-light .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-label,.signalk-light .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-tab-link,.signalk-light .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-label,.signalk-light .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-tab-link{color:#000}.signalk-light .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-label.mat-tab-disabled,.signalk-light .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.signalk-light .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-label.mat-tab-disabled,.signalk-light .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:#0006}.signalk-light .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-chevron,.signalk-light .mat-tab-group.mat-background-accent>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.signalk-light .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-focus-indicator:before,.signalk-light .mat-tab-group.mat-background-accent>.mat-tab-header .mat-focus-indicator:before,.signalk-light .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-chevron,.signalk-light .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.signalk-light .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-focus-indicator:before,.signalk-light .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-focus-indicator:before{border-color:#000}.signalk-light .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.signalk-light .mat-tab-group.mat-background-accent>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.signalk-light .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.signalk-light .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:#000;opacity:.4}.signalk-light .mat-tab-group.mat-background-accent>.mat-tab-header .mat-ripple-element,.signalk-light .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-ripple-element,.signalk-light .mat-tab-group.mat-background-accent>.mat-tab-header-pagination .mat-ripple-element,.signalk-light .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-ripple-element,.signalk-light .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-ripple-element,.signalk-light .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination .mat-ripple-element{background-color:#000;opacity:.12}.signalk-light .mat-tab-group.mat-background-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.signalk-light .mat-tab-group.mat-background-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.signalk-light .mat-tab-group.mat-background-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.signalk-light .mat-tab-group.mat-background-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.signalk-light .mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.signalk-light .mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.signalk-light .mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.signalk-light .mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#ffcdd24d}.signalk-light .mat-tab-group.mat-background-warn>.mat-tab-header,.signalk-light .mat-tab-group.mat-background-warn>.mat-tab-link-container,.signalk-light .mat-tab-group.mat-background-warn>.mat-tab-header-pagination,.signalk-light .mat-tab-nav-bar.mat-background-warn>.mat-tab-header,.signalk-light .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container,.signalk-light .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination{background-color:#f44336}.signalk-light .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-label,.signalk-light .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-tab-link,.signalk-light .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-label,.signalk-light .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-tab-link{color:#fff}.signalk-light .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-label.mat-tab-disabled,.signalk-light .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.signalk-light .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-label.mat-tab-disabled,.signalk-light .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:#fff6}.signalk-light .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-chevron,.signalk-light .mat-tab-group.mat-background-warn>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.signalk-light .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-focus-indicator:before,.signalk-light .mat-tab-group.mat-background-warn>.mat-tab-header .mat-focus-indicator:before,.signalk-light .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-chevron,.signalk-light .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.signalk-light .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-focus-indicator:before,.signalk-light .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-focus-indicator:before{border-color:#fff}.signalk-light .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.signalk-light .mat-tab-group.mat-background-warn>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.signalk-light .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.signalk-light .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:#fff;opacity:.4}.signalk-light .mat-tab-group.mat-background-warn>.mat-tab-header .mat-ripple-element,.signalk-light .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-ripple-element,.signalk-light .mat-tab-group.mat-background-warn>.mat-tab-header-pagination .mat-ripple-element,.signalk-light .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-ripple-element,.signalk-light .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-ripple-element,.signalk-light .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination .mat-ripple-element{background-color:#fff;opacity:.12}.signalk-light .mat-toolbar{background:#b3c2e0;color:#000000de}.signalk-light .mat-toolbar.mat-primary{background:#003399;color:#fff}.signalk-light .mat-toolbar.mat-accent{background:#ffcc00;color:#000}.signalk-light .mat-toolbar.mat-warn{background:#f44336;color:#fff}.signalk-light .mat-toolbar .mat-form-field-underline,.signalk-light .mat-toolbar .mat-form-field-ripple,.signalk-light .mat-toolbar .mat-focused .mat-form-field-ripple{background-color:currentColor}.signalk-light .mat-toolbar .mat-form-field-label,.signalk-light .mat-toolbar .mat-focused .mat-form-field-label,.signalk-light .mat-toolbar .mat-select-value,.signalk-light .mat-toolbar .mat-select-arrow,.signalk-light .mat-toolbar .mat-form-field.mat-focused .mat-select-arrow{color:inherit}.signalk-light .mat-toolbar .mat-input-element{caret-color:currentColor}.signalk-light .mat-tree{background:white}.signalk-light .mat-tree-node,.signalk-light .mat-nested-tree-node{color:#000000de}.signalk-light .mat-snack-bar-container{color:#ffffffb3;background:#323232;box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.signalk-light .mat-simple-snackbar-action{color:#fc0}.signalk-light .app-defaults{background-color:#e0e7f3;color:#000000de}.signalk-light .theme-menu{background-color:#fc0}.signalk-light .menuBarButtonGroup{background-color:#0000001f}.signalk-light .tabGroups{padding-left:0;min-height:100%;height:100%}.signalk-light .tabGroupPanel{display:block;margin:10px 20px 20px}.signalk-light .formActionFooter{width:100%;text-align:end}.signalk-light .formActionButton{margin-left:10px}.signalk-light .formActionDivider{margin-top:10px;margin-bottom:10px}.signalk-light .as-split-gutter{background-color:transparent!important}.signalk-light .primary{color:#4d70b8}.signalk-light .accent{color:#ffdb4d}.signalk-light .warn{color:#e57373}.signalk-light .primaryDark{color:#00146b}.signalk-light .accentDark{color:#ffad00}.signalk-light .warnDark{color:#b71c1c}.signalk-light .background{color:#0000001f}.signalk-light .text{color:#000000de}.signalk-light .pathMetaDescription{font:small-caption;color:#00000061}.signalk-light .textGenericWrapper{position:relative;width:100%;height:100%}.signalk-light .canvas-size{position:absolute;top:0;left:0}.signalk-light .warn{color:#f44336}.signalk-light .warn-contrast{color:#fff}.signalk-light DIV.apScreen{display:block;position:relative;width:360px;height:220.5px;margin:auto;text-align:center;border-radius:5px;border:1px solid rgba(0,0,0,.12);background-color:#0000001f}.signalk-light .apScreen .apCompass{position:relative;width:360px;height:202px;margin:auto;border-radius:5px}.signalk-light .apStatusBar{width:360px;height:18.5px;border-bottom-left-radius:5px;border-bottom-right-radius:5px;background-color:#000}.signalk-light .apStatusBar,.signalk-light .apStatusBar DIV{display:inline-block;position:relative}.signalk-light .apScreen .apStencil{position:absolute;top:0;left:0;width:100%;height:100%;margin:auto;border-radius:5px;z-index:10;vertical-align:middle;background-color:#e0e7f3}.signalk-light .apStencil.confirmCommand{z-index:5;visibility:hidden}.signalk-light .apStencil.error{z-index:6;visibility:hidden}.signalk-light .apText{fill:#000000de}.signalk-light .boatBackground{stop-color:#c7c7c7!important}.signalk-light .heading-background{stroke:#000;fill:#afafaf}.signalk-light .wind-text{fill:#000;stroke:#000}.signalk-light .laylines{stroke:#000000de}.signalk-light .wind-sector-port{fill:red}.signalk-light .wind-sector-stbd{fill:#1fce04}.signalk-light .compass-outer-ring{stroke:#757575}.signalk-light .compass-inner-ring{stroke:#afafaf;fill:#afafaf}.signalk-light .wind-rose-background{stroke:#8a8a8a}.signalk-light .sailSetupBoat{stroke:#afafaf}.signalk-light .sailSetupFull{fill:#4d70b8}.signalk-light .sailSetupReef1{fill:#ffdb4d}.signalk-light .sailSetupReef2{fill:#e57373}.signalk-light .sailSetupReef3{fill:#f44336}.signalk-light .port{stroke:red}.signalk-light .starboard{stroke:#1fce04}.signalk-light .rudderPort{fill:#d52626}.signalk-light .rudderStarboard{fill:#389c19}.signalk-light .true-wind{fill:#068dfb}.signalk-light .app-wind{fill:#06fb06}.signalk-light .simpleLinear-text{fill:#000000de}.signalk-light .windWrapper{position:relative;width:100%;height:100%}.signalk-light .matBadge{z-index:1000}.signalk-light .mute-unmte-alarm{width:max-content}.signalk-light .alarmWarning{animation:blinkingAlarmWarning 1.5s infinite;background-color:orange!important}.signalk-light .alarmCrit{animation:blinkingAlarmCrit .25s infinite}.signalk-light .muteSoundButton:hover{background:rgba(255,255,255,.04)}.signalk-light .serverStatus{background-color:#0000001f;margin:7% 5% 0%;padding:10px 20px 20px}.signalk-light .descriptiveTexts{color:#000000de;font-size:14px}.signalk-light .flex-item{flex:1 1 29%;background-color:#0000001f;padding:20px;border-radius:4px}.signalk-light .flex-item-copy{flex:2 1 40%;background-color:#0000001f;padding:10px 20px;border-radius:4px}.high-contrast-light .mat-ripple-element{background-color:#0000001a}.high-contrast-light .mat-option{color:#000000de}.high-contrast-light .mat-option:hover:not(.mat-option-disabled),.high-contrast-light .mat-option:focus:not(.mat-option-disabled){background:rgba(0,0,0,.04)}.high-contrast-light .mat-option.mat-selected:not(.mat-option-multiple):not(.mat-option-disabled){background:rgba(0,0,0,.04)}.high-contrast-light .mat-option.mat-active{background:rgba(0,0,0,.04);color:#000000de}.high-contrast-light .mat-option.mat-option-disabled{color:#00000061}.high-contrast-light .mat-primary .mat-option.mat-selected:not(.mat-option-disabled){color:#9e9e9e}.high-contrast-light .mat-accent .mat-option.mat-selected:not(.mat-option-disabled){color:#eee}.high-contrast-light .mat-warn .mat-option.mat-selected:not(.mat-option-disabled){color:#f44336}.high-contrast-light .mat-optgroup-label{color:#0000008a}.high-contrast-light .mat-optgroup-disabled .mat-optgroup-label{color:#00000061}.high-contrast-light .mat-pseudo-checkbox{color:#0000008a}.high-contrast-light .mat-pseudo-checkbox:after{color:#fafafa}.high-contrast-light .mat-pseudo-checkbox-disabled{color:#b0b0b0}.high-contrast-light .mat-primary .mat-pseudo-checkbox-checked,.high-contrast-light .mat-primary .mat-pseudo-checkbox-indeterminate{background:#9e9e9e}.high-contrast-light .mat-pseudo-checkbox-checked,.high-contrast-light .mat-pseudo-checkbox-indeterminate,.high-contrast-light .mat-accent .mat-pseudo-checkbox-checked,.high-contrast-light .mat-accent .mat-pseudo-checkbox-indeterminate{background:#eeeeee}.high-contrast-light .mat-warn .mat-pseudo-checkbox-checked,.high-contrast-light .mat-warn .mat-pseudo-checkbox-indeterminate{background:#f44336}.high-contrast-light .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.high-contrast-light .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background:#b0b0b0}.high-contrast-light .mat-app-background,.high-contrast-light.mat-app-background{background-color:#fafafa;color:#000000de}.high-contrast-light .mat-elevation-z0{box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.high-contrast-light .mat-elevation-z1{box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f}.high-contrast-light .mat-elevation-z2{box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.high-contrast-light .mat-elevation-z3{box-shadow:0 3px 3px -2px #0003,0 3px 4px #00000024,0 1px 8px #0000001f}.high-contrast-light .mat-elevation-z4{box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.high-contrast-light .mat-elevation-z5{box-shadow:0 3px 5px -1px #0003,0 5px 8px #00000024,0 1px 14px #0000001f}.high-contrast-light .mat-elevation-z6{box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.high-contrast-light .mat-elevation-z7{box-shadow:0 4px 5px -2px #0003,0 7px 10px 1px #00000024,0 2px 16px 1px #0000001f}.high-contrast-light .mat-elevation-z8{box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.high-contrast-light .mat-elevation-z9{box-shadow:0 5px 6px -3px #0003,0 9px 12px 1px #00000024,0 3px 16px 2px #0000001f}.high-contrast-light .mat-elevation-z10{box-shadow:0 6px 6px -3px #0003,0 10px 14px 1px #00000024,0 4px 18px 3px #0000001f}.high-contrast-light .mat-elevation-z11{box-shadow:0 6px 7px -4px #0003,0 11px 15px 1px #00000024,0 4px 20px 3px #0000001f}.high-contrast-light .mat-elevation-z12{box-shadow:0 7px 8px -4px #0003,0 12px 17px 2px #00000024,0 5px 22px 4px #0000001f}.high-contrast-light .mat-elevation-z13{box-shadow:0 7px 8px -4px #0003,0 13px 19px 2px #00000024,0 5px 24px 4px #0000001f}.high-contrast-light .mat-elevation-z14{box-shadow:0 7px 9px -4px #0003,0 14px 21px 2px #00000024,0 5px 26px 4px #0000001f}.high-contrast-light .mat-elevation-z15{box-shadow:0 8px 9px -5px #0003,0 15px 22px 2px #00000024,0 6px 28px 5px #0000001f}.high-contrast-light .mat-elevation-z16{box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f}.high-contrast-light .mat-elevation-z17{box-shadow:0 8px 11px -5px #0003,0 17px 26px 2px #00000024,0 6px 32px 5px #0000001f}.high-contrast-light .mat-elevation-z18{box-shadow:0 9px 11px -5px #0003,0 18px 28px 2px #00000024,0 7px 34px 6px #0000001f}.high-contrast-light .mat-elevation-z19{box-shadow:0 9px 12px -6px #0003,0 19px 29px 2px #00000024,0 7px 36px 6px #0000001f}.high-contrast-light .mat-elevation-z20{box-shadow:0 10px 13px -6px #0003,0 20px 31px 3px #00000024,0 8px 38px 7px #0000001f}.high-contrast-light .mat-elevation-z21{box-shadow:0 10px 13px -6px #0003,0 21px 33px 3px #00000024,0 8px 40px 7px #0000001f}.high-contrast-light .mat-elevation-z22{box-shadow:0 10px 14px -6px #0003,0 22px 35px 3px #00000024,0 8px 42px 7px #0000001f}.high-contrast-light .mat-elevation-z23{box-shadow:0 11px 14px -7px #0003,0 23px 36px 3px #00000024,0 9px 44px 8px #0000001f}.high-contrast-light .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}.high-contrast-light .mat-autocomplete-panel{background:white;color:#000000de}.high-contrast-light .mat-autocomplete-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.high-contrast-light .mat-autocomplete-panel .mat-option.mat-selected:not(.mat-active):not(:hover){background:white}.high-contrast-light .mat-autocomplete-panel .mat-option.mat-selected:not(.mat-active):not(:hover):not(.mat-option-disabled){color:#000000de}.high-contrast-light .mat-badge-content{color:#000000de;background:#9e9e9e}.cdk-high-contrast-active .high-contrast-light .mat-badge-content{outline:solid 1px;border-radius:0}.high-contrast-light .mat-badge-accent .mat-badge-content{background:#eeeeee;color:#000000de}.high-contrast-light .mat-badge-warn .mat-badge-content{color:#fff;background:#f44336}.high-contrast-light .mat-badge-disabled .mat-badge-content{background:#b9b9b9;color:#00000061}.high-contrast-light .mat-bottom-sheet-container{box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f;background:white;color:#000000de}.high-contrast-light .mat-button,.high-contrast-light .mat-icon-button,.high-contrast-light .mat-stroked-button{color:inherit;background:transparent}.high-contrast-light .mat-button.mat-primary,.high-contrast-light .mat-icon-button.mat-primary,.high-contrast-light .mat-stroked-button.mat-primary{color:#9e9e9e}.high-contrast-light .mat-button.mat-accent,.high-contrast-light .mat-icon-button.mat-accent,.high-contrast-light .mat-stroked-button.mat-accent{color:#eee}.high-contrast-light .mat-button.mat-warn,.high-contrast-light .mat-icon-button.mat-warn,.high-contrast-light .mat-stroked-button.mat-warn{color:#f44336}.high-contrast-light .mat-button.mat-primary.mat-button-disabled,.high-contrast-light .mat-button.mat-accent.mat-button-disabled,.high-contrast-light .mat-button.mat-warn.mat-button-disabled,.high-contrast-light .mat-button.mat-button-disabled.mat-button-disabled,.high-contrast-light .mat-icon-button.mat-primary.mat-button-disabled,.high-contrast-light .mat-icon-button.mat-accent.mat-button-disabled,.high-contrast-light .mat-icon-button.mat-warn.mat-button-disabled,.high-contrast-light .mat-icon-button.mat-button-disabled.mat-button-disabled,.high-contrast-light .mat-stroked-button.mat-primary.mat-button-disabled,.high-contrast-light .mat-stroked-button.mat-accent.mat-button-disabled,.high-contrast-light .mat-stroked-button.mat-warn.mat-button-disabled,.high-contrast-light .mat-stroked-button.mat-button-disabled.mat-button-disabled{color:#00000042}.high-contrast-light .mat-button.mat-primary .mat-button-focus-overlay,.high-contrast-light .mat-icon-button.mat-primary .mat-button-focus-overlay,.high-contrast-light .mat-stroked-button.mat-primary .mat-button-focus-overlay{background-color:#9e9e9e}.high-contrast-light .mat-button.mat-accent .mat-button-focus-overlay,.high-contrast-light .mat-icon-button.mat-accent .mat-button-focus-overlay,.high-contrast-light .mat-stroked-button.mat-accent .mat-button-focus-overlay{background-color:#eee}.high-contrast-light .mat-button.mat-warn .mat-button-focus-overlay,.high-contrast-light .mat-icon-button.mat-warn .mat-button-focus-overlay,.high-contrast-light .mat-stroked-button.mat-warn .mat-button-focus-overlay{background-color:#f44336}.high-contrast-light .mat-button.mat-button-disabled .mat-button-focus-overlay,.high-contrast-light .mat-icon-button.mat-button-disabled .mat-button-focus-overlay,.high-contrast-light .mat-stroked-button.mat-button-disabled .mat-button-focus-overlay{background-color:transparent}.high-contrast-light .mat-button .mat-ripple-element,.high-contrast-light .mat-icon-button .mat-ripple-element,.high-contrast-light .mat-stroked-button .mat-ripple-element{opacity:.1;background-color:currentColor}.high-contrast-light .mat-button-focus-overlay{background:black}.high-contrast-light .mat-stroked-button:not(.mat-button-disabled){border-color:#0000001f}.high-contrast-light .mat-flat-button,.high-contrast-light .mat-raised-button,.high-contrast-light .mat-fab,.high-contrast-light .mat-mini-fab{color:#000000de;background-color:#fff}.high-contrast-light .mat-flat-button.mat-primary,.high-contrast-light .mat-raised-button.mat-primary,.high-contrast-light .mat-fab.mat-primary,.high-contrast-light .mat-mini-fab.mat-primary,.high-contrast-light .mat-flat-button.mat-accent,.high-contrast-light .mat-raised-button.mat-accent,.high-contrast-light .mat-fab.mat-accent,.high-contrast-light .mat-mini-fab.mat-accent{color:#000000de}.high-contrast-light .mat-flat-button.mat-warn,.high-contrast-light .mat-raised-button.mat-warn,.high-contrast-light .mat-fab.mat-warn,.high-contrast-light .mat-mini-fab.mat-warn{color:#fff}.high-contrast-light .mat-flat-button.mat-primary.mat-button-disabled,.high-contrast-light .mat-flat-button.mat-accent.mat-button-disabled,.high-contrast-light .mat-flat-button.mat-warn.mat-button-disabled,.high-contrast-light .mat-flat-button.mat-button-disabled.mat-button-disabled,.high-contrast-light .mat-raised-button.mat-primary.mat-button-disabled,.high-contrast-light .mat-raised-button.mat-accent.mat-button-disabled,.high-contrast-light .mat-raised-button.mat-warn.mat-button-disabled,.high-contrast-light .mat-raised-button.mat-button-disabled.mat-button-disabled,.high-contrast-light .mat-fab.mat-primary.mat-button-disabled,.high-contrast-light .mat-fab.mat-accent.mat-button-disabled,.high-contrast-light .mat-fab.mat-warn.mat-button-disabled,.high-contrast-light .mat-fab.mat-button-disabled.mat-button-disabled,.high-contrast-light .mat-mini-fab.mat-primary.mat-button-disabled,.high-contrast-light .mat-mini-fab.mat-accent.mat-button-disabled,.high-contrast-light .mat-mini-fab.mat-warn.mat-button-disabled,.high-contrast-light .mat-mini-fab.mat-button-disabled.mat-button-disabled{color:#00000042}.high-contrast-light .mat-flat-button.mat-primary,.high-contrast-light .mat-raised-button.mat-primary,.high-contrast-light .mat-fab.mat-primary,.high-contrast-light .mat-mini-fab.mat-primary{background-color:#9e9e9e}.high-contrast-light .mat-flat-button.mat-accent,.high-contrast-light .mat-raised-button.mat-accent,.high-contrast-light .mat-fab.mat-accent,.high-contrast-light .mat-mini-fab.mat-accent{background-color:#eee}.high-contrast-light .mat-flat-button.mat-warn,.high-contrast-light .mat-raised-button.mat-warn,.high-contrast-light .mat-fab.mat-warn,.high-contrast-light .mat-mini-fab.mat-warn{background-color:#f44336}.high-contrast-light .mat-flat-button.mat-primary.mat-button-disabled,.high-contrast-light .mat-flat-button.mat-accent.mat-button-disabled,.high-contrast-light .mat-flat-button.mat-warn.mat-button-disabled,.high-contrast-light .mat-flat-button.mat-button-disabled.mat-button-disabled,.high-contrast-light .mat-raised-button.mat-primary.mat-button-disabled,.high-contrast-light .mat-raised-button.mat-accent.mat-button-disabled,.high-contrast-light .mat-raised-button.mat-warn.mat-button-disabled,.high-contrast-light .mat-raised-button.mat-button-disabled.mat-button-disabled,.high-contrast-light .mat-fab.mat-primary.mat-button-disabled,.high-contrast-light .mat-fab.mat-accent.mat-button-disabled,.high-contrast-light .mat-fab.mat-warn.mat-button-disabled,.high-contrast-light .mat-fab.mat-button-disabled.mat-button-disabled,.high-contrast-light .mat-mini-fab.mat-primary.mat-button-disabled,.high-contrast-light .mat-mini-fab.mat-accent.mat-button-disabled,.high-contrast-light .mat-mini-fab.mat-warn.mat-button-disabled,.high-contrast-light .mat-mini-fab.mat-button-disabled.mat-button-disabled{background-color:#0000001f}.high-contrast-light .mat-flat-button.mat-primary .mat-ripple-element,.high-contrast-light .mat-raised-button.mat-primary .mat-ripple-element,.high-contrast-light .mat-fab.mat-primary .mat-ripple-element,.high-contrast-light .mat-mini-fab.mat-primary .mat-ripple-element,.high-contrast-light .mat-flat-button.mat-accent .mat-ripple-element,.high-contrast-light .mat-raised-button.mat-accent .mat-ripple-element,.high-contrast-light .mat-fab.mat-accent .mat-ripple-element,.high-contrast-light .mat-mini-fab.mat-accent .mat-ripple-element{background-color:#0000001a}.high-contrast-light .mat-flat-button.mat-warn .mat-ripple-element,.high-contrast-light .mat-raised-button.mat-warn .mat-ripple-element,.high-contrast-light .mat-fab.mat-warn .mat-ripple-element,.high-contrast-light .mat-mini-fab.mat-warn .mat-ripple-element{background-color:#ffffff1a}.high-contrast-light .mat-stroked-button:not([class*=mat-elevation-z]),.high-contrast-light .mat-flat-button:not([class*=mat-elevation-z]){box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.high-contrast-light .mat-raised-button:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.high-contrast-light .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}.high-contrast-light .mat-raised-button.mat-button-disabled:not([class*=mat-elevation-z]){box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.high-contrast-light .mat-fab:not([class*=mat-elevation-z]),.high-contrast-light .mat-mini-fab:not([class*=mat-elevation-z]){box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.high-contrast-light .mat-fab:not(.mat-button-disabled):active:not([class*=mat-elevation-z]),.high-contrast-light .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}.high-contrast-light .mat-fab.mat-button-disabled:not([class*=mat-elevation-z]),.high-contrast-light .mat-mini-fab.mat-button-disabled:not([class*=mat-elevation-z]){box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.high-contrast-light .mat-button-toggle-standalone:not([class*=mat-elevation-z]),.high-contrast-light .mat-button-toggle-group:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.high-contrast-light .mat-button-toggle-standalone.mat-button-toggle-appearance-standard:not([class*=mat-elevation-z]),.high-contrast-light .mat-button-toggle-group-appearance-standard:not([class*=mat-elevation-z]){box-shadow:none}.high-contrast-light .mat-button-toggle{color:#00000061}.high-contrast-light .mat-button-toggle .mat-button-toggle-focus-overlay{background-color:#0000001f}.high-contrast-light .mat-button-toggle-appearance-standard{color:#000000de;background:white}.high-contrast-light .mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{background-color:#000}.high-contrast-light .mat-button-toggle-group-appearance-standard .mat-button-toggle+.mat-button-toggle{border-left:solid 1px #e0e0e0}.high-contrast-light [dir=rtl] .mat-button-toggle-group-appearance-standard .mat-button-toggle+.mat-button-toggle{border-left:none;border-right:solid 1px #e0e0e0}.high-contrast-light .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}.high-contrast-light .mat-button-toggle-checked{background-color:#e0e0e0;color:#0000008a}.high-contrast-light .mat-button-toggle-checked.mat-button-toggle-appearance-standard{color:#000000de}.high-contrast-light .mat-button-toggle-disabled{color:#00000042;background-color:#eee}.high-contrast-light .mat-button-toggle-disabled.mat-button-toggle-appearance-standard{background:white}.high-contrast-light .mat-button-toggle-disabled.mat-button-toggle-checked{background-color:#bdbdbd}.high-contrast-light .mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.high-contrast-light .mat-button-toggle-group-appearance-standard{border:solid 1px #e0e0e0}.high-contrast-light .mat-card{background:white;color:#000000de}.high-contrast-light .mat-card:not([class*=mat-elevation-z]){box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f}.high-contrast-light .mat-card.mat-card-flat:not([class*=mat-elevation-z]){box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.high-contrast-light .mat-card-subtitle{color:#0000008a}.high-contrast-light .mat-checkbox-frame{border-color:#0000008a}.high-contrast-light .mat-checkbox-checkmark{fill:#fafafa}.high-contrast-light .mat-checkbox-checkmark-path{stroke:#fafafa!important}.high-contrast-light .mat-checkbox-mixedmark{background-color:#fafafa}.high-contrast-light .mat-checkbox-indeterminate.mat-primary .mat-checkbox-background,.high-contrast-light .mat-checkbox-checked.mat-primary .mat-checkbox-background{background-color:#9e9e9e}.high-contrast-light .mat-checkbox-indeterminate.mat-accent .mat-checkbox-background,.high-contrast-light .mat-checkbox-checked.mat-accent .mat-checkbox-background{background-color:#eee}.high-contrast-light .mat-checkbox-indeterminate.mat-warn .mat-checkbox-background,.high-contrast-light .mat-checkbox-checked.mat-warn .mat-checkbox-background{background-color:#f44336}.high-contrast-light .mat-checkbox-disabled.mat-checkbox-checked .mat-checkbox-background,.high-contrast-light .mat-checkbox-disabled.mat-checkbox-indeterminate .mat-checkbox-background{background-color:#b0b0b0}.high-contrast-light .mat-checkbox-disabled:not(.mat-checkbox-checked) .mat-checkbox-frame{border-color:#b0b0b0}.high-contrast-light .mat-checkbox-disabled .mat-checkbox-label{color:#00000061}.high-contrast-light .mat-checkbox .mat-ripple-element{background-color:#000}.high-contrast-light .mat-checkbox-checked:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element,.high-contrast-light .mat-checkbox:active:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element{background:#9e9e9e}.high-contrast-light .mat-checkbox-checked:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element,.high-contrast-light .mat-checkbox:active:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element{background:#eeeeee}.high-contrast-light .mat-checkbox-checked:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element,.high-contrast-light .mat-checkbox:active:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element{background:#f44336}.high-contrast-light .mat-chip.mat-standard-chip{background-color:#e0e0e0;color:#000000de}.high-contrast-light .mat-chip.mat-standard-chip .mat-chip-remove{color:#000000de;opacity:.4}.high-contrast-light .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}.high-contrast-light .mat-chip.mat-standard-chip:not(.mat-chip-disabled) .mat-chip-remove:hover{opacity:.54}.high-contrast-light .mat-chip.mat-standard-chip.mat-chip-disabled{opacity:.4}.high-contrast-light .mat-chip.mat-standard-chip:after{background:black}.high-contrast-light .mat-chip.mat-standard-chip.mat-chip-selected.mat-primary{background-color:#9e9e9e;color:#000000de}.high-contrast-light .mat-chip.mat-standard-chip.mat-chip-selected.mat-primary .mat-chip-remove{color:#000000de;opacity:.4}.high-contrast-light .mat-chip.mat-standard-chip.mat-chip-selected.mat-primary .mat-ripple-element{background-color:#0000001a}.high-contrast-light .mat-chip.mat-standard-chip.mat-chip-selected.mat-warn{background-color:#f44336;color:#fff}.high-contrast-light .mat-chip.mat-standard-chip.mat-chip-selected.mat-warn .mat-chip-remove{color:#fff;opacity:.4}.high-contrast-light .mat-chip.mat-standard-chip.mat-chip-selected.mat-warn .mat-ripple-element{background-color:#ffffff1a}.high-contrast-light .mat-chip.mat-standard-chip.mat-chip-selected.mat-accent{background-color:#eee;color:#000000de}.high-contrast-light .mat-chip.mat-standard-chip.mat-chip-selected.mat-accent .mat-chip-remove{color:#000000de;opacity:.4}.high-contrast-light .mat-chip.mat-standard-chip.mat-chip-selected.mat-accent .mat-ripple-element{background-color:#0000001a}.high-contrast-light .mat-table{background:white}.high-contrast-light .mat-table thead,.high-contrast-light .mat-table tbody,.high-contrast-light .mat-table tfoot,.high-contrast-light mat-header-row,.high-contrast-light mat-row,.high-contrast-light mat-footer-row,.high-contrast-light [mat-header-row],.high-contrast-light [mat-row],.high-contrast-light [mat-footer-row],.high-contrast-light .mat-table-sticky{background:inherit}.high-contrast-light mat-row,.high-contrast-light mat-header-row,.high-contrast-light mat-footer-row,.high-contrast-light th.mat-header-cell,.high-contrast-light td.mat-cell,.high-contrast-light td.mat-footer-cell{border-bottom-color:#0000001f}.high-contrast-light .mat-header-cell{color:#0000008a}.high-contrast-light .mat-cell,.high-contrast-light .mat-footer-cell{color:#000000de}.high-contrast-light .mat-calendar-arrow{fill:#0000008a}.high-contrast-light .mat-datepicker-toggle,.high-contrast-light .mat-datepicker-content .mat-calendar-next-button,.high-contrast-light .mat-datepicker-content .mat-calendar-previous-button{color:#0000008a}.high-contrast-light .mat-calendar-table-header-divider:after{background:rgba(0,0,0,.12)}.high-contrast-light .mat-calendar-table-header,.high-contrast-light .mat-calendar-body-label{color:#0000008a}.high-contrast-light .mat-calendar-body-cell-content,.high-contrast-light .mat-date-range-input-separator{color:#000000de;border-color:transparent}.high-contrast-light .mat-calendar-body-disabled>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){color:#00000061}.high-contrast-light .mat-form-field-disabled .mat-date-range-input-separator{color:#00000061}.high-contrast-light .mat-calendar-body-in-preview{color:#0000003d}.high-contrast-light .mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:#00000061}.high-contrast-light .mat-calendar-body-disabled>.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:#0000002e}.high-contrast-light .mat-calendar-body-in-range:before{background:rgba(158,158,158,.2)}.high-contrast-light .mat-calendar-body-comparison-identical,.high-contrast-light .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.high-contrast-light .mat-calendar-body-comparison-bridge-start:before,.high-contrast-light [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(to right,rgba(158,158,158,.2) 50%,rgba(249,171,0,.2) 50%)}.high-contrast-light .mat-calendar-body-comparison-bridge-end:before,.high-contrast-light [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(to left,rgba(158,158,158,.2) 50%,rgba(249,171,0,.2) 50%)}.high-contrast-light .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.high-contrast-light .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after{background:#a8dab5}.high-contrast-light .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.high-contrast-light .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.high-contrast-light .mat-calendar-body-selected{background-color:#9e9e9e;color:#000000de}.high-contrast-light .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:#9e9e9e66}.high-contrast-light .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #000000de}.high-contrast-light .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.high-contrast-light .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:#9e9e9e4d}@media (hover: hover){.high-contrast-light .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:#9e9e9e4d}}.high-contrast-light .mat-datepicker-content{box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f;background-color:#fff;color:#000000de}.high-contrast-light .mat-datepicker-content.mat-accent .mat-calendar-body-in-range:before{background:rgba(238,238,238,.2)}.high-contrast-light .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-identical,.high-contrast-light .mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.high-contrast-light .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-bridge-start:before,.high-contrast-light .mat-datepicker-content.mat-accent [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(to right,rgba(238,238,238,.2) 50%,rgba(249,171,0,.2) 50%)}.high-contrast-light .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-bridge-end:before,.high-contrast-light .mat-datepicker-content.mat-accent [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(to left,rgba(238,238,238,.2) 50%,rgba(249,171,0,.2) 50%)}.high-contrast-light .mat-datepicker-content.mat-accent .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.high-contrast-light .mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after{background:#a8dab5}.high-contrast-light .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.high-contrast-light .mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.high-contrast-light .mat-datepicker-content.mat-accent .mat-calendar-body-selected{background-color:#eee;color:#000000de}.high-contrast-light .mat-datepicker-content.mat-accent .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:#eee6}.high-contrast-light .mat-datepicker-content.mat-accent .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #000000de}.high-contrast-light .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),.high-contrast-light .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:#eeeeee4d}@media (hover: hover){.high-contrast-light .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:#eeeeee4d}}.high-contrast-light .mat-datepicker-content.mat-warn .mat-calendar-body-in-range:before{background:rgba(244,67,54,.2)}.high-contrast-light .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-identical,.high-contrast-light .mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.high-contrast-light .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-bridge-start:before,.high-contrast-light .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%)}.high-contrast-light .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-bridge-end:before,.high-contrast-light .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%)}.high-contrast-light .mat-datepicker-content.mat-warn .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.high-contrast-light .mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after{background:#a8dab5}.high-contrast-light .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.high-contrast-light .mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.high-contrast-light .mat-datepicker-content.mat-warn .mat-calendar-body-selected{background-color:#f44336;color:#fff}.high-contrast-light .mat-datepicker-content.mat-warn .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:#f4433666}.high-contrast-light .mat-datepicker-content.mat-warn .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.high-contrast-light .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),.high-contrast-light .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){.high-contrast-light .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}}.high-contrast-light .mat-datepicker-content-touch{box-shadow:0 11px 15px -7px #0003,0 24px 38px 3px #00000024,0 9px 46px 8px #0000001f}.high-contrast-light .mat-datepicker-toggle-active{color:#9e9e9e}.high-contrast-light .mat-datepicker-toggle-active.mat-accent{color:#eee}.high-contrast-light .mat-datepicker-toggle-active.mat-warn{color:#f44336}.high-contrast-light .mat-date-range-input-inner[disabled]{color:#00000061}.high-contrast-light .mat-dialog-container{box-shadow:0 11px 15px -7px #0003,0 24px 38px 3px #00000024,0 9px 46px 8px #0000001f;background:white;color:#000000de}.high-contrast-light .mat-divider{border-top-color:#0000001f}.high-contrast-light .mat-divider-vertical{border-right-color:#0000001f}.high-contrast-light .mat-expansion-panel{background:white;color:#000000de}.high-contrast-light .mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.high-contrast-light .mat-action-row{border-top-color:#0000001f}.high-contrast-light .mat-expansion-panel .mat-expansion-panel-header.cdk-keyboard-focused:not([aria-disabled=true]),.high-contrast-light .mat-expansion-panel .mat-expansion-panel-header.cdk-program-focused:not([aria-disabled=true]),.high-contrast-light .mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:hover:not([aria-disabled=true]){background:rgba(0,0,0,.04)}@media (hover: none){.high-contrast-light .mat-expansion-panel:not(.mat-expanded):not([aria-disabled=true]) .mat-expansion-panel-header:hover{background:white}}.high-contrast-light .mat-expansion-panel-header-title{color:#000000de}.high-contrast-light .mat-expansion-panel-header-description,.high-contrast-light .mat-expansion-indicator:after{color:#0000008a}.high-contrast-light .mat-expansion-panel-header[aria-disabled=true]{color:#00000042}.high-contrast-light .mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-title,.high-contrast-light .mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-description{color:inherit}.high-contrast-light .mat-form-field-label,.high-contrast-light .mat-hint{color:#0009}.high-contrast-light .mat-form-field.mat-focused .mat-form-field-label{color:#9e9e9e}.high-contrast-light .mat-form-field.mat-focused .mat-form-field-label.mat-accent{color:#eee}.high-contrast-light .mat-form-field.mat-focused .mat-form-field-label.mat-warn{color:#f44336}.high-contrast-light .mat-focused .mat-form-field-required-marker{color:#eee}.high-contrast-light .mat-form-field-ripple{background-color:#000000de}.high-contrast-light .mat-form-field.mat-focused .mat-form-field-ripple{background-color:#9e9e9e}.high-contrast-light .mat-form-field.mat-focused .mat-form-field-ripple.mat-accent{background-color:#eee}.high-contrast-light .mat-form-field.mat-focused .mat-form-field-ripple.mat-warn{background-color:#f44336}.high-contrast-light .mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid) .mat-form-field-infix:after{color:#9e9e9e}.high-contrast-light .mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid).mat-accent .mat-form-field-infix:after{color:#eee}.high-contrast-light .mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid).mat-warn .mat-form-field-infix:after{color:#f44336}.high-contrast-light .mat-form-field.mat-form-field-invalid .mat-form-field-label,.high-contrast-light .mat-form-field.mat-form-field-invalid .mat-form-field-label.mat-accent,.high-contrast-light .mat-form-field.mat-form-field-invalid .mat-form-field-label .mat-form-field-required-marker{color:#f44336}.high-contrast-light .mat-form-field.mat-form-field-invalid .mat-form-field-ripple,.high-contrast-light .mat-form-field.mat-form-field-invalid .mat-form-field-ripple.mat-accent{background-color:#f44336}.high-contrast-light .mat-error{color:#f44336}.high-contrast-light .mat-form-field-appearance-legacy .mat-form-field-label,.high-contrast-light .mat-form-field-appearance-legacy .mat-hint{color:#0000008a}.high-contrast-light .mat-form-field-appearance-legacy .mat-form-field-underline{background-color:#0000006b}.high-contrast-light .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}.high-contrast-light .mat-form-field-appearance-standard .mat-form-field-underline{background-color:#0000006b}.high-contrast-light .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}.high-contrast-light .mat-form-field-appearance-fill .mat-form-field-flex{background-color:#0000000a}.high-contrast-light .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-flex{background-color:#00000005}.high-contrast-light .mat-form-field-appearance-fill .mat-form-field-underline:before{background-color:#0000006b}.high-contrast-light .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-label{color:#00000061}.high-contrast-light .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-underline:before{background-color:transparent}.high-contrast-light .mat-form-field-appearance-outline .mat-form-field-outline{color:#0000001f}.high-contrast-light .mat-form-field-appearance-outline .mat-form-field-outline-thick{color:#000000de}.high-contrast-light .mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick{color:#9e9e9e}.high-contrast-light .mat-form-field-appearance-outline.mat-focused.mat-accent .mat-form-field-outline-thick{color:#eee}.high-contrast-light .mat-form-field-appearance-outline.mat-focused.mat-warn .mat-form-field-outline-thick,.high-contrast-light .mat-form-field-appearance-outline.mat-form-field-invalid.mat-form-field-invalid .mat-form-field-outline-thick{color:#f44336}.high-contrast-light .mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-label{color:#00000061}.high-contrast-light .mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-outline{color:#0000000f}.high-contrast-light .mat-icon.mat-primary{color:#9e9e9e}.high-contrast-light .mat-icon.mat-accent{color:#eee}.high-contrast-light .mat-icon.mat-warn{color:#f44336}.high-contrast-light .mat-form-field-type-mat-native-select .mat-form-field-infix:after{color:#0000008a}.high-contrast-light .mat-input-element:disabled,.high-contrast-light .mat-form-field-type-mat-native-select.mat-form-field-disabled .mat-form-field-infix:after{color:#00000061}.high-contrast-light .mat-input-element{caret-color:#9e9e9e}.high-contrast-light .mat-input-element::placeholder{color:#0000006b}.high-contrast-light .mat-input-element::-moz-placeholder{color:#0000006b}.high-contrast-light .mat-input-element::-webkit-input-placeholder{color:#0000006b}.high-contrast-light .mat-input-element:-ms-input-placeholder{color:#0000006b}.high-contrast-light .mat-form-field.mat-accent .mat-input-element{caret-color:#eee}.high-contrast-light .mat-form-field.mat-warn .mat-input-element,.high-contrast-light .mat-form-field-invalid .mat-input-element{caret-color:#f44336}.high-contrast-light .mat-form-field-type-mat-native-select.mat-form-field-invalid .mat-form-field-infix:after{color:#f44336}.high-contrast-light .mat-list-base .mat-list-item,.high-contrast-light .mat-list-base .mat-list-option{color:#000000de}.high-contrast-light .mat-list-base .mat-subheader{color:#0000008a}.high-contrast-light .mat-list-base .mat-list-item-disabled{background-color:#eee;color:#00000061}.high-contrast-light .mat-list-option:hover,.high-contrast-light .mat-list-option:focus,.high-contrast-light .mat-nav-list .mat-list-item:hover,.high-contrast-light .mat-nav-list .mat-list-item:focus,.high-contrast-light .mat-action-list .mat-list-item:hover,.high-contrast-light .mat-action-list .mat-list-item:focus{background:rgba(0,0,0,.04)}.high-contrast-light .mat-list-single-selected-option,.high-contrast-light .mat-list-single-selected-option:hover,.high-contrast-light .mat-list-single-selected-option:focus{background:rgba(0,0,0,.12)}.high-contrast-light .mat-menu-panel{background:white}.high-contrast-light .mat-menu-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.high-contrast-light .mat-menu-item{background:transparent;color:#000000de}.high-contrast-light .mat-menu-item[disabled],.high-contrast-light .mat-menu-item[disabled] .mat-menu-submenu-icon,.high-contrast-light .mat-menu-item[disabled] .mat-icon-no-color{color:#00000061}.high-contrast-light .mat-menu-item .mat-icon-no-color,.high-contrast-light .mat-menu-submenu-icon{color:#0000008a}.high-contrast-light .mat-menu-item:hover:not([disabled]),.high-contrast-light .mat-menu-item.cdk-program-focused:not([disabled]),.high-contrast-light .mat-menu-item.cdk-keyboard-focused:not([disabled]),.high-contrast-light .mat-menu-item-highlighted:not([disabled]){background:rgba(0,0,0,.04)}.high-contrast-light .mat-paginator{background:white}.high-contrast-light .mat-paginator,.high-contrast-light .mat-paginator-page-size .mat-select-trigger{color:#0000008a}.high-contrast-light .mat-paginator-decrement,.high-contrast-light .mat-paginator-increment{border-top:2px solid rgba(0,0,0,.54);border-right:2px solid rgba(0,0,0,.54)}.high-contrast-light .mat-paginator-first,.high-contrast-light .mat-paginator-last{border-top:2px solid rgba(0,0,0,.54)}.high-contrast-light .mat-icon-button[disabled] .mat-paginator-decrement,.high-contrast-light .mat-icon-button[disabled] .mat-paginator-increment,.high-contrast-light .mat-icon-button[disabled] .mat-paginator-first,.high-contrast-light .mat-icon-button[disabled] .mat-paginator-last{border-color:#00000061}.high-contrast-light .mat-progress-bar-background{fill:#e3e3e3}.high-contrast-light .mat-progress-bar-buffer{background-color:#e3e3e3}.high-contrast-light .mat-progress-bar-fill:after{background-color:#9e9e9e}.high-contrast-light .mat-progress-bar.mat-accent .mat-progress-bar-background{fill:#f7f7f7}.high-contrast-light .mat-progress-bar.mat-accent .mat-progress-bar-buffer{background-color:#f7f7f7}.high-contrast-light .mat-progress-bar.mat-accent .mat-progress-bar-fill:after{background-color:#eee}.high-contrast-light .mat-progress-bar.mat-warn .mat-progress-bar-background{fill:#f9ccc9}.high-contrast-light .mat-progress-bar.mat-warn .mat-progress-bar-buffer{background-color:#f9ccc9}.high-contrast-light .mat-progress-bar.mat-warn .mat-progress-bar-fill:after{background-color:#f44336}.high-contrast-light .mat-progress-spinner circle,.high-contrast-light .mat-spinner circle{stroke:#9e9e9e}.high-contrast-light .mat-progress-spinner.mat-accent circle,.high-contrast-light .mat-spinner.mat-accent circle{stroke:#eee}.high-contrast-light .mat-progress-spinner.mat-warn circle,.high-contrast-light .mat-spinner.mat-warn circle{stroke:#f44336}.high-contrast-light .mat-radio-outer-circle{border-color:#0000008a}.high-contrast-light .mat-radio-button.mat-primary.mat-radio-checked .mat-radio-outer-circle{border-color:#9e9e9e}.high-contrast-light .mat-radio-button.mat-primary .mat-radio-inner-circle,.high-contrast-light .mat-radio-button.mat-primary .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.high-contrast-light .mat-radio-button.mat-primary.mat-radio-checked .mat-radio-persistent-ripple,.high-contrast-light .mat-radio-button.mat-primary:active .mat-radio-persistent-ripple{background-color:#9e9e9e}.high-contrast-light .mat-radio-button.mat-accent.mat-radio-checked .mat-radio-outer-circle{border-color:#eee}.high-contrast-light .mat-radio-button.mat-accent .mat-radio-inner-circle,.high-contrast-light .mat-radio-button.mat-accent .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.high-contrast-light .mat-radio-button.mat-accent.mat-radio-checked .mat-radio-persistent-ripple,.high-contrast-light .mat-radio-button.mat-accent:active .mat-radio-persistent-ripple{background-color:#eee}.high-contrast-light .mat-radio-button.mat-warn.mat-radio-checked .mat-radio-outer-circle{border-color:#f44336}.high-contrast-light .mat-radio-button.mat-warn .mat-radio-inner-circle,.high-contrast-light .mat-radio-button.mat-warn .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.high-contrast-light .mat-radio-button.mat-warn.mat-radio-checked .mat-radio-persistent-ripple,.high-contrast-light .mat-radio-button.mat-warn:active .mat-radio-persistent-ripple{background-color:#f44336}.high-contrast-light .mat-radio-button.mat-radio-disabled.mat-radio-checked .mat-radio-outer-circle,.high-contrast-light .mat-radio-button.mat-radio-disabled .mat-radio-outer-circle{border-color:#00000061}.high-contrast-light .mat-radio-button.mat-radio-disabled .mat-radio-ripple .mat-ripple-element,.high-contrast-light .mat-radio-button.mat-radio-disabled .mat-radio-inner-circle{background-color:#00000061}.high-contrast-light .mat-radio-button.mat-radio-disabled .mat-radio-label-content{color:#00000061}.high-contrast-light .mat-radio-button .mat-ripple-element{background-color:#000}.high-contrast-light .mat-select-value{color:#000000de}.high-contrast-light .mat-select-placeholder{color:#0000006b}.high-contrast-light .mat-select-disabled .mat-select-value{color:#00000061}.high-contrast-light .mat-select-arrow{color:#0000008a}.high-contrast-light .mat-select-panel{background:white}.high-contrast-light .mat-select-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.high-contrast-light .mat-select-panel .mat-option.mat-selected:not(.mat-option-multiple){background:rgba(0,0,0,.12)}.high-contrast-light .mat-form-field.mat-focused.mat-primary .mat-select-arrow{color:#9e9e9e}.high-contrast-light .mat-form-field.mat-focused.mat-accent .mat-select-arrow{color:#eee}.high-contrast-light .mat-form-field.mat-focused.mat-warn .mat-select-arrow,.high-contrast-light .mat-form-field .mat-select.mat-select-invalid .mat-select-arrow{color:#f44336}.high-contrast-light .mat-form-field .mat-select.mat-select-disabled .mat-select-arrow{color:#00000061}.high-contrast-light .mat-drawer-container{background-color:#fafafa;color:#000000de}.high-contrast-light .mat-drawer{background-color:#fff;color:#000000de}.high-contrast-light .mat-drawer.mat-drawer-push{background-color:#fff}.high-contrast-light .mat-drawer:not(.mat-drawer-side){box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f}.high-contrast-light .mat-drawer-side{border-right:solid 1px rgba(0,0,0,.12)}.high-contrast-light .mat-drawer-side.mat-drawer-end,.high-contrast-light [dir=rtl] .mat-drawer-side{border-left:solid 1px rgba(0,0,0,.12);border-right:none}.high-contrast-light [dir=rtl] .mat-drawer-side.mat-drawer-end{border-left:none;border-right:solid 1px rgba(0,0,0,.12)}.high-contrast-light .mat-drawer-backdrop.mat-drawer-shown{background-color:#0009}.high-contrast-light .mat-slide-toggle.mat-checked .mat-slide-toggle-thumb{background-color:#eee}.high-contrast-light .mat-slide-toggle.mat-checked .mat-slide-toggle-bar{background-color:#eeeeee8a}.high-contrast-light .mat-slide-toggle.mat-checked .mat-ripple-element{background-color:#eee}.high-contrast-light .mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-thumb{background-color:#9e9e9e}.high-contrast-light .mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-bar{background-color:#9e9e9e8a}.high-contrast-light .mat-slide-toggle.mat-primary.mat-checked .mat-ripple-element{background-color:#9e9e9e}.high-contrast-light .mat-slide-toggle.mat-warn.mat-checked .mat-slide-toggle-thumb{background-color:#f44336}.high-contrast-light .mat-slide-toggle.mat-warn.mat-checked .mat-slide-toggle-bar{background-color:#f443368a}.high-contrast-light .mat-slide-toggle.mat-warn.mat-checked .mat-ripple-element{background-color:#f44336}.high-contrast-light .mat-slide-toggle:not(.mat-checked) .mat-ripple-element{background-color:#000}.high-contrast-light .mat-slide-toggle-thumb{box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f;background-color:#fafafa}.high-contrast-light .mat-slide-toggle-bar{background-color:#00000061}.high-contrast-light .mat-slider-track-background{background-color:#00000042}.high-contrast-light .mat-slider.mat-primary .mat-slider-track-fill,.high-contrast-light .mat-slider.mat-primary .mat-slider-thumb,.high-contrast-light .mat-slider.mat-primary .mat-slider-thumb-label{background-color:#9e9e9e}.high-contrast-light .mat-slider.mat-primary .mat-slider-thumb-label-text{color:#000000de}.high-contrast-light .mat-slider.mat-primary .mat-slider-focus-ring{background-color:#9e9e9e33}.high-contrast-light .mat-slider.mat-accent .mat-slider-track-fill,.high-contrast-light .mat-slider.mat-accent .mat-slider-thumb,.high-contrast-light .mat-slider.mat-accent .mat-slider-thumb-label{background-color:#eee}.high-contrast-light .mat-slider.mat-accent .mat-slider-thumb-label-text{color:#000000de}.high-contrast-light .mat-slider.mat-accent .mat-slider-focus-ring{background-color:#eee3}.high-contrast-light .mat-slider.mat-warn .mat-slider-track-fill,.high-contrast-light .mat-slider.mat-warn .mat-slider-thumb,.high-contrast-light .mat-slider.mat-warn .mat-slider-thumb-label{background-color:#f44336}.high-contrast-light .mat-slider.mat-warn .mat-slider-thumb-label-text{color:#fff}.high-contrast-light .mat-slider.mat-warn .mat-slider-focus-ring{background-color:#f4433633}.high-contrast-light .mat-slider:hover .mat-slider-track-background,.high-contrast-light .mat-slider.cdk-focused .mat-slider-track-background{background-color:#00000061}.high-contrast-light .mat-slider.mat-slider-disabled .mat-slider-track-background,.high-contrast-light .mat-slider.mat-slider-disabled .mat-slider-track-fill,.high-contrast-light .mat-slider.mat-slider-disabled .mat-slider-thumb,.high-contrast-light .mat-slider.mat-slider-disabled:hover .mat-slider-track-background{background-color:#00000042}.high-contrast-light .mat-slider.mat-slider-min-value .mat-slider-focus-ring{background-color:#0000001f}.high-contrast-light .mat-slider.mat-slider-min-value.mat-slider-thumb-label-showing .mat-slider-thumb,.high-contrast-light .mat-slider.mat-slider-min-value.mat-slider-thumb-label-showing .mat-slider-thumb-label{background-color:#000000de}.high-contrast-light .mat-slider.mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb,.high-contrast-light .mat-slider.mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb-label{background-color:#00000042}.high-contrast-light .mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing) .mat-slider-thumb{border-color:#00000042;background-color:transparent}.high-contrast-light .mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover .mat-slider-thumb,.high-contrast-light .mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused .mat-slider-thumb{border-color:#00000061}.high-contrast-light .mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover.mat-slider-disabled .mat-slider-thumb,.high-contrast-light .mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused.mat-slider-disabled .mat-slider-thumb{border-color:#00000042}.high-contrast-light .mat-slider-has-ticks .mat-slider-wrapper:after{border-color:#000000b3}.high-contrast-light .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)}.high-contrast-light .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)}.high-contrast-light .mat-step-header.cdk-keyboard-focused,.high-contrast-light .mat-step-header.cdk-program-focused,.high-contrast-light .mat-step-header:hover:not([aria-disabled]),.high-contrast-light .mat-step-header:hover[aria-disabled=false]{background-color:#0000000a}.high-contrast-light .mat-step-header:hover[aria-disabled=true]{cursor:default}@media (hover: none){.high-contrast-light .mat-step-header:hover{background:none}}.high-contrast-light .mat-step-header .mat-step-label,.high-contrast-light .mat-step-header .mat-step-optional{color:#0000008a}.high-contrast-light .mat-step-header .mat-step-icon{background-color:#0000008a;color:#000000de}.high-contrast-light .mat-step-header .mat-step-icon-selected,.high-contrast-light .mat-step-header .mat-step-icon-state-done,.high-contrast-light .mat-step-header .mat-step-icon-state-edit{background-color:#9e9e9e;color:#000000de}.high-contrast-light .mat-step-header.mat-accent .mat-step-icon{color:#000000de}.high-contrast-light .mat-step-header.mat-accent .mat-step-icon-selected,.high-contrast-light .mat-step-header.mat-accent .mat-step-icon-state-done,.high-contrast-light .mat-step-header.mat-accent .mat-step-icon-state-edit{background-color:#eee;color:#000000de}.high-contrast-light .mat-step-header.mat-warn .mat-step-icon{color:#fff}.high-contrast-light .mat-step-header.mat-warn .mat-step-icon-selected,.high-contrast-light .mat-step-header.mat-warn .mat-step-icon-state-done,.high-contrast-light .mat-step-header.mat-warn .mat-step-icon-state-edit{background-color:#f44336;color:#fff}.high-contrast-light .mat-step-header .mat-step-icon-state-error{background-color:transparent;color:#f44336}.high-contrast-light .mat-step-header .mat-step-label.mat-step-label-active{color:#000000de}.high-contrast-light .mat-step-header .mat-step-label.mat-step-label-error{color:#f44336}.high-contrast-light .mat-stepper-horizontal,.high-contrast-light .mat-stepper-vertical{background-color:#fff}.high-contrast-light .mat-stepper-vertical-line:before{border-left-color:#0000001f}.high-contrast-light .mat-horizontal-stepper-header:before,.high-contrast-light .mat-horizontal-stepper-header:after,.high-contrast-light .mat-stepper-horizontal-line{border-top-color:#0000001f}.high-contrast-light .mat-sort-header-arrow{color:#757575}.high-contrast-light .mat-tab-nav-bar,.high-contrast-light .mat-tab-header{border-bottom:1px solid rgba(0,0,0,.12)}.high-contrast-light .mat-tab-group-inverted-header .mat-tab-nav-bar,.high-contrast-light .mat-tab-group-inverted-header .mat-tab-header{border-top:1px solid rgba(0,0,0,.12);border-bottom:none}.high-contrast-light .mat-tab-label,.high-contrast-light .mat-tab-link{color:#000000de}.high-contrast-light .mat-tab-label.mat-tab-disabled,.high-contrast-light .mat-tab-link.mat-tab-disabled{color:#00000061}.high-contrast-light .mat-tab-header-pagination-chevron{border-color:#000000de}.high-contrast-light .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:#00000061}.high-contrast-light .mat-tab-group[class*=mat-background-]>.mat-tab-header,.high-contrast-light .mat-tab-nav-bar[class*=mat-background-]{border-bottom:none;border-top:none}.high-contrast-light .mat-tab-group.mat-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.high-contrast-light .mat-tab-group.mat-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.high-contrast-light .mat-tab-group.mat-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.high-contrast-light .mat-tab-group.mat-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.high-contrast-light .mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.high-contrast-light .mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.high-contrast-light .mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.high-contrast-light .mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#f5f5f54d}.high-contrast-light .mat-tab-group.mat-primary .mat-ink-bar,.high-contrast-light .mat-tab-nav-bar.mat-primary .mat-ink-bar{background-color:#9e9e9e}.high-contrast-light .mat-tab-group.mat-primary.mat-background-primary>.mat-tab-header .mat-ink-bar,.high-contrast-light .mat-tab-group.mat-primary.mat-background-primary>.mat-tab-link-container .mat-ink-bar,.high-contrast-light .mat-tab-nav-bar.mat-primary.mat-background-primary>.mat-tab-header .mat-ink-bar,.high-contrast-light .mat-tab-nav-bar.mat-primary.mat-background-primary>.mat-tab-link-container .mat-ink-bar{background-color:#000000de}.high-contrast-light .mat-tab-group.mat-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.high-contrast-light .mat-tab-group.mat-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.high-contrast-light .mat-tab-group.mat-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.high-contrast-light .mat-tab-group.mat-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.high-contrast-light .mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.high-contrast-light .mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.high-contrast-light .mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.high-contrast-light .mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#ffffff4d}.high-contrast-light .mat-tab-group.mat-accent .mat-ink-bar,.high-contrast-light .mat-tab-nav-bar.mat-accent .mat-ink-bar{background-color:#eee}.high-contrast-light .mat-tab-group.mat-accent.mat-background-accent>.mat-tab-header .mat-ink-bar,.high-contrast-light .mat-tab-group.mat-accent.mat-background-accent>.mat-tab-link-container .mat-ink-bar,.high-contrast-light .mat-tab-nav-bar.mat-accent.mat-background-accent>.mat-tab-header .mat-ink-bar,.high-contrast-light .mat-tab-nav-bar.mat-accent.mat-background-accent>.mat-tab-link-container .mat-ink-bar{background-color:#000000de}.high-contrast-light .mat-tab-group.mat-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.high-contrast-light .mat-tab-group.mat-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.high-contrast-light .mat-tab-group.mat-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.high-contrast-light .mat-tab-group.mat-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.high-contrast-light .mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.high-contrast-light .mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.high-contrast-light .mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.high-contrast-light .mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#ffcdd24d}.high-contrast-light .mat-tab-group.mat-warn .mat-ink-bar,.high-contrast-light .mat-tab-nav-bar.mat-warn .mat-ink-bar{background-color:#f44336}.high-contrast-light .mat-tab-group.mat-warn.mat-background-warn>.mat-tab-header .mat-ink-bar,.high-contrast-light .mat-tab-group.mat-warn.mat-background-warn>.mat-tab-link-container .mat-ink-bar,.high-contrast-light .mat-tab-nav-bar.mat-warn.mat-background-warn>.mat-tab-header .mat-ink-bar,.high-contrast-light .mat-tab-nav-bar.mat-warn.mat-background-warn>.mat-tab-link-container .mat-ink-bar{background-color:#fff}.high-contrast-light .mat-tab-group.mat-background-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.high-contrast-light .mat-tab-group.mat-background-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.high-contrast-light .mat-tab-group.mat-background-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.high-contrast-light .mat-tab-group.mat-background-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.high-contrast-light .mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.high-contrast-light .mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.high-contrast-light .mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.high-contrast-light .mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#f5f5f54d}.high-contrast-light .mat-tab-group.mat-background-primary>.mat-tab-header,.high-contrast-light .mat-tab-group.mat-background-primary>.mat-tab-link-container,.high-contrast-light .mat-tab-group.mat-background-primary>.mat-tab-header-pagination,.high-contrast-light .mat-tab-nav-bar.mat-background-primary>.mat-tab-header,.high-contrast-light .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container,.high-contrast-light .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination{background-color:#9e9e9e}.high-contrast-light .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-label,.high-contrast-light .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-tab-link,.high-contrast-light .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-label,.high-contrast-light .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-tab-link{color:#000000de}.high-contrast-light .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-label.mat-tab-disabled,.high-contrast-light .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.high-contrast-light .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-label.mat-tab-disabled,.high-contrast-light .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:#0006}.high-contrast-light .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-chevron,.high-contrast-light .mat-tab-group.mat-background-primary>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.high-contrast-light .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-focus-indicator:before,.high-contrast-light .mat-tab-group.mat-background-primary>.mat-tab-header .mat-focus-indicator:before,.high-contrast-light .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-chevron,.high-contrast-light .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.high-contrast-light .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-focus-indicator:before,.high-contrast-light .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-focus-indicator:before{border-color:#000000de}.high-contrast-light .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.high-contrast-light .mat-tab-group.mat-background-primary>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.high-contrast-light .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.high-contrast-light .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:#000;opacity:.4}.high-contrast-light .mat-tab-group.mat-background-primary>.mat-tab-header .mat-ripple-element,.high-contrast-light .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-ripple-element,.high-contrast-light .mat-tab-group.mat-background-primary>.mat-tab-header-pagination .mat-ripple-element,.high-contrast-light .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-ripple-element,.high-contrast-light .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-ripple-element,.high-contrast-light .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination .mat-ripple-element{background-color:#000;opacity:.12}.high-contrast-light .mat-tab-group.mat-background-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.high-contrast-light .mat-tab-group.mat-background-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.high-contrast-light .mat-tab-group.mat-background-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.high-contrast-light .mat-tab-group.mat-background-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.high-contrast-light .mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.high-contrast-light .mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.high-contrast-light .mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.high-contrast-light .mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#ffffff4d}.high-contrast-light .mat-tab-group.mat-background-accent>.mat-tab-header,.high-contrast-light .mat-tab-group.mat-background-accent>.mat-tab-link-container,.high-contrast-light .mat-tab-group.mat-background-accent>.mat-tab-header-pagination,.high-contrast-light .mat-tab-nav-bar.mat-background-accent>.mat-tab-header,.high-contrast-light .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container,.high-contrast-light .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination{background-color:#eee}.high-contrast-light .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-label,.high-contrast-light .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-tab-link,.high-contrast-light .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-label,.high-contrast-light .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-tab-link{color:#000000de}.high-contrast-light .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-label.mat-tab-disabled,.high-contrast-light .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.high-contrast-light .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-label.mat-tab-disabled,.high-contrast-light .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:#0006}.high-contrast-light .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-chevron,.high-contrast-light .mat-tab-group.mat-background-accent>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.high-contrast-light .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-focus-indicator:before,.high-contrast-light .mat-tab-group.mat-background-accent>.mat-tab-header .mat-focus-indicator:before,.high-contrast-light .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-chevron,.high-contrast-light .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.high-contrast-light .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-focus-indicator:before,.high-contrast-light .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-focus-indicator:before{border-color:#000000de}.high-contrast-light .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.high-contrast-light .mat-tab-group.mat-background-accent>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.high-contrast-light .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.high-contrast-light .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:#000;opacity:.4}.high-contrast-light .mat-tab-group.mat-background-accent>.mat-tab-header .mat-ripple-element,.high-contrast-light .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-ripple-element,.high-contrast-light .mat-tab-group.mat-background-accent>.mat-tab-header-pagination .mat-ripple-element,.high-contrast-light .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-ripple-element,.high-contrast-light .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-ripple-element,.high-contrast-light .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination .mat-ripple-element{background-color:#000;opacity:.12}.high-contrast-light .mat-tab-group.mat-background-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.high-contrast-light .mat-tab-group.mat-background-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.high-contrast-light .mat-tab-group.mat-background-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.high-contrast-light .mat-tab-group.mat-background-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.high-contrast-light .mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.high-contrast-light .mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.high-contrast-light .mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.high-contrast-light .mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#ffcdd24d}.high-contrast-light .mat-tab-group.mat-background-warn>.mat-tab-header,.high-contrast-light .mat-tab-group.mat-background-warn>.mat-tab-link-container,.high-contrast-light .mat-tab-group.mat-background-warn>.mat-tab-header-pagination,.high-contrast-light .mat-tab-nav-bar.mat-background-warn>.mat-tab-header,.high-contrast-light .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container,.high-contrast-light .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination{background-color:#f44336}.high-contrast-light .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-label,.high-contrast-light .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-tab-link,.high-contrast-light .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-label,.high-contrast-light .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-tab-link{color:#fff}.high-contrast-light .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-label.mat-tab-disabled,.high-contrast-light .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.high-contrast-light .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-label.mat-tab-disabled,.high-contrast-light .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:#fff6}.high-contrast-light .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-chevron,.high-contrast-light .mat-tab-group.mat-background-warn>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.high-contrast-light .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-focus-indicator:before,.high-contrast-light .mat-tab-group.mat-background-warn>.mat-tab-header .mat-focus-indicator:before,.high-contrast-light .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-chevron,.high-contrast-light .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.high-contrast-light .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-focus-indicator:before,.high-contrast-light .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-focus-indicator:before{border-color:#fff}.high-contrast-light .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.high-contrast-light .mat-tab-group.mat-background-warn>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.high-contrast-light .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.high-contrast-light .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:#fff;opacity:.4}.high-contrast-light .mat-tab-group.mat-background-warn>.mat-tab-header .mat-ripple-element,.high-contrast-light .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-ripple-element,.high-contrast-light .mat-tab-group.mat-background-warn>.mat-tab-header-pagination .mat-ripple-element,.high-contrast-light .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-ripple-element,.high-contrast-light .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-ripple-element,.high-contrast-light .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination .mat-ripple-element{background-color:#fff;opacity:.12}.high-contrast-light .mat-toolbar{background:whitesmoke;color:#000000de}.high-contrast-light .mat-toolbar.mat-primary{background:#9e9e9e;color:#000000de}.high-contrast-light .mat-toolbar.mat-accent{background:#eeeeee;color:#000000de}.high-contrast-light .mat-toolbar.mat-warn{background:#f44336;color:#fff}.high-contrast-light .mat-toolbar .mat-form-field-underline,.high-contrast-light .mat-toolbar .mat-form-field-ripple,.high-contrast-light .mat-toolbar .mat-focused .mat-form-field-ripple{background-color:currentColor}.high-contrast-light .mat-toolbar .mat-form-field-label,.high-contrast-light .mat-toolbar .mat-focused .mat-form-field-label,.high-contrast-light .mat-toolbar .mat-select-value,.high-contrast-light .mat-toolbar .mat-select-arrow,.high-contrast-light .mat-toolbar .mat-form-field.mat-focused .mat-select-arrow{color:inherit}.high-contrast-light .mat-toolbar .mat-input-element{caret-color:currentColor}.high-contrast-light .mat-tooltip{background:rgba(97,97,97,.9)}.high-contrast-light .mat-tree{background:white}.high-contrast-light .mat-tree-node,.high-contrast-light .mat-nested-tree-node{color:#000000de}.high-contrast-light .mat-snack-bar-container{color:#ffffffb3;background:#323232;box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.high-contrast-light .mat-simple-snackbar-action{color:#eee}.high-contrast-light .app-defaults{background-color:#fafafa;color:#000000de}.high-contrast-light .theme-menu{background-color:#eee}.high-contrast-light .menuBarButtonGroup{background-color:#0000001f}.high-contrast-light .tabGroups{padding-left:0;min-height:100%;height:100%}.high-contrast-light .tabGroupPanel{display:block;margin:10px 20px 20px}.high-contrast-light .formActionFooter{width:100%;text-align:end}.high-contrast-light .formActionButton{margin-left:10px}.high-contrast-light .formActionDivider{margin-top:10px;margin-bottom:10px}.high-contrast-light .as-split-gutter{background-color:transparent!important}.high-contrast-light .primary{color:#bdbdbd}.high-contrast-light .accent{color:#9e9e9e}.high-contrast-light .warn{color:#e57373}.high-contrast-light .primaryDark,.high-contrast-light .accentDark{color:#212121}.high-contrast-light .warnDark{color:#b71c1c}.high-contrast-light .background{color:#0000001f}.high-contrast-light .text{color:#000000de}.high-contrast-light .pathMetaDescription{font:small-caption;color:#00000061}.high-contrast-light .textGenericWrapper{position:relative;width:100%;height:100%}.high-contrast-light .canvas-size{position:absolute;top:0;left:0}.high-contrast-light .warn{color:#f44336}.high-contrast-light .warn-contrast{color:#fff}.high-contrast-light DIV.apScreen{display:block;position:relative;width:360px;height:220.5px;margin:auto;text-align:center;border-radius:5px;border:1px solid rgba(0,0,0,.12);background-color:#0000001f}.high-contrast-light .apScreen .apCompass{position:relative;width:360px;height:202px;margin:auto;border-radius:5px}.high-contrast-light .apStatusBar{width:360px;height:18.5px;border-bottom-left-radius:5px;border-bottom-right-radius:5px;background-color:#000}.high-contrast-light .apStatusBar,.high-contrast-light .apStatusBar DIV{display:inline-block;position:relative}.high-contrast-light .apScreen .apStencil{position:absolute;top:0;left:0;width:100%;height:100%;margin:auto;border-radius:5px;z-index:10;vertical-align:middle;background-color:#fafafa}.high-contrast-light .apStencil.confirmCommand{z-index:5;visibility:hidden}.high-contrast-light .apStencil.error{z-index:6;visibility:hidden}.high-contrast-light .apText{fill:#000000de}.high-contrast-light .boatBackground{stop-color:#c7c7c7!important}.high-contrast-light .heading-background{stroke:#000;fill:#afafaf}.high-contrast-light .wind-text{fill:#000;stroke:#000}.high-contrast-light .laylines{stroke:#000000de}.high-contrast-light .wind-sector-port{fill:red}.high-contrast-light .wind-sector-stbd{fill:#1fce04}.high-contrast-light .compass-outer-ring{stroke:#757575}.high-contrast-light .compass-inner-ring{stroke:#afafaf;fill:#afafaf}.high-contrast-light .wind-rose-background{stroke:#8a8a8a}.high-contrast-light .sailSetupBoat{stroke:#afafaf}.high-contrast-light .sailSetupFull,.high-contrast-light .sailSetupReef1{fill:#e0e0e0}.high-contrast-light .sailSetupReef2{fill:#e57373}.high-contrast-light .sailSetupReef3{fill:#f44336}.high-contrast-light .port{stroke:red}.high-contrast-light .starboard{stroke:#1fce04}.high-contrast-light .rudderPort{fill:#d52626}.high-contrast-light .rudderStarboard{fill:#389c19}.high-contrast-light .true-wind{fill:#068dfb}.high-contrast-light .app-wind{fill:#06fb06}.high-contrast-light .simpleLinear-text{fill:#000000de}.high-contrast-light .windWrapper{position:relative;width:100%;height:100%}.high-contrast-light .matBadge{z-index:1000}.high-contrast-light .mute-unmte-alarm{width:max-content}.high-contrast-light .alarmWarning{animation:blinkingAlarmWarning 1.5s infinite;background-color:orange!important}.high-contrast-light .alarmCrit{animation:blinkingAlarmCrit .25s infinite}.high-contrast-light .muteSoundButton:hover{background:rgba(255,255,255,.04)}.high-contrast-light .serverStatus{background-color:#0000001f;margin:7% 5% 0%;padding:10px 20px 20px}.high-contrast-light .descriptiveTexts{color:#000000de;font-size:14px}.high-contrast-light .flex-item{flex:1 1 29%;background-color:#0000001f;padding:20px;border-radius:4px}.high-contrast-light .flex-item-copy{flex:2 1 40%;background-color:#0000001f;padding:10px 20px;border-radius:4px}.platypus-light .mat-ripple-element{background-color:#0000001a}.platypus-light .mat-option{color:#000000de}.platypus-light .mat-option:hover:not(.mat-option-disabled),.platypus-light .mat-option:focus:not(.mat-option-disabled){background:rgba(0,0,0,.04)}.platypus-light .mat-option.mat-selected:not(.mat-option-multiple):not(.mat-option-disabled){background:rgba(0,0,0,.04)}.platypus-light .mat-option.mat-active{background:rgba(0,0,0,.04);color:#000000de}.platypus-light .mat-option.mat-option-disabled{color:#00000061}.platypus-light .mat-primary .mat-option.mat-selected:not(.mat-option-disabled){color:#009688}.platypus-light .mat-accent .mat-option.mat-selected:not(.mat-option-disabled){color:#ffab40}.platypus-light .mat-warn .mat-option.mat-selected:not(.mat-option-disabled){color:#f44336}.platypus-light .mat-optgroup-label{color:#0000008a}.platypus-light .mat-optgroup-disabled .mat-optgroup-label{color:#00000061}.platypus-light .mat-pseudo-checkbox{color:#0000008a}.platypus-light .mat-pseudo-checkbox:after{color:#189090}.platypus-light .mat-pseudo-checkbox-disabled{color:#b0b0b0}.platypus-light .mat-primary .mat-pseudo-checkbox-checked,.platypus-light .mat-primary .mat-pseudo-checkbox-indeterminate{background:#009688}.platypus-light .mat-pseudo-checkbox-checked,.platypus-light .mat-pseudo-checkbox-indeterminate,.platypus-light .mat-accent .mat-pseudo-checkbox-checked,.platypus-light .mat-accent .mat-pseudo-checkbox-indeterminate{background:#ffab40}.platypus-light .mat-warn .mat-pseudo-checkbox-checked,.platypus-light .mat-warn .mat-pseudo-checkbox-indeterminate{background:#f44336}.platypus-light .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.platypus-light .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background:#b0b0b0}.platypus-light .mat-app-background,.platypus-light.mat-app-background{background-color:#189090;color:#000000de}.platypus-light .mat-elevation-z0{box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.platypus-light .mat-elevation-z1{box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f}.platypus-light .mat-elevation-z2{box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.platypus-light .mat-elevation-z3{box-shadow:0 3px 3px -2px #0003,0 3px 4px #00000024,0 1px 8px #0000001f}.platypus-light .mat-elevation-z4{box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.platypus-light .mat-elevation-z5{box-shadow:0 3px 5px -1px #0003,0 5px 8px #00000024,0 1px 14px #0000001f}.platypus-light .mat-elevation-z6{box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.platypus-light .mat-elevation-z7{box-shadow:0 4px 5px -2px #0003,0 7px 10px 1px #00000024,0 2px 16px 1px #0000001f}.platypus-light .mat-elevation-z8{box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.platypus-light .mat-elevation-z9{box-shadow:0 5px 6px -3px #0003,0 9px 12px 1px #00000024,0 3px 16px 2px #0000001f}.platypus-light .mat-elevation-z10{box-shadow:0 6px 6px -3px #0003,0 10px 14px 1px #00000024,0 4px 18px 3px #0000001f}.platypus-light .mat-elevation-z11{box-shadow:0 6px 7px -4px #0003,0 11px 15px 1px #00000024,0 4px 20px 3px #0000001f}.platypus-light .mat-elevation-z12{box-shadow:0 7px 8px -4px #0003,0 12px 17px 2px #00000024,0 5px 22px 4px #0000001f}.platypus-light .mat-elevation-z13{box-shadow:0 7px 8px -4px #0003,0 13px 19px 2px #00000024,0 5px 24px 4px #0000001f}.platypus-light .mat-elevation-z14{box-shadow:0 7px 9px -4px #0003,0 14px 21px 2px #00000024,0 5px 26px 4px #0000001f}.platypus-light .mat-elevation-z15{box-shadow:0 8px 9px -5px #0003,0 15px 22px 2px #00000024,0 6px 28px 5px #0000001f}.platypus-light .mat-elevation-z16{box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f}.platypus-light .mat-elevation-z17{box-shadow:0 8px 11px -5px #0003,0 17px 26px 2px #00000024,0 6px 32px 5px #0000001f}.platypus-light .mat-elevation-z18{box-shadow:0 9px 11px -5px #0003,0 18px 28px 2px #00000024,0 7px 34px 6px #0000001f}.platypus-light .mat-elevation-z19{box-shadow:0 9px 12px -6px #0003,0 19px 29px 2px #00000024,0 7px 36px 6px #0000001f}.platypus-light .mat-elevation-z20{box-shadow:0 10px 13px -6px #0003,0 20px 31px 3px #00000024,0 8px 38px 7px #0000001f}.platypus-light .mat-elevation-z21{box-shadow:0 10px 13px -6px #0003,0 21px 33px 3px #00000024,0 8px 40px 7px #0000001f}.platypus-light .mat-elevation-z22{box-shadow:0 10px 14px -6px #0003,0 22px 35px 3px #00000024,0 8px 42px 7px #0000001f}.platypus-light .mat-elevation-z23{box-shadow:0 11px 14px -7px #0003,0 23px 36px 3px #00000024,0 9px 44px 8px #0000001f}.platypus-light .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}.platypus-light .mat-autocomplete-panel{background:#8cc8c8;color:#000000de}.platypus-light .mat-autocomplete-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.platypus-light .mat-autocomplete-panel .mat-option.mat-selected:not(.mat-active):not(:hover){background:#8cc8c8}.platypus-light .mat-autocomplete-panel .mat-option.mat-selected:not(.mat-active):not(:hover):not(.mat-option-disabled){color:#000000de}.platypus-light .mat-badge-content{color:#fff;background:#009688}.cdk-high-contrast-active .platypus-light .mat-badge-content{outline:solid 1px;border-radius:0}.platypus-light .mat-badge-accent .mat-badge-content{background:#ffab40;color:#000000de}.platypus-light .mat-badge-warn .mat-badge-content{color:#fff;background:#f44336}.platypus-light .mat-badge-disabled .mat-badge-content{background:#126b6b;color:#00000061}.platypus-light .mat-bottom-sheet-container{box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f;background:#8cc8c8;color:#000000de}.platypus-light .mat-button,.platypus-light .mat-icon-button,.platypus-light .mat-stroked-button{color:inherit;background:transparent}.platypus-light .mat-button.mat-primary,.platypus-light .mat-icon-button.mat-primary,.platypus-light .mat-stroked-button.mat-primary{color:#009688}.platypus-light .mat-button.mat-accent,.platypus-light .mat-icon-button.mat-accent,.platypus-light .mat-stroked-button.mat-accent{color:#ffab40}.platypus-light .mat-button.mat-warn,.platypus-light .mat-icon-button.mat-warn,.platypus-light .mat-stroked-button.mat-warn{color:#f44336}.platypus-light .mat-button.mat-primary.mat-button-disabled,.platypus-light .mat-button.mat-accent.mat-button-disabled,.platypus-light .mat-button.mat-warn.mat-button-disabled,.platypus-light .mat-button.mat-button-disabled.mat-button-disabled,.platypus-light .mat-icon-button.mat-primary.mat-button-disabled,.platypus-light .mat-icon-button.mat-accent.mat-button-disabled,.platypus-light .mat-icon-button.mat-warn.mat-button-disabled,.platypus-light .mat-icon-button.mat-button-disabled.mat-button-disabled,.platypus-light .mat-stroked-button.mat-primary.mat-button-disabled,.platypus-light .mat-stroked-button.mat-accent.mat-button-disabled,.platypus-light .mat-stroked-button.mat-warn.mat-button-disabled,.platypus-light .mat-stroked-button.mat-button-disabled.mat-button-disabled{color:#00000042}.platypus-light .mat-button.mat-primary .mat-button-focus-overlay,.platypus-light .mat-icon-button.mat-primary .mat-button-focus-overlay,.platypus-light .mat-stroked-button.mat-primary .mat-button-focus-overlay{background-color:#009688}.platypus-light .mat-button.mat-accent .mat-button-focus-overlay,.platypus-light .mat-icon-button.mat-accent .mat-button-focus-overlay,.platypus-light .mat-stroked-button.mat-accent .mat-button-focus-overlay{background-color:#ffab40}.platypus-light .mat-button.mat-warn .mat-button-focus-overlay,.platypus-light .mat-icon-button.mat-warn .mat-button-focus-overlay,.platypus-light .mat-stroked-button.mat-warn .mat-button-focus-overlay{background-color:#f44336}.platypus-light .mat-button.mat-button-disabled .mat-button-focus-overlay,.platypus-light .mat-icon-button.mat-button-disabled .mat-button-focus-overlay,.platypus-light .mat-stroked-button.mat-button-disabled .mat-button-focus-overlay{background-color:transparent}.platypus-light .mat-button .mat-ripple-element,.platypus-light .mat-icon-button .mat-ripple-element,.platypus-light .mat-stroked-button .mat-ripple-element{opacity:.1;background-color:currentColor}.platypus-light .mat-button-focus-overlay{background:black}.platypus-light .mat-stroked-button:not(.mat-button-disabled){border-color:#0000001f}.platypus-light .mat-flat-button,.platypus-light .mat-raised-button,.platypus-light .mat-fab,.platypus-light .mat-mini-fab{color:#000000de;background-color:#8cc8c8}.platypus-light .mat-flat-button.mat-primary,.platypus-light .mat-raised-button.mat-primary,.platypus-light .mat-fab.mat-primary,.platypus-light .mat-mini-fab.mat-primary{color:#fff}.platypus-light .mat-flat-button.mat-accent,.platypus-light .mat-raised-button.mat-accent,.platypus-light .mat-fab.mat-accent,.platypus-light .mat-mini-fab.mat-accent{color:#000000de}.platypus-light .mat-flat-button.mat-warn,.platypus-light .mat-raised-button.mat-warn,.platypus-light .mat-fab.mat-warn,.platypus-light .mat-mini-fab.mat-warn{color:#fff}.platypus-light .mat-flat-button.mat-primary.mat-button-disabled,.platypus-light .mat-flat-button.mat-accent.mat-button-disabled,.platypus-light .mat-flat-button.mat-warn.mat-button-disabled,.platypus-light .mat-flat-button.mat-button-disabled.mat-button-disabled,.platypus-light .mat-raised-button.mat-primary.mat-button-disabled,.platypus-light .mat-raised-button.mat-accent.mat-button-disabled,.platypus-light .mat-raised-button.mat-warn.mat-button-disabled,.platypus-light .mat-raised-button.mat-button-disabled.mat-button-disabled,.platypus-light .mat-fab.mat-primary.mat-button-disabled,.platypus-light .mat-fab.mat-accent.mat-button-disabled,.platypus-light .mat-fab.mat-warn.mat-button-disabled,.platypus-light .mat-fab.mat-button-disabled.mat-button-disabled,.platypus-light .mat-mini-fab.mat-primary.mat-button-disabled,.platypus-light .mat-mini-fab.mat-accent.mat-button-disabled,.platypus-light .mat-mini-fab.mat-warn.mat-button-disabled,.platypus-light .mat-mini-fab.mat-button-disabled.mat-button-disabled{color:#00000042}.platypus-light .mat-flat-button.mat-primary,.platypus-light .mat-raised-button.mat-primary,.platypus-light .mat-fab.mat-primary,.platypus-light .mat-mini-fab.mat-primary{background-color:#009688}.platypus-light .mat-flat-button.mat-accent,.platypus-light .mat-raised-button.mat-accent,.platypus-light .mat-fab.mat-accent,.platypus-light .mat-mini-fab.mat-accent{background-color:#ffab40}.platypus-light .mat-flat-button.mat-warn,.platypus-light .mat-raised-button.mat-warn,.platypus-light .mat-fab.mat-warn,.platypus-light .mat-mini-fab.mat-warn{background-color:#f44336}.platypus-light .mat-flat-button.mat-primary.mat-button-disabled,.platypus-light .mat-flat-button.mat-accent.mat-button-disabled,.platypus-light .mat-flat-button.mat-warn.mat-button-disabled,.platypus-light .mat-flat-button.mat-button-disabled.mat-button-disabled,.platypus-light .mat-raised-button.mat-primary.mat-button-disabled,.platypus-light .mat-raised-button.mat-accent.mat-button-disabled,.platypus-light .mat-raised-button.mat-warn.mat-button-disabled,.platypus-light .mat-raised-button.mat-button-disabled.mat-button-disabled,.platypus-light .mat-fab.mat-primary.mat-button-disabled,.platypus-light .mat-fab.mat-accent.mat-button-disabled,.platypus-light .mat-fab.mat-warn.mat-button-disabled,.platypus-light .mat-fab.mat-button-disabled.mat-button-disabled,.platypus-light .mat-mini-fab.mat-primary.mat-button-disabled,.platypus-light .mat-mini-fab.mat-accent.mat-button-disabled,.platypus-light .mat-mini-fab.mat-warn.mat-button-disabled,.platypus-light .mat-mini-fab.mat-button-disabled.mat-button-disabled{background-color:#0000001f}.platypus-light .mat-flat-button.mat-primary .mat-ripple-element,.platypus-light .mat-raised-button.mat-primary .mat-ripple-element,.platypus-light .mat-fab.mat-primary .mat-ripple-element,.platypus-light .mat-mini-fab.mat-primary .mat-ripple-element{background-color:#ffffff1a}.platypus-light .mat-flat-button.mat-accent .mat-ripple-element,.platypus-light .mat-raised-button.mat-accent .mat-ripple-element,.platypus-light .mat-fab.mat-accent .mat-ripple-element,.platypus-light .mat-mini-fab.mat-accent .mat-ripple-element{background-color:#0000001a}.platypus-light .mat-flat-button.mat-warn .mat-ripple-element,.platypus-light .mat-raised-button.mat-warn .mat-ripple-element,.platypus-light .mat-fab.mat-warn .mat-ripple-element,.platypus-light .mat-mini-fab.mat-warn .mat-ripple-element{background-color:#ffffff1a}.platypus-light .mat-stroked-button:not([class*=mat-elevation-z]),.platypus-light .mat-flat-button:not([class*=mat-elevation-z]){box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.platypus-light .mat-raised-button:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.platypus-light .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}.platypus-light .mat-raised-button.mat-button-disabled:not([class*=mat-elevation-z]){box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.platypus-light .mat-fab:not([class*=mat-elevation-z]),.platypus-light .mat-mini-fab:not([class*=mat-elevation-z]){box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.platypus-light .mat-fab:not(.mat-button-disabled):active:not([class*=mat-elevation-z]),.platypus-light .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}.platypus-light .mat-fab.mat-button-disabled:not([class*=mat-elevation-z]),.platypus-light .mat-mini-fab.mat-button-disabled:not([class*=mat-elevation-z]){box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.platypus-light .mat-button-toggle-standalone:not([class*=mat-elevation-z]),.platypus-light .mat-button-toggle-group:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.platypus-light .mat-button-toggle-standalone.mat-button-toggle-appearance-standard:not([class*=mat-elevation-z]),.platypus-light .mat-button-toggle-group-appearance-standard:not([class*=mat-elevation-z]){box-shadow:none}.platypus-light .mat-button-toggle{color:#00000061}.platypus-light .mat-button-toggle .mat-button-toggle-focus-overlay{background-color:#0000000f}.platypus-light .mat-button-toggle-appearance-standard{color:#000000de;background:#8cc8c8}.platypus-light .mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{background-color:#000}.platypus-light .mat-button-toggle-group-appearance-standard .mat-button-toggle+.mat-button-toggle{border-left:solid 1px #7bb0b0}.platypus-light [dir=rtl] .mat-button-toggle-group-appearance-standard .mat-button-toggle+.mat-button-toggle{border-left:none;border-right:solid 1px #7bb0b0}.platypus-light .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 #7bb0b0}.platypus-light .mat-button-toggle-checked{background-color:#5db1b1;color:#0000008a}.platypus-light .mat-button-toggle-checked.mat-button-toggle-appearance-standard{color:#000000de}.platypus-light .mat-button-toggle-disabled{color:#00000042;background-color:#8cc8c8}.platypus-light .mat-button-toggle-disabled.mat-button-toggle-appearance-standard{background:#8cc8c8}.platypus-light .mat-button-toggle-disabled.mat-button-toggle-checked{background-color:#3ba1a1}.platypus-light .mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.platypus-light .mat-button-toggle-group-appearance-standard{border:solid 1px #7bb0b0}.platypus-light .mat-card{background:#8cc8c8;color:#000000de}.platypus-light .mat-card:not([class*=mat-elevation-z]){box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f}.platypus-light .mat-card.mat-card-flat:not([class*=mat-elevation-z]){box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.platypus-light .mat-card-subtitle{color:#0000008a}.platypus-light .mat-checkbox-frame{border-color:#0000008a}.platypus-light .mat-checkbox-checkmark{fill:#189090}.platypus-light .mat-checkbox-checkmark-path{stroke:#189090!important}.platypus-light .mat-checkbox-mixedmark{background-color:#189090}.platypus-light .mat-checkbox-indeterminate.mat-primary .mat-checkbox-background,.platypus-light .mat-checkbox-checked.mat-primary .mat-checkbox-background{background-color:#009688}.platypus-light .mat-checkbox-indeterminate.mat-accent .mat-checkbox-background,.platypus-light .mat-checkbox-checked.mat-accent .mat-checkbox-background{background-color:#ffab40}.platypus-light .mat-checkbox-indeterminate.mat-warn .mat-checkbox-background,.platypus-light .mat-checkbox-checked.mat-warn .mat-checkbox-background{background-color:#f44336}.platypus-light .mat-checkbox-disabled.mat-checkbox-checked .mat-checkbox-background,.platypus-light .mat-checkbox-disabled.mat-checkbox-indeterminate .mat-checkbox-background{background-color:#b0b0b0}.platypus-light .mat-checkbox-disabled:not(.mat-checkbox-checked) .mat-checkbox-frame{border-color:#b0b0b0}.platypus-light .mat-checkbox-disabled .mat-checkbox-label{color:#00000061}.platypus-light .mat-checkbox .mat-ripple-element{background-color:#000}.platypus-light .mat-checkbox-checked:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element,.platypus-light .mat-checkbox:active:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element{background:#009688}.platypus-light .mat-checkbox-checked:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element,.platypus-light .mat-checkbox:active:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element{background:#ffab40}.platypus-light .mat-checkbox-checked:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element,.platypus-light .mat-checkbox:active:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element{background:#f44336}.platypus-light .mat-chip.mat-standard-chip{background-color:#5db1b1;color:#000000de}.platypus-light .mat-chip.mat-standard-chip .mat-chip-remove{color:#000000de;opacity:.4}.platypus-light .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}.platypus-light .mat-chip.mat-standard-chip:not(.mat-chip-disabled) .mat-chip-remove:hover{opacity:.54}.platypus-light .mat-chip.mat-standard-chip.mat-chip-disabled{opacity:.4}.platypus-light .mat-chip.mat-standard-chip:after{background:black}.platypus-light .mat-chip.mat-standard-chip.mat-chip-selected.mat-primary{background-color:#009688;color:#fff}.platypus-light .mat-chip.mat-standard-chip.mat-chip-selected.mat-primary .mat-chip-remove{color:#fff;opacity:.4}.platypus-light .mat-chip.mat-standard-chip.mat-chip-selected.mat-primary .mat-ripple-element{background-color:#ffffff1a}.platypus-light .mat-chip.mat-standard-chip.mat-chip-selected.mat-warn{background-color:#f44336;color:#fff}.platypus-light .mat-chip.mat-standard-chip.mat-chip-selected.mat-warn .mat-chip-remove{color:#fff;opacity:.4}.platypus-light .mat-chip.mat-standard-chip.mat-chip-selected.mat-warn .mat-ripple-element{background-color:#ffffff1a}.platypus-light .mat-chip.mat-standard-chip.mat-chip-selected.mat-accent{background-color:#ffab40;color:#000000de}.platypus-light .mat-chip.mat-standard-chip.mat-chip-selected.mat-accent .mat-chip-remove{color:#000000de;opacity:.4}.platypus-light .mat-chip.mat-standard-chip.mat-chip-selected.mat-accent .mat-ripple-element{background-color:#0000001a}.platypus-light .mat-table{background:#8cc8c8}.platypus-light .mat-table thead,.platypus-light .mat-table tbody,.platypus-light .mat-table tfoot,.platypus-light mat-header-row,.platypus-light mat-row,.platypus-light mat-footer-row,.platypus-light [mat-header-row],.platypus-light [mat-row],.platypus-light [mat-footer-row],.platypus-light .mat-table-sticky{background:inherit}.platypus-light mat-row,.platypus-light mat-header-row,.platypus-light mat-footer-row,.platypus-light th.mat-header-cell,.platypus-light td.mat-cell,.platypus-light td.mat-footer-cell{border-bottom-color:#0000001f}.platypus-light .mat-header-cell{color:#0000008a}.platypus-light .mat-cell,.platypus-light .mat-footer-cell{color:#000000de}.platypus-light .mat-calendar-arrow{fill:#0000008a}.platypus-light .mat-datepicker-toggle,.platypus-light .mat-datepicker-content .mat-calendar-next-button,.platypus-light .mat-datepicker-content .mat-calendar-previous-button{color:#0000008a}.platypus-light .mat-calendar-table-header-divider:after{background:rgba(0,0,0,.12)}.platypus-light .mat-calendar-table-header,.platypus-light .mat-calendar-body-label{color:#0000008a}.platypus-light .mat-calendar-body-cell-content,.platypus-light .mat-date-range-input-separator{color:#000000de;border-color:transparent}.platypus-light .mat-calendar-body-disabled>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){color:#00000061}.platypus-light .mat-form-field-disabled .mat-date-range-input-separator{color:#00000061}.platypus-light .mat-calendar-body-in-preview{color:#0000003d}.platypus-light .mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:#00000061}.platypus-light .mat-calendar-body-disabled>.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:#0000002e}.platypus-light .mat-calendar-body-in-range:before{background:rgba(0,150,136,.2)}.platypus-light .mat-calendar-body-comparison-identical,.platypus-light .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.platypus-light .mat-calendar-body-comparison-bridge-start:before,.platypus-light [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(to right,rgba(0,150,136,.2) 50%,rgba(249,171,0,.2) 50%)}.platypus-light .mat-calendar-body-comparison-bridge-end:before,.platypus-light [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(to left,rgba(0,150,136,.2) 50%,rgba(249,171,0,.2) 50%)}.platypus-light .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.platypus-light .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after{background:#a8dab5}.platypus-light .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.platypus-light .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.platypus-light .mat-calendar-body-selected{background-color:#009688;color:#fff}.platypus-light .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:#00968866}.platypus-light .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.platypus-light .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.platypus-light .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:#0096884d}@media (hover: hover){.platypus-light .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:#0096884d}}.platypus-light .mat-datepicker-content{box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f;background-color:#8cc8c8;color:#000000de}.platypus-light .mat-datepicker-content.mat-accent .mat-calendar-body-in-range:before{background:rgba(255,171,64,.2)}.platypus-light .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-identical,.platypus-light .mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.platypus-light .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-bridge-start:before,.platypus-light .mat-datepicker-content.mat-accent [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(to right,rgba(255,171,64,.2) 50%,rgba(249,171,0,.2) 50%)}.platypus-light .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-bridge-end:before,.platypus-light .mat-datepicker-content.mat-accent [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(to left,rgba(255,171,64,.2) 50%,rgba(249,171,0,.2) 50%)}.platypus-light .mat-datepicker-content.mat-accent .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.platypus-light .mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after{background:#a8dab5}.platypus-light .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.platypus-light .mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.platypus-light .mat-datepicker-content.mat-accent .mat-calendar-body-selected{background-color:#ffab40;color:#000000de}.platypus-light .mat-datepicker-content.mat-accent .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:#ffab4066}.platypus-light .mat-datepicker-content.mat-accent .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #000000de}.platypus-light .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),.platypus-light .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:#ffab404d}@media (hover: hover){.platypus-light .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:#ffab404d}}.platypus-light .mat-datepicker-content.mat-warn .mat-calendar-body-in-range:before{background:rgba(244,67,54,.2)}.platypus-light .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-identical,.platypus-light .mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.platypus-light .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-bridge-start:before,.platypus-light .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%)}.platypus-light .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-bridge-end:before,.platypus-light .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%)}.platypus-light .mat-datepicker-content.mat-warn .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.platypus-light .mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after{background:#a8dab5}.platypus-light .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.platypus-light .mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.platypus-light .mat-datepicker-content.mat-warn .mat-calendar-body-selected{background-color:#f44336;color:#fff}.platypus-light .mat-datepicker-content.mat-warn .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:#f4433666}.platypus-light .mat-datepicker-content.mat-warn .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.platypus-light .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),.platypus-light .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){.platypus-light .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}}.platypus-light .mat-datepicker-content-touch{box-shadow:0 11px 15px -7px #0003,0 24px 38px 3px #00000024,0 9px 46px 8px #0000001f}.platypus-light .mat-datepicker-toggle-active{color:#009688}.platypus-light .mat-datepicker-toggle-active.mat-accent{color:#ffab40}.platypus-light .mat-datepicker-toggle-active.mat-warn{color:#f44336}.platypus-light .mat-date-range-input-inner[disabled]{color:#00000061}.platypus-light .mat-dialog-container{box-shadow:0 11px 15px -7px #0003,0 24px 38px 3px #00000024,0 9px 46px 8px #0000001f;background:#8cc8c8;color:#000000de}.platypus-light .mat-divider{border-top-color:#0000001f}.platypus-light .mat-divider-vertical{border-right-color:#0000001f}.platypus-light .mat-expansion-panel{background:#8cc8c8;color:#000000de}.platypus-light .mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.platypus-light .mat-action-row{border-top-color:#0000001f}.platypus-light .mat-expansion-panel .mat-expansion-panel-header.cdk-keyboard-focused:not([aria-disabled=true]),.platypus-light .mat-expansion-panel .mat-expansion-panel-header.cdk-program-focused:not([aria-disabled=true]),.platypus-light .mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:hover:not([aria-disabled=true]){background:rgba(0,0,0,.04)}@media (hover: none){.platypus-light .mat-expansion-panel:not(.mat-expanded):not([aria-disabled=true]) .mat-expansion-panel-header:hover{background:#8cc8c8}}.platypus-light .mat-expansion-panel-header-title{color:#000000de}.platypus-light .mat-expansion-panel-header-description,.platypus-light .mat-expansion-indicator:after{color:#0000008a}.platypus-light .mat-expansion-panel-header[aria-disabled=true]{color:#00000042}.platypus-light .mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-title,.platypus-light .mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-description{color:inherit}.platypus-light .mat-form-field-label,.platypus-light .mat-hint{color:#0009}.platypus-light .mat-form-field.mat-focused .mat-form-field-label{color:#009688}.platypus-light .mat-form-field.mat-focused .mat-form-field-label.mat-accent{color:#ffab40}.platypus-light .mat-form-field.mat-focused .mat-form-field-label.mat-warn{color:#f44336}.platypus-light .mat-focused .mat-form-field-required-marker{color:#ffab40}.platypus-light .mat-form-field-ripple{background-color:#000000de}.platypus-light .mat-form-field.mat-focused .mat-form-field-ripple{background-color:#009688}.platypus-light .mat-form-field.mat-focused .mat-form-field-ripple.mat-accent{background-color:#ffab40}.platypus-light .mat-form-field.mat-focused .mat-form-field-ripple.mat-warn{background-color:#f44336}.platypus-light .mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid) .mat-form-field-infix:after{color:#009688}.platypus-light .mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid).mat-accent .mat-form-field-infix:after{color:#ffab40}.platypus-light .mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid).mat-warn .mat-form-field-infix:after{color:#f44336}.platypus-light .mat-form-field.mat-form-field-invalid .mat-form-field-label,.platypus-light .mat-form-field.mat-form-field-invalid .mat-form-field-label.mat-accent,.platypus-light .mat-form-field.mat-form-field-invalid .mat-form-field-label .mat-form-field-required-marker{color:#f44336}.platypus-light .mat-form-field.mat-form-field-invalid .mat-form-field-ripple,.platypus-light .mat-form-field.mat-form-field-invalid .mat-form-field-ripple.mat-accent{background-color:#f44336}.platypus-light .mat-error{color:#f44336}.platypus-light .mat-form-field-appearance-legacy .mat-form-field-label,.platypus-light .mat-form-field-appearance-legacy .mat-hint{color:#0000008a}.platypus-light .mat-form-field-appearance-legacy .mat-form-field-underline{background-color:#0000006b}.platypus-light .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}.platypus-light .mat-form-field-appearance-standard .mat-form-field-underline{background-color:#0000006b}.platypus-light .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}.platypus-light .mat-form-field-appearance-fill .mat-form-field-flex{background-color:#0000000a}.platypus-light .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-flex{background-color:#00000005}.platypus-light .mat-form-field-appearance-fill .mat-form-field-underline:before{background-color:#0000006b}.platypus-light .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-label{color:#00000061}.platypus-light .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-underline:before{background-color:transparent}.platypus-light .mat-form-field-appearance-outline .mat-form-field-outline{color:#0000001f}.platypus-light .mat-form-field-appearance-outline .mat-form-field-outline-thick{color:#000000de}.platypus-light .mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick{color:#009688}.platypus-light .mat-form-field-appearance-outline.mat-focused.mat-accent .mat-form-field-outline-thick{color:#ffab40}.platypus-light .mat-form-field-appearance-outline.mat-focused.mat-warn .mat-form-field-outline-thick,.platypus-light .mat-form-field-appearance-outline.mat-form-field-invalid.mat-form-field-invalid .mat-form-field-outline-thick{color:#f44336}.platypus-light .mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-label{color:#00000061}.platypus-light .mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-outline{color:#0000000f}.platypus-light .mat-icon.mat-primary{color:#009688}.platypus-light .mat-icon.mat-accent{color:#ffab40}.platypus-light .mat-icon.mat-warn{color:#f44336}.platypus-light .mat-form-field-type-mat-native-select .mat-form-field-infix:after{color:#0000008a}.platypus-light .mat-input-element:disabled,.platypus-light .mat-form-field-type-mat-native-select.mat-form-field-disabled .mat-form-field-infix:after{color:#00000061}.platypus-light .mat-input-element{caret-color:#009688}.platypus-light .mat-input-element::placeholder{color:#0000006b}.platypus-light .mat-input-element::-moz-placeholder{color:#0000006b}.platypus-light .mat-input-element::-webkit-input-placeholder{color:#0000006b}.platypus-light .mat-input-element:-ms-input-placeholder{color:#0000006b}.platypus-light .mat-form-field.mat-accent .mat-input-element{caret-color:#ffab40}.platypus-light .mat-form-field.mat-warn .mat-input-element,.platypus-light .mat-form-field-invalid .mat-input-element{caret-color:#f44336}.platypus-light .mat-form-field-type-mat-native-select.mat-form-field-invalid .mat-form-field-infix:after{color:#f44336}.platypus-light .mat-list-base .mat-list-item,.platypus-light .mat-list-base .mat-list-option{color:#000000de}.platypus-light .mat-list-base .mat-subheader{color:#0000008a}.platypus-light .mat-list-base .mat-list-item-disabled{background-color:#8cc8c8;color:#00000061}.platypus-light .mat-list-option:hover,.platypus-light .mat-list-option:focus,.platypus-light .mat-nav-list .mat-list-item:hover,.platypus-light .mat-nav-list .mat-list-item:focus,.platypus-light .mat-action-list .mat-list-item:hover,.platypus-light .mat-action-list .mat-list-item:focus{background:rgba(0,0,0,.04)}.platypus-light .mat-list-single-selected-option,.platypus-light .mat-list-single-selected-option:hover,.platypus-light .mat-list-single-selected-option:focus{background:rgba(0,0,0,.12)}.platypus-light .mat-menu-panel{background:#8cc8c8}.platypus-light .mat-menu-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.platypus-light .mat-menu-item{background:transparent;color:#000000de}.platypus-light .mat-menu-item[disabled],.platypus-light .mat-menu-item[disabled] .mat-menu-submenu-icon,.platypus-light .mat-menu-item[disabled] .mat-icon-no-color{color:#00000061}.platypus-light .mat-menu-item .mat-icon-no-color,.platypus-light .mat-menu-submenu-icon{color:#0000008a}.platypus-light .mat-menu-item:hover:not([disabled]),.platypus-light .mat-menu-item.cdk-program-focused:not([disabled]),.platypus-light .mat-menu-item.cdk-keyboard-focused:not([disabled]),.platypus-light .mat-menu-item-highlighted:not([disabled]){background:rgba(0,0,0,.04)}.platypus-light .mat-paginator{background:#8cc8c8}.platypus-light .mat-paginator,.platypus-light .mat-paginator-page-size .mat-select-trigger{color:#0000008a}.platypus-light .mat-paginator-decrement,.platypus-light .mat-paginator-increment{border-top:2px solid rgba(0,0,0,.54);border-right:2px solid rgba(0,0,0,.54)}.platypus-light .mat-paginator-first,.platypus-light .mat-paginator-last{border-top:2px solid rgba(0,0,0,.54)}.platypus-light .mat-icon-button[disabled] .mat-paginator-decrement,.platypus-light .mat-icon-button[disabled] .mat-paginator-increment,.platypus-light .mat-icon-button[disabled] .mat-paginator-first,.platypus-light .mat-icon-button[disabled] .mat-paginator-last{border-color:#00000061}.platypus-light .mat-progress-bar-background{fill:#12928e}.platypus-light .mat-progress-bar-buffer{background-color:#12928e}.platypus-light .mat-progress-bar-fill:after{background-color:#009688}.platypus-light .mat-progress-bar.mat-accent .mat-progress-bar-background{fill:#52977c}.platypus-light .mat-progress-bar.mat-accent .mat-progress-bar-buffer{background-color:#52977c}.platypus-light .mat-progress-bar.mat-accent .mat-progress-bar-fill:after{background-color:#ffab40}.platypus-light .mat-progress-bar.mat-warn .mat-progress-bar-background{fill:#4f7d7a}.platypus-light .mat-progress-bar.mat-warn .mat-progress-bar-buffer{background-color:#4f7d7a}.platypus-light .mat-progress-bar.mat-warn .mat-progress-bar-fill:after{background-color:#f44336}.platypus-light .mat-progress-spinner circle,.platypus-light .mat-spinner circle{stroke:#009688}.platypus-light .mat-progress-spinner.mat-accent circle,.platypus-light .mat-spinner.mat-accent circle{stroke:#ffab40}.platypus-light .mat-progress-spinner.mat-warn circle,.platypus-light .mat-spinner.mat-warn circle{stroke:#f44336}.platypus-light .mat-radio-outer-circle{border-color:#0000008a}.platypus-light .mat-radio-button.mat-primary.mat-radio-checked .mat-radio-outer-circle{border-color:#009688}.platypus-light .mat-radio-button.mat-primary .mat-radio-inner-circle,.platypus-light .mat-radio-button.mat-primary .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.platypus-light .mat-radio-button.mat-primary.mat-radio-checked .mat-radio-persistent-ripple,.platypus-light .mat-radio-button.mat-primary:active .mat-radio-persistent-ripple{background-color:#009688}.platypus-light .mat-radio-button.mat-accent.mat-radio-checked .mat-radio-outer-circle{border-color:#ffab40}.platypus-light .mat-radio-button.mat-accent .mat-radio-inner-circle,.platypus-light .mat-radio-button.mat-accent .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.platypus-light .mat-radio-button.mat-accent.mat-radio-checked .mat-radio-persistent-ripple,.platypus-light .mat-radio-button.mat-accent:active .mat-radio-persistent-ripple{background-color:#ffab40}.platypus-light .mat-radio-button.mat-warn.mat-radio-checked .mat-radio-outer-circle{border-color:#f44336}.platypus-light .mat-radio-button.mat-warn .mat-radio-inner-circle,.platypus-light .mat-radio-button.mat-warn .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.platypus-light .mat-radio-button.mat-warn.mat-radio-checked .mat-radio-persistent-ripple,.platypus-light .mat-radio-button.mat-warn:active .mat-radio-persistent-ripple{background-color:#f44336}.platypus-light .mat-radio-button.mat-radio-disabled.mat-radio-checked .mat-radio-outer-circle,.platypus-light .mat-radio-button.mat-radio-disabled .mat-radio-outer-circle{border-color:#00000061}.platypus-light .mat-radio-button.mat-radio-disabled .mat-radio-ripple .mat-ripple-element,.platypus-light .mat-radio-button.mat-radio-disabled .mat-radio-inner-circle{background-color:#00000061}.platypus-light .mat-radio-button.mat-radio-disabled .mat-radio-label-content{color:#00000061}.platypus-light .mat-radio-button .mat-ripple-element{background-color:#000}.platypus-light .mat-select-value{color:#000000de}.platypus-light .mat-select-placeholder{color:#0000006b}.platypus-light .mat-select-disabled .mat-select-value{color:#00000061}.platypus-light .mat-select-arrow{color:#0000008a}.platypus-light .mat-select-panel{background:#8cc8c8}.platypus-light .mat-select-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.platypus-light .mat-select-panel .mat-option.mat-selected:not(.mat-option-multiple){background:rgba(0,0,0,.12)}.platypus-light .mat-form-field.mat-focused.mat-primary .mat-select-arrow{color:#009688}.platypus-light .mat-form-field.mat-focused.mat-accent .mat-select-arrow{color:#ffab40}.platypus-light .mat-form-field.mat-focused.mat-warn .mat-select-arrow,.platypus-light .mat-form-field .mat-select.mat-select-invalid .mat-select-arrow{color:#f44336}.platypus-light .mat-form-field .mat-select.mat-select-disabled .mat-select-arrow{color:#00000061}.platypus-light .mat-drawer-container{background-color:#189090;color:#000000de}.platypus-light .mat-drawer{background-color:#8cc8c8;color:#000000de}.platypus-light .mat-drawer.mat-drawer-push{background-color:#8cc8c8}.platypus-light .mat-drawer:not(.mat-drawer-side){box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f}.platypus-light .mat-drawer-side{border-right:solid 1px rgba(0,0,0,.12)}.platypus-light .mat-drawer-side.mat-drawer-end,.platypus-light [dir=rtl] .mat-drawer-side{border-left:solid 1px rgba(0,0,0,.12);border-right:none}.platypus-light [dir=rtl] .mat-drawer-side.mat-drawer-end{border-left:none;border-right:solid 1px rgba(0,0,0,.12)}.platypus-light .mat-drawer-backdrop.mat-drawer-shown{background-color:#73373799}.platypus-light .mat-slide-toggle.mat-checked .mat-slide-toggle-thumb{background-color:#ffab40}.platypus-light .mat-slide-toggle.mat-checked .mat-slide-toggle-bar{background-color:#ffab408a}.platypus-light .mat-slide-toggle.mat-checked .mat-ripple-element{background-color:#ffab40}.platypus-light .mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-thumb{background-color:#009688}.platypus-light .mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-bar{background-color:#0096888a}.platypus-light .mat-slide-toggle.mat-primary.mat-checked .mat-ripple-element{background-color:#009688}.platypus-light .mat-slide-toggle.mat-warn.mat-checked .mat-slide-toggle-thumb{background-color:#f44336}.platypus-light .mat-slide-toggle.mat-warn.mat-checked .mat-slide-toggle-bar{background-color:#f443368a}.platypus-light .mat-slide-toggle.mat-warn.mat-checked .mat-ripple-element{background-color:#f44336}.platypus-light .mat-slide-toggle:not(.mat-checked) .mat-ripple-element{background-color:#000}.platypus-light .mat-slide-toggle-thumb{box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f;background-color:#fafafa}.platypus-light .mat-slide-toggle-bar{background-color:#00000061}.platypus-light .mat-slider-track-background{background-color:#00000042}.platypus-light .mat-slider.mat-primary .mat-slider-track-fill,.platypus-light .mat-slider.mat-primary .mat-slider-thumb,.platypus-light .mat-slider.mat-primary .mat-slider-thumb-label{background-color:#009688}.platypus-light .mat-slider.mat-primary .mat-slider-thumb-label-text{color:#fff}.platypus-light .mat-slider.mat-primary .mat-slider-focus-ring{background-color:#00968833}.platypus-light .mat-slider.mat-accent .mat-slider-track-fill,.platypus-light .mat-slider.mat-accent .mat-slider-thumb,.platypus-light .mat-slider.mat-accent .mat-slider-thumb-label{background-color:#ffab40}.platypus-light .mat-slider.mat-accent .mat-slider-thumb-label-text{color:#000000de}.platypus-light .mat-slider.mat-accent .mat-slider-focus-ring{background-color:#ffab4033}.platypus-light .mat-slider.mat-warn .mat-slider-track-fill,.platypus-light .mat-slider.mat-warn .mat-slider-thumb,.platypus-light .mat-slider.mat-warn .mat-slider-thumb-label{background-color:#f44336}.platypus-light .mat-slider.mat-warn .mat-slider-thumb-label-text{color:#fff}.platypus-light .mat-slider.mat-warn .mat-slider-focus-ring{background-color:#f4433633}.platypus-light .mat-slider:hover .mat-slider-track-background,.platypus-light .mat-slider.cdk-focused .mat-slider-track-background{background-color:#00000061}.platypus-light .mat-slider.mat-slider-disabled .mat-slider-track-background,.platypus-light .mat-slider.mat-slider-disabled .mat-slider-track-fill,.platypus-light .mat-slider.mat-slider-disabled .mat-slider-thumb,.platypus-light .mat-slider.mat-slider-disabled:hover .mat-slider-track-background{background-color:#00000042}.platypus-light .mat-slider.mat-slider-min-value .mat-slider-focus-ring{background-color:#0000001f}.platypus-light .mat-slider.mat-slider-min-value.mat-slider-thumb-label-showing .mat-slider-thumb,.platypus-light .mat-slider.mat-slider-min-value.mat-slider-thumb-label-showing .mat-slider-thumb-label{background-color:#000000de}.platypus-light .mat-slider.mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb,.platypus-light .mat-slider.mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb-label{background-color:#00000042}.platypus-light .mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing) .mat-slider-thumb{border-color:#00000042;background-color:transparent}.platypus-light .mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover .mat-slider-thumb,.platypus-light .mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused .mat-slider-thumb{border-color:#00000061}.platypus-light .mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover.mat-slider-disabled .mat-slider-thumb,.platypus-light .mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused.mat-slider-disabled .mat-slider-thumb{border-color:#00000042}.platypus-light .mat-slider-has-ticks .mat-slider-wrapper:after{border-color:#000000b3}.platypus-light .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)}.platypus-light .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)}.platypus-light .mat-step-header.cdk-keyboard-focused,.platypus-light .mat-step-header.cdk-program-focused,.platypus-light .mat-step-header:hover:not([aria-disabled]),.platypus-light .mat-step-header:hover[aria-disabled=false]{background-color:#0000000a}.platypus-light .mat-step-header:hover[aria-disabled=true]{cursor:default}@media (hover: none){.platypus-light .mat-step-header:hover{background:none}}.platypus-light .mat-step-header .mat-step-label,.platypus-light .mat-step-header .mat-step-optional{color:#0000008a}.platypus-light .mat-step-header .mat-step-icon{background-color:#0000008a;color:#fff}.platypus-light .mat-step-header .mat-step-icon-selected,.platypus-light .mat-step-header .mat-step-icon-state-done,.platypus-light .mat-step-header .mat-step-icon-state-edit{background-color:#009688;color:#fff}.platypus-light .mat-step-header.mat-accent .mat-step-icon{color:#000000de}.platypus-light .mat-step-header.mat-accent .mat-step-icon-selected,.platypus-light .mat-step-header.mat-accent .mat-step-icon-state-done,.platypus-light .mat-step-header.mat-accent .mat-step-icon-state-edit{background-color:#ffab40;color:#000000de}.platypus-light .mat-step-header.mat-warn .mat-step-icon{color:#fff}.platypus-light .mat-step-header.mat-warn .mat-step-icon-selected,.platypus-light .mat-step-header.mat-warn .mat-step-icon-state-done,.platypus-light .mat-step-header.mat-warn .mat-step-icon-state-edit{background-color:#f44336;color:#fff}.platypus-light .mat-step-header .mat-step-icon-state-error{background-color:transparent;color:#f44336}.platypus-light .mat-step-header .mat-step-label.mat-step-label-active{color:#000000de}.platypus-light .mat-step-header .mat-step-label.mat-step-label-error{color:#f44336}.platypus-light .mat-stepper-horizontal,.platypus-light .mat-stepper-vertical{background-color:#8cc8c8}.platypus-light .mat-stepper-vertical-line:before{border-left-color:#0000001f}.platypus-light .mat-horizontal-stepper-header:before,.platypus-light .mat-horizontal-stepper-header:after,.platypus-light .mat-stepper-horizontal-line{border-top-color:#0000001f}.platypus-light .mat-sort-header-arrow{color:#405c5c}.platypus-light .mat-tab-nav-bar,.platypus-light .mat-tab-header{border-bottom:1px solid rgba(0,0,0,.12)}.platypus-light .mat-tab-group-inverted-header .mat-tab-nav-bar,.platypus-light .mat-tab-group-inverted-header .mat-tab-header{border-top:1px solid rgba(0,0,0,.12);border-bottom:none}.platypus-light .mat-tab-label,.platypus-light .mat-tab-link{color:#000000de}.platypus-light .mat-tab-label.mat-tab-disabled,.platypus-light .mat-tab-link.mat-tab-disabled{color:#00000061}.platypus-light .mat-tab-header-pagination-chevron{border-color:#000000de}.platypus-light .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:#00000061}.platypus-light .mat-tab-group[class*=mat-background-]>.mat-tab-header,.platypus-light .mat-tab-nav-bar[class*=mat-background-]{border-bottom:none;border-top:none}.platypus-light .mat-tab-group.mat-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.platypus-light .mat-tab-group.mat-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.platypus-light .mat-tab-group.mat-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.platypus-light .mat-tab-group.mat-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.platypus-light .mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.platypus-light .mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.platypus-light .mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.platypus-light .mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#b2dfdb4d}.platypus-light .mat-tab-group.mat-primary .mat-ink-bar,.platypus-light .mat-tab-nav-bar.mat-primary .mat-ink-bar{background-color:#009688}.platypus-light .mat-tab-group.mat-primary.mat-background-primary>.mat-tab-header .mat-ink-bar,.platypus-light .mat-tab-group.mat-primary.mat-background-primary>.mat-tab-link-container .mat-ink-bar,.platypus-light .mat-tab-nav-bar.mat-primary.mat-background-primary>.mat-tab-header .mat-ink-bar,.platypus-light .mat-tab-nav-bar.mat-primary.mat-background-primary>.mat-tab-link-container .mat-ink-bar{background-color:#fff}.platypus-light .mat-tab-group.mat-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.platypus-light .mat-tab-group.mat-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.platypus-light .mat-tab-group.mat-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.platypus-light .mat-tab-group.mat-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.platypus-light .mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.platypus-light .mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.platypus-light .mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.platypus-light .mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#ffd1804d}.platypus-light .mat-tab-group.mat-accent .mat-ink-bar,.platypus-light .mat-tab-nav-bar.mat-accent .mat-ink-bar{background-color:#ffab40}.platypus-light .mat-tab-group.mat-accent.mat-background-accent>.mat-tab-header .mat-ink-bar,.platypus-light .mat-tab-group.mat-accent.mat-background-accent>.mat-tab-link-container .mat-ink-bar,.platypus-light .mat-tab-nav-bar.mat-accent.mat-background-accent>.mat-tab-header .mat-ink-bar,.platypus-light .mat-tab-nav-bar.mat-accent.mat-background-accent>.mat-tab-link-container .mat-ink-bar{background-color:#000000de}.platypus-light .mat-tab-group.mat-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.platypus-light .mat-tab-group.mat-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.platypus-light .mat-tab-group.mat-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.platypus-light .mat-tab-group.mat-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.platypus-light .mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.platypus-light .mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.platypus-light .mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.platypus-light .mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#ffcdd24d}.platypus-light .mat-tab-group.mat-warn .mat-ink-bar,.platypus-light .mat-tab-nav-bar.mat-warn .mat-ink-bar{background-color:#f44336}.platypus-light .mat-tab-group.mat-warn.mat-background-warn>.mat-tab-header .mat-ink-bar,.platypus-light .mat-tab-group.mat-warn.mat-background-warn>.mat-tab-link-container .mat-ink-bar,.platypus-light .mat-tab-nav-bar.mat-warn.mat-background-warn>.mat-tab-header .mat-ink-bar,.platypus-light .mat-tab-nav-bar.mat-warn.mat-background-warn>.mat-tab-link-container .mat-ink-bar{background-color:#fff}.platypus-light .mat-tab-group.mat-background-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.platypus-light .mat-tab-group.mat-background-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.platypus-light .mat-tab-group.mat-background-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.platypus-light .mat-tab-group.mat-background-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.platypus-light .mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.platypus-light .mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.platypus-light .mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.platypus-light .mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#b2dfdb4d}.platypus-light .mat-tab-group.mat-background-primary>.mat-tab-header,.platypus-light .mat-tab-group.mat-background-primary>.mat-tab-link-container,.platypus-light .mat-tab-group.mat-background-primary>.mat-tab-header-pagination,.platypus-light .mat-tab-nav-bar.mat-background-primary>.mat-tab-header,.platypus-light .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container,.platypus-light .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination{background-color:#009688}.platypus-light .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-label,.platypus-light .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-tab-link,.platypus-light .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-label,.platypus-light .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-tab-link{color:#fff}.platypus-light .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-label.mat-tab-disabled,.platypus-light .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.platypus-light .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-label.mat-tab-disabled,.platypus-light .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:#fff6}.platypus-light .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-chevron,.platypus-light .mat-tab-group.mat-background-primary>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.platypus-light .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-focus-indicator:before,.platypus-light .mat-tab-group.mat-background-primary>.mat-tab-header .mat-focus-indicator:before,.platypus-light .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-chevron,.platypus-light .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.platypus-light .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-focus-indicator:before,.platypus-light .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-focus-indicator:before{border-color:#fff}.platypus-light .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.platypus-light .mat-tab-group.mat-background-primary>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.platypus-light .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.platypus-light .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:#fff;opacity:.4}.platypus-light .mat-tab-group.mat-background-primary>.mat-tab-header .mat-ripple-element,.platypus-light .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-ripple-element,.platypus-light .mat-tab-group.mat-background-primary>.mat-tab-header-pagination .mat-ripple-element,.platypus-light .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-ripple-element,.platypus-light .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-ripple-element,.platypus-light .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination .mat-ripple-element{background-color:#fff;opacity:.12}.platypus-light .mat-tab-group.mat-background-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.platypus-light .mat-tab-group.mat-background-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.platypus-light .mat-tab-group.mat-background-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.platypus-light .mat-tab-group.mat-background-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.platypus-light .mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.platypus-light .mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.platypus-light .mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.platypus-light .mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#ffd1804d}.platypus-light .mat-tab-group.mat-background-accent>.mat-tab-header,.platypus-light .mat-tab-group.mat-background-accent>.mat-tab-link-container,.platypus-light .mat-tab-group.mat-background-accent>.mat-tab-header-pagination,.platypus-light .mat-tab-nav-bar.mat-background-accent>.mat-tab-header,.platypus-light .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container,.platypus-light .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination{background-color:#ffab40}.platypus-light .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-label,.platypus-light .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-tab-link,.platypus-light .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-label,.platypus-light .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-tab-link{color:#000000de}.platypus-light .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-label.mat-tab-disabled,.platypus-light .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.platypus-light .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-label.mat-tab-disabled,.platypus-light .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:#0006}.platypus-light .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-chevron,.platypus-light .mat-tab-group.mat-background-accent>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.platypus-light .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-focus-indicator:before,.platypus-light .mat-tab-group.mat-background-accent>.mat-tab-header .mat-focus-indicator:before,.platypus-light .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-chevron,.platypus-light .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.platypus-light .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-focus-indicator:before,.platypus-light .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-focus-indicator:before{border-color:#000000de}.platypus-light .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.platypus-light .mat-tab-group.mat-background-accent>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.platypus-light .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.platypus-light .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:#000;opacity:.4}.platypus-light .mat-tab-group.mat-background-accent>.mat-tab-header .mat-ripple-element,.platypus-light .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-ripple-element,.platypus-light .mat-tab-group.mat-background-accent>.mat-tab-header-pagination .mat-ripple-element,.platypus-light .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-ripple-element,.platypus-light .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-ripple-element,.platypus-light .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination .mat-ripple-element{background-color:#000;opacity:.12}.platypus-light .mat-tab-group.mat-background-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.platypus-light .mat-tab-group.mat-background-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.platypus-light .mat-tab-group.mat-background-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.platypus-light .mat-tab-group.mat-background-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.platypus-light .mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.platypus-light .mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.platypus-light .mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.platypus-light .mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#ffcdd24d}.platypus-light .mat-tab-group.mat-background-warn>.mat-tab-header,.platypus-light .mat-tab-group.mat-background-warn>.mat-tab-link-container,.platypus-light .mat-tab-group.mat-background-warn>.mat-tab-header-pagination,.platypus-light .mat-tab-nav-bar.mat-background-warn>.mat-tab-header,.platypus-light .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container,.platypus-light .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination{background-color:#f44336}.platypus-light .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-label,.platypus-light .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-tab-link,.platypus-light .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-label,.platypus-light .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-tab-link{color:#fff}.platypus-light .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-label.mat-tab-disabled,.platypus-light .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.platypus-light .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-label.mat-tab-disabled,.platypus-light .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:#fff6}.platypus-light .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-chevron,.platypus-light .mat-tab-group.mat-background-warn>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.platypus-light .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-focus-indicator:before,.platypus-light .mat-tab-group.mat-background-warn>.mat-tab-header .mat-focus-indicator:before,.platypus-light .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-chevron,.platypus-light .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.platypus-light .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-focus-indicator:before,.platypus-light .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-focus-indicator:before{border-color:#fff}.platypus-light .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.platypus-light .mat-tab-group.mat-background-warn>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.platypus-light .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.platypus-light .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:#fff;opacity:.4}.platypus-light .mat-tab-group.mat-background-warn>.mat-tab-header .mat-ripple-element,.platypus-light .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-ripple-element,.platypus-light .mat-tab-group.mat-background-warn>.mat-tab-header-pagination .mat-ripple-element,.platypus-light .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-ripple-element,.platypus-light .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-ripple-element,.platypus-light .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination .mat-ripple-element{background-color:#fff;opacity:.12}.platypus-light .mat-toolbar{background:#badede;color:#000000de}.platypus-light .mat-toolbar.mat-primary{background:#009688;color:#fff}.platypus-light .mat-toolbar.mat-accent{background:#ffab40;color:#000000de}.platypus-light .mat-toolbar.mat-warn{background:#f44336;color:#fff}.platypus-light .mat-toolbar .mat-form-field-underline,.platypus-light .mat-toolbar .mat-form-field-ripple,.platypus-light .mat-toolbar .mat-focused .mat-form-field-ripple{background-color:currentColor}.platypus-light .mat-toolbar .mat-form-field-label,.platypus-light .mat-toolbar .mat-focused .mat-form-field-label,.platypus-light .mat-toolbar .mat-select-value,.platypus-light .mat-toolbar .mat-select-arrow,.platypus-light .mat-toolbar .mat-form-field.mat-focused .mat-select-arrow{color:inherit}.platypus-light .mat-toolbar .mat-input-element{caret-color:currentColor}.platypus-light .mat-tree{background:#8cc8c8}.platypus-light .mat-tree-node,.platypus-light .mat-nested-tree-node{color:#000000de}.platypus-light .mat-snack-bar-container{color:#ffffffb3;background:#323232;box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.platypus-light .mat-simple-snackbar-action{color:#ffab40}.platypus-light .app-defaults{background-color:#189090;color:#000000de}.platypus-light .theme-menu{background-color:#ffab40}.platypus-light .menuBarButtonGroup{background-color:#0000001f}.platypus-light .tabGroups{padding-left:0;min-height:100%;height:100%}.platypus-light .tabGroupPanel{display:block;margin:10px 20px 20px}.platypus-light .formActionFooter{width:100%;text-align:end}.platypus-light .formActionButton{margin-left:10px}.platypus-light .formActionDivider{margin-top:10px;margin-bottom:10px}.platypus-light .as-split-gutter{background-color:transparent!important}.platypus-light .primary{color:#4db6ac}.platypus-light .accent{color:#ffb74d}.platypus-light .warn{color:#e57373}.platypus-light .primaryDark{color:#004d40}.platypus-light .accentDark{color:#e65100}.platypus-light .warnDark{color:#b71c1c}.platypus-light .background{color:#0000001f}.platypus-light .text{color:#000000de}.platypus-light .pathMetaDescription{font:small-caption;color:#00000061}.platypus-light .textGenericWrapper{position:relative;width:100%;height:100%}.platypus-light .canvas-size{position:absolute;top:0;left:0}.platypus-light .warn{color:#f44336}.platypus-light .warn-contrast{color:#fff}.platypus-light DIV.apScreen{display:block;position:relative;width:360px;height:220.5px;margin:auto;text-align:center;border-radius:5px;border:1px solid rgba(0,0,0,.12);background-color:#0000001f}.platypus-light .apScreen .apCompass{position:relative;width:360px;height:202px;margin:auto;border-radius:5px}.platypus-light .apStatusBar{width:360px;height:18.5px;border-bottom-left-radius:5px;border-bottom-right-radius:5px;background-color:#000}.platypus-light .apStatusBar,.platypus-light .apStatusBar DIV{display:inline-block;position:relative}.platypus-light .apScreen .apStencil{position:absolute;top:0;left:0;width:100%;height:100%;margin:auto;border-radius:5px;z-index:10;vertical-align:middle;background-color:#189090}.platypus-light .apStencil.confirmCommand{z-index:5;visibility:hidden}.platypus-light .apStencil.error{z-index:6;visibility:hidden}.platypus-light .apText{fill:#000000de}.platypus-light .boatBackground{stop-color:#c7c7c7!important}.platypus-light .heading-background{stroke:#000;fill:#afafaf}.platypus-light .wind-text{fill:#000;stroke:#000}.platypus-light .laylines{stroke:#000000de}.platypus-light .wind-sector-port{fill:red}.platypus-light .wind-sector-stbd{fill:#1fce04}.platypus-light .compass-outer-ring{stroke:#757575}.platypus-light .compass-inner-ring{stroke:#afafaf;fill:#afafaf}.platypus-light .wind-rose-background{stroke:#8a8a8a}.platypus-light .sailSetupBoat{stroke:#afafaf}.platypus-light .sailSetupFull{fill:#4db6ac}.platypus-light .sailSetupReef1{fill:#ffb74d}.platypus-light .sailSetupReef2{fill:#e57373}.platypus-light .sailSetupReef3{fill:#f44336}.platypus-light .port{stroke:red}.platypus-light .starboard{stroke:#1fce04}.platypus-light .rudderPort{fill:#d52626}.platypus-light .rudderStarboard{fill:#389c19}.platypus-light .true-wind{fill:#068dfb}.platypus-light .app-wind{fill:#06fb06}.platypus-light .simpleLinear-text{fill:#000000de}.platypus-light .windWrapper{position:relative;width:100%;height:100%}.platypus-light .matBadge{z-index:1000}.platypus-light .mute-unmte-alarm{width:max-content}.platypus-light .alarmWarning{animation:blinkingAlarmWarning 1.5s infinite;background-color:orange!important}.platypus-light .alarmCrit{animation:blinkingAlarmCrit .25s infinite}.platypus-light .muteSoundButton:hover{background:rgba(255,255,255,.04)}.platypus-light .serverStatus{background-color:#0000001f;margin:7% 5% 0%;padding:10px 20px 20px}.platypus-light .descriptiveTexts{color:#000000de;font-size:14px}.platypus-light .flex-item{flex:1 1 29%;background-color:#0000001f;padding:20px;border-radius:4px}.platypus-light .flex-item-copy{flex:2 1 40%;background-color:#0000001f;padding:10px 20px;border-radius:4px}.darkBlue-dark .mat-ripple-element{background-color:#a5e1fd1a}.darkBlue-dark .mat-option{color:#a5e1fd}.darkBlue-dark .mat-option:hover:not(.mat-option-disabled),.darkBlue-dark .mat-option:focus:not(.mat-option-disabled){background:rgba(255,255,255,.04)}.darkBlue-dark .mat-option.mat-selected:not(.mat-option-multiple):not(.mat-option-disabled){background:rgba(255,255,255,.04)}.darkBlue-dark .mat-option.mat-active{background:rgba(255,255,255,.04);color:#a5e1fd}.darkBlue-dark .mat-option.mat-option-disabled{color:#a5e1fd4d}.darkBlue-dark .mat-primary .mat-option.mat-selected:not(.mat-option-disabled){color:#000e60}.darkBlue-dark .mat-accent .mat-option.mat-selected:not(.mat-option-disabled){color:#2196f3}.darkBlue-dark .mat-warn .mat-option.mat-selected:not(.mat-option-disabled){color:#f44336}.darkBlue-dark .mat-optgroup-label{color:#a5e1fdb3}.darkBlue-dark .mat-optgroup-disabled .mat-optgroup-label{color:#a5e1fd4d}.darkBlue-dark .mat-pseudo-checkbox{color:#a5e1fdb3}.darkBlue-dark .mat-pseudo-checkbox:after{color:#000e60}.darkBlue-dark .mat-pseudo-checkbox-disabled{color:#686868}.darkBlue-dark .mat-primary .mat-pseudo-checkbox-checked,.darkBlue-dark .mat-primary .mat-pseudo-checkbox-indeterminate{background:#000e60}.darkBlue-dark .mat-pseudo-checkbox-checked,.darkBlue-dark .mat-pseudo-checkbox-indeterminate,.darkBlue-dark .mat-accent .mat-pseudo-checkbox-checked,.darkBlue-dark .mat-accent .mat-pseudo-checkbox-indeterminate{background:#2196f3}.darkBlue-dark .mat-warn .mat-pseudo-checkbox-checked,.darkBlue-dark .mat-warn .mat-pseudo-checkbox-indeterminate{background:#f44336}.darkBlue-dark .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.darkBlue-dark .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background:#686868}.darkBlue-dark .mat-app-background,.darkBlue-dark.mat-app-background{background-color:#000e60;color:#a5e1fd}.darkBlue-dark .mat-elevation-z0{box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.darkBlue-dark .mat-elevation-z1{box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f}.darkBlue-dark .mat-elevation-z2{box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.darkBlue-dark .mat-elevation-z3{box-shadow:0 3px 3px -2px #0003,0 3px 4px #00000024,0 1px 8px #0000001f}.darkBlue-dark .mat-elevation-z4{box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.darkBlue-dark .mat-elevation-z5{box-shadow:0 3px 5px -1px #0003,0 5px 8px #00000024,0 1px 14px #0000001f}.darkBlue-dark .mat-elevation-z6{box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.darkBlue-dark .mat-elevation-z7{box-shadow:0 4px 5px -2px #0003,0 7px 10px 1px #00000024,0 2px 16px 1px #0000001f}.darkBlue-dark .mat-elevation-z8{box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.darkBlue-dark .mat-elevation-z9{box-shadow:0 5px 6px -3px #0003,0 9px 12px 1px #00000024,0 3px 16px 2px #0000001f}.darkBlue-dark .mat-elevation-z10{box-shadow:0 6px 6px -3px #0003,0 10px 14px 1px #00000024,0 4px 18px 3px #0000001f}.darkBlue-dark .mat-elevation-z11{box-shadow:0 6px 7px -4px #0003,0 11px 15px 1px #00000024,0 4px 20px 3px #0000001f}.darkBlue-dark .mat-elevation-z12{box-shadow:0 7px 8px -4px #0003,0 12px 17px 2px #00000024,0 5px 22px 4px #0000001f}.darkBlue-dark .mat-elevation-z13{box-shadow:0 7px 8px -4px #0003,0 13px 19px 2px #00000024,0 5px 24px 4px #0000001f}.darkBlue-dark .mat-elevation-z14{box-shadow:0 7px 9px -4px #0003,0 14px 21px 2px #00000024,0 5px 26px 4px #0000001f}.darkBlue-dark .mat-elevation-z15{box-shadow:0 8px 9px -5px #0003,0 15px 22px 2px #00000024,0 6px 28px 5px #0000001f}.darkBlue-dark .mat-elevation-z16{box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f}.darkBlue-dark .mat-elevation-z17{box-shadow:0 8px 11px -5px #0003,0 17px 26px 2px #00000024,0 6px 32px 5px #0000001f}.darkBlue-dark .mat-elevation-z18{box-shadow:0 9px 11px -5px #0003,0 18px 28px 2px #00000024,0 7px 34px 6px #0000001f}.darkBlue-dark .mat-elevation-z19{box-shadow:0 9px 12px -6px #0003,0 19px 29px 2px #00000024,0 7px 36px 6px #0000001f}.darkBlue-dark .mat-elevation-z20{box-shadow:0 10px 13px -6px #0003,0 20px 31px 3px #00000024,0 8px 38px 7px #0000001f}.darkBlue-dark .mat-elevation-z21{box-shadow:0 10px 13px -6px #0003,0 21px 33px 3px #00000024,0 8px 40px 7px #0000001f}.darkBlue-dark .mat-elevation-z22{box-shadow:0 10px 14px -6px #0003,0 22px 35px 3px #00000024,0 8px 42px 7px #0000001f}.darkBlue-dark .mat-elevation-z23{box-shadow:0 11px 14px -7px #0003,0 23px 36px 3px #00000024,0 9px 44px 8px #0000001f}.darkBlue-dark .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}.darkBlue-dark .mat-autocomplete-panel{background:#000844;color:#a5e1fd}.darkBlue-dark .mat-autocomplete-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.darkBlue-dark .mat-autocomplete-panel .mat-option.mat-selected:not(.mat-active):not(:hover){background:#000844}.darkBlue-dark .mat-autocomplete-panel .mat-option.mat-selected:not(.mat-active):not(:hover):not(.mat-option-disabled){color:#a5e1fd}.darkBlue-dark .mat-badge-content{color:#fff;background:#000e60}.cdk-high-contrast-active .darkBlue-dark .mat-badge-content{outline:solid 1px;border-radius:0}.darkBlue-dark .mat-badge-accent .mat-badge-content{background:#2196f3;color:#fff}.darkBlue-dark .mat-badge-warn .mat-badge-content{color:#fff;background:#f44336}.darkBlue-dark .mat-badge-disabled .mat-badge-content{background:#324d8f;color:#a5e1fd4d}.darkBlue-dark .mat-bottom-sheet-container{box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f;background:#000844;color:#a5e1fd}.darkBlue-dark .mat-button,.darkBlue-dark .mat-icon-button,.darkBlue-dark .mat-stroked-button{color:inherit;background:transparent}.darkBlue-dark .mat-button.mat-primary,.darkBlue-dark .mat-icon-button.mat-primary,.darkBlue-dark .mat-stroked-button.mat-primary{color:#000e60}.darkBlue-dark .mat-button.mat-accent,.darkBlue-dark .mat-icon-button.mat-accent,.darkBlue-dark .mat-stroked-button.mat-accent{color:#2196f3}.darkBlue-dark .mat-button.mat-warn,.darkBlue-dark .mat-icon-button.mat-warn,.darkBlue-dark .mat-stroked-button.mat-warn{color:#f44336}.darkBlue-dark .mat-button.mat-primary.mat-button-disabled,.darkBlue-dark .mat-button.mat-accent.mat-button-disabled,.darkBlue-dark .mat-button.mat-warn.mat-button-disabled,.darkBlue-dark .mat-button.mat-button-disabled.mat-button-disabled,.darkBlue-dark .mat-icon-button.mat-primary.mat-button-disabled,.darkBlue-dark .mat-icon-button.mat-accent.mat-button-disabled,.darkBlue-dark .mat-icon-button.mat-warn.mat-button-disabled,.darkBlue-dark .mat-icon-button.mat-button-disabled.mat-button-disabled,.darkBlue-dark .mat-stroked-button.mat-primary.mat-button-disabled,.darkBlue-dark .mat-stroked-button.mat-accent.mat-button-disabled,.darkBlue-dark .mat-stroked-button.mat-warn.mat-button-disabled,.darkBlue-dark .mat-stroked-button.mat-button-disabled.mat-button-disabled{color:#a5e1fd4d}.darkBlue-dark .mat-button.mat-primary .mat-button-focus-overlay,.darkBlue-dark .mat-icon-button.mat-primary .mat-button-focus-overlay,.darkBlue-dark .mat-stroked-button.mat-primary .mat-button-focus-overlay{background-color:#000e60}.darkBlue-dark .mat-button.mat-accent .mat-button-focus-overlay,.darkBlue-dark .mat-icon-button.mat-accent .mat-button-focus-overlay,.darkBlue-dark .mat-stroked-button.mat-accent .mat-button-focus-overlay{background-color:#2196f3}.darkBlue-dark .mat-button.mat-warn .mat-button-focus-overlay,.darkBlue-dark .mat-icon-button.mat-warn .mat-button-focus-overlay,.darkBlue-dark .mat-stroked-button.mat-warn .mat-button-focus-overlay{background-color:#f44336}.darkBlue-dark .mat-button.mat-button-disabled .mat-button-focus-overlay,.darkBlue-dark .mat-icon-button.mat-button-disabled .mat-button-focus-overlay,.darkBlue-dark .mat-stroked-button.mat-button-disabled .mat-button-focus-overlay{background-color:transparent}.darkBlue-dark .mat-button .mat-ripple-element,.darkBlue-dark .mat-icon-button .mat-ripple-element,.darkBlue-dark .mat-stroked-button .mat-ripple-element{opacity:.1;background-color:currentColor}.darkBlue-dark .mat-button-focus-overlay{background:#a5e1fd}.darkBlue-dark .mat-stroked-button:not(.mat-button-disabled){border-color:#ffffff1f}.darkBlue-dark .mat-flat-button,.darkBlue-dark .mat-raised-button,.darkBlue-dark .mat-fab,.darkBlue-dark .mat-mini-fab{color:#a5e1fd;background-color:#000844}.darkBlue-dark .mat-flat-button.mat-primary,.darkBlue-dark .mat-raised-button.mat-primary,.darkBlue-dark .mat-fab.mat-primary,.darkBlue-dark .mat-mini-fab.mat-primary,.darkBlue-dark .mat-flat-button.mat-accent,.darkBlue-dark .mat-raised-button.mat-accent,.darkBlue-dark .mat-fab.mat-accent,.darkBlue-dark .mat-mini-fab.mat-accent,.darkBlue-dark .mat-flat-button.mat-warn,.darkBlue-dark .mat-raised-button.mat-warn,.darkBlue-dark .mat-fab.mat-warn,.darkBlue-dark .mat-mini-fab.mat-warn{color:#fff}.darkBlue-dark .mat-flat-button.mat-primary.mat-button-disabled,.darkBlue-dark .mat-flat-button.mat-accent.mat-button-disabled,.darkBlue-dark .mat-flat-button.mat-warn.mat-button-disabled,.darkBlue-dark .mat-flat-button.mat-button-disabled.mat-button-disabled,.darkBlue-dark .mat-raised-button.mat-primary.mat-button-disabled,.darkBlue-dark .mat-raised-button.mat-accent.mat-button-disabled,.darkBlue-dark .mat-raised-button.mat-warn.mat-button-disabled,.darkBlue-dark .mat-raised-button.mat-button-disabled.mat-button-disabled,.darkBlue-dark .mat-fab.mat-primary.mat-button-disabled,.darkBlue-dark .mat-fab.mat-accent.mat-button-disabled,.darkBlue-dark .mat-fab.mat-warn.mat-button-disabled,.darkBlue-dark .mat-fab.mat-button-disabled.mat-button-disabled,.darkBlue-dark .mat-mini-fab.mat-primary.mat-button-disabled,.darkBlue-dark .mat-mini-fab.mat-accent.mat-button-disabled,.darkBlue-dark .mat-mini-fab.mat-warn.mat-button-disabled,.darkBlue-dark .mat-mini-fab.mat-button-disabled.mat-button-disabled{color:#a5e1fd4d}.darkBlue-dark .mat-flat-button.mat-primary,.darkBlue-dark .mat-raised-button.mat-primary,.darkBlue-dark .mat-fab.mat-primary,.darkBlue-dark .mat-mini-fab.mat-primary{background-color:#000e60}.darkBlue-dark .mat-flat-button.mat-accent,.darkBlue-dark .mat-raised-button.mat-accent,.darkBlue-dark .mat-fab.mat-accent,.darkBlue-dark .mat-mini-fab.mat-accent{background-color:#2196f3}.darkBlue-dark .mat-flat-button.mat-warn,.darkBlue-dark .mat-raised-button.mat-warn,.darkBlue-dark .mat-fab.mat-warn,.darkBlue-dark .mat-mini-fab.mat-warn{background-color:#f44336}.darkBlue-dark .mat-flat-button.mat-primary.mat-button-disabled,.darkBlue-dark .mat-flat-button.mat-accent.mat-button-disabled,.darkBlue-dark .mat-flat-button.mat-warn.mat-button-disabled,.darkBlue-dark .mat-flat-button.mat-button-disabled.mat-button-disabled,.darkBlue-dark .mat-raised-button.mat-primary.mat-button-disabled,.darkBlue-dark .mat-raised-button.mat-accent.mat-button-disabled,.darkBlue-dark .mat-raised-button.mat-warn.mat-button-disabled,.darkBlue-dark .mat-raised-button.mat-button-disabled.mat-button-disabled,.darkBlue-dark .mat-fab.mat-primary.mat-button-disabled,.darkBlue-dark .mat-fab.mat-accent.mat-button-disabled,.darkBlue-dark .mat-fab.mat-warn.mat-button-disabled,.darkBlue-dark .mat-fab.mat-button-disabled.mat-button-disabled,.darkBlue-dark .mat-mini-fab.mat-primary.mat-button-disabled,.darkBlue-dark .mat-mini-fab.mat-accent.mat-button-disabled,.darkBlue-dark .mat-mini-fab.mat-warn.mat-button-disabled,.darkBlue-dark .mat-mini-fab.mat-button-disabled.mat-button-disabled{background-color:#ffffff1f}.darkBlue-dark .mat-flat-button.mat-primary .mat-ripple-element,.darkBlue-dark .mat-raised-button.mat-primary .mat-ripple-element,.darkBlue-dark .mat-fab.mat-primary .mat-ripple-element,.darkBlue-dark .mat-mini-fab.mat-primary .mat-ripple-element,.darkBlue-dark .mat-flat-button.mat-accent .mat-ripple-element,.darkBlue-dark .mat-raised-button.mat-accent .mat-ripple-element,.darkBlue-dark .mat-fab.mat-accent .mat-ripple-element,.darkBlue-dark .mat-mini-fab.mat-accent .mat-ripple-element,.darkBlue-dark .mat-flat-button.mat-warn .mat-ripple-element,.darkBlue-dark .mat-raised-button.mat-warn .mat-ripple-element,.darkBlue-dark .mat-fab.mat-warn .mat-ripple-element,.darkBlue-dark .mat-mini-fab.mat-warn .mat-ripple-element{background-color:#ffffff1a}.darkBlue-dark .mat-stroked-button:not([class*=mat-elevation-z]),.darkBlue-dark .mat-flat-button:not([class*=mat-elevation-z]){box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.darkBlue-dark .mat-raised-button:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.darkBlue-dark .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}.darkBlue-dark .mat-raised-button.mat-button-disabled:not([class*=mat-elevation-z]){box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.darkBlue-dark .mat-fab:not([class*=mat-elevation-z]),.darkBlue-dark .mat-mini-fab:not([class*=mat-elevation-z]){box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.darkBlue-dark .mat-fab:not(.mat-button-disabled):active:not([class*=mat-elevation-z]),.darkBlue-dark .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}.darkBlue-dark .mat-fab.mat-button-disabled:not([class*=mat-elevation-z]),.darkBlue-dark .mat-mini-fab.mat-button-disabled:not([class*=mat-elevation-z]){box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.darkBlue-dark .mat-button-toggle-standalone:not([class*=mat-elevation-z]),.darkBlue-dark .mat-button-toggle-group:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.darkBlue-dark .mat-button-toggle-standalone.mat-button-toggle-appearance-standard:not([class*=mat-elevation-z]),.darkBlue-dark .mat-button-toggle-group-appearance-standard:not([class*=mat-elevation-z]){box-shadow:none}.darkBlue-dark .mat-button-toggle{color:#a5e1fd4d}.darkBlue-dark .mat-button-toggle .mat-button-toggle-focus-overlay{background-color:#ffffff0f}.darkBlue-dark .mat-button-toggle-appearance-standard{color:#a5e1fd;background:#000844}.darkBlue-dark .mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{background-color:#fff}.darkBlue-dark .mat-button-toggle-group-appearance-standard .mat-button-toggle+.mat-button-toggle{border-left:solid 1px #1f265a}.darkBlue-dark [dir=rtl] .mat-button-toggle-group-appearance-standard .mat-button-toggle+.mat-button-toggle{border-left:none;border-right:solid 1px #1f265a}.darkBlue-dark .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 #1f265a}.darkBlue-dark .mat-button-toggle-checked{background-color:#000433;color:#a5e1fdb3}.darkBlue-dark .mat-button-toggle-checked.mat-button-toggle-appearance-standard{color:#a5e1fd}.darkBlue-dark .mat-button-toggle-disabled{color:#a5e1fd4d;background-color:#000}.darkBlue-dark .mat-button-toggle-disabled.mat-button-toggle-appearance-standard{background:#000844}.darkBlue-dark .mat-button-toggle-disabled.mat-button-toggle-checked{background-color:#000844}.darkBlue-dark .mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.darkBlue-dark .mat-button-toggle-group-appearance-standard{border:solid 1px #1f265a}.darkBlue-dark .mat-card{background:#000844;color:#a5e1fd}.darkBlue-dark .mat-card:not([class*=mat-elevation-z]){box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f}.darkBlue-dark .mat-card.mat-card-flat:not([class*=mat-elevation-z]){box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.darkBlue-dark .mat-card-subtitle{color:#a5e1fdb3}.darkBlue-dark .mat-checkbox-frame{border-color:#a5e1fdb3}.darkBlue-dark .mat-checkbox-checkmark{fill:#000e60}.darkBlue-dark .mat-checkbox-checkmark-path{stroke:#000e60!important}.darkBlue-dark .mat-checkbox-mixedmark,.darkBlue-dark .mat-checkbox-indeterminate.mat-primary .mat-checkbox-background,.darkBlue-dark .mat-checkbox-checked.mat-primary .mat-checkbox-background{background-color:#000e60}.darkBlue-dark .mat-checkbox-indeterminate.mat-accent .mat-checkbox-background,.darkBlue-dark .mat-checkbox-checked.mat-accent .mat-checkbox-background{background-color:#2196f3}.darkBlue-dark .mat-checkbox-indeterminate.mat-warn .mat-checkbox-background,.darkBlue-dark .mat-checkbox-checked.mat-warn .mat-checkbox-background{background-color:#f44336}.darkBlue-dark .mat-checkbox-disabled.mat-checkbox-checked .mat-checkbox-background,.darkBlue-dark .mat-checkbox-disabled.mat-checkbox-indeterminate .mat-checkbox-background{background-color:#686868}.darkBlue-dark .mat-checkbox-disabled:not(.mat-checkbox-checked) .mat-checkbox-frame{border-color:#686868}.darkBlue-dark .mat-checkbox-disabled .mat-checkbox-label{color:#a5e1fd4d}.darkBlue-dark .mat-checkbox .mat-ripple-element{background-color:#a5e1fd}.darkBlue-dark .mat-checkbox-checked:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element,.darkBlue-dark .mat-checkbox:active:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element{background:#000e60}.darkBlue-dark .mat-checkbox-checked:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element,.darkBlue-dark .mat-checkbox:active:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element{background:#2196f3}.darkBlue-dark .mat-checkbox-checked:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element,.darkBlue-dark .mat-checkbox:active:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element{background:#f44336}.darkBlue-dark .mat-chip.mat-standard-chip{background-color:#000a4e;color:#a5e1fd}.darkBlue-dark .mat-chip.mat-standard-chip .mat-chip-remove{color:#a5e1fd;opacity:.4}.darkBlue-dark .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}.darkBlue-dark .mat-chip.mat-standard-chip:not(.mat-chip-disabled) .mat-chip-remove:hover{opacity:.54}.darkBlue-dark .mat-chip.mat-standard-chip.mat-chip-disabled{opacity:.4}.darkBlue-dark .mat-chip.mat-standard-chip:after{background:#a5e1fd}.darkBlue-dark .mat-chip.mat-standard-chip.mat-chip-selected.mat-primary{background-color:#000e60;color:#fff}.darkBlue-dark .mat-chip.mat-standard-chip.mat-chip-selected.mat-primary .mat-chip-remove{color:#fff;opacity:.4}.darkBlue-dark .mat-chip.mat-standard-chip.mat-chip-selected.mat-primary .mat-ripple-element{background-color:#ffffff1a}.darkBlue-dark .mat-chip.mat-standard-chip.mat-chip-selected.mat-warn{background-color:#f44336;color:#fff}.darkBlue-dark .mat-chip.mat-standard-chip.mat-chip-selected.mat-warn .mat-chip-remove{color:#fff;opacity:.4}.darkBlue-dark .mat-chip.mat-standard-chip.mat-chip-selected.mat-warn .mat-ripple-element{background-color:#ffffff1a}.darkBlue-dark .mat-chip.mat-standard-chip.mat-chip-selected.mat-accent{background-color:#2196f3;color:#fff}.darkBlue-dark .mat-chip.mat-standard-chip.mat-chip-selected.mat-accent .mat-chip-remove{color:#fff;opacity:.4}.darkBlue-dark .mat-chip.mat-standard-chip.mat-chip-selected.mat-accent .mat-ripple-element{background-color:#ffffff1a}.darkBlue-dark .mat-table{background:#000844}.darkBlue-dark .mat-table thead,.darkBlue-dark .mat-table tbody,.darkBlue-dark .mat-table tfoot,.darkBlue-dark mat-header-row,.darkBlue-dark mat-row,.darkBlue-dark mat-footer-row,.darkBlue-dark [mat-header-row],.darkBlue-dark [mat-row],.darkBlue-dark [mat-footer-row],.darkBlue-dark .mat-table-sticky{background:inherit}.darkBlue-dark mat-row,.darkBlue-dark mat-header-row,.darkBlue-dark mat-footer-row,.darkBlue-dark th.mat-header-cell,.darkBlue-dark td.mat-cell,.darkBlue-dark td.mat-footer-cell{border-bottom-color:#ffffff1f}.darkBlue-dark .mat-header-cell{color:#a5e1fdb3}.darkBlue-dark .mat-cell,.darkBlue-dark .mat-footer-cell{color:#a5e1fd}.darkBlue-dark .mat-calendar-arrow{fill:#a5e1fd}.darkBlue-dark .mat-datepicker-toggle,.darkBlue-dark .mat-datepicker-content .mat-calendar-next-button,.darkBlue-dark .mat-datepicker-content .mat-calendar-previous-button{color:#a5e1fd}.darkBlue-dark .mat-calendar-table-header-divider:after{background:rgba(255,255,255,.12)}.darkBlue-dark .mat-calendar-table-header,.darkBlue-dark .mat-calendar-body-label{color:#a5e1fdb3}.darkBlue-dark .mat-calendar-body-cell-content,.darkBlue-dark .mat-date-range-input-separator{color:#a5e1fd;border-color:transparent}.darkBlue-dark .mat-calendar-body-disabled>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){color:#a5e1fd4d}.darkBlue-dark .mat-form-field-disabled .mat-date-range-input-separator{color:#a5e1fd4d}.darkBlue-dark .mat-calendar-body-in-preview{color:#ffffff3d}.darkBlue-dark .mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:#a5e1fd4d}.darkBlue-dark .mat-calendar-body-disabled>.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:#a5e1fd1a}.darkBlue-dark .mat-calendar-body-in-range:before{background:rgba(0,14,96,.2)}.darkBlue-dark .mat-calendar-body-comparison-identical,.darkBlue-dark .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.darkBlue-dark .mat-calendar-body-comparison-bridge-start:before,.darkBlue-dark [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(to right,rgba(0,14,96,.2) 50%,rgba(249,171,0,.2) 50%)}.darkBlue-dark .mat-calendar-body-comparison-bridge-end:before,.darkBlue-dark [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(to left,rgba(0,14,96,.2) 50%,rgba(249,171,0,.2) 50%)}.darkBlue-dark .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.darkBlue-dark .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after{background:#a8dab5}.darkBlue-dark .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.darkBlue-dark .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.darkBlue-dark .mat-calendar-body-selected{background-color:#000e60;color:#fff}.darkBlue-dark .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:#000e6066}.darkBlue-dark .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.darkBlue-dark .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.darkBlue-dark .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:#000e604d}@media (hover: hover){.darkBlue-dark .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:#000e604d}}.darkBlue-dark .mat-datepicker-content{box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f;background-color:#000844;color:#a5e1fd}.darkBlue-dark .mat-datepicker-content.mat-accent .mat-calendar-body-in-range:before{background:rgba(33,150,243,.2)}.darkBlue-dark .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-identical,.darkBlue-dark .mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.darkBlue-dark .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-bridge-start:before,.darkBlue-dark .mat-datepicker-content.mat-accent [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(to right,rgba(33,150,243,.2) 50%,rgba(249,171,0,.2) 50%)}.darkBlue-dark .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-bridge-end:before,.darkBlue-dark .mat-datepicker-content.mat-accent [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(to left,rgba(33,150,243,.2) 50%,rgba(249,171,0,.2) 50%)}.darkBlue-dark .mat-datepicker-content.mat-accent .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.darkBlue-dark .mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after{background:#a8dab5}.darkBlue-dark .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.darkBlue-dark .mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.darkBlue-dark .mat-datepicker-content.mat-accent .mat-calendar-body-selected{background-color:#2196f3;color:#fff}.darkBlue-dark .mat-datepicker-content.mat-accent .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:#2196f366}.darkBlue-dark .mat-datepicker-content.mat-accent .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.darkBlue-dark .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),.darkBlue-dark .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:#2196f34d}@media (hover: hover){.darkBlue-dark .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:#2196f34d}}.darkBlue-dark .mat-datepicker-content.mat-warn .mat-calendar-body-in-range:before{background:rgba(244,67,54,.2)}.darkBlue-dark .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-identical,.darkBlue-dark .mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.darkBlue-dark .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-bridge-start:before,.darkBlue-dark .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%)}.darkBlue-dark .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-bridge-end:before,.darkBlue-dark .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%)}.darkBlue-dark .mat-datepicker-content.mat-warn .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.darkBlue-dark .mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after{background:#a8dab5}.darkBlue-dark .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.darkBlue-dark .mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.darkBlue-dark .mat-datepicker-content.mat-warn .mat-calendar-body-selected{background-color:#f44336;color:#fff}.darkBlue-dark .mat-datepicker-content.mat-warn .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:#f4433666}.darkBlue-dark .mat-datepicker-content.mat-warn .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.darkBlue-dark .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),.darkBlue-dark .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){.darkBlue-dark .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}}.darkBlue-dark .mat-datepicker-content-touch{box-shadow:0 11px 15px -7px #0003,0 24px 38px 3px #00000024,0 9px 46px 8px #0000001f}.darkBlue-dark .mat-datepicker-toggle-active{color:#000e60}.darkBlue-dark .mat-datepicker-toggle-active.mat-accent{color:#2196f3}.darkBlue-dark .mat-datepicker-toggle-active.mat-warn{color:#f44336}.darkBlue-dark .mat-date-range-input-inner[disabled]{color:#a5e1fd4d}.darkBlue-dark .mat-dialog-container{box-shadow:0 11px 15px -7px #0003,0 24px 38px 3px #00000024,0 9px 46px 8px #0000001f;background:#000844;color:#a5e1fd}.darkBlue-dark .mat-divider{border-top-color:#ffffff1f}.darkBlue-dark .mat-divider-vertical{border-right-color:#ffffff1f}.darkBlue-dark .mat-expansion-panel{background:#000844;color:#a5e1fd}.darkBlue-dark .mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.darkBlue-dark .mat-action-row{border-top-color:#ffffff1f}.darkBlue-dark .mat-expansion-panel .mat-expansion-panel-header.cdk-keyboard-focused:not([aria-disabled=true]),.darkBlue-dark .mat-expansion-panel .mat-expansion-panel-header.cdk-program-focused:not([aria-disabled=true]),.darkBlue-dark .mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:hover:not([aria-disabled=true]){background:rgba(255,255,255,.04)}@media (hover: none){.darkBlue-dark .mat-expansion-panel:not(.mat-expanded):not([aria-disabled=true]) .mat-expansion-panel-header:hover{background:#000844}}.darkBlue-dark .mat-expansion-panel-header-title{color:#a5e1fd}.darkBlue-dark .mat-expansion-panel-header-description,.darkBlue-dark .mat-expansion-indicator:after{color:#a5e1fdb3}.darkBlue-dark .mat-expansion-panel-header[aria-disabled=true]{color:#a5e1fd4d}.darkBlue-dark .mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-title,.darkBlue-dark .mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-description{color:inherit}.darkBlue-dark .mat-form-field-label,.darkBlue-dark .mat-hint{color:#a5e1fdb3}.darkBlue-dark .mat-form-field.mat-focused .mat-form-field-label{color:#000e60}.darkBlue-dark .mat-form-field.mat-focused .mat-form-field-label.mat-accent{color:#2196f3}.darkBlue-dark .mat-form-field.mat-focused .mat-form-field-label.mat-warn{color:#f44336}.darkBlue-dark .mat-focused .mat-form-field-required-marker{color:#2196f3}.darkBlue-dark .mat-form-field-ripple{background-color:#fff}.darkBlue-dark .mat-form-field.mat-focused .mat-form-field-ripple{background-color:#000e60}.darkBlue-dark .mat-form-field.mat-focused .mat-form-field-ripple.mat-accent{background-color:#2196f3}.darkBlue-dark .mat-form-field.mat-focused .mat-form-field-ripple.mat-warn{background-color:#f44336}.darkBlue-dark .mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid) .mat-form-field-infix:after{color:#000e60}.darkBlue-dark .mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid).mat-accent .mat-form-field-infix:after{color:#2196f3}.darkBlue-dark .mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid).mat-warn .mat-form-field-infix:after{color:#f44336}.darkBlue-dark .mat-form-field.mat-form-field-invalid .mat-form-field-label,.darkBlue-dark .mat-form-field.mat-form-field-invalid .mat-form-field-label.mat-accent,.darkBlue-dark .mat-form-field.mat-form-field-invalid .mat-form-field-label .mat-form-field-required-marker{color:#f44336}.darkBlue-dark .mat-form-field.mat-form-field-invalid .mat-form-field-ripple,.darkBlue-dark .mat-form-field.mat-form-field-invalid .mat-form-field-ripple.mat-accent{background-color:#f44336}.darkBlue-dark .mat-error{color:#f44336}.darkBlue-dark .mat-form-field-appearance-legacy .mat-form-field-label,.darkBlue-dark .mat-form-field-appearance-legacy .mat-hint{color:#a5e1fdb3}.darkBlue-dark .mat-form-field-appearance-legacy .mat-form-field-underline{background-color:#ffffffb3}.darkBlue-dark .mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-image:linear-gradient(to right,rgba(255,255,255,.7) 0%,rgba(255,255,255,.7) 33%,transparent 0%);background-size:4px 100%;background-repeat:repeat-x}.darkBlue-dark .mat-form-field-appearance-standard .mat-form-field-underline{background-color:#ffffffb3}.darkBlue-dark .mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-image:linear-gradient(to right,rgba(255,255,255,.7) 0%,rgba(255,255,255,.7) 33%,transparent 0%);background-size:4px 100%;background-repeat:repeat-x}.darkBlue-dark .mat-form-field-appearance-fill .mat-form-field-flex{background-color:#a5e1fd1a}.darkBlue-dark .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-flex{background-color:#a5e1fd0d}.darkBlue-dark .mat-form-field-appearance-fill .mat-form-field-underline:before{background-color:#ffffff80}.darkBlue-dark .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-label{color:#a5e1fd4d}.darkBlue-dark .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-underline:before{background-color:transparent}.darkBlue-dark .mat-form-field-appearance-outline .mat-form-field-outline{color:#ffffff4d}.darkBlue-dark .mat-form-field-appearance-outline .mat-form-field-outline-thick{color:#fff}.darkBlue-dark .mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick{color:#000e60}.darkBlue-dark .mat-form-field-appearance-outline.mat-focused.mat-accent .mat-form-field-outline-thick{color:#2196f3}.darkBlue-dark .mat-form-field-appearance-outline.mat-focused.mat-warn .mat-form-field-outline-thick,.darkBlue-dark .mat-form-field-appearance-outline.mat-form-field-invalid.mat-form-field-invalid .mat-form-field-outline-thick{color:#f44336}.darkBlue-dark .mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-label{color:#a5e1fd4d}.darkBlue-dark .mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-outline{color:#ffffff26}.darkBlue-dark .mat-icon.mat-primary{color:#000e60}.darkBlue-dark .mat-icon.mat-accent{color:#2196f3}.darkBlue-dark .mat-icon.mat-warn{color:#f44336}.darkBlue-dark .mat-form-field-type-mat-native-select .mat-form-field-infix:after{color:#a5e1fdb3}.darkBlue-dark .mat-input-element:disabled,.darkBlue-dark .mat-form-field-type-mat-native-select.mat-form-field-disabled .mat-form-field-infix:after{color:#a5e1fd4d}.darkBlue-dark .mat-input-element{caret-color:#000e60}.darkBlue-dark .mat-input-element::placeholder{color:#a5e1fd80}.darkBlue-dark .mat-input-element::-moz-placeholder{color:#a5e1fd80}.darkBlue-dark .mat-input-element::-webkit-input-placeholder{color:#a5e1fd80}.darkBlue-dark .mat-input-element:-ms-input-placeholder{color:#a5e1fd80}.darkBlue-dark .mat-input-element:not(.mat-native-select-inline) option{color:#000000de}.darkBlue-dark .mat-input-element:not(.mat-native-select-inline) option:disabled{color:#00000061}.darkBlue-dark .mat-form-field.mat-accent .mat-input-element{caret-color:#2196f3}.darkBlue-dark .mat-form-field.mat-warn .mat-input-element,.darkBlue-dark .mat-form-field-invalid .mat-input-element{caret-color:#f44336}.darkBlue-dark .mat-form-field-type-mat-native-select.mat-form-field-invalid .mat-form-field-infix:after{color:#f44336}.darkBlue-dark .mat-list-base .mat-list-item,.darkBlue-dark .mat-list-base .mat-list-option{color:#a5e1fd}.darkBlue-dark .mat-list-base .mat-subheader{color:#a5e1fdb3}.darkBlue-dark .mat-list-base .mat-list-item-disabled{background-color:#000;color:#a5e1fd4d}.darkBlue-dark .mat-list-option:hover,.darkBlue-dark .mat-list-option:focus,.darkBlue-dark .mat-nav-list .mat-list-item:hover,.darkBlue-dark .mat-nav-list .mat-list-item:focus,.darkBlue-dark .mat-action-list .mat-list-item:hover,.darkBlue-dark .mat-action-list .mat-list-item:focus{background:rgba(255,255,255,.04)}.darkBlue-dark .mat-list-single-selected-option,.darkBlue-dark .mat-list-single-selected-option:hover,.darkBlue-dark .mat-list-single-selected-option:focus{background:rgba(255,255,255,.12)}.darkBlue-dark .mat-menu-panel{background:#000844}.darkBlue-dark .mat-menu-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.darkBlue-dark .mat-menu-item{background:transparent;color:#a5e1fd}.darkBlue-dark .mat-menu-item[disabled],.darkBlue-dark .mat-menu-item[disabled] .mat-menu-submenu-icon,.darkBlue-dark .mat-menu-item[disabled] .mat-icon-no-color{color:#a5e1fd4d}.darkBlue-dark .mat-menu-item .mat-icon-no-color,.darkBlue-dark .mat-menu-submenu-icon{color:#a5e1fd}.darkBlue-dark .mat-menu-item:hover:not([disabled]),.darkBlue-dark .mat-menu-item.cdk-program-focused:not([disabled]),.darkBlue-dark .mat-menu-item.cdk-keyboard-focused:not([disabled]),.darkBlue-dark .mat-menu-item-highlighted:not([disabled]){background:rgba(255,255,255,.04)}.darkBlue-dark .mat-paginator{background:#000844}.darkBlue-dark .mat-paginator,.darkBlue-dark .mat-paginator-page-size .mat-select-trigger{color:#a5e1fdb3}.darkBlue-dark .mat-paginator-decrement,.darkBlue-dark .mat-paginator-increment{border-top:2px solid #a5e1fd;border-right:2px solid #a5e1fd}.darkBlue-dark .mat-paginator-first,.darkBlue-dark .mat-paginator-last{border-top:2px solid #a5e1fd}.darkBlue-dark .mat-icon-button[disabled] .mat-paginator-decrement,.darkBlue-dark .mat-icon-button[disabled] .mat-paginator-increment,.darkBlue-dark .mat-icon-button[disabled] .mat-paginator-first,.darkBlue-dark .mat-icon-button[disabled] .mat-paginator-last{border-color:#a5e1fd4d}.darkBlue-dark .mat-progress-bar-background{fill:#000e60}.darkBlue-dark .mat-progress-bar-buffer{background-color:#000e60}.darkBlue-dark .mat-progress-bar-fill:after{background-color:#000e60}.darkBlue-dark .mat-progress-bar.mat-accent .mat-progress-bar-background{fill:#083085}.darkBlue-dark .mat-progress-bar.mat-accent .mat-progress-bar-buffer{background-color:#083085}.darkBlue-dark .mat-progress-bar.mat-accent .mat-progress-bar-fill:after{background-color:#2196f3}.darkBlue-dark .mat-progress-bar.mat-warn .mat-progress-bar-background{fill:#3d1b56}.darkBlue-dark .mat-progress-bar.mat-warn .mat-progress-bar-buffer{background-color:#3d1b56}.darkBlue-dark .mat-progress-bar.mat-warn .mat-progress-bar-fill:after{background-color:#f44336}.darkBlue-dark .mat-progress-spinner circle,.darkBlue-dark .mat-spinner circle{stroke:#000e60}.darkBlue-dark .mat-progress-spinner.mat-accent circle,.darkBlue-dark .mat-spinner.mat-accent circle{stroke:#2196f3}.darkBlue-dark .mat-progress-spinner.mat-warn circle,.darkBlue-dark .mat-spinner.mat-warn circle{stroke:#f44336}.darkBlue-dark .mat-radio-outer-circle{border-color:#a5e1fdb3}.darkBlue-dark .mat-radio-button.mat-primary.mat-radio-checked .mat-radio-outer-circle{border-color:#000e60}.darkBlue-dark .mat-radio-button.mat-primary .mat-radio-inner-circle,.darkBlue-dark .mat-radio-button.mat-primary .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.darkBlue-dark .mat-radio-button.mat-primary.mat-radio-checked .mat-radio-persistent-ripple,.darkBlue-dark .mat-radio-button.mat-primary:active .mat-radio-persistent-ripple{background-color:#000e60}.darkBlue-dark .mat-radio-button.mat-accent.mat-radio-checked .mat-radio-outer-circle{border-color:#2196f3}.darkBlue-dark .mat-radio-button.mat-accent .mat-radio-inner-circle,.darkBlue-dark .mat-radio-button.mat-accent .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.darkBlue-dark .mat-radio-button.mat-accent.mat-radio-checked .mat-radio-persistent-ripple,.darkBlue-dark .mat-radio-button.mat-accent:active .mat-radio-persistent-ripple{background-color:#2196f3}.darkBlue-dark .mat-radio-button.mat-warn.mat-radio-checked .mat-radio-outer-circle{border-color:#f44336}.darkBlue-dark .mat-radio-button.mat-warn .mat-radio-inner-circle,.darkBlue-dark .mat-radio-button.mat-warn .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.darkBlue-dark .mat-radio-button.mat-warn.mat-radio-checked .mat-radio-persistent-ripple,.darkBlue-dark .mat-radio-button.mat-warn:active .mat-radio-persistent-ripple{background-color:#f44336}.darkBlue-dark .mat-radio-button.mat-radio-disabled.mat-radio-checked .mat-radio-outer-circle,.darkBlue-dark .mat-radio-button.mat-radio-disabled .mat-radio-outer-circle{border-color:#a5e1fd4d}.darkBlue-dark .mat-radio-button.mat-radio-disabled .mat-radio-ripple .mat-ripple-element,.darkBlue-dark .mat-radio-button.mat-radio-disabled .mat-radio-inner-circle{background-color:#a5e1fd4d}.darkBlue-dark .mat-radio-button.mat-radio-disabled .mat-radio-label-content{color:#a5e1fd4d}.darkBlue-dark .mat-radio-button .mat-ripple-element{background-color:#a5e1fd}.darkBlue-dark .mat-select-value{color:#a5e1fd}.darkBlue-dark .mat-select-placeholder{color:#a5e1fd80}.darkBlue-dark .mat-select-disabled .mat-select-value{color:#a5e1fd4d}.darkBlue-dark .mat-select-arrow{color:#a5e1fdb3}.darkBlue-dark .mat-select-panel{background:#000844}.darkBlue-dark .mat-select-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.darkBlue-dark .mat-select-panel .mat-option.mat-selected:not(.mat-option-multiple){background:rgba(255,255,255,.12)}.darkBlue-dark .mat-form-field.mat-focused.mat-primary .mat-select-arrow{color:#000e60}.darkBlue-dark .mat-form-field.mat-focused.mat-accent .mat-select-arrow{color:#2196f3}.darkBlue-dark .mat-form-field.mat-focused.mat-warn .mat-select-arrow,.darkBlue-dark .mat-form-field .mat-select.mat-select-invalid .mat-select-arrow{color:#f44336}.darkBlue-dark .mat-form-field .mat-select.mat-select-disabled .mat-select-arrow{color:#a5e1fd4d}.darkBlue-dark .mat-drawer-container{background-color:#000e60;color:#a5e1fd}.darkBlue-dark .mat-drawer{background-color:#000844;color:#a5e1fd}.darkBlue-dark .mat-drawer.mat-drawer-push{background-color:#000844}.darkBlue-dark .mat-drawer:not(.mat-drawer-side){box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f}.darkBlue-dark .mat-drawer-side{border-right:solid 1px rgba(255,255,255,.12)}.darkBlue-dark .mat-drawer-side.mat-drawer-end,.darkBlue-dark [dir=rtl] .mat-drawer-side{border-left:solid 1px rgba(255,255,255,.12);border-right:none}.darkBlue-dark [dir=rtl] .mat-drawer-side.mat-drawer-end{border-left:none;border-right:solid 1px rgba(255,255,255,.12)}.darkBlue-dark .mat-drawer-backdrop.mat-drawer-shown{background-color:#fff7bb99}.darkBlue-dark .mat-slide-toggle.mat-checked .mat-slide-toggle-thumb{background-color:#2196f3}.darkBlue-dark .mat-slide-toggle.mat-checked .mat-slide-toggle-bar{background-color:#2196f38a}.darkBlue-dark .mat-slide-toggle.mat-checked .mat-ripple-element{background-color:#2196f3}.darkBlue-dark .mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-thumb{background-color:#000e60}.darkBlue-dark .mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-bar{background-color:#000e608a}.darkBlue-dark .mat-slide-toggle.mat-primary.mat-checked .mat-ripple-element{background-color:#000e60}.darkBlue-dark .mat-slide-toggle.mat-warn.mat-checked .mat-slide-toggle-thumb{background-color:#f44336}.darkBlue-dark .mat-slide-toggle.mat-warn.mat-checked .mat-slide-toggle-bar{background-color:#f443368a}.darkBlue-dark .mat-slide-toggle.mat-warn.mat-checked .mat-ripple-element{background-color:#f44336}.darkBlue-dark .mat-slide-toggle:not(.mat-checked) .mat-ripple-element{background-color:#a5e1fd}.darkBlue-dark .mat-slide-toggle-thumb{box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f;background-color:#bdbdbd}.darkBlue-dark .mat-slide-toggle-bar,.darkBlue-dark .mat-slider-track-background{background-color:#a5e1fd4d}.darkBlue-dark .mat-slider.mat-primary .mat-slider-track-fill,.darkBlue-dark .mat-slider.mat-primary .mat-slider-thumb,.darkBlue-dark .mat-slider.mat-primary .mat-slider-thumb-label{background-color:#000e60}.darkBlue-dark .mat-slider.mat-primary .mat-slider-thumb-label-text{color:#fff}.darkBlue-dark .mat-slider.mat-primary .mat-slider-focus-ring{background-color:#000e6033}.darkBlue-dark .mat-slider.mat-accent .mat-slider-track-fill,.darkBlue-dark .mat-slider.mat-accent .mat-slider-thumb,.darkBlue-dark .mat-slider.mat-accent .mat-slider-thumb-label{background-color:#2196f3}.darkBlue-dark .mat-slider.mat-accent .mat-slider-thumb-label-text{color:#fff}.darkBlue-dark .mat-slider.mat-accent .mat-slider-focus-ring{background-color:#2196f333}.darkBlue-dark .mat-slider.mat-warn .mat-slider-track-fill,.darkBlue-dark .mat-slider.mat-warn .mat-slider-thumb,.darkBlue-dark .mat-slider.mat-warn .mat-slider-thumb-label{background-color:#f44336}.darkBlue-dark .mat-slider.mat-warn .mat-slider-thumb-label-text{color:#fff}.darkBlue-dark .mat-slider.mat-warn .mat-slider-focus-ring{background-color:#f4433633}.darkBlue-dark .mat-slider:hover .mat-slider-track-background,.darkBlue-dark .mat-slider.cdk-focused .mat-slider-track-background,.darkBlue-dark .mat-slider.mat-slider-disabled .mat-slider-track-background,.darkBlue-dark .mat-slider.mat-slider-disabled .mat-slider-track-fill,.darkBlue-dark .mat-slider.mat-slider-disabled .mat-slider-thumb,.darkBlue-dark .mat-slider.mat-slider-disabled:hover .mat-slider-track-background{background-color:#a5e1fd4d}.darkBlue-dark .mat-slider.mat-slider-min-value .mat-slider-focus-ring{background-color:#a5e1fd1f}.darkBlue-dark .mat-slider.mat-slider-min-value.mat-slider-thumb-label-showing .mat-slider-thumb,.darkBlue-dark .mat-slider.mat-slider-min-value.mat-slider-thumb-label-showing .mat-slider-thumb-label{background-color:#a5e1fd}.darkBlue-dark .mat-slider.mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb,.darkBlue-dark .mat-slider.mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb-label{background-color:#a5e1fd4d}.darkBlue-dark .mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing) .mat-slider-thumb{border-color:#a5e1fd4d;background-color:transparent}.darkBlue-dark .mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover .mat-slider-thumb,.darkBlue-dark .mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused .mat-slider-thumb{border-color:#a5e1fd4d}.darkBlue-dark .mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover.mat-slider-disabled .mat-slider-thumb,.darkBlue-dark .mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused.mat-slider-disabled .mat-slider-thumb{border-color:#a5e1fd4d}.darkBlue-dark .mat-slider-has-ticks .mat-slider-wrapper:after{border-color:#a5e1fdb3}.darkBlue-dark .mat-slider-horizontal .mat-slider-ticks{background-image:repeating-linear-gradient(to right,rgba(165,225,253,.7),rgba(165,225,253,.7) 2px,transparent 0,transparent);background-image:-moz-repeating-linear-gradient(.0001deg,rgba(165,225,253,.7),rgba(165,225,253,.7) 2px,transparent 0,transparent)}.darkBlue-dark .mat-slider-vertical .mat-slider-ticks{background-image:repeating-linear-gradient(to bottom,rgba(165,225,253,.7),rgba(165,225,253,.7) 2px,transparent 0,transparent)}.darkBlue-dark .mat-step-header.cdk-keyboard-focused,.darkBlue-dark .mat-step-header.cdk-program-focused,.darkBlue-dark .mat-step-header:hover:not([aria-disabled]),.darkBlue-dark .mat-step-header:hover[aria-disabled=false]{background-color:#ffffff0a}.darkBlue-dark .mat-step-header:hover[aria-disabled=true]{cursor:default}@media (hover: none){.darkBlue-dark .mat-step-header:hover{background:none}}.darkBlue-dark .mat-step-header .mat-step-label,.darkBlue-dark .mat-step-header .mat-step-optional{color:#a5e1fdb3}.darkBlue-dark .mat-step-header .mat-step-icon{background-color:#a5e1fdb3;color:#fff}.darkBlue-dark .mat-step-header .mat-step-icon-selected,.darkBlue-dark .mat-step-header .mat-step-icon-state-done,.darkBlue-dark .mat-step-header .mat-step-icon-state-edit{background-color:#000e60;color:#fff}.darkBlue-dark .mat-step-header.mat-accent .mat-step-icon{color:#fff}.darkBlue-dark .mat-step-header.mat-accent .mat-step-icon-selected,.darkBlue-dark .mat-step-header.mat-accent .mat-step-icon-state-done,.darkBlue-dark .mat-step-header.mat-accent .mat-step-icon-state-edit{background-color:#2196f3;color:#fff}.darkBlue-dark .mat-step-header.mat-warn .mat-step-icon{color:#fff}.darkBlue-dark .mat-step-header.mat-warn .mat-step-icon-selected,.darkBlue-dark .mat-step-header.mat-warn .mat-step-icon-state-done,.darkBlue-dark .mat-step-header.mat-warn .mat-step-icon-state-edit{background-color:#f44336;color:#fff}.darkBlue-dark .mat-step-header .mat-step-icon-state-error{background-color:transparent;color:#f44336}.darkBlue-dark .mat-step-header .mat-step-label.mat-step-label-active{color:#a5e1fd}.darkBlue-dark .mat-step-header .mat-step-label.mat-step-label-error{color:#f44336}.darkBlue-dark .mat-stepper-horizontal,.darkBlue-dark .mat-stepper-vertical{background-color:#000844}.darkBlue-dark .mat-stepper-vertical-line:before{border-left-color:#ffffff1f}.darkBlue-dark .mat-horizontal-stepper-header:before,.darkBlue-dark .mat-horizontal-stepper-header:after,.darkBlue-dark .mat-stepper-horizontal-line{border-top-color:#ffffff1f}.darkBlue-dark .mat-sort-header-arrow{color:#74a0c6}.darkBlue-dark .mat-tab-nav-bar,.darkBlue-dark .mat-tab-header{border-bottom:1px solid rgba(255,255,255,.12)}.darkBlue-dark .mat-tab-group-inverted-header .mat-tab-nav-bar,.darkBlue-dark .mat-tab-group-inverted-header .mat-tab-header{border-top:1px solid rgba(255,255,255,.12);border-bottom:none}.darkBlue-dark .mat-tab-label,.darkBlue-dark .mat-tab-link{color:#a5e1fd}.darkBlue-dark .mat-tab-label.mat-tab-disabled,.darkBlue-dark .mat-tab-link.mat-tab-disabled{color:#a5e1fd4d}.darkBlue-dark .mat-tab-header-pagination-chevron{border-color:#a5e1fd}.darkBlue-dark .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:#a5e1fd4d}.darkBlue-dark .mat-tab-group[class*=mat-background-]>.mat-tab-header,.darkBlue-dark .mat-tab-nav-bar[class*=mat-background-]{border-bottom:none;border-top:none}.darkBlue-dark .mat-tab-group.mat-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.darkBlue-dark .mat-tab-group.mat-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.darkBlue-dark .mat-tab-group.mat-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.darkBlue-dark .mat-tab-group.mat-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.darkBlue-dark .mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.darkBlue-dark .mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.darkBlue-dark .mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.darkBlue-dark .mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#b3b7cf4d}.darkBlue-dark .mat-tab-group.mat-primary .mat-ink-bar,.darkBlue-dark .mat-tab-nav-bar.mat-primary .mat-ink-bar{background-color:#000e60}.darkBlue-dark .mat-tab-group.mat-primary.mat-background-primary>.mat-tab-header .mat-ink-bar,.darkBlue-dark .mat-tab-group.mat-primary.mat-background-primary>.mat-tab-link-container .mat-ink-bar,.darkBlue-dark .mat-tab-nav-bar.mat-primary.mat-background-primary>.mat-tab-header .mat-ink-bar,.darkBlue-dark .mat-tab-nav-bar.mat-primary.mat-background-primary>.mat-tab-link-container .mat-ink-bar{background-color:#fff}.darkBlue-dark .mat-tab-group.mat-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.darkBlue-dark .mat-tab-group.mat-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.darkBlue-dark .mat-tab-group.mat-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.darkBlue-dark .mat-tab-group.mat-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.darkBlue-dark .mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.darkBlue-dark .mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.darkBlue-dark .mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.darkBlue-dark .mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#bbdefb4d}.darkBlue-dark .mat-tab-group.mat-accent .mat-ink-bar,.darkBlue-dark .mat-tab-nav-bar.mat-accent .mat-ink-bar{background-color:#2196f3}.darkBlue-dark .mat-tab-group.mat-accent.mat-background-accent>.mat-tab-header .mat-ink-bar,.darkBlue-dark .mat-tab-group.mat-accent.mat-background-accent>.mat-tab-link-container .mat-ink-bar,.darkBlue-dark .mat-tab-nav-bar.mat-accent.mat-background-accent>.mat-tab-header .mat-ink-bar,.darkBlue-dark .mat-tab-nav-bar.mat-accent.mat-background-accent>.mat-tab-link-container .mat-ink-bar{background-color:#fff}.darkBlue-dark .mat-tab-group.mat-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.darkBlue-dark .mat-tab-group.mat-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.darkBlue-dark .mat-tab-group.mat-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.darkBlue-dark .mat-tab-group.mat-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.darkBlue-dark .mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.darkBlue-dark .mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.darkBlue-dark .mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.darkBlue-dark .mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#ffcdd24d}.darkBlue-dark .mat-tab-group.mat-warn .mat-ink-bar,.darkBlue-dark .mat-tab-nav-bar.mat-warn .mat-ink-bar{background-color:#f44336}.darkBlue-dark .mat-tab-group.mat-warn.mat-background-warn>.mat-tab-header .mat-ink-bar,.darkBlue-dark .mat-tab-group.mat-warn.mat-background-warn>.mat-tab-link-container .mat-ink-bar,.darkBlue-dark .mat-tab-nav-bar.mat-warn.mat-background-warn>.mat-tab-header .mat-ink-bar,.darkBlue-dark .mat-tab-nav-bar.mat-warn.mat-background-warn>.mat-tab-link-container .mat-ink-bar{background-color:#fff}.darkBlue-dark .mat-tab-group.mat-background-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.darkBlue-dark .mat-tab-group.mat-background-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.darkBlue-dark .mat-tab-group.mat-background-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.darkBlue-dark .mat-tab-group.mat-background-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.darkBlue-dark .mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.darkBlue-dark .mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.darkBlue-dark .mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.darkBlue-dark .mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#b3b7cf4d}.darkBlue-dark .mat-tab-group.mat-background-primary>.mat-tab-header,.darkBlue-dark .mat-tab-group.mat-background-primary>.mat-tab-link-container,.darkBlue-dark .mat-tab-group.mat-background-primary>.mat-tab-header-pagination,.darkBlue-dark .mat-tab-nav-bar.mat-background-primary>.mat-tab-header,.darkBlue-dark .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container,.darkBlue-dark .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination{background-color:#000e60}.darkBlue-dark .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-label,.darkBlue-dark .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-tab-link,.darkBlue-dark .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-label,.darkBlue-dark .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-tab-link{color:#fff}.darkBlue-dark .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-label.mat-tab-disabled,.darkBlue-dark .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.darkBlue-dark .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-label.mat-tab-disabled,.darkBlue-dark .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:#fff6}.darkBlue-dark .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-chevron,.darkBlue-dark .mat-tab-group.mat-background-primary>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.darkBlue-dark .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-focus-indicator:before,.darkBlue-dark .mat-tab-group.mat-background-primary>.mat-tab-header .mat-focus-indicator:before,.darkBlue-dark .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-chevron,.darkBlue-dark .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.darkBlue-dark .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-focus-indicator:before,.darkBlue-dark .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-focus-indicator:before{border-color:#fff}.darkBlue-dark .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.darkBlue-dark .mat-tab-group.mat-background-primary>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.darkBlue-dark .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.darkBlue-dark .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:#fff;opacity:.4}.darkBlue-dark .mat-tab-group.mat-background-primary>.mat-tab-header .mat-ripple-element,.darkBlue-dark .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-ripple-element,.darkBlue-dark .mat-tab-group.mat-background-primary>.mat-tab-header-pagination .mat-ripple-element,.darkBlue-dark .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-ripple-element,.darkBlue-dark .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-ripple-element,.darkBlue-dark .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination .mat-ripple-element{background-color:#fff;opacity:.12}.darkBlue-dark .mat-tab-group.mat-background-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.darkBlue-dark .mat-tab-group.mat-background-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.darkBlue-dark .mat-tab-group.mat-background-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.darkBlue-dark .mat-tab-group.mat-background-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.darkBlue-dark .mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.darkBlue-dark .mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.darkBlue-dark .mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.darkBlue-dark .mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#bbdefb4d}.darkBlue-dark .mat-tab-group.mat-background-accent>.mat-tab-header,.darkBlue-dark .mat-tab-group.mat-background-accent>.mat-tab-link-container,.darkBlue-dark .mat-tab-group.mat-background-accent>.mat-tab-header-pagination,.darkBlue-dark .mat-tab-nav-bar.mat-background-accent>.mat-tab-header,.darkBlue-dark .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container,.darkBlue-dark .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination{background-color:#2196f3}.darkBlue-dark .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-label,.darkBlue-dark .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-tab-link,.darkBlue-dark .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-label,.darkBlue-dark .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-tab-link{color:#fff}.darkBlue-dark .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-label.mat-tab-disabled,.darkBlue-dark .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.darkBlue-dark .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-label.mat-tab-disabled,.darkBlue-dark .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:#fff6}.darkBlue-dark .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-chevron,.darkBlue-dark .mat-tab-group.mat-background-accent>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.darkBlue-dark .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-focus-indicator:before,.darkBlue-dark .mat-tab-group.mat-background-accent>.mat-tab-header .mat-focus-indicator:before,.darkBlue-dark .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-chevron,.darkBlue-dark .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.darkBlue-dark .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-focus-indicator:before,.darkBlue-dark .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-focus-indicator:before{border-color:#fff}.darkBlue-dark .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.darkBlue-dark .mat-tab-group.mat-background-accent>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.darkBlue-dark .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.darkBlue-dark .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:#fff;opacity:.4}.darkBlue-dark .mat-tab-group.mat-background-accent>.mat-tab-header .mat-ripple-element,.darkBlue-dark .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-ripple-element,.darkBlue-dark .mat-tab-group.mat-background-accent>.mat-tab-header-pagination .mat-ripple-element,.darkBlue-dark .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-ripple-element,.darkBlue-dark .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-ripple-element,.darkBlue-dark .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination .mat-ripple-element{background-color:#fff;opacity:.12}.darkBlue-dark .mat-tab-group.mat-background-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.darkBlue-dark .mat-tab-group.mat-background-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.darkBlue-dark .mat-tab-group.mat-background-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.darkBlue-dark .mat-tab-group.mat-background-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.darkBlue-dark .mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.darkBlue-dark .mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.darkBlue-dark .mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.darkBlue-dark .mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#ffcdd24d}.darkBlue-dark .mat-tab-group.mat-background-warn>.mat-tab-header,.darkBlue-dark .mat-tab-group.mat-background-warn>.mat-tab-link-container,.darkBlue-dark .mat-tab-group.mat-background-warn>.mat-tab-header-pagination,.darkBlue-dark .mat-tab-nav-bar.mat-background-warn>.mat-tab-header,.darkBlue-dark .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container,.darkBlue-dark .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination{background-color:#f44336}.darkBlue-dark .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-label,.darkBlue-dark .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-tab-link,.darkBlue-dark .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-label,.darkBlue-dark .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-tab-link{color:#fff}.darkBlue-dark .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-label.mat-tab-disabled,.darkBlue-dark .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.darkBlue-dark .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-label.mat-tab-disabled,.darkBlue-dark .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:#fff6}.darkBlue-dark .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-chevron,.darkBlue-dark .mat-tab-group.mat-background-warn>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.darkBlue-dark .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-focus-indicator:before,.darkBlue-dark .mat-tab-group.mat-background-warn>.mat-tab-header .mat-focus-indicator:before,.darkBlue-dark .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-chevron,.darkBlue-dark .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.darkBlue-dark .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-focus-indicator:before,.darkBlue-dark .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-focus-indicator:before{border-color:#fff}.darkBlue-dark .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.darkBlue-dark .mat-tab-group.mat-background-warn>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.darkBlue-dark .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.darkBlue-dark .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:#fff;opacity:.4}.darkBlue-dark .mat-tab-group.mat-background-warn>.mat-tab-header .mat-ripple-element,.darkBlue-dark .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-ripple-element,.darkBlue-dark .mat-tab-group.mat-background-warn>.mat-tab-header-pagination .mat-ripple-element,.darkBlue-dark .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-ripple-element,.darkBlue-dark .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-ripple-element,.darkBlue-dark .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination .mat-ripple-element{background-color:#fff;opacity:.12}.darkBlue-dark .mat-toolbar{background:#000844;color:#a5e1fd}.darkBlue-dark .mat-toolbar.mat-primary{background:#000e60;color:#fff}.darkBlue-dark .mat-toolbar.mat-accent{background:#2196f3;color:#fff}.darkBlue-dark .mat-toolbar.mat-warn{background:#f44336;color:#fff}.darkBlue-dark .mat-toolbar .mat-form-field-underline,.darkBlue-dark .mat-toolbar .mat-form-field-ripple,.darkBlue-dark .mat-toolbar .mat-focused .mat-form-field-ripple{background-color:currentColor}.darkBlue-dark .mat-toolbar .mat-form-field-label,.darkBlue-dark .mat-toolbar .mat-focused .mat-form-field-label,.darkBlue-dark .mat-toolbar .mat-select-value,.darkBlue-dark .mat-toolbar .mat-select-arrow,.darkBlue-dark .mat-toolbar .mat-form-field.mat-focused .mat-select-arrow{color:inherit}.darkBlue-dark .mat-toolbar .mat-input-element{caret-color:currentColor}.darkBlue-dark .mat-tree{background:#000844}.darkBlue-dark .mat-tree-node,.darkBlue-dark .mat-nested-tree-node{color:#a5e1fd}.darkBlue-dark .mat-snack-bar-container{color:#000000de;background:#fafafa;box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.darkBlue-dark .mat-simple-snackbar-action{color:inherit}.darkBlue-dark .app-defaults{background-color:#000e60;color:#a5e1fd}.darkBlue-dark .theme-menu{background-color:#448aff}.darkBlue-dark .menuBarButtonGroup{background-color:#ffffff1f}.darkBlue-dark .tabGroups{padding-left:0;min-height:100%;height:100%}.darkBlue-dark .tabGroupPanel{display:block;margin:10px 20px 20px}.darkBlue-dark .formActionFooter{width:100%;text-align:end}.darkBlue-dark .formActionButton{margin-left:10px}.darkBlue-dark .formActionDivider{margin-top:10px;margin-bottom:10px}.darkBlue-dark .as-split-gutter{background-color:transparent!important}.darkBlue-dark .primary{color:#4d5690}.darkBlue-dark .accent{color:#64b5f6}.darkBlue-dark .warn{color:#e57373}.darkBlue-dark .primaryDark{color:#000433}.darkBlue-dark .accentDark{color:#0d47a1}.darkBlue-dark .warnDark{color:#b71c1c}.darkBlue-dark .background{color:#ffffff1f}.darkBlue-dark .text{color:#a5e1fd}.darkBlue-dark .pathMetaDescription{font:small-caption;color:#a5e1fd4d}.darkBlue-dark .textGenericWrapper{position:relative;width:100%;height:100%}.darkBlue-dark .canvas-size{position:absolute;top:0;left:0}.darkBlue-dark .warn{color:#f44336}.darkBlue-dark .warn-contrast{color:#fff}.darkBlue-dark DIV.apScreen{display:block;position:relative;width:360px;height:220.5px;margin:auto;text-align:center;border-radius:5px;border:1px solid rgba(255,255,255,.12);background-color:#ffffff1f}.darkBlue-dark .apScreen .apCompass{position:relative;width:360px;height:202px;margin:auto;border-radius:5px}.darkBlue-dark .apStatusBar{width:360px;height:18.5px;border-bottom-left-radius:5px;border-bottom-right-radius:5px;background-color:#000}.darkBlue-dark .apStatusBar,.darkBlue-dark .apStatusBar DIV{display:inline-block;position:relative}.darkBlue-dark .apScreen .apStencil{position:absolute;top:0;left:0;width:100%;height:100%;margin:auto;border-radius:5px;z-index:10;vertical-align:middle;background-color:#000e60}.darkBlue-dark .apStencil.confirmCommand{z-index:5;visibility:hidden}.darkBlue-dark .apStencil.error{z-index:6;visibility:hidden}.darkBlue-dark .apText{fill:#a5e1fd}.darkBlue-dark .boatBackground{stop-color:#64b5f6!important}.darkBlue-dark .heading-background{stroke:#000e60;fill:#afafaf}.darkBlue-dark .wind-text{fill:#000e60;stroke:#000e60}.darkBlue-dark .laylines{stroke:#a5e1fd}.darkBlue-dark .wind-sector-port{fill:red}.darkBlue-dark .wind-sector-stbd{fill:#1fce04}.darkBlue-dark .compass-outer-ring{stroke:#757575}.darkBlue-dark .compass-inner-ring{stroke:#afafaf;fill:#afafaf}.darkBlue-dark .wind-rose-background{stroke:#8a8a8a}.darkBlue-dark .sailSetupBoat{stroke:#afafaf}.darkBlue-dark .sailSetupFull{fill:#4d5690}.darkBlue-dark .sailSetupReef1{fill:#64b5f6}.darkBlue-dark .sailSetupReef2{fill:#e57373}.darkBlue-dark .sailSetupReef3{fill:#f44336}.darkBlue-dark .port{stroke:red}.darkBlue-dark .starboard{stroke:#1fce04}.darkBlue-dark .rudderPort{fill:#d52626}.darkBlue-dark .rudderStarboard{fill:#389c19}.darkBlue-dark .true-wind{fill:#068dfb}.darkBlue-dark .app-wind{fill:#028502}.darkBlue-dark .simpleLinear-text{fill:#a5e1fd}.darkBlue-dark .windWrapper{position:relative;width:100%;height:100%}.darkBlue-dark .matBadge{z-index:1000}.darkBlue-dark .mute-unmte-alarm{width:max-content}.darkBlue-dark .alarmWarning{animation:blinkingAlarmWarning 1.5s infinite;background-color:orange!important}.darkBlue-dark .alarmCrit{animation:blinkingAlarmCrit .25s infinite}.darkBlue-dark .muteSoundButton:hover{background:rgba(255,255,255,.04)}.darkBlue-dark .serverStatus{background-color:#ffffff1f;margin:7% 5% 0%;padding:10px 20px 20px}.darkBlue-dark .descriptiveTexts{color:#a5e1fd;font-size:14px}.darkBlue-dark .flex-item{flex:1 1 29%;background-color:#ffffff1f;padding:20px;border-radius:4px}.darkBlue-dark .flex-item-copy{flex:2 1 40%;background-color:#ffffff1f;padding:10px 20px;border-radius:4px}.modern-dark .mat-ripple-element{background-color:#ffffff1a}.modern-dark .mat-option{color:#fff}.modern-dark .mat-option:hover:not(.mat-option-disabled),.modern-dark .mat-option:focus:not(.mat-option-disabled){background:rgba(255,255,255,.04)}.modern-dark .mat-option.mat-selected:not(.mat-option-multiple):not(.mat-option-disabled){background:rgba(255,255,255,.04)}.modern-dark .mat-option.mat-active{background:rgba(255,255,255,.04);color:#fff}.modern-dark .mat-option.mat-option-disabled{color:#ffffff80}.modern-dark .mat-primary .mat-option.mat-selected:not(.mat-option-disabled){color:#63afdf}.modern-dark .mat-accent .mat-option.mat-selected:not(.mat-option-disabled){color:#1e1e1e}.modern-dark .mat-warn .mat-option.mat-selected:not(.mat-option-disabled){color:#d52626}.modern-dark .mat-optgroup-label{color:#ffffffb3}.modern-dark .mat-optgroup-disabled .mat-optgroup-label{color:#ffffff80}.modern-dark .mat-pseudo-checkbox{color:#ffffffb3}.modern-dark .mat-pseudo-checkbox:after{color:#303030}.modern-dark .mat-pseudo-checkbox-disabled{color:#686868}.modern-dark .mat-primary .mat-pseudo-checkbox-checked,.modern-dark .mat-primary .mat-pseudo-checkbox-indeterminate{background:#63afdf}.modern-dark .mat-pseudo-checkbox-checked,.modern-dark .mat-pseudo-checkbox-indeterminate,.modern-dark .mat-accent .mat-pseudo-checkbox-checked,.modern-dark .mat-accent .mat-pseudo-checkbox-indeterminate{background:#1e1e1e}.modern-dark .mat-warn .mat-pseudo-checkbox-checked,.modern-dark .mat-warn .mat-pseudo-checkbox-indeterminate{background:#d52626}.modern-dark .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.modern-dark .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background:#686868}.modern-dark .mat-app-background,.modern-dark.mat-app-background{background-color:#303030;color:#fff}.modern-dark .mat-elevation-z0{box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.modern-dark .mat-elevation-z1{box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f}.modern-dark .mat-elevation-z2{box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.modern-dark .mat-elevation-z3{box-shadow:0 3px 3px -2px #0003,0 3px 4px #00000024,0 1px 8px #0000001f}.modern-dark .mat-elevation-z4{box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.modern-dark .mat-elevation-z5{box-shadow:0 3px 5px -1px #0003,0 5px 8px #00000024,0 1px 14px #0000001f}.modern-dark .mat-elevation-z6{box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.modern-dark .mat-elevation-z7{box-shadow:0 4px 5px -2px #0003,0 7px 10px 1px #00000024,0 2px 16px 1px #0000001f}.modern-dark .mat-elevation-z8{box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.modern-dark .mat-elevation-z9{box-shadow:0 5px 6px -3px #0003,0 9px 12px 1px #00000024,0 3px 16px 2px #0000001f}.modern-dark .mat-elevation-z10{box-shadow:0 6px 6px -3px #0003,0 10px 14px 1px #00000024,0 4px 18px 3px #0000001f}.modern-dark .mat-elevation-z11{box-shadow:0 6px 7px -4px #0003,0 11px 15px 1px #00000024,0 4px 20px 3px #0000001f}.modern-dark .mat-elevation-z12{box-shadow:0 7px 8px -4px #0003,0 12px 17px 2px #00000024,0 5px 22px 4px #0000001f}.modern-dark .mat-elevation-z13{box-shadow:0 7px 8px -4px #0003,0 13px 19px 2px #00000024,0 5px 24px 4px #0000001f}.modern-dark .mat-elevation-z14{box-shadow:0 7px 9px -4px #0003,0 14px 21px 2px #00000024,0 5px 26px 4px #0000001f}.modern-dark .mat-elevation-z15{box-shadow:0 8px 9px -5px #0003,0 15px 22px 2px #00000024,0 6px 28px 5px #0000001f}.modern-dark .mat-elevation-z16{box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f}.modern-dark .mat-elevation-z17{box-shadow:0 8px 11px -5px #0003,0 17px 26px 2px #00000024,0 6px 32px 5px #0000001f}.modern-dark .mat-elevation-z18{box-shadow:0 9px 11px -5px #0003,0 18px 28px 2px #00000024,0 7px 34px 6px #0000001f}.modern-dark .mat-elevation-z19{box-shadow:0 9px 12px -6px #0003,0 19px 29px 2px #00000024,0 7px 36px 6px #0000001f}.modern-dark .mat-elevation-z20{box-shadow:0 10px 13px -6px #0003,0 20px 31px 3px #00000024,0 8px 38px 7px #0000001f}.modern-dark .mat-elevation-z21{box-shadow:0 10px 13px -6px #0003,0 21px 33px 3px #00000024,0 8px 40px 7px #0000001f}.modern-dark .mat-elevation-z22{box-shadow:0 10px 14px -6px #0003,0 22px 35px 3px #00000024,0 8px 42px 7px #0000001f}.modern-dark .mat-elevation-z23{box-shadow:0 11px 14px -7px #0003,0 23px 36px 3px #00000024,0 9px 44px 8px #0000001f}.modern-dark .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}.modern-dark .mat-autocomplete-panel{background:#424242;color:#fff}.modern-dark .mat-autocomplete-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.modern-dark .mat-autocomplete-panel .mat-option.mat-selected:not(.mat-active):not(:hover){background:#424242}.modern-dark .mat-autocomplete-panel .mat-option.mat-selected:not(.mat-active):not(:hover):not(.mat-option-disabled){color:#fff}.modern-dark .mat-badge-content{color:#000;background:#63afdf}.cdk-high-contrast-active .modern-dark .mat-badge-content{outline:solid 1px;border-radius:0}.modern-dark .mat-badge-accent .mat-badge-content{background:#1e1e1e;color:#fff}.modern-dark .mat-badge-warn .mat-badge-content{color:#fff;background:#d52626}.modern-dark .mat-badge-disabled .mat-badge-content{background:#6e6e6e;color:#ffffff80}.modern-dark .mat-bottom-sheet-container{box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f;background:#424242;color:#fff}.modern-dark .mat-button,.modern-dark .mat-icon-button,.modern-dark .mat-stroked-button{color:inherit;background:transparent}.modern-dark .mat-button.mat-primary,.modern-dark .mat-icon-button.mat-primary,.modern-dark .mat-stroked-button.mat-primary{color:#63afdf}.modern-dark .mat-button.mat-accent,.modern-dark .mat-icon-button.mat-accent,.modern-dark .mat-stroked-button.mat-accent{color:#1e1e1e}.modern-dark .mat-button.mat-warn,.modern-dark .mat-icon-button.mat-warn,.modern-dark .mat-stroked-button.mat-warn{color:#d52626}.modern-dark .mat-button.mat-primary.mat-button-disabled,.modern-dark .mat-button.mat-accent.mat-button-disabled,.modern-dark .mat-button.mat-warn.mat-button-disabled,.modern-dark .mat-button.mat-button-disabled.mat-button-disabled,.modern-dark .mat-icon-button.mat-primary.mat-button-disabled,.modern-dark .mat-icon-button.mat-accent.mat-button-disabled,.modern-dark .mat-icon-button.mat-warn.mat-button-disabled,.modern-dark .mat-icon-button.mat-button-disabled.mat-button-disabled,.modern-dark .mat-stroked-button.mat-primary.mat-button-disabled,.modern-dark .mat-stroked-button.mat-accent.mat-button-disabled,.modern-dark .mat-stroked-button.mat-warn.mat-button-disabled,.modern-dark .mat-stroked-button.mat-button-disabled.mat-button-disabled{color:#ffffff4d}.modern-dark .mat-button.mat-primary .mat-button-focus-overlay,.modern-dark .mat-icon-button.mat-primary .mat-button-focus-overlay,.modern-dark .mat-stroked-button.mat-primary .mat-button-focus-overlay{background-color:#63afdf}.modern-dark .mat-button.mat-accent .mat-button-focus-overlay,.modern-dark .mat-icon-button.mat-accent .mat-button-focus-overlay,.modern-dark .mat-stroked-button.mat-accent .mat-button-focus-overlay{background-color:#1e1e1e}.modern-dark .mat-button.mat-warn .mat-button-focus-overlay,.modern-dark .mat-icon-button.mat-warn .mat-button-focus-overlay,.modern-dark .mat-stroked-button.mat-warn .mat-button-focus-overlay{background-color:#d52626}.modern-dark .mat-button.mat-button-disabled .mat-button-focus-overlay,.modern-dark .mat-icon-button.mat-button-disabled .mat-button-focus-overlay,.modern-dark .mat-stroked-button.mat-button-disabled .mat-button-focus-overlay{background-color:transparent}.modern-dark .mat-button .mat-ripple-element,.modern-dark .mat-icon-button .mat-ripple-element,.modern-dark .mat-stroked-button .mat-ripple-element{opacity:.1;background-color:currentColor}.modern-dark .mat-button-focus-overlay{background:white}.modern-dark .mat-stroked-button:not(.mat-button-disabled){border-color:#ffffff1f}.modern-dark .mat-flat-button,.modern-dark .mat-raised-button,.modern-dark .mat-fab,.modern-dark .mat-mini-fab{color:#fff;background-color:#424242}.modern-dark .mat-flat-button.mat-primary,.modern-dark .mat-raised-button.mat-primary,.modern-dark .mat-fab.mat-primary,.modern-dark .mat-mini-fab.mat-primary{color:#000}.modern-dark .mat-flat-button.mat-accent,.modern-dark .mat-raised-button.mat-accent,.modern-dark .mat-fab.mat-accent,.modern-dark .mat-mini-fab.mat-accent,.modern-dark .mat-flat-button.mat-warn,.modern-dark .mat-raised-button.mat-warn,.modern-dark .mat-fab.mat-warn,.modern-dark .mat-mini-fab.mat-warn{color:#fff}.modern-dark .mat-flat-button.mat-primary.mat-button-disabled,.modern-dark .mat-flat-button.mat-accent.mat-button-disabled,.modern-dark .mat-flat-button.mat-warn.mat-button-disabled,.modern-dark .mat-flat-button.mat-button-disabled.mat-button-disabled,.modern-dark .mat-raised-button.mat-primary.mat-button-disabled,.modern-dark .mat-raised-button.mat-accent.mat-button-disabled,.modern-dark .mat-raised-button.mat-warn.mat-button-disabled,.modern-dark .mat-raised-button.mat-button-disabled.mat-button-disabled,.modern-dark .mat-fab.mat-primary.mat-button-disabled,.modern-dark .mat-fab.mat-accent.mat-button-disabled,.modern-dark .mat-fab.mat-warn.mat-button-disabled,.modern-dark .mat-fab.mat-button-disabled.mat-button-disabled,.modern-dark .mat-mini-fab.mat-primary.mat-button-disabled,.modern-dark .mat-mini-fab.mat-accent.mat-button-disabled,.modern-dark .mat-mini-fab.mat-warn.mat-button-disabled,.modern-dark .mat-mini-fab.mat-button-disabled.mat-button-disabled{color:#ffffff4d}.modern-dark .mat-flat-button.mat-primary,.modern-dark .mat-raised-button.mat-primary,.modern-dark .mat-fab.mat-primary,.modern-dark .mat-mini-fab.mat-primary{background-color:#63afdf}.modern-dark .mat-flat-button.mat-accent,.modern-dark .mat-raised-button.mat-accent,.modern-dark .mat-fab.mat-accent,.modern-dark .mat-mini-fab.mat-accent{background-color:#1e1e1e}.modern-dark .mat-flat-button.mat-warn,.modern-dark .mat-raised-button.mat-warn,.modern-dark .mat-fab.mat-warn,.modern-dark .mat-mini-fab.mat-warn{background-color:#d52626}.modern-dark .mat-flat-button.mat-primary.mat-button-disabled,.modern-dark .mat-flat-button.mat-accent.mat-button-disabled,.modern-dark .mat-flat-button.mat-warn.mat-button-disabled,.modern-dark .mat-flat-button.mat-button-disabled.mat-button-disabled,.modern-dark .mat-raised-button.mat-primary.mat-button-disabled,.modern-dark .mat-raised-button.mat-accent.mat-button-disabled,.modern-dark .mat-raised-button.mat-warn.mat-button-disabled,.modern-dark .mat-raised-button.mat-button-disabled.mat-button-disabled,.modern-dark .mat-fab.mat-primary.mat-button-disabled,.modern-dark .mat-fab.mat-accent.mat-button-disabled,.modern-dark .mat-fab.mat-warn.mat-button-disabled,.modern-dark .mat-fab.mat-button-disabled.mat-button-disabled,.modern-dark .mat-mini-fab.mat-primary.mat-button-disabled,.modern-dark .mat-mini-fab.mat-accent.mat-button-disabled,.modern-dark .mat-mini-fab.mat-warn.mat-button-disabled,.modern-dark .mat-mini-fab.mat-button-disabled.mat-button-disabled{background-color:#ffffff1f}.modern-dark .mat-flat-button.mat-primary .mat-ripple-element,.modern-dark .mat-raised-button.mat-primary .mat-ripple-element,.modern-dark .mat-fab.mat-primary .mat-ripple-element,.modern-dark .mat-mini-fab.mat-primary .mat-ripple-element{background-color:#0000001a}.modern-dark .mat-flat-button.mat-accent .mat-ripple-element,.modern-dark .mat-raised-button.mat-accent .mat-ripple-element,.modern-dark .mat-fab.mat-accent .mat-ripple-element,.modern-dark .mat-mini-fab.mat-accent .mat-ripple-element,.modern-dark .mat-flat-button.mat-warn .mat-ripple-element,.modern-dark .mat-raised-button.mat-warn .mat-ripple-element,.modern-dark .mat-fab.mat-warn .mat-ripple-element,.modern-dark .mat-mini-fab.mat-warn .mat-ripple-element{background-color:#ffffff1a}.modern-dark .mat-stroked-button:not([class*=mat-elevation-z]),.modern-dark .mat-flat-button:not([class*=mat-elevation-z]){box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.modern-dark .mat-raised-button:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.modern-dark .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}.modern-dark .mat-raised-button.mat-button-disabled:not([class*=mat-elevation-z]){box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.modern-dark .mat-fab:not([class*=mat-elevation-z]),.modern-dark .mat-mini-fab:not([class*=mat-elevation-z]){box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.modern-dark .mat-fab:not(.mat-button-disabled):active:not([class*=mat-elevation-z]),.modern-dark .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}.modern-dark .mat-fab.mat-button-disabled:not([class*=mat-elevation-z]),.modern-dark .mat-mini-fab.mat-button-disabled:not([class*=mat-elevation-z]){box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.modern-dark .mat-button-toggle-standalone:not([class*=mat-elevation-z]),.modern-dark .mat-button-toggle-group:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.modern-dark .mat-button-toggle-standalone.mat-button-toggle-appearance-standard:not([class*=mat-elevation-z]),.modern-dark .mat-button-toggle-group-appearance-standard:not([class*=mat-elevation-z]){box-shadow:none}.modern-dark .mat-button-toggle{color:#ffffff80}.modern-dark .mat-button-toggle .mat-button-toggle-focus-overlay{background-color:#ffffff1f}.modern-dark .mat-button-toggle-appearance-standard{color:#fff;background:#424242}.modern-dark .mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{background-color:#fff}.modern-dark .mat-button-toggle-group-appearance-standard .mat-button-toggle+.mat-button-toggle{border-left:solid 1px #595959}.modern-dark [dir=rtl] .mat-button-toggle-group-appearance-standard .mat-button-toggle+.mat-button-toggle{border-left:none;border-right:solid 1px #595959}.modern-dark .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 #595959}.modern-dark .mat-button-toggle-checked{background-color:#212121;color:#ffffffb3}.modern-dark .mat-button-toggle-checked.mat-button-toggle-appearance-standard{color:#fff}.modern-dark .mat-button-toggle-disabled{color:#ffffff4d;background-color:#000}.modern-dark .mat-button-toggle-disabled.mat-button-toggle-appearance-standard{background:#424242}.modern-dark .mat-button-toggle-disabled.mat-button-toggle-checked{background-color:#424242}.modern-dark .mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.modern-dark .mat-button-toggle-group-appearance-standard{border:solid 1px #595959}.modern-dark .mat-card{background:#424242;color:#fff}.modern-dark .mat-card:not([class*=mat-elevation-z]){box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f}.modern-dark .mat-card.mat-card-flat:not([class*=mat-elevation-z]){box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.modern-dark .mat-card-subtitle{color:#ffffffb3}.modern-dark .mat-checkbox-frame{border-color:#ffffffb3}.modern-dark .mat-checkbox-checkmark{fill:#303030}.modern-dark .mat-checkbox-checkmark-path{stroke:#303030!important}.modern-dark .mat-checkbox-mixedmark{background-color:#303030}.modern-dark .mat-checkbox-indeterminate.mat-primary .mat-checkbox-background,.modern-dark .mat-checkbox-checked.mat-primary .mat-checkbox-background{background-color:#63afdf}.modern-dark .mat-checkbox-indeterminate.mat-accent .mat-checkbox-background,.modern-dark .mat-checkbox-checked.mat-accent .mat-checkbox-background{background-color:#1e1e1e}.modern-dark .mat-checkbox-indeterminate.mat-warn .mat-checkbox-background,.modern-dark .mat-checkbox-checked.mat-warn .mat-checkbox-background{background-color:#d52626}.modern-dark .mat-checkbox-disabled.mat-checkbox-checked .mat-checkbox-background,.modern-dark .mat-checkbox-disabled.mat-checkbox-indeterminate .mat-checkbox-background{background-color:#686868}.modern-dark .mat-checkbox-disabled:not(.mat-checkbox-checked) .mat-checkbox-frame{border-color:#686868}.modern-dark .mat-checkbox-disabled .mat-checkbox-label{color:#ffffff80}.modern-dark .mat-checkbox .mat-ripple-element{background-color:#fff}.modern-dark .mat-checkbox-checked:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element,.modern-dark .mat-checkbox:active:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element{background:#63afdf}.modern-dark .mat-checkbox-checked:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element,.modern-dark .mat-checkbox:active:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element{background:#1e1e1e}.modern-dark .mat-checkbox-checked:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element,.modern-dark .mat-checkbox:active:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element{background:#d52626}.modern-dark .mat-chip.mat-standard-chip{background-color:#616161;color:#fff}.modern-dark .mat-chip.mat-standard-chip .mat-chip-remove{color:#fff;opacity:.4}.modern-dark .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}.modern-dark .mat-chip.mat-standard-chip:not(.mat-chip-disabled) .mat-chip-remove:hover{opacity:.54}.modern-dark .mat-chip.mat-standard-chip.mat-chip-disabled{opacity:.4}.modern-dark .mat-chip.mat-standard-chip:after{background:white}.modern-dark .mat-chip.mat-standard-chip.mat-chip-selected.mat-primary{background-color:#63afdf;color:#000}.modern-dark .mat-chip.mat-standard-chip.mat-chip-selected.mat-primary .mat-chip-remove{color:#000;opacity:.4}.modern-dark .mat-chip.mat-standard-chip.mat-chip-selected.mat-primary .mat-ripple-element{background-color:#0000001a}.modern-dark .mat-chip.mat-standard-chip.mat-chip-selected.mat-warn{background-color:#d52626;color:#fff}.modern-dark .mat-chip.mat-standard-chip.mat-chip-selected.mat-warn .mat-chip-remove{color:#fff;opacity:.4}.modern-dark .mat-chip.mat-standard-chip.mat-chip-selected.mat-warn .mat-ripple-element{background-color:#ffffff1a}.modern-dark .mat-chip.mat-standard-chip.mat-chip-selected.mat-accent{background-color:#1e1e1e;color:#fff}.modern-dark .mat-chip.mat-standard-chip.mat-chip-selected.mat-accent .mat-chip-remove{color:#fff;opacity:.4}.modern-dark .mat-chip.mat-standard-chip.mat-chip-selected.mat-accent .mat-ripple-element{background-color:#ffffff1a}.modern-dark .mat-table{background:#424242}.modern-dark .mat-table thead,.modern-dark .mat-table tbody,.modern-dark .mat-table tfoot,.modern-dark mat-header-row,.modern-dark mat-row,.modern-dark mat-footer-row,.modern-dark [mat-header-row],.modern-dark [mat-row],.modern-dark [mat-footer-row],.modern-dark .mat-table-sticky{background:inherit}.modern-dark mat-row,.modern-dark mat-header-row,.modern-dark mat-footer-row,.modern-dark th.mat-header-cell,.modern-dark td.mat-cell,.modern-dark td.mat-footer-cell{border-bottom-color:#ffffff1f}.modern-dark .mat-header-cell{color:#ffffffb3}.modern-dark .mat-cell,.modern-dark .mat-footer-cell{color:#fff}.modern-dark .mat-calendar-arrow{fill:#fff}.modern-dark .mat-datepicker-toggle,.modern-dark .mat-datepicker-content .mat-calendar-next-button,.modern-dark .mat-datepicker-content .mat-calendar-previous-button{color:#fff}.modern-dark .mat-calendar-table-header-divider:after{background:rgba(255,255,255,.12)}.modern-dark .mat-calendar-table-header,.modern-dark .mat-calendar-body-label{color:#ffffffb3}.modern-dark .mat-calendar-body-cell-content,.modern-dark .mat-date-range-input-separator{color:#fff;border-color:transparent}.modern-dark .mat-calendar-body-disabled>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){color:#ffffff80}.modern-dark .mat-form-field-disabled .mat-date-range-input-separator{color:#ffffff80}.modern-dark .mat-calendar-body-in-preview{color:#ffffff3d}.modern-dark .mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:#ffffff80}.modern-dark .mat-calendar-body-disabled>.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:#ffffff4d}.modern-dark .mat-calendar-body-in-range:before{background:rgba(99,175,223,.2)}.modern-dark .mat-calendar-body-comparison-identical,.modern-dark .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.modern-dark .mat-calendar-body-comparison-bridge-start:before,.modern-dark [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(to right,rgba(99,175,223,.2) 50%,rgba(249,171,0,.2) 50%)}.modern-dark .mat-calendar-body-comparison-bridge-end:before,.modern-dark [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(to left,rgba(99,175,223,.2) 50%,rgba(249,171,0,.2) 50%)}.modern-dark .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.modern-dark .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after{background:#a8dab5}.modern-dark .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.modern-dark .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.modern-dark .mat-calendar-body-selected{background-color:#63afdf;color:#000}.modern-dark .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:#63afdf66}.modern-dark .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #000}.modern-dark .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.modern-dark .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:#63afdf4d}@media (hover: hover){.modern-dark .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:#63afdf4d}}.modern-dark .mat-datepicker-content{box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f;background-color:#424242;color:#fff}.modern-dark .mat-datepicker-content.mat-accent .mat-calendar-body-in-range:before{background:rgba(30,30,30,.2)}.modern-dark .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-identical,.modern-dark .mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.modern-dark .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-bridge-start:before,.modern-dark .mat-datepicker-content.mat-accent [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(to right,rgba(30,30,30,.2) 50%,rgba(249,171,0,.2) 50%)}.modern-dark .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-bridge-end:before,.modern-dark .mat-datepicker-content.mat-accent [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(to left,rgba(30,30,30,.2) 50%,rgba(249,171,0,.2) 50%)}.modern-dark .mat-datepicker-content.mat-accent .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.modern-dark .mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after{background:#a8dab5}.modern-dark .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.modern-dark .mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.modern-dark .mat-datepicker-content.mat-accent .mat-calendar-body-selected{background-color:#1e1e1e;color:#fff}.modern-dark .mat-datepicker-content.mat-accent .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:#1e1e1e66}.modern-dark .mat-datepicker-content.mat-accent .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.modern-dark .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),.modern-dark .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:#1e1e1e4d}@media (hover: hover){.modern-dark .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:#1e1e1e4d}}.modern-dark .mat-datepicker-content.mat-warn .mat-calendar-body-in-range:before{background:rgba(213,38,38,.2)}.modern-dark .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-identical,.modern-dark .mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.modern-dark .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-bridge-start:before,.modern-dark .mat-datepicker-content.mat-warn [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(to right,rgba(213,38,38,.2) 50%,rgba(249,171,0,.2) 50%)}.modern-dark .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-bridge-end:before,.modern-dark .mat-datepicker-content.mat-warn [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(to left,rgba(213,38,38,.2) 50%,rgba(249,171,0,.2) 50%)}.modern-dark .mat-datepicker-content.mat-warn .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.modern-dark .mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after{background:#a8dab5}.modern-dark .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.modern-dark .mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.modern-dark .mat-datepicker-content.mat-warn .mat-calendar-body-selected{background-color:#d52626;color:#fff}.modern-dark .mat-datepicker-content.mat-warn .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:#d5262666}.modern-dark .mat-datepicker-content.mat-warn .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.modern-dark .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),.modern-dark .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:#d526264d}@media (hover: hover){.modern-dark .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:#d526264d}}.modern-dark .mat-datepicker-content-touch{box-shadow:0 11px 15px -7px #0003,0 24px 38px 3px #00000024,0 9px 46px 8px #0000001f}.modern-dark .mat-datepicker-toggle-active{color:#63afdf}.modern-dark .mat-datepicker-toggle-active.mat-accent{color:#1e1e1e}.modern-dark .mat-datepicker-toggle-active.mat-warn{color:#d52626}.modern-dark .mat-date-range-input-inner[disabled]{color:#ffffff80}.modern-dark .mat-dialog-container{box-shadow:0 11px 15px -7px #0003,0 24px 38px 3px #00000024,0 9px 46px 8px #0000001f;background:#424242;color:#fff}.modern-dark .mat-divider{border-top-color:#ffffff1f}.modern-dark .mat-divider-vertical{border-right-color:#ffffff1f}.modern-dark .mat-expansion-panel{background:#424242;color:#fff}.modern-dark .mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.modern-dark .mat-action-row{border-top-color:#ffffff1f}.modern-dark .mat-expansion-panel .mat-expansion-panel-header.cdk-keyboard-focused:not([aria-disabled=true]),.modern-dark .mat-expansion-panel .mat-expansion-panel-header.cdk-program-focused:not([aria-disabled=true]),.modern-dark .mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:hover:not([aria-disabled=true]){background:rgba(255,255,255,.04)}@media (hover: none){.modern-dark .mat-expansion-panel:not(.mat-expanded):not([aria-disabled=true]) .mat-expansion-panel-header:hover{background:#424242}}.modern-dark .mat-expansion-panel-header-title{color:#fff}.modern-dark .mat-expansion-panel-header-description,.modern-dark .mat-expansion-indicator:after{color:#ffffffb3}.modern-dark .mat-expansion-panel-header[aria-disabled=true]{color:#ffffff4d}.modern-dark .mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-title,.modern-dark .mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-description{color:inherit}.modern-dark .mat-form-field-label,.modern-dark .mat-hint{color:#ffffffb3}.modern-dark .mat-form-field.mat-focused .mat-form-field-label{color:#63afdf}.modern-dark .mat-form-field.mat-focused .mat-form-field-label.mat-accent{color:#1e1e1e}.modern-dark .mat-form-field.mat-focused .mat-form-field-label.mat-warn{color:#d52626}.modern-dark .mat-focused .mat-form-field-required-marker{color:#1e1e1e}.modern-dark .mat-form-field-ripple{background-color:#fff}.modern-dark .mat-form-field.mat-focused .mat-form-field-ripple{background-color:#63afdf}.modern-dark .mat-form-field.mat-focused .mat-form-field-ripple.mat-accent{background-color:#1e1e1e}.modern-dark .mat-form-field.mat-focused .mat-form-field-ripple.mat-warn{background-color:#d52626}.modern-dark .mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid) .mat-form-field-infix:after{color:#63afdf}.modern-dark .mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid).mat-accent .mat-form-field-infix:after{color:#1e1e1e}.modern-dark .mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid).mat-warn .mat-form-field-infix:after{color:#d52626}.modern-dark .mat-form-field.mat-form-field-invalid .mat-form-field-label,.modern-dark .mat-form-field.mat-form-field-invalid .mat-form-field-label.mat-accent,.modern-dark .mat-form-field.mat-form-field-invalid .mat-form-field-label .mat-form-field-required-marker{color:#d52626}.modern-dark .mat-form-field.mat-form-field-invalid .mat-form-field-ripple,.modern-dark .mat-form-field.mat-form-field-invalid .mat-form-field-ripple.mat-accent{background-color:#d52626}.modern-dark .mat-error{color:#d52626}.modern-dark .mat-form-field-appearance-legacy .mat-form-field-label,.modern-dark .mat-form-field-appearance-legacy .mat-hint{color:#ffffffb3}.modern-dark .mat-form-field-appearance-legacy .mat-form-field-underline{background-color:#ffffffb3}.modern-dark .mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-image:linear-gradient(to right,rgba(255,255,255,.7) 0%,rgba(255,255,255,.7) 33%,transparent 0%);background-size:4px 100%;background-repeat:repeat-x}.modern-dark .mat-form-field-appearance-standard .mat-form-field-underline{background-color:#ffffffb3}.modern-dark .mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-image:linear-gradient(to right,rgba(255,255,255,.7) 0%,rgba(255,255,255,.7) 33%,transparent 0%);background-size:4px 100%;background-repeat:repeat-x}.modern-dark .mat-form-field-appearance-fill .mat-form-field-flex{background-color:#ffffff1a}.modern-dark .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-flex{background-color:#ffffff0d}.modern-dark .mat-form-field-appearance-fill .mat-form-field-underline:before{background-color:#ffffff80}.modern-dark .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-label{color:#ffffff80}.modern-dark .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-underline:before{background-color:transparent}.modern-dark .mat-form-field-appearance-outline .mat-form-field-outline{color:#ffffff4d}.modern-dark .mat-form-field-appearance-outline .mat-form-field-outline-thick{color:#fff}.modern-dark .mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick{color:#63afdf}.modern-dark .mat-form-field-appearance-outline.mat-focused.mat-accent .mat-form-field-outline-thick{color:#1e1e1e}.modern-dark .mat-form-field-appearance-outline.mat-focused.mat-warn .mat-form-field-outline-thick,.modern-dark .mat-form-field-appearance-outline.mat-form-field-invalid.mat-form-field-invalid .mat-form-field-outline-thick{color:#d52626}.modern-dark .mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-label{color:#ffffff80}.modern-dark .mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-outline{color:#ffffff26}.modern-dark .mat-icon.mat-primary{color:#63afdf}.modern-dark .mat-icon.mat-accent{color:#1e1e1e}.modern-dark .mat-icon.mat-warn{color:#d52626}.modern-dark .mat-form-field-type-mat-native-select .mat-form-field-infix:after{color:#ffffffb3}.modern-dark .mat-input-element:disabled,.modern-dark .mat-form-field-type-mat-native-select.mat-form-field-disabled .mat-form-field-infix:after{color:#ffffff80}.modern-dark .mat-input-element{caret-color:#63afdf}.modern-dark .mat-input-element::placeholder{color:#ffffff80}.modern-dark .mat-input-element::-moz-placeholder{color:#ffffff80}.modern-dark .mat-input-element::-webkit-input-placeholder{color:#ffffff80}.modern-dark .mat-input-element:-ms-input-placeholder{color:#ffffff80}.modern-dark .mat-input-element:not(.mat-native-select-inline) option{color:#000000de}.modern-dark .mat-input-element:not(.mat-native-select-inline) option:disabled{color:#00000061}.modern-dark .mat-form-field.mat-accent .mat-input-element{caret-color:#1e1e1e}.modern-dark .mat-form-field.mat-warn .mat-input-element,.modern-dark .mat-form-field-invalid .mat-input-element{caret-color:#d52626}.modern-dark .mat-form-field-type-mat-native-select.mat-form-field-invalid .mat-form-field-infix:after{color:#d52626}.modern-dark .mat-list-base .mat-list-item,.modern-dark .mat-list-base .mat-list-option{color:#fff}.modern-dark .mat-list-base .mat-subheader{color:#ffffffb3}.modern-dark .mat-list-base .mat-list-item-disabled{background-color:#ffffff1f;color:#ffffff80}.modern-dark .mat-list-option:hover,.modern-dark .mat-list-option:focus,.modern-dark .mat-nav-list .mat-list-item:hover,.modern-dark .mat-nav-list .mat-list-item:focus,.modern-dark .mat-action-list .mat-list-item:hover,.modern-dark .mat-action-list .mat-list-item:focus{background:rgba(255,255,255,.04)}.modern-dark .mat-list-single-selected-option,.modern-dark .mat-list-single-selected-option:hover,.modern-dark .mat-list-single-selected-option:focus{background:rgba(255,255,255,.12)}.modern-dark .mat-menu-panel{background:#424242}.modern-dark .mat-menu-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.modern-dark .mat-menu-item{background:transparent;color:#fff}.modern-dark .mat-menu-item[disabled],.modern-dark .mat-menu-item[disabled] .mat-menu-submenu-icon,.modern-dark .mat-menu-item[disabled] .mat-icon-no-color{color:#ffffff80}.modern-dark .mat-menu-item .mat-icon-no-color,.modern-dark .mat-menu-submenu-icon{color:#fff}.modern-dark .mat-menu-item:hover:not([disabled]),.modern-dark .mat-menu-item.cdk-program-focused:not([disabled]),.modern-dark .mat-menu-item.cdk-keyboard-focused:not([disabled]),.modern-dark .mat-menu-item-highlighted:not([disabled]){background:rgba(255,255,255,.04)}.modern-dark .mat-paginator{background:#424242}.modern-dark .mat-paginator,.modern-dark .mat-paginator-page-size .mat-select-trigger{color:#ffffffb3}.modern-dark .mat-paginator-decrement,.modern-dark .mat-paginator-increment{border-top:2px solid white;border-right:2px solid white}.modern-dark .mat-paginator-first,.modern-dark .mat-paginator-last{border-top:2px solid white}.modern-dark .mat-icon-button[disabled] .mat-paginator-decrement,.modern-dark .mat-icon-button[disabled] .mat-paginator-increment,.modern-dark .mat-icon-button[disabled] .mat-paginator-first,.modern-dark .mat-icon-button[disabled] .mat-paginator-last{border-color:#ffffff80}.modern-dark .mat-progress-bar-background{fill:#3d505c}.modern-dark .mat-progress-bar-buffer{background-color:#3d505c}.modern-dark .mat-progress-bar-fill:after{background-color:#63afdf}.modern-dark .mat-progress-bar.mat-accent .mat-progress-bar-background{fill:#2c2c2c}.modern-dark .mat-progress-bar.mat-accent .mat-progress-bar-buffer{background-color:#2c2c2c}.modern-dark .mat-progress-bar.mat-accent .mat-progress-bar-fill:after{background-color:#1e1e1e}.modern-dark .mat-progress-bar.mat-warn .mat-progress-bar-background{fill:#592e2e}.modern-dark .mat-progress-bar.mat-warn .mat-progress-bar-buffer{background-color:#592e2e}.modern-dark .mat-progress-bar.mat-warn .mat-progress-bar-fill:after{background-color:#d52626}.modern-dark .mat-progress-spinner circle,.modern-dark .mat-spinner circle{stroke:#63afdf}.modern-dark .mat-progress-spinner.mat-accent circle,.modern-dark .mat-spinner.mat-accent circle{stroke:#1e1e1e}.modern-dark .mat-progress-spinner.mat-warn circle,.modern-dark .mat-spinner.mat-warn circle{stroke:#d52626}.modern-dark .mat-radio-outer-circle{border-color:#ffffffb3}.modern-dark .mat-radio-button.mat-primary.mat-radio-checked .mat-radio-outer-circle{border-color:#63afdf}.modern-dark .mat-radio-button.mat-primary .mat-radio-inner-circle,.modern-dark .mat-radio-button.mat-primary .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.modern-dark .mat-radio-button.mat-primary.mat-radio-checked .mat-radio-persistent-ripple,.modern-dark .mat-radio-button.mat-primary:active .mat-radio-persistent-ripple{background-color:#63afdf}.modern-dark .mat-radio-button.mat-accent.mat-radio-checked .mat-radio-outer-circle{border-color:#1e1e1e}.modern-dark .mat-radio-button.mat-accent .mat-radio-inner-circle,.modern-dark .mat-radio-button.mat-accent .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.modern-dark .mat-radio-button.mat-accent.mat-radio-checked .mat-radio-persistent-ripple,.modern-dark .mat-radio-button.mat-accent:active .mat-radio-persistent-ripple{background-color:#1e1e1e}.modern-dark .mat-radio-button.mat-warn.mat-radio-checked .mat-radio-outer-circle{border-color:#d52626}.modern-dark .mat-radio-button.mat-warn .mat-radio-inner-circle,.modern-dark .mat-radio-button.mat-warn .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.modern-dark .mat-radio-button.mat-warn.mat-radio-checked .mat-radio-persistent-ripple,.modern-dark .mat-radio-button.mat-warn:active .mat-radio-persistent-ripple{background-color:#d52626}.modern-dark .mat-radio-button.mat-radio-disabled.mat-radio-checked .mat-radio-outer-circle,.modern-dark .mat-radio-button.mat-radio-disabled .mat-radio-outer-circle{border-color:#ffffff80}.modern-dark .mat-radio-button.mat-radio-disabled .mat-radio-ripple .mat-ripple-element,.modern-dark .mat-radio-button.mat-radio-disabled .mat-radio-inner-circle{background-color:#ffffff80}.modern-dark .mat-radio-button.mat-radio-disabled .mat-radio-label-content{color:#ffffff80}.modern-dark .mat-radio-button .mat-ripple-element{background-color:#fff}.modern-dark .mat-select-value{color:#fff}.modern-dark .mat-select-placeholder,.modern-dark .mat-select-disabled .mat-select-value{color:#ffffff80}.modern-dark .mat-select-arrow{color:#ffffffb3}.modern-dark .mat-select-panel{background:#424242}.modern-dark .mat-select-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.modern-dark .mat-select-panel .mat-option.mat-selected:not(.mat-option-multiple){background:rgba(255,255,255,.12)}.modern-dark .mat-form-field.mat-focused.mat-primary .mat-select-arrow{color:#63afdf}.modern-dark .mat-form-field.mat-focused.mat-accent .mat-select-arrow{color:#1e1e1e}.modern-dark .mat-form-field.mat-focused.mat-warn .mat-select-arrow,.modern-dark .mat-form-field .mat-select.mat-select-invalid .mat-select-arrow{color:#d52626}.modern-dark .mat-form-field .mat-select.mat-select-disabled .mat-select-arrow{color:#ffffff80}.modern-dark .mat-drawer-container{background-color:#303030;color:#fff}.modern-dark .mat-drawer{background-color:#424242;color:#fff}.modern-dark .mat-drawer.mat-drawer-push{background-color:#424242}.modern-dark .mat-drawer:not(.mat-drawer-side){box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f}.modern-dark .mat-drawer-side{border-right:solid 1px rgba(255,255,255,.12)}.modern-dark .mat-drawer-side.mat-drawer-end,.modern-dark [dir=rtl] .mat-drawer-side{border-left:solid 1px rgba(255,255,255,.12);border-right:none}.modern-dark [dir=rtl] .mat-drawer-side.mat-drawer-end{border-left:none;border-right:solid 1px rgba(255,255,255,.12)}.modern-dark .mat-drawer-backdrop.mat-drawer-shown{background-color:#bdbdbd99}.modern-dark .mat-slide-toggle.mat-checked .mat-slide-toggle-thumb{background-color:#1e1e1e}.modern-dark .mat-slide-toggle.mat-checked .mat-slide-toggle-bar{background-color:#1e1e1e8a}.modern-dark .mat-slide-toggle.mat-checked .mat-ripple-element{background-color:#1e1e1e}.modern-dark .mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-thumb{background-color:#63afdf}.modern-dark .mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-bar{background-color:#63afdf8a}.modern-dark .mat-slide-toggle.mat-primary.mat-checked .mat-ripple-element{background-color:#63afdf}.modern-dark .mat-slide-toggle.mat-warn.mat-checked .mat-slide-toggle-thumb{background-color:#d52626}.modern-dark .mat-slide-toggle.mat-warn.mat-checked .mat-slide-toggle-bar{background-color:#d526268a}.modern-dark .mat-slide-toggle.mat-warn.mat-checked .mat-ripple-element{background-color:#d52626}.modern-dark .mat-slide-toggle:not(.mat-checked) .mat-ripple-element{background-color:#fff}.modern-dark .mat-slide-toggle-thumb{box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f;background-color:#bdbdbd}.modern-dark .mat-slide-toggle-bar{background-color:#ffffff80}.modern-dark .mat-slider-track-background{background-color:#ffffff4d}.modern-dark .mat-slider.mat-primary .mat-slider-track-fill,.modern-dark .mat-slider.mat-primary .mat-slider-thumb,.modern-dark .mat-slider.mat-primary .mat-slider-thumb-label{background-color:#63afdf}.modern-dark .mat-slider.mat-primary .mat-slider-thumb-label-text{color:#000}.modern-dark .mat-slider.mat-primary .mat-slider-focus-ring{background-color:#63afdf33}.modern-dark .mat-slider.mat-accent .mat-slider-track-fill,.modern-dark .mat-slider.mat-accent .mat-slider-thumb,.modern-dark .mat-slider.mat-accent .mat-slider-thumb-label{background-color:#1e1e1e}.modern-dark .mat-slider.mat-accent .mat-slider-thumb-label-text{color:#fff}.modern-dark .mat-slider.mat-accent .mat-slider-focus-ring{background-color:#1e1e1e33}.modern-dark .mat-slider.mat-warn .mat-slider-track-fill,.modern-dark .mat-slider.mat-warn .mat-slider-thumb,.modern-dark .mat-slider.mat-warn .mat-slider-thumb-label{background-color:#d52626}.modern-dark .mat-slider.mat-warn .mat-slider-thumb-label-text{color:#fff}.modern-dark .mat-slider.mat-warn .mat-slider-focus-ring{background-color:#d5262633}.modern-dark .mat-slider:hover .mat-slider-track-background,.modern-dark .mat-slider.cdk-focused .mat-slider-track-background,.modern-dark .mat-slider.mat-slider-disabled .mat-slider-track-background,.modern-dark .mat-slider.mat-slider-disabled .mat-slider-track-fill,.modern-dark .mat-slider.mat-slider-disabled .mat-slider-thumb,.modern-dark .mat-slider.mat-slider-disabled:hover .mat-slider-track-background{background-color:#ffffff4d}.modern-dark .mat-slider.mat-slider-min-value .mat-slider-focus-ring{background-color:#ffffff1f}.modern-dark .mat-slider.mat-slider-min-value.mat-slider-thumb-label-showing .mat-slider-thumb,.modern-dark .mat-slider.mat-slider-min-value.mat-slider-thumb-label-showing .mat-slider-thumb-label{background-color:#fff}.modern-dark .mat-slider.mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb,.modern-dark .mat-slider.mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb-label{background-color:#ffffff4d}.modern-dark .mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing) .mat-slider-thumb{border-color:#ffffff4d;background-color:transparent}.modern-dark .mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover .mat-slider-thumb,.modern-dark .mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused .mat-slider-thumb{border-color:#ffffff4d}.modern-dark .mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover.mat-slider-disabled .mat-slider-thumb,.modern-dark .mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused.mat-slider-disabled .mat-slider-thumb{border-color:#ffffff4d}.modern-dark .mat-slider-has-ticks .mat-slider-wrapper:after{border-color:#ffffffb3}.modern-dark .mat-slider-horizontal .mat-slider-ticks{background-image:repeating-linear-gradient(to right,rgba(255,255,255,.7),rgba(255,255,255,.7) 2px,transparent 0,transparent);background-image:-moz-repeating-linear-gradient(.0001deg,rgba(255,255,255,.7),rgba(255,255,255,.7) 2px,transparent 0,transparent)}.modern-dark .mat-slider-vertical .mat-slider-ticks{background-image:repeating-linear-gradient(to bottom,rgba(255,255,255,.7),rgba(255,255,255,.7) 2px,transparent 0,transparent)}.modern-dark .mat-step-header.cdk-keyboard-focused,.modern-dark .mat-step-header.cdk-program-focused,.modern-dark .mat-step-header:hover:not([aria-disabled]),.modern-dark .mat-step-header:hover[aria-disabled=false]{background-color:#ffffff0a}.modern-dark .mat-step-header:hover[aria-disabled=true]{cursor:default}@media (hover: none){.modern-dark .mat-step-header:hover{background:none}}.modern-dark .mat-step-header .mat-step-label,.modern-dark .mat-step-header .mat-step-optional{color:#ffffffb3}.modern-dark .mat-step-header .mat-step-icon{background-color:#ffffffb3;color:#000}.modern-dark .mat-step-header .mat-step-icon-selected,.modern-dark .mat-step-header .mat-step-icon-state-done,.modern-dark .mat-step-header .mat-step-icon-state-edit{background-color:#63afdf;color:#000}.modern-dark .mat-step-header.mat-accent .mat-step-icon{color:#fff}.modern-dark .mat-step-header.mat-accent .mat-step-icon-selected,.modern-dark .mat-step-header.mat-accent .mat-step-icon-state-done,.modern-dark .mat-step-header.mat-accent .mat-step-icon-state-edit{background-color:#1e1e1e;color:#fff}.modern-dark .mat-step-header.mat-warn .mat-step-icon{color:#fff}.modern-dark .mat-step-header.mat-warn .mat-step-icon-selected,.modern-dark .mat-step-header.mat-warn .mat-step-icon-state-done,.modern-dark .mat-step-header.mat-warn .mat-step-icon-state-edit{background-color:#d52626;color:#fff}.modern-dark .mat-step-header .mat-step-icon-state-error{background-color:transparent;color:#d52626}.modern-dark .mat-step-header .mat-step-label.mat-step-label-active{color:#fff}.modern-dark .mat-step-header .mat-step-label.mat-step-label-error{color:#d52626}.modern-dark .mat-stepper-horizontal,.modern-dark .mat-stepper-vertical{background-color:#424242}.modern-dark .mat-stepper-vertical-line:before{border-left-color:#ffffff1f}.modern-dark .mat-horizontal-stepper-header:before,.modern-dark .mat-horizontal-stepper-header:after,.modern-dark .mat-stepper-horizontal-line{border-top-color:#ffffff1f}.modern-dark .mat-sort-header-arrow{color:#c6c6c6}.modern-dark .mat-tab-nav-bar,.modern-dark .mat-tab-header{border-bottom:1px solid rgba(255,255,255,.12)}.modern-dark .mat-tab-group-inverted-header .mat-tab-nav-bar,.modern-dark .mat-tab-group-inverted-header .mat-tab-header{border-top:1px solid rgba(255,255,255,.12);border-bottom:none}.modern-dark .mat-tab-label,.modern-dark .mat-tab-link{color:#fff}.modern-dark .mat-tab-label.mat-tab-disabled,.modern-dark .mat-tab-link.mat-tab-disabled{color:#ffffff80}.modern-dark .mat-tab-header-pagination-chevron{border-color:#fff}.modern-dark .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:#ffffff80}.modern-dark .mat-tab-group[class*=mat-background-]>.mat-tab-header,.modern-dark .mat-tab-nav-bar[class*=mat-background-]{border-bottom:none;border-top:none}.modern-dark .mat-tab-group.mat-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.modern-dark .mat-tab-group.mat-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.modern-dark .mat-tab-group.mat-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.modern-dark .mat-tab-group.mat-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.modern-dark .mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.modern-dark .mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.modern-dark .mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.modern-dark .mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#d0e7f54d}.modern-dark .mat-tab-group.mat-primary .mat-ink-bar,.modern-dark .mat-tab-nav-bar.mat-primary .mat-ink-bar{background-color:#63afdf}.modern-dark .mat-tab-group.mat-primary.mat-background-primary>.mat-tab-header .mat-ink-bar,.modern-dark .mat-tab-group.mat-primary.mat-background-primary>.mat-tab-link-container .mat-ink-bar,.modern-dark .mat-tab-nav-bar.mat-primary.mat-background-primary>.mat-tab-header .mat-ink-bar,.modern-dark .mat-tab-nav-bar.mat-primary.mat-background-primary>.mat-tab-link-container .mat-ink-bar{background-color:#000}.modern-dark .mat-tab-group.mat-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.modern-dark .mat-tab-group.mat-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.modern-dark .mat-tab-group.mat-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.modern-dark .mat-tab-group.mat-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.modern-dark .mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.modern-dark .mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.modern-dark .mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.modern-dark .mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#ffffff4d}.modern-dark .mat-tab-group.mat-accent .mat-ink-bar,.modern-dark .mat-tab-nav-bar.mat-accent .mat-ink-bar{background-color:#1e1e1e}.modern-dark .mat-tab-group.mat-accent.mat-background-accent>.mat-tab-header .mat-ink-bar,.modern-dark .mat-tab-group.mat-accent.mat-background-accent>.mat-tab-link-container .mat-ink-bar,.modern-dark .mat-tab-nav-bar.mat-accent.mat-background-accent>.mat-tab-header .mat-ink-bar,.modern-dark .mat-tab-nav-bar.mat-accent.mat-background-accent>.mat-tab-link-container .mat-ink-bar{background-color:#fff}.modern-dark .mat-tab-group.mat-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.modern-dark .mat-tab-group.mat-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.modern-dark .mat-tab-group.mat-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.modern-dark .mat-tab-group.mat-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.modern-dark .mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.modern-dark .mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.modern-dark .mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.modern-dark .mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#f2bebe4d}.modern-dark .mat-tab-group.mat-warn .mat-ink-bar,.modern-dark .mat-tab-nav-bar.mat-warn .mat-ink-bar{background-color:#d52626}.modern-dark .mat-tab-group.mat-warn.mat-background-warn>.mat-tab-header .mat-ink-bar,.modern-dark .mat-tab-group.mat-warn.mat-background-warn>.mat-tab-link-container .mat-ink-bar,.modern-dark .mat-tab-nav-bar.mat-warn.mat-background-warn>.mat-tab-header .mat-ink-bar,.modern-dark .mat-tab-nav-bar.mat-warn.mat-background-warn>.mat-tab-link-container .mat-ink-bar{background-color:#fff}.modern-dark .mat-tab-group.mat-background-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.modern-dark .mat-tab-group.mat-background-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.modern-dark .mat-tab-group.mat-background-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.modern-dark .mat-tab-group.mat-background-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.modern-dark .mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.modern-dark .mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.modern-dark .mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.modern-dark .mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#d0e7f54d}.modern-dark .mat-tab-group.mat-background-primary>.mat-tab-header,.modern-dark .mat-tab-group.mat-background-primary>.mat-tab-link-container,.modern-dark .mat-tab-group.mat-background-primary>.mat-tab-header-pagination,.modern-dark .mat-tab-nav-bar.mat-background-primary>.mat-tab-header,.modern-dark .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container,.modern-dark .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination{background-color:#63afdf}.modern-dark .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-label,.modern-dark .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-tab-link,.modern-dark .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-label,.modern-dark .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-tab-link{color:#000}.modern-dark .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-label.mat-tab-disabled,.modern-dark .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.modern-dark .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-label.mat-tab-disabled,.modern-dark .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:#0006}.modern-dark .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-chevron,.modern-dark .mat-tab-group.mat-background-primary>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.modern-dark .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-focus-indicator:before,.modern-dark .mat-tab-group.mat-background-primary>.mat-tab-header .mat-focus-indicator:before,.modern-dark .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-chevron,.modern-dark .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.modern-dark .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-focus-indicator:before,.modern-dark .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-focus-indicator:before{border-color:#000}.modern-dark .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.modern-dark .mat-tab-group.mat-background-primary>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.modern-dark .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.modern-dark .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:#000;opacity:.4}.modern-dark .mat-tab-group.mat-background-primary>.mat-tab-header .mat-ripple-element,.modern-dark .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-ripple-element,.modern-dark .mat-tab-group.mat-background-primary>.mat-tab-header-pagination .mat-ripple-element,.modern-dark .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-ripple-element,.modern-dark .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-ripple-element,.modern-dark .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination .mat-ripple-element{background-color:#000;opacity:.12}.modern-dark .mat-tab-group.mat-background-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.modern-dark .mat-tab-group.mat-background-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.modern-dark .mat-tab-group.mat-background-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.modern-dark .mat-tab-group.mat-background-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.modern-dark .mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.modern-dark .mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.modern-dark .mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.modern-dark .mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#ffffff4d}.modern-dark .mat-tab-group.mat-background-accent>.mat-tab-header,.modern-dark .mat-tab-group.mat-background-accent>.mat-tab-link-container,.modern-dark .mat-tab-group.mat-background-accent>.mat-tab-header-pagination,.modern-dark .mat-tab-nav-bar.mat-background-accent>.mat-tab-header,.modern-dark .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container,.modern-dark .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination{background-color:#1e1e1e}.modern-dark .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-label,.modern-dark .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-tab-link,.modern-dark .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-label,.modern-dark .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-tab-link{color:#fff}.modern-dark .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-label.mat-tab-disabled,.modern-dark .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.modern-dark .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-label.mat-tab-disabled,.modern-dark .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:#fff6}.modern-dark .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-chevron,.modern-dark .mat-tab-group.mat-background-accent>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.modern-dark .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-focus-indicator:before,.modern-dark .mat-tab-group.mat-background-accent>.mat-tab-header .mat-focus-indicator:before,.modern-dark .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-chevron,.modern-dark .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.modern-dark .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-focus-indicator:before,.modern-dark .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-focus-indicator:before{border-color:#fff}.modern-dark .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.modern-dark .mat-tab-group.mat-background-accent>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.modern-dark .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.modern-dark .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:#fff;opacity:.4}.modern-dark .mat-tab-group.mat-background-accent>.mat-tab-header .mat-ripple-element,.modern-dark .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-ripple-element,.modern-dark .mat-tab-group.mat-background-accent>.mat-tab-header-pagination .mat-ripple-element,.modern-dark .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-ripple-element,.modern-dark .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-ripple-element,.modern-dark .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination .mat-ripple-element{background-color:#fff;opacity:.12}.modern-dark .mat-tab-group.mat-background-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.modern-dark .mat-tab-group.mat-background-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.modern-dark .mat-tab-group.mat-background-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.modern-dark .mat-tab-group.mat-background-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.modern-dark .mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.modern-dark .mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.modern-dark .mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.modern-dark .mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#f2bebe4d}.modern-dark .mat-tab-group.mat-background-warn>.mat-tab-header,.modern-dark .mat-tab-group.mat-background-warn>.mat-tab-link-container,.modern-dark .mat-tab-group.mat-background-warn>.mat-tab-header-pagination,.modern-dark .mat-tab-nav-bar.mat-background-warn>.mat-tab-header,.modern-dark .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container,.modern-dark .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination{background-color:#d52626}.modern-dark .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-label,.modern-dark .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-tab-link,.modern-dark .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-label,.modern-dark .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-tab-link{color:#fff}.modern-dark .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-label.mat-tab-disabled,.modern-dark .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.modern-dark .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-label.mat-tab-disabled,.modern-dark .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:#fff6}.modern-dark .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-chevron,.modern-dark .mat-tab-group.mat-background-warn>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.modern-dark .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-focus-indicator:before,.modern-dark .mat-tab-group.mat-background-warn>.mat-tab-header .mat-focus-indicator:before,.modern-dark .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-chevron,.modern-dark .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.modern-dark .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-focus-indicator:before,.modern-dark .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-focus-indicator:before{border-color:#fff}.modern-dark .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.modern-dark .mat-tab-group.mat-background-warn>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.modern-dark .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.modern-dark .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:#fff;opacity:.4}.modern-dark .mat-tab-group.mat-background-warn>.mat-tab-header .mat-ripple-element,.modern-dark .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-ripple-element,.modern-dark .mat-tab-group.mat-background-warn>.mat-tab-header-pagination .mat-ripple-element,.modern-dark .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-ripple-element,.modern-dark .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-ripple-element,.modern-dark .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination .mat-ripple-element{background-color:#fff;opacity:.12}.modern-dark .mat-toolbar{background:#212121;color:#fff}.modern-dark .mat-toolbar.mat-primary{background:#63afdf;color:#000}.modern-dark .mat-toolbar.mat-accent{background:#1e1e1e;color:#fff}.modern-dark .mat-toolbar.mat-warn{background:#d52626;color:#fff}.modern-dark .mat-toolbar .mat-form-field-underline,.modern-dark .mat-toolbar .mat-form-field-ripple,.modern-dark .mat-toolbar .mat-focused .mat-form-field-ripple{background-color:currentColor}.modern-dark .mat-toolbar .mat-form-field-label,.modern-dark .mat-toolbar .mat-focused .mat-form-field-label,.modern-dark .mat-toolbar .mat-select-value,.modern-dark .mat-toolbar .mat-select-arrow,.modern-dark .mat-toolbar .mat-form-field.mat-focused .mat-select-arrow{color:inherit}.modern-dark .mat-toolbar .mat-input-element{caret-color:currentColor}.modern-dark .mat-tooltip{background:rgba(97,97,97,.9)}.modern-dark .mat-tree{background:#424242}.modern-dark .mat-tree-node,.modern-dark .mat-nested-tree-node{color:#fff}.modern-dark .mat-snack-bar-container{color:#000000de;background:#fafafa;box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.modern-dark .mat-simple-snackbar-action{color:inherit}.modern-dark .app-defaults{background-color:#303030;color:#fff}.modern-dark .theme-menu{background-color:#1e1e1e}.modern-dark .menuBarButtonGroup{background-color:#ffffff1f}.modern-dark .tabGroups{padding-left:0;min-height:100%;height:100%}.modern-dark .tabGroupPanel{display:block;margin:10px 20px 20px}.modern-dark .formActionFooter{width:100%;text-align:end}.modern-dark .formActionButton{margin-left:10px}.modern-dark .formActionDivider{margin-top:10px;margin-bottom:10px}.modern-dark .as-split-gutter{background-color:transparent!important}.modern-dark .primary{color:#92c7e9}.modern-dark .accent{color:#f5da6f}.modern-dark .warn{color:#e26767}.modern-dark .primaryDark{color:#3586ca}.modern-dark .accentDark{color:#e5ab13}.modern-dark .warnDark{color:#ba0d0d}.modern-dark .background{color:#ffffff1f}.modern-dark .text{color:#fff}.modern-dark .pathMetaDescription{font:small-caption;color:#ffffff80}.modern-dark .textGenericWrapper{position:relative;width:100%;height:100%}.modern-dark .canvas-size{position:absolute;top:0;left:0}.modern-dark .warn{color:#d52626}.modern-dark .warn-contrast{color:#fff}.modern-dark DIV.apScreen{display:block;position:relative;width:360px;height:220.5px;margin:auto;text-align:center;border-radius:5px;border:1px solid rgba(255,255,255,.12);background-color:#ffffff1f}.modern-dark .apScreen .apCompass{position:relative;width:360px;height:202px;margin:auto;border-radius:5px}.modern-dark .apStatusBar{width:360px;height:18.5px;border-bottom-left-radius:5px;border-bottom-right-radius:5px;background-color:#000}.modern-dark .apStatusBar,.modern-dark .apStatusBar DIV{display:inline-block;position:relative}.modern-dark .apScreen .apStencil{position:absolute;top:0;left:0;width:100%;height:100%;margin:auto;border-radius:5px;z-index:10;vertical-align:middle;background-color:#303030}.modern-dark .apStencil.confirmCommand{z-index:5;visibility:hidden}.modern-dark .apStencil.error{z-index:6;visibility:hidden}.modern-dark .apText{fill:#fff}.modern-dark .boatBackground{stop-color:#fff!important}.modern-dark .heading-background{stroke:#1e1e1e;fill:#fff}.modern-dark .wind-text{fill:#1e1e1e;stroke:#1e1e1e}.modern-dark .laylines{stroke:#fff}.modern-dark .wind-sector-port{fill:#d52626}.modern-dark .wind-sector-stbd{fill:#389c19}.modern-dark .compass-outer-ring{stroke:#3f3f3f}.modern-dark .compass-inner-ring{stroke:#fff;fill:#fff}.modern-dark .wind-rose-background,.modern-dark .sailSetupBoat{stroke:#fff}.modern-dark .sailSetupFull{fill:#92c7e9}.modern-dark .sailSetupReef1{fill:#f5da6f}.modern-dark .sailSetupReef2{fill:#e26767}.modern-dark .sailSetupReef3{fill:#d52626}.modern-dark .port{stroke:#d52626}.modern-dark .starboard{stroke:#389c19}.modern-dark .rudderPort{fill:#d52626}.modern-dark .rudderStarboard{fill:#389c19}.modern-dark .true-wind{fill:#f0ca31}.modern-dark .app-wind{fill:#63afdf}.modern-dark .simpleLinear-text{fill:#fff}.modern-dark .windWrapper{position:relative;width:100%;height:100%}.modern-dark .matBadge{z-index:1000}.modern-dark .mute-unmte-alarm{width:max-content}.modern-dark .alarmWarning{animation:blinkingAlarmWarning 1.5s infinite;background-color:orange!important}.modern-dark .alarmCrit{animation:blinkingAlarmCrit .25s infinite}.modern-dark .muteSoundButton:hover{background:rgba(255,255,255,.04)}.modern-dark .serverStatus{background-color:#ffffff1f;margin:7% 5% 0%;padding:10px 20px 20px}.modern-dark .descriptiveTexts{color:#fff;font-size:14px}.modern-dark .flex-item{flex:1 1 29%;background-color:#ffffff1f;padding:20px;border-radius:4px}.modern-dark .flex-item-copy{flex:2 1 40%;background-color:#ffffff1f;padding:10px 20px;border-radius:4px}.nightMode .mat-ripple-element{background-color:#5200001a}.nightMode .mat-option{color:#520000}.nightMode .mat-option:hover:not(.mat-option-disabled),.nightMode .mat-option:focus:not(.mat-option-disabled){background:rgba(255,255,255,.04)}.nightMode .mat-option.mat-selected:not(.mat-option-multiple):not(.mat-option-disabled){background:rgba(255,255,255,.04)}.nightMode .mat-option.mat-active{background:rgba(255,255,255,.04);color:#520000}.nightMode .mat-option.mat-option-disabled{color:#5200004d}.nightMode .mat-primary .mat-option.mat-selected:not(.mat-option-disabled){color:#520000}.nightMode .mat-accent .mat-option.mat-selected:not(.mat-option-disabled){color:#121212}.nightMode .mat-warn .mat-option.mat-selected:not(.mat-option-disabled){color:#520000}.nightMode .mat-optgroup-label{color:#520000b3}.nightMode .mat-optgroup-disabled .mat-optgroup-label{color:#5200004d}.nightMode .mat-pseudo-checkbox{color:#520000b3}.nightMode .mat-pseudo-checkbox:after{color:#0e0d0d}.nightMode .mat-pseudo-checkbox-disabled{color:#686868}.nightMode .mat-primary .mat-pseudo-checkbox-checked,.nightMode .mat-primary .mat-pseudo-checkbox-indeterminate{background:#520000}.nightMode .mat-pseudo-checkbox-checked,.nightMode .mat-pseudo-checkbox-indeterminate,.nightMode .mat-accent .mat-pseudo-checkbox-checked,.nightMode .mat-accent .mat-pseudo-checkbox-indeterminate{background:#121212}.nightMode .mat-warn .mat-pseudo-checkbox-checked,.nightMode .mat-warn .mat-pseudo-checkbox-indeterminate{background:#520000}.nightMode .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.nightMode .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background:#686868}.nightMode .mat-app-background,.nightMode.mat-app-background{background-color:#0e0d0d;color:#520000}.nightMode .mat-elevation-z0{box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.nightMode .mat-elevation-z1{box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f}.nightMode .mat-elevation-z2{box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.nightMode .mat-elevation-z3{box-shadow:0 3px 3px -2px #0003,0 3px 4px #00000024,0 1px 8px #0000001f}.nightMode .mat-elevation-z4{box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.nightMode .mat-elevation-z5{box-shadow:0 3px 5px -1px #0003,0 5px 8px #00000024,0 1px 14px #0000001f}.nightMode .mat-elevation-z6{box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.nightMode .mat-elevation-z7{box-shadow:0 4px 5px -2px #0003,0 7px 10px 1px #00000024,0 2px 16px 1px #0000001f}.nightMode .mat-elevation-z8{box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.nightMode .mat-elevation-z9{box-shadow:0 5px 6px -3px #0003,0 9px 12px 1px #00000024,0 3px 16px 2px #0000001f}.nightMode .mat-elevation-z10{box-shadow:0 6px 6px -3px #0003,0 10px 14px 1px #00000024,0 4px 18px 3px #0000001f}.nightMode .mat-elevation-z11{box-shadow:0 6px 7px -4px #0003,0 11px 15px 1px #00000024,0 4px 20px 3px #0000001f}.nightMode .mat-elevation-z12{box-shadow:0 7px 8px -4px #0003,0 12px 17px 2px #00000024,0 5px 22px 4px #0000001f}.nightMode .mat-elevation-z13{box-shadow:0 7px 8px -4px #0003,0 13px 19px 2px #00000024,0 5px 24px 4px #0000001f}.nightMode .mat-elevation-z14{box-shadow:0 7px 9px -4px #0003,0 14px 21px 2px #00000024,0 5px 26px 4px #0000001f}.nightMode .mat-elevation-z15{box-shadow:0 8px 9px -5px #0003,0 15px 22px 2px #00000024,0 6px 28px 5px #0000001f}.nightMode .mat-elevation-z16{box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f}.nightMode .mat-elevation-z17{box-shadow:0 8px 11px -5px #0003,0 17px 26px 2px #00000024,0 6px 32px 5px #0000001f}.nightMode .mat-elevation-z18{box-shadow:0 9px 11px -5px #0003,0 18px 28px 2px #00000024,0 7px 34px 6px #0000001f}.nightMode .mat-elevation-z19{box-shadow:0 9px 12px -6px #0003,0 19px 29px 2px #00000024,0 7px 36px 6px #0000001f}.nightMode .mat-elevation-z20{box-shadow:0 10px 13px -6px #0003,0 20px 31px 3px #00000024,0 8px 38px 7px #0000001f}.nightMode .mat-elevation-z21{box-shadow:0 10px 13px -6px #0003,0 21px 33px 3px #00000024,0 8px 40px 7px #0000001f}.nightMode .mat-elevation-z22{box-shadow:0 10px 14px -6px #0003,0 22px 35px 3px #00000024,0 8px 42px 7px #0000001f}.nightMode .mat-elevation-z23{box-shadow:0 11px 14px -7px #0003,0 23px 36px 3px #00000024,0 9px 44px 8px #0000001f}.nightMode .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}.nightMode .mat-autocomplete-panel{background:black;color:#520000}.nightMode .mat-autocomplete-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.nightMode .mat-autocomplete-panel .mat-option.mat-selected:not(.mat-active):not(:hover){background:black}.nightMode .mat-autocomplete-panel .mat-option.mat-selected:not(.mat-active):not(:hover):not(.mat-option-disabled){color:#520000}.nightMode .mat-badge-content{color:#000;background:#520000}.cdk-high-contrast-active .nightMode .mat-badge-content{outline:solid 1px;border-radius:0}.nightMode .mat-badge-accent .mat-badge-content{background:#121212;color:#520000}.nightMode .mat-badge-warn .mat-badge-content{color:#000;background:#520000}.nightMode .mat-badge-disabled .mat-badge-content{background:#220909;color:#5200004d}.nightMode .mat-bottom-sheet-container{box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f;background:black;color:#520000}.nightMode .mat-button,.nightMode .mat-icon-button,.nightMode .mat-stroked-button{color:inherit;background:transparent}.nightMode .mat-button.mat-primary,.nightMode .mat-icon-button.mat-primary,.nightMode .mat-stroked-button.mat-primary{color:#520000}.nightMode .mat-button.mat-accent,.nightMode .mat-icon-button.mat-accent,.nightMode .mat-stroked-button.mat-accent{color:#121212}.nightMode .mat-button.mat-warn,.nightMode .mat-icon-button.mat-warn,.nightMode .mat-stroked-button.mat-warn{color:#520000}.nightMode .mat-button.mat-primary.mat-button-disabled,.nightMode .mat-button.mat-accent.mat-button-disabled,.nightMode .mat-button.mat-warn.mat-button-disabled,.nightMode .mat-button.mat-button-disabled.mat-button-disabled,.nightMode .mat-icon-button.mat-primary.mat-button-disabled,.nightMode .mat-icon-button.mat-accent.mat-button-disabled,.nightMode .mat-icon-button.mat-warn.mat-button-disabled,.nightMode .mat-icon-button.mat-button-disabled.mat-button-disabled,.nightMode .mat-stroked-button.mat-primary.mat-button-disabled,.nightMode .mat-stroked-button.mat-accent.mat-button-disabled,.nightMode .mat-stroked-button.mat-warn.mat-button-disabled,.nightMode .mat-stroked-button.mat-button-disabled.mat-button-disabled{color:#5200004d}.nightMode .mat-button.mat-primary .mat-button-focus-overlay,.nightMode .mat-icon-button.mat-primary .mat-button-focus-overlay,.nightMode .mat-stroked-button.mat-primary .mat-button-focus-overlay{background-color:#520000}.nightMode .mat-button.mat-accent .mat-button-focus-overlay,.nightMode .mat-icon-button.mat-accent .mat-button-focus-overlay,.nightMode .mat-stroked-button.mat-accent .mat-button-focus-overlay{background-color:#121212}.nightMode .mat-button.mat-warn .mat-button-focus-overlay,.nightMode .mat-icon-button.mat-warn .mat-button-focus-overlay,.nightMode .mat-stroked-button.mat-warn .mat-button-focus-overlay{background-color:#520000}.nightMode .mat-button.mat-button-disabled .mat-button-focus-overlay,.nightMode .mat-icon-button.mat-button-disabled .mat-button-focus-overlay,.nightMode .mat-stroked-button.mat-button-disabled .mat-button-focus-overlay{background-color:transparent}.nightMode .mat-button .mat-ripple-element,.nightMode .mat-icon-button .mat-ripple-element,.nightMode .mat-stroked-button .mat-ripple-element{opacity:.1;background-color:currentColor}.nightMode .mat-button-focus-overlay{background:#520000}.nightMode .mat-stroked-button:not(.mat-button-disabled){border-color:#ffffff1f}.nightMode .mat-flat-button,.nightMode .mat-raised-button,.nightMode .mat-fab,.nightMode .mat-mini-fab{color:#520000;background-color:#000}.nightMode .mat-flat-button.mat-primary,.nightMode .mat-raised-button.mat-primary,.nightMode .mat-fab.mat-primary,.nightMode .mat-mini-fab.mat-primary{color:#000}.nightMode .mat-flat-button.mat-accent,.nightMode .mat-raised-button.mat-accent,.nightMode .mat-fab.mat-accent,.nightMode .mat-mini-fab.mat-accent{color:#520000}.nightMode .mat-flat-button.mat-warn,.nightMode .mat-raised-button.mat-warn,.nightMode .mat-fab.mat-warn,.nightMode .mat-mini-fab.mat-warn{color:#000}.nightMode .mat-flat-button.mat-primary.mat-button-disabled,.nightMode .mat-flat-button.mat-accent.mat-button-disabled,.nightMode .mat-flat-button.mat-warn.mat-button-disabled,.nightMode .mat-flat-button.mat-button-disabled.mat-button-disabled,.nightMode .mat-raised-button.mat-primary.mat-button-disabled,.nightMode .mat-raised-button.mat-accent.mat-button-disabled,.nightMode .mat-raised-button.mat-warn.mat-button-disabled,.nightMode .mat-raised-button.mat-button-disabled.mat-button-disabled,.nightMode .mat-fab.mat-primary.mat-button-disabled,.nightMode .mat-fab.mat-accent.mat-button-disabled,.nightMode .mat-fab.mat-warn.mat-button-disabled,.nightMode .mat-fab.mat-button-disabled.mat-button-disabled,.nightMode .mat-mini-fab.mat-primary.mat-button-disabled,.nightMode .mat-mini-fab.mat-accent.mat-button-disabled,.nightMode .mat-mini-fab.mat-warn.mat-button-disabled,.nightMode .mat-mini-fab.mat-button-disabled.mat-button-disabled{color:#5200004d}.nightMode .mat-flat-button.mat-primary,.nightMode .mat-raised-button.mat-primary,.nightMode .mat-fab.mat-primary,.nightMode .mat-mini-fab.mat-primary{background-color:#520000}.nightMode .mat-flat-button.mat-accent,.nightMode .mat-raised-button.mat-accent,.nightMode .mat-fab.mat-accent,.nightMode .mat-mini-fab.mat-accent{background-color:#121212}.nightMode .mat-flat-button.mat-warn,.nightMode .mat-raised-button.mat-warn,.nightMode .mat-fab.mat-warn,.nightMode .mat-mini-fab.mat-warn{background-color:#520000}.nightMode .mat-flat-button.mat-primary.mat-button-disabled,.nightMode .mat-flat-button.mat-accent.mat-button-disabled,.nightMode .mat-flat-button.mat-warn.mat-button-disabled,.nightMode .mat-flat-button.mat-button-disabled.mat-button-disabled,.nightMode .mat-raised-button.mat-primary.mat-button-disabled,.nightMode .mat-raised-button.mat-accent.mat-button-disabled,.nightMode .mat-raised-button.mat-warn.mat-button-disabled,.nightMode .mat-raised-button.mat-button-disabled.mat-button-disabled,.nightMode .mat-fab.mat-primary.mat-button-disabled,.nightMode .mat-fab.mat-accent.mat-button-disabled,.nightMode .mat-fab.mat-warn.mat-button-disabled,.nightMode .mat-fab.mat-button-disabled.mat-button-disabled,.nightMode .mat-mini-fab.mat-primary.mat-button-disabled,.nightMode .mat-mini-fab.mat-accent.mat-button-disabled,.nightMode .mat-mini-fab.mat-warn.mat-button-disabled,.nightMode .mat-mini-fab.mat-button-disabled.mat-button-disabled{background-color:#ffffff1f}.nightMode .mat-flat-button.mat-primary .mat-ripple-element,.nightMode .mat-raised-button.mat-primary .mat-ripple-element,.nightMode .mat-fab.mat-primary .mat-ripple-element,.nightMode .mat-mini-fab.mat-primary .mat-ripple-element{background-color:#0000001a}.nightMode .mat-flat-button.mat-accent .mat-ripple-element,.nightMode .mat-raised-button.mat-accent .mat-ripple-element,.nightMode .mat-fab.mat-accent .mat-ripple-element,.nightMode .mat-mini-fab.mat-accent .mat-ripple-element{background-color:#5200001a}.nightMode .mat-flat-button.mat-warn .mat-ripple-element,.nightMode .mat-raised-button.mat-warn .mat-ripple-element,.nightMode .mat-fab.mat-warn .mat-ripple-element,.nightMode .mat-mini-fab.mat-warn .mat-ripple-element{background-color:#0000001a}.nightMode .mat-stroked-button:not([class*=mat-elevation-z]),.nightMode .mat-flat-button:not([class*=mat-elevation-z]){box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.nightMode .mat-raised-button:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.nightMode .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}.nightMode .mat-raised-button.mat-button-disabled:not([class*=mat-elevation-z]){box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.nightMode .mat-fab:not([class*=mat-elevation-z]),.nightMode .mat-mini-fab:not([class*=mat-elevation-z]){box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.nightMode .mat-fab:not(.mat-button-disabled):active:not([class*=mat-elevation-z]),.nightMode .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}.nightMode .mat-fab.mat-button-disabled:not([class*=mat-elevation-z]),.nightMode .mat-mini-fab.mat-button-disabled:not([class*=mat-elevation-z]){box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.nightMode .mat-button-toggle-standalone:not([class*=mat-elevation-z]),.nightMode .mat-button-toggle-group:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.nightMode .mat-button-toggle-standalone.mat-button-toggle-appearance-standard:not([class*=mat-elevation-z]),.nightMode .mat-button-toggle-group-appearance-standard:not([class*=mat-elevation-z]){box-shadow:none}.nightMode .mat-button-toggle{color:#5200004d}.nightMode .mat-button-toggle .mat-button-toggle-focus-overlay{background-color:#ffffff0f}.nightMode .mat-button-toggle-appearance-standard{color:#520000;background:black}.nightMode .mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{background-color:#fff}.nightMode .mat-button-toggle-group-appearance-standard .mat-button-toggle+.mat-button-toggle{border-left:solid 1px #1f1f1f}.nightMode [dir=rtl] .mat-button-toggle-group-appearance-standard .mat-button-toggle+.mat-button-toggle{border-left:none;border-right:solid 1px #1f1f1f}.nightMode .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 #1f1f1f}.nightMode .mat-button-toggle-checked{background-color:#121212;color:#520000b3}.nightMode .mat-button-toggle-checked.mat-button-toggle-appearance-standard{color:#520000}.nightMode .mat-button-toggle-disabled{color:#5200004d;background-color:#000}.nightMode .mat-button-toggle-disabled.mat-button-toggle-appearance-standard{background:black}.nightMode .mat-button-toggle-disabled.mat-button-toggle-checked{background-color:#000}.nightMode .mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.nightMode .mat-button-toggle-group-appearance-standard{border:solid 1px #1f1f1f}.nightMode .mat-card{background:black;color:#520000}.nightMode .mat-card:not([class*=mat-elevation-z]){box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f}.nightMode .mat-card.mat-card-flat:not([class*=mat-elevation-z]){box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.nightMode .mat-card-subtitle{color:#520000b3}.nightMode .mat-checkbox-frame{border-color:#520000b3}.nightMode .mat-checkbox-checkmark{fill:#0e0d0d}.nightMode .mat-checkbox-checkmark-path{stroke:#0e0d0d!important}.nightMode .mat-checkbox-mixedmark{background-color:#0e0d0d}.nightMode .mat-checkbox-indeterminate.mat-primary .mat-checkbox-background,.nightMode .mat-checkbox-checked.mat-primary .mat-checkbox-background{background-color:#520000}.nightMode .mat-checkbox-indeterminate.mat-accent .mat-checkbox-background,.nightMode .mat-checkbox-checked.mat-accent .mat-checkbox-background{background-color:#121212}.nightMode .mat-checkbox-indeterminate.mat-warn .mat-checkbox-background,.nightMode .mat-checkbox-checked.mat-warn .mat-checkbox-background{background-color:#520000}.nightMode .mat-checkbox-disabled.mat-checkbox-checked .mat-checkbox-background,.nightMode .mat-checkbox-disabled.mat-checkbox-indeterminate .mat-checkbox-background{background-color:#686868}.nightMode .mat-checkbox-disabled:not(.mat-checkbox-checked) .mat-checkbox-frame{border-color:#686868}.nightMode .mat-checkbox-disabled .mat-checkbox-label{color:#5200004d}.nightMode .mat-checkbox .mat-ripple-element{background-color:#520000}.nightMode .mat-checkbox-checked:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element,.nightMode .mat-checkbox:active:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element{background:#520000}.nightMode .mat-checkbox-checked:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element,.nightMode .mat-checkbox:active:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element{background:#121212}.nightMode .mat-checkbox-checked:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element,.nightMode .mat-checkbox:active:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element{background:#520000}.nightMode .mat-chip.mat-standard-chip{background-color:#000;color:#520000}.nightMode .mat-chip.mat-standard-chip .mat-chip-remove{color:#520000;opacity:.4}.nightMode .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}.nightMode .mat-chip.mat-standard-chip:not(.mat-chip-disabled) .mat-chip-remove:hover{opacity:.54}.nightMode .mat-chip.mat-standard-chip.mat-chip-disabled{opacity:.4}.nightMode .mat-chip.mat-standard-chip:after{background:#520000}.nightMode .mat-chip.mat-standard-chip.mat-chip-selected.mat-primary{background-color:#520000;color:#000}.nightMode .mat-chip.mat-standard-chip.mat-chip-selected.mat-primary .mat-chip-remove{color:#000;opacity:.4}.nightMode .mat-chip.mat-standard-chip.mat-chip-selected.mat-primary .mat-ripple-element{background-color:#0000001a}.nightMode .mat-chip.mat-standard-chip.mat-chip-selected.mat-warn{background-color:#520000;color:#000}.nightMode .mat-chip.mat-standard-chip.mat-chip-selected.mat-warn .mat-chip-remove{color:#000;opacity:.4}.nightMode .mat-chip.mat-standard-chip.mat-chip-selected.mat-warn .mat-ripple-element{background-color:#0000001a}.nightMode .mat-chip.mat-standard-chip.mat-chip-selected.mat-accent{background-color:#121212;color:#520000}.nightMode .mat-chip.mat-standard-chip.mat-chip-selected.mat-accent .mat-chip-remove{color:#520000;opacity:.4}.nightMode .mat-chip.mat-standard-chip.mat-chip-selected.mat-accent .mat-ripple-element{background-color:#5200001a}.nightMode .mat-table{background:black}.nightMode .mat-table thead,.nightMode .mat-table tbody,.nightMode .mat-table tfoot,.nightMode mat-header-row,.nightMode mat-row,.nightMode mat-footer-row,.nightMode [mat-header-row],.nightMode [mat-row],.nightMode [mat-footer-row],.nightMode .mat-table-sticky{background:inherit}.nightMode mat-row,.nightMode mat-header-row,.nightMode mat-footer-row,.nightMode th.mat-header-cell,.nightMode td.mat-cell,.nightMode td.mat-footer-cell{border-bottom-color:#ffffff1f}.nightMode .mat-header-cell{color:#520000b3}.nightMode .mat-cell,.nightMode .mat-footer-cell{color:#520000}.nightMode .mat-calendar-arrow{fill:#520000}.nightMode .mat-datepicker-toggle,.nightMode .mat-datepicker-content .mat-calendar-next-button,.nightMode .mat-datepicker-content .mat-calendar-previous-button{color:#520000}.nightMode .mat-calendar-table-header-divider:after{background:rgba(255,255,255,.12)}.nightMode .mat-calendar-table-header,.nightMode .mat-calendar-body-label{color:#520000b3}.nightMode .mat-calendar-body-cell-content,.nightMode .mat-date-range-input-separator{color:#520000;border-color:transparent}.nightMode .mat-calendar-body-disabled>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){color:#5200004d}.nightMode .mat-form-field-disabled .mat-date-range-input-separator{color:#5200004d}.nightMode .mat-calendar-body-in-preview{color:#ffffff3d}.nightMode .mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:#5200004d}.nightMode .mat-calendar-body-disabled>.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:#5200001a}.nightMode .mat-calendar-body-in-range:before{background:rgba(82,0,0,.2)}.nightMode .mat-calendar-body-comparison-identical,.nightMode .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.nightMode .mat-calendar-body-comparison-bridge-start:before,.nightMode [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(to right,rgba(82,0,0,.2) 50%,rgba(249,171,0,.2) 50%)}.nightMode .mat-calendar-body-comparison-bridge-end:before,.nightMode [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(to left,rgba(82,0,0,.2) 50%,rgba(249,171,0,.2) 50%)}.nightMode .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.nightMode .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after{background:#a8dab5}.nightMode .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.nightMode .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.nightMode .mat-calendar-body-selected{background-color:#520000;color:#000}.nightMode .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:#52000066}.nightMode .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #000}.nightMode .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.nightMode .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:#5200004d}@media (hover: hover){.nightMode .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:#5200004d}}.nightMode .mat-datepicker-content{box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f;background-color:#000;color:#520000}.nightMode .mat-datepicker-content.mat-accent .mat-calendar-body-in-range:before{background:rgba(18,18,18,.2)}.nightMode .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-identical,.nightMode .mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.nightMode .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-bridge-start:before,.nightMode .mat-datepicker-content.mat-accent [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(to right,rgba(18,18,18,.2) 50%,rgba(249,171,0,.2) 50%)}.nightMode .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-bridge-end:before,.nightMode .mat-datepicker-content.mat-accent [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(to left,rgba(18,18,18,.2) 50%,rgba(249,171,0,.2) 50%)}.nightMode .mat-datepicker-content.mat-accent .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.nightMode .mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after{background:#a8dab5}.nightMode .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.nightMode .mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.nightMode .mat-datepicker-content.mat-accent .mat-calendar-body-selected{background-color:#121212;color:#520000}.nightMode .mat-datepicker-content.mat-accent .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:#12121266}.nightMode .mat-datepicker-content.mat-accent .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #520000}.nightMode .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),.nightMode .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:#1212124d}@media (hover: hover){.nightMode .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:#1212124d}}.nightMode .mat-datepicker-content.mat-warn .mat-calendar-body-in-range:before{background:rgba(82,0,0,.2)}.nightMode .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-identical,.nightMode .mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.nightMode .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-bridge-start:before,.nightMode .mat-datepicker-content.mat-warn [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(to right,rgba(82,0,0,.2) 50%,rgba(249,171,0,.2) 50%)}.nightMode .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-bridge-end:before,.nightMode .mat-datepicker-content.mat-warn [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(to left,rgba(82,0,0,.2) 50%,rgba(249,171,0,.2) 50%)}.nightMode .mat-datepicker-content.mat-warn .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.nightMode .mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after{background:#a8dab5}.nightMode .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.nightMode .mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.nightMode .mat-datepicker-content.mat-warn .mat-calendar-body-selected{background-color:#520000;color:#000}.nightMode .mat-datepicker-content.mat-warn .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:#52000066}.nightMode .mat-datepicker-content.mat-warn .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #000}.nightMode .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),.nightMode .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:#5200004d}@media (hover: hover){.nightMode .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:#5200004d}}.nightMode .mat-datepicker-content-touch{box-shadow:0 11px 15px -7px #0003,0 24px 38px 3px #00000024,0 9px 46px 8px #0000001f}.nightMode .mat-datepicker-toggle-active{color:#520000}.nightMode .mat-datepicker-toggle-active.mat-accent{color:#121212}.nightMode .mat-datepicker-toggle-active.mat-warn{color:#520000}.nightMode .mat-date-range-input-inner[disabled]{color:#5200004d}.nightMode .mat-dialog-container{box-shadow:0 11px 15px -7px #0003,0 24px 38px 3px #00000024,0 9px 46px 8px #0000001f;background:black;color:#520000}.nightMode .mat-divider{border-top-color:#ffffff1f}.nightMode .mat-divider-vertical{border-right-color:#ffffff1f}.nightMode .mat-expansion-panel{background:black;color:#520000}.nightMode .mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.nightMode .mat-action-row{border-top-color:#ffffff1f}.nightMode .mat-expansion-panel .mat-expansion-panel-header.cdk-keyboard-focused:not([aria-disabled=true]),.nightMode .mat-expansion-panel .mat-expansion-panel-header.cdk-program-focused:not([aria-disabled=true]),.nightMode .mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:hover:not([aria-disabled=true]){background:rgba(255,255,255,.04)}@media (hover: none){.nightMode .mat-expansion-panel:not(.mat-expanded):not([aria-disabled=true]) .mat-expansion-panel-header:hover{background:black}}.nightMode .mat-expansion-panel-header-title{color:#520000}.nightMode .mat-expansion-panel-header-description,.nightMode .mat-expansion-indicator:after{color:#520000b3}.nightMode .mat-expansion-panel-header[aria-disabled=true]{color:#5200004d}.nightMode .mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-title,.nightMode .mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-description{color:inherit}.nightMode .mat-form-field-label,.nightMode .mat-hint{color:#520000b3}.nightMode .mat-form-field.mat-focused .mat-form-field-label{color:#520000}.nightMode .mat-form-field.mat-focused .mat-form-field-label.mat-accent{color:#121212}.nightMode .mat-form-field.mat-focused .mat-form-field-label.mat-warn{color:#520000}.nightMode .mat-focused .mat-form-field-required-marker{color:#121212}.nightMode .mat-form-field-ripple{background-color:#fff}.nightMode .mat-form-field.mat-focused .mat-form-field-ripple{background-color:#520000}.nightMode .mat-form-field.mat-focused .mat-form-field-ripple.mat-accent{background-color:#121212}.nightMode .mat-form-field.mat-focused .mat-form-field-ripple.mat-warn{background-color:#520000}.nightMode .mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid) .mat-form-field-infix:after{color:#520000}.nightMode .mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid).mat-accent .mat-form-field-infix:after{color:#121212}.nightMode .mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid).mat-warn .mat-form-field-infix:after{color:#520000}.nightMode .mat-form-field.mat-form-field-invalid .mat-form-field-label,.nightMode .mat-form-field.mat-form-field-invalid .mat-form-field-label.mat-accent,.nightMode .mat-form-field.mat-form-field-invalid .mat-form-field-label .mat-form-field-required-marker{color:#520000}.nightMode .mat-form-field.mat-form-field-invalid .mat-form-field-ripple,.nightMode .mat-form-field.mat-form-field-invalid .mat-form-field-ripple.mat-accent{background-color:#520000}.nightMode .mat-error{color:#520000}.nightMode .mat-form-field-appearance-legacy .mat-form-field-label,.nightMode .mat-form-field-appearance-legacy .mat-hint{color:#520000b3}.nightMode .mat-form-field-appearance-legacy .mat-form-field-underline{background-color:#ffffffb3}.nightMode .mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-image:linear-gradient(to right,rgba(255,255,255,.7) 0%,rgba(255,255,255,.7) 33%,transparent 0%);background-size:4px 100%;background-repeat:repeat-x}.nightMode .mat-form-field-appearance-standard .mat-form-field-underline{background-color:#ffffffb3}.nightMode .mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-image:linear-gradient(to right,rgba(255,255,255,.7) 0%,rgba(255,255,255,.7) 33%,transparent 0%);background-size:4px 100%;background-repeat:repeat-x}.nightMode .mat-form-field-appearance-fill .mat-form-field-flex{background-color:#5200001a}.nightMode .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-flex{background-color:#5200000d}.nightMode .mat-form-field-appearance-fill .mat-form-field-underline:before{background-color:#ffffff80}.nightMode .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-label{color:#5200004d}.nightMode .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-underline:before{background-color:transparent}.nightMode .mat-form-field-appearance-outline .mat-form-field-outline{color:#ffffff4d}.nightMode .mat-form-field-appearance-outline .mat-form-field-outline-thick{color:#fff}.nightMode .mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick{color:#520000}.nightMode .mat-form-field-appearance-outline.mat-focused.mat-accent .mat-form-field-outline-thick{color:#121212}.nightMode .mat-form-field-appearance-outline.mat-focused.mat-warn .mat-form-field-outline-thick,.nightMode .mat-form-field-appearance-outline.mat-form-field-invalid.mat-form-field-invalid .mat-form-field-outline-thick{color:#520000}.nightMode .mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-label{color:#5200004d}.nightMode .mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-outline{color:#ffffff26}.nightMode .mat-icon.mat-primary{color:#520000}.nightMode .mat-icon.mat-accent{color:#121212}.nightMode .mat-icon.mat-warn{color:#520000}.nightMode .mat-form-field-type-mat-native-select .mat-form-field-infix:after{color:#520000b3}.nightMode .mat-input-element:disabled,.nightMode .mat-form-field-type-mat-native-select.mat-form-field-disabled .mat-form-field-infix:after{color:#5200004d}.nightMode .mat-input-element{caret-color:#520000}.nightMode .mat-input-element::placeholder{color:#52000080}.nightMode .mat-input-element::-moz-placeholder{color:#52000080}.nightMode .mat-input-element::-webkit-input-placeholder{color:#52000080}.nightMode .mat-input-element:-ms-input-placeholder{color:#52000080}.nightMode .mat-input-element:not(.mat-native-select-inline) option{color:#000000de}.nightMode .mat-input-element:not(.mat-native-select-inline) option:disabled{color:#00000061}.nightMode .mat-form-field.mat-accent .mat-input-element{caret-color:#121212}.nightMode .mat-form-field.mat-warn .mat-input-element,.nightMode .mat-form-field-invalid .mat-input-element{caret-color:#520000}.nightMode .mat-form-field-type-mat-native-select.mat-form-field-invalid .mat-form-field-infix:after{color:#520000}.nightMode .mat-list-base .mat-list-item,.nightMode .mat-list-base .mat-list-option{color:#520000}.nightMode .mat-list-base .mat-subheader{color:#520000b3}.nightMode .mat-list-base .mat-list-item-disabled{background-color:#000;color:#5200004d}.nightMode .mat-list-option:hover,.nightMode .mat-list-option:focus,.nightMode .mat-nav-list .mat-list-item:hover,.nightMode .mat-nav-list .mat-list-item:focus,.nightMode .mat-action-list .mat-list-item:hover,.nightMode .mat-action-list .mat-list-item:focus{background:rgba(255,255,255,.04)}.nightMode .mat-list-single-selected-option,.nightMode .mat-list-single-selected-option:hover,.nightMode .mat-list-single-selected-option:focus{background:rgba(255,255,255,.12)}.nightMode .mat-menu-panel{background:black}.nightMode .mat-menu-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.nightMode .mat-menu-item{background:transparent;color:#520000}.nightMode .mat-menu-item[disabled],.nightMode .mat-menu-item[disabled] .mat-menu-submenu-icon,.nightMode .mat-menu-item[disabled] .mat-icon-no-color{color:#5200004d}.nightMode .mat-menu-item .mat-icon-no-color,.nightMode .mat-menu-submenu-icon{color:#520000}.nightMode .mat-menu-item:hover:not([disabled]),.nightMode .mat-menu-item.cdk-program-focused:not([disabled]),.nightMode .mat-menu-item.cdk-keyboard-focused:not([disabled]),.nightMode .mat-menu-item-highlighted:not([disabled]){background:rgba(255,255,255,.04)}.nightMode .mat-paginator{background:black}.nightMode .mat-paginator,.nightMode .mat-paginator-page-size .mat-select-trigger{color:#520000b3}.nightMode .mat-paginator-decrement,.nightMode .mat-paginator-increment{border-top:2px solid #520000;border-right:2px solid #520000}.nightMode .mat-paginator-first,.nightMode .mat-paginator-last{border-top:2px solid #520000}.nightMode .mat-icon-button[disabled] .mat-paginator-decrement,.nightMode .mat-icon-button[disabled] .mat-paginator-increment,.nightMode .mat-icon-button[disabled] .mat-paginator-first,.nightMode .mat-icon-button[disabled] .mat-paginator-last{border-color:#5200004d}.nightMode .mat-progress-bar-background{fill:#1f0a0a}.nightMode .mat-progress-bar-buffer{background-color:#1f0a0a}.nightMode .mat-progress-bar-fill:after{background-color:#520000}.nightMode .mat-progress-bar.mat-accent .mat-progress-bar-background{fill:#0f0e0e}.nightMode .mat-progress-bar.mat-accent .mat-progress-bar-buffer{background-color:#0f0e0e}.nightMode .mat-progress-bar.mat-accent .mat-progress-bar-fill:after{background-color:#121212}.nightMode .mat-progress-bar.mat-warn .mat-progress-bar-background{fill:#1f0a0a}.nightMode .mat-progress-bar.mat-warn .mat-progress-bar-buffer{background-color:#1f0a0a}.nightMode .mat-progress-bar.mat-warn .mat-progress-bar-fill:after{background-color:#520000}.nightMode .mat-progress-spinner circle,.nightMode .mat-spinner circle{stroke:#520000}.nightMode .mat-progress-spinner.mat-accent circle,.nightMode .mat-spinner.mat-accent circle{stroke:#121212}.nightMode .mat-progress-spinner.mat-warn circle,.nightMode .mat-spinner.mat-warn circle{stroke:#520000}.nightMode .mat-radio-outer-circle{border-color:#520000b3}.nightMode .mat-radio-button.mat-primary.mat-radio-checked .mat-radio-outer-circle{border-color:#520000}.nightMode .mat-radio-button.mat-primary .mat-radio-inner-circle,.nightMode .mat-radio-button.mat-primary .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.nightMode .mat-radio-button.mat-primary.mat-radio-checked .mat-radio-persistent-ripple,.nightMode .mat-radio-button.mat-primary:active .mat-radio-persistent-ripple{background-color:#520000}.nightMode .mat-radio-button.mat-accent.mat-radio-checked .mat-radio-outer-circle{border-color:#121212}.nightMode .mat-radio-button.mat-accent .mat-radio-inner-circle,.nightMode .mat-radio-button.mat-accent .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.nightMode .mat-radio-button.mat-accent.mat-radio-checked .mat-radio-persistent-ripple,.nightMode .mat-radio-button.mat-accent:active .mat-radio-persistent-ripple{background-color:#121212}.nightMode .mat-radio-button.mat-warn.mat-radio-checked .mat-radio-outer-circle{border-color:#520000}.nightMode .mat-radio-button.mat-warn .mat-radio-inner-circle,.nightMode .mat-radio-button.mat-warn .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.nightMode .mat-radio-button.mat-warn.mat-radio-checked .mat-radio-persistent-ripple,.nightMode .mat-radio-button.mat-warn:active .mat-radio-persistent-ripple{background-color:#520000}.nightMode .mat-radio-button.mat-radio-disabled.mat-radio-checked .mat-radio-outer-circle,.nightMode .mat-radio-button.mat-radio-disabled .mat-radio-outer-circle{border-color:#5200004d}.nightMode .mat-radio-button.mat-radio-disabled .mat-radio-ripple .mat-ripple-element,.nightMode .mat-radio-button.mat-radio-disabled .mat-radio-inner-circle{background-color:#5200004d}.nightMode .mat-radio-button.mat-radio-disabled .mat-radio-label-content{color:#5200004d}.nightMode .mat-radio-button .mat-ripple-element{background-color:#520000}.nightMode .mat-select-value{color:#520000}.nightMode .mat-select-placeholder{color:#52000080}.nightMode .mat-select-disabled .mat-select-value{color:#5200004d}.nightMode .mat-select-arrow{color:#520000b3}.nightMode .mat-select-panel{background:black}.nightMode .mat-select-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.nightMode .mat-select-panel .mat-option.mat-selected:not(.mat-option-multiple){background:rgba(255,255,255,.12)}.nightMode .mat-form-field.mat-focused.mat-primary .mat-select-arrow{color:#520000}.nightMode .mat-form-field.mat-focused.mat-accent .mat-select-arrow{color:#121212}.nightMode .mat-form-field.mat-focused.mat-warn .mat-select-arrow,.nightMode .mat-form-field .mat-select.mat-select-invalid .mat-select-arrow{color:#520000}.nightMode .mat-form-field .mat-select.mat-select-disabled .mat-select-arrow{color:#5200004d}.nightMode .mat-drawer-container{background-color:#0e0d0d;color:#520000}.nightMode .mat-drawer{background-color:#000;color:#520000}.nightMode .mat-drawer.mat-drawer-push{background-color:#000}.nightMode .mat-drawer:not(.mat-drawer-side){box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f}.nightMode .mat-drawer-side{border-right:solid 1px rgba(255,255,255,.12)}.nightMode .mat-drawer-side.mat-drawer-end,.nightMode [dir=rtl] .mat-drawer-side{border-left:solid 1px rgba(255,255,255,.12);border-right:none}.nightMode [dir=rtl] .mat-drawer-side.mat-drawer-end{border-left:none;border-right:solid 1px rgba(255,255,255,.12)}.nightMode .mat-drawer-backdrop.mat-drawer-shown{background-color:#fff9}.nightMode .mat-slide-toggle.mat-checked .mat-slide-toggle-thumb{background-color:#121212}.nightMode .mat-slide-toggle.mat-checked .mat-slide-toggle-bar{background-color:#1212128a}.nightMode .mat-slide-toggle.mat-checked .mat-ripple-element{background-color:#121212}.nightMode .mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-thumb{background-color:#520000}.nightMode .mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-bar{background-color:#5200008a}.nightMode .mat-slide-toggle.mat-primary.mat-checked .mat-ripple-element,.nightMode .mat-slide-toggle.mat-warn.mat-checked .mat-slide-toggle-thumb{background-color:#520000}.nightMode .mat-slide-toggle.mat-warn.mat-checked .mat-slide-toggle-bar{background-color:#5200008a}.nightMode .mat-slide-toggle.mat-warn.mat-checked .mat-ripple-element{background-color:#520000}.nightMode .mat-slide-toggle:not(.mat-checked) .mat-ripple-element{background-color:#520000}.nightMode .mat-slide-toggle-thumb{box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f;background-color:#bdbdbd}.nightMode .mat-slide-toggle-bar,.nightMode .mat-slider-track-background{background-color:#5200004d}.nightMode .mat-slider.mat-primary .mat-slider-track-fill,.nightMode .mat-slider.mat-primary .mat-slider-thumb,.nightMode .mat-slider.mat-primary .mat-slider-thumb-label{background-color:#520000}.nightMode .mat-slider.mat-primary .mat-slider-thumb-label-text{color:#000}.nightMode .mat-slider.mat-primary .mat-slider-focus-ring{background-color:#52000033}.nightMode .mat-slider.mat-accent .mat-slider-track-fill,.nightMode .mat-slider.mat-accent .mat-slider-thumb,.nightMode .mat-slider.mat-accent .mat-slider-thumb-label{background-color:#121212}.nightMode .mat-slider.mat-accent .mat-slider-thumb-label-text{color:#520000}.nightMode .mat-slider.mat-accent .mat-slider-focus-ring{background-color:#12121233}.nightMode .mat-slider.mat-warn .mat-slider-track-fill,.nightMode .mat-slider.mat-warn .mat-slider-thumb,.nightMode .mat-slider.mat-warn .mat-slider-thumb-label{background-color:#520000}.nightMode .mat-slider.mat-warn .mat-slider-thumb-label-text{color:#000}.nightMode .mat-slider.mat-warn .mat-slider-focus-ring{background-color:#52000033}.nightMode .mat-slider:hover .mat-slider-track-background,.nightMode .mat-slider.cdk-focused .mat-slider-track-background,.nightMode .mat-slider.mat-slider-disabled .mat-slider-track-background,.nightMode .mat-slider.mat-slider-disabled .mat-slider-track-fill,.nightMode .mat-slider.mat-slider-disabled .mat-slider-thumb,.nightMode .mat-slider.mat-slider-disabled:hover .mat-slider-track-background{background-color:#5200004d}.nightMode .mat-slider.mat-slider-min-value .mat-slider-focus-ring{background-color:#5200001f}.nightMode .mat-slider.mat-slider-min-value.mat-slider-thumb-label-showing .mat-slider-thumb,.nightMode .mat-slider.mat-slider-min-value.mat-slider-thumb-label-showing .mat-slider-thumb-label{background-color:#520000}.nightMode .mat-slider.mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb,.nightMode .mat-slider.mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb-label{background-color:#5200004d}.nightMode .mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing) .mat-slider-thumb{border-color:#5200004d;background-color:transparent}.nightMode .mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover .mat-slider-thumb,.nightMode .mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused .mat-slider-thumb{border-color:#5200004d}.nightMode .mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover.mat-slider-disabled .mat-slider-thumb,.nightMode .mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused.mat-slider-disabled .mat-slider-thumb{border-color:#5200004d}.nightMode .mat-slider-has-ticks .mat-slider-wrapper:after{border-color:#520000b3}.nightMode .mat-slider-horizontal .mat-slider-ticks{background-image:repeating-linear-gradient(to right,rgba(82,0,0,.7),rgba(82,0,0,.7) 2px,transparent 0,transparent);background-image:-moz-repeating-linear-gradient(.0001deg,rgba(82,0,0,.7),rgba(82,0,0,.7) 2px,transparent 0,transparent)}.nightMode .mat-slider-vertical .mat-slider-ticks{background-image:repeating-linear-gradient(to bottom,rgba(82,0,0,.7),rgba(82,0,0,.7) 2px,transparent 0,transparent)}.nightMode .mat-step-header.cdk-keyboard-focused,.nightMode .mat-step-header.cdk-program-focused,.nightMode .mat-step-header:hover:not([aria-disabled]),.nightMode .mat-step-header:hover[aria-disabled=false]{background-color:#ffffff0a}.nightMode .mat-step-header:hover[aria-disabled=true]{cursor:default}@media (hover: none){.nightMode .mat-step-header:hover{background:none}}.nightMode .mat-step-header .mat-step-label,.nightMode .mat-step-header .mat-step-optional{color:#520000b3}.nightMode .mat-step-header .mat-step-icon{background-color:#520000b3;color:#000}.nightMode .mat-step-header .mat-step-icon-selected,.nightMode .mat-step-header .mat-step-icon-state-done,.nightMode .mat-step-header .mat-step-icon-state-edit{background-color:#520000;color:#000}.nightMode .mat-step-header.mat-accent .mat-step-icon{color:#520000}.nightMode .mat-step-header.mat-accent .mat-step-icon-selected,.nightMode .mat-step-header.mat-accent .mat-step-icon-state-done,.nightMode .mat-step-header.mat-accent .mat-step-icon-state-edit{background-color:#121212;color:#520000}.nightMode .mat-step-header.mat-warn .mat-step-icon{color:#000}.nightMode .mat-step-header.mat-warn .mat-step-icon-selected,.nightMode .mat-step-header.mat-warn .mat-step-icon-state-done,.nightMode .mat-step-header.mat-warn .mat-step-icon-state-edit{background-color:#520000;color:#000}.nightMode .mat-step-header .mat-step-icon-state-error{background-color:transparent;color:#520000}.nightMode .mat-step-header .mat-step-label.mat-step-label-active,.nightMode .mat-step-header .mat-step-label.mat-step-label-error{color:#520000}.nightMode .mat-stepper-horizontal,.nightMode .mat-stepper-vertical{background-color:#000}.nightMode .mat-stepper-vertical-line:before{border-left-color:#ffffff1f}.nightMode .mat-horizontal-stepper-header:before,.nightMode .mat-horizontal-stepper-header:after,.nightMode .mat-stepper-horizontal-line{border-top-color:#ffffff1f}.nightMode .mat-sort-header-arrow{color:#390000}.nightMode .mat-tab-nav-bar,.nightMode .mat-tab-header{border-bottom:1px solid rgba(255,255,255,.12)}.nightMode .mat-tab-group-inverted-header .mat-tab-nav-bar,.nightMode .mat-tab-group-inverted-header .mat-tab-header{border-top:1px solid rgba(255,255,255,.12);border-bottom:none}.nightMode .mat-tab-label,.nightMode .mat-tab-link{color:#520000}.nightMode .mat-tab-label.mat-tab-disabled,.nightMode .mat-tab-link.mat-tab-disabled{color:#5200004d}.nightMode .mat-tab-header-pagination-chevron{border-color:#520000}.nightMode .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:#5200004d}.nightMode .mat-tab-group[class*=mat-background-]>.mat-tab-header,.nightMode .mat-tab-nav-bar[class*=mat-background-]{border-bottom:none;border-top:none}.nightMode .mat-tab-group.mat-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.nightMode .mat-tab-group.mat-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.nightMode .mat-tab-group.mat-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.nightMode .mat-tab-group.mat-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.nightMode .mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.nightMode .mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.nightMode .mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.nightMode .mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#5200004d}.nightMode .mat-tab-group.mat-primary .mat-ink-bar,.nightMode .mat-tab-nav-bar.mat-primary .mat-ink-bar{background-color:#520000}.nightMode .mat-tab-group.mat-primary.mat-background-primary>.mat-tab-header .mat-ink-bar,.nightMode .mat-tab-group.mat-primary.mat-background-primary>.mat-tab-link-container .mat-ink-bar,.nightMode .mat-tab-nav-bar.mat-primary.mat-background-primary>.mat-tab-header .mat-ink-bar,.nightMode .mat-tab-nav-bar.mat-primary.mat-background-primary>.mat-tab-link-container .mat-ink-bar{background-color:#000}.nightMode .mat-tab-group.mat-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.nightMode .mat-tab-group.mat-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.nightMode .mat-tab-group.mat-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.nightMode .mat-tab-group.mat-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.nightMode .mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.nightMode .mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.nightMode .mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.nightMode .mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#ffffff4d}.nightMode .mat-tab-group.mat-accent .mat-ink-bar,.nightMode .mat-tab-nav-bar.mat-accent .mat-ink-bar{background-color:#121212}.nightMode .mat-tab-group.mat-accent.mat-background-accent>.mat-tab-header .mat-ink-bar,.nightMode .mat-tab-group.mat-accent.mat-background-accent>.mat-tab-link-container .mat-ink-bar,.nightMode .mat-tab-nav-bar.mat-accent.mat-background-accent>.mat-tab-header .mat-ink-bar,.nightMode .mat-tab-nav-bar.mat-accent.mat-background-accent>.mat-tab-link-container .mat-ink-bar{background-color:#520000}.nightMode .mat-tab-group.mat-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.nightMode .mat-tab-group.mat-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.nightMode .mat-tab-group.mat-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.nightMode .mat-tab-group.mat-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.nightMode .mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.nightMode .mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.nightMode .mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.nightMode .mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#f2bebe4d}.nightMode .mat-tab-group.mat-warn .mat-ink-bar,.nightMode .mat-tab-nav-bar.mat-warn .mat-ink-bar{background-color:#520000}.nightMode .mat-tab-group.mat-warn.mat-background-warn>.mat-tab-header .mat-ink-bar,.nightMode .mat-tab-group.mat-warn.mat-background-warn>.mat-tab-link-container .mat-ink-bar,.nightMode .mat-tab-nav-bar.mat-warn.mat-background-warn>.mat-tab-header .mat-ink-bar,.nightMode .mat-tab-nav-bar.mat-warn.mat-background-warn>.mat-tab-link-container .mat-ink-bar{background-color:#000}.nightMode .mat-tab-group.mat-background-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.nightMode .mat-tab-group.mat-background-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.nightMode .mat-tab-group.mat-background-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.nightMode .mat-tab-group.mat-background-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.nightMode .mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.nightMode .mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.nightMode .mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.nightMode .mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#5200004d}.nightMode .mat-tab-group.mat-background-primary>.mat-tab-header,.nightMode .mat-tab-group.mat-background-primary>.mat-tab-link-container,.nightMode .mat-tab-group.mat-background-primary>.mat-tab-header-pagination,.nightMode .mat-tab-nav-bar.mat-background-primary>.mat-tab-header,.nightMode .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container,.nightMode .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination{background-color:#520000}.nightMode .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-label,.nightMode .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-tab-link,.nightMode .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-label,.nightMode .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-tab-link{color:#000}.nightMode .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-label.mat-tab-disabled,.nightMode .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.nightMode .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-label.mat-tab-disabled,.nightMode .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:#0006}.nightMode .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-chevron,.nightMode .mat-tab-group.mat-background-primary>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.nightMode .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-focus-indicator:before,.nightMode .mat-tab-group.mat-background-primary>.mat-tab-header .mat-focus-indicator:before,.nightMode .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-chevron,.nightMode .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.nightMode .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-focus-indicator:before,.nightMode .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-focus-indicator:before{border-color:#000}.nightMode .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.nightMode .mat-tab-group.mat-background-primary>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.nightMode .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.nightMode .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:#000;opacity:.4}.nightMode .mat-tab-group.mat-background-primary>.mat-tab-header .mat-ripple-element,.nightMode .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-ripple-element,.nightMode .mat-tab-group.mat-background-primary>.mat-tab-header-pagination .mat-ripple-element,.nightMode .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-ripple-element,.nightMode .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-ripple-element,.nightMode .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination .mat-ripple-element{background-color:#000;opacity:.12}.nightMode .mat-tab-group.mat-background-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.nightMode .mat-tab-group.mat-background-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.nightMode .mat-tab-group.mat-background-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.nightMode .mat-tab-group.mat-background-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.nightMode .mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.nightMode .mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.nightMode .mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.nightMode .mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#ffffff4d}.nightMode .mat-tab-group.mat-background-accent>.mat-tab-header,.nightMode .mat-tab-group.mat-background-accent>.mat-tab-link-container,.nightMode .mat-tab-group.mat-background-accent>.mat-tab-header-pagination,.nightMode .mat-tab-nav-bar.mat-background-accent>.mat-tab-header,.nightMode .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container,.nightMode .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination{background-color:#121212}.nightMode .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-label,.nightMode .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-tab-link,.nightMode .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-label,.nightMode .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-tab-link{color:#520000}.nightMode .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-label.mat-tab-disabled,.nightMode .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.nightMode .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-label.mat-tab-disabled,.nightMode .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:#52000066}.nightMode .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-chevron,.nightMode .mat-tab-group.mat-background-accent>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.nightMode .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-focus-indicator:before,.nightMode .mat-tab-group.mat-background-accent>.mat-tab-header .mat-focus-indicator:before,.nightMode .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-chevron,.nightMode .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.nightMode .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-focus-indicator:before,.nightMode .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-focus-indicator:before{border-color:#520000}.nightMode .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.nightMode .mat-tab-group.mat-background-accent>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.nightMode .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.nightMode .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:#520000;opacity:.4}.nightMode .mat-tab-group.mat-background-accent>.mat-tab-header .mat-ripple-element,.nightMode .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-ripple-element,.nightMode .mat-tab-group.mat-background-accent>.mat-tab-header-pagination .mat-ripple-element,.nightMode .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-ripple-element,.nightMode .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-ripple-element,.nightMode .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination .mat-ripple-element{background-color:#520000;opacity:.12}.nightMode .mat-tab-group.mat-background-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.nightMode .mat-tab-group.mat-background-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.nightMode .mat-tab-group.mat-background-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.nightMode .mat-tab-group.mat-background-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.nightMode .mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.nightMode .mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.nightMode .mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.nightMode .mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#f2bebe4d}.nightMode .mat-tab-group.mat-background-warn>.mat-tab-header,.nightMode .mat-tab-group.mat-background-warn>.mat-tab-link-container,.nightMode .mat-tab-group.mat-background-warn>.mat-tab-header-pagination,.nightMode .mat-tab-nav-bar.mat-background-warn>.mat-tab-header,.nightMode .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container,.nightMode .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination{background-color:#520000}.nightMode .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-label,.nightMode .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-tab-link,.nightMode .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-label,.nightMode .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-tab-link{color:#000}.nightMode .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-label.mat-tab-disabled,.nightMode .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.nightMode .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-label.mat-tab-disabled,.nightMode .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:#0006}.nightMode .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-chevron,.nightMode .mat-tab-group.mat-background-warn>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.nightMode .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-focus-indicator:before,.nightMode .mat-tab-group.mat-background-warn>.mat-tab-header .mat-focus-indicator:before,.nightMode .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-chevron,.nightMode .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.nightMode .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-focus-indicator:before,.nightMode .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-focus-indicator:before{border-color:#000}.nightMode .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.nightMode .mat-tab-group.mat-background-warn>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.nightMode .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.nightMode .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:#000;opacity:.4}.nightMode .mat-tab-group.mat-background-warn>.mat-tab-header .mat-ripple-element,.nightMode .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-ripple-element,.nightMode .mat-tab-group.mat-background-warn>.mat-tab-header-pagination .mat-ripple-element,.nightMode .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-ripple-element,.nightMode .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-ripple-element,.nightMode .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination .mat-ripple-element{background-color:#000;opacity:.12}.nightMode .mat-toolbar{background:black;color:#520000}.nightMode .mat-toolbar.mat-primary{background:#520000;color:#000}.nightMode .mat-toolbar.mat-accent{background:#121212;color:#520000}.nightMode .mat-toolbar.mat-warn{background:#520000;color:#000}.nightMode .mat-toolbar .mat-form-field-underline,.nightMode .mat-toolbar .mat-form-field-ripple,.nightMode .mat-toolbar .mat-focused .mat-form-field-ripple{background-color:currentColor}.nightMode .mat-toolbar .mat-form-field-label,.nightMode .mat-toolbar .mat-focused .mat-form-field-label,.nightMode .mat-toolbar .mat-select-value,.nightMode .mat-toolbar .mat-select-arrow,.nightMode .mat-toolbar .mat-form-field.mat-focused .mat-select-arrow{color:inherit}.nightMode .mat-toolbar .mat-input-element{caret-color:currentColor}.nightMode .mat-tree{background:black}.nightMode .mat-tree-node,.nightMode .mat-nested-tree-node{color:#520000}.nightMode .mat-snack-bar-container{color:#000000de;background:#fafafa;box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.nightMode .mat-simple-snackbar-action{color:inherit}.nightMode .app-defaults{background-color:#0e0d0d;color:#520000}.nightMode .theme-menu{background-color:#121212}.nightMode .menuBarButtonGroup{background-color:#ffffff1f}.nightMode .tabGroups{padding-left:0;min-height:100%;height:100%}.nightMode .tabGroupPanel{display:block;margin:10px 20px 20px}.nightMode .formActionFooter{width:100%;text-align:end}.nightMode .formActionButton{margin-left:10px}.nightMode .formActionDivider{margin-top:10px;margin-bottom:10px}.nightMode .as-split-gutter{background-color:transparent!important}.nightMode .primary,.nightMode .accent,.nightMode .warn,.nightMode .primaryDark,.nightMode .accentDark,.nightMode .warnDark{color:#520000}.nightMode .background{color:#ffffff1f}.nightMode .text{color:#520000}.nightMode .pathMetaDescription{font:small-caption;color:#5200004d}.nightMode .warn{color:#520000}.nightMode .warn-contrast{color:#000}.nightMode .textGenericWrapper{position:relative;width:100%;height:100%}.nightMode .canvas-size{position:absolute;top:0;left:0}.nightMode .warn{color:#520000}.nightMode .warn-contrast{color:#000}.nightMode DIV.apScreen{display:block;position:relative;width:360px;height:220.5px;margin:auto;text-align:center;border-radius:5px;border:1px solid rgba(255,255,255,.12);background-color:#ffffff1f}.nightMode .apScreen .apCompass{position:relative;width:360px;height:202px;margin:auto;border-radius:5px}.nightMode .apStatusBar{width:360px;height:18.5px;border-bottom-left-radius:5px;border-bottom-right-radius:5px;background-color:#000}.nightMode .apStatusBar,.nightMode .apStatusBar DIV{display:inline-block;position:relative}.nightMode .apScreen .apStencil{position:absolute;top:0;left:0;width:100%;height:100%;margin:auto;border-radius:5px;z-index:10;vertical-align:middle;background-color:#0e0d0d}.nightMode .apStencil.confirmCommand{z-index:5;visibility:hidden}.nightMode .apStencil.error{z-index:6;visibility:hidden}.nightMode .apText{fill:#520000}.nightMode .boatBackground{stop-color:#520000!important}.nightMode .heading-background{stroke:#1e1e1e;fill:#462121}.nightMode .wind-text{fill:#1e1e1e;stroke:#1e1e1e}.nightMode .laylines{stroke:#520000}.nightMode .wind-sector-port{fill:#520000}.nightMode .wind-sector-stbd{fill:#17420a}.nightMode .compass-outer-ring{stroke:#2c1515}.nightMode .compass-inner-ring{stroke:#462121;fill:#462121}.nightMode .wind-rose-background{stroke:#2c1a1a}.nightMode .sailSetupBoat{stroke:#462121}.nightMode .sailSetupFull,.nightMode .sailSetupReef1{fill:#520000}.nightMode .sailSetupReef2{fill:#e26767}.nightMode .sailSetupReef3{fill:#520000}.nightMode .port{stroke:#520000}.nightMode .starboard{stroke:#17420a}.nightMode .rudderPort{fill:#520000}.nightMode .rudderStarboard{fill:#389c19}.nightMode .true-wind{fill:#5f5013}.nightMode .app-wind{fill:#083958}.nightMode .simpleLinear-text{fill:#520000}.nightMode .windWrapper{position:relative;width:100%;height:100%}.nightMode .matBadge{z-index:1000}.nightMode .mute-unmte-alarm{width:max-content}.nightMode .alarmWarning{animation:blinkingAlarmWarning 1.5s infinite;background-color:orange!important}@keyframes blinkingAlarmWarning{0%{color:#b30000}50%{color:transparent}to{color:#b30000}}.nightMode .alarmCrit{animation:blinkingAlarmCrit .25s infinite}@keyframes blinkingAlarmCrit{0%{color:#ffe8e8;background-color:#b30000}50%{color:#b30000;background-color:#ffe8e8}to{color:#ffe8e8;background-color:#b30000}}.nightMode .muteSoundButton:hover{background:rgba(255,255,255,.04)}.nightMode .serverStatus{background-color:#ffffff1f;margin:7% 5% 0%;padding:10px 20px 20px}.nightMode .descriptiveTexts{color:#520000;font-size:14px}.nightMode .flex-item{flex:1 1 29%;background-color:#ffffff1f;padding:20px;border-radius:4px}.nightMode .flex-item-copy{flex:2 1 40%;background-color:#ffffff1f;padding:10px 20px;border-radius:4px} diff --git a/public/styles.cb06974479d009b8.css b/public/styles.cb06974479d009b8.css new file mode 100644 index 00000000..6386b785 --- /dev/null +++ b/public/styles.cb06974479d009b8.css @@ -0,0 +1 @@ +html,body,app-root{height:100%}body{margin:0}.ng-valid[required],.ng-valid.required{border-left:5px solid #42A948}.ng-invalid:not(form){border-left:5px solid #a94442}.verticalCenter{position:relative;top:50%;transform:translateY(-50%)}.flexContainer{display:flex;align-items:stretch;height:100%}.flowRow{flex-direction:row}.flexCol{flex-direction:column}.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 transparent}.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:transparent;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}.fullheight{height:100%}.mainContainer{display:flex;flex-direction:column;align-items:stretch;height:100%}.mainWindow{flex:30;overflow:auto}.menuBar{flex:1}.menuBarContainer{display:flex;flex-direction:row;justify-content:space-between;flex-wrap:nowrap}.menuBarContainer .menuBarButtonGroups{flex-grow:1}.menuBarContainer .menuBarButtonGroups:first-child{text-align:left;margin-left:2px}.menuBarContainer .menuBarButtonGroups{text-align:center}.menuBarContainer .menuBarButtonGroups:last-child{text-align:right;margin-right:2px}.menuBarButtonGroups .menuBarNavButtons{width:99%}.menuBarButtonGroups .menuBarAlarmsButton,.menuBarButtonGroups .menuBarSettingsButton{width:25%}.dynamicWidgetContainer{position:relative;width:100%;height:100%}.mat-card{display:block;position:absolute!important;width:calc(100% - 4px);height:calc(100% - 5px);margin:3px auto auto 2px;padding:0;transition:none;transition-property:none}.selectWidgetMenu{position:absolute;right:5%;bottom:5%}.settingsButton{position:absolute;bottom:5%;left:50%;transform:translate(-50%)}.mat-select-trigger{min-width:30px!important}as-split-area{overflow-y:hidden!important}.as-disabled>.as-split-gutter>.as-split-gutter-icon{visibility:hidden}.splitArea{width:100%;height:100%;position:relative;z-index:500}.splitMenu{position:absolute;left:5%;bottom:5%;z-index:500}.splitdelete{position:absolute;right:5%;top:5%;z-index:500}.pathGroup{width:100%}.pathGroupFields{display:block;width:calc(100% - 5px)}.pathField{width:100%}.pathProperties{display:flex;flex-flow:row wrap;justify-content:space-between;align-items:center;align-content:flex-start;gap:10px}.fields{width:100%}.sourceField{flex:3 1}.sampleTimeField{flex:1 3}.unitField{flex:3 1}::ng-deep .mat-menu-panel{max-width:-moz-fit-content!important;max-width:fit-content!important}.connectUrlInput{width:100%}.userLoginInput{width:50%}.flex-container{width:100%;display:flex;flex-direction:row;flex-wrap:wrap;justify-content:flex-start;align-items:stretch;gap:10px 10px}.flex-item-detail{flex:0 0 290px}.flex-item-chart{flex:1 1 350px;position:relative;margin:0;height:130px;width:100%;border:2px inset}table{width:-moz-fit-content;width:fit-content}tr{vertical-align:top}.tableCellLabel{display:table-cell;text-align:right;padding:5px}.tableCellData{display:table-cell;margin:0!important;padding:5px}.full-display{width:100%;height:100%;position:relative;z-index:500}.full-width{width:100%}.mat-column-actions{text-align:end}.buttons{margin-right:5px}.pathCell,.pathHeader{flex:1 1 50%}.dataHeader,.dataCell{flex:1 1 10%;justify-content:center}.actionHeader{flex:1 1 20%}.actionCell{flex:1 1 20%;justify-content:end}@media screen and (max-width: 750px){.pathHeader,.dataHeader{flex:1 1 30%}.actionHeader{display:none}.mat-table .mat-cell:before{content:attr(data-label);float:left;padding-right:5px}mat-row:after{min-height:auto;padding-bottom:10px}.dataRow{flex-direction:column;align-items:flex-start}.dataCell,.actionCell{margin-left:24px}}a{font-size:14px}a:hover{text-decoration:underline;cursor:pointer}a:link,a:visited{color:#8ab4f8;text-decoration:none}.confirmTextarea{resize:none}.config-size{width:100%}.textheight{height:120px;background-color:#000}.warningText{padding-left:15px}.no-token-notice{height:58px;contain:content;text-align:center;font-style:italic}.mat-radio-button~.mat-radio-button{margin-right:16px;margin-left:16px}.config-row{display:flex;flex-direction:row;flex-wrap:wrap;width:100%}.config-column{display:flex;flex-direction:column;flex-basis:100%;flex:1;margin:0 10px}.flex-container{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center;align-items:stretch;gap:10px;min-height:100%;height:100%}.sources-radio-group{display:flex;flex-direction:column;margin:15px 0}.sources-radio-button{margin:5px;margin-left:0!important}.select-config{margin-left:0}.btn-div{align-self:center}.btn-div button{width:-webkit-fill-available}.config-operation-container{display:grid;grid-template-columns:[col-start] auto [col1-end] min-content [col2-end];grid-template-rows:[row-start] max-content [row1-end] max-content [row2-end];grid-template-areas:"demo-txt demo-btn" "reset-txt reset-btn" "config-txt config-btn" "editor-txt editor-btn";row-gap:20px;column-gap:10px}.demo-txt{grid-area:demo-txt}.demo-btn{grid-area:demo-btn}.reset-txt{grid-area:reset-txt}.reset-btn{grid-area:reset-btn}.config-txt{grid-area:config-txt}.config-btn{grid-area:config-btn}.editor-txt{grid-area:editor-txt}.editor-btn{grid-area:editor-btn}.raceTimerWrapper{position:relative;width:100%;height:100%}.canvas-size{position:absolute;top:0;left:0}.timerBar{flex:1}.timerBarContainer{position:absolute;bottom:5%;height:10%;width:100%;display:flex;flex-direction:row;justify-content:space-between;flex-wrap:nowrap}.timerBarContainer .timerButtonGroups{flex-grow:1;text-align:center;width:33%}.timerBarContainer .timerButtons{width:75%;height:100%}.timerBarContainer .timerButtonsSmall{width:25%;height:100%;margin-left:5px}div.autopilotWidget{display:block;position:relative;border:none;margin:0;padding:5px 0;width:100%;height:calc(100% - 10px)}.headerAutopilot{display:block;position:relative;width:346px;margin:auto auto 5px}.headerAutopilot .apTitle{display:inline-block;font-weight:700;width:calc(100% - 64px);margin:0}.headerAutopilot .apPower{display:inline-block;width:64px;margin:0}.autoPilotBtn{width:85px}.activityIcon{opacity:40%;color:#fff;width:25px}.autopilotGridBtnContainer{display:grid;width:-moz-fit-content;width:fit-content;margin:5px auto auto;height:160px;grid-template-columns:[col-start] 25% [col1-end] 25% [col2-end] 25% [col3-end] 25% [col-End];grid-template-rows:[row-start] 25% [row1-end] 25% [row2-end] 25% [row3-end] 25% [row-end];grid-template-areas:". mute message ." "port minus1 plus1 starboard" "windmode minus10 plus10 trackmode" "standby . . auto1";row-gap:0px;column-gap:2px;justify-items:center;align-items:center;justify-content:center;align-content:start}.itemStbTack{grid-area:starboard}.itemMute{grid-area:mute}.itemMessage{grid-area:message}.itemPrtTack{grid-area:port}.itemPlus1{grid-area:plus1}.itemMinus1{grid-area:minus1}.itemStandby{grid-area:standby}.itemPlus10{grid-area:plus10}.itemMinus10{grid-area:minus10}.itemAuto{grid-area:auto1}.itemWindmode{grid-area:windmode}.itemTrackmode{grid-area:trackmode}.itemNxtWp{grid-area:nxtWp}.counterText{font-weight:700;font-size:7em;margin-top:0;margin-bottom:0}.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:#00bcd4}.mat-accent .mat-option.mat-selected:not(.mat-option-disabled){color:#448aff}.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:#bbdefb}.mat-pseudo-checkbox-disabled{color:#b0b0b0}.mat-primary .mat-pseudo-checkbox-checked,.mat-primary .mat-pseudo-checkbox-indeterminate{background:#00bcd4}.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-indeterminate,.mat-accent .mat-pseudo-checkbox-checked,.mat-accent .mat-pseudo-checkbox-indeterminate{background:#448aff}.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:#bbdefb;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:#90caf9;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:#90caf9}.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:#00bcd4}.cdk-high-contrast-active .mat-badge-content{outline:solid 1px;border-radius:0}.mat-badge-accent .mat-badge-content{background:#448aff;color:#fff}.mat-badge-warn .mat-badge-content{color:#fff;background:#f44336}.mat-badge-disabled .mat-badge-content{background:#8aa4ba;color:#00000061}.mat-bottom-sheet-container{box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f;background:#90caf9;color:#000000de}.mat-button,.mat-icon-button,.mat-stroked-button{color:inherit;background:transparent}.mat-button.mat-primary,.mat-icon-button.mat-primary,.mat-stroked-button.mat-primary{color:#00bcd4}.mat-button.mat-accent,.mat-icon-button.mat-accent,.mat-stroked-button.mat-accent{color:#448aff}.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:#00bcd4}.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:#448aff}.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:transparent}.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:black}.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:#90caf9}.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:#00bcd4}.mat-flat-button.mat-accent,.mat-raised-button.mat-accent,.mat-fab.mat-accent,.mat-mini-fab.mat-accent{background-color:#448aff}.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:#0000000f}.mat-button-toggle-appearance-standard{color:#000000de;background:#90caf9}.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 #7fb2db}[dir=rtl] .mat-button-toggle-group-appearance-standard .mat-button-toggle+.mat-button-toggle{border-left:none;border-right:solid 1px #7fb2db}.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 #7fb2db}.mat-button-toggle-checked{background-color:#64b5f6;color:#0000008a}.mat-button-toggle-checked.mat-button-toggle-appearance-standard{color:#000000de}.mat-button-toggle-disabled{color:#00000042;background-color:#90caf9}.mat-button-toggle-disabled.mat-button-toggle-appearance-standard{background:#90caf9}.mat-button-toggle-disabled.mat-button-toggle-checked{background-color:#42a5f5}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.mat-button-toggle-group-appearance-standard{border:solid 1px #7fb2db}.mat-button-toggle-appearance-standard .mat-button-toggle-label-content{line-height:48px}.mat-card{background:#90caf9;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:#bbdefb}.mat-checkbox-checkmark-path{stroke:#bbdefb!important}.mat-checkbox-mixedmark{background-color:#bbdefb}.mat-checkbox-indeterminate.mat-primary .mat-checkbox-background,.mat-checkbox-checked.mat-primary .mat-checkbox-background{background-color:#00bcd4}.mat-checkbox-indeterminate.mat-accent .mat-checkbox-background,.mat-checkbox-checked.mat-accent .mat-checkbox-background{background-color:#448aff}.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:#00bcd4}.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:#448aff}.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:#64b5f6;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:black}.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary{background-color:#00bcd4;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:#448aff;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:#90caf9}.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:transparent}.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(0,188,212,.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(0,188,212,.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(0,188,212,.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:#00bcd4;color:#fff}.mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:#00bcd466}.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:#00bcd44d}@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:#00bcd44d}}.mat-datepicker-content{box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f;background-color:#90caf9;color:#000000de}.mat-datepicker-content.mat-accent .mat-calendar-body-in-range:before{background:rgba(68,138,255,.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(68,138,255,.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(68,138,255,.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:#448aff;color:#fff}.mat-datepicker-content.mat-accent .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:#448aff66}.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:#448aff4d}@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:#448aff4d}}.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:#00bcd4}.mat-datepicker-toggle-active.mat-accent{color:#448aff}.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:#90caf9;color:#000000de}.mat-divider{border-top-color:#0000001f}.mat-divider-vertical{border-right-color:#0000001f}.mat-expansion-panel{background:#90caf9;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:#90caf9}}.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:#00bcd4}.mat-form-field.mat-focused .mat-form-field-label.mat-accent{color:#448aff}.mat-form-field.mat-focused .mat-form-field-label.mat-warn{color:#f44336}.mat-focused .mat-form-field-required-marker{color:#448aff}.mat-form-field-ripple{background-color:#000000de}.mat-form-field.mat-focused .mat-form-field-ripple{background-color:#00bcd4}.mat-form-field.mat-focused .mat-form-field-ripple.mat-accent{background-color:#448aff}.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:#00bcd4}.mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid).mat-accent .mat-form-field-infix:after{color:#448aff}.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:transparent}.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:#00bcd4}.mat-form-field-appearance-outline.mat-focused.mat-accent .mat-form-field-outline-thick{color:#448aff}.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:#00bcd4}.mat-icon.mat-accent{color:#448aff}.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:#00bcd4}.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:#448aff}.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:#90caf9;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:#90caf9}.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:transparent;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:#90caf9}.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:#8cd6f1}.mat-progress-bar-buffer{background-color:#8cd6f1}.mat-progress-bar-fill:after{background-color:#00bcd4}.mat-progress-bar.mat-accent .mat-progress-bar-background{fill:#9dc9fc}.mat-progress-bar.mat-accent .mat-progress-bar-buffer{background-color:#9dc9fc}.mat-progress-bar.mat-accent .mat-progress-bar-fill:after{background-color:#448aff}.mat-progress-bar.mat-warn .mat-progress-bar-background{fill:#c9b7ca}.mat-progress-bar.mat-warn .mat-progress-bar-buffer{background-color:#c9b7ca}.mat-progress-bar.mat-warn .mat-progress-bar-fill:after{background-color:#f44336}.mat-progress-spinner circle,.mat-spinner circle{stroke:#00bcd4}.mat-progress-spinner.mat-accent circle,.mat-spinner.mat-accent circle{stroke:#448aff}.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:#00bcd4}.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:#00bcd4}.mat-radio-button.mat-accent.mat-radio-checked .mat-radio-outer-circle{border-color:#448aff}.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:#448aff}.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:#90caf9}.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:#00bcd4}.mat-form-field.mat-focused.mat-accent .mat-select-arrow{color:#448aff}.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:#bbdefb;color:#000000de}.mat-drawer{background-color:#90caf9;color:#000000de}.mat-drawer.mat-drawer-push{background-color:#90caf9}.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:#6f350699}.mat-slide-toggle.mat-checked .mat-slide-toggle-thumb{background-color:#448aff}.mat-slide-toggle.mat-checked .mat-slide-toggle-bar{background-color:#448aff8a}.mat-slide-toggle.mat-checked .mat-ripple-element{background-color:#448aff}.mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-thumb{background-color:#00bcd4}.mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-bar{background-color:#00bcd48a}.mat-slide-toggle.mat-primary.mat-checked .mat-ripple-element{background-color:#00bcd4}.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:#00bcd4}.mat-slider.mat-primary .mat-slider-thumb-label-text{color:#fff}.mat-slider.mat-primary .mat-slider-focus-ring{background-color:#00bcd433}.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:#448aff}.mat-slider.mat-accent .mat-slider-thumb-label-text{color:#fff}.mat-slider.mat-accent .mat-slider-focus-ring{background-color:#448aff33}.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:transparent}.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:#00bcd4;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:#448aff;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:transparent;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:#90caf9}.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:#425d73}.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:#b2ebf24d}.mat-tab-group.mat-primary .mat-ink-bar,.mat-tab-nav-bar.mat-primary .mat-ink-bar{background-color:#00bcd4}.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:#82b1ff4d}.mat-tab-group.mat-accent .mat-ink-bar,.mat-tab-nav-bar.mat-accent .mat-ink-bar{background-color:#448aff}.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:#b2ebf24d}.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:#00bcd4}.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:#82b1ff4d}.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:#448aff}.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:#bbdefb;color:#000000de}.mat-toolbar.mat-primary{background:#00bcd4;color:#fff}.mat-toolbar.mat-accent{background:#448aff;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-tree{background:#90caf9}.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:#448aff}.app-defaults{background-color:#bbdefb;color:#000000de}.theme-menu{background-color:#448aff}.menuBarButtonGroup{background-color:#0000001f}.tabGroups{padding-left:0;min-height:100%;height:100%}.tabGroupPanel{display:block;margin:10px 20px 20px}.formActionFooter{width:100%;text-align:end}.formActionButton{margin-left:10px}.formActionDivider{margin-top:10px;margin-bottom:10px}.as-split-gutter{background-color:transparent!important}.primary{color:#4dd0e1}.accent{color:#64b5f6}.warn{color:#e57373}.primaryDark{color:#006064}.accentDark{color:#0d47a1}.warnDark{color:#b71c1c}.background{color:#0000001f}.text{color:#000000de}.pathMetaDescription{font:small-caption;color:#00000061}.textGenericWrapper{position:relative;width:100%;height:100%}.canvas-size{position:absolute;top:0;left:0}.warn{color:#f44336}.warn-contrast{color:#fff}DIV.apScreen{display:block;position:relative;width:360px;height:220.5px;margin:auto;text-align:center;border-radius:5px;border:1px solid rgba(0,0,0,.12);background-color:#0000001f}.apScreen .apCompass{position:relative;width:360px;height:202px;margin:auto;border-radius:5px}.apStatusBar{width:360px;height:18.5px;border-bottom-left-radius:5px;border-bottom-right-radius:5px;background-color:#000}.apStatusBar,.apStatusBar DIV{display:inline-block;position:relative}.apScreen .apStencil{position:absolute;top:0;left:0;width:100%;height:100%;margin:auto;border-radius:5px;z-index:10;vertical-align:middle;background-color:#bbdefb}.apStencil.confirmCommand{z-index:5;visibility:hidden}.apStencil.error{z-index:6;visibility:hidden}.apText{fill:#000000de}.boatBackground{stop-color:#c7c7c7!important}.heading-background{stroke:#000;fill:#afafaf}.wind-text{fill:#000;stroke:#000}.laylines{stroke:#000000de}.wind-sector-port{fill:red}.wind-sector-stbd{fill:#1fce04}.compass-outer-ring{stroke:#757575}.compass-inner-ring{stroke:#afafaf;fill:#afafaf}.wind-rose-background{stroke:#8a8a8a}.sailSetupBoat{stroke:#afafaf}.sailSetupFull{fill:#4dd0e1}.sailSetupReef1{fill:#64b5f6}.sailSetupReef2{fill:#e57373}.sailSetupReef3{fill:#f44336}.port{stroke:red}.starboard{stroke:#1fce04}.rudderPort{fill:#d52626}.rudderStarboard{fill:#389c19}.true-wind{fill:#068dfb}.app-wind{fill:#06fb06}.simpleLinear-text{fill:#000000de}.windWrapper{position:relative;width:100%;height:100%}.matBadge{z-index:1000}.mute-unmte-alarm{width:max-content}.alarmWarning{animation:blinkingAlarmWarning 1.5s infinite;background-color:orange!important}.alarmCrit{animation:blinkingAlarmCrit .25s infinite}.muteSoundButton:hover{background:rgba(255,255,255,.04)}.serverStatus{background-color:#0000001f;margin:7% 5% 0%;padding:10px 20px 20px}.descriptiveTexts{color:#000000de;font-size:14px}.flex-item{flex:1 1 29%;background-color:#0000001f;padding:20px;border-radius:4px}.flex-item-copy{flex:2 1 40%;background-color:#0000001f;padding:10px 20px;border-radius:4px}.signalk-light .mat-ripple-element{background-color:#0000001a}.signalk-light .mat-option{color:#000000de}.signalk-light .mat-option:hover:not(.mat-option-disabled),.signalk-light .mat-option:focus:not(.mat-option-disabled){background:rgba(0,0,0,.04)}.signalk-light .mat-option.mat-selected:not(.mat-option-multiple):not(.mat-option-disabled){background:rgba(0,0,0,.04)}.signalk-light .mat-option.mat-active{background:rgba(0,0,0,.04);color:#000000de}.signalk-light .mat-option.mat-option-disabled{color:#00000061}.signalk-light .mat-primary .mat-option.mat-selected:not(.mat-option-disabled){color:#039}.signalk-light .mat-accent .mat-option.mat-selected:not(.mat-option-disabled){color:#fc0}.signalk-light .mat-warn .mat-option.mat-selected:not(.mat-option-disabled){color:#f44336}.signalk-light .mat-optgroup-label{color:#0000008a}.signalk-light .mat-optgroup-disabled .mat-optgroup-label{color:#00000061}.signalk-light .mat-pseudo-checkbox{color:#0000008a}.signalk-light .mat-pseudo-checkbox:after{color:#e0e7f3}.signalk-light .mat-pseudo-checkbox-disabled{color:#b0b0b0}.signalk-light .mat-primary .mat-pseudo-checkbox-checked,.signalk-light .mat-primary .mat-pseudo-checkbox-indeterminate{background:#003399}.signalk-light .mat-pseudo-checkbox-checked,.signalk-light .mat-pseudo-checkbox-indeterminate,.signalk-light .mat-accent .mat-pseudo-checkbox-checked,.signalk-light .mat-accent .mat-pseudo-checkbox-indeterminate{background:#ffcc00}.signalk-light .mat-warn .mat-pseudo-checkbox-checked,.signalk-light .mat-warn .mat-pseudo-checkbox-indeterminate{background:#f44336}.signalk-light .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.signalk-light .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background:#b0b0b0}.signalk-light .mat-app-background,.signalk-light.mat-app-background{background-color:#e0e7f3;color:#000000de}.signalk-light .mat-elevation-z0{box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.signalk-light .mat-elevation-z1{box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f}.signalk-light .mat-elevation-z2{box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.signalk-light .mat-elevation-z3{box-shadow:0 3px 3px -2px #0003,0 3px 4px #00000024,0 1px 8px #0000001f}.signalk-light .mat-elevation-z4{box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.signalk-light .mat-elevation-z5{box-shadow:0 3px 5px -1px #0003,0 5px 8px #00000024,0 1px 14px #0000001f}.signalk-light .mat-elevation-z6{box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.signalk-light .mat-elevation-z7{box-shadow:0 4px 5px -2px #0003,0 7px 10px 1px #00000024,0 2px 16px 1px #0000001f}.signalk-light .mat-elevation-z8{box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.signalk-light .mat-elevation-z9{box-shadow:0 5px 6px -3px #0003,0 9px 12px 1px #00000024,0 3px 16px 2px #0000001f}.signalk-light .mat-elevation-z10{box-shadow:0 6px 6px -3px #0003,0 10px 14px 1px #00000024,0 4px 18px 3px #0000001f}.signalk-light .mat-elevation-z11{box-shadow:0 6px 7px -4px #0003,0 11px 15px 1px #00000024,0 4px 20px 3px #0000001f}.signalk-light .mat-elevation-z12{box-shadow:0 7px 8px -4px #0003,0 12px 17px 2px #00000024,0 5px 22px 4px #0000001f}.signalk-light .mat-elevation-z13{box-shadow:0 7px 8px -4px #0003,0 13px 19px 2px #00000024,0 5px 24px 4px #0000001f}.signalk-light .mat-elevation-z14{box-shadow:0 7px 9px -4px #0003,0 14px 21px 2px #00000024,0 5px 26px 4px #0000001f}.signalk-light .mat-elevation-z15{box-shadow:0 8px 9px -5px #0003,0 15px 22px 2px #00000024,0 6px 28px 5px #0000001f}.signalk-light .mat-elevation-z16{box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f}.signalk-light .mat-elevation-z17{box-shadow:0 8px 11px -5px #0003,0 17px 26px 2px #00000024,0 6px 32px 5px #0000001f}.signalk-light .mat-elevation-z18{box-shadow:0 9px 11px -5px #0003,0 18px 28px 2px #00000024,0 7px 34px 6px #0000001f}.signalk-light .mat-elevation-z19{box-shadow:0 9px 12px -6px #0003,0 19px 29px 2px #00000024,0 7px 36px 6px #0000001f}.signalk-light .mat-elevation-z20{box-shadow:0 10px 13px -6px #0003,0 20px 31px 3px #00000024,0 8px 38px 7px #0000001f}.signalk-light .mat-elevation-z21{box-shadow:0 10px 13px -6px #0003,0 21px 33px 3px #00000024,0 8px 40px 7px #0000001f}.signalk-light .mat-elevation-z22{box-shadow:0 10px 14px -6px #0003,0 22px 35px 3px #00000024,0 8px 42px 7px #0000001f}.signalk-light .mat-elevation-z23{box-shadow:0 11px 14px -7px #0003,0 23px 36px 3px #00000024,0 9px 44px 8px #0000001f}.signalk-light .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}.signalk-light .mat-autocomplete-panel{background:white;color:#000000de}.signalk-light .mat-autocomplete-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.signalk-light .mat-autocomplete-panel .mat-option.mat-selected:not(.mat-active):not(:hover){background:white}.signalk-light .mat-autocomplete-panel .mat-option.mat-selected:not(.mat-active):not(:hover):not(.mat-option-disabled){color:#000000de}.signalk-light .mat-badge-content{color:#fff;background:#003399}.cdk-high-contrast-active .signalk-light .mat-badge-content{outline:solid 1px;border-radius:0}.signalk-light .mat-badge-accent .mat-badge-content{background:#ffcc00;color:#000}.signalk-light .mat-badge-warn .mat-badge-content{color:#fff;background:#f44336}.signalk-light .mat-badge-disabled .mat-badge-content{background:#a6abb4;color:#00000061}.signalk-light .mat-bottom-sheet-container{box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f;background:white;color:#000000de}.signalk-light .mat-button,.signalk-light .mat-icon-button,.signalk-light .mat-stroked-button{color:inherit;background:transparent}.signalk-light .mat-button.mat-primary,.signalk-light .mat-icon-button.mat-primary,.signalk-light .mat-stroked-button.mat-primary{color:#039}.signalk-light .mat-button.mat-accent,.signalk-light .mat-icon-button.mat-accent,.signalk-light .mat-stroked-button.mat-accent{color:#fc0}.signalk-light .mat-button.mat-warn,.signalk-light .mat-icon-button.mat-warn,.signalk-light .mat-stroked-button.mat-warn{color:#f44336}.signalk-light .mat-button.mat-primary.mat-button-disabled,.signalk-light .mat-button.mat-accent.mat-button-disabled,.signalk-light .mat-button.mat-warn.mat-button-disabled,.signalk-light .mat-button.mat-button-disabled.mat-button-disabled,.signalk-light .mat-icon-button.mat-primary.mat-button-disabled,.signalk-light .mat-icon-button.mat-accent.mat-button-disabled,.signalk-light .mat-icon-button.mat-warn.mat-button-disabled,.signalk-light .mat-icon-button.mat-button-disabled.mat-button-disabled,.signalk-light .mat-stroked-button.mat-primary.mat-button-disabled,.signalk-light .mat-stroked-button.mat-accent.mat-button-disabled,.signalk-light .mat-stroked-button.mat-warn.mat-button-disabled,.signalk-light .mat-stroked-button.mat-button-disabled.mat-button-disabled{color:#00000042}.signalk-light .mat-button.mat-primary .mat-button-focus-overlay,.signalk-light .mat-icon-button.mat-primary .mat-button-focus-overlay,.signalk-light .mat-stroked-button.mat-primary .mat-button-focus-overlay{background-color:#039}.signalk-light .mat-button.mat-accent .mat-button-focus-overlay,.signalk-light .mat-icon-button.mat-accent .mat-button-focus-overlay,.signalk-light .mat-stroked-button.mat-accent .mat-button-focus-overlay{background-color:#fc0}.signalk-light .mat-button.mat-warn .mat-button-focus-overlay,.signalk-light .mat-icon-button.mat-warn .mat-button-focus-overlay,.signalk-light .mat-stroked-button.mat-warn .mat-button-focus-overlay{background-color:#f44336}.signalk-light .mat-button.mat-button-disabled .mat-button-focus-overlay,.signalk-light .mat-icon-button.mat-button-disabled .mat-button-focus-overlay,.signalk-light .mat-stroked-button.mat-button-disabled .mat-button-focus-overlay{background-color:transparent}.signalk-light .mat-button .mat-ripple-element,.signalk-light .mat-icon-button .mat-ripple-element,.signalk-light .mat-stroked-button .mat-ripple-element{opacity:.1;background-color:currentColor}.signalk-light .mat-button-focus-overlay{background:black}.signalk-light .mat-stroked-button:not(.mat-button-disabled){border-color:#0000001f}.signalk-light .mat-flat-button,.signalk-light .mat-raised-button,.signalk-light .mat-fab,.signalk-light .mat-mini-fab{color:#000000de;background-color:#fff}.signalk-light .mat-flat-button.mat-primary,.signalk-light .mat-raised-button.mat-primary,.signalk-light .mat-fab.mat-primary,.signalk-light .mat-mini-fab.mat-primary{color:#fff}.signalk-light .mat-flat-button.mat-accent,.signalk-light .mat-raised-button.mat-accent,.signalk-light .mat-fab.mat-accent,.signalk-light .mat-mini-fab.mat-accent{color:#000}.signalk-light .mat-flat-button.mat-warn,.signalk-light .mat-raised-button.mat-warn,.signalk-light .mat-fab.mat-warn,.signalk-light .mat-mini-fab.mat-warn{color:#fff}.signalk-light .mat-flat-button.mat-primary.mat-button-disabled,.signalk-light .mat-flat-button.mat-accent.mat-button-disabled,.signalk-light .mat-flat-button.mat-warn.mat-button-disabled,.signalk-light .mat-flat-button.mat-button-disabled.mat-button-disabled,.signalk-light .mat-raised-button.mat-primary.mat-button-disabled,.signalk-light .mat-raised-button.mat-accent.mat-button-disabled,.signalk-light .mat-raised-button.mat-warn.mat-button-disabled,.signalk-light .mat-raised-button.mat-button-disabled.mat-button-disabled,.signalk-light .mat-fab.mat-primary.mat-button-disabled,.signalk-light .mat-fab.mat-accent.mat-button-disabled,.signalk-light .mat-fab.mat-warn.mat-button-disabled,.signalk-light .mat-fab.mat-button-disabled.mat-button-disabled,.signalk-light .mat-mini-fab.mat-primary.mat-button-disabled,.signalk-light .mat-mini-fab.mat-accent.mat-button-disabled,.signalk-light .mat-mini-fab.mat-warn.mat-button-disabled,.signalk-light .mat-mini-fab.mat-button-disabled.mat-button-disabled{color:#00000042}.signalk-light .mat-flat-button.mat-primary,.signalk-light .mat-raised-button.mat-primary,.signalk-light .mat-fab.mat-primary,.signalk-light .mat-mini-fab.mat-primary{background-color:#039}.signalk-light .mat-flat-button.mat-accent,.signalk-light .mat-raised-button.mat-accent,.signalk-light .mat-fab.mat-accent,.signalk-light .mat-mini-fab.mat-accent{background-color:#fc0}.signalk-light .mat-flat-button.mat-warn,.signalk-light .mat-raised-button.mat-warn,.signalk-light .mat-fab.mat-warn,.signalk-light .mat-mini-fab.mat-warn{background-color:#f44336}.signalk-light .mat-flat-button.mat-primary.mat-button-disabled,.signalk-light .mat-flat-button.mat-accent.mat-button-disabled,.signalk-light .mat-flat-button.mat-warn.mat-button-disabled,.signalk-light .mat-flat-button.mat-button-disabled.mat-button-disabled,.signalk-light .mat-raised-button.mat-primary.mat-button-disabled,.signalk-light .mat-raised-button.mat-accent.mat-button-disabled,.signalk-light .mat-raised-button.mat-warn.mat-button-disabled,.signalk-light .mat-raised-button.mat-button-disabled.mat-button-disabled,.signalk-light .mat-fab.mat-primary.mat-button-disabled,.signalk-light .mat-fab.mat-accent.mat-button-disabled,.signalk-light .mat-fab.mat-warn.mat-button-disabled,.signalk-light .mat-fab.mat-button-disabled.mat-button-disabled,.signalk-light .mat-mini-fab.mat-primary.mat-button-disabled,.signalk-light .mat-mini-fab.mat-accent.mat-button-disabled,.signalk-light .mat-mini-fab.mat-warn.mat-button-disabled,.signalk-light .mat-mini-fab.mat-button-disabled.mat-button-disabled{background-color:#0000001f}.signalk-light .mat-flat-button.mat-primary .mat-ripple-element,.signalk-light .mat-raised-button.mat-primary .mat-ripple-element,.signalk-light .mat-fab.mat-primary .mat-ripple-element,.signalk-light .mat-mini-fab.mat-primary .mat-ripple-element{background-color:#ffffff1a}.signalk-light .mat-flat-button.mat-accent .mat-ripple-element,.signalk-light .mat-raised-button.mat-accent .mat-ripple-element,.signalk-light .mat-fab.mat-accent .mat-ripple-element,.signalk-light .mat-mini-fab.mat-accent .mat-ripple-element{background-color:#0000001a}.signalk-light .mat-flat-button.mat-warn .mat-ripple-element,.signalk-light .mat-raised-button.mat-warn .mat-ripple-element,.signalk-light .mat-fab.mat-warn .mat-ripple-element,.signalk-light .mat-mini-fab.mat-warn .mat-ripple-element{background-color:#ffffff1a}.signalk-light .mat-stroked-button:not([class*=mat-elevation-z]),.signalk-light .mat-flat-button:not([class*=mat-elevation-z]){box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.signalk-light .mat-raised-button:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.signalk-light .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}.signalk-light .mat-raised-button.mat-button-disabled:not([class*=mat-elevation-z]){box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.signalk-light .mat-fab:not([class*=mat-elevation-z]),.signalk-light .mat-mini-fab:not([class*=mat-elevation-z]){box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.signalk-light .mat-fab:not(.mat-button-disabled):active:not([class*=mat-elevation-z]),.signalk-light .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}.signalk-light .mat-fab.mat-button-disabled:not([class*=mat-elevation-z]),.signalk-light .mat-mini-fab.mat-button-disabled:not([class*=mat-elevation-z]){box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.signalk-light .mat-button-toggle-standalone:not([class*=mat-elevation-z]),.signalk-light .mat-button-toggle-group:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.signalk-light .mat-button-toggle-standalone.mat-button-toggle-appearance-standard:not([class*=mat-elevation-z]),.signalk-light .mat-button-toggle-group-appearance-standard:not([class*=mat-elevation-z]){box-shadow:none}.signalk-light .mat-button-toggle{color:#00000061}.signalk-light .mat-button-toggle .mat-button-toggle-focus-overlay{background-color:#0000000f}.signalk-light .mat-button-toggle-appearance-standard{color:#000000de;background:white}.signalk-light .mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{background-color:#000}.signalk-light .mat-button-toggle-group-appearance-standard .mat-button-toggle+.mat-button-toggle{border-left:solid 1px #e0e0e0}.signalk-light [dir=rtl] .mat-button-toggle-group-appearance-standard .mat-button-toggle+.mat-button-toggle{border-left:none;border-right:solid 1px #e0e0e0}.signalk-light .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}.signalk-light .mat-button-toggle-checked{background-color:#4d70b8;color:#0000008a}.signalk-light .mat-button-toggle-checked.mat-button-toggle-appearance-standard{color:#000000de}.signalk-light .mat-button-toggle-disabled{color:#00000042;background-color:#fff}.signalk-light .mat-button-toggle-disabled.mat-button-toggle-appearance-standard{background:white}.signalk-light .mat-button-toggle-disabled.mat-button-toggle-checked{background-color:#2652a8}.signalk-light .mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.signalk-light .mat-button-toggle-group-appearance-standard{border:solid 1px #e0e0e0}.signalk-light .mat-card{background:white;color:#000000de}.signalk-light .mat-card:not([class*=mat-elevation-z]){box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f}.signalk-light .mat-card.mat-card-flat:not([class*=mat-elevation-z]){box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.signalk-light .mat-card-subtitle{color:#0000008a}.signalk-light .mat-checkbox-frame{border-color:#0000008a}.signalk-light .mat-checkbox-checkmark{fill:#e0e7f3}.signalk-light .mat-checkbox-checkmark-path{stroke:#e0e7f3!important}.signalk-light .mat-checkbox-mixedmark{background-color:#e0e7f3}.signalk-light .mat-checkbox-indeterminate.mat-primary .mat-checkbox-background,.signalk-light .mat-checkbox-checked.mat-primary .mat-checkbox-background{background-color:#039}.signalk-light .mat-checkbox-indeterminate.mat-accent .mat-checkbox-background,.signalk-light .mat-checkbox-checked.mat-accent .mat-checkbox-background{background-color:#fc0}.signalk-light .mat-checkbox-indeterminate.mat-warn .mat-checkbox-background,.signalk-light .mat-checkbox-checked.mat-warn .mat-checkbox-background{background-color:#f44336}.signalk-light .mat-checkbox-disabled.mat-checkbox-checked .mat-checkbox-background,.signalk-light .mat-checkbox-disabled.mat-checkbox-indeterminate .mat-checkbox-background{background-color:#b0b0b0}.signalk-light .mat-checkbox-disabled:not(.mat-checkbox-checked) .mat-checkbox-frame{border-color:#b0b0b0}.signalk-light .mat-checkbox-disabled .mat-checkbox-label{color:#00000061}.signalk-light .mat-checkbox .mat-ripple-element{background-color:#000}.signalk-light .mat-checkbox-checked:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element,.signalk-light .mat-checkbox:active:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element{background:#003399}.signalk-light .mat-checkbox-checked:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element,.signalk-light .mat-checkbox:active:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element{background:#ffcc00}.signalk-light .mat-checkbox-checked:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element,.signalk-light .mat-checkbox:active:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element{background:#f44336}.signalk-light .mat-chip.mat-standard-chip{background-color:#4d70b8;color:#000000de}.signalk-light .mat-chip.mat-standard-chip .mat-chip-remove{color:#000000de;opacity:.4}.signalk-light .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}.signalk-light .mat-chip.mat-standard-chip:not(.mat-chip-disabled) .mat-chip-remove:hover{opacity:.54}.signalk-light .mat-chip.mat-standard-chip.mat-chip-disabled{opacity:.4}.signalk-light .mat-chip.mat-standard-chip:after{background:black}.signalk-light .mat-chip.mat-standard-chip.mat-chip-selected.mat-primary{background-color:#039;color:#fff}.signalk-light .mat-chip.mat-standard-chip.mat-chip-selected.mat-primary .mat-chip-remove{color:#fff;opacity:.4}.signalk-light .mat-chip.mat-standard-chip.mat-chip-selected.mat-primary .mat-ripple-element{background-color:#ffffff1a}.signalk-light .mat-chip.mat-standard-chip.mat-chip-selected.mat-warn{background-color:#f44336;color:#fff}.signalk-light .mat-chip.mat-standard-chip.mat-chip-selected.mat-warn .mat-chip-remove{color:#fff;opacity:.4}.signalk-light .mat-chip.mat-standard-chip.mat-chip-selected.mat-warn .mat-ripple-element{background-color:#ffffff1a}.signalk-light .mat-chip.mat-standard-chip.mat-chip-selected.mat-accent{background-color:#fc0;color:#000}.signalk-light .mat-chip.mat-standard-chip.mat-chip-selected.mat-accent .mat-chip-remove{color:#000;opacity:.4}.signalk-light .mat-chip.mat-standard-chip.mat-chip-selected.mat-accent .mat-ripple-element{background-color:#0000001a}.signalk-light .mat-table{background:white}.signalk-light .mat-table thead,.signalk-light .mat-table tbody,.signalk-light .mat-table tfoot,.signalk-light mat-header-row,.signalk-light mat-row,.signalk-light mat-footer-row,.signalk-light [mat-header-row],.signalk-light [mat-row],.signalk-light [mat-footer-row],.signalk-light .mat-table-sticky{background:inherit}.signalk-light mat-row,.signalk-light mat-header-row,.signalk-light mat-footer-row,.signalk-light th.mat-header-cell,.signalk-light td.mat-cell,.signalk-light td.mat-footer-cell{border-bottom-color:#0000001f}.signalk-light .mat-header-cell{color:#0000008a}.signalk-light .mat-cell,.signalk-light .mat-footer-cell{color:#000000de}.signalk-light .mat-calendar-arrow{fill:#0000008a}.signalk-light .mat-datepicker-toggle,.signalk-light .mat-datepicker-content .mat-calendar-next-button,.signalk-light .mat-datepicker-content .mat-calendar-previous-button{color:#0000008a}.signalk-light .mat-calendar-table-header-divider:after{background:rgba(0,0,0,.12)}.signalk-light .mat-calendar-table-header,.signalk-light .mat-calendar-body-label{color:#0000008a}.signalk-light .mat-calendar-body-cell-content,.signalk-light .mat-date-range-input-separator{color:#000000de;border-color:transparent}.signalk-light .mat-calendar-body-disabled>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){color:#00000061}.signalk-light .mat-form-field-disabled .mat-date-range-input-separator{color:#00000061}.signalk-light .mat-calendar-body-in-preview{color:#0000003d}.signalk-light .mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:#00000061}.signalk-light .mat-calendar-body-disabled>.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:#0000002e}.signalk-light .mat-calendar-body-in-range:before{background:rgba(0,51,153,.2)}.signalk-light .mat-calendar-body-comparison-identical,.signalk-light .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.signalk-light .mat-calendar-body-comparison-bridge-start:before,.signalk-light [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(to right,rgba(0,51,153,.2) 50%,rgba(249,171,0,.2) 50%)}.signalk-light .mat-calendar-body-comparison-bridge-end:before,.signalk-light [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(to left,rgba(0,51,153,.2) 50%,rgba(249,171,0,.2) 50%)}.signalk-light .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.signalk-light .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after{background:#a8dab5}.signalk-light .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.signalk-light .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.signalk-light .mat-calendar-body-selected{background-color:#039;color:#fff}.signalk-light .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:#0396}.signalk-light .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.signalk-light .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.signalk-light .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:#0033994d}@media (hover: hover){.signalk-light .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:#0033994d}}.signalk-light .mat-datepicker-content{box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f;background-color:#fff;color:#000000de}.signalk-light .mat-datepicker-content.mat-accent .mat-calendar-body-in-range:before{background:rgba(255,204,0,.2)}.signalk-light .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-identical,.signalk-light .mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.signalk-light .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-bridge-start:before,.signalk-light .mat-datepicker-content.mat-accent [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(to right,rgba(255,204,0,.2) 50%,rgba(249,171,0,.2) 50%)}.signalk-light .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-bridge-end:before,.signalk-light .mat-datepicker-content.mat-accent [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(to left,rgba(255,204,0,.2) 50%,rgba(249,171,0,.2) 50%)}.signalk-light .mat-datepicker-content.mat-accent .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.signalk-light .mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after{background:#a8dab5}.signalk-light .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.signalk-light .mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.signalk-light .mat-datepicker-content.mat-accent .mat-calendar-body-selected{background-color:#fc0;color:#000}.signalk-light .mat-datepicker-content.mat-accent .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:#fc06}.signalk-light .mat-datepicker-content.mat-accent .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #000}.signalk-light .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),.signalk-light .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:#ffcc004d}@media (hover: hover){.signalk-light .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:#ffcc004d}}.signalk-light .mat-datepicker-content.mat-warn .mat-calendar-body-in-range:before{background:rgba(244,67,54,.2)}.signalk-light .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-identical,.signalk-light .mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.signalk-light .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-bridge-start:before,.signalk-light .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%)}.signalk-light .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-bridge-end:before,.signalk-light .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%)}.signalk-light .mat-datepicker-content.mat-warn .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.signalk-light .mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after{background:#a8dab5}.signalk-light .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.signalk-light .mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.signalk-light .mat-datepicker-content.mat-warn .mat-calendar-body-selected{background-color:#f44336;color:#fff}.signalk-light .mat-datepicker-content.mat-warn .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:#f4433666}.signalk-light .mat-datepicker-content.mat-warn .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.signalk-light .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),.signalk-light .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){.signalk-light .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}}.signalk-light .mat-datepicker-content-touch{box-shadow:0 11px 15px -7px #0003,0 24px 38px 3px #00000024,0 9px 46px 8px #0000001f}.signalk-light .mat-datepicker-toggle-active{color:#039}.signalk-light .mat-datepicker-toggle-active.mat-accent{color:#fc0}.signalk-light .mat-datepicker-toggle-active.mat-warn{color:#f44336}.signalk-light .mat-date-range-input-inner[disabled]{color:#00000061}.signalk-light .mat-dialog-container{box-shadow:0 11px 15px -7px #0003,0 24px 38px 3px #00000024,0 9px 46px 8px #0000001f;background:white;color:#000000de}.signalk-light .mat-divider{border-top-color:#0000001f}.signalk-light .mat-divider-vertical{border-right-color:#0000001f}.signalk-light .mat-expansion-panel{background:white;color:#000000de}.signalk-light .mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.signalk-light .mat-action-row{border-top-color:#0000001f}.signalk-light .mat-expansion-panel .mat-expansion-panel-header.cdk-keyboard-focused:not([aria-disabled=true]),.signalk-light .mat-expansion-panel .mat-expansion-panel-header.cdk-program-focused:not([aria-disabled=true]),.signalk-light .mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:hover:not([aria-disabled=true]){background:rgba(0,0,0,.04)}@media (hover: none){.signalk-light .mat-expansion-panel:not(.mat-expanded):not([aria-disabled=true]) .mat-expansion-panel-header:hover{background:white}}.signalk-light .mat-expansion-panel-header-title{color:#000000de}.signalk-light .mat-expansion-panel-header-description,.signalk-light .mat-expansion-indicator:after{color:#0000008a}.signalk-light .mat-expansion-panel-header[aria-disabled=true]{color:#00000042}.signalk-light .mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-title,.signalk-light .mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-description{color:inherit}.signalk-light .mat-form-field-label,.signalk-light .mat-hint{color:#0009}.signalk-light .mat-form-field.mat-focused .mat-form-field-label{color:#039}.signalk-light .mat-form-field.mat-focused .mat-form-field-label.mat-accent{color:#fc0}.signalk-light .mat-form-field.mat-focused .mat-form-field-label.mat-warn{color:#f44336}.signalk-light .mat-focused .mat-form-field-required-marker{color:#fc0}.signalk-light .mat-form-field-ripple{background-color:#000000de}.signalk-light .mat-form-field.mat-focused .mat-form-field-ripple{background-color:#039}.signalk-light .mat-form-field.mat-focused .mat-form-field-ripple.mat-accent{background-color:#fc0}.signalk-light .mat-form-field.mat-focused .mat-form-field-ripple.mat-warn{background-color:#f44336}.signalk-light .mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid) .mat-form-field-infix:after{color:#039}.signalk-light .mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid).mat-accent .mat-form-field-infix:after{color:#fc0}.signalk-light .mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid).mat-warn .mat-form-field-infix:after{color:#f44336}.signalk-light .mat-form-field.mat-form-field-invalid .mat-form-field-label,.signalk-light .mat-form-field.mat-form-field-invalid .mat-form-field-label.mat-accent,.signalk-light .mat-form-field.mat-form-field-invalid .mat-form-field-label .mat-form-field-required-marker{color:#f44336}.signalk-light .mat-form-field.mat-form-field-invalid .mat-form-field-ripple,.signalk-light .mat-form-field.mat-form-field-invalid .mat-form-field-ripple.mat-accent{background-color:#f44336}.signalk-light .mat-error{color:#f44336}.signalk-light .mat-form-field-appearance-legacy .mat-form-field-label,.signalk-light .mat-form-field-appearance-legacy .mat-hint{color:#0000008a}.signalk-light .mat-form-field-appearance-legacy .mat-form-field-underline{background-color:#0000006b}.signalk-light .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}.signalk-light .mat-form-field-appearance-standard .mat-form-field-underline{background-color:#0000006b}.signalk-light .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}.signalk-light .mat-form-field-appearance-fill .mat-form-field-flex{background-color:#0000000a}.signalk-light .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-flex{background-color:#00000005}.signalk-light .mat-form-field-appearance-fill .mat-form-field-underline:before{background-color:#0000006b}.signalk-light .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-label{color:#00000061}.signalk-light .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-underline:before{background-color:transparent}.signalk-light .mat-form-field-appearance-outline .mat-form-field-outline{color:#0000001f}.signalk-light .mat-form-field-appearance-outline .mat-form-field-outline-thick{color:#000000de}.signalk-light .mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick{color:#039}.signalk-light .mat-form-field-appearance-outline.mat-focused.mat-accent .mat-form-field-outline-thick{color:#fc0}.signalk-light .mat-form-field-appearance-outline.mat-focused.mat-warn .mat-form-field-outline-thick,.signalk-light .mat-form-field-appearance-outline.mat-form-field-invalid.mat-form-field-invalid .mat-form-field-outline-thick{color:#f44336}.signalk-light .mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-label{color:#00000061}.signalk-light .mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-outline{color:#0000000f}.signalk-light .mat-icon.mat-primary{color:#039}.signalk-light .mat-icon.mat-accent{color:#fc0}.signalk-light .mat-icon.mat-warn{color:#f44336}.signalk-light .mat-form-field-type-mat-native-select .mat-form-field-infix:after{color:#0000008a}.signalk-light .mat-input-element:disabled,.signalk-light .mat-form-field-type-mat-native-select.mat-form-field-disabled .mat-form-field-infix:after{color:#00000061}.signalk-light .mat-input-element{caret-color:#039}.signalk-light .mat-input-element::placeholder{color:#0000006b}.signalk-light .mat-input-element::-moz-placeholder{color:#0000006b}.signalk-light .mat-input-element::-webkit-input-placeholder{color:#0000006b}.signalk-light .mat-input-element:-ms-input-placeholder{color:#0000006b}.signalk-light .mat-form-field.mat-accent .mat-input-element{caret-color:#fc0}.signalk-light .mat-form-field.mat-warn .mat-input-element,.signalk-light .mat-form-field-invalid .mat-input-element{caret-color:#f44336}.signalk-light .mat-form-field-type-mat-native-select.mat-form-field-invalid .mat-form-field-infix:after{color:#f44336}.signalk-light .mat-list-base .mat-list-item,.signalk-light .mat-list-base .mat-list-option{color:#000000de}.signalk-light .mat-list-base .mat-subheader{color:#0000008a}.signalk-light .mat-list-base .mat-list-item-disabled{background-color:#fff;color:#00000061}.signalk-light .mat-list-option:hover,.signalk-light .mat-list-option:focus,.signalk-light .mat-nav-list .mat-list-item:hover,.signalk-light .mat-nav-list .mat-list-item:focus,.signalk-light .mat-action-list .mat-list-item:hover,.signalk-light .mat-action-list .mat-list-item:focus{background:rgba(0,0,0,.04)}.signalk-light .mat-list-single-selected-option,.signalk-light .mat-list-single-selected-option:hover,.signalk-light .mat-list-single-selected-option:focus{background:rgba(0,0,0,.12)}.signalk-light .mat-menu-panel{background:white}.signalk-light .mat-menu-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.signalk-light .mat-menu-item{background:transparent;color:#000000de}.signalk-light .mat-menu-item[disabled],.signalk-light .mat-menu-item[disabled] .mat-menu-submenu-icon,.signalk-light .mat-menu-item[disabled] .mat-icon-no-color{color:#00000061}.signalk-light .mat-menu-item .mat-icon-no-color,.signalk-light .mat-menu-submenu-icon{color:#0000008a}.signalk-light .mat-menu-item:hover:not([disabled]),.signalk-light .mat-menu-item.cdk-program-focused:not([disabled]),.signalk-light .mat-menu-item.cdk-keyboard-focused:not([disabled]),.signalk-light .mat-menu-item-highlighted:not([disabled]){background:rgba(0,0,0,.04)}.signalk-light .mat-paginator{background:white}.signalk-light .mat-paginator,.signalk-light .mat-paginator-page-size .mat-select-trigger{color:#0000008a}.signalk-light .mat-paginator-decrement,.signalk-light .mat-paginator-increment{border-top:2px solid rgba(0,0,0,.54);border-right:2px solid rgba(0,0,0,.54)}.signalk-light .mat-paginator-first,.signalk-light .mat-paginator-last{border-top:2px solid rgba(0,0,0,.54)}.signalk-light .mat-icon-button[disabled] .mat-paginator-decrement,.signalk-light .mat-icon-button[disabled] .mat-paginator-increment,.signalk-light .mat-icon-button[disabled] .mat-paginator-first,.signalk-light .mat-icon-button[disabled] .mat-paginator-last{border-color:#00000061}.signalk-light .mat-progress-bar-background{fill:#a8badd}.signalk-light .mat-progress-bar-buffer{background-color:#a8badd}.signalk-light .mat-progress-bar-fill:after{background-color:#039}.signalk-light .mat-progress-bar.mat-accent .mat-progress-bar-background{fill:#e8e0b6}.signalk-light .mat-progress-bar.mat-accent .mat-progress-bar-buffer{background-color:#e8e0b6}.signalk-light .mat-progress-bar.mat-accent .mat-progress-bar-fill:after{background-color:#fc0}.signalk-light .mat-progress-bar.mat-warn .mat-progress-bar-background{fill:#e5bec4}.signalk-light .mat-progress-bar.mat-warn .mat-progress-bar-buffer{background-color:#e5bec4}.signalk-light .mat-progress-bar.mat-warn .mat-progress-bar-fill:after{background-color:#f44336}.signalk-light .mat-progress-spinner circle,.signalk-light .mat-spinner circle{stroke:#039}.signalk-light .mat-progress-spinner.mat-accent circle,.signalk-light .mat-spinner.mat-accent circle{stroke:#fc0}.signalk-light .mat-progress-spinner.mat-warn circle,.signalk-light .mat-spinner.mat-warn circle{stroke:#f44336}.signalk-light .mat-radio-outer-circle{border-color:#0000008a}.signalk-light .mat-radio-button.mat-primary.mat-radio-checked .mat-radio-outer-circle{border-color:#039}.signalk-light .mat-radio-button.mat-primary .mat-radio-inner-circle,.signalk-light .mat-radio-button.mat-primary .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.signalk-light .mat-radio-button.mat-primary.mat-radio-checked .mat-radio-persistent-ripple,.signalk-light .mat-radio-button.mat-primary:active .mat-radio-persistent-ripple{background-color:#039}.signalk-light .mat-radio-button.mat-accent.mat-radio-checked .mat-radio-outer-circle{border-color:#fc0}.signalk-light .mat-radio-button.mat-accent .mat-radio-inner-circle,.signalk-light .mat-radio-button.mat-accent .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.signalk-light .mat-radio-button.mat-accent.mat-radio-checked .mat-radio-persistent-ripple,.signalk-light .mat-radio-button.mat-accent:active .mat-radio-persistent-ripple{background-color:#fc0}.signalk-light .mat-radio-button.mat-warn.mat-radio-checked .mat-radio-outer-circle{border-color:#f44336}.signalk-light .mat-radio-button.mat-warn .mat-radio-inner-circle,.signalk-light .mat-radio-button.mat-warn .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.signalk-light .mat-radio-button.mat-warn.mat-radio-checked .mat-radio-persistent-ripple,.signalk-light .mat-radio-button.mat-warn:active .mat-radio-persistent-ripple{background-color:#f44336}.signalk-light .mat-radio-button.mat-radio-disabled.mat-radio-checked .mat-radio-outer-circle,.signalk-light .mat-radio-button.mat-radio-disabled .mat-radio-outer-circle{border-color:#00000061}.signalk-light .mat-radio-button.mat-radio-disabled .mat-radio-ripple .mat-ripple-element,.signalk-light .mat-radio-button.mat-radio-disabled .mat-radio-inner-circle{background-color:#00000061}.signalk-light .mat-radio-button.mat-radio-disabled .mat-radio-label-content{color:#00000061}.signalk-light .mat-radio-button .mat-ripple-element{background-color:#000}.signalk-light .mat-select-value{color:#000000de}.signalk-light .mat-select-placeholder{color:#0000006b}.signalk-light .mat-select-disabled .mat-select-value{color:#00000061}.signalk-light .mat-select-arrow{color:#0000008a}.signalk-light .mat-select-panel{background:white}.signalk-light .mat-select-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.signalk-light .mat-select-panel .mat-option.mat-selected:not(.mat-option-multiple){background:rgba(0,0,0,.12)}.signalk-light .mat-form-field.mat-focused.mat-primary .mat-select-arrow{color:#039}.signalk-light .mat-form-field.mat-focused.mat-accent .mat-select-arrow{color:#fc0}.signalk-light .mat-form-field.mat-focused.mat-warn .mat-select-arrow,.signalk-light .mat-form-field .mat-select.mat-select-invalid .mat-select-arrow{color:#f44336}.signalk-light .mat-form-field .mat-select.mat-select-disabled .mat-select-arrow{color:#00000061}.signalk-light .mat-drawer-container{background-color:#e0e7f3;color:#000000de}.signalk-light .mat-drawer{background-color:#fff;color:#000000de}.signalk-light .mat-drawer.mat-drawer-push{background-color:#fff}.signalk-light .mat-drawer:not(.mat-drawer-side){box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f}.signalk-light .mat-drawer-side{border-right:solid 1px rgba(0,0,0,.12)}.signalk-light .mat-drawer-side.mat-drawer-end,.signalk-light [dir=rtl] .mat-drawer-side{border-left:solid 1px rgba(0,0,0,.12);border-right:none}.signalk-light [dir=rtl] .mat-drawer-side.mat-drawer-end{border-left:none;border-right:solid 1px rgba(0,0,0,.12)}.signalk-light .mat-drawer-backdrop.mat-drawer-shown{background-color:#0009}.signalk-light .mat-slide-toggle.mat-checked .mat-slide-toggle-thumb{background-color:#fc0}.signalk-light .mat-slide-toggle.mat-checked .mat-slide-toggle-bar{background-color:#ffcc008a}.signalk-light .mat-slide-toggle.mat-checked .mat-ripple-element{background-color:#fc0}.signalk-light .mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-thumb{background-color:#039}.signalk-light .mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-bar{background-color:#0033998a}.signalk-light .mat-slide-toggle.mat-primary.mat-checked .mat-ripple-element{background-color:#039}.signalk-light .mat-slide-toggle.mat-warn.mat-checked .mat-slide-toggle-thumb{background-color:#f44336}.signalk-light .mat-slide-toggle.mat-warn.mat-checked .mat-slide-toggle-bar{background-color:#f443368a}.signalk-light .mat-slide-toggle.mat-warn.mat-checked .mat-ripple-element{background-color:#f44336}.signalk-light .mat-slide-toggle:not(.mat-checked) .mat-ripple-element{background-color:#000}.signalk-light .mat-slide-toggle-thumb{box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f;background-color:#fafafa}.signalk-light .mat-slide-toggle-bar{background-color:#00000061}.signalk-light .mat-slider-track-background{background-color:#00000042}.signalk-light .mat-slider.mat-primary .mat-slider-track-fill,.signalk-light .mat-slider.mat-primary .mat-slider-thumb,.signalk-light .mat-slider.mat-primary .mat-slider-thumb-label{background-color:#039}.signalk-light .mat-slider.mat-primary .mat-slider-thumb-label-text{color:#fff}.signalk-light .mat-slider.mat-primary .mat-slider-focus-ring{background-color:#0393}.signalk-light .mat-slider.mat-accent .mat-slider-track-fill,.signalk-light .mat-slider.mat-accent .mat-slider-thumb,.signalk-light .mat-slider.mat-accent .mat-slider-thumb-label{background-color:#fc0}.signalk-light .mat-slider.mat-accent .mat-slider-thumb-label-text{color:#000}.signalk-light .mat-slider.mat-accent .mat-slider-focus-ring{background-color:#fc03}.signalk-light .mat-slider.mat-warn .mat-slider-track-fill,.signalk-light .mat-slider.mat-warn .mat-slider-thumb,.signalk-light .mat-slider.mat-warn .mat-slider-thumb-label{background-color:#f44336}.signalk-light .mat-slider.mat-warn .mat-slider-thumb-label-text{color:#fff}.signalk-light .mat-slider.mat-warn .mat-slider-focus-ring{background-color:#f4433633}.signalk-light .mat-slider:hover .mat-slider-track-background,.signalk-light .mat-slider.cdk-focused .mat-slider-track-background{background-color:#00000061}.signalk-light .mat-slider.mat-slider-disabled .mat-slider-track-background,.signalk-light .mat-slider.mat-slider-disabled .mat-slider-track-fill,.signalk-light .mat-slider.mat-slider-disabled .mat-slider-thumb,.signalk-light .mat-slider.mat-slider-disabled:hover .mat-slider-track-background{background-color:#00000042}.signalk-light .mat-slider.mat-slider-min-value .mat-slider-focus-ring{background-color:#0000001f}.signalk-light .mat-slider.mat-slider-min-value.mat-slider-thumb-label-showing .mat-slider-thumb,.signalk-light .mat-slider.mat-slider-min-value.mat-slider-thumb-label-showing .mat-slider-thumb-label{background-color:#000000de}.signalk-light .mat-slider.mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb,.signalk-light .mat-slider.mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb-label{background-color:#00000042}.signalk-light .mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing) .mat-slider-thumb{border-color:#00000042;background-color:transparent}.signalk-light .mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover .mat-slider-thumb,.signalk-light .mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused .mat-slider-thumb{border-color:#00000061}.signalk-light .mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover.mat-slider-disabled .mat-slider-thumb,.signalk-light .mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused.mat-slider-disabled .mat-slider-thumb{border-color:#00000042}.signalk-light .mat-slider-has-ticks .mat-slider-wrapper:after{border-color:#000000b3}.signalk-light .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)}.signalk-light .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)}.signalk-light .mat-step-header.cdk-keyboard-focused,.signalk-light .mat-step-header.cdk-program-focused,.signalk-light .mat-step-header:hover:not([aria-disabled]),.signalk-light .mat-step-header:hover[aria-disabled=false]{background-color:#0000000a}.signalk-light .mat-step-header:hover[aria-disabled=true]{cursor:default}@media (hover: none){.signalk-light .mat-step-header:hover{background:none}}.signalk-light .mat-step-header .mat-step-label,.signalk-light .mat-step-header .mat-step-optional{color:#0000008a}.signalk-light .mat-step-header .mat-step-icon{background-color:#0000008a;color:#fff}.signalk-light .mat-step-header .mat-step-icon-selected,.signalk-light .mat-step-header .mat-step-icon-state-done,.signalk-light .mat-step-header .mat-step-icon-state-edit{background-color:#039;color:#fff}.signalk-light .mat-step-header.mat-accent .mat-step-icon{color:#000}.signalk-light .mat-step-header.mat-accent .mat-step-icon-selected,.signalk-light .mat-step-header.mat-accent .mat-step-icon-state-done,.signalk-light .mat-step-header.mat-accent .mat-step-icon-state-edit{background-color:#fc0;color:#000}.signalk-light .mat-step-header.mat-warn .mat-step-icon{color:#fff}.signalk-light .mat-step-header.mat-warn .mat-step-icon-selected,.signalk-light .mat-step-header.mat-warn .mat-step-icon-state-done,.signalk-light .mat-step-header.mat-warn .mat-step-icon-state-edit{background-color:#f44336;color:#fff}.signalk-light .mat-step-header .mat-step-icon-state-error{background-color:transparent;color:#f44336}.signalk-light .mat-step-header .mat-step-label.mat-step-label-active{color:#000000de}.signalk-light .mat-step-header .mat-step-label.mat-step-label-error{color:#f44336}.signalk-light .mat-stepper-horizontal,.signalk-light .mat-stepper-vertical{background-color:#fff}.signalk-light .mat-stepper-vertical-line:before{border-left-color:#0000001f}.signalk-light .mat-horizontal-stepper-header:before,.signalk-light .mat-horizontal-stepper-header:after,.signalk-light .mat-stepper-horizontal-line{border-top-color:#0000001f}.signalk-light .mat-sort-header-arrow{color:#757575}.signalk-light .mat-tab-nav-bar,.signalk-light .mat-tab-header{border-bottom:1px solid rgba(0,0,0,.12)}.signalk-light .mat-tab-group-inverted-header .mat-tab-nav-bar,.signalk-light .mat-tab-group-inverted-header .mat-tab-header{border-top:1px solid rgba(0,0,0,.12);border-bottom:none}.signalk-light .mat-tab-label,.signalk-light .mat-tab-link{color:#000000de}.signalk-light .mat-tab-label.mat-tab-disabled,.signalk-light .mat-tab-link.mat-tab-disabled{color:#00000061}.signalk-light .mat-tab-header-pagination-chevron{border-color:#000000de}.signalk-light .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:#00000061}.signalk-light .mat-tab-group[class*=mat-background-]>.mat-tab-header,.signalk-light .mat-tab-nav-bar[class*=mat-background-]{border-bottom:none;border-top:none}.signalk-light .mat-tab-group.mat-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.signalk-light .mat-tab-group.mat-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.signalk-light .mat-tab-group.mat-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.signalk-light .mat-tab-group.mat-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.signalk-light .mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.signalk-light .mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.signalk-light .mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.signalk-light .mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#b3c2e04d}.signalk-light .mat-tab-group.mat-primary .mat-ink-bar,.signalk-light .mat-tab-nav-bar.mat-primary .mat-ink-bar{background-color:#039}.signalk-light .mat-tab-group.mat-primary.mat-background-primary>.mat-tab-header .mat-ink-bar,.signalk-light .mat-tab-group.mat-primary.mat-background-primary>.mat-tab-link-container .mat-ink-bar,.signalk-light .mat-tab-nav-bar.mat-primary.mat-background-primary>.mat-tab-header .mat-ink-bar,.signalk-light .mat-tab-nav-bar.mat-primary.mat-background-primary>.mat-tab-link-container .mat-ink-bar{background-color:#fff}.signalk-light .mat-tab-group.mat-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.signalk-light .mat-tab-group.mat-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.signalk-light .mat-tab-group.mat-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.signalk-light .mat-tab-group.mat-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.signalk-light .mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.signalk-light .mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.signalk-light .mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.signalk-light .mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#fff0b34d}.signalk-light .mat-tab-group.mat-accent .mat-ink-bar,.signalk-light .mat-tab-nav-bar.mat-accent .mat-ink-bar{background-color:#fc0}.signalk-light .mat-tab-group.mat-accent.mat-background-accent>.mat-tab-header .mat-ink-bar,.signalk-light .mat-tab-group.mat-accent.mat-background-accent>.mat-tab-link-container .mat-ink-bar,.signalk-light .mat-tab-nav-bar.mat-accent.mat-background-accent>.mat-tab-header .mat-ink-bar,.signalk-light .mat-tab-nav-bar.mat-accent.mat-background-accent>.mat-tab-link-container .mat-ink-bar{background-color:#000}.signalk-light .mat-tab-group.mat-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.signalk-light .mat-tab-group.mat-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.signalk-light .mat-tab-group.mat-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.signalk-light .mat-tab-group.mat-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.signalk-light .mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.signalk-light .mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.signalk-light .mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.signalk-light .mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#ffcdd24d}.signalk-light .mat-tab-group.mat-warn .mat-ink-bar,.signalk-light .mat-tab-nav-bar.mat-warn .mat-ink-bar{background-color:#f44336}.signalk-light .mat-tab-group.mat-warn.mat-background-warn>.mat-tab-header .mat-ink-bar,.signalk-light .mat-tab-group.mat-warn.mat-background-warn>.mat-tab-link-container .mat-ink-bar,.signalk-light .mat-tab-nav-bar.mat-warn.mat-background-warn>.mat-tab-header .mat-ink-bar,.signalk-light .mat-tab-nav-bar.mat-warn.mat-background-warn>.mat-tab-link-container .mat-ink-bar{background-color:#fff}.signalk-light .mat-tab-group.mat-background-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.signalk-light .mat-tab-group.mat-background-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.signalk-light .mat-tab-group.mat-background-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.signalk-light .mat-tab-group.mat-background-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.signalk-light .mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.signalk-light .mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.signalk-light .mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.signalk-light .mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#b3c2e04d}.signalk-light .mat-tab-group.mat-background-primary>.mat-tab-header,.signalk-light .mat-tab-group.mat-background-primary>.mat-tab-link-container,.signalk-light .mat-tab-group.mat-background-primary>.mat-tab-header-pagination,.signalk-light .mat-tab-nav-bar.mat-background-primary>.mat-tab-header,.signalk-light .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container,.signalk-light .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination{background-color:#039}.signalk-light .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-label,.signalk-light .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-tab-link,.signalk-light .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-label,.signalk-light .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-tab-link{color:#fff}.signalk-light .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-label.mat-tab-disabled,.signalk-light .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.signalk-light .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-label.mat-tab-disabled,.signalk-light .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:#fff6}.signalk-light .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-chevron,.signalk-light .mat-tab-group.mat-background-primary>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.signalk-light .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-focus-indicator:before,.signalk-light .mat-tab-group.mat-background-primary>.mat-tab-header .mat-focus-indicator:before,.signalk-light .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-chevron,.signalk-light .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.signalk-light .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-focus-indicator:before,.signalk-light .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-focus-indicator:before{border-color:#fff}.signalk-light .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.signalk-light .mat-tab-group.mat-background-primary>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.signalk-light .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.signalk-light .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:#fff;opacity:.4}.signalk-light .mat-tab-group.mat-background-primary>.mat-tab-header .mat-ripple-element,.signalk-light .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-ripple-element,.signalk-light .mat-tab-group.mat-background-primary>.mat-tab-header-pagination .mat-ripple-element,.signalk-light .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-ripple-element,.signalk-light .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-ripple-element,.signalk-light .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination .mat-ripple-element{background-color:#fff;opacity:.12}.signalk-light .mat-tab-group.mat-background-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.signalk-light .mat-tab-group.mat-background-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.signalk-light .mat-tab-group.mat-background-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.signalk-light .mat-tab-group.mat-background-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.signalk-light .mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.signalk-light .mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.signalk-light .mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.signalk-light .mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#fff0b34d}.signalk-light .mat-tab-group.mat-background-accent>.mat-tab-header,.signalk-light .mat-tab-group.mat-background-accent>.mat-tab-link-container,.signalk-light .mat-tab-group.mat-background-accent>.mat-tab-header-pagination,.signalk-light .mat-tab-nav-bar.mat-background-accent>.mat-tab-header,.signalk-light .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container,.signalk-light .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination{background-color:#fc0}.signalk-light .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-label,.signalk-light .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-tab-link,.signalk-light .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-label,.signalk-light .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-tab-link{color:#000}.signalk-light .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-label.mat-tab-disabled,.signalk-light .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.signalk-light .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-label.mat-tab-disabled,.signalk-light .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:#0006}.signalk-light .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-chevron,.signalk-light .mat-tab-group.mat-background-accent>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.signalk-light .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-focus-indicator:before,.signalk-light .mat-tab-group.mat-background-accent>.mat-tab-header .mat-focus-indicator:before,.signalk-light .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-chevron,.signalk-light .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.signalk-light .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-focus-indicator:before,.signalk-light .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-focus-indicator:before{border-color:#000}.signalk-light .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.signalk-light .mat-tab-group.mat-background-accent>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.signalk-light .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.signalk-light .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:#000;opacity:.4}.signalk-light .mat-tab-group.mat-background-accent>.mat-tab-header .mat-ripple-element,.signalk-light .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-ripple-element,.signalk-light .mat-tab-group.mat-background-accent>.mat-tab-header-pagination .mat-ripple-element,.signalk-light .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-ripple-element,.signalk-light .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-ripple-element,.signalk-light .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination .mat-ripple-element{background-color:#000;opacity:.12}.signalk-light .mat-tab-group.mat-background-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.signalk-light .mat-tab-group.mat-background-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.signalk-light .mat-tab-group.mat-background-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.signalk-light .mat-tab-group.mat-background-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.signalk-light .mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.signalk-light .mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.signalk-light .mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.signalk-light .mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#ffcdd24d}.signalk-light .mat-tab-group.mat-background-warn>.mat-tab-header,.signalk-light .mat-tab-group.mat-background-warn>.mat-tab-link-container,.signalk-light .mat-tab-group.mat-background-warn>.mat-tab-header-pagination,.signalk-light .mat-tab-nav-bar.mat-background-warn>.mat-tab-header,.signalk-light .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container,.signalk-light .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination{background-color:#f44336}.signalk-light .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-label,.signalk-light .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-tab-link,.signalk-light .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-label,.signalk-light .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-tab-link{color:#fff}.signalk-light .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-label.mat-tab-disabled,.signalk-light .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.signalk-light .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-label.mat-tab-disabled,.signalk-light .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:#fff6}.signalk-light .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-chevron,.signalk-light .mat-tab-group.mat-background-warn>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.signalk-light .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-focus-indicator:before,.signalk-light .mat-tab-group.mat-background-warn>.mat-tab-header .mat-focus-indicator:before,.signalk-light .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-chevron,.signalk-light .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.signalk-light .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-focus-indicator:before,.signalk-light .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-focus-indicator:before{border-color:#fff}.signalk-light .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.signalk-light .mat-tab-group.mat-background-warn>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.signalk-light .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.signalk-light .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:#fff;opacity:.4}.signalk-light .mat-tab-group.mat-background-warn>.mat-tab-header .mat-ripple-element,.signalk-light .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-ripple-element,.signalk-light .mat-tab-group.mat-background-warn>.mat-tab-header-pagination .mat-ripple-element,.signalk-light .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-ripple-element,.signalk-light .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-ripple-element,.signalk-light .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination .mat-ripple-element{background-color:#fff;opacity:.12}.signalk-light .mat-toolbar{background:#b3c2e0;color:#000000de}.signalk-light .mat-toolbar.mat-primary{background:#003399;color:#fff}.signalk-light .mat-toolbar.mat-accent{background:#ffcc00;color:#000}.signalk-light .mat-toolbar.mat-warn{background:#f44336;color:#fff}.signalk-light .mat-toolbar .mat-form-field-underline,.signalk-light .mat-toolbar .mat-form-field-ripple,.signalk-light .mat-toolbar .mat-focused .mat-form-field-ripple{background-color:currentColor}.signalk-light .mat-toolbar .mat-form-field-label,.signalk-light .mat-toolbar .mat-focused .mat-form-field-label,.signalk-light .mat-toolbar .mat-select-value,.signalk-light .mat-toolbar .mat-select-arrow,.signalk-light .mat-toolbar .mat-form-field.mat-focused .mat-select-arrow{color:inherit}.signalk-light .mat-toolbar .mat-input-element{caret-color:currentColor}.signalk-light .mat-tree{background:white}.signalk-light .mat-tree-node,.signalk-light .mat-nested-tree-node{color:#000000de}.signalk-light .mat-snack-bar-container{color:#ffffffb3;background:#323232;box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.signalk-light .mat-simple-snackbar-action{color:#fc0}.signalk-light .app-defaults{background-color:#e0e7f3;color:#000000de}.signalk-light .theme-menu{background-color:#fc0}.signalk-light .menuBarButtonGroup{background-color:#0000001f}.signalk-light .tabGroups{padding-left:0;min-height:100%;height:100%}.signalk-light .tabGroupPanel{display:block;margin:10px 20px 20px}.signalk-light .formActionFooter{width:100%;text-align:end}.signalk-light .formActionButton{margin-left:10px}.signalk-light .formActionDivider{margin-top:10px;margin-bottom:10px}.signalk-light .as-split-gutter{background-color:transparent!important}.signalk-light .primary{color:#4d70b8}.signalk-light .accent{color:#ffdb4d}.signalk-light .warn{color:#e57373}.signalk-light .primaryDark{color:#00146b}.signalk-light .accentDark{color:#ffad00}.signalk-light .warnDark{color:#b71c1c}.signalk-light .background{color:#0000001f}.signalk-light .text{color:#000000de}.signalk-light .pathMetaDescription{font:small-caption;color:#00000061}.signalk-light .textGenericWrapper{position:relative;width:100%;height:100%}.signalk-light .canvas-size{position:absolute;top:0;left:0}.signalk-light .warn{color:#f44336}.signalk-light .warn-contrast{color:#fff}.signalk-light DIV.apScreen{display:block;position:relative;width:360px;height:220.5px;margin:auto;text-align:center;border-radius:5px;border:1px solid rgba(0,0,0,.12);background-color:#0000001f}.signalk-light .apScreen .apCompass{position:relative;width:360px;height:202px;margin:auto;border-radius:5px}.signalk-light .apStatusBar{width:360px;height:18.5px;border-bottom-left-radius:5px;border-bottom-right-radius:5px;background-color:#000}.signalk-light .apStatusBar,.signalk-light .apStatusBar DIV{display:inline-block;position:relative}.signalk-light .apScreen .apStencil{position:absolute;top:0;left:0;width:100%;height:100%;margin:auto;border-radius:5px;z-index:10;vertical-align:middle;background-color:#e0e7f3}.signalk-light .apStencil.confirmCommand{z-index:5;visibility:hidden}.signalk-light .apStencil.error{z-index:6;visibility:hidden}.signalk-light .apText{fill:#000000de}.signalk-light .boatBackground{stop-color:#c7c7c7!important}.signalk-light .heading-background{stroke:#000;fill:#afafaf}.signalk-light .wind-text{fill:#000;stroke:#000}.signalk-light .laylines{stroke:#000000de}.signalk-light .wind-sector-port{fill:red}.signalk-light .wind-sector-stbd{fill:#1fce04}.signalk-light .compass-outer-ring{stroke:#757575}.signalk-light .compass-inner-ring{stroke:#afafaf;fill:#afafaf}.signalk-light .wind-rose-background{stroke:#8a8a8a}.signalk-light .sailSetupBoat{stroke:#afafaf}.signalk-light .sailSetupFull{fill:#4d70b8}.signalk-light .sailSetupReef1{fill:#ffdb4d}.signalk-light .sailSetupReef2{fill:#e57373}.signalk-light .sailSetupReef3{fill:#f44336}.signalk-light .port{stroke:red}.signalk-light .starboard{stroke:#1fce04}.signalk-light .rudderPort{fill:#d52626}.signalk-light .rudderStarboard{fill:#389c19}.signalk-light .true-wind{fill:#068dfb}.signalk-light .app-wind{fill:#06fb06}.signalk-light .simpleLinear-text{fill:#000000de}.signalk-light .windWrapper{position:relative;width:100%;height:100%}.signalk-light .matBadge{z-index:1000}.signalk-light .mute-unmte-alarm{width:max-content}.signalk-light .alarmWarning{animation:blinkingAlarmWarning 1.5s infinite;background-color:orange!important}.signalk-light .alarmCrit{animation:blinkingAlarmCrit .25s infinite}.signalk-light .muteSoundButton:hover{background:rgba(255,255,255,.04)}.signalk-light .serverStatus{background-color:#0000001f;margin:7% 5% 0%;padding:10px 20px 20px}.signalk-light .descriptiveTexts{color:#000000de;font-size:14px}.signalk-light .flex-item{flex:1 1 29%;background-color:#0000001f;padding:20px;border-radius:4px}.signalk-light .flex-item-copy{flex:2 1 40%;background-color:#0000001f;padding:10px 20px;border-radius:4px}.high-contrast-light .mat-ripple-element{background-color:#0000001a}.high-contrast-light .mat-option{color:#000000de}.high-contrast-light .mat-option:hover:not(.mat-option-disabled),.high-contrast-light .mat-option:focus:not(.mat-option-disabled){background:rgba(0,0,0,.04)}.high-contrast-light .mat-option.mat-selected:not(.mat-option-multiple):not(.mat-option-disabled){background:rgba(0,0,0,.04)}.high-contrast-light .mat-option.mat-active{background:rgba(0,0,0,.04);color:#000000de}.high-contrast-light .mat-option.mat-option-disabled{color:#00000061}.high-contrast-light .mat-primary .mat-option.mat-selected:not(.mat-option-disabled){color:#9e9e9e}.high-contrast-light .mat-accent .mat-option.mat-selected:not(.mat-option-disabled){color:#eee}.high-contrast-light .mat-warn .mat-option.mat-selected:not(.mat-option-disabled){color:#f44336}.high-contrast-light .mat-optgroup-label{color:#0000008a}.high-contrast-light .mat-optgroup-disabled .mat-optgroup-label{color:#00000061}.high-contrast-light .mat-pseudo-checkbox{color:#0000008a}.high-contrast-light .mat-pseudo-checkbox:after{color:#fafafa}.high-contrast-light .mat-pseudo-checkbox-disabled{color:#b0b0b0}.high-contrast-light .mat-primary .mat-pseudo-checkbox-checked,.high-contrast-light .mat-primary .mat-pseudo-checkbox-indeterminate{background:#9e9e9e}.high-contrast-light .mat-pseudo-checkbox-checked,.high-contrast-light .mat-pseudo-checkbox-indeterminate,.high-contrast-light .mat-accent .mat-pseudo-checkbox-checked,.high-contrast-light .mat-accent .mat-pseudo-checkbox-indeterminate{background:#eeeeee}.high-contrast-light .mat-warn .mat-pseudo-checkbox-checked,.high-contrast-light .mat-warn .mat-pseudo-checkbox-indeterminate{background:#f44336}.high-contrast-light .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.high-contrast-light .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background:#b0b0b0}.high-contrast-light .mat-app-background,.high-contrast-light.mat-app-background{background-color:#fafafa;color:#000000de}.high-contrast-light .mat-elevation-z0{box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.high-contrast-light .mat-elevation-z1{box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f}.high-contrast-light .mat-elevation-z2{box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.high-contrast-light .mat-elevation-z3{box-shadow:0 3px 3px -2px #0003,0 3px 4px #00000024,0 1px 8px #0000001f}.high-contrast-light .mat-elevation-z4{box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.high-contrast-light .mat-elevation-z5{box-shadow:0 3px 5px -1px #0003,0 5px 8px #00000024,0 1px 14px #0000001f}.high-contrast-light .mat-elevation-z6{box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.high-contrast-light .mat-elevation-z7{box-shadow:0 4px 5px -2px #0003,0 7px 10px 1px #00000024,0 2px 16px 1px #0000001f}.high-contrast-light .mat-elevation-z8{box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.high-contrast-light .mat-elevation-z9{box-shadow:0 5px 6px -3px #0003,0 9px 12px 1px #00000024,0 3px 16px 2px #0000001f}.high-contrast-light .mat-elevation-z10{box-shadow:0 6px 6px -3px #0003,0 10px 14px 1px #00000024,0 4px 18px 3px #0000001f}.high-contrast-light .mat-elevation-z11{box-shadow:0 6px 7px -4px #0003,0 11px 15px 1px #00000024,0 4px 20px 3px #0000001f}.high-contrast-light .mat-elevation-z12{box-shadow:0 7px 8px -4px #0003,0 12px 17px 2px #00000024,0 5px 22px 4px #0000001f}.high-contrast-light .mat-elevation-z13{box-shadow:0 7px 8px -4px #0003,0 13px 19px 2px #00000024,0 5px 24px 4px #0000001f}.high-contrast-light .mat-elevation-z14{box-shadow:0 7px 9px -4px #0003,0 14px 21px 2px #00000024,0 5px 26px 4px #0000001f}.high-contrast-light .mat-elevation-z15{box-shadow:0 8px 9px -5px #0003,0 15px 22px 2px #00000024,0 6px 28px 5px #0000001f}.high-contrast-light .mat-elevation-z16{box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f}.high-contrast-light .mat-elevation-z17{box-shadow:0 8px 11px -5px #0003,0 17px 26px 2px #00000024,0 6px 32px 5px #0000001f}.high-contrast-light .mat-elevation-z18{box-shadow:0 9px 11px -5px #0003,0 18px 28px 2px #00000024,0 7px 34px 6px #0000001f}.high-contrast-light .mat-elevation-z19{box-shadow:0 9px 12px -6px #0003,0 19px 29px 2px #00000024,0 7px 36px 6px #0000001f}.high-contrast-light .mat-elevation-z20{box-shadow:0 10px 13px -6px #0003,0 20px 31px 3px #00000024,0 8px 38px 7px #0000001f}.high-contrast-light .mat-elevation-z21{box-shadow:0 10px 13px -6px #0003,0 21px 33px 3px #00000024,0 8px 40px 7px #0000001f}.high-contrast-light .mat-elevation-z22{box-shadow:0 10px 14px -6px #0003,0 22px 35px 3px #00000024,0 8px 42px 7px #0000001f}.high-contrast-light .mat-elevation-z23{box-shadow:0 11px 14px -7px #0003,0 23px 36px 3px #00000024,0 9px 44px 8px #0000001f}.high-contrast-light .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}.high-contrast-light .mat-autocomplete-panel{background:white;color:#000000de}.high-contrast-light .mat-autocomplete-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.high-contrast-light .mat-autocomplete-panel .mat-option.mat-selected:not(.mat-active):not(:hover){background:white}.high-contrast-light .mat-autocomplete-panel .mat-option.mat-selected:not(.mat-active):not(:hover):not(.mat-option-disabled){color:#000000de}.high-contrast-light .mat-badge-content{color:#000000de;background:#9e9e9e}.cdk-high-contrast-active .high-contrast-light .mat-badge-content{outline:solid 1px;border-radius:0}.high-contrast-light .mat-badge-accent .mat-badge-content{background:#eeeeee;color:#000000de}.high-contrast-light .mat-badge-warn .mat-badge-content{color:#fff;background:#f44336}.high-contrast-light .mat-badge-disabled .mat-badge-content{background:#b9b9b9;color:#00000061}.high-contrast-light .mat-bottom-sheet-container{box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f;background:white;color:#000000de}.high-contrast-light .mat-button,.high-contrast-light .mat-icon-button,.high-contrast-light .mat-stroked-button{color:inherit;background:transparent}.high-contrast-light .mat-button.mat-primary,.high-contrast-light .mat-icon-button.mat-primary,.high-contrast-light .mat-stroked-button.mat-primary{color:#9e9e9e}.high-contrast-light .mat-button.mat-accent,.high-contrast-light .mat-icon-button.mat-accent,.high-contrast-light .mat-stroked-button.mat-accent{color:#eee}.high-contrast-light .mat-button.mat-warn,.high-contrast-light .mat-icon-button.mat-warn,.high-contrast-light .mat-stroked-button.mat-warn{color:#f44336}.high-contrast-light .mat-button.mat-primary.mat-button-disabled,.high-contrast-light .mat-button.mat-accent.mat-button-disabled,.high-contrast-light .mat-button.mat-warn.mat-button-disabled,.high-contrast-light .mat-button.mat-button-disabled.mat-button-disabled,.high-contrast-light .mat-icon-button.mat-primary.mat-button-disabled,.high-contrast-light .mat-icon-button.mat-accent.mat-button-disabled,.high-contrast-light .mat-icon-button.mat-warn.mat-button-disabled,.high-contrast-light .mat-icon-button.mat-button-disabled.mat-button-disabled,.high-contrast-light .mat-stroked-button.mat-primary.mat-button-disabled,.high-contrast-light .mat-stroked-button.mat-accent.mat-button-disabled,.high-contrast-light .mat-stroked-button.mat-warn.mat-button-disabled,.high-contrast-light .mat-stroked-button.mat-button-disabled.mat-button-disabled{color:#00000042}.high-contrast-light .mat-button.mat-primary .mat-button-focus-overlay,.high-contrast-light .mat-icon-button.mat-primary .mat-button-focus-overlay,.high-contrast-light .mat-stroked-button.mat-primary .mat-button-focus-overlay{background-color:#9e9e9e}.high-contrast-light .mat-button.mat-accent .mat-button-focus-overlay,.high-contrast-light .mat-icon-button.mat-accent .mat-button-focus-overlay,.high-contrast-light .mat-stroked-button.mat-accent .mat-button-focus-overlay{background-color:#eee}.high-contrast-light .mat-button.mat-warn .mat-button-focus-overlay,.high-contrast-light .mat-icon-button.mat-warn .mat-button-focus-overlay,.high-contrast-light .mat-stroked-button.mat-warn .mat-button-focus-overlay{background-color:#f44336}.high-contrast-light .mat-button.mat-button-disabled .mat-button-focus-overlay,.high-contrast-light .mat-icon-button.mat-button-disabled .mat-button-focus-overlay,.high-contrast-light .mat-stroked-button.mat-button-disabled .mat-button-focus-overlay{background-color:transparent}.high-contrast-light .mat-button .mat-ripple-element,.high-contrast-light .mat-icon-button .mat-ripple-element,.high-contrast-light .mat-stroked-button .mat-ripple-element{opacity:.1;background-color:currentColor}.high-contrast-light .mat-button-focus-overlay{background:black}.high-contrast-light .mat-stroked-button:not(.mat-button-disabled){border-color:#0000001f}.high-contrast-light .mat-flat-button,.high-contrast-light .mat-raised-button,.high-contrast-light .mat-fab,.high-contrast-light .mat-mini-fab{color:#000000de;background-color:#fff}.high-contrast-light .mat-flat-button.mat-primary,.high-contrast-light .mat-raised-button.mat-primary,.high-contrast-light .mat-fab.mat-primary,.high-contrast-light .mat-mini-fab.mat-primary,.high-contrast-light .mat-flat-button.mat-accent,.high-contrast-light .mat-raised-button.mat-accent,.high-contrast-light .mat-fab.mat-accent,.high-contrast-light .mat-mini-fab.mat-accent{color:#000000de}.high-contrast-light .mat-flat-button.mat-warn,.high-contrast-light .mat-raised-button.mat-warn,.high-contrast-light .mat-fab.mat-warn,.high-contrast-light .mat-mini-fab.mat-warn{color:#fff}.high-contrast-light .mat-flat-button.mat-primary.mat-button-disabled,.high-contrast-light .mat-flat-button.mat-accent.mat-button-disabled,.high-contrast-light .mat-flat-button.mat-warn.mat-button-disabled,.high-contrast-light .mat-flat-button.mat-button-disabled.mat-button-disabled,.high-contrast-light .mat-raised-button.mat-primary.mat-button-disabled,.high-contrast-light .mat-raised-button.mat-accent.mat-button-disabled,.high-contrast-light .mat-raised-button.mat-warn.mat-button-disabled,.high-contrast-light .mat-raised-button.mat-button-disabled.mat-button-disabled,.high-contrast-light .mat-fab.mat-primary.mat-button-disabled,.high-contrast-light .mat-fab.mat-accent.mat-button-disabled,.high-contrast-light .mat-fab.mat-warn.mat-button-disabled,.high-contrast-light .mat-fab.mat-button-disabled.mat-button-disabled,.high-contrast-light .mat-mini-fab.mat-primary.mat-button-disabled,.high-contrast-light .mat-mini-fab.mat-accent.mat-button-disabled,.high-contrast-light .mat-mini-fab.mat-warn.mat-button-disabled,.high-contrast-light .mat-mini-fab.mat-button-disabled.mat-button-disabled{color:#00000042}.high-contrast-light .mat-flat-button.mat-primary,.high-contrast-light .mat-raised-button.mat-primary,.high-contrast-light .mat-fab.mat-primary,.high-contrast-light .mat-mini-fab.mat-primary{background-color:#9e9e9e}.high-contrast-light .mat-flat-button.mat-accent,.high-contrast-light .mat-raised-button.mat-accent,.high-contrast-light .mat-fab.mat-accent,.high-contrast-light .mat-mini-fab.mat-accent{background-color:#eee}.high-contrast-light .mat-flat-button.mat-warn,.high-contrast-light .mat-raised-button.mat-warn,.high-contrast-light .mat-fab.mat-warn,.high-contrast-light .mat-mini-fab.mat-warn{background-color:#f44336}.high-contrast-light .mat-flat-button.mat-primary.mat-button-disabled,.high-contrast-light .mat-flat-button.mat-accent.mat-button-disabled,.high-contrast-light .mat-flat-button.mat-warn.mat-button-disabled,.high-contrast-light .mat-flat-button.mat-button-disabled.mat-button-disabled,.high-contrast-light .mat-raised-button.mat-primary.mat-button-disabled,.high-contrast-light .mat-raised-button.mat-accent.mat-button-disabled,.high-contrast-light .mat-raised-button.mat-warn.mat-button-disabled,.high-contrast-light .mat-raised-button.mat-button-disabled.mat-button-disabled,.high-contrast-light .mat-fab.mat-primary.mat-button-disabled,.high-contrast-light .mat-fab.mat-accent.mat-button-disabled,.high-contrast-light .mat-fab.mat-warn.mat-button-disabled,.high-contrast-light .mat-fab.mat-button-disabled.mat-button-disabled,.high-contrast-light .mat-mini-fab.mat-primary.mat-button-disabled,.high-contrast-light .mat-mini-fab.mat-accent.mat-button-disabled,.high-contrast-light .mat-mini-fab.mat-warn.mat-button-disabled,.high-contrast-light .mat-mini-fab.mat-button-disabled.mat-button-disabled{background-color:#0000001f}.high-contrast-light .mat-flat-button.mat-primary .mat-ripple-element,.high-contrast-light .mat-raised-button.mat-primary .mat-ripple-element,.high-contrast-light .mat-fab.mat-primary .mat-ripple-element,.high-contrast-light .mat-mini-fab.mat-primary .mat-ripple-element,.high-contrast-light .mat-flat-button.mat-accent .mat-ripple-element,.high-contrast-light .mat-raised-button.mat-accent .mat-ripple-element,.high-contrast-light .mat-fab.mat-accent .mat-ripple-element,.high-contrast-light .mat-mini-fab.mat-accent .mat-ripple-element{background-color:#0000001a}.high-contrast-light .mat-flat-button.mat-warn .mat-ripple-element,.high-contrast-light .mat-raised-button.mat-warn .mat-ripple-element,.high-contrast-light .mat-fab.mat-warn .mat-ripple-element,.high-contrast-light .mat-mini-fab.mat-warn .mat-ripple-element{background-color:#ffffff1a}.high-contrast-light .mat-stroked-button:not([class*=mat-elevation-z]),.high-contrast-light .mat-flat-button:not([class*=mat-elevation-z]){box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.high-contrast-light .mat-raised-button:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.high-contrast-light .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}.high-contrast-light .mat-raised-button.mat-button-disabled:not([class*=mat-elevation-z]){box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.high-contrast-light .mat-fab:not([class*=mat-elevation-z]),.high-contrast-light .mat-mini-fab:not([class*=mat-elevation-z]){box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.high-contrast-light .mat-fab:not(.mat-button-disabled):active:not([class*=mat-elevation-z]),.high-contrast-light .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}.high-contrast-light .mat-fab.mat-button-disabled:not([class*=mat-elevation-z]),.high-contrast-light .mat-mini-fab.mat-button-disabled:not([class*=mat-elevation-z]){box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.high-contrast-light .mat-button-toggle-standalone:not([class*=mat-elevation-z]),.high-contrast-light .mat-button-toggle-group:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.high-contrast-light .mat-button-toggle-standalone.mat-button-toggle-appearance-standard:not([class*=mat-elevation-z]),.high-contrast-light .mat-button-toggle-group-appearance-standard:not([class*=mat-elevation-z]){box-shadow:none}.high-contrast-light .mat-button-toggle{color:#00000061}.high-contrast-light .mat-button-toggle .mat-button-toggle-focus-overlay{background-color:#0000001f}.high-contrast-light .mat-button-toggle-appearance-standard{color:#000000de;background:white}.high-contrast-light .mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{background-color:#000}.high-contrast-light .mat-button-toggle-group-appearance-standard .mat-button-toggle+.mat-button-toggle{border-left:solid 1px #e0e0e0}.high-contrast-light [dir=rtl] .mat-button-toggle-group-appearance-standard .mat-button-toggle+.mat-button-toggle{border-left:none;border-right:solid 1px #e0e0e0}.high-contrast-light .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}.high-contrast-light .mat-button-toggle-checked{background-color:#e0e0e0;color:#0000008a}.high-contrast-light .mat-button-toggle-checked.mat-button-toggle-appearance-standard{color:#000000de}.high-contrast-light .mat-button-toggle-disabled{color:#00000042;background-color:#eee}.high-contrast-light .mat-button-toggle-disabled.mat-button-toggle-appearance-standard{background:white}.high-contrast-light .mat-button-toggle-disabled.mat-button-toggle-checked{background-color:#bdbdbd}.high-contrast-light .mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.high-contrast-light .mat-button-toggle-group-appearance-standard{border:solid 1px #e0e0e0}.high-contrast-light .mat-card{background:white;color:#000000de}.high-contrast-light .mat-card:not([class*=mat-elevation-z]){box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f}.high-contrast-light .mat-card.mat-card-flat:not([class*=mat-elevation-z]){box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.high-contrast-light .mat-card-subtitle{color:#0000008a}.high-contrast-light .mat-checkbox-frame{border-color:#0000008a}.high-contrast-light .mat-checkbox-checkmark{fill:#fafafa}.high-contrast-light .mat-checkbox-checkmark-path{stroke:#fafafa!important}.high-contrast-light .mat-checkbox-mixedmark{background-color:#fafafa}.high-contrast-light .mat-checkbox-indeterminate.mat-primary .mat-checkbox-background,.high-contrast-light .mat-checkbox-checked.mat-primary .mat-checkbox-background{background-color:#9e9e9e}.high-contrast-light .mat-checkbox-indeterminate.mat-accent .mat-checkbox-background,.high-contrast-light .mat-checkbox-checked.mat-accent .mat-checkbox-background{background-color:#eee}.high-contrast-light .mat-checkbox-indeterminate.mat-warn .mat-checkbox-background,.high-contrast-light .mat-checkbox-checked.mat-warn .mat-checkbox-background{background-color:#f44336}.high-contrast-light .mat-checkbox-disabled.mat-checkbox-checked .mat-checkbox-background,.high-contrast-light .mat-checkbox-disabled.mat-checkbox-indeterminate .mat-checkbox-background{background-color:#b0b0b0}.high-contrast-light .mat-checkbox-disabled:not(.mat-checkbox-checked) .mat-checkbox-frame{border-color:#b0b0b0}.high-contrast-light .mat-checkbox-disabled .mat-checkbox-label{color:#00000061}.high-contrast-light .mat-checkbox .mat-ripple-element{background-color:#000}.high-contrast-light .mat-checkbox-checked:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element,.high-contrast-light .mat-checkbox:active:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element{background:#9e9e9e}.high-contrast-light .mat-checkbox-checked:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element,.high-contrast-light .mat-checkbox:active:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element{background:#eeeeee}.high-contrast-light .mat-checkbox-checked:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element,.high-contrast-light .mat-checkbox:active:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element{background:#f44336}.high-contrast-light .mat-chip.mat-standard-chip{background-color:#e0e0e0;color:#000000de}.high-contrast-light .mat-chip.mat-standard-chip .mat-chip-remove{color:#000000de;opacity:.4}.high-contrast-light .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}.high-contrast-light .mat-chip.mat-standard-chip:not(.mat-chip-disabled) .mat-chip-remove:hover{opacity:.54}.high-contrast-light .mat-chip.mat-standard-chip.mat-chip-disabled{opacity:.4}.high-contrast-light .mat-chip.mat-standard-chip:after{background:black}.high-contrast-light .mat-chip.mat-standard-chip.mat-chip-selected.mat-primary{background-color:#9e9e9e;color:#000000de}.high-contrast-light .mat-chip.mat-standard-chip.mat-chip-selected.mat-primary .mat-chip-remove{color:#000000de;opacity:.4}.high-contrast-light .mat-chip.mat-standard-chip.mat-chip-selected.mat-primary .mat-ripple-element{background-color:#0000001a}.high-contrast-light .mat-chip.mat-standard-chip.mat-chip-selected.mat-warn{background-color:#f44336;color:#fff}.high-contrast-light .mat-chip.mat-standard-chip.mat-chip-selected.mat-warn .mat-chip-remove{color:#fff;opacity:.4}.high-contrast-light .mat-chip.mat-standard-chip.mat-chip-selected.mat-warn .mat-ripple-element{background-color:#ffffff1a}.high-contrast-light .mat-chip.mat-standard-chip.mat-chip-selected.mat-accent{background-color:#eee;color:#000000de}.high-contrast-light .mat-chip.mat-standard-chip.mat-chip-selected.mat-accent .mat-chip-remove{color:#000000de;opacity:.4}.high-contrast-light .mat-chip.mat-standard-chip.mat-chip-selected.mat-accent .mat-ripple-element{background-color:#0000001a}.high-contrast-light .mat-table{background:white}.high-contrast-light .mat-table thead,.high-contrast-light .mat-table tbody,.high-contrast-light .mat-table tfoot,.high-contrast-light mat-header-row,.high-contrast-light mat-row,.high-contrast-light mat-footer-row,.high-contrast-light [mat-header-row],.high-contrast-light [mat-row],.high-contrast-light [mat-footer-row],.high-contrast-light .mat-table-sticky{background:inherit}.high-contrast-light mat-row,.high-contrast-light mat-header-row,.high-contrast-light mat-footer-row,.high-contrast-light th.mat-header-cell,.high-contrast-light td.mat-cell,.high-contrast-light td.mat-footer-cell{border-bottom-color:#0000001f}.high-contrast-light .mat-header-cell{color:#0000008a}.high-contrast-light .mat-cell,.high-contrast-light .mat-footer-cell{color:#000000de}.high-contrast-light .mat-calendar-arrow{fill:#0000008a}.high-contrast-light .mat-datepicker-toggle,.high-contrast-light .mat-datepicker-content .mat-calendar-next-button,.high-contrast-light .mat-datepicker-content .mat-calendar-previous-button{color:#0000008a}.high-contrast-light .mat-calendar-table-header-divider:after{background:rgba(0,0,0,.12)}.high-contrast-light .mat-calendar-table-header,.high-contrast-light .mat-calendar-body-label{color:#0000008a}.high-contrast-light .mat-calendar-body-cell-content,.high-contrast-light .mat-date-range-input-separator{color:#000000de;border-color:transparent}.high-contrast-light .mat-calendar-body-disabled>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){color:#00000061}.high-contrast-light .mat-form-field-disabled .mat-date-range-input-separator{color:#00000061}.high-contrast-light .mat-calendar-body-in-preview{color:#0000003d}.high-contrast-light .mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:#00000061}.high-contrast-light .mat-calendar-body-disabled>.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:#0000002e}.high-contrast-light .mat-calendar-body-in-range:before{background:rgba(158,158,158,.2)}.high-contrast-light .mat-calendar-body-comparison-identical,.high-contrast-light .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.high-contrast-light .mat-calendar-body-comparison-bridge-start:before,.high-contrast-light [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(to right,rgba(158,158,158,.2) 50%,rgba(249,171,0,.2) 50%)}.high-contrast-light .mat-calendar-body-comparison-bridge-end:before,.high-contrast-light [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(to left,rgba(158,158,158,.2) 50%,rgba(249,171,0,.2) 50%)}.high-contrast-light .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.high-contrast-light .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after{background:#a8dab5}.high-contrast-light .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.high-contrast-light .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.high-contrast-light .mat-calendar-body-selected{background-color:#9e9e9e;color:#000000de}.high-contrast-light .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:#9e9e9e66}.high-contrast-light .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #000000de}.high-contrast-light .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.high-contrast-light .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:#9e9e9e4d}@media (hover: hover){.high-contrast-light .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:#9e9e9e4d}}.high-contrast-light .mat-datepicker-content{box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f;background-color:#fff;color:#000000de}.high-contrast-light .mat-datepicker-content.mat-accent .mat-calendar-body-in-range:before{background:rgba(238,238,238,.2)}.high-contrast-light .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-identical,.high-contrast-light .mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.high-contrast-light .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-bridge-start:before,.high-contrast-light .mat-datepicker-content.mat-accent [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(to right,rgba(238,238,238,.2) 50%,rgba(249,171,0,.2) 50%)}.high-contrast-light .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-bridge-end:before,.high-contrast-light .mat-datepicker-content.mat-accent [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(to left,rgba(238,238,238,.2) 50%,rgba(249,171,0,.2) 50%)}.high-contrast-light .mat-datepicker-content.mat-accent .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.high-contrast-light .mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after{background:#a8dab5}.high-contrast-light .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.high-contrast-light .mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.high-contrast-light .mat-datepicker-content.mat-accent .mat-calendar-body-selected{background-color:#eee;color:#000000de}.high-contrast-light .mat-datepicker-content.mat-accent .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:#eee6}.high-contrast-light .mat-datepicker-content.mat-accent .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #000000de}.high-contrast-light .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),.high-contrast-light .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:#eeeeee4d}@media (hover: hover){.high-contrast-light .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:#eeeeee4d}}.high-contrast-light .mat-datepicker-content.mat-warn .mat-calendar-body-in-range:before{background:rgba(244,67,54,.2)}.high-contrast-light .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-identical,.high-contrast-light .mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.high-contrast-light .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-bridge-start:before,.high-contrast-light .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%)}.high-contrast-light .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-bridge-end:before,.high-contrast-light .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%)}.high-contrast-light .mat-datepicker-content.mat-warn .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.high-contrast-light .mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after{background:#a8dab5}.high-contrast-light .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.high-contrast-light .mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.high-contrast-light .mat-datepicker-content.mat-warn .mat-calendar-body-selected{background-color:#f44336;color:#fff}.high-contrast-light .mat-datepicker-content.mat-warn .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:#f4433666}.high-contrast-light .mat-datepicker-content.mat-warn .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.high-contrast-light .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),.high-contrast-light .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){.high-contrast-light .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}}.high-contrast-light .mat-datepicker-content-touch{box-shadow:0 11px 15px -7px #0003,0 24px 38px 3px #00000024,0 9px 46px 8px #0000001f}.high-contrast-light .mat-datepicker-toggle-active{color:#9e9e9e}.high-contrast-light .mat-datepicker-toggle-active.mat-accent{color:#eee}.high-contrast-light .mat-datepicker-toggle-active.mat-warn{color:#f44336}.high-contrast-light .mat-date-range-input-inner[disabled]{color:#00000061}.high-contrast-light .mat-dialog-container{box-shadow:0 11px 15px -7px #0003,0 24px 38px 3px #00000024,0 9px 46px 8px #0000001f;background:white;color:#000000de}.high-contrast-light .mat-divider{border-top-color:#0000001f}.high-contrast-light .mat-divider-vertical{border-right-color:#0000001f}.high-contrast-light .mat-expansion-panel{background:white;color:#000000de}.high-contrast-light .mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.high-contrast-light .mat-action-row{border-top-color:#0000001f}.high-contrast-light .mat-expansion-panel .mat-expansion-panel-header.cdk-keyboard-focused:not([aria-disabled=true]),.high-contrast-light .mat-expansion-panel .mat-expansion-panel-header.cdk-program-focused:not([aria-disabled=true]),.high-contrast-light .mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:hover:not([aria-disabled=true]){background:rgba(0,0,0,.04)}@media (hover: none){.high-contrast-light .mat-expansion-panel:not(.mat-expanded):not([aria-disabled=true]) .mat-expansion-panel-header:hover{background:white}}.high-contrast-light .mat-expansion-panel-header-title{color:#000000de}.high-contrast-light .mat-expansion-panel-header-description,.high-contrast-light .mat-expansion-indicator:after{color:#0000008a}.high-contrast-light .mat-expansion-panel-header[aria-disabled=true]{color:#00000042}.high-contrast-light .mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-title,.high-contrast-light .mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-description{color:inherit}.high-contrast-light .mat-form-field-label,.high-contrast-light .mat-hint{color:#0009}.high-contrast-light .mat-form-field.mat-focused .mat-form-field-label{color:#9e9e9e}.high-contrast-light .mat-form-field.mat-focused .mat-form-field-label.mat-accent{color:#eee}.high-contrast-light .mat-form-field.mat-focused .mat-form-field-label.mat-warn{color:#f44336}.high-contrast-light .mat-focused .mat-form-field-required-marker{color:#eee}.high-contrast-light .mat-form-field-ripple{background-color:#000000de}.high-contrast-light .mat-form-field.mat-focused .mat-form-field-ripple{background-color:#9e9e9e}.high-contrast-light .mat-form-field.mat-focused .mat-form-field-ripple.mat-accent{background-color:#eee}.high-contrast-light .mat-form-field.mat-focused .mat-form-field-ripple.mat-warn{background-color:#f44336}.high-contrast-light .mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid) .mat-form-field-infix:after{color:#9e9e9e}.high-contrast-light .mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid).mat-accent .mat-form-field-infix:after{color:#eee}.high-contrast-light .mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid).mat-warn .mat-form-field-infix:after{color:#f44336}.high-contrast-light .mat-form-field.mat-form-field-invalid .mat-form-field-label,.high-contrast-light .mat-form-field.mat-form-field-invalid .mat-form-field-label.mat-accent,.high-contrast-light .mat-form-field.mat-form-field-invalid .mat-form-field-label .mat-form-field-required-marker{color:#f44336}.high-contrast-light .mat-form-field.mat-form-field-invalid .mat-form-field-ripple,.high-contrast-light .mat-form-field.mat-form-field-invalid .mat-form-field-ripple.mat-accent{background-color:#f44336}.high-contrast-light .mat-error{color:#f44336}.high-contrast-light .mat-form-field-appearance-legacy .mat-form-field-label,.high-contrast-light .mat-form-field-appearance-legacy .mat-hint{color:#0000008a}.high-contrast-light .mat-form-field-appearance-legacy .mat-form-field-underline{background-color:#0000006b}.high-contrast-light .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}.high-contrast-light .mat-form-field-appearance-standard .mat-form-field-underline{background-color:#0000006b}.high-contrast-light .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}.high-contrast-light .mat-form-field-appearance-fill .mat-form-field-flex{background-color:#0000000a}.high-contrast-light .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-flex{background-color:#00000005}.high-contrast-light .mat-form-field-appearance-fill .mat-form-field-underline:before{background-color:#0000006b}.high-contrast-light .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-label{color:#00000061}.high-contrast-light .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-underline:before{background-color:transparent}.high-contrast-light .mat-form-field-appearance-outline .mat-form-field-outline{color:#0000001f}.high-contrast-light .mat-form-field-appearance-outline .mat-form-field-outline-thick{color:#000000de}.high-contrast-light .mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick{color:#9e9e9e}.high-contrast-light .mat-form-field-appearance-outline.mat-focused.mat-accent .mat-form-field-outline-thick{color:#eee}.high-contrast-light .mat-form-field-appearance-outline.mat-focused.mat-warn .mat-form-field-outline-thick,.high-contrast-light .mat-form-field-appearance-outline.mat-form-field-invalid.mat-form-field-invalid .mat-form-field-outline-thick{color:#f44336}.high-contrast-light .mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-label{color:#00000061}.high-contrast-light .mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-outline{color:#0000000f}.high-contrast-light .mat-icon.mat-primary{color:#9e9e9e}.high-contrast-light .mat-icon.mat-accent{color:#eee}.high-contrast-light .mat-icon.mat-warn{color:#f44336}.high-contrast-light .mat-form-field-type-mat-native-select .mat-form-field-infix:after{color:#0000008a}.high-contrast-light .mat-input-element:disabled,.high-contrast-light .mat-form-field-type-mat-native-select.mat-form-field-disabled .mat-form-field-infix:after{color:#00000061}.high-contrast-light .mat-input-element{caret-color:#9e9e9e}.high-contrast-light .mat-input-element::placeholder{color:#0000006b}.high-contrast-light .mat-input-element::-moz-placeholder{color:#0000006b}.high-contrast-light .mat-input-element::-webkit-input-placeholder{color:#0000006b}.high-contrast-light .mat-input-element:-ms-input-placeholder{color:#0000006b}.high-contrast-light .mat-form-field.mat-accent .mat-input-element{caret-color:#eee}.high-contrast-light .mat-form-field.mat-warn .mat-input-element,.high-contrast-light .mat-form-field-invalid .mat-input-element{caret-color:#f44336}.high-contrast-light .mat-form-field-type-mat-native-select.mat-form-field-invalid .mat-form-field-infix:after{color:#f44336}.high-contrast-light .mat-list-base .mat-list-item,.high-contrast-light .mat-list-base .mat-list-option{color:#000000de}.high-contrast-light .mat-list-base .mat-subheader{color:#0000008a}.high-contrast-light .mat-list-base .mat-list-item-disabled{background-color:#eee;color:#00000061}.high-contrast-light .mat-list-option:hover,.high-contrast-light .mat-list-option:focus,.high-contrast-light .mat-nav-list .mat-list-item:hover,.high-contrast-light .mat-nav-list .mat-list-item:focus,.high-contrast-light .mat-action-list .mat-list-item:hover,.high-contrast-light .mat-action-list .mat-list-item:focus{background:rgba(0,0,0,.04)}.high-contrast-light .mat-list-single-selected-option,.high-contrast-light .mat-list-single-selected-option:hover,.high-contrast-light .mat-list-single-selected-option:focus{background:rgba(0,0,0,.12)}.high-contrast-light .mat-menu-panel{background:white}.high-contrast-light .mat-menu-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.high-contrast-light .mat-menu-item{background:transparent;color:#000000de}.high-contrast-light .mat-menu-item[disabled],.high-contrast-light .mat-menu-item[disabled] .mat-menu-submenu-icon,.high-contrast-light .mat-menu-item[disabled] .mat-icon-no-color{color:#00000061}.high-contrast-light .mat-menu-item .mat-icon-no-color,.high-contrast-light .mat-menu-submenu-icon{color:#0000008a}.high-contrast-light .mat-menu-item:hover:not([disabled]),.high-contrast-light .mat-menu-item.cdk-program-focused:not([disabled]),.high-contrast-light .mat-menu-item.cdk-keyboard-focused:not([disabled]),.high-contrast-light .mat-menu-item-highlighted:not([disabled]){background:rgba(0,0,0,.04)}.high-contrast-light .mat-paginator{background:white}.high-contrast-light .mat-paginator,.high-contrast-light .mat-paginator-page-size .mat-select-trigger{color:#0000008a}.high-contrast-light .mat-paginator-decrement,.high-contrast-light .mat-paginator-increment{border-top:2px solid rgba(0,0,0,.54);border-right:2px solid rgba(0,0,0,.54)}.high-contrast-light .mat-paginator-first,.high-contrast-light .mat-paginator-last{border-top:2px solid rgba(0,0,0,.54)}.high-contrast-light .mat-icon-button[disabled] .mat-paginator-decrement,.high-contrast-light .mat-icon-button[disabled] .mat-paginator-increment,.high-contrast-light .mat-icon-button[disabled] .mat-paginator-first,.high-contrast-light .mat-icon-button[disabled] .mat-paginator-last{border-color:#00000061}.high-contrast-light .mat-progress-bar-background{fill:#e3e3e3}.high-contrast-light .mat-progress-bar-buffer{background-color:#e3e3e3}.high-contrast-light .mat-progress-bar-fill:after{background-color:#9e9e9e}.high-contrast-light .mat-progress-bar.mat-accent .mat-progress-bar-background{fill:#f7f7f7}.high-contrast-light .mat-progress-bar.mat-accent .mat-progress-bar-buffer{background-color:#f7f7f7}.high-contrast-light .mat-progress-bar.mat-accent .mat-progress-bar-fill:after{background-color:#eee}.high-contrast-light .mat-progress-bar.mat-warn .mat-progress-bar-background{fill:#f9ccc9}.high-contrast-light .mat-progress-bar.mat-warn .mat-progress-bar-buffer{background-color:#f9ccc9}.high-contrast-light .mat-progress-bar.mat-warn .mat-progress-bar-fill:after{background-color:#f44336}.high-contrast-light .mat-progress-spinner circle,.high-contrast-light .mat-spinner circle{stroke:#9e9e9e}.high-contrast-light .mat-progress-spinner.mat-accent circle,.high-contrast-light .mat-spinner.mat-accent circle{stroke:#eee}.high-contrast-light .mat-progress-spinner.mat-warn circle,.high-contrast-light .mat-spinner.mat-warn circle{stroke:#f44336}.high-contrast-light .mat-radio-outer-circle{border-color:#0000008a}.high-contrast-light .mat-radio-button.mat-primary.mat-radio-checked .mat-radio-outer-circle{border-color:#9e9e9e}.high-contrast-light .mat-radio-button.mat-primary .mat-radio-inner-circle,.high-contrast-light .mat-radio-button.mat-primary .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.high-contrast-light .mat-radio-button.mat-primary.mat-radio-checked .mat-radio-persistent-ripple,.high-contrast-light .mat-radio-button.mat-primary:active .mat-radio-persistent-ripple{background-color:#9e9e9e}.high-contrast-light .mat-radio-button.mat-accent.mat-radio-checked .mat-radio-outer-circle{border-color:#eee}.high-contrast-light .mat-radio-button.mat-accent .mat-radio-inner-circle,.high-contrast-light .mat-radio-button.mat-accent .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.high-contrast-light .mat-radio-button.mat-accent.mat-radio-checked .mat-radio-persistent-ripple,.high-contrast-light .mat-radio-button.mat-accent:active .mat-radio-persistent-ripple{background-color:#eee}.high-contrast-light .mat-radio-button.mat-warn.mat-radio-checked .mat-radio-outer-circle{border-color:#f44336}.high-contrast-light .mat-radio-button.mat-warn .mat-radio-inner-circle,.high-contrast-light .mat-radio-button.mat-warn .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.high-contrast-light .mat-radio-button.mat-warn.mat-radio-checked .mat-radio-persistent-ripple,.high-contrast-light .mat-radio-button.mat-warn:active .mat-radio-persistent-ripple{background-color:#f44336}.high-contrast-light .mat-radio-button.mat-radio-disabled.mat-radio-checked .mat-radio-outer-circle,.high-contrast-light .mat-radio-button.mat-radio-disabled .mat-radio-outer-circle{border-color:#00000061}.high-contrast-light .mat-radio-button.mat-radio-disabled .mat-radio-ripple .mat-ripple-element,.high-contrast-light .mat-radio-button.mat-radio-disabled .mat-radio-inner-circle{background-color:#00000061}.high-contrast-light .mat-radio-button.mat-radio-disabled .mat-radio-label-content{color:#00000061}.high-contrast-light .mat-radio-button .mat-ripple-element{background-color:#000}.high-contrast-light .mat-select-value{color:#000000de}.high-contrast-light .mat-select-placeholder{color:#0000006b}.high-contrast-light .mat-select-disabled .mat-select-value{color:#00000061}.high-contrast-light .mat-select-arrow{color:#0000008a}.high-contrast-light .mat-select-panel{background:white}.high-contrast-light .mat-select-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.high-contrast-light .mat-select-panel .mat-option.mat-selected:not(.mat-option-multiple){background:rgba(0,0,0,.12)}.high-contrast-light .mat-form-field.mat-focused.mat-primary .mat-select-arrow{color:#9e9e9e}.high-contrast-light .mat-form-field.mat-focused.mat-accent .mat-select-arrow{color:#eee}.high-contrast-light .mat-form-field.mat-focused.mat-warn .mat-select-arrow,.high-contrast-light .mat-form-field .mat-select.mat-select-invalid .mat-select-arrow{color:#f44336}.high-contrast-light .mat-form-field .mat-select.mat-select-disabled .mat-select-arrow{color:#00000061}.high-contrast-light .mat-drawer-container{background-color:#fafafa;color:#000000de}.high-contrast-light .mat-drawer{background-color:#fff;color:#000000de}.high-contrast-light .mat-drawer.mat-drawer-push{background-color:#fff}.high-contrast-light .mat-drawer:not(.mat-drawer-side){box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f}.high-contrast-light .mat-drawer-side{border-right:solid 1px rgba(0,0,0,.12)}.high-contrast-light .mat-drawer-side.mat-drawer-end,.high-contrast-light [dir=rtl] .mat-drawer-side{border-left:solid 1px rgba(0,0,0,.12);border-right:none}.high-contrast-light [dir=rtl] .mat-drawer-side.mat-drawer-end{border-left:none;border-right:solid 1px rgba(0,0,0,.12)}.high-contrast-light .mat-drawer-backdrop.mat-drawer-shown{background-color:#0009}.high-contrast-light .mat-slide-toggle.mat-checked .mat-slide-toggle-thumb{background-color:#eee}.high-contrast-light .mat-slide-toggle.mat-checked .mat-slide-toggle-bar{background-color:#eeeeee8a}.high-contrast-light .mat-slide-toggle.mat-checked .mat-ripple-element{background-color:#eee}.high-contrast-light .mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-thumb{background-color:#9e9e9e}.high-contrast-light .mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-bar{background-color:#9e9e9e8a}.high-contrast-light .mat-slide-toggle.mat-primary.mat-checked .mat-ripple-element{background-color:#9e9e9e}.high-contrast-light .mat-slide-toggle.mat-warn.mat-checked .mat-slide-toggle-thumb{background-color:#f44336}.high-contrast-light .mat-slide-toggle.mat-warn.mat-checked .mat-slide-toggle-bar{background-color:#f443368a}.high-contrast-light .mat-slide-toggle.mat-warn.mat-checked .mat-ripple-element{background-color:#f44336}.high-contrast-light .mat-slide-toggle:not(.mat-checked) .mat-ripple-element{background-color:#000}.high-contrast-light .mat-slide-toggle-thumb{box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f;background-color:#fafafa}.high-contrast-light .mat-slide-toggle-bar{background-color:#00000061}.high-contrast-light .mat-slider-track-background{background-color:#00000042}.high-contrast-light .mat-slider.mat-primary .mat-slider-track-fill,.high-contrast-light .mat-slider.mat-primary .mat-slider-thumb,.high-contrast-light .mat-slider.mat-primary .mat-slider-thumb-label{background-color:#9e9e9e}.high-contrast-light .mat-slider.mat-primary .mat-slider-thumb-label-text{color:#000000de}.high-contrast-light .mat-slider.mat-primary .mat-slider-focus-ring{background-color:#9e9e9e33}.high-contrast-light .mat-slider.mat-accent .mat-slider-track-fill,.high-contrast-light .mat-slider.mat-accent .mat-slider-thumb,.high-contrast-light .mat-slider.mat-accent .mat-slider-thumb-label{background-color:#eee}.high-contrast-light .mat-slider.mat-accent .mat-slider-thumb-label-text{color:#000000de}.high-contrast-light .mat-slider.mat-accent .mat-slider-focus-ring{background-color:#eee3}.high-contrast-light .mat-slider.mat-warn .mat-slider-track-fill,.high-contrast-light .mat-slider.mat-warn .mat-slider-thumb,.high-contrast-light .mat-slider.mat-warn .mat-slider-thumb-label{background-color:#f44336}.high-contrast-light .mat-slider.mat-warn .mat-slider-thumb-label-text{color:#fff}.high-contrast-light .mat-slider.mat-warn .mat-slider-focus-ring{background-color:#f4433633}.high-contrast-light .mat-slider:hover .mat-slider-track-background,.high-contrast-light .mat-slider.cdk-focused .mat-slider-track-background{background-color:#00000061}.high-contrast-light .mat-slider.mat-slider-disabled .mat-slider-track-background,.high-contrast-light .mat-slider.mat-slider-disabled .mat-slider-track-fill,.high-contrast-light .mat-slider.mat-slider-disabled .mat-slider-thumb,.high-contrast-light .mat-slider.mat-slider-disabled:hover .mat-slider-track-background{background-color:#00000042}.high-contrast-light .mat-slider.mat-slider-min-value .mat-slider-focus-ring{background-color:#0000001f}.high-contrast-light .mat-slider.mat-slider-min-value.mat-slider-thumb-label-showing .mat-slider-thumb,.high-contrast-light .mat-slider.mat-slider-min-value.mat-slider-thumb-label-showing .mat-slider-thumb-label{background-color:#000000de}.high-contrast-light .mat-slider.mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb,.high-contrast-light .mat-slider.mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb-label{background-color:#00000042}.high-contrast-light .mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing) .mat-slider-thumb{border-color:#00000042;background-color:transparent}.high-contrast-light .mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover .mat-slider-thumb,.high-contrast-light .mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused .mat-slider-thumb{border-color:#00000061}.high-contrast-light .mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover.mat-slider-disabled .mat-slider-thumb,.high-contrast-light .mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused.mat-slider-disabled .mat-slider-thumb{border-color:#00000042}.high-contrast-light .mat-slider-has-ticks .mat-slider-wrapper:after{border-color:#000000b3}.high-contrast-light .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)}.high-contrast-light .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)}.high-contrast-light .mat-step-header.cdk-keyboard-focused,.high-contrast-light .mat-step-header.cdk-program-focused,.high-contrast-light .mat-step-header:hover:not([aria-disabled]),.high-contrast-light .mat-step-header:hover[aria-disabled=false]{background-color:#0000000a}.high-contrast-light .mat-step-header:hover[aria-disabled=true]{cursor:default}@media (hover: none){.high-contrast-light .mat-step-header:hover{background:none}}.high-contrast-light .mat-step-header .mat-step-label,.high-contrast-light .mat-step-header .mat-step-optional{color:#0000008a}.high-contrast-light .mat-step-header .mat-step-icon{background-color:#0000008a;color:#000000de}.high-contrast-light .mat-step-header .mat-step-icon-selected,.high-contrast-light .mat-step-header .mat-step-icon-state-done,.high-contrast-light .mat-step-header .mat-step-icon-state-edit{background-color:#9e9e9e;color:#000000de}.high-contrast-light .mat-step-header.mat-accent .mat-step-icon{color:#000000de}.high-contrast-light .mat-step-header.mat-accent .mat-step-icon-selected,.high-contrast-light .mat-step-header.mat-accent .mat-step-icon-state-done,.high-contrast-light .mat-step-header.mat-accent .mat-step-icon-state-edit{background-color:#eee;color:#000000de}.high-contrast-light .mat-step-header.mat-warn .mat-step-icon{color:#fff}.high-contrast-light .mat-step-header.mat-warn .mat-step-icon-selected,.high-contrast-light .mat-step-header.mat-warn .mat-step-icon-state-done,.high-contrast-light .mat-step-header.mat-warn .mat-step-icon-state-edit{background-color:#f44336;color:#fff}.high-contrast-light .mat-step-header .mat-step-icon-state-error{background-color:transparent;color:#f44336}.high-contrast-light .mat-step-header .mat-step-label.mat-step-label-active{color:#000000de}.high-contrast-light .mat-step-header .mat-step-label.mat-step-label-error{color:#f44336}.high-contrast-light .mat-stepper-horizontal,.high-contrast-light .mat-stepper-vertical{background-color:#fff}.high-contrast-light .mat-stepper-vertical-line:before{border-left-color:#0000001f}.high-contrast-light .mat-horizontal-stepper-header:before,.high-contrast-light .mat-horizontal-stepper-header:after,.high-contrast-light .mat-stepper-horizontal-line{border-top-color:#0000001f}.high-contrast-light .mat-sort-header-arrow{color:#757575}.high-contrast-light .mat-tab-nav-bar,.high-contrast-light .mat-tab-header{border-bottom:1px solid rgba(0,0,0,.12)}.high-contrast-light .mat-tab-group-inverted-header .mat-tab-nav-bar,.high-contrast-light .mat-tab-group-inverted-header .mat-tab-header{border-top:1px solid rgba(0,0,0,.12);border-bottom:none}.high-contrast-light .mat-tab-label,.high-contrast-light .mat-tab-link{color:#000000de}.high-contrast-light .mat-tab-label.mat-tab-disabled,.high-contrast-light .mat-tab-link.mat-tab-disabled{color:#00000061}.high-contrast-light .mat-tab-header-pagination-chevron{border-color:#000000de}.high-contrast-light .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:#00000061}.high-contrast-light .mat-tab-group[class*=mat-background-]>.mat-tab-header,.high-contrast-light .mat-tab-nav-bar[class*=mat-background-]{border-bottom:none;border-top:none}.high-contrast-light .mat-tab-group.mat-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.high-contrast-light .mat-tab-group.mat-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.high-contrast-light .mat-tab-group.mat-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.high-contrast-light .mat-tab-group.mat-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.high-contrast-light .mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.high-contrast-light .mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.high-contrast-light .mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.high-contrast-light .mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#f5f5f54d}.high-contrast-light .mat-tab-group.mat-primary .mat-ink-bar,.high-contrast-light .mat-tab-nav-bar.mat-primary .mat-ink-bar{background-color:#9e9e9e}.high-contrast-light .mat-tab-group.mat-primary.mat-background-primary>.mat-tab-header .mat-ink-bar,.high-contrast-light .mat-tab-group.mat-primary.mat-background-primary>.mat-tab-link-container .mat-ink-bar,.high-contrast-light .mat-tab-nav-bar.mat-primary.mat-background-primary>.mat-tab-header .mat-ink-bar,.high-contrast-light .mat-tab-nav-bar.mat-primary.mat-background-primary>.mat-tab-link-container .mat-ink-bar{background-color:#000000de}.high-contrast-light .mat-tab-group.mat-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.high-contrast-light .mat-tab-group.mat-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.high-contrast-light .mat-tab-group.mat-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.high-contrast-light .mat-tab-group.mat-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.high-contrast-light .mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.high-contrast-light .mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.high-contrast-light .mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.high-contrast-light .mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#ffffff4d}.high-contrast-light .mat-tab-group.mat-accent .mat-ink-bar,.high-contrast-light .mat-tab-nav-bar.mat-accent .mat-ink-bar{background-color:#eee}.high-contrast-light .mat-tab-group.mat-accent.mat-background-accent>.mat-tab-header .mat-ink-bar,.high-contrast-light .mat-tab-group.mat-accent.mat-background-accent>.mat-tab-link-container .mat-ink-bar,.high-contrast-light .mat-tab-nav-bar.mat-accent.mat-background-accent>.mat-tab-header .mat-ink-bar,.high-contrast-light .mat-tab-nav-bar.mat-accent.mat-background-accent>.mat-tab-link-container .mat-ink-bar{background-color:#000000de}.high-contrast-light .mat-tab-group.mat-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.high-contrast-light .mat-tab-group.mat-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.high-contrast-light .mat-tab-group.mat-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.high-contrast-light .mat-tab-group.mat-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.high-contrast-light .mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.high-contrast-light .mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.high-contrast-light .mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.high-contrast-light .mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#ffcdd24d}.high-contrast-light .mat-tab-group.mat-warn .mat-ink-bar,.high-contrast-light .mat-tab-nav-bar.mat-warn .mat-ink-bar{background-color:#f44336}.high-contrast-light .mat-tab-group.mat-warn.mat-background-warn>.mat-tab-header .mat-ink-bar,.high-contrast-light .mat-tab-group.mat-warn.mat-background-warn>.mat-tab-link-container .mat-ink-bar,.high-contrast-light .mat-tab-nav-bar.mat-warn.mat-background-warn>.mat-tab-header .mat-ink-bar,.high-contrast-light .mat-tab-nav-bar.mat-warn.mat-background-warn>.mat-tab-link-container .mat-ink-bar{background-color:#fff}.high-contrast-light .mat-tab-group.mat-background-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.high-contrast-light .mat-tab-group.mat-background-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.high-contrast-light .mat-tab-group.mat-background-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.high-contrast-light .mat-tab-group.mat-background-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.high-contrast-light .mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.high-contrast-light .mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.high-contrast-light .mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.high-contrast-light .mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#f5f5f54d}.high-contrast-light .mat-tab-group.mat-background-primary>.mat-tab-header,.high-contrast-light .mat-tab-group.mat-background-primary>.mat-tab-link-container,.high-contrast-light .mat-tab-group.mat-background-primary>.mat-tab-header-pagination,.high-contrast-light .mat-tab-nav-bar.mat-background-primary>.mat-tab-header,.high-contrast-light .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container,.high-contrast-light .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination{background-color:#9e9e9e}.high-contrast-light .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-label,.high-contrast-light .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-tab-link,.high-contrast-light .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-label,.high-contrast-light .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-tab-link{color:#000000de}.high-contrast-light .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-label.mat-tab-disabled,.high-contrast-light .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.high-contrast-light .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-label.mat-tab-disabled,.high-contrast-light .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:#0006}.high-contrast-light .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-chevron,.high-contrast-light .mat-tab-group.mat-background-primary>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.high-contrast-light .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-focus-indicator:before,.high-contrast-light .mat-tab-group.mat-background-primary>.mat-tab-header .mat-focus-indicator:before,.high-contrast-light .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-chevron,.high-contrast-light .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.high-contrast-light .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-focus-indicator:before,.high-contrast-light .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-focus-indicator:before{border-color:#000000de}.high-contrast-light .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.high-contrast-light .mat-tab-group.mat-background-primary>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.high-contrast-light .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.high-contrast-light .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:#000;opacity:.4}.high-contrast-light .mat-tab-group.mat-background-primary>.mat-tab-header .mat-ripple-element,.high-contrast-light .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-ripple-element,.high-contrast-light .mat-tab-group.mat-background-primary>.mat-tab-header-pagination .mat-ripple-element,.high-contrast-light .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-ripple-element,.high-contrast-light .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-ripple-element,.high-contrast-light .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination .mat-ripple-element{background-color:#000;opacity:.12}.high-contrast-light .mat-tab-group.mat-background-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.high-contrast-light .mat-tab-group.mat-background-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.high-contrast-light .mat-tab-group.mat-background-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.high-contrast-light .mat-tab-group.mat-background-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.high-contrast-light .mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.high-contrast-light .mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.high-contrast-light .mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.high-contrast-light .mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#ffffff4d}.high-contrast-light .mat-tab-group.mat-background-accent>.mat-tab-header,.high-contrast-light .mat-tab-group.mat-background-accent>.mat-tab-link-container,.high-contrast-light .mat-tab-group.mat-background-accent>.mat-tab-header-pagination,.high-contrast-light .mat-tab-nav-bar.mat-background-accent>.mat-tab-header,.high-contrast-light .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container,.high-contrast-light .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination{background-color:#eee}.high-contrast-light .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-label,.high-contrast-light .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-tab-link,.high-contrast-light .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-label,.high-contrast-light .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-tab-link{color:#000000de}.high-contrast-light .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-label.mat-tab-disabled,.high-contrast-light .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.high-contrast-light .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-label.mat-tab-disabled,.high-contrast-light .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:#0006}.high-contrast-light .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-chevron,.high-contrast-light .mat-tab-group.mat-background-accent>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.high-contrast-light .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-focus-indicator:before,.high-contrast-light .mat-tab-group.mat-background-accent>.mat-tab-header .mat-focus-indicator:before,.high-contrast-light .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-chevron,.high-contrast-light .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.high-contrast-light .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-focus-indicator:before,.high-contrast-light .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-focus-indicator:before{border-color:#000000de}.high-contrast-light .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.high-contrast-light .mat-tab-group.mat-background-accent>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.high-contrast-light .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.high-contrast-light .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:#000;opacity:.4}.high-contrast-light .mat-tab-group.mat-background-accent>.mat-tab-header .mat-ripple-element,.high-contrast-light .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-ripple-element,.high-contrast-light .mat-tab-group.mat-background-accent>.mat-tab-header-pagination .mat-ripple-element,.high-contrast-light .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-ripple-element,.high-contrast-light .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-ripple-element,.high-contrast-light .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination .mat-ripple-element{background-color:#000;opacity:.12}.high-contrast-light .mat-tab-group.mat-background-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.high-contrast-light .mat-tab-group.mat-background-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.high-contrast-light .mat-tab-group.mat-background-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.high-contrast-light .mat-tab-group.mat-background-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.high-contrast-light .mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.high-contrast-light .mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.high-contrast-light .mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.high-contrast-light .mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#ffcdd24d}.high-contrast-light .mat-tab-group.mat-background-warn>.mat-tab-header,.high-contrast-light .mat-tab-group.mat-background-warn>.mat-tab-link-container,.high-contrast-light .mat-tab-group.mat-background-warn>.mat-tab-header-pagination,.high-contrast-light .mat-tab-nav-bar.mat-background-warn>.mat-tab-header,.high-contrast-light .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container,.high-contrast-light .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination{background-color:#f44336}.high-contrast-light .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-label,.high-contrast-light .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-tab-link,.high-contrast-light .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-label,.high-contrast-light .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-tab-link{color:#fff}.high-contrast-light .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-label.mat-tab-disabled,.high-contrast-light .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.high-contrast-light .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-label.mat-tab-disabled,.high-contrast-light .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:#fff6}.high-contrast-light .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-chevron,.high-contrast-light .mat-tab-group.mat-background-warn>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.high-contrast-light .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-focus-indicator:before,.high-contrast-light .mat-tab-group.mat-background-warn>.mat-tab-header .mat-focus-indicator:before,.high-contrast-light .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-chevron,.high-contrast-light .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.high-contrast-light .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-focus-indicator:before,.high-contrast-light .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-focus-indicator:before{border-color:#fff}.high-contrast-light .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.high-contrast-light .mat-tab-group.mat-background-warn>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.high-contrast-light .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.high-contrast-light .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:#fff;opacity:.4}.high-contrast-light .mat-tab-group.mat-background-warn>.mat-tab-header .mat-ripple-element,.high-contrast-light .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-ripple-element,.high-contrast-light .mat-tab-group.mat-background-warn>.mat-tab-header-pagination .mat-ripple-element,.high-contrast-light .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-ripple-element,.high-contrast-light .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-ripple-element,.high-contrast-light .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination .mat-ripple-element{background-color:#fff;opacity:.12}.high-contrast-light .mat-toolbar{background:whitesmoke;color:#000000de}.high-contrast-light .mat-toolbar.mat-primary{background:#9e9e9e;color:#000000de}.high-contrast-light .mat-toolbar.mat-accent{background:#eeeeee;color:#000000de}.high-contrast-light .mat-toolbar.mat-warn{background:#f44336;color:#fff}.high-contrast-light .mat-toolbar .mat-form-field-underline,.high-contrast-light .mat-toolbar .mat-form-field-ripple,.high-contrast-light .mat-toolbar .mat-focused .mat-form-field-ripple{background-color:currentColor}.high-contrast-light .mat-toolbar .mat-form-field-label,.high-contrast-light .mat-toolbar .mat-focused .mat-form-field-label,.high-contrast-light .mat-toolbar .mat-select-value,.high-contrast-light .mat-toolbar .mat-select-arrow,.high-contrast-light .mat-toolbar .mat-form-field.mat-focused .mat-select-arrow{color:inherit}.high-contrast-light .mat-toolbar .mat-input-element{caret-color:currentColor}.high-contrast-light .mat-tooltip{background:rgba(97,97,97,.9)}.high-contrast-light .mat-tree{background:white}.high-contrast-light .mat-tree-node,.high-contrast-light .mat-nested-tree-node{color:#000000de}.high-contrast-light .mat-snack-bar-container{color:#ffffffb3;background:#323232;box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.high-contrast-light .mat-simple-snackbar-action{color:#eee}.high-contrast-light .app-defaults{background-color:#fafafa;color:#000000de}.high-contrast-light .theme-menu{background-color:#eee}.high-contrast-light .menuBarButtonGroup{background-color:#0000001f}.high-contrast-light .tabGroups{padding-left:0;min-height:100%;height:100%}.high-contrast-light .tabGroupPanel{display:block;margin:10px 20px 20px}.high-contrast-light .formActionFooter{width:100%;text-align:end}.high-contrast-light .formActionButton{margin-left:10px}.high-contrast-light .formActionDivider{margin-top:10px;margin-bottom:10px}.high-contrast-light .as-split-gutter{background-color:transparent!important}.high-contrast-light .primary{color:#bdbdbd}.high-contrast-light .accent{color:#9e9e9e}.high-contrast-light .warn{color:#e57373}.high-contrast-light .primaryDark,.high-contrast-light .accentDark{color:#212121}.high-contrast-light .warnDark{color:#b71c1c}.high-contrast-light .background{color:#0000001f}.high-contrast-light .text{color:#000000de}.high-contrast-light .pathMetaDescription{font:small-caption;color:#00000061}.high-contrast-light .textGenericWrapper{position:relative;width:100%;height:100%}.high-contrast-light .canvas-size{position:absolute;top:0;left:0}.high-contrast-light .warn{color:#f44336}.high-contrast-light .warn-contrast{color:#fff}.high-contrast-light DIV.apScreen{display:block;position:relative;width:360px;height:220.5px;margin:auto;text-align:center;border-radius:5px;border:1px solid rgba(0,0,0,.12);background-color:#0000001f}.high-contrast-light .apScreen .apCompass{position:relative;width:360px;height:202px;margin:auto;border-radius:5px}.high-contrast-light .apStatusBar{width:360px;height:18.5px;border-bottom-left-radius:5px;border-bottom-right-radius:5px;background-color:#000}.high-contrast-light .apStatusBar,.high-contrast-light .apStatusBar DIV{display:inline-block;position:relative}.high-contrast-light .apScreen .apStencil{position:absolute;top:0;left:0;width:100%;height:100%;margin:auto;border-radius:5px;z-index:10;vertical-align:middle;background-color:#fafafa}.high-contrast-light .apStencil.confirmCommand{z-index:5;visibility:hidden}.high-contrast-light .apStencil.error{z-index:6;visibility:hidden}.high-contrast-light .apText{fill:#000000de}.high-contrast-light .boatBackground{stop-color:#c7c7c7!important}.high-contrast-light .heading-background{stroke:#000;fill:#afafaf}.high-contrast-light .wind-text{fill:#000;stroke:#000}.high-contrast-light .laylines{stroke:#000000de}.high-contrast-light .wind-sector-port{fill:red}.high-contrast-light .wind-sector-stbd{fill:#1fce04}.high-contrast-light .compass-outer-ring{stroke:#757575}.high-contrast-light .compass-inner-ring{stroke:#afafaf;fill:#afafaf}.high-contrast-light .wind-rose-background{stroke:#8a8a8a}.high-contrast-light .sailSetupBoat{stroke:#afafaf}.high-contrast-light .sailSetupFull,.high-contrast-light .sailSetupReef1{fill:#e0e0e0}.high-contrast-light .sailSetupReef2{fill:#e57373}.high-contrast-light .sailSetupReef3{fill:#f44336}.high-contrast-light .port{stroke:red}.high-contrast-light .starboard{stroke:#1fce04}.high-contrast-light .rudderPort{fill:#d52626}.high-contrast-light .rudderStarboard{fill:#389c19}.high-contrast-light .true-wind{fill:#068dfb}.high-contrast-light .app-wind{fill:#06fb06}.high-contrast-light .simpleLinear-text{fill:#000000de}.high-contrast-light .windWrapper{position:relative;width:100%;height:100%}.high-contrast-light .matBadge{z-index:1000}.high-contrast-light .mute-unmte-alarm{width:max-content}.high-contrast-light .alarmWarning{animation:blinkingAlarmWarning 1.5s infinite;background-color:orange!important}.high-contrast-light .alarmCrit{animation:blinkingAlarmCrit .25s infinite}.high-contrast-light .muteSoundButton:hover{background:rgba(255,255,255,.04)}.high-contrast-light .serverStatus{background-color:#0000001f;margin:7% 5% 0%;padding:10px 20px 20px}.high-contrast-light .descriptiveTexts{color:#000000de;font-size:14px}.high-contrast-light .flex-item{flex:1 1 29%;background-color:#0000001f;padding:20px;border-radius:4px}.high-contrast-light .flex-item-copy{flex:2 1 40%;background-color:#0000001f;padding:10px 20px;border-radius:4px}.platypus-light .mat-ripple-element{background-color:#0000001a}.platypus-light .mat-option{color:#000000de}.platypus-light .mat-option:hover:not(.mat-option-disabled),.platypus-light .mat-option:focus:not(.mat-option-disabled){background:rgba(0,0,0,.04)}.platypus-light .mat-option.mat-selected:not(.mat-option-multiple):not(.mat-option-disabled){background:rgba(0,0,0,.04)}.platypus-light .mat-option.mat-active{background:rgba(0,0,0,.04);color:#000000de}.platypus-light .mat-option.mat-option-disabled{color:#00000061}.platypus-light .mat-primary .mat-option.mat-selected:not(.mat-option-disabled){color:#009688}.platypus-light .mat-accent .mat-option.mat-selected:not(.mat-option-disabled){color:#ffab40}.platypus-light .mat-warn .mat-option.mat-selected:not(.mat-option-disabled){color:#f44336}.platypus-light .mat-optgroup-label{color:#0000008a}.platypus-light .mat-optgroup-disabled .mat-optgroup-label{color:#00000061}.platypus-light .mat-pseudo-checkbox{color:#0000008a}.platypus-light .mat-pseudo-checkbox:after{color:#189090}.platypus-light .mat-pseudo-checkbox-disabled{color:#b0b0b0}.platypus-light .mat-primary .mat-pseudo-checkbox-checked,.platypus-light .mat-primary .mat-pseudo-checkbox-indeterminate{background:#009688}.platypus-light .mat-pseudo-checkbox-checked,.platypus-light .mat-pseudo-checkbox-indeterminate,.platypus-light .mat-accent .mat-pseudo-checkbox-checked,.platypus-light .mat-accent .mat-pseudo-checkbox-indeterminate{background:#ffab40}.platypus-light .mat-warn .mat-pseudo-checkbox-checked,.platypus-light .mat-warn .mat-pseudo-checkbox-indeterminate{background:#f44336}.platypus-light .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.platypus-light .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background:#b0b0b0}.platypus-light .mat-app-background,.platypus-light.mat-app-background{background-color:#189090;color:#000000de}.platypus-light .mat-elevation-z0{box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.platypus-light .mat-elevation-z1{box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f}.platypus-light .mat-elevation-z2{box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.platypus-light .mat-elevation-z3{box-shadow:0 3px 3px -2px #0003,0 3px 4px #00000024,0 1px 8px #0000001f}.platypus-light .mat-elevation-z4{box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.platypus-light .mat-elevation-z5{box-shadow:0 3px 5px -1px #0003,0 5px 8px #00000024,0 1px 14px #0000001f}.platypus-light .mat-elevation-z6{box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.platypus-light .mat-elevation-z7{box-shadow:0 4px 5px -2px #0003,0 7px 10px 1px #00000024,0 2px 16px 1px #0000001f}.platypus-light .mat-elevation-z8{box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.platypus-light .mat-elevation-z9{box-shadow:0 5px 6px -3px #0003,0 9px 12px 1px #00000024,0 3px 16px 2px #0000001f}.platypus-light .mat-elevation-z10{box-shadow:0 6px 6px -3px #0003,0 10px 14px 1px #00000024,0 4px 18px 3px #0000001f}.platypus-light .mat-elevation-z11{box-shadow:0 6px 7px -4px #0003,0 11px 15px 1px #00000024,0 4px 20px 3px #0000001f}.platypus-light .mat-elevation-z12{box-shadow:0 7px 8px -4px #0003,0 12px 17px 2px #00000024,0 5px 22px 4px #0000001f}.platypus-light .mat-elevation-z13{box-shadow:0 7px 8px -4px #0003,0 13px 19px 2px #00000024,0 5px 24px 4px #0000001f}.platypus-light .mat-elevation-z14{box-shadow:0 7px 9px -4px #0003,0 14px 21px 2px #00000024,0 5px 26px 4px #0000001f}.platypus-light .mat-elevation-z15{box-shadow:0 8px 9px -5px #0003,0 15px 22px 2px #00000024,0 6px 28px 5px #0000001f}.platypus-light .mat-elevation-z16{box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f}.platypus-light .mat-elevation-z17{box-shadow:0 8px 11px -5px #0003,0 17px 26px 2px #00000024,0 6px 32px 5px #0000001f}.platypus-light .mat-elevation-z18{box-shadow:0 9px 11px -5px #0003,0 18px 28px 2px #00000024,0 7px 34px 6px #0000001f}.platypus-light .mat-elevation-z19{box-shadow:0 9px 12px -6px #0003,0 19px 29px 2px #00000024,0 7px 36px 6px #0000001f}.platypus-light .mat-elevation-z20{box-shadow:0 10px 13px -6px #0003,0 20px 31px 3px #00000024,0 8px 38px 7px #0000001f}.platypus-light .mat-elevation-z21{box-shadow:0 10px 13px -6px #0003,0 21px 33px 3px #00000024,0 8px 40px 7px #0000001f}.platypus-light .mat-elevation-z22{box-shadow:0 10px 14px -6px #0003,0 22px 35px 3px #00000024,0 8px 42px 7px #0000001f}.platypus-light .mat-elevation-z23{box-shadow:0 11px 14px -7px #0003,0 23px 36px 3px #00000024,0 9px 44px 8px #0000001f}.platypus-light .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}.platypus-light .mat-autocomplete-panel{background:#8cc8c8;color:#000000de}.platypus-light .mat-autocomplete-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.platypus-light .mat-autocomplete-panel .mat-option.mat-selected:not(.mat-active):not(:hover){background:#8cc8c8}.platypus-light .mat-autocomplete-panel .mat-option.mat-selected:not(.mat-active):not(:hover):not(.mat-option-disabled){color:#000000de}.platypus-light .mat-badge-content{color:#fff;background:#009688}.cdk-high-contrast-active .platypus-light .mat-badge-content{outline:solid 1px;border-radius:0}.platypus-light .mat-badge-accent .mat-badge-content{background:#ffab40;color:#000000de}.platypus-light .mat-badge-warn .mat-badge-content{color:#fff;background:#f44336}.platypus-light .mat-badge-disabled .mat-badge-content{background:#126b6b;color:#00000061}.platypus-light .mat-bottom-sheet-container{box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f;background:#8cc8c8;color:#000000de}.platypus-light .mat-button,.platypus-light .mat-icon-button,.platypus-light .mat-stroked-button{color:inherit;background:transparent}.platypus-light .mat-button.mat-primary,.platypus-light .mat-icon-button.mat-primary,.platypus-light .mat-stroked-button.mat-primary{color:#009688}.platypus-light .mat-button.mat-accent,.platypus-light .mat-icon-button.mat-accent,.platypus-light .mat-stroked-button.mat-accent{color:#ffab40}.platypus-light .mat-button.mat-warn,.platypus-light .mat-icon-button.mat-warn,.platypus-light .mat-stroked-button.mat-warn{color:#f44336}.platypus-light .mat-button.mat-primary.mat-button-disabled,.platypus-light .mat-button.mat-accent.mat-button-disabled,.platypus-light .mat-button.mat-warn.mat-button-disabled,.platypus-light .mat-button.mat-button-disabled.mat-button-disabled,.platypus-light .mat-icon-button.mat-primary.mat-button-disabled,.platypus-light .mat-icon-button.mat-accent.mat-button-disabled,.platypus-light .mat-icon-button.mat-warn.mat-button-disabled,.platypus-light .mat-icon-button.mat-button-disabled.mat-button-disabled,.platypus-light .mat-stroked-button.mat-primary.mat-button-disabled,.platypus-light .mat-stroked-button.mat-accent.mat-button-disabled,.platypus-light .mat-stroked-button.mat-warn.mat-button-disabled,.platypus-light .mat-stroked-button.mat-button-disabled.mat-button-disabled{color:#00000042}.platypus-light .mat-button.mat-primary .mat-button-focus-overlay,.platypus-light .mat-icon-button.mat-primary .mat-button-focus-overlay,.platypus-light .mat-stroked-button.mat-primary .mat-button-focus-overlay{background-color:#009688}.platypus-light .mat-button.mat-accent .mat-button-focus-overlay,.platypus-light .mat-icon-button.mat-accent .mat-button-focus-overlay,.platypus-light .mat-stroked-button.mat-accent .mat-button-focus-overlay{background-color:#ffab40}.platypus-light .mat-button.mat-warn .mat-button-focus-overlay,.platypus-light .mat-icon-button.mat-warn .mat-button-focus-overlay,.platypus-light .mat-stroked-button.mat-warn .mat-button-focus-overlay{background-color:#f44336}.platypus-light .mat-button.mat-button-disabled .mat-button-focus-overlay,.platypus-light .mat-icon-button.mat-button-disabled .mat-button-focus-overlay,.platypus-light .mat-stroked-button.mat-button-disabled .mat-button-focus-overlay{background-color:transparent}.platypus-light .mat-button .mat-ripple-element,.platypus-light .mat-icon-button .mat-ripple-element,.platypus-light .mat-stroked-button .mat-ripple-element{opacity:.1;background-color:currentColor}.platypus-light .mat-button-focus-overlay{background:black}.platypus-light .mat-stroked-button:not(.mat-button-disabled){border-color:#0000001f}.platypus-light .mat-flat-button,.platypus-light .mat-raised-button,.platypus-light .mat-fab,.platypus-light .mat-mini-fab{color:#000000de;background-color:#8cc8c8}.platypus-light .mat-flat-button.mat-primary,.platypus-light .mat-raised-button.mat-primary,.platypus-light .mat-fab.mat-primary,.platypus-light .mat-mini-fab.mat-primary{color:#fff}.platypus-light .mat-flat-button.mat-accent,.platypus-light .mat-raised-button.mat-accent,.platypus-light .mat-fab.mat-accent,.platypus-light .mat-mini-fab.mat-accent{color:#000000de}.platypus-light .mat-flat-button.mat-warn,.platypus-light .mat-raised-button.mat-warn,.platypus-light .mat-fab.mat-warn,.platypus-light .mat-mini-fab.mat-warn{color:#fff}.platypus-light .mat-flat-button.mat-primary.mat-button-disabled,.platypus-light .mat-flat-button.mat-accent.mat-button-disabled,.platypus-light .mat-flat-button.mat-warn.mat-button-disabled,.platypus-light .mat-flat-button.mat-button-disabled.mat-button-disabled,.platypus-light .mat-raised-button.mat-primary.mat-button-disabled,.platypus-light .mat-raised-button.mat-accent.mat-button-disabled,.platypus-light .mat-raised-button.mat-warn.mat-button-disabled,.platypus-light .mat-raised-button.mat-button-disabled.mat-button-disabled,.platypus-light .mat-fab.mat-primary.mat-button-disabled,.platypus-light .mat-fab.mat-accent.mat-button-disabled,.platypus-light .mat-fab.mat-warn.mat-button-disabled,.platypus-light .mat-fab.mat-button-disabled.mat-button-disabled,.platypus-light .mat-mini-fab.mat-primary.mat-button-disabled,.platypus-light .mat-mini-fab.mat-accent.mat-button-disabled,.platypus-light .mat-mini-fab.mat-warn.mat-button-disabled,.platypus-light .mat-mini-fab.mat-button-disabled.mat-button-disabled{color:#00000042}.platypus-light .mat-flat-button.mat-primary,.platypus-light .mat-raised-button.mat-primary,.platypus-light .mat-fab.mat-primary,.platypus-light .mat-mini-fab.mat-primary{background-color:#009688}.platypus-light .mat-flat-button.mat-accent,.platypus-light .mat-raised-button.mat-accent,.platypus-light .mat-fab.mat-accent,.platypus-light .mat-mini-fab.mat-accent{background-color:#ffab40}.platypus-light .mat-flat-button.mat-warn,.platypus-light .mat-raised-button.mat-warn,.platypus-light .mat-fab.mat-warn,.platypus-light .mat-mini-fab.mat-warn{background-color:#f44336}.platypus-light .mat-flat-button.mat-primary.mat-button-disabled,.platypus-light .mat-flat-button.mat-accent.mat-button-disabled,.platypus-light .mat-flat-button.mat-warn.mat-button-disabled,.platypus-light .mat-flat-button.mat-button-disabled.mat-button-disabled,.platypus-light .mat-raised-button.mat-primary.mat-button-disabled,.platypus-light .mat-raised-button.mat-accent.mat-button-disabled,.platypus-light .mat-raised-button.mat-warn.mat-button-disabled,.platypus-light .mat-raised-button.mat-button-disabled.mat-button-disabled,.platypus-light .mat-fab.mat-primary.mat-button-disabled,.platypus-light .mat-fab.mat-accent.mat-button-disabled,.platypus-light .mat-fab.mat-warn.mat-button-disabled,.platypus-light .mat-fab.mat-button-disabled.mat-button-disabled,.platypus-light .mat-mini-fab.mat-primary.mat-button-disabled,.platypus-light .mat-mini-fab.mat-accent.mat-button-disabled,.platypus-light .mat-mini-fab.mat-warn.mat-button-disabled,.platypus-light .mat-mini-fab.mat-button-disabled.mat-button-disabled{background-color:#0000001f}.platypus-light .mat-flat-button.mat-primary .mat-ripple-element,.platypus-light .mat-raised-button.mat-primary .mat-ripple-element,.platypus-light .mat-fab.mat-primary .mat-ripple-element,.platypus-light .mat-mini-fab.mat-primary .mat-ripple-element{background-color:#ffffff1a}.platypus-light .mat-flat-button.mat-accent .mat-ripple-element,.platypus-light .mat-raised-button.mat-accent .mat-ripple-element,.platypus-light .mat-fab.mat-accent .mat-ripple-element,.platypus-light .mat-mini-fab.mat-accent .mat-ripple-element{background-color:#0000001a}.platypus-light .mat-flat-button.mat-warn .mat-ripple-element,.platypus-light .mat-raised-button.mat-warn .mat-ripple-element,.platypus-light .mat-fab.mat-warn .mat-ripple-element,.platypus-light .mat-mini-fab.mat-warn .mat-ripple-element{background-color:#ffffff1a}.platypus-light .mat-stroked-button:not([class*=mat-elevation-z]),.platypus-light .mat-flat-button:not([class*=mat-elevation-z]){box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.platypus-light .mat-raised-button:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.platypus-light .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}.platypus-light .mat-raised-button.mat-button-disabled:not([class*=mat-elevation-z]){box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.platypus-light .mat-fab:not([class*=mat-elevation-z]),.platypus-light .mat-mini-fab:not([class*=mat-elevation-z]){box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.platypus-light .mat-fab:not(.mat-button-disabled):active:not([class*=mat-elevation-z]),.platypus-light .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}.platypus-light .mat-fab.mat-button-disabled:not([class*=mat-elevation-z]),.platypus-light .mat-mini-fab.mat-button-disabled:not([class*=mat-elevation-z]){box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.platypus-light .mat-button-toggle-standalone:not([class*=mat-elevation-z]),.platypus-light .mat-button-toggle-group:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.platypus-light .mat-button-toggle-standalone.mat-button-toggle-appearance-standard:not([class*=mat-elevation-z]),.platypus-light .mat-button-toggle-group-appearance-standard:not([class*=mat-elevation-z]){box-shadow:none}.platypus-light .mat-button-toggle{color:#00000061}.platypus-light .mat-button-toggle .mat-button-toggle-focus-overlay{background-color:#0000000f}.platypus-light .mat-button-toggle-appearance-standard{color:#000000de;background:#8cc8c8}.platypus-light .mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{background-color:#000}.platypus-light .mat-button-toggle-group-appearance-standard .mat-button-toggle+.mat-button-toggle{border-left:solid 1px #7bb0b0}.platypus-light [dir=rtl] .mat-button-toggle-group-appearance-standard .mat-button-toggle+.mat-button-toggle{border-left:none;border-right:solid 1px #7bb0b0}.platypus-light .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 #7bb0b0}.platypus-light .mat-button-toggle-checked{background-color:#5db1b1;color:#0000008a}.platypus-light .mat-button-toggle-checked.mat-button-toggle-appearance-standard{color:#000000de}.platypus-light .mat-button-toggle-disabled{color:#00000042;background-color:#8cc8c8}.platypus-light .mat-button-toggle-disabled.mat-button-toggle-appearance-standard{background:#8cc8c8}.platypus-light .mat-button-toggle-disabled.mat-button-toggle-checked{background-color:#3ba1a1}.platypus-light .mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.platypus-light .mat-button-toggle-group-appearance-standard{border:solid 1px #7bb0b0}.platypus-light .mat-card{background:#8cc8c8;color:#000000de}.platypus-light .mat-card:not([class*=mat-elevation-z]){box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f}.platypus-light .mat-card.mat-card-flat:not([class*=mat-elevation-z]){box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.platypus-light .mat-card-subtitle{color:#0000008a}.platypus-light .mat-checkbox-frame{border-color:#0000008a}.platypus-light .mat-checkbox-checkmark{fill:#189090}.platypus-light .mat-checkbox-checkmark-path{stroke:#189090!important}.platypus-light .mat-checkbox-mixedmark{background-color:#189090}.platypus-light .mat-checkbox-indeterminate.mat-primary .mat-checkbox-background,.platypus-light .mat-checkbox-checked.mat-primary .mat-checkbox-background{background-color:#009688}.platypus-light .mat-checkbox-indeterminate.mat-accent .mat-checkbox-background,.platypus-light .mat-checkbox-checked.mat-accent .mat-checkbox-background{background-color:#ffab40}.platypus-light .mat-checkbox-indeterminate.mat-warn .mat-checkbox-background,.platypus-light .mat-checkbox-checked.mat-warn .mat-checkbox-background{background-color:#f44336}.platypus-light .mat-checkbox-disabled.mat-checkbox-checked .mat-checkbox-background,.platypus-light .mat-checkbox-disabled.mat-checkbox-indeterminate .mat-checkbox-background{background-color:#b0b0b0}.platypus-light .mat-checkbox-disabled:not(.mat-checkbox-checked) .mat-checkbox-frame{border-color:#b0b0b0}.platypus-light .mat-checkbox-disabled .mat-checkbox-label{color:#00000061}.platypus-light .mat-checkbox .mat-ripple-element{background-color:#000}.platypus-light .mat-checkbox-checked:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element,.platypus-light .mat-checkbox:active:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element{background:#009688}.platypus-light .mat-checkbox-checked:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element,.platypus-light .mat-checkbox:active:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element{background:#ffab40}.platypus-light .mat-checkbox-checked:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element,.platypus-light .mat-checkbox:active:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element{background:#f44336}.platypus-light .mat-chip.mat-standard-chip{background-color:#5db1b1;color:#000000de}.platypus-light .mat-chip.mat-standard-chip .mat-chip-remove{color:#000000de;opacity:.4}.platypus-light .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}.platypus-light .mat-chip.mat-standard-chip:not(.mat-chip-disabled) .mat-chip-remove:hover{opacity:.54}.platypus-light .mat-chip.mat-standard-chip.mat-chip-disabled{opacity:.4}.platypus-light .mat-chip.mat-standard-chip:after{background:black}.platypus-light .mat-chip.mat-standard-chip.mat-chip-selected.mat-primary{background-color:#009688;color:#fff}.platypus-light .mat-chip.mat-standard-chip.mat-chip-selected.mat-primary .mat-chip-remove{color:#fff;opacity:.4}.platypus-light .mat-chip.mat-standard-chip.mat-chip-selected.mat-primary .mat-ripple-element{background-color:#ffffff1a}.platypus-light .mat-chip.mat-standard-chip.mat-chip-selected.mat-warn{background-color:#f44336;color:#fff}.platypus-light .mat-chip.mat-standard-chip.mat-chip-selected.mat-warn .mat-chip-remove{color:#fff;opacity:.4}.platypus-light .mat-chip.mat-standard-chip.mat-chip-selected.mat-warn .mat-ripple-element{background-color:#ffffff1a}.platypus-light .mat-chip.mat-standard-chip.mat-chip-selected.mat-accent{background-color:#ffab40;color:#000000de}.platypus-light .mat-chip.mat-standard-chip.mat-chip-selected.mat-accent .mat-chip-remove{color:#000000de;opacity:.4}.platypus-light .mat-chip.mat-standard-chip.mat-chip-selected.mat-accent .mat-ripple-element{background-color:#0000001a}.platypus-light .mat-table{background:#8cc8c8}.platypus-light .mat-table thead,.platypus-light .mat-table tbody,.platypus-light .mat-table tfoot,.platypus-light mat-header-row,.platypus-light mat-row,.platypus-light mat-footer-row,.platypus-light [mat-header-row],.platypus-light [mat-row],.platypus-light [mat-footer-row],.platypus-light .mat-table-sticky{background:inherit}.platypus-light mat-row,.platypus-light mat-header-row,.platypus-light mat-footer-row,.platypus-light th.mat-header-cell,.platypus-light td.mat-cell,.platypus-light td.mat-footer-cell{border-bottom-color:#0000001f}.platypus-light .mat-header-cell{color:#0000008a}.platypus-light .mat-cell,.platypus-light .mat-footer-cell{color:#000000de}.platypus-light .mat-calendar-arrow{fill:#0000008a}.platypus-light .mat-datepicker-toggle,.platypus-light .mat-datepicker-content .mat-calendar-next-button,.platypus-light .mat-datepicker-content .mat-calendar-previous-button{color:#0000008a}.platypus-light .mat-calendar-table-header-divider:after{background:rgba(0,0,0,.12)}.platypus-light .mat-calendar-table-header,.platypus-light .mat-calendar-body-label{color:#0000008a}.platypus-light .mat-calendar-body-cell-content,.platypus-light .mat-date-range-input-separator{color:#000000de;border-color:transparent}.platypus-light .mat-calendar-body-disabled>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){color:#00000061}.platypus-light .mat-form-field-disabled .mat-date-range-input-separator{color:#00000061}.platypus-light .mat-calendar-body-in-preview{color:#0000003d}.platypus-light .mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:#00000061}.platypus-light .mat-calendar-body-disabled>.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:#0000002e}.platypus-light .mat-calendar-body-in-range:before{background:rgba(0,150,136,.2)}.platypus-light .mat-calendar-body-comparison-identical,.platypus-light .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.platypus-light .mat-calendar-body-comparison-bridge-start:before,.platypus-light [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(to right,rgba(0,150,136,.2) 50%,rgba(249,171,0,.2) 50%)}.platypus-light .mat-calendar-body-comparison-bridge-end:before,.platypus-light [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(to left,rgba(0,150,136,.2) 50%,rgba(249,171,0,.2) 50%)}.platypus-light .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.platypus-light .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after{background:#a8dab5}.platypus-light .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.platypus-light .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.platypus-light .mat-calendar-body-selected{background-color:#009688;color:#fff}.platypus-light .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:#00968866}.platypus-light .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.platypus-light .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.platypus-light .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:#0096884d}@media (hover: hover){.platypus-light .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:#0096884d}}.platypus-light .mat-datepicker-content{box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f;background-color:#8cc8c8;color:#000000de}.platypus-light .mat-datepicker-content.mat-accent .mat-calendar-body-in-range:before{background:rgba(255,171,64,.2)}.platypus-light .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-identical,.platypus-light .mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.platypus-light .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-bridge-start:before,.platypus-light .mat-datepicker-content.mat-accent [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(to right,rgba(255,171,64,.2) 50%,rgba(249,171,0,.2) 50%)}.platypus-light .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-bridge-end:before,.platypus-light .mat-datepicker-content.mat-accent [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(to left,rgba(255,171,64,.2) 50%,rgba(249,171,0,.2) 50%)}.platypus-light .mat-datepicker-content.mat-accent .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.platypus-light .mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after{background:#a8dab5}.platypus-light .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.platypus-light .mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.platypus-light .mat-datepicker-content.mat-accent .mat-calendar-body-selected{background-color:#ffab40;color:#000000de}.platypus-light .mat-datepicker-content.mat-accent .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:#ffab4066}.platypus-light .mat-datepicker-content.mat-accent .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #000000de}.platypus-light .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),.platypus-light .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:#ffab404d}@media (hover: hover){.platypus-light .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:#ffab404d}}.platypus-light .mat-datepicker-content.mat-warn .mat-calendar-body-in-range:before{background:rgba(244,67,54,.2)}.platypus-light .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-identical,.platypus-light .mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.platypus-light .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-bridge-start:before,.platypus-light .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%)}.platypus-light .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-bridge-end:before,.platypus-light .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%)}.platypus-light .mat-datepicker-content.mat-warn .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.platypus-light .mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after{background:#a8dab5}.platypus-light .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.platypus-light .mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.platypus-light .mat-datepicker-content.mat-warn .mat-calendar-body-selected{background-color:#f44336;color:#fff}.platypus-light .mat-datepicker-content.mat-warn .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:#f4433666}.platypus-light .mat-datepicker-content.mat-warn .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.platypus-light .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),.platypus-light .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){.platypus-light .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}}.platypus-light .mat-datepicker-content-touch{box-shadow:0 11px 15px -7px #0003,0 24px 38px 3px #00000024,0 9px 46px 8px #0000001f}.platypus-light .mat-datepicker-toggle-active{color:#009688}.platypus-light .mat-datepicker-toggle-active.mat-accent{color:#ffab40}.platypus-light .mat-datepicker-toggle-active.mat-warn{color:#f44336}.platypus-light .mat-date-range-input-inner[disabled]{color:#00000061}.platypus-light .mat-dialog-container{box-shadow:0 11px 15px -7px #0003,0 24px 38px 3px #00000024,0 9px 46px 8px #0000001f;background:#8cc8c8;color:#000000de}.platypus-light .mat-divider{border-top-color:#0000001f}.platypus-light .mat-divider-vertical{border-right-color:#0000001f}.platypus-light .mat-expansion-panel{background:#8cc8c8;color:#000000de}.platypus-light .mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.platypus-light .mat-action-row{border-top-color:#0000001f}.platypus-light .mat-expansion-panel .mat-expansion-panel-header.cdk-keyboard-focused:not([aria-disabled=true]),.platypus-light .mat-expansion-panel .mat-expansion-panel-header.cdk-program-focused:not([aria-disabled=true]),.platypus-light .mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:hover:not([aria-disabled=true]){background:rgba(0,0,0,.04)}@media (hover: none){.platypus-light .mat-expansion-panel:not(.mat-expanded):not([aria-disabled=true]) .mat-expansion-panel-header:hover{background:#8cc8c8}}.platypus-light .mat-expansion-panel-header-title{color:#000000de}.platypus-light .mat-expansion-panel-header-description,.platypus-light .mat-expansion-indicator:after{color:#0000008a}.platypus-light .mat-expansion-panel-header[aria-disabled=true]{color:#00000042}.platypus-light .mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-title,.platypus-light .mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-description{color:inherit}.platypus-light .mat-form-field-label,.platypus-light .mat-hint{color:#0009}.platypus-light .mat-form-field.mat-focused .mat-form-field-label{color:#009688}.platypus-light .mat-form-field.mat-focused .mat-form-field-label.mat-accent{color:#ffab40}.platypus-light .mat-form-field.mat-focused .mat-form-field-label.mat-warn{color:#f44336}.platypus-light .mat-focused .mat-form-field-required-marker{color:#ffab40}.platypus-light .mat-form-field-ripple{background-color:#000000de}.platypus-light .mat-form-field.mat-focused .mat-form-field-ripple{background-color:#009688}.platypus-light .mat-form-field.mat-focused .mat-form-field-ripple.mat-accent{background-color:#ffab40}.platypus-light .mat-form-field.mat-focused .mat-form-field-ripple.mat-warn{background-color:#f44336}.platypus-light .mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid) .mat-form-field-infix:after{color:#009688}.platypus-light .mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid).mat-accent .mat-form-field-infix:after{color:#ffab40}.platypus-light .mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid).mat-warn .mat-form-field-infix:after{color:#f44336}.platypus-light .mat-form-field.mat-form-field-invalid .mat-form-field-label,.platypus-light .mat-form-field.mat-form-field-invalid .mat-form-field-label.mat-accent,.platypus-light .mat-form-field.mat-form-field-invalid .mat-form-field-label .mat-form-field-required-marker{color:#f44336}.platypus-light .mat-form-field.mat-form-field-invalid .mat-form-field-ripple,.platypus-light .mat-form-field.mat-form-field-invalid .mat-form-field-ripple.mat-accent{background-color:#f44336}.platypus-light .mat-error{color:#f44336}.platypus-light .mat-form-field-appearance-legacy .mat-form-field-label,.platypus-light .mat-form-field-appearance-legacy .mat-hint{color:#0000008a}.platypus-light .mat-form-field-appearance-legacy .mat-form-field-underline{background-color:#0000006b}.platypus-light .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}.platypus-light .mat-form-field-appearance-standard .mat-form-field-underline{background-color:#0000006b}.platypus-light .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}.platypus-light .mat-form-field-appearance-fill .mat-form-field-flex{background-color:#0000000a}.platypus-light .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-flex{background-color:#00000005}.platypus-light .mat-form-field-appearance-fill .mat-form-field-underline:before{background-color:#0000006b}.platypus-light .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-label{color:#00000061}.platypus-light .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-underline:before{background-color:transparent}.platypus-light .mat-form-field-appearance-outline .mat-form-field-outline{color:#0000001f}.platypus-light .mat-form-field-appearance-outline .mat-form-field-outline-thick{color:#000000de}.platypus-light .mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick{color:#009688}.platypus-light .mat-form-field-appearance-outline.mat-focused.mat-accent .mat-form-field-outline-thick{color:#ffab40}.platypus-light .mat-form-field-appearance-outline.mat-focused.mat-warn .mat-form-field-outline-thick,.platypus-light .mat-form-field-appearance-outline.mat-form-field-invalid.mat-form-field-invalid .mat-form-field-outline-thick{color:#f44336}.platypus-light .mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-label{color:#00000061}.platypus-light .mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-outline{color:#0000000f}.platypus-light .mat-icon.mat-primary{color:#009688}.platypus-light .mat-icon.mat-accent{color:#ffab40}.platypus-light .mat-icon.mat-warn{color:#f44336}.platypus-light .mat-form-field-type-mat-native-select .mat-form-field-infix:after{color:#0000008a}.platypus-light .mat-input-element:disabled,.platypus-light .mat-form-field-type-mat-native-select.mat-form-field-disabled .mat-form-field-infix:after{color:#00000061}.platypus-light .mat-input-element{caret-color:#009688}.platypus-light .mat-input-element::placeholder{color:#0000006b}.platypus-light .mat-input-element::-moz-placeholder{color:#0000006b}.platypus-light .mat-input-element::-webkit-input-placeholder{color:#0000006b}.platypus-light .mat-input-element:-ms-input-placeholder{color:#0000006b}.platypus-light .mat-form-field.mat-accent .mat-input-element{caret-color:#ffab40}.platypus-light .mat-form-field.mat-warn .mat-input-element,.platypus-light .mat-form-field-invalid .mat-input-element{caret-color:#f44336}.platypus-light .mat-form-field-type-mat-native-select.mat-form-field-invalid .mat-form-field-infix:after{color:#f44336}.platypus-light .mat-list-base .mat-list-item,.platypus-light .mat-list-base .mat-list-option{color:#000000de}.platypus-light .mat-list-base .mat-subheader{color:#0000008a}.platypus-light .mat-list-base .mat-list-item-disabled{background-color:#8cc8c8;color:#00000061}.platypus-light .mat-list-option:hover,.platypus-light .mat-list-option:focus,.platypus-light .mat-nav-list .mat-list-item:hover,.platypus-light .mat-nav-list .mat-list-item:focus,.platypus-light .mat-action-list .mat-list-item:hover,.platypus-light .mat-action-list .mat-list-item:focus{background:rgba(0,0,0,.04)}.platypus-light .mat-list-single-selected-option,.platypus-light .mat-list-single-selected-option:hover,.platypus-light .mat-list-single-selected-option:focus{background:rgba(0,0,0,.12)}.platypus-light .mat-menu-panel{background:#8cc8c8}.platypus-light .mat-menu-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.platypus-light .mat-menu-item{background:transparent;color:#000000de}.platypus-light .mat-menu-item[disabled],.platypus-light .mat-menu-item[disabled] .mat-menu-submenu-icon,.platypus-light .mat-menu-item[disabled] .mat-icon-no-color{color:#00000061}.platypus-light .mat-menu-item .mat-icon-no-color,.platypus-light .mat-menu-submenu-icon{color:#0000008a}.platypus-light .mat-menu-item:hover:not([disabled]),.platypus-light .mat-menu-item.cdk-program-focused:not([disabled]),.platypus-light .mat-menu-item.cdk-keyboard-focused:not([disabled]),.platypus-light .mat-menu-item-highlighted:not([disabled]){background:rgba(0,0,0,.04)}.platypus-light .mat-paginator{background:#8cc8c8}.platypus-light .mat-paginator,.platypus-light .mat-paginator-page-size .mat-select-trigger{color:#0000008a}.platypus-light .mat-paginator-decrement,.platypus-light .mat-paginator-increment{border-top:2px solid rgba(0,0,0,.54);border-right:2px solid rgba(0,0,0,.54)}.platypus-light .mat-paginator-first,.platypus-light .mat-paginator-last{border-top:2px solid rgba(0,0,0,.54)}.platypus-light .mat-icon-button[disabled] .mat-paginator-decrement,.platypus-light .mat-icon-button[disabled] .mat-paginator-increment,.platypus-light .mat-icon-button[disabled] .mat-paginator-first,.platypus-light .mat-icon-button[disabled] .mat-paginator-last{border-color:#00000061}.platypus-light .mat-progress-bar-background{fill:#12928e}.platypus-light .mat-progress-bar-buffer{background-color:#12928e}.platypus-light .mat-progress-bar-fill:after{background-color:#009688}.platypus-light .mat-progress-bar.mat-accent .mat-progress-bar-background{fill:#52977c}.platypus-light .mat-progress-bar.mat-accent .mat-progress-bar-buffer{background-color:#52977c}.platypus-light .mat-progress-bar.mat-accent .mat-progress-bar-fill:after{background-color:#ffab40}.platypus-light .mat-progress-bar.mat-warn .mat-progress-bar-background{fill:#4f7d7a}.platypus-light .mat-progress-bar.mat-warn .mat-progress-bar-buffer{background-color:#4f7d7a}.platypus-light .mat-progress-bar.mat-warn .mat-progress-bar-fill:after{background-color:#f44336}.platypus-light .mat-progress-spinner circle,.platypus-light .mat-spinner circle{stroke:#009688}.platypus-light .mat-progress-spinner.mat-accent circle,.platypus-light .mat-spinner.mat-accent circle{stroke:#ffab40}.platypus-light .mat-progress-spinner.mat-warn circle,.platypus-light .mat-spinner.mat-warn circle{stroke:#f44336}.platypus-light .mat-radio-outer-circle{border-color:#0000008a}.platypus-light .mat-radio-button.mat-primary.mat-radio-checked .mat-radio-outer-circle{border-color:#009688}.platypus-light .mat-radio-button.mat-primary .mat-radio-inner-circle,.platypus-light .mat-radio-button.mat-primary .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.platypus-light .mat-radio-button.mat-primary.mat-radio-checked .mat-radio-persistent-ripple,.platypus-light .mat-radio-button.mat-primary:active .mat-radio-persistent-ripple{background-color:#009688}.platypus-light .mat-radio-button.mat-accent.mat-radio-checked .mat-radio-outer-circle{border-color:#ffab40}.platypus-light .mat-radio-button.mat-accent .mat-radio-inner-circle,.platypus-light .mat-radio-button.mat-accent .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.platypus-light .mat-radio-button.mat-accent.mat-radio-checked .mat-radio-persistent-ripple,.platypus-light .mat-radio-button.mat-accent:active .mat-radio-persistent-ripple{background-color:#ffab40}.platypus-light .mat-radio-button.mat-warn.mat-radio-checked .mat-radio-outer-circle{border-color:#f44336}.platypus-light .mat-radio-button.mat-warn .mat-radio-inner-circle,.platypus-light .mat-radio-button.mat-warn .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.platypus-light .mat-radio-button.mat-warn.mat-radio-checked .mat-radio-persistent-ripple,.platypus-light .mat-radio-button.mat-warn:active .mat-radio-persistent-ripple{background-color:#f44336}.platypus-light .mat-radio-button.mat-radio-disabled.mat-radio-checked .mat-radio-outer-circle,.platypus-light .mat-radio-button.mat-radio-disabled .mat-radio-outer-circle{border-color:#00000061}.platypus-light .mat-radio-button.mat-radio-disabled .mat-radio-ripple .mat-ripple-element,.platypus-light .mat-radio-button.mat-radio-disabled .mat-radio-inner-circle{background-color:#00000061}.platypus-light .mat-radio-button.mat-radio-disabled .mat-radio-label-content{color:#00000061}.platypus-light .mat-radio-button .mat-ripple-element{background-color:#000}.platypus-light .mat-select-value{color:#000000de}.platypus-light .mat-select-placeholder{color:#0000006b}.platypus-light .mat-select-disabled .mat-select-value{color:#00000061}.platypus-light .mat-select-arrow{color:#0000008a}.platypus-light .mat-select-panel{background:#8cc8c8}.platypus-light .mat-select-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.platypus-light .mat-select-panel .mat-option.mat-selected:not(.mat-option-multiple){background:rgba(0,0,0,.12)}.platypus-light .mat-form-field.mat-focused.mat-primary .mat-select-arrow{color:#009688}.platypus-light .mat-form-field.mat-focused.mat-accent .mat-select-arrow{color:#ffab40}.platypus-light .mat-form-field.mat-focused.mat-warn .mat-select-arrow,.platypus-light .mat-form-field .mat-select.mat-select-invalid .mat-select-arrow{color:#f44336}.platypus-light .mat-form-field .mat-select.mat-select-disabled .mat-select-arrow{color:#00000061}.platypus-light .mat-drawer-container{background-color:#189090;color:#000000de}.platypus-light .mat-drawer{background-color:#8cc8c8;color:#000000de}.platypus-light .mat-drawer.mat-drawer-push{background-color:#8cc8c8}.platypus-light .mat-drawer:not(.mat-drawer-side){box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f}.platypus-light .mat-drawer-side{border-right:solid 1px rgba(0,0,0,.12)}.platypus-light .mat-drawer-side.mat-drawer-end,.platypus-light [dir=rtl] .mat-drawer-side{border-left:solid 1px rgba(0,0,0,.12);border-right:none}.platypus-light [dir=rtl] .mat-drawer-side.mat-drawer-end{border-left:none;border-right:solid 1px rgba(0,0,0,.12)}.platypus-light .mat-drawer-backdrop.mat-drawer-shown{background-color:#73373799}.platypus-light .mat-slide-toggle.mat-checked .mat-slide-toggle-thumb{background-color:#ffab40}.platypus-light .mat-slide-toggle.mat-checked .mat-slide-toggle-bar{background-color:#ffab408a}.platypus-light .mat-slide-toggle.mat-checked .mat-ripple-element{background-color:#ffab40}.platypus-light .mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-thumb{background-color:#009688}.platypus-light .mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-bar{background-color:#0096888a}.platypus-light .mat-slide-toggle.mat-primary.mat-checked .mat-ripple-element{background-color:#009688}.platypus-light .mat-slide-toggle.mat-warn.mat-checked .mat-slide-toggle-thumb{background-color:#f44336}.platypus-light .mat-slide-toggle.mat-warn.mat-checked .mat-slide-toggle-bar{background-color:#f443368a}.platypus-light .mat-slide-toggle.mat-warn.mat-checked .mat-ripple-element{background-color:#f44336}.platypus-light .mat-slide-toggle:not(.mat-checked) .mat-ripple-element{background-color:#000}.platypus-light .mat-slide-toggle-thumb{box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f;background-color:#fafafa}.platypus-light .mat-slide-toggle-bar{background-color:#00000061}.platypus-light .mat-slider-track-background{background-color:#00000042}.platypus-light .mat-slider.mat-primary .mat-slider-track-fill,.platypus-light .mat-slider.mat-primary .mat-slider-thumb,.platypus-light .mat-slider.mat-primary .mat-slider-thumb-label{background-color:#009688}.platypus-light .mat-slider.mat-primary .mat-slider-thumb-label-text{color:#fff}.platypus-light .mat-slider.mat-primary .mat-slider-focus-ring{background-color:#00968833}.platypus-light .mat-slider.mat-accent .mat-slider-track-fill,.platypus-light .mat-slider.mat-accent .mat-slider-thumb,.platypus-light .mat-slider.mat-accent .mat-slider-thumb-label{background-color:#ffab40}.platypus-light .mat-slider.mat-accent .mat-slider-thumb-label-text{color:#000000de}.platypus-light .mat-slider.mat-accent .mat-slider-focus-ring{background-color:#ffab4033}.platypus-light .mat-slider.mat-warn .mat-slider-track-fill,.platypus-light .mat-slider.mat-warn .mat-slider-thumb,.platypus-light .mat-slider.mat-warn .mat-slider-thumb-label{background-color:#f44336}.platypus-light .mat-slider.mat-warn .mat-slider-thumb-label-text{color:#fff}.platypus-light .mat-slider.mat-warn .mat-slider-focus-ring{background-color:#f4433633}.platypus-light .mat-slider:hover .mat-slider-track-background,.platypus-light .mat-slider.cdk-focused .mat-slider-track-background{background-color:#00000061}.platypus-light .mat-slider.mat-slider-disabled .mat-slider-track-background,.platypus-light .mat-slider.mat-slider-disabled .mat-slider-track-fill,.platypus-light .mat-slider.mat-slider-disabled .mat-slider-thumb,.platypus-light .mat-slider.mat-slider-disabled:hover .mat-slider-track-background{background-color:#00000042}.platypus-light .mat-slider.mat-slider-min-value .mat-slider-focus-ring{background-color:#0000001f}.platypus-light .mat-slider.mat-slider-min-value.mat-slider-thumb-label-showing .mat-slider-thumb,.platypus-light .mat-slider.mat-slider-min-value.mat-slider-thumb-label-showing .mat-slider-thumb-label{background-color:#000000de}.platypus-light .mat-slider.mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb,.platypus-light .mat-slider.mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb-label{background-color:#00000042}.platypus-light .mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing) .mat-slider-thumb{border-color:#00000042;background-color:transparent}.platypus-light .mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover .mat-slider-thumb,.platypus-light .mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused .mat-slider-thumb{border-color:#00000061}.platypus-light .mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover.mat-slider-disabled .mat-slider-thumb,.platypus-light .mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused.mat-slider-disabled .mat-slider-thumb{border-color:#00000042}.platypus-light .mat-slider-has-ticks .mat-slider-wrapper:after{border-color:#000000b3}.platypus-light .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)}.platypus-light .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)}.platypus-light .mat-step-header.cdk-keyboard-focused,.platypus-light .mat-step-header.cdk-program-focused,.platypus-light .mat-step-header:hover:not([aria-disabled]),.platypus-light .mat-step-header:hover[aria-disabled=false]{background-color:#0000000a}.platypus-light .mat-step-header:hover[aria-disabled=true]{cursor:default}@media (hover: none){.platypus-light .mat-step-header:hover{background:none}}.platypus-light .mat-step-header .mat-step-label,.platypus-light .mat-step-header .mat-step-optional{color:#0000008a}.platypus-light .mat-step-header .mat-step-icon{background-color:#0000008a;color:#fff}.platypus-light .mat-step-header .mat-step-icon-selected,.platypus-light .mat-step-header .mat-step-icon-state-done,.platypus-light .mat-step-header .mat-step-icon-state-edit{background-color:#009688;color:#fff}.platypus-light .mat-step-header.mat-accent .mat-step-icon{color:#000000de}.platypus-light .mat-step-header.mat-accent .mat-step-icon-selected,.platypus-light .mat-step-header.mat-accent .mat-step-icon-state-done,.platypus-light .mat-step-header.mat-accent .mat-step-icon-state-edit{background-color:#ffab40;color:#000000de}.platypus-light .mat-step-header.mat-warn .mat-step-icon{color:#fff}.platypus-light .mat-step-header.mat-warn .mat-step-icon-selected,.platypus-light .mat-step-header.mat-warn .mat-step-icon-state-done,.platypus-light .mat-step-header.mat-warn .mat-step-icon-state-edit{background-color:#f44336;color:#fff}.platypus-light .mat-step-header .mat-step-icon-state-error{background-color:transparent;color:#f44336}.platypus-light .mat-step-header .mat-step-label.mat-step-label-active{color:#000000de}.platypus-light .mat-step-header .mat-step-label.mat-step-label-error{color:#f44336}.platypus-light .mat-stepper-horizontal,.platypus-light .mat-stepper-vertical{background-color:#8cc8c8}.platypus-light .mat-stepper-vertical-line:before{border-left-color:#0000001f}.platypus-light .mat-horizontal-stepper-header:before,.platypus-light .mat-horizontal-stepper-header:after,.platypus-light .mat-stepper-horizontal-line{border-top-color:#0000001f}.platypus-light .mat-sort-header-arrow{color:#405c5c}.platypus-light .mat-tab-nav-bar,.platypus-light .mat-tab-header{border-bottom:1px solid rgba(0,0,0,.12)}.platypus-light .mat-tab-group-inverted-header .mat-tab-nav-bar,.platypus-light .mat-tab-group-inverted-header .mat-tab-header{border-top:1px solid rgba(0,0,0,.12);border-bottom:none}.platypus-light .mat-tab-label,.platypus-light .mat-tab-link{color:#000000de}.platypus-light .mat-tab-label.mat-tab-disabled,.platypus-light .mat-tab-link.mat-tab-disabled{color:#00000061}.platypus-light .mat-tab-header-pagination-chevron{border-color:#000000de}.platypus-light .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:#00000061}.platypus-light .mat-tab-group[class*=mat-background-]>.mat-tab-header,.platypus-light .mat-tab-nav-bar[class*=mat-background-]{border-bottom:none;border-top:none}.platypus-light .mat-tab-group.mat-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.platypus-light .mat-tab-group.mat-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.platypus-light .mat-tab-group.mat-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.platypus-light .mat-tab-group.mat-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.platypus-light .mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.platypus-light .mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.platypus-light .mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.platypus-light .mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#b2dfdb4d}.platypus-light .mat-tab-group.mat-primary .mat-ink-bar,.platypus-light .mat-tab-nav-bar.mat-primary .mat-ink-bar{background-color:#009688}.platypus-light .mat-tab-group.mat-primary.mat-background-primary>.mat-tab-header .mat-ink-bar,.platypus-light .mat-tab-group.mat-primary.mat-background-primary>.mat-tab-link-container .mat-ink-bar,.platypus-light .mat-tab-nav-bar.mat-primary.mat-background-primary>.mat-tab-header .mat-ink-bar,.platypus-light .mat-tab-nav-bar.mat-primary.mat-background-primary>.mat-tab-link-container .mat-ink-bar{background-color:#fff}.platypus-light .mat-tab-group.mat-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.platypus-light .mat-tab-group.mat-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.platypus-light .mat-tab-group.mat-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.platypus-light .mat-tab-group.mat-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.platypus-light .mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.platypus-light .mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.platypus-light .mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.platypus-light .mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#ffd1804d}.platypus-light .mat-tab-group.mat-accent .mat-ink-bar,.platypus-light .mat-tab-nav-bar.mat-accent .mat-ink-bar{background-color:#ffab40}.platypus-light .mat-tab-group.mat-accent.mat-background-accent>.mat-tab-header .mat-ink-bar,.platypus-light .mat-tab-group.mat-accent.mat-background-accent>.mat-tab-link-container .mat-ink-bar,.platypus-light .mat-tab-nav-bar.mat-accent.mat-background-accent>.mat-tab-header .mat-ink-bar,.platypus-light .mat-tab-nav-bar.mat-accent.mat-background-accent>.mat-tab-link-container .mat-ink-bar{background-color:#000000de}.platypus-light .mat-tab-group.mat-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.platypus-light .mat-tab-group.mat-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.platypus-light .mat-tab-group.mat-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.platypus-light .mat-tab-group.mat-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.platypus-light .mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.platypus-light .mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.platypus-light .mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.platypus-light .mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#ffcdd24d}.platypus-light .mat-tab-group.mat-warn .mat-ink-bar,.platypus-light .mat-tab-nav-bar.mat-warn .mat-ink-bar{background-color:#f44336}.platypus-light .mat-tab-group.mat-warn.mat-background-warn>.mat-tab-header .mat-ink-bar,.platypus-light .mat-tab-group.mat-warn.mat-background-warn>.mat-tab-link-container .mat-ink-bar,.platypus-light .mat-tab-nav-bar.mat-warn.mat-background-warn>.mat-tab-header .mat-ink-bar,.platypus-light .mat-tab-nav-bar.mat-warn.mat-background-warn>.mat-tab-link-container .mat-ink-bar{background-color:#fff}.platypus-light .mat-tab-group.mat-background-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.platypus-light .mat-tab-group.mat-background-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.platypus-light .mat-tab-group.mat-background-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.platypus-light .mat-tab-group.mat-background-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.platypus-light .mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.platypus-light .mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.platypus-light .mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.platypus-light .mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#b2dfdb4d}.platypus-light .mat-tab-group.mat-background-primary>.mat-tab-header,.platypus-light .mat-tab-group.mat-background-primary>.mat-tab-link-container,.platypus-light .mat-tab-group.mat-background-primary>.mat-tab-header-pagination,.platypus-light .mat-tab-nav-bar.mat-background-primary>.mat-tab-header,.platypus-light .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container,.platypus-light .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination{background-color:#009688}.platypus-light .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-label,.platypus-light .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-tab-link,.platypus-light .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-label,.platypus-light .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-tab-link{color:#fff}.platypus-light .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-label.mat-tab-disabled,.platypus-light .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.platypus-light .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-label.mat-tab-disabled,.platypus-light .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:#fff6}.platypus-light .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-chevron,.platypus-light .mat-tab-group.mat-background-primary>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.platypus-light .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-focus-indicator:before,.platypus-light .mat-tab-group.mat-background-primary>.mat-tab-header .mat-focus-indicator:before,.platypus-light .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-chevron,.platypus-light .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.platypus-light .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-focus-indicator:before,.platypus-light .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-focus-indicator:before{border-color:#fff}.platypus-light .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.platypus-light .mat-tab-group.mat-background-primary>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.platypus-light .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.platypus-light .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:#fff;opacity:.4}.platypus-light .mat-tab-group.mat-background-primary>.mat-tab-header .mat-ripple-element,.platypus-light .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-ripple-element,.platypus-light .mat-tab-group.mat-background-primary>.mat-tab-header-pagination .mat-ripple-element,.platypus-light .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-ripple-element,.platypus-light .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-ripple-element,.platypus-light .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination .mat-ripple-element{background-color:#fff;opacity:.12}.platypus-light .mat-tab-group.mat-background-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.platypus-light .mat-tab-group.mat-background-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.platypus-light .mat-tab-group.mat-background-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.platypus-light .mat-tab-group.mat-background-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.platypus-light .mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.platypus-light .mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.platypus-light .mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.platypus-light .mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#ffd1804d}.platypus-light .mat-tab-group.mat-background-accent>.mat-tab-header,.platypus-light .mat-tab-group.mat-background-accent>.mat-tab-link-container,.platypus-light .mat-tab-group.mat-background-accent>.mat-tab-header-pagination,.platypus-light .mat-tab-nav-bar.mat-background-accent>.mat-tab-header,.platypus-light .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container,.platypus-light .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination{background-color:#ffab40}.platypus-light .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-label,.platypus-light .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-tab-link,.platypus-light .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-label,.platypus-light .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-tab-link{color:#000000de}.platypus-light .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-label.mat-tab-disabled,.platypus-light .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.platypus-light .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-label.mat-tab-disabled,.platypus-light .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:#0006}.platypus-light .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-chevron,.platypus-light .mat-tab-group.mat-background-accent>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.platypus-light .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-focus-indicator:before,.platypus-light .mat-tab-group.mat-background-accent>.mat-tab-header .mat-focus-indicator:before,.platypus-light .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-chevron,.platypus-light .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.platypus-light .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-focus-indicator:before,.platypus-light .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-focus-indicator:before{border-color:#000000de}.platypus-light .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.platypus-light .mat-tab-group.mat-background-accent>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.platypus-light .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.platypus-light .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:#000;opacity:.4}.platypus-light .mat-tab-group.mat-background-accent>.mat-tab-header .mat-ripple-element,.platypus-light .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-ripple-element,.platypus-light .mat-tab-group.mat-background-accent>.mat-tab-header-pagination .mat-ripple-element,.platypus-light .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-ripple-element,.platypus-light .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-ripple-element,.platypus-light .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination .mat-ripple-element{background-color:#000;opacity:.12}.platypus-light .mat-tab-group.mat-background-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.platypus-light .mat-tab-group.mat-background-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.platypus-light .mat-tab-group.mat-background-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.platypus-light .mat-tab-group.mat-background-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.platypus-light .mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.platypus-light .mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.platypus-light .mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.platypus-light .mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#ffcdd24d}.platypus-light .mat-tab-group.mat-background-warn>.mat-tab-header,.platypus-light .mat-tab-group.mat-background-warn>.mat-tab-link-container,.platypus-light .mat-tab-group.mat-background-warn>.mat-tab-header-pagination,.platypus-light .mat-tab-nav-bar.mat-background-warn>.mat-tab-header,.platypus-light .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container,.platypus-light .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination{background-color:#f44336}.platypus-light .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-label,.platypus-light .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-tab-link,.platypus-light .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-label,.platypus-light .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-tab-link{color:#fff}.platypus-light .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-label.mat-tab-disabled,.platypus-light .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.platypus-light .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-label.mat-tab-disabled,.platypus-light .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:#fff6}.platypus-light .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-chevron,.platypus-light .mat-tab-group.mat-background-warn>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.platypus-light .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-focus-indicator:before,.platypus-light .mat-tab-group.mat-background-warn>.mat-tab-header .mat-focus-indicator:before,.platypus-light .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-chevron,.platypus-light .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.platypus-light .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-focus-indicator:before,.platypus-light .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-focus-indicator:before{border-color:#fff}.platypus-light .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.platypus-light .mat-tab-group.mat-background-warn>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.platypus-light .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.platypus-light .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:#fff;opacity:.4}.platypus-light .mat-tab-group.mat-background-warn>.mat-tab-header .mat-ripple-element,.platypus-light .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-ripple-element,.platypus-light .mat-tab-group.mat-background-warn>.mat-tab-header-pagination .mat-ripple-element,.platypus-light .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-ripple-element,.platypus-light .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-ripple-element,.platypus-light .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination .mat-ripple-element{background-color:#fff;opacity:.12}.platypus-light .mat-toolbar{background:#badede;color:#000000de}.platypus-light .mat-toolbar.mat-primary{background:#009688;color:#fff}.platypus-light .mat-toolbar.mat-accent{background:#ffab40;color:#000000de}.platypus-light .mat-toolbar.mat-warn{background:#f44336;color:#fff}.platypus-light .mat-toolbar .mat-form-field-underline,.platypus-light .mat-toolbar .mat-form-field-ripple,.platypus-light .mat-toolbar .mat-focused .mat-form-field-ripple{background-color:currentColor}.platypus-light .mat-toolbar .mat-form-field-label,.platypus-light .mat-toolbar .mat-focused .mat-form-field-label,.platypus-light .mat-toolbar .mat-select-value,.platypus-light .mat-toolbar .mat-select-arrow,.platypus-light .mat-toolbar .mat-form-field.mat-focused .mat-select-arrow{color:inherit}.platypus-light .mat-toolbar .mat-input-element{caret-color:currentColor}.platypus-light .mat-tree{background:#8cc8c8}.platypus-light .mat-tree-node,.platypus-light .mat-nested-tree-node{color:#000000de}.platypus-light .mat-snack-bar-container{color:#ffffffb3;background:#323232;box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.platypus-light .mat-simple-snackbar-action{color:#ffab40}.platypus-light .app-defaults{background-color:#189090;color:#000000de}.platypus-light .theme-menu{background-color:#ffab40}.platypus-light .menuBarButtonGroup{background-color:#0000001f}.platypus-light .tabGroups{padding-left:0;min-height:100%;height:100%}.platypus-light .tabGroupPanel{display:block;margin:10px 20px 20px}.platypus-light .formActionFooter{width:100%;text-align:end}.platypus-light .formActionButton{margin-left:10px}.platypus-light .formActionDivider{margin-top:10px;margin-bottom:10px}.platypus-light .as-split-gutter{background-color:transparent!important}.platypus-light .primary{color:#4db6ac}.platypus-light .accent{color:#ffb74d}.platypus-light .warn{color:#e57373}.platypus-light .primaryDark{color:#004d40}.platypus-light .accentDark{color:#e65100}.platypus-light .warnDark{color:#b71c1c}.platypus-light .background{color:#0000001f}.platypus-light .text{color:#000000de}.platypus-light .pathMetaDescription{font:small-caption;color:#00000061}.platypus-light .textGenericWrapper{position:relative;width:100%;height:100%}.platypus-light .canvas-size{position:absolute;top:0;left:0}.platypus-light .warn{color:#f44336}.platypus-light .warn-contrast{color:#fff}.platypus-light DIV.apScreen{display:block;position:relative;width:360px;height:220.5px;margin:auto;text-align:center;border-radius:5px;border:1px solid rgba(0,0,0,.12);background-color:#0000001f}.platypus-light .apScreen .apCompass{position:relative;width:360px;height:202px;margin:auto;border-radius:5px}.platypus-light .apStatusBar{width:360px;height:18.5px;border-bottom-left-radius:5px;border-bottom-right-radius:5px;background-color:#000}.platypus-light .apStatusBar,.platypus-light .apStatusBar DIV{display:inline-block;position:relative}.platypus-light .apScreen .apStencil{position:absolute;top:0;left:0;width:100%;height:100%;margin:auto;border-radius:5px;z-index:10;vertical-align:middle;background-color:#189090}.platypus-light .apStencil.confirmCommand{z-index:5;visibility:hidden}.platypus-light .apStencil.error{z-index:6;visibility:hidden}.platypus-light .apText{fill:#000000de}.platypus-light .boatBackground{stop-color:#c7c7c7!important}.platypus-light .heading-background{stroke:#000;fill:#afafaf}.platypus-light .wind-text{fill:#000;stroke:#000}.platypus-light .laylines{stroke:#000000de}.platypus-light .wind-sector-port{fill:red}.platypus-light .wind-sector-stbd{fill:#1fce04}.platypus-light .compass-outer-ring{stroke:#757575}.platypus-light .compass-inner-ring{stroke:#afafaf;fill:#afafaf}.platypus-light .wind-rose-background{stroke:#8a8a8a}.platypus-light .sailSetupBoat{stroke:#afafaf}.platypus-light .sailSetupFull{fill:#4db6ac}.platypus-light .sailSetupReef1{fill:#ffb74d}.platypus-light .sailSetupReef2{fill:#e57373}.platypus-light .sailSetupReef3{fill:#f44336}.platypus-light .port{stroke:red}.platypus-light .starboard{stroke:#1fce04}.platypus-light .rudderPort{fill:#d52626}.platypus-light .rudderStarboard{fill:#389c19}.platypus-light .true-wind{fill:#068dfb}.platypus-light .app-wind{fill:#06fb06}.platypus-light .simpleLinear-text{fill:#000000de}.platypus-light .windWrapper{position:relative;width:100%;height:100%}.platypus-light .matBadge{z-index:1000}.platypus-light .mute-unmte-alarm{width:max-content}.platypus-light .alarmWarning{animation:blinkingAlarmWarning 1.5s infinite;background-color:orange!important}.platypus-light .alarmCrit{animation:blinkingAlarmCrit .25s infinite}.platypus-light .muteSoundButton:hover{background:rgba(255,255,255,.04)}.platypus-light .serverStatus{background-color:#0000001f;margin:7% 5% 0%;padding:10px 20px 20px}.platypus-light .descriptiveTexts{color:#000000de;font-size:14px}.platypus-light .flex-item{flex:1 1 29%;background-color:#0000001f;padding:20px;border-radius:4px}.platypus-light .flex-item-copy{flex:2 1 40%;background-color:#0000001f;padding:10px 20px;border-radius:4px}.darkBlue-dark .mat-ripple-element{background-color:#a5e1fd1a}.darkBlue-dark .mat-option{color:#a5e1fd}.darkBlue-dark .mat-option:hover:not(.mat-option-disabled),.darkBlue-dark .mat-option:focus:not(.mat-option-disabled){background:rgba(255,255,255,.04)}.darkBlue-dark .mat-option.mat-selected:not(.mat-option-multiple):not(.mat-option-disabled){background:rgba(255,255,255,.04)}.darkBlue-dark .mat-option.mat-active{background:rgba(255,255,255,.04);color:#a5e1fd}.darkBlue-dark .mat-option.mat-option-disabled{color:#a5e1fd4d}.darkBlue-dark .mat-primary .mat-option.mat-selected:not(.mat-option-disabled){color:#000e60}.darkBlue-dark .mat-accent .mat-option.mat-selected:not(.mat-option-disabled){color:#2196f3}.darkBlue-dark .mat-warn .mat-option.mat-selected:not(.mat-option-disabled){color:#f44336}.darkBlue-dark .mat-optgroup-label{color:#a5e1fdb3}.darkBlue-dark .mat-optgroup-disabled .mat-optgroup-label{color:#a5e1fd4d}.darkBlue-dark .mat-pseudo-checkbox{color:#a5e1fdb3}.darkBlue-dark .mat-pseudo-checkbox:after{color:#000e60}.darkBlue-dark .mat-pseudo-checkbox-disabled{color:#686868}.darkBlue-dark .mat-primary .mat-pseudo-checkbox-checked,.darkBlue-dark .mat-primary .mat-pseudo-checkbox-indeterminate{background:#000e60}.darkBlue-dark .mat-pseudo-checkbox-checked,.darkBlue-dark .mat-pseudo-checkbox-indeterminate,.darkBlue-dark .mat-accent .mat-pseudo-checkbox-checked,.darkBlue-dark .mat-accent .mat-pseudo-checkbox-indeterminate{background:#2196f3}.darkBlue-dark .mat-warn .mat-pseudo-checkbox-checked,.darkBlue-dark .mat-warn .mat-pseudo-checkbox-indeterminate{background:#f44336}.darkBlue-dark .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.darkBlue-dark .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background:#686868}.darkBlue-dark .mat-app-background,.darkBlue-dark.mat-app-background{background-color:#000e60;color:#a5e1fd}.darkBlue-dark .mat-elevation-z0{box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.darkBlue-dark .mat-elevation-z1{box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f}.darkBlue-dark .mat-elevation-z2{box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.darkBlue-dark .mat-elevation-z3{box-shadow:0 3px 3px -2px #0003,0 3px 4px #00000024,0 1px 8px #0000001f}.darkBlue-dark .mat-elevation-z4{box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.darkBlue-dark .mat-elevation-z5{box-shadow:0 3px 5px -1px #0003,0 5px 8px #00000024,0 1px 14px #0000001f}.darkBlue-dark .mat-elevation-z6{box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.darkBlue-dark .mat-elevation-z7{box-shadow:0 4px 5px -2px #0003,0 7px 10px 1px #00000024,0 2px 16px 1px #0000001f}.darkBlue-dark .mat-elevation-z8{box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.darkBlue-dark .mat-elevation-z9{box-shadow:0 5px 6px -3px #0003,0 9px 12px 1px #00000024,0 3px 16px 2px #0000001f}.darkBlue-dark .mat-elevation-z10{box-shadow:0 6px 6px -3px #0003,0 10px 14px 1px #00000024,0 4px 18px 3px #0000001f}.darkBlue-dark .mat-elevation-z11{box-shadow:0 6px 7px -4px #0003,0 11px 15px 1px #00000024,0 4px 20px 3px #0000001f}.darkBlue-dark .mat-elevation-z12{box-shadow:0 7px 8px -4px #0003,0 12px 17px 2px #00000024,0 5px 22px 4px #0000001f}.darkBlue-dark .mat-elevation-z13{box-shadow:0 7px 8px -4px #0003,0 13px 19px 2px #00000024,0 5px 24px 4px #0000001f}.darkBlue-dark .mat-elevation-z14{box-shadow:0 7px 9px -4px #0003,0 14px 21px 2px #00000024,0 5px 26px 4px #0000001f}.darkBlue-dark .mat-elevation-z15{box-shadow:0 8px 9px -5px #0003,0 15px 22px 2px #00000024,0 6px 28px 5px #0000001f}.darkBlue-dark .mat-elevation-z16{box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f}.darkBlue-dark .mat-elevation-z17{box-shadow:0 8px 11px -5px #0003,0 17px 26px 2px #00000024,0 6px 32px 5px #0000001f}.darkBlue-dark .mat-elevation-z18{box-shadow:0 9px 11px -5px #0003,0 18px 28px 2px #00000024,0 7px 34px 6px #0000001f}.darkBlue-dark .mat-elevation-z19{box-shadow:0 9px 12px -6px #0003,0 19px 29px 2px #00000024,0 7px 36px 6px #0000001f}.darkBlue-dark .mat-elevation-z20{box-shadow:0 10px 13px -6px #0003,0 20px 31px 3px #00000024,0 8px 38px 7px #0000001f}.darkBlue-dark .mat-elevation-z21{box-shadow:0 10px 13px -6px #0003,0 21px 33px 3px #00000024,0 8px 40px 7px #0000001f}.darkBlue-dark .mat-elevation-z22{box-shadow:0 10px 14px -6px #0003,0 22px 35px 3px #00000024,0 8px 42px 7px #0000001f}.darkBlue-dark .mat-elevation-z23{box-shadow:0 11px 14px -7px #0003,0 23px 36px 3px #00000024,0 9px 44px 8px #0000001f}.darkBlue-dark .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}.darkBlue-dark .mat-autocomplete-panel{background:#000844;color:#a5e1fd}.darkBlue-dark .mat-autocomplete-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.darkBlue-dark .mat-autocomplete-panel .mat-option.mat-selected:not(.mat-active):not(:hover){background:#000844}.darkBlue-dark .mat-autocomplete-panel .mat-option.mat-selected:not(.mat-active):not(:hover):not(.mat-option-disabled){color:#a5e1fd}.darkBlue-dark .mat-badge-content{color:#fff;background:#000e60}.cdk-high-contrast-active .darkBlue-dark .mat-badge-content{outline:solid 1px;border-radius:0}.darkBlue-dark .mat-badge-accent .mat-badge-content{background:#2196f3;color:#fff}.darkBlue-dark .mat-badge-warn .mat-badge-content{color:#fff;background:#f44336}.darkBlue-dark .mat-badge-disabled .mat-badge-content{background:#324d8f;color:#a5e1fd4d}.darkBlue-dark .mat-bottom-sheet-container{box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f;background:#000844;color:#a5e1fd}.darkBlue-dark .mat-button,.darkBlue-dark .mat-icon-button,.darkBlue-dark .mat-stroked-button{color:inherit;background:transparent}.darkBlue-dark .mat-button.mat-primary,.darkBlue-dark .mat-icon-button.mat-primary,.darkBlue-dark .mat-stroked-button.mat-primary{color:#000e60}.darkBlue-dark .mat-button.mat-accent,.darkBlue-dark .mat-icon-button.mat-accent,.darkBlue-dark .mat-stroked-button.mat-accent{color:#2196f3}.darkBlue-dark .mat-button.mat-warn,.darkBlue-dark .mat-icon-button.mat-warn,.darkBlue-dark .mat-stroked-button.mat-warn{color:#f44336}.darkBlue-dark .mat-button.mat-primary.mat-button-disabled,.darkBlue-dark .mat-button.mat-accent.mat-button-disabled,.darkBlue-dark .mat-button.mat-warn.mat-button-disabled,.darkBlue-dark .mat-button.mat-button-disabled.mat-button-disabled,.darkBlue-dark .mat-icon-button.mat-primary.mat-button-disabled,.darkBlue-dark .mat-icon-button.mat-accent.mat-button-disabled,.darkBlue-dark .mat-icon-button.mat-warn.mat-button-disabled,.darkBlue-dark .mat-icon-button.mat-button-disabled.mat-button-disabled,.darkBlue-dark .mat-stroked-button.mat-primary.mat-button-disabled,.darkBlue-dark .mat-stroked-button.mat-accent.mat-button-disabled,.darkBlue-dark .mat-stroked-button.mat-warn.mat-button-disabled,.darkBlue-dark .mat-stroked-button.mat-button-disabled.mat-button-disabled{color:#a5e1fd4d}.darkBlue-dark .mat-button.mat-primary .mat-button-focus-overlay,.darkBlue-dark .mat-icon-button.mat-primary .mat-button-focus-overlay,.darkBlue-dark .mat-stroked-button.mat-primary .mat-button-focus-overlay{background-color:#000e60}.darkBlue-dark .mat-button.mat-accent .mat-button-focus-overlay,.darkBlue-dark .mat-icon-button.mat-accent .mat-button-focus-overlay,.darkBlue-dark .mat-stroked-button.mat-accent .mat-button-focus-overlay{background-color:#2196f3}.darkBlue-dark .mat-button.mat-warn .mat-button-focus-overlay,.darkBlue-dark .mat-icon-button.mat-warn .mat-button-focus-overlay,.darkBlue-dark .mat-stroked-button.mat-warn .mat-button-focus-overlay{background-color:#f44336}.darkBlue-dark .mat-button.mat-button-disabled .mat-button-focus-overlay,.darkBlue-dark .mat-icon-button.mat-button-disabled .mat-button-focus-overlay,.darkBlue-dark .mat-stroked-button.mat-button-disabled .mat-button-focus-overlay{background-color:transparent}.darkBlue-dark .mat-button .mat-ripple-element,.darkBlue-dark .mat-icon-button .mat-ripple-element,.darkBlue-dark .mat-stroked-button .mat-ripple-element{opacity:.1;background-color:currentColor}.darkBlue-dark .mat-button-focus-overlay{background:#a5e1fd}.darkBlue-dark .mat-stroked-button:not(.mat-button-disabled){border-color:#ffffff1f}.darkBlue-dark .mat-flat-button,.darkBlue-dark .mat-raised-button,.darkBlue-dark .mat-fab,.darkBlue-dark .mat-mini-fab{color:#a5e1fd;background-color:#000844}.darkBlue-dark .mat-flat-button.mat-primary,.darkBlue-dark .mat-raised-button.mat-primary,.darkBlue-dark .mat-fab.mat-primary,.darkBlue-dark .mat-mini-fab.mat-primary,.darkBlue-dark .mat-flat-button.mat-accent,.darkBlue-dark .mat-raised-button.mat-accent,.darkBlue-dark .mat-fab.mat-accent,.darkBlue-dark .mat-mini-fab.mat-accent,.darkBlue-dark .mat-flat-button.mat-warn,.darkBlue-dark .mat-raised-button.mat-warn,.darkBlue-dark .mat-fab.mat-warn,.darkBlue-dark .mat-mini-fab.mat-warn{color:#fff}.darkBlue-dark .mat-flat-button.mat-primary.mat-button-disabled,.darkBlue-dark .mat-flat-button.mat-accent.mat-button-disabled,.darkBlue-dark .mat-flat-button.mat-warn.mat-button-disabled,.darkBlue-dark .mat-flat-button.mat-button-disabled.mat-button-disabled,.darkBlue-dark .mat-raised-button.mat-primary.mat-button-disabled,.darkBlue-dark .mat-raised-button.mat-accent.mat-button-disabled,.darkBlue-dark .mat-raised-button.mat-warn.mat-button-disabled,.darkBlue-dark .mat-raised-button.mat-button-disabled.mat-button-disabled,.darkBlue-dark .mat-fab.mat-primary.mat-button-disabled,.darkBlue-dark .mat-fab.mat-accent.mat-button-disabled,.darkBlue-dark .mat-fab.mat-warn.mat-button-disabled,.darkBlue-dark .mat-fab.mat-button-disabled.mat-button-disabled,.darkBlue-dark .mat-mini-fab.mat-primary.mat-button-disabled,.darkBlue-dark .mat-mini-fab.mat-accent.mat-button-disabled,.darkBlue-dark .mat-mini-fab.mat-warn.mat-button-disabled,.darkBlue-dark .mat-mini-fab.mat-button-disabled.mat-button-disabled{color:#a5e1fd4d}.darkBlue-dark .mat-flat-button.mat-primary,.darkBlue-dark .mat-raised-button.mat-primary,.darkBlue-dark .mat-fab.mat-primary,.darkBlue-dark .mat-mini-fab.mat-primary{background-color:#000e60}.darkBlue-dark .mat-flat-button.mat-accent,.darkBlue-dark .mat-raised-button.mat-accent,.darkBlue-dark .mat-fab.mat-accent,.darkBlue-dark .mat-mini-fab.mat-accent{background-color:#2196f3}.darkBlue-dark .mat-flat-button.mat-warn,.darkBlue-dark .mat-raised-button.mat-warn,.darkBlue-dark .mat-fab.mat-warn,.darkBlue-dark .mat-mini-fab.mat-warn{background-color:#f44336}.darkBlue-dark .mat-flat-button.mat-primary.mat-button-disabled,.darkBlue-dark .mat-flat-button.mat-accent.mat-button-disabled,.darkBlue-dark .mat-flat-button.mat-warn.mat-button-disabled,.darkBlue-dark .mat-flat-button.mat-button-disabled.mat-button-disabled,.darkBlue-dark .mat-raised-button.mat-primary.mat-button-disabled,.darkBlue-dark .mat-raised-button.mat-accent.mat-button-disabled,.darkBlue-dark .mat-raised-button.mat-warn.mat-button-disabled,.darkBlue-dark .mat-raised-button.mat-button-disabled.mat-button-disabled,.darkBlue-dark .mat-fab.mat-primary.mat-button-disabled,.darkBlue-dark .mat-fab.mat-accent.mat-button-disabled,.darkBlue-dark .mat-fab.mat-warn.mat-button-disabled,.darkBlue-dark .mat-fab.mat-button-disabled.mat-button-disabled,.darkBlue-dark .mat-mini-fab.mat-primary.mat-button-disabled,.darkBlue-dark .mat-mini-fab.mat-accent.mat-button-disabled,.darkBlue-dark .mat-mini-fab.mat-warn.mat-button-disabled,.darkBlue-dark .mat-mini-fab.mat-button-disabled.mat-button-disabled{background-color:#ffffff1f}.darkBlue-dark .mat-flat-button.mat-primary .mat-ripple-element,.darkBlue-dark .mat-raised-button.mat-primary .mat-ripple-element,.darkBlue-dark .mat-fab.mat-primary .mat-ripple-element,.darkBlue-dark .mat-mini-fab.mat-primary .mat-ripple-element,.darkBlue-dark .mat-flat-button.mat-accent .mat-ripple-element,.darkBlue-dark .mat-raised-button.mat-accent .mat-ripple-element,.darkBlue-dark .mat-fab.mat-accent .mat-ripple-element,.darkBlue-dark .mat-mini-fab.mat-accent .mat-ripple-element,.darkBlue-dark .mat-flat-button.mat-warn .mat-ripple-element,.darkBlue-dark .mat-raised-button.mat-warn .mat-ripple-element,.darkBlue-dark .mat-fab.mat-warn .mat-ripple-element,.darkBlue-dark .mat-mini-fab.mat-warn .mat-ripple-element{background-color:#ffffff1a}.darkBlue-dark .mat-stroked-button:not([class*=mat-elevation-z]),.darkBlue-dark .mat-flat-button:not([class*=mat-elevation-z]){box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.darkBlue-dark .mat-raised-button:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.darkBlue-dark .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}.darkBlue-dark .mat-raised-button.mat-button-disabled:not([class*=mat-elevation-z]){box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.darkBlue-dark .mat-fab:not([class*=mat-elevation-z]),.darkBlue-dark .mat-mini-fab:not([class*=mat-elevation-z]){box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.darkBlue-dark .mat-fab:not(.mat-button-disabled):active:not([class*=mat-elevation-z]),.darkBlue-dark .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}.darkBlue-dark .mat-fab.mat-button-disabled:not([class*=mat-elevation-z]),.darkBlue-dark .mat-mini-fab.mat-button-disabled:not([class*=mat-elevation-z]){box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.darkBlue-dark .mat-button-toggle-standalone:not([class*=mat-elevation-z]),.darkBlue-dark .mat-button-toggle-group:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.darkBlue-dark .mat-button-toggle-standalone.mat-button-toggle-appearance-standard:not([class*=mat-elevation-z]),.darkBlue-dark .mat-button-toggle-group-appearance-standard:not([class*=mat-elevation-z]){box-shadow:none}.darkBlue-dark .mat-button-toggle{color:#a5e1fd4d}.darkBlue-dark .mat-button-toggle .mat-button-toggle-focus-overlay{background-color:#ffffff0f}.darkBlue-dark .mat-button-toggle-appearance-standard{color:#a5e1fd;background:#000844}.darkBlue-dark .mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{background-color:#fff}.darkBlue-dark .mat-button-toggle-group-appearance-standard .mat-button-toggle+.mat-button-toggle{border-left:solid 1px #1f265a}.darkBlue-dark [dir=rtl] .mat-button-toggle-group-appearance-standard .mat-button-toggle+.mat-button-toggle{border-left:none;border-right:solid 1px #1f265a}.darkBlue-dark .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 #1f265a}.darkBlue-dark .mat-button-toggle-checked{background-color:#000433;color:#a5e1fdb3}.darkBlue-dark .mat-button-toggle-checked.mat-button-toggle-appearance-standard{color:#a5e1fd}.darkBlue-dark .mat-button-toggle-disabled{color:#a5e1fd4d;background-color:#000}.darkBlue-dark .mat-button-toggle-disabled.mat-button-toggle-appearance-standard{background:#000844}.darkBlue-dark .mat-button-toggle-disabled.mat-button-toggle-checked{background-color:#000844}.darkBlue-dark .mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.darkBlue-dark .mat-button-toggle-group-appearance-standard{border:solid 1px #1f265a}.darkBlue-dark .mat-card{background:#000844;color:#a5e1fd}.darkBlue-dark .mat-card:not([class*=mat-elevation-z]){box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f}.darkBlue-dark .mat-card.mat-card-flat:not([class*=mat-elevation-z]){box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.darkBlue-dark .mat-card-subtitle{color:#a5e1fdb3}.darkBlue-dark .mat-checkbox-frame{border-color:#a5e1fdb3}.darkBlue-dark .mat-checkbox-checkmark{fill:#000e60}.darkBlue-dark .mat-checkbox-checkmark-path{stroke:#000e60!important}.darkBlue-dark .mat-checkbox-mixedmark,.darkBlue-dark .mat-checkbox-indeterminate.mat-primary .mat-checkbox-background,.darkBlue-dark .mat-checkbox-checked.mat-primary .mat-checkbox-background{background-color:#000e60}.darkBlue-dark .mat-checkbox-indeterminate.mat-accent .mat-checkbox-background,.darkBlue-dark .mat-checkbox-checked.mat-accent .mat-checkbox-background{background-color:#2196f3}.darkBlue-dark .mat-checkbox-indeterminate.mat-warn .mat-checkbox-background,.darkBlue-dark .mat-checkbox-checked.mat-warn .mat-checkbox-background{background-color:#f44336}.darkBlue-dark .mat-checkbox-disabled.mat-checkbox-checked .mat-checkbox-background,.darkBlue-dark .mat-checkbox-disabled.mat-checkbox-indeterminate .mat-checkbox-background{background-color:#686868}.darkBlue-dark .mat-checkbox-disabled:not(.mat-checkbox-checked) .mat-checkbox-frame{border-color:#686868}.darkBlue-dark .mat-checkbox-disabled .mat-checkbox-label{color:#a5e1fd4d}.darkBlue-dark .mat-checkbox .mat-ripple-element{background-color:#a5e1fd}.darkBlue-dark .mat-checkbox-checked:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element,.darkBlue-dark .mat-checkbox:active:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element{background:#000e60}.darkBlue-dark .mat-checkbox-checked:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element,.darkBlue-dark .mat-checkbox:active:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element{background:#2196f3}.darkBlue-dark .mat-checkbox-checked:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element,.darkBlue-dark .mat-checkbox:active:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element{background:#f44336}.darkBlue-dark .mat-chip.mat-standard-chip{background-color:#000a4e;color:#a5e1fd}.darkBlue-dark .mat-chip.mat-standard-chip .mat-chip-remove{color:#a5e1fd;opacity:.4}.darkBlue-dark .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}.darkBlue-dark .mat-chip.mat-standard-chip:not(.mat-chip-disabled) .mat-chip-remove:hover{opacity:.54}.darkBlue-dark .mat-chip.mat-standard-chip.mat-chip-disabled{opacity:.4}.darkBlue-dark .mat-chip.mat-standard-chip:after{background:#a5e1fd}.darkBlue-dark .mat-chip.mat-standard-chip.mat-chip-selected.mat-primary{background-color:#000e60;color:#fff}.darkBlue-dark .mat-chip.mat-standard-chip.mat-chip-selected.mat-primary .mat-chip-remove{color:#fff;opacity:.4}.darkBlue-dark .mat-chip.mat-standard-chip.mat-chip-selected.mat-primary .mat-ripple-element{background-color:#ffffff1a}.darkBlue-dark .mat-chip.mat-standard-chip.mat-chip-selected.mat-warn{background-color:#f44336;color:#fff}.darkBlue-dark .mat-chip.mat-standard-chip.mat-chip-selected.mat-warn .mat-chip-remove{color:#fff;opacity:.4}.darkBlue-dark .mat-chip.mat-standard-chip.mat-chip-selected.mat-warn .mat-ripple-element{background-color:#ffffff1a}.darkBlue-dark .mat-chip.mat-standard-chip.mat-chip-selected.mat-accent{background-color:#2196f3;color:#fff}.darkBlue-dark .mat-chip.mat-standard-chip.mat-chip-selected.mat-accent .mat-chip-remove{color:#fff;opacity:.4}.darkBlue-dark .mat-chip.mat-standard-chip.mat-chip-selected.mat-accent .mat-ripple-element{background-color:#ffffff1a}.darkBlue-dark .mat-table{background:#000844}.darkBlue-dark .mat-table thead,.darkBlue-dark .mat-table tbody,.darkBlue-dark .mat-table tfoot,.darkBlue-dark mat-header-row,.darkBlue-dark mat-row,.darkBlue-dark mat-footer-row,.darkBlue-dark [mat-header-row],.darkBlue-dark [mat-row],.darkBlue-dark [mat-footer-row],.darkBlue-dark .mat-table-sticky{background:inherit}.darkBlue-dark mat-row,.darkBlue-dark mat-header-row,.darkBlue-dark mat-footer-row,.darkBlue-dark th.mat-header-cell,.darkBlue-dark td.mat-cell,.darkBlue-dark td.mat-footer-cell{border-bottom-color:#ffffff1f}.darkBlue-dark .mat-header-cell{color:#a5e1fdb3}.darkBlue-dark .mat-cell,.darkBlue-dark .mat-footer-cell{color:#a5e1fd}.darkBlue-dark .mat-calendar-arrow{fill:#a5e1fd}.darkBlue-dark .mat-datepicker-toggle,.darkBlue-dark .mat-datepicker-content .mat-calendar-next-button,.darkBlue-dark .mat-datepicker-content .mat-calendar-previous-button{color:#a5e1fd}.darkBlue-dark .mat-calendar-table-header-divider:after{background:rgba(255,255,255,.12)}.darkBlue-dark .mat-calendar-table-header,.darkBlue-dark .mat-calendar-body-label{color:#a5e1fdb3}.darkBlue-dark .mat-calendar-body-cell-content,.darkBlue-dark .mat-date-range-input-separator{color:#a5e1fd;border-color:transparent}.darkBlue-dark .mat-calendar-body-disabled>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){color:#a5e1fd4d}.darkBlue-dark .mat-form-field-disabled .mat-date-range-input-separator{color:#a5e1fd4d}.darkBlue-dark .mat-calendar-body-in-preview{color:#ffffff3d}.darkBlue-dark .mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:#a5e1fd4d}.darkBlue-dark .mat-calendar-body-disabled>.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:#a5e1fd1a}.darkBlue-dark .mat-calendar-body-in-range:before{background:rgba(0,14,96,.2)}.darkBlue-dark .mat-calendar-body-comparison-identical,.darkBlue-dark .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.darkBlue-dark .mat-calendar-body-comparison-bridge-start:before,.darkBlue-dark [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(to right,rgba(0,14,96,.2) 50%,rgba(249,171,0,.2) 50%)}.darkBlue-dark .mat-calendar-body-comparison-bridge-end:before,.darkBlue-dark [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(to left,rgba(0,14,96,.2) 50%,rgba(249,171,0,.2) 50%)}.darkBlue-dark .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.darkBlue-dark .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after{background:#a8dab5}.darkBlue-dark .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.darkBlue-dark .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.darkBlue-dark .mat-calendar-body-selected{background-color:#000e60;color:#fff}.darkBlue-dark .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:#000e6066}.darkBlue-dark .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.darkBlue-dark .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.darkBlue-dark .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:#000e604d}@media (hover: hover){.darkBlue-dark .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:#000e604d}}.darkBlue-dark .mat-datepicker-content{box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f;background-color:#000844;color:#a5e1fd}.darkBlue-dark .mat-datepicker-content.mat-accent .mat-calendar-body-in-range:before{background:rgba(33,150,243,.2)}.darkBlue-dark .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-identical,.darkBlue-dark .mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.darkBlue-dark .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-bridge-start:before,.darkBlue-dark .mat-datepicker-content.mat-accent [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(to right,rgba(33,150,243,.2) 50%,rgba(249,171,0,.2) 50%)}.darkBlue-dark .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-bridge-end:before,.darkBlue-dark .mat-datepicker-content.mat-accent [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(to left,rgba(33,150,243,.2) 50%,rgba(249,171,0,.2) 50%)}.darkBlue-dark .mat-datepicker-content.mat-accent .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.darkBlue-dark .mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after{background:#a8dab5}.darkBlue-dark .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.darkBlue-dark .mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.darkBlue-dark .mat-datepicker-content.mat-accent .mat-calendar-body-selected{background-color:#2196f3;color:#fff}.darkBlue-dark .mat-datepicker-content.mat-accent .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:#2196f366}.darkBlue-dark .mat-datepicker-content.mat-accent .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.darkBlue-dark .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),.darkBlue-dark .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:#2196f34d}@media (hover: hover){.darkBlue-dark .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:#2196f34d}}.darkBlue-dark .mat-datepicker-content.mat-warn .mat-calendar-body-in-range:before{background:rgba(244,67,54,.2)}.darkBlue-dark .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-identical,.darkBlue-dark .mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.darkBlue-dark .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-bridge-start:before,.darkBlue-dark .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%)}.darkBlue-dark .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-bridge-end:before,.darkBlue-dark .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%)}.darkBlue-dark .mat-datepicker-content.mat-warn .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.darkBlue-dark .mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after{background:#a8dab5}.darkBlue-dark .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.darkBlue-dark .mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.darkBlue-dark .mat-datepicker-content.mat-warn .mat-calendar-body-selected{background-color:#f44336;color:#fff}.darkBlue-dark .mat-datepicker-content.mat-warn .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:#f4433666}.darkBlue-dark .mat-datepicker-content.mat-warn .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.darkBlue-dark .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),.darkBlue-dark .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){.darkBlue-dark .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}}.darkBlue-dark .mat-datepicker-content-touch{box-shadow:0 11px 15px -7px #0003,0 24px 38px 3px #00000024,0 9px 46px 8px #0000001f}.darkBlue-dark .mat-datepicker-toggle-active{color:#000e60}.darkBlue-dark .mat-datepicker-toggle-active.mat-accent{color:#2196f3}.darkBlue-dark .mat-datepicker-toggle-active.mat-warn{color:#f44336}.darkBlue-dark .mat-date-range-input-inner[disabled]{color:#a5e1fd4d}.darkBlue-dark .mat-dialog-container{box-shadow:0 11px 15px -7px #0003,0 24px 38px 3px #00000024,0 9px 46px 8px #0000001f;background:#000844;color:#a5e1fd}.darkBlue-dark .mat-divider{border-top-color:#ffffff1f}.darkBlue-dark .mat-divider-vertical{border-right-color:#ffffff1f}.darkBlue-dark .mat-expansion-panel{background:#000844;color:#a5e1fd}.darkBlue-dark .mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.darkBlue-dark .mat-action-row{border-top-color:#ffffff1f}.darkBlue-dark .mat-expansion-panel .mat-expansion-panel-header.cdk-keyboard-focused:not([aria-disabled=true]),.darkBlue-dark .mat-expansion-panel .mat-expansion-panel-header.cdk-program-focused:not([aria-disabled=true]),.darkBlue-dark .mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:hover:not([aria-disabled=true]){background:rgba(255,255,255,.04)}@media (hover: none){.darkBlue-dark .mat-expansion-panel:not(.mat-expanded):not([aria-disabled=true]) .mat-expansion-panel-header:hover{background:#000844}}.darkBlue-dark .mat-expansion-panel-header-title{color:#a5e1fd}.darkBlue-dark .mat-expansion-panel-header-description,.darkBlue-dark .mat-expansion-indicator:after{color:#a5e1fdb3}.darkBlue-dark .mat-expansion-panel-header[aria-disabled=true]{color:#a5e1fd4d}.darkBlue-dark .mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-title,.darkBlue-dark .mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-description{color:inherit}.darkBlue-dark .mat-form-field-label,.darkBlue-dark .mat-hint{color:#a5e1fdb3}.darkBlue-dark .mat-form-field.mat-focused .mat-form-field-label{color:#000e60}.darkBlue-dark .mat-form-field.mat-focused .mat-form-field-label.mat-accent{color:#2196f3}.darkBlue-dark .mat-form-field.mat-focused .mat-form-field-label.mat-warn{color:#f44336}.darkBlue-dark .mat-focused .mat-form-field-required-marker{color:#2196f3}.darkBlue-dark .mat-form-field-ripple{background-color:#fff}.darkBlue-dark .mat-form-field.mat-focused .mat-form-field-ripple{background-color:#000e60}.darkBlue-dark .mat-form-field.mat-focused .mat-form-field-ripple.mat-accent{background-color:#2196f3}.darkBlue-dark .mat-form-field.mat-focused .mat-form-field-ripple.mat-warn{background-color:#f44336}.darkBlue-dark .mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid) .mat-form-field-infix:after{color:#000e60}.darkBlue-dark .mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid).mat-accent .mat-form-field-infix:after{color:#2196f3}.darkBlue-dark .mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid).mat-warn .mat-form-field-infix:after{color:#f44336}.darkBlue-dark .mat-form-field.mat-form-field-invalid .mat-form-field-label,.darkBlue-dark .mat-form-field.mat-form-field-invalid .mat-form-field-label.mat-accent,.darkBlue-dark .mat-form-field.mat-form-field-invalid .mat-form-field-label .mat-form-field-required-marker{color:#f44336}.darkBlue-dark .mat-form-field.mat-form-field-invalid .mat-form-field-ripple,.darkBlue-dark .mat-form-field.mat-form-field-invalid .mat-form-field-ripple.mat-accent{background-color:#f44336}.darkBlue-dark .mat-error{color:#f44336}.darkBlue-dark .mat-form-field-appearance-legacy .mat-form-field-label,.darkBlue-dark .mat-form-field-appearance-legacy .mat-hint{color:#a5e1fdb3}.darkBlue-dark .mat-form-field-appearance-legacy .mat-form-field-underline{background-color:#ffffffb3}.darkBlue-dark .mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-image:linear-gradient(to right,rgba(255,255,255,.7) 0%,rgba(255,255,255,.7) 33%,transparent 0%);background-size:4px 100%;background-repeat:repeat-x}.darkBlue-dark .mat-form-field-appearance-standard .mat-form-field-underline{background-color:#ffffffb3}.darkBlue-dark .mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-image:linear-gradient(to right,rgba(255,255,255,.7) 0%,rgba(255,255,255,.7) 33%,transparent 0%);background-size:4px 100%;background-repeat:repeat-x}.darkBlue-dark .mat-form-field-appearance-fill .mat-form-field-flex{background-color:#a5e1fd1a}.darkBlue-dark .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-flex{background-color:#a5e1fd0d}.darkBlue-dark .mat-form-field-appearance-fill .mat-form-field-underline:before{background-color:#ffffff80}.darkBlue-dark .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-label{color:#a5e1fd4d}.darkBlue-dark .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-underline:before{background-color:transparent}.darkBlue-dark .mat-form-field-appearance-outline .mat-form-field-outline{color:#ffffff4d}.darkBlue-dark .mat-form-field-appearance-outline .mat-form-field-outline-thick{color:#fff}.darkBlue-dark .mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick{color:#000e60}.darkBlue-dark .mat-form-field-appearance-outline.mat-focused.mat-accent .mat-form-field-outline-thick{color:#2196f3}.darkBlue-dark .mat-form-field-appearance-outline.mat-focused.mat-warn .mat-form-field-outline-thick,.darkBlue-dark .mat-form-field-appearance-outline.mat-form-field-invalid.mat-form-field-invalid .mat-form-field-outline-thick{color:#f44336}.darkBlue-dark .mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-label{color:#a5e1fd4d}.darkBlue-dark .mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-outline{color:#ffffff26}.darkBlue-dark .mat-icon.mat-primary{color:#000e60}.darkBlue-dark .mat-icon.mat-accent{color:#2196f3}.darkBlue-dark .mat-icon.mat-warn{color:#f44336}.darkBlue-dark .mat-form-field-type-mat-native-select .mat-form-field-infix:after{color:#a5e1fdb3}.darkBlue-dark .mat-input-element:disabled,.darkBlue-dark .mat-form-field-type-mat-native-select.mat-form-field-disabled .mat-form-field-infix:after{color:#a5e1fd4d}.darkBlue-dark .mat-input-element{caret-color:#000e60}.darkBlue-dark .mat-input-element::placeholder{color:#a5e1fd80}.darkBlue-dark .mat-input-element::-moz-placeholder{color:#a5e1fd80}.darkBlue-dark .mat-input-element::-webkit-input-placeholder{color:#a5e1fd80}.darkBlue-dark .mat-input-element:-ms-input-placeholder{color:#a5e1fd80}.darkBlue-dark .mat-input-element:not(.mat-native-select-inline) option{color:#000000de}.darkBlue-dark .mat-input-element:not(.mat-native-select-inline) option:disabled{color:#00000061}.darkBlue-dark .mat-form-field.mat-accent .mat-input-element{caret-color:#2196f3}.darkBlue-dark .mat-form-field.mat-warn .mat-input-element,.darkBlue-dark .mat-form-field-invalid .mat-input-element{caret-color:#f44336}.darkBlue-dark .mat-form-field-type-mat-native-select.mat-form-field-invalid .mat-form-field-infix:after{color:#f44336}.darkBlue-dark .mat-list-base .mat-list-item,.darkBlue-dark .mat-list-base .mat-list-option{color:#a5e1fd}.darkBlue-dark .mat-list-base .mat-subheader{color:#a5e1fdb3}.darkBlue-dark .mat-list-base .mat-list-item-disabled{background-color:#000;color:#a5e1fd4d}.darkBlue-dark .mat-list-option:hover,.darkBlue-dark .mat-list-option:focus,.darkBlue-dark .mat-nav-list .mat-list-item:hover,.darkBlue-dark .mat-nav-list .mat-list-item:focus,.darkBlue-dark .mat-action-list .mat-list-item:hover,.darkBlue-dark .mat-action-list .mat-list-item:focus{background:rgba(255,255,255,.04)}.darkBlue-dark .mat-list-single-selected-option,.darkBlue-dark .mat-list-single-selected-option:hover,.darkBlue-dark .mat-list-single-selected-option:focus{background:rgba(255,255,255,.12)}.darkBlue-dark .mat-menu-panel{background:#000844}.darkBlue-dark .mat-menu-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.darkBlue-dark .mat-menu-item{background:transparent;color:#a5e1fd}.darkBlue-dark .mat-menu-item[disabled],.darkBlue-dark .mat-menu-item[disabled] .mat-menu-submenu-icon,.darkBlue-dark .mat-menu-item[disabled] .mat-icon-no-color{color:#a5e1fd4d}.darkBlue-dark .mat-menu-item .mat-icon-no-color,.darkBlue-dark .mat-menu-submenu-icon{color:#a5e1fd}.darkBlue-dark .mat-menu-item:hover:not([disabled]),.darkBlue-dark .mat-menu-item.cdk-program-focused:not([disabled]),.darkBlue-dark .mat-menu-item.cdk-keyboard-focused:not([disabled]),.darkBlue-dark .mat-menu-item-highlighted:not([disabled]){background:rgba(255,255,255,.04)}.darkBlue-dark .mat-paginator{background:#000844}.darkBlue-dark .mat-paginator,.darkBlue-dark .mat-paginator-page-size .mat-select-trigger{color:#a5e1fdb3}.darkBlue-dark .mat-paginator-decrement,.darkBlue-dark .mat-paginator-increment{border-top:2px solid #a5e1fd;border-right:2px solid #a5e1fd}.darkBlue-dark .mat-paginator-first,.darkBlue-dark .mat-paginator-last{border-top:2px solid #a5e1fd}.darkBlue-dark .mat-icon-button[disabled] .mat-paginator-decrement,.darkBlue-dark .mat-icon-button[disabled] .mat-paginator-increment,.darkBlue-dark .mat-icon-button[disabled] .mat-paginator-first,.darkBlue-dark .mat-icon-button[disabled] .mat-paginator-last{border-color:#a5e1fd4d}.darkBlue-dark .mat-progress-bar-background{fill:#000e60}.darkBlue-dark .mat-progress-bar-buffer{background-color:#000e60}.darkBlue-dark .mat-progress-bar-fill:after{background-color:#000e60}.darkBlue-dark .mat-progress-bar.mat-accent .mat-progress-bar-background{fill:#083085}.darkBlue-dark .mat-progress-bar.mat-accent .mat-progress-bar-buffer{background-color:#083085}.darkBlue-dark .mat-progress-bar.mat-accent .mat-progress-bar-fill:after{background-color:#2196f3}.darkBlue-dark .mat-progress-bar.mat-warn .mat-progress-bar-background{fill:#3d1b56}.darkBlue-dark .mat-progress-bar.mat-warn .mat-progress-bar-buffer{background-color:#3d1b56}.darkBlue-dark .mat-progress-bar.mat-warn .mat-progress-bar-fill:after{background-color:#f44336}.darkBlue-dark .mat-progress-spinner circle,.darkBlue-dark .mat-spinner circle{stroke:#000e60}.darkBlue-dark .mat-progress-spinner.mat-accent circle,.darkBlue-dark .mat-spinner.mat-accent circle{stroke:#2196f3}.darkBlue-dark .mat-progress-spinner.mat-warn circle,.darkBlue-dark .mat-spinner.mat-warn circle{stroke:#f44336}.darkBlue-dark .mat-radio-outer-circle{border-color:#a5e1fdb3}.darkBlue-dark .mat-radio-button.mat-primary.mat-radio-checked .mat-radio-outer-circle{border-color:#000e60}.darkBlue-dark .mat-radio-button.mat-primary .mat-radio-inner-circle,.darkBlue-dark .mat-radio-button.mat-primary .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.darkBlue-dark .mat-radio-button.mat-primary.mat-radio-checked .mat-radio-persistent-ripple,.darkBlue-dark .mat-radio-button.mat-primary:active .mat-radio-persistent-ripple{background-color:#000e60}.darkBlue-dark .mat-radio-button.mat-accent.mat-radio-checked .mat-radio-outer-circle{border-color:#2196f3}.darkBlue-dark .mat-radio-button.mat-accent .mat-radio-inner-circle,.darkBlue-dark .mat-radio-button.mat-accent .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.darkBlue-dark .mat-radio-button.mat-accent.mat-radio-checked .mat-radio-persistent-ripple,.darkBlue-dark .mat-radio-button.mat-accent:active .mat-radio-persistent-ripple{background-color:#2196f3}.darkBlue-dark .mat-radio-button.mat-warn.mat-radio-checked .mat-radio-outer-circle{border-color:#f44336}.darkBlue-dark .mat-radio-button.mat-warn .mat-radio-inner-circle,.darkBlue-dark .mat-radio-button.mat-warn .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.darkBlue-dark .mat-radio-button.mat-warn.mat-radio-checked .mat-radio-persistent-ripple,.darkBlue-dark .mat-radio-button.mat-warn:active .mat-radio-persistent-ripple{background-color:#f44336}.darkBlue-dark .mat-radio-button.mat-radio-disabled.mat-radio-checked .mat-radio-outer-circle,.darkBlue-dark .mat-radio-button.mat-radio-disabled .mat-radio-outer-circle{border-color:#a5e1fd4d}.darkBlue-dark .mat-radio-button.mat-radio-disabled .mat-radio-ripple .mat-ripple-element,.darkBlue-dark .mat-radio-button.mat-radio-disabled .mat-radio-inner-circle{background-color:#a5e1fd4d}.darkBlue-dark .mat-radio-button.mat-radio-disabled .mat-radio-label-content{color:#a5e1fd4d}.darkBlue-dark .mat-radio-button .mat-ripple-element{background-color:#a5e1fd}.darkBlue-dark .mat-select-value{color:#a5e1fd}.darkBlue-dark .mat-select-placeholder{color:#a5e1fd80}.darkBlue-dark .mat-select-disabled .mat-select-value{color:#a5e1fd4d}.darkBlue-dark .mat-select-arrow{color:#a5e1fdb3}.darkBlue-dark .mat-select-panel{background:#000844}.darkBlue-dark .mat-select-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.darkBlue-dark .mat-select-panel .mat-option.mat-selected:not(.mat-option-multiple){background:rgba(255,255,255,.12)}.darkBlue-dark .mat-form-field.mat-focused.mat-primary .mat-select-arrow{color:#000e60}.darkBlue-dark .mat-form-field.mat-focused.mat-accent .mat-select-arrow{color:#2196f3}.darkBlue-dark .mat-form-field.mat-focused.mat-warn .mat-select-arrow,.darkBlue-dark .mat-form-field .mat-select.mat-select-invalid .mat-select-arrow{color:#f44336}.darkBlue-dark .mat-form-field .mat-select.mat-select-disabled .mat-select-arrow{color:#a5e1fd4d}.darkBlue-dark .mat-drawer-container{background-color:#000e60;color:#a5e1fd}.darkBlue-dark .mat-drawer{background-color:#000844;color:#a5e1fd}.darkBlue-dark .mat-drawer.mat-drawer-push{background-color:#000844}.darkBlue-dark .mat-drawer:not(.mat-drawer-side){box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f}.darkBlue-dark .mat-drawer-side{border-right:solid 1px rgba(255,255,255,.12)}.darkBlue-dark .mat-drawer-side.mat-drawer-end,.darkBlue-dark [dir=rtl] .mat-drawer-side{border-left:solid 1px rgba(255,255,255,.12);border-right:none}.darkBlue-dark [dir=rtl] .mat-drawer-side.mat-drawer-end{border-left:none;border-right:solid 1px rgba(255,255,255,.12)}.darkBlue-dark .mat-drawer-backdrop.mat-drawer-shown{background-color:#fff7bb99}.darkBlue-dark .mat-slide-toggle.mat-checked .mat-slide-toggle-thumb{background-color:#2196f3}.darkBlue-dark .mat-slide-toggle.mat-checked .mat-slide-toggle-bar{background-color:#2196f38a}.darkBlue-dark .mat-slide-toggle.mat-checked .mat-ripple-element{background-color:#2196f3}.darkBlue-dark .mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-thumb{background-color:#000e60}.darkBlue-dark .mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-bar{background-color:#000e608a}.darkBlue-dark .mat-slide-toggle.mat-primary.mat-checked .mat-ripple-element{background-color:#000e60}.darkBlue-dark .mat-slide-toggle.mat-warn.mat-checked .mat-slide-toggle-thumb{background-color:#f44336}.darkBlue-dark .mat-slide-toggle.mat-warn.mat-checked .mat-slide-toggle-bar{background-color:#f443368a}.darkBlue-dark .mat-slide-toggle.mat-warn.mat-checked .mat-ripple-element{background-color:#f44336}.darkBlue-dark .mat-slide-toggle:not(.mat-checked) .mat-ripple-element{background-color:#a5e1fd}.darkBlue-dark .mat-slide-toggle-thumb{box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f;background-color:#bdbdbd}.darkBlue-dark .mat-slide-toggle-bar,.darkBlue-dark .mat-slider-track-background{background-color:#a5e1fd4d}.darkBlue-dark .mat-slider.mat-primary .mat-slider-track-fill,.darkBlue-dark .mat-slider.mat-primary .mat-slider-thumb,.darkBlue-dark .mat-slider.mat-primary .mat-slider-thumb-label{background-color:#000e60}.darkBlue-dark .mat-slider.mat-primary .mat-slider-thumb-label-text{color:#fff}.darkBlue-dark .mat-slider.mat-primary .mat-slider-focus-ring{background-color:#000e6033}.darkBlue-dark .mat-slider.mat-accent .mat-slider-track-fill,.darkBlue-dark .mat-slider.mat-accent .mat-slider-thumb,.darkBlue-dark .mat-slider.mat-accent .mat-slider-thumb-label{background-color:#2196f3}.darkBlue-dark .mat-slider.mat-accent .mat-slider-thumb-label-text{color:#fff}.darkBlue-dark .mat-slider.mat-accent .mat-slider-focus-ring{background-color:#2196f333}.darkBlue-dark .mat-slider.mat-warn .mat-slider-track-fill,.darkBlue-dark .mat-slider.mat-warn .mat-slider-thumb,.darkBlue-dark .mat-slider.mat-warn .mat-slider-thumb-label{background-color:#f44336}.darkBlue-dark .mat-slider.mat-warn .mat-slider-thumb-label-text{color:#fff}.darkBlue-dark .mat-slider.mat-warn .mat-slider-focus-ring{background-color:#f4433633}.darkBlue-dark .mat-slider:hover .mat-slider-track-background,.darkBlue-dark .mat-slider.cdk-focused .mat-slider-track-background,.darkBlue-dark .mat-slider.mat-slider-disabled .mat-slider-track-background,.darkBlue-dark .mat-slider.mat-slider-disabled .mat-slider-track-fill,.darkBlue-dark .mat-slider.mat-slider-disabled .mat-slider-thumb,.darkBlue-dark .mat-slider.mat-slider-disabled:hover .mat-slider-track-background{background-color:#a5e1fd4d}.darkBlue-dark .mat-slider.mat-slider-min-value .mat-slider-focus-ring{background-color:#a5e1fd1f}.darkBlue-dark .mat-slider.mat-slider-min-value.mat-slider-thumb-label-showing .mat-slider-thumb,.darkBlue-dark .mat-slider.mat-slider-min-value.mat-slider-thumb-label-showing .mat-slider-thumb-label{background-color:#a5e1fd}.darkBlue-dark .mat-slider.mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb,.darkBlue-dark .mat-slider.mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb-label{background-color:#a5e1fd4d}.darkBlue-dark .mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing) .mat-slider-thumb{border-color:#a5e1fd4d;background-color:transparent}.darkBlue-dark .mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover .mat-slider-thumb,.darkBlue-dark .mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused .mat-slider-thumb{border-color:#a5e1fd4d}.darkBlue-dark .mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover.mat-slider-disabled .mat-slider-thumb,.darkBlue-dark .mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused.mat-slider-disabled .mat-slider-thumb{border-color:#a5e1fd4d}.darkBlue-dark .mat-slider-has-ticks .mat-slider-wrapper:after{border-color:#a5e1fdb3}.darkBlue-dark .mat-slider-horizontal .mat-slider-ticks{background-image:repeating-linear-gradient(to right,rgba(165,225,253,.7),rgba(165,225,253,.7) 2px,transparent 0,transparent);background-image:-moz-repeating-linear-gradient(.0001deg,rgba(165,225,253,.7),rgba(165,225,253,.7) 2px,transparent 0,transparent)}.darkBlue-dark .mat-slider-vertical .mat-slider-ticks{background-image:repeating-linear-gradient(to bottom,rgba(165,225,253,.7),rgba(165,225,253,.7) 2px,transparent 0,transparent)}.darkBlue-dark .mat-step-header.cdk-keyboard-focused,.darkBlue-dark .mat-step-header.cdk-program-focused,.darkBlue-dark .mat-step-header:hover:not([aria-disabled]),.darkBlue-dark .mat-step-header:hover[aria-disabled=false]{background-color:#ffffff0a}.darkBlue-dark .mat-step-header:hover[aria-disabled=true]{cursor:default}@media (hover: none){.darkBlue-dark .mat-step-header:hover{background:none}}.darkBlue-dark .mat-step-header .mat-step-label,.darkBlue-dark .mat-step-header .mat-step-optional{color:#a5e1fdb3}.darkBlue-dark .mat-step-header .mat-step-icon{background-color:#a5e1fdb3;color:#fff}.darkBlue-dark .mat-step-header .mat-step-icon-selected,.darkBlue-dark .mat-step-header .mat-step-icon-state-done,.darkBlue-dark .mat-step-header .mat-step-icon-state-edit{background-color:#000e60;color:#fff}.darkBlue-dark .mat-step-header.mat-accent .mat-step-icon{color:#fff}.darkBlue-dark .mat-step-header.mat-accent .mat-step-icon-selected,.darkBlue-dark .mat-step-header.mat-accent .mat-step-icon-state-done,.darkBlue-dark .mat-step-header.mat-accent .mat-step-icon-state-edit{background-color:#2196f3;color:#fff}.darkBlue-dark .mat-step-header.mat-warn .mat-step-icon{color:#fff}.darkBlue-dark .mat-step-header.mat-warn .mat-step-icon-selected,.darkBlue-dark .mat-step-header.mat-warn .mat-step-icon-state-done,.darkBlue-dark .mat-step-header.mat-warn .mat-step-icon-state-edit{background-color:#f44336;color:#fff}.darkBlue-dark .mat-step-header .mat-step-icon-state-error{background-color:transparent;color:#f44336}.darkBlue-dark .mat-step-header .mat-step-label.mat-step-label-active{color:#a5e1fd}.darkBlue-dark .mat-step-header .mat-step-label.mat-step-label-error{color:#f44336}.darkBlue-dark .mat-stepper-horizontal,.darkBlue-dark .mat-stepper-vertical{background-color:#000844}.darkBlue-dark .mat-stepper-vertical-line:before{border-left-color:#ffffff1f}.darkBlue-dark .mat-horizontal-stepper-header:before,.darkBlue-dark .mat-horizontal-stepper-header:after,.darkBlue-dark .mat-stepper-horizontal-line{border-top-color:#ffffff1f}.darkBlue-dark .mat-sort-header-arrow{color:#74a0c6}.darkBlue-dark .mat-tab-nav-bar,.darkBlue-dark .mat-tab-header{border-bottom:1px solid rgba(255,255,255,.12)}.darkBlue-dark .mat-tab-group-inverted-header .mat-tab-nav-bar,.darkBlue-dark .mat-tab-group-inverted-header .mat-tab-header{border-top:1px solid rgba(255,255,255,.12);border-bottom:none}.darkBlue-dark .mat-tab-label,.darkBlue-dark .mat-tab-link{color:#a5e1fd}.darkBlue-dark .mat-tab-label.mat-tab-disabled,.darkBlue-dark .mat-tab-link.mat-tab-disabled{color:#a5e1fd4d}.darkBlue-dark .mat-tab-header-pagination-chevron{border-color:#a5e1fd}.darkBlue-dark .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:#a5e1fd4d}.darkBlue-dark .mat-tab-group[class*=mat-background-]>.mat-tab-header,.darkBlue-dark .mat-tab-nav-bar[class*=mat-background-]{border-bottom:none;border-top:none}.darkBlue-dark .mat-tab-group.mat-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.darkBlue-dark .mat-tab-group.mat-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.darkBlue-dark .mat-tab-group.mat-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.darkBlue-dark .mat-tab-group.mat-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.darkBlue-dark .mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.darkBlue-dark .mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.darkBlue-dark .mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.darkBlue-dark .mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#b3b7cf4d}.darkBlue-dark .mat-tab-group.mat-primary .mat-ink-bar,.darkBlue-dark .mat-tab-nav-bar.mat-primary .mat-ink-bar{background-color:#000e60}.darkBlue-dark .mat-tab-group.mat-primary.mat-background-primary>.mat-tab-header .mat-ink-bar,.darkBlue-dark .mat-tab-group.mat-primary.mat-background-primary>.mat-tab-link-container .mat-ink-bar,.darkBlue-dark .mat-tab-nav-bar.mat-primary.mat-background-primary>.mat-tab-header .mat-ink-bar,.darkBlue-dark .mat-tab-nav-bar.mat-primary.mat-background-primary>.mat-tab-link-container .mat-ink-bar{background-color:#fff}.darkBlue-dark .mat-tab-group.mat-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.darkBlue-dark .mat-tab-group.mat-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.darkBlue-dark .mat-tab-group.mat-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.darkBlue-dark .mat-tab-group.mat-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.darkBlue-dark .mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.darkBlue-dark .mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.darkBlue-dark .mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.darkBlue-dark .mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#bbdefb4d}.darkBlue-dark .mat-tab-group.mat-accent .mat-ink-bar,.darkBlue-dark .mat-tab-nav-bar.mat-accent .mat-ink-bar{background-color:#2196f3}.darkBlue-dark .mat-tab-group.mat-accent.mat-background-accent>.mat-tab-header .mat-ink-bar,.darkBlue-dark .mat-tab-group.mat-accent.mat-background-accent>.mat-tab-link-container .mat-ink-bar,.darkBlue-dark .mat-tab-nav-bar.mat-accent.mat-background-accent>.mat-tab-header .mat-ink-bar,.darkBlue-dark .mat-tab-nav-bar.mat-accent.mat-background-accent>.mat-tab-link-container .mat-ink-bar{background-color:#fff}.darkBlue-dark .mat-tab-group.mat-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.darkBlue-dark .mat-tab-group.mat-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.darkBlue-dark .mat-tab-group.mat-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.darkBlue-dark .mat-tab-group.mat-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.darkBlue-dark .mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.darkBlue-dark .mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.darkBlue-dark .mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.darkBlue-dark .mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#ffcdd24d}.darkBlue-dark .mat-tab-group.mat-warn .mat-ink-bar,.darkBlue-dark .mat-tab-nav-bar.mat-warn .mat-ink-bar{background-color:#f44336}.darkBlue-dark .mat-tab-group.mat-warn.mat-background-warn>.mat-tab-header .mat-ink-bar,.darkBlue-dark .mat-tab-group.mat-warn.mat-background-warn>.mat-tab-link-container .mat-ink-bar,.darkBlue-dark .mat-tab-nav-bar.mat-warn.mat-background-warn>.mat-tab-header .mat-ink-bar,.darkBlue-dark .mat-tab-nav-bar.mat-warn.mat-background-warn>.mat-tab-link-container .mat-ink-bar{background-color:#fff}.darkBlue-dark .mat-tab-group.mat-background-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.darkBlue-dark .mat-tab-group.mat-background-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.darkBlue-dark .mat-tab-group.mat-background-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.darkBlue-dark .mat-tab-group.mat-background-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.darkBlue-dark .mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.darkBlue-dark .mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.darkBlue-dark .mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.darkBlue-dark .mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#b3b7cf4d}.darkBlue-dark .mat-tab-group.mat-background-primary>.mat-tab-header,.darkBlue-dark .mat-tab-group.mat-background-primary>.mat-tab-link-container,.darkBlue-dark .mat-tab-group.mat-background-primary>.mat-tab-header-pagination,.darkBlue-dark .mat-tab-nav-bar.mat-background-primary>.mat-tab-header,.darkBlue-dark .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container,.darkBlue-dark .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination{background-color:#000e60}.darkBlue-dark .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-label,.darkBlue-dark .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-tab-link,.darkBlue-dark .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-label,.darkBlue-dark .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-tab-link{color:#fff}.darkBlue-dark .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-label.mat-tab-disabled,.darkBlue-dark .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.darkBlue-dark .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-label.mat-tab-disabled,.darkBlue-dark .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:#fff6}.darkBlue-dark .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-chevron,.darkBlue-dark .mat-tab-group.mat-background-primary>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.darkBlue-dark .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-focus-indicator:before,.darkBlue-dark .mat-tab-group.mat-background-primary>.mat-tab-header .mat-focus-indicator:before,.darkBlue-dark .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-chevron,.darkBlue-dark .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.darkBlue-dark .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-focus-indicator:before,.darkBlue-dark .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-focus-indicator:before{border-color:#fff}.darkBlue-dark .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.darkBlue-dark .mat-tab-group.mat-background-primary>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.darkBlue-dark .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.darkBlue-dark .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:#fff;opacity:.4}.darkBlue-dark .mat-tab-group.mat-background-primary>.mat-tab-header .mat-ripple-element,.darkBlue-dark .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-ripple-element,.darkBlue-dark .mat-tab-group.mat-background-primary>.mat-tab-header-pagination .mat-ripple-element,.darkBlue-dark .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-ripple-element,.darkBlue-dark .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-ripple-element,.darkBlue-dark .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination .mat-ripple-element{background-color:#fff;opacity:.12}.darkBlue-dark .mat-tab-group.mat-background-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.darkBlue-dark .mat-tab-group.mat-background-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.darkBlue-dark .mat-tab-group.mat-background-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.darkBlue-dark .mat-tab-group.mat-background-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.darkBlue-dark .mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.darkBlue-dark .mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.darkBlue-dark .mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.darkBlue-dark .mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#bbdefb4d}.darkBlue-dark .mat-tab-group.mat-background-accent>.mat-tab-header,.darkBlue-dark .mat-tab-group.mat-background-accent>.mat-tab-link-container,.darkBlue-dark .mat-tab-group.mat-background-accent>.mat-tab-header-pagination,.darkBlue-dark .mat-tab-nav-bar.mat-background-accent>.mat-tab-header,.darkBlue-dark .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container,.darkBlue-dark .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination{background-color:#2196f3}.darkBlue-dark .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-label,.darkBlue-dark .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-tab-link,.darkBlue-dark .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-label,.darkBlue-dark .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-tab-link{color:#fff}.darkBlue-dark .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-label.mat-tab-disabled,.darkBlue-dark .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.darkBlue-dark .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-label.mat-tab-disabled,.darkBlue-dark .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:#fff6}.darkBlue-dark .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-chevron,.darkBlue-dark .mat-tab-group.mat-background-accent>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.darkBlue-dark .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-focus-indicator:before,.darkBlue-dark .mat-tab-group.mat-background-accent>.mat-tab-header .mat-focus-indicator:before,.darkBlue-dark .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-chevron,.darkBlue-dark .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.darkBlue-dark .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-focus-indicator:before,.darkBlue-dark .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-focus-indicator:before{border-color:#fff}.darkBlue-dark .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.darkBlue-dark .mat-tab-group.mat-background-accent>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.darkBlue-dark .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.darkBlue-dark .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:#fff;opacity:.4}.darkBlue-dark .mat-tab-group.mat-background-accent>.mat-tab-header .mat-ripple-element,.darkBlue-dark .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-ripple-element,.darkBlue-dark .mat-tab-group.mat-background-accent>.mat-tab-header-pagination .mat-ripple-element,.darkBlue-dark .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-ripple-element,.darkBlue-dark .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-ripple-element,.darkBlue-dark .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination .mat-ripple-element{background-color:#fff;opacity:.12}.darkBlue-dark .mat-tab-group.mat-background-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.darkBlue-dark .mat-tab-group.mat-background-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.darkBlue-dark .mat-tab-group.mat-background-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.darkBlue-dark .mat-tab-group.mat-background-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.darkBlue-dark .mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.darkBlue-dark .mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.darkBlue-dark .mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.darkBlue-dark .mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#ffcdd24d}.darkBlue-dark .mat-tab-group.mat-background-warn>.mat-tab-header,.darkBlue-dark .mat-tab-group.mat-background-warn>.mat-tab-link-container,.darkBlue-dark .mat-tab-group.mat-background-warn>.mat-tab-header-pagination,.darkBlue-dark .mat-tab-nav-bar.mat-background-warn>.mat-tab-header,.darkBlue-dark .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container,.darkBlue-dark .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination{background-color:#f44336}.darkBlue-dark .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-label,.darkBlue-dark .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-tab-link,.darkBlue-dark .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-label,.darkBlue-dark .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-tab-link{color:#fff}.darkBlue-dark .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-label.mat-tab-disabled,.darkBlue-dark .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.darkBlue-dark .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-label.mat-tab-disabled,.darkBlue-dark .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:#fff6}.darkBlue-dark .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-chevron,.darkBlue-dark .mat-tab-group.mat-background-warn>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.darkBlue-dark .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-focus-indicator:before,.darkBlue-dark .mat-tab-group.mat-background-warn>.mat-tab-header .mat-focus-indicator:before,.darkBlue-dark .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-chevron,.darkBlue-dark .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.darkBlue-dark .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-focus-indicator:before,.darkBlue-dark .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-focus-indicator:before{border-color:#fff}.darkBlue-dark .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.darkBlue-dark .mat-tab-group.mat-background-warn>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.darkBlue-dark .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.darkBlue-dark .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:#fff;opacity:.4}.darkBlue-dark .mat-tab-group.mat-background-warn>.mat-tab-header .mat-ripple-element,.darkBlue-dark .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-ripple-element,.darkBlue-dark .mat-tab-group.mat-background-warn>.mat-tab-header-pagination .mat-ripple-element,.darkBlue-dark .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-ripple-element,.darkBlue-dark .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-ripple-element,.darkBlue-dark .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination .mat-ripple-element{background-color:#fff;opacity:.12}.darkBlue-dark .mat-toolbar{background:#000844;color:#a5e1fd}.darkBlue-dark .mat-toolbar.mat-primary{background:#000e60;color:#fff}.darkBlue-dark .mat-toolbar.mat-accent{background:#2196f3;color:#fff}.darkBlue-dark .mat-toolbar.mat-warn{background:#f44336;color:#fff}.darkBlue-dark .mat-toolbar .mat-form-field-underline,.darkBlue-dark .mat-toolbar .mat-form-field-ripple,.darkBlue-dark .mat-toolbar .mat-focused .mat-form-field-ripple{background-color:currentColor}.darkBlue-dark .mat-toolbar .mat-form-field-label,.darkBlue-dark .mat-toolbar .mat-focused .mat-form-field-label,.darkBlue-dark .mat-toolbar .mat-select-value,.darkBlue-dark .mat-toolbar .mat-select-arrow,.darkBlue-dark .mat-toolbar .mat-form-field.mat-focused .mat-select-arrow{color:inherit}.darkBlue-dark .mat-toolbar .mat-input-element{caret-color:currentColor}.darkBlue-dark .mat-tree{background:#000844}.darkBlue-dark .mat-tree-node,.darkBlue-dark .mat-nested-tree-node{color:#a5e1fd}.darkBlue-dark .mat-snack-bar-container{color:#000000de;background:#fafafa;box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.darkBlue-dark .mat-simple-snackbar-action{color:inherit}.darkBlue-dark .app-defaults{background-color:#000e60;color:#a5e1fd}.darkBlue-dark .theme-menu{background-color:#448aff}.darkBlue-dark .menuBarButtonGroup{background-color:#ffffff1f}.darkBlue-dark .tabGroups{padding-left:0;min-height:100%;height:100%}.darkBlue-dark .tabGroupPanel{display:block;margin:10px 20px 20px}.darkBlue-dark .formActionFooter{width:100%;text-align:end}.darkBlue-dark .formActionButton{margin-left:10px}.darkBlue-dark .formActionDivider{margin-top:10px;margin-bottom:10px}.darkBlue-dark .as-split-gutter{background-color:transparent!important}.darkBlue-dark .primary{color:#4d5690}.darkBlue-dark .accent{color:#64b5f6}.darkBlue-dark .warn{color:#e57373}.darkBlue-dark .primaryDark{color:#000433}.darkBlue-dark .accentDark{color:#0d47a1}.darkBlue-dark .warnDark{color:#b71c1c}.darkBlue-dark .background{color:#ffffff1f}.darkBlue-dark .text{color:#a5e1fd}.darkBlue-dark .pathMetaDescription{font:small-caption;color:#a5e1fd4d}.darkBlue-dark .textGenericWrapper{position:relative;width:100%;height:100%}.darkBlue-dark .canvas-size{position:absolute;top:0;left:0}.darkBlue-dark .warn{color:#f44336}.darkBlue-dark .warn-contrast{color:#fff}.darkBlue-dark DIV.apScreen{display:block;position:relative;width:360px;height:220.5px;margin:auto;text-align:center;border-radius:5px;border:1px solid rgba(255,255,255,.12);background-color:#ffffff1f}.darkBlue-dark .apScreen .apCompass{position:relative;width:360px;height:202px;margin:auto;border-radius:5px}.darkBlue-dark .apStatusBar{width:360px;height:18.5px;border-bottom-left-radius:5px;border-bottom-right-radius:5px;background-color:#000}.darkBlue-dark .apStatusBar,.darkBlue-dark .apStatusBar DIV{display:inline-block;position:relative}.darkBlue-dark .apScreen .apStencil{position:absolute;top:0;left:0;width:100%;height:100%;margin:auto;border-radius:5px;z-index:10;vertical-align:middle;background-color:#000e60}.darkBlue-dark .apStencil.confirmCommand{z-index:5;visibility:hidden}.darkBlue-dark .apStencil.error{z-index:6;visibility:hidden}.darkBlue-dark .apText{fill:#a5e1fd}.darkBlue-dark .boatBackground{stop-color:#64b5f6!important}.darkBlue-dark .heading-background{stroke:#000e60;fill:#afafaf}.darkBlue-dark .wind-text{fill:#000e60;stroke:#000e60}.darkBlue-dark .laylines{stroke:#a5e1fd}.darkBlue-dark .wind-sector-port{fill:red}.darkBlue-dark .wind-sector-stbd{fill:#1fce04}.darkBlue-dark .compass-outer-ring{stroke:#757575}.darkBlue-dark .compass-inner-ring{stroke:#afafaf;fill:#afafaf}.darkBlue-dark .wind-rose-background{stroke:#8a8a8a}.darkBlue-dark .sailSetupBoat{stroke:#afafaf}.darkBlue-dark .sailSetupFull{fill:#4d5690}.darkBlue-dark .sailSetupReef1{fill:#64b5f6}.darkBlue-dark .sailSetupReef2{fill:#e57373}.darkBlue-dark .sailSetupReef3{fill:#f44336}.darkBlue-dark .port{stroke:red}.darkBlue-dark .starboard{stroke:#1fce04}.darkBlue-dark .rudderPort{fill:#d52626}.darkBlue-dark .rudderStarboard{fill:#389c19}.darkBlue-dark .true-wind{fill:#068dfb}.darkBlue-dark .app-wind{fill:#028502}.darkBlue-dark .simpleLinear-text{fill:#a5e1fd}.darkBlue-dark .windWrapper{position:relative;width:100%;height:100%}.darkBlue-dark .matBadge{z-index:1000}.darkBlue-dark .mute-unmte-alarm{width:max-content}.darkBlue-dark .alarmWarning{animation:blinkingAlarmWarning 1.5s infinite;background-color:orange!important}.darkBlue-dark .alarmCrit{animation:blinkingAlarmCrit .25s infinite}.darkBlue-dark .muteSoundButton:hover{background:rgba(255,255,255,.04)}.darkBlue-dark .serverStatus{background-color:#ffffff1f;margin:7% 5% 0%;padding:10px 20px 20px}.darkBlue-dark .descriptiveTexts{color:#a5e1fd;font-size:14px}.darkBlue-dark .flex-item{flex:1 1 29%;background-color:#ffffff1f;padding:20px;border-radius:4px}.darkBlue-dark .flex-item-copy{flex:2 1 40%;background-color:#ffffff1f;padding:10px 20px;border-radius:4px}.modern-dark .mat-ripple-element{background-color:#ffffff1a}.modern-dark .mat-option{color:#fff}.modern-dark .mat-option:hover:not(.mat-option-disabled),.modern-dark .mat-option:focus:not(.mat-option-disabled){background:rgba(255,255,255,.04)}.modern-dark .mat-option.mat-selected:not(.mat-option-multiple):not(.mat-option-disabled){background:rgba(255,255,255,.04)}.modern-dark .mat-option.mat-active{background:rgba(255,255,255,.04);color:#fff}.modern-dark .mat-option.mat-option-disabled{color:#ffffff80}.modern-dark .mat-primary .mat-option.mat-selected:not(.mat-option-disabled){color:#63afdf}.modern-dark .mat-accent .mat-option.mat-selected:not(.mat-option-disabled){color:#1e1e1e}.modern-dark .mat-warn .mat-option.mat-selected:not(.mat-option-disabled){color:#d52626}.modern-dark .mat-optgroup-label{color:#ffffffb3}.modern-dark .mat-optgroup-disabled .mat-optgroup-label{color:#ffffff80}.modern-dark .mat-pseudo-checkbox{color:#ffffffb3}.modern-dark .mat-pseudo-checkbox:after{color:#303030}.modern-dark .mat-pseudo-checkbox-disabled{color:#686868}.modern-dark .mat-primary .mat-pseudo-checkbox-checked,.modern-dark .mat-primary .mat-pseudo-checkbox-indeterminate{background:#63afdf}.modern-dark .mat-pseudo-checkbox-checked,.modern-dark .mat-pseudo-checkbox-indeterminate,.modern-dark .mat-accent .mat-pseudo-checkbox-checked,.modern-dark .mat-accent .mat-pseudo-checkbox-indeterminate{background:#1e1e1e}.modern-dark .mat-warn .mat-pseudo-checkbox-checked,.modern-dark .mat-warn .mat-pseudo-checkbox-indeterminate{background:#d52626}.modern-dark .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.modern-dark .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background:#686868}.modern-dark .mat-app-background,.modern-dark.mat-app-background{background-color:#303030;color:#fff}.modern-dark .mat-elevation-z0{box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.modern-dark .mat-elevation-z1{box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f}.modern-dark .mat-elevation-z2{box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.modern-dark .mat-elevation-z3{box-shadow:0 3px 3px -2px #0003,0 3px 4px #00000024,0 1px 8px #0000001f}.modern-dark .mat-elevation-z4{box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.modern-dark .mat-elevation-z5{box-shadow:0 3px 5px -1px #0003,0 5px 8px #00000024,0 1px 14px #0000001f}.modern-dark .mat-elevation-z6{box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.modern-dark .mat-elevation-z7{box-shadow:0 4px 5px -2px #0003,0 7px 10px 1px #00000024,0 2px 16px 1px #0000001f}.modern-dark .mat-elevation-z8{box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.modern-dark .mat-elevation-z9{box-shadow:0 5px 6px -3px #0003,0 9px 12px 1px #00000024,0 3px 16px 2px #0000001f}.modern-dark .mat-elevation-z10{box-shadow:0 6px 6px -3px #0003,0 10px 14px 1px #00000024,0 4px 18px 3px #0000001f}.modern-dark .mat-elevation-z11{box-shadow:0 6px 7px -4px #0003,0 11px 15px 1px #00000024,0 4px 20px 3px #0000001f}.modern-dark .mat-elevation-z12{box-shadow:0 7px 8px -4px #0003,0 12px 17px 2px #00000024,0 5px 22px 4px #0000001f}.modern-dark .mat-elevation-z13{box-shadow:0 7px 8px -4px #0003,0 13px 19px 2px #00000024,0 5px 24px 4px #0000001f}.modern-dark .mat-elevation-z14{box-shadow:0 7px 9px -4px #0003,0 14px 21px 2px #00000024,0 5px 26px 4px #0000001f}.modern-dark .mat-elevation-z15{box-shadow:0 8px 9px -5px #0003,0 15px 22px 2px #00000024,0 6px 28px 5px #0000001f}.modern-dark .mat-elevation-z16{box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f}.modern-dark .mat-elevation-z17{box-shadow:0 8px 11px -5px #0003,0 17px 26px 2px #00000024,0 6px 32px 5px #0000001f}.modern-dark .mat-elevation-z18{box-shadow:0 9px 11px -5px #0003,0 18px 28px 2px #00000024,0 7px 34px 6px #0000001f}.modern-dark .mat-elevation-z19{box-shadow:0 9px 12px -6px #0003,0 19px 29px 2px #00000024,0 7px 36px 6px #0000001f}.modern-dark .mat-elevation-z20{box-shadow:0 10px 13px -6px #0003,0 20px 31px 3px #00000024,0 8px 38px 7px #0000001f}.modern-dark .mat-elevation-z21{box-shadow:0 10px 13px -6px #0003,0 21px 33px 3px #00000024,0 8px 40px 7px #0000001f}.modern-dark .mat-elevation-z22{box-shadow:0 10px 14px -6px #0003,0 22px 35px 3px #00000024,0 8px 42px 7px #0000001f}.modern-dark .mat-elevation-z23{box-shadow:0 11px 14px -7px #0003,0 23px 36px 3px #00000024,0 9px 44px 8px #0000001f}.modern-dark .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}.modern-dark .mat-autocomplete-panel{background:#424242;color:#fff}.modern-dark .mat-autocomplete-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.modern-dark .mat-autocomplete-panel .mat-option.mat-selected:not(.mat-active):not(:hover){background:#424242}.modern-dark .mat-autocomplete-panel .mat-option.mat-selected:not(.mat-active):not(:hover):not(.mat-option-disabled){color:#fff}.modern-dark .mat-badge-content{color:#000;background:#63afdf}.cdk-high-contrast-active .modern-dark .mat-badge-content{outline:solid 1px;border-radius:0}.modern-dark .mat-badge-accent .mat-badge-content{background:#1e1e1e;color:#fff}.modern-dark .mat-badge-warn .mat-badge-content{color:#fff;background:#d52626}.modern-dark .mat-badge-disabled .mat-badge-content{background:#6e6e6e;color:#ffffff80}.modern-dark .mat-bottom-sheet-container{box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f;background:#424242;color:#fff}.modern-dark .mat-button,.modern-dark .mat-icon-button,.modern-dark .mat-stroked-button{color:inherit;background:transparent}.modern-dark .mat-button.mat-primary,.modern-dark .mat-icon-button.mat-primary,.modern-dark .mat-stroked-button.mat-primary{color:#63afdf}.modern-dark .mat-button.mat-accent,.modern-dark .mat-icon-button.mat-accent,.modern-dark .mat-stroked-button.mat-accent{color:#1e1e1e}.modern-dark .mat-button.mat-warn,.modern-dark .mat-icon-button.mat-warn,.modern-dark .mat-stroked-button.mat-warn{color:#d52626}.modern-dark .mat-button.mat-primary.mat-button-disabled,.modern-dark .mat-button.mat-accent.mat-button-disabled,.modern-dark .mat-button.mat-warn.mat-button-disabled,.modern-dark .mat-button.mat-button-disabled.mat-button-disabled,.modern-dark .mat-icon-button.mat-primary.mat-button-disabled,.modern-dark .mat-icon-button.mat-accent.mat-button-disabled,.modern-dark .mat-icon-button.mat-warn.mat-button-disabled,.modern-dark .mat-icon-button.mat-button-disabled.mat-button-disabled,.modern-dark .mat-stroked-button.mat-primary.mat-button-disabled,.modern-dark .mat-stroked-button.mat-accent.mat-button-disabled,.modern-dark .mat-stroked-button.mat-warn.mat-button-disabled,.modern-dark .mat-stroked-button.mat-button-disabled.mat-button-disabled{color:#ffffff4d}.modern-dark .mat-button.mat-primary .mat-button-focus-overlay,.modern-dark .mat-icon-button.mat-primary .mat-button-focus-overlay,.modern-dark .mat-stroked-button.mat-primary .mat-button-focus-overlay{background-color:#63afdf}.modern-dark .mat-button.mat-accent .mat-button-focus-overlay,.modern-dark .mat-icon-button.mat-accent .mat-button-focus-overlay,.modern-dark .mat-stroked-button.mat-accent .mat-button-focus-overlay{background-color:#1e1e1e}.modern-dark .mat-button.mat-warn .mat-button-focus-overlay,.modern-dark .mat-icon-button.mat-warn .mat-button-focus-overlay,.modern-dark .mat-stroked-button.mat-warn .mat-button-focus-overlay{background-color:#d52626}.modern-dark .mat-button.mat-button-disabled .mat-button-focus-overlay,.modern-dark .mat-icon-button.mat-button-disabled .mat-button-focus-overlay,.modern-dark .mat-stroked-button.mat-button-disabled .mat-button-focus-overlay{background-color:transparent}.modern-dark .mat-button .mat-ripple-element,.modern-dark .mat-icon-button .mat-ripple-element,.modern-dark .mat-stroked-button .mat-ripple-element{opacity:.1;background-color:currentColor}.modern-dark .mat-button-focus-overlay{background:white}.modern-dark .mat-stroked-button:not(.mat-button-disabled){border-color:#ffffff1f}.modern-dark .mat-flat-button,.modern-dark .mat-raised-button,.modern-dark .mat-fab,.modern-dark .mat-mini-fab{color:#fff;background-color:#424242}.modern-dark .mat-flat-button.mat-primary,.modern-dark .mat-raised-button.mat-primary,.modern-dark .mat-fab.mat-primary,.modern-dark .mat-mini-fab.mat-primary{color:#000}.modern-dark .mat-flat-button.mat-accent,.modern-dark .mat-raised-button.mat-accent,.modern-dark .mat-fab.mat-accent,.modern-dark .mat-mini-fab.mat-accent,.modern-dark .mat-flat-button.mat-warn,.modern-dark .mat-raised-button.mat-warn,.modern-dark .mat-fab.mat-warn,.modern-dark .mat-mini-fab.mat-warn{color:#fff}.modern-dark .mat-flat-button.mat-primary.mat-button-disabled,.modern-dark .mat-flat-button.mat-accent.mat-button-disabled,.modern-dark .mat-flat-button.mat-warn.mat-button-disabled,.modern-dark .mat-flat-button.mat-button-disabled.mat-button-disabled,.modern-dark .mat-raised-button.mat-primary.mat-button-disabled,.modern-dark .mat-raised-button.mat-accent.mat-button-disabled,.modern-dark .mat-raised-button.mat-warn.mat-button-disabled,.modern-dark .mat-raised-button.mat-button-disabled.mat-button-disabled,.modern-dark .mat-fab.mat-primary.mat-button-disabled,.modern-dark .mat-fab.mat-accent.mat-button-disabled,.modern-dark .mat-fab.mat-warn.mat-button-disabled,.modern-dark .mat-fab.mat-button-disabled.mat-button-disabled,.modern-dark .mat-mini-fab.mat-primary.mat-button-disabled,.modern-dark .mat-mini-fab.mat-accent.mat-button-disabled,.modern-dark .mat-mini-fab.mat-warn.mat-button-disabled,.modern-dark .mat-mini-fab.mat-button-disabled.mat-button-disabled{color:#ffffff4d}.modern-dark .mat-flat-button.mat-primary,.modern-dark .mat-raised-button.mat-primary,.modern-dark .mat-fab.mat-primary,.modern-dark .mat-mini-fab.mat-primary{background-color:#63afdf}.modern-dark .mat-flat-button.mat-accent,.modern-dark .mat-raised-button.mat-accent,.modern-dark .mat-fab.mat-accent,.modern-dark .mat-mini-fab.mat-accent{background-color:#1e1e1e}.modern-dark .mat-flat-button.mat-warn,.modern-dark .mat-raised-button.mat-warn,.modern-dark .mat-fab.mat-warn,.modern-dark .mat-mini-fab.mat-warn{background-color:#d52626}.modern-dark .mat-flat-button.mat-primary.mat-button-disabled,.modern-dark .mat-flat-button.mat-accent.mat-button-disabled,.modern-dark .mat-flat-button.mat-warn.mat-button-disabled,.modern-dark .mat-flat-button.mat-button-disabled.mat-button-disabled,.modern-dark .mat-raised-button.mat-primary.mat-button-disabled,.modern-dark .mat-raised-button.mat-accent.mat-button-disabled,.modern-dark .mat-raised-button.mat-warn.mat-button-disabled,.modern-dark .mat-raised-button.mat-button-disabled.mat-button-disabled,.modern-dark .mat-fab.mat-primary.mat-button-disabled,.modern-dark .mat-fab.mat-accent.mat-button-disabled,.modern-dark .mat-fab.mat-warn.mat-button-disabled,.modern-dark .mat-fab.mat-button-disabled.mat-button-disabled,.modern-dark .mat-mini-fab.mat-primary.mat-button-disabled,.modern-dark .mat-mini-fab.mat-accent.mat-button-disabled,.modern-dark .mat-mini-fab.mat-warn.mat-button-disabled,.modern-dark .mat-mini-fab.mat-button-disabled.mat-button-disabled{background-color:#ffffff1f}.modern-dark .mat-flat-button.mat-primary .mat-ripple-element,.modern-dark .mat-raised-button.mat-primary .mat-ripple-element,.modern-dark .mat-fab.mat-primary .mat-ripple-element,.modern-dark .mat-mini-fab.mat-primary .mat-ripple-element{background-color:#0000001a}.modern-dark .mat-flat-button.mat-accent .mat-ripple-element,.modern-dark .mat-raised-button.mat-accent .mat-ripple-element,.modern-dark .mat-fab.mat-accent .mat-ripple-element,.modern-dark .mat-mini-fab.mat-accent .mat-ripple-element,.modern-dark .mat-flat-button.mat-warn .mat-ripple-element,.modern-dark .mat-raised-button.mat-warn .mat-ripple-element,.modern-dark .mat-fab.mat-warn .mat-ripple-element,.modern-dark .mat-mini-fab.mat-warn .mat-ripple-element{background-color:#ffffff1a}.modern-dark .mat-stroked-button:not([class*=mat-elevation-z]),.modern-dark .mat-flat-button:not([class*=mat-elevation-z]){box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.modern-dark .mat-raised-button:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.modern-dark .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}.modern-dark .mat-raised-button.mat-button-disabled:not([class*=mat-elevation-z]){box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.modern-dark .mat-fab:not([class*=mat-elevation-z]),.modern-dark .mat-mini-fab:not([class*=mat-elevation-z]){box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.modern-dark .mat-fab:not(.mat-button-disabled):active:not([class*=mat-elevation-z]),.modern-dark .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}.modern-dark .mat-fab.mat-button-disabled:not([class*=mat-elevation-z]),.modern-dark .mat-mini-fab.mat-button-disabled:not([class*=mat-elevation-z]){box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.modern-dark .mat-button-toggle-standalone:not([class*=mat-elevation-z]),.modern-dark .mat-button-toggle-group:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.modern-dark .mat-button-toggle-standalone.mat-button-toggle-appearance-standard:not([class*=mat-elevation-z]),.modern-dark .mat-button-toggle-group-appearance-standard:not([class*=mat-elevation-z]){box-shadow:none}.modern-dark .mat-button-toggle{color:#ffffff80}.modern-dark .mat-button-toggle .mat-button-toggle-focus-overlay{background-color:#ffffff1f}.modern-dark .mat-button-toggle-appearance-standard{color:#fff;background:#424242}.modern-dark .mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{background-color:#fff}.modern-dark .mat-button-toggle-group-appearance-standard .mat-button-toggle+.mat-button-toggle{border-left:solid 1px #595959}.modern-dark [dir=rtl] .mat-button-toggle-group-appearance-standard .mat-button-toggle+.mat-button-toggle{border-left:none;border-right:solid 1px #595959}.modern-dark .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 #595959}.modern-dark .mat-button-toggle-checked{background-color:#212121;color:#ffffffb3}.modern-dark .mat-button-toggle-checked.mat-button-toggle-appearance-standard{color:#fff}.modern-dark .mat-button-toggle-disabled{color:#ffffff4d;background-color:#000}.modern-dark .mat-button-toggle-disabled.mat-button-toggle-appearance-standard{background:#424242}.modern-dark .mat-button-toggle-disabled.mat-button-toggle-checked{background-color:#424242}.modern-dark .mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.modern-dark .mat-button-toggle-group-appearance-standard{border:solid 1px #595959}.modern-dark .mat-card{background:#424242;color:#fff}.modern-dark .mat-card:not([class*=mat-elevation-z]){box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f}.modern-dark .mat-card.mat-card-flat:not([class*=mat-elevation-z]){box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.modern-dark .mat-card-subtitle{color:#ffffffb3}.modern-dark .mat-checkbox-frame{border-color:#ffffffb3}.modern-dark .mat-checkbox-checkmark{fill:#303030}.modern-dark .mat-checkbox-checkmark-path{stroke:#303030!important}.modern-dark .mat-checkbox-mixedmark{background-color:#303030}.modern-dark .mat-checkbox-indeterminate.mat-primary .mat-checkbox-background,.modern-dark .mat-checkbox-checked.mat-primary .mat-checkbox-background{background-color:#63afdf}.modern-dark .mat-checkbox-indeterminate.mat-accent .mat-checkbox-background,.modern-dark .mat-checkbox-checked.mat-accent .mat-checkbox-background{background-color:#1e1e1e}.modern-dark .mat-checkbox-indeterminate.mat-warn .mat-checkbox-background,.modern-dark .mat-checkbox-checked.mat-warn .mat-checkbox-background{background-color:#d52626}.modern-dark .mat-checkbox-disabled.mat-checkbox-checked .mat-checkbox-background,.modern-dark .mat-checkbox-disabled.mat-checkbox-indeterminate .mat-checkbox-background{background-color:#686868}.modern-dark .mat-checkbox-disabled:not(.mat-checkbox-checked) .mat-checkbox-frame{border-color:#686868}.modern-dark .mat-checkbox-disabled .mat-checkbox-label{color:#ffffff80}.modern-dark .mat-checkbox .mat-ripple-element{background-color:#fff}.modern-dark .mat-checkbox-checked:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element,.modern-dark .mat-checkbox:active:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element{background:#63afdf}.modern-dark .mat-checkbox-checked:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element,.modern-dark .mat-checkbox:active:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element{background:#1e1e1e}.modern-dark .mat-checkbox-checked:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element,.modern-dark .mat-checkbox:active:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element{background:#d52626}.modern-dark .mat-chip.mat-standard-chip{background-color:#616161;color:#fff}.modern-dark .mat-chip.mat-standard-chip .mat-chip-remove{color:#fff;opacity:.4}.modern-dark .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}.modern-dark .mat-chip.mat-standard-chip:not(.mat-chip-disabled) .mat-chip-remove:hover{opacity:.54}.modern-dark .mat-chip.mat-standard-chip.mat-chip-disabled{opacity:.4}.modern-dark .mat-chip.mat-standard-chip:after{background:white}.modern-dark .mat-chip.mat-standard-chip.mat-chip-selected.mat-primary{background-color:#63afdf;color:#000}.modern-dark .mat-chip.mat-standard-chip.mat-chip-selected.mat-primary .mat-chip-remove{color:#000;opacity:.4}.modern-dark .mat-chip.mat-standard-chip.mat-chip-selected.mat-primary .mat-ripple-element{background-color:#0000001a}.modern-dark .mat-chip.mat-standard-chip.mat-chip-selected.mat-warn{background-color:#d52626;color:#fff}.modern-dark .mat-chip.mat-standard-chip.mat-chip-selected.mat-warn .mat-chip-remove{color:#fff;opacity:.4}.modern-dark .mat-chip.mat-standard-chip.mat-chip-selected.mat-warn .mat-ripple-element{background-color:#ffffff1a}.modern-dark .mat-chip.mat-standard-chip.mat-chip-selected.mat-accent{background-color:#1e1e1e;color:#fff}.modern-dark .mat-chip.mat-standard-chip.mat-chip-selected.mat-accent .mat-chip-remove{color:#fff;opacity:.4}.modern-dark .mat-chip.mat-standard-chip.mat-chip-selected.mat-accent .mat-ripple-element{background-color:#ffffff1a}.modern-dark .mat-table{background:#424242}.modern-dark .mat-table thead,.modern-dark .mat-table tbody,.modern-dark .mat-table tfoot,.modern-dark mat-header-row,.modern-dark mat-row,.modern-dark mat-footer-row,.modern-dark [mat-header-row],.modern-dark [mat-row],.modern-dark [mat-footer-row],.modern-dark .mat-table-sticky{background:inherit}.modern-dark mat-row,.modern-dark mat-header-row,.modern-dark mat-footer-row,.modern-dark th.mat-header-cell,.modern-dark td.mat-cell,.modern-dark td.mat-footer-cell{border-bottom-color:#ffffff1f}.modern-dark .mat-header-cell{color:#ffffffb3}.modern-dark .mat-cell,.modern-dark .mat-footer-cell{color:#fff}.modern-dark .mat-calendar-arrow{fill:#fff}.modern-dark .mat-datepicker-toggle,.modern-dark .mat-datepicker-content .mat-calendar-next-button,.modern-dark .mat-datepicker-content .mat-calendar-previous-button{color:#fff}.modern-dark .mat-calendar-table-header-divider:after{background:rgba(255,255,255,.12)}.modern-dark .mat-calendar-table-header,.modern-dark .mat-calendar-body-label{color:#ffffffb3}.modern-dark .mat-calendar-body-cell-content,.modern-dark .mat-date-range-input-separator{color:#fff;border-color:transparent}.modern-dark .mat-calendar-body-disabled>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){color:#ffffff80}.modern-dark .mat-form-field-disabled .mat-date-range-input-separator{color:#ffffff80}.modern-dark .mat-calendar-body-in-preview{color:#ffffff3d}.modern-dark .mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:#ffffff80}.modern-dark .mat-calendar-body-disabled>.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:#ffffff4d}.modern-dark .mat-calendar-body-in-range:before{background:rgba(99,175,223,.2)}.modern-dark .mat-calendar-body-comparison-identical,.modern-dark .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.modern-dark .mat-calendar-body-comparison-bridge-start:before,.modern-dark [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(to right,rgba(99,175,223,.2) 50%,rgba(249,171,0,.2) 50%)}.modern-dark .mat-calendar-body-comparison-bridge-end:before,.modern-dark [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(to left,rgba(99,175,223,.2) 50%,rgba(249,171,0,.2) 50%)}.modern-dark .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.modern-dark .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after{background:#a8dab5}.modern-dark .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.modern-dark .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.modern-dark .mat-calendar-body-selected{background-color:#63afdf;color:#000}.modern-dark .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:#63afdf66}.modern-dark .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #000}.modern-dark .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.modern-dark .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:#63afdf4d}@media (hover: hover){.modern-dark .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:#63afdf4d}}.modern-dark .mat-datepicker-content{box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f;background-color:#424242;color:#fff}.modern-dark .mat-datepicker-content.mat-accent .mat-calendar-body-in-range:before{background:rgba(30,30,30,.2)}.modern-dark .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-identical,.modern-dark .mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.modern-dark .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-bridge-start:before,.modern-dark .mat-datepicker-content.mat-accent [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(to right,rgba(30,30,30,.2) 50%,rgba(249,171,0,.2) 50%)}.modern-dark .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-bridge-end:before,.modern-dark .mat-datepicker-content.mat-accent [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(to left,rgba(30,30,30,.2) 50%,rgba(249,171,0,.2) 50%)}.modern-dark .mat-datepicker-content.mat-accent .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.modern-dark .mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after{background:#a8dab5}.modern-dark .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.modern-dark .mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.modern-dark .mat-datepicker-content.mat-accent .mat-calendar-body-selected{background-color:#1e1e1e;color:#fff}.modern-dark .mat-datepicker-content.mat-accent .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:#1e1e1e66}.modern-dark .mat-datepicker-content.mat-accent .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.modern-dark .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),.modern-dark .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:#1e1e1e4d}@media (hover: hover){.modern-dark .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:#1e1e1e4d}}.modern-dark .mat-datepicker-content.mat-warn .mat-calendar-body-in-range:before{background:rgba(213,38,38,.2)}.modern-dark .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-identical,.modern-dark .mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.modern-dark .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-bridge-start:before,.modern-dark .mat-datepicker-content.mat-warn [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(to right,rgba(213,38,38,.2) 50%,rgba(249,171,0,.2) 50%)}.modern-dark .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-bridge-end:before,.modern-dark .mat-datepicker-content.mat-warn [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(to left,rgba(213,38,38,.2) 50%,rgba(249,171,0,.2) 50%)}.modern-dark .mat-datepicker-content.mat-warn .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.modern-dark .mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after{background:#a8dab5}.modern-dark .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.modern-dark .mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.modern-dark .mat-datepicker-content.mat-warn .mat-calendar-body-selected{background-color:#d52626;color:#fff}.modern-dark .mat-datepicker-content.mat-warn .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:#d5262666}.modern-dark .mat-datepicker-content.mat-warn .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.modern-dark .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),.modern-dark .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:#d526264d}@media (hover: hover){.modern-dark .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:#d526264d}}.modern-dark .mat-datepicker-content-touch{box-shadow:0 11px 15px -7px #0003,0 24px 38px 3px #00000024,0 9px 46px 8px #0000001f}.modern-dark .mat-datepicker-toggle-active{color:#63afdf}.modern-dark .mat-datepicker-toggle-active.mat-accent{color:#1e1e1e}.modern-dark .mat-datepicker-toggle-active.mat-warn{color:#d52626}.modern-dark .mat-date-range-input-inner[disabled]{color:#ffffff80}.modern-dark .mat-dialog-container{box-shadow:0 11px 15px -7px #0003,0 24px 38px 3px #00000024,0 9px 46px 8px #0000001f;background:#424242;color:#fff}.modern-dark .mat-divider{border-top-color:#ffffff1f}.modern-dark .mat-divider-vertical{border-right-color:#ffffff1f}.modern-dark .mat-expansion-panel{background:#424242;color:#fff}.modern-dark .mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.modern-dark .mat-action-row{border-top-color:#ffffff1f}.modern-dark .mat-expansion-panel .mat-expansion-panel-header.cdk-keyboard-focused:not([aria-disabled=true]),.modern-dark .mat-expansion-panel .mat-expansion-panel-header.cdk-program-focused:not([aria-disabled=true]),.modern-dark .mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:hover:not([aria-disabled=true]){background:rgba(255,255,255,.04)}@media (hover: none){.modern-dark .mat-expansion-panel:not(.mat-expanded):not([aria-disabled=true]) .mat-expansion-panel-header:hover{background:#424242}}.modern-dark .mat-expansion-panel-header-title{color:#fff}.modern-dark .mat-expansion-panel-header-description,.modern-dark .mat-expansion-indicator:after{color:#ffffffb3}.modern-dark .mat-expansion-panel-header[aria-disabled=true]{color:#ffffff4d}.modern-dark .mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-title,.modern-dark .mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-description{color:inherit}.modern-dark .mat-form-field-label,.modern-dark .mat-hint{color:#ffffffb3}.modern-dark .mat-form-field.mat-focused .mat-form-field-label{color:#63afdf}.modern-dark .mat-form-field.mat-focused .mat-form-field-label.mat-accent{color:#1e1e1e}.modern-dark .mat-form-field.mat-focused .mat-form-field-label.mat-warn{color:#d52626}.modern-dark .mat-focused .mat-form-field-required-marker{color:#1e1e1e}.modern-dark .mat-form-field-ripple{background-color:#fff}.modern-dark .mat-form-field.mat-focused .mat-form-field-ripple{background-color:#63afdf}.modern-dark .mat-form-field.mat-focused .mat-form-field-ripple.mat-accent{background-color:#1e1e1e}.modern-dark .mat-form-field.mat-focused .mat-form-field-ripple.mat-warn{background-color:#d52626}.modern-dark .mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid) .mat-form-field-infix:after{color:#63afdf}.modern-dark .mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid).mat-accent .mat-form-field-infix:after{color:#1e1e1e}.modern-dark .mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid).mat-warn .mat-form-field-infix:after{color:#d52626}.modern-dark .mat-form-field.mat-form-field-invalid .mat-form-field-label,.modern-dark .mat-form-field.mat-form-field-invalid .mat-form-field-label.mat-accent,.modern-dark .mat-form-field.mat-form-field-invalid .mat-form-field-label .mat-form-field-required-marker{color:#d52626}.modern-dark .mat-form-field.mat-form-field-invalid .mat-form-field-ripple,.modern-dark .mat-form-field.mat-form-field-invalid .mat-form-field-ripple.mat-accent{background-color:#d52626}.modern-dark .mat-error{color:#d52626}.modern-dark .mat-form-field-appearance-legacy .mat-form-field-label,.modern-dark .mat-form-field-appearance-legacy .mat-hint{color:#ffffffb3}.modern-dark .mat-form-field-appearance-legacy .mat-form-field-underline{background-color:#ffffffb3}.modern-dark .mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-image:linear-gradient(to right,rgba(255,255,255,.7) 0%,rgba(255,255,255,.7) 33%,transparent 0%);background-size:4px 100%;background-repeat:repeat-x}.modern-dark .mat-form-field-appearance-standard .mat-form-field-underline{background-color:#ffffffb3}.modern-dark .mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-image:linear-gradient(to right,rgba(255,255,255,.7) 0%,rgba(255,255,255,.7) 33%,transparent 0%);background-size:4px 100%;background-repeat:repeat-x}.modern-dark .mat-form-field-appearance-fill .mat-form-field-flex{background-color:#ffffff1a}.modern-dark .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-flex{background-color:#ffffff0d}.modern-dark .mat-form-field-appearance-fill .mat-form-field-underline:before{background-color:#ffffff80}.modern-dark .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-label{color:#ffffff80}.modern-dark .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-underline:before{background-color:transparent}.modern-dark .mat-form-field-appearance-outline .mat-form-field-outline{color:#ffffff4d}.modern-dark .mat-form-field-appearance-outline .mat-form-field-outline-thick{color:#fff}.modern-dark .mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick{color:#63afdf}.modern-dark .mat-form-field-appearance-outline.mat-focused.mat-accent .mat-form-field-outline-thick{color:#1e1e1e}.modern-dark .mat-form-field-appearance-outline.mat-focused.mat-warn .mat-form-field-outline-thick,.modern-dark .mat-form-field-appearance-outline.mat-form-field-invalid.mat-form-field-invalid .mat-form-field-outline-thick{color:#d52626}.modern-dark .mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-label{color:#ffffff80}.modern-dark .mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-outline{color:#ffffff26}.modern-dark .mat-icon.mat-primary{color:#63afdf}.modern-dark .mat-icon.mat-accent{color:#1e1e1e}.modern-dark .mat-icon.mat-warn{color:#d52626}.modern-dark .mat-form-field-type-mat-native-select .mat-form-field-infix:after{color:#ffffffb3}.modern-dark .mat-input-element:disabled,.modern-dark .mat-form-field-type-mat-native-select.mat-form-field-disabled .mat-form-field-infix:after{color:#ffffff80}.modern-dark .mat-input-element{caret-color:#63afdf}.modern-dark .mat-input-element::placeholder{color:#ffffff80}.modern-dark .mat-input-element::-moz-placeholder{color:#ffffff80}.modern-dark .mat-input-element::-webkit-input-placeholder{color:#ffffff80}.modern-dark .mat-input-element:-ms-input-placeholder{color:#ffffff80}.modern-dark .mat-input-element:not(.mat-native-select-inline) option{color:#000000de}.modern-dark .mat-input-element:not(.mat-native-select-inline) option:disabled{color:#00000061}.modern-dark .mat-form-field.mat-accent .mat-input-element{caret-color:#1e1e1e}.modern-dark .mat-form-field.mat-warn .mat-input-element,.modern-dark .mat-form-field-invalid .mat-input-element{caret-color:#d52626}.modern-dark .mat-form-field-type-mat-native-select.mat-form-field-invalid .mat-form-field-infix:after{color:#d52626}.modern-dark .mat-list-base .mat-list-item,.modern-dark .mat-list-base .mat-list-option{color:#fff}.modern-dark .mat-list-base .mat-subheader{color:#ffffffb3}.modern-dark .mat-list-base .mat-list-item-disabled{background-color:#ffffff1f;color:#ffffff80}.modern-dark .mat-list-option:hover,.modern-dark .mat-list-option:focus,.modern-dark .mat-nav-list .mat-list-item:hover,.modern-dark .mat-nav-list .mat-list-item:focus,.modern-dark .mat-action-list .mat-list-item:hover,.modern-dark .mat-action-list .mat-list-item:focus{background:rgba(255,255,255,.04)}.modern-dark .mat-list-single-selected-option,.modern-dark .mat-list-single-selected-option:hover,.modern-dark .mat-list-single-selected-option:focus{background:rgba(255,255,255,.12)}.modern-dark .mat-menu-panel{background:#424242}.modern-dark .mat-menu-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.modern-dark .mat-menu-item{background:transparent;color:#fff}.modern-dark .mat-menu-item[disabled],.modern-dark .mat-menu-item[disabled] .mat-menu-submenu-icon,.modern-dark .mat-menu-item[disabled] .mat-icon-no-color{color:#ffffff80}.modern-dark .mat-menu-item .mat-icon-no-color,.modern-dark .mat-menu-submenu-icon{color:#fff}.modern-dark .mat-menu-item:hover:not([disabled]),.modern-dark .mat-menu-item.cdk-program-focused:not([disabled]),.modern-dark .mat-menu-item.cdk-keyboard-focused:not([disabled]),.modern-dark .mat-menu-item-highlighted:not([disabled]){background:rgba(255,255,255,.04)}.modern-dark .mat-paginator{background:#424242}.modern-dark .mat-paginator,.modern-dark .mat-paginator-page-size .mat-select-trigger{color:#ffffffb3}.modern-dark .mat-paginator-decrement,.modern-dark .mat-paginator-increment{border-top:2px solid white;border-right:2px solid white}.modern-dark .mat-paginator-first,.modern-dark .mat-paginator-last{border-top:2px solid white}.modern-dark .mat-icon-button[disabled] .mat-paginator-decrement,.modern-dark .mat-icon-button[disabled] .mat-paginator-increment,.modern-dark .mat-icon-button[disabled] .mat-paginator-first,.modern-dark .mat-icon-button[disabled] .mat-paginator-last{border-color:#ffffff80}.modern-dark .mat-progress-bar-background{fill:#3d505c}.modern-dark .mat-progress-bar-buffer{background-color:#3d505c}.modern-dark .mat-progress-bar-fill:after{background-color:#63afdf}.modern-dark .mat-progress-bar.mat-accent .mat-progress-bar-background{fill:#2c2c2c}.modern-dark .mat-progress-bar.mat-accent .mat-progress-bar-buffer{background-color:#2c2c2c}.modern-dark .mat-progress-bar.mat-accent .mat-progress-bar-fill:after{background-color:#1e1e1e}.modern-dark .mat-progress-bar.mat-warn .mat-progress-bar-background{fill:#592e2e}.modern-dark .mat-progress-bar.mat-warn .mat-progress-bar-buffer{background-color:#592e2e}.modern-dark .mat-progress-bar.mat-warn .mat-progress-bar-fill:after{background-color:#d52626}.modern-dark .mat-progress-spinner circle,.modern-dark .mat-spinner circle{stroke:#63afdf}.modern-dark .mat-progress-spinner.mat-accent circle,.modern-dark .mat-spinner.mat-accent circle{stroke:#1e1e1e}.modern-dark .mat-progress-spinner.mat-warn circle,.modern-dark .mat-spinner.mat-warn circle{stroke:#d52626}.modern-dark .mat-radio-outer-circle{border-color:#ffffffb3}.modern-dark .mat-radio-button.mat-primary.mat-radio-checked .mat-radio-outer-circle{border-color:#63afdf}.modern-dark .mat-radio-button.mat-primary .mat-radio-inner-circle,.modern-dark .mat-radio-button.mat-primary .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.modern-dark .mat-radio-button.mat-primary.mat-radio-checked .mat-radio-persistent-ripple,.modern-dark .mat-radio-button.mat-primary:active .mat-radio-persistent-ripple{background-color:#63afdf}.modern-dark .mat-radio-button.mat-accent.mat-radio-checked .mat-radio-outer-circle{border-color:#1e1e1e}.modern-dark .mat-radio-button.mat-accent .mat-radio-inner-circle,.modern-dark .mat-radio-button.mat-accent .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.modern-dark .mat-radio-button.mat-accent.mat-radio-checked .mat-radio-persistent-ripple,.modern-dark .mat-radio-button.mat-accent:active .mat-radio-persistent-ripple{background-color:#1e1e1e}.modern-dark .mat-radio-button.mat-warn.mat-radio-checked .mat-radio-outer-circle{border-color:#d52626}.modern-dark .mat-radio-button.mat-warn .mat-radio-inner-circle,.modern-dark .mat-radio-button.mat-warn .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.modern-dark .mat-radio-button.mat-warn.mat-radio-checked .mat-radio-persistent-ripple,.modern-dark .mat-radio-button.mat-warn:active .mat-radio-persistent-ripple{background-color:#d52626}.modern-dark .mat-radio-button.mat-radio-disabled.mat-radio-checked .mat-radio-outer-circle,.modern-dark .mat-radio-button.mat-radio-disabled .mat-radio-outer-circle{border-color:#ffffff80}.modern-dark .mat-radio-button.mat-radio-disabled .mat-radio-ripple .mat-ripple-element,.modern-dark .mat-radio-button.mat-radio-disabled .mat-radio-inner-circle{background-color:#ffffff80}.modern-dark .mat-radio-button.mat-radio-disabled .mat-radio-label-content{color:#ffffff80}.modern-dark .mat-radio-button .mat-ripple-element{background-color:#fff}.modern-dark .mat-select-value{color:#fff}.modern-dark .mat-select-placeholder,.modern-dark .mat-select-disabled .mat-select-value{color:#ffffff80}.modern-dark .mat-select-arrow{color:#ffffffb3}.modern-dark .mat-select-panel{background:#424242}.modern-dark .mat-select-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.modern-dark .mat-select-panel .mat-option.mat-selected:not(.mat-option-multiple){background:rgba(255,255,255,.12)}.modern-dark .mat-form-field.mat-focused.mat-primary .mat-select-arrow{color:#63afdf}.modern-dark .mat-form-field.mat-focused.mat-accent .mat-select-arrow{color:#1e1e1e}.modern-dark .mat-form-field.mat-focused.mat-warn .mat-select-arrow,.modern-dark .mat-form-field .mat-select.mat-select-invalid .mat-select-arrow{color:#d52626}.modern-dark .mat-form-field .mat-select.mat-select-disabled .mat-select-arrow{color:#ffffff80}.modern-dark .mat-drawer-container{background-color:#303030;color:#fff}.modern-dark .mat-drawer{background-color:#424242;color:#fff}.modern-dark .mat-drawer.mat-drawer-push{background-color:#424242}.modern-dark .mat-drawer:not(.mat-drawer-side){box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f}.modern-dark .mat-drawer-side{border-right:solid 1px rgba(255,255,255,.12)}.modern-dark .mat-drawer-side.mat-drawer-end,.modern-dark [dir=rtl] .mat-drawer-side{border-left:solid 1px rgba(255,255,255,.12);border-right:none}.modern-dark [dir=rtl] .mat-drawer-side.mat-drawer-end{border-left:none;border-right:solid 1px rgba(255,255,255,.12)}.modern-dark .mat-drawer-backdrop.mat-drawer-shown{background-color:#bdbdbd99}.modern-dark .mat-slide-toggle.mat-checked .mat-slide-toggle-thumb{background-color:#1e1e1e}.modern-dark .mat-slide-toggle.mat-checked .mat-slide-toggle-bar{background-color:#1e1e1e8a}.modern-dark .mat-slide-toggle.mat-checked .mat-ripple-element{background-color:#1e1e1e}.modern-dark .mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-thumb{background-color:#63afdf}.modern-dark .mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-bar{background-color:#63afdf8a}.modern-dark .mat-slide-toggle.mat-primary.mat-checked .mat-ripple-element{background-color:#63afdf}.modern-dark .mat-slide-toggle.mat-warn.mat-checked .mat-slide-toggle-thumb{background-color:#d52626}.modern-dark .mat-slide-toggle.mat-warn.mat-checked .mat-slide-toggle-bar{background-color:#d526268a}.modern-dark .mat-slide-toggle.mat-warn.mat-checked .mat-ripple-element{background-color:#d52626}.modern-dark .mat-slide-toggle:not(.mat-checked) .mat-ripple-element{background-color:#fff}.modern-dark .mat-slide-toggle-thumb{box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f;background-color:#bdbdbd}.modern-dark .mat-slide-toggle-bar{background-color:#ffffff80}.modern-dark .mat-slider-track-background{background-color:#ffffff4d}.modern-dark .mat-slider.mat-primary .mat-slider-track-fill,.modern-dark .mat-slider.mat-primary .mat-slider-thumb,.modern-dark .mat-slider.mat-primary .mat-slider-thumb-label{background-color:#63afdf}.modern-dark .mat-slider.mat-primary .mat-slider-thumb-label-text{color:#000}.modern-dark .mat-slider.mat-primary .mat-slider-focus-ring{background-color:#63afdf33}.modern-dark .mat-slider.mat-accent .mat-slider-track-fill,.modern-dark .mat-slider.mat-accent .mat-slider-thumb,.modern-dark .mat-slider.mat-accent .mat-slider-thumb-label{background-color:#1e1e1e}.modern-dark .mat-slider.mat-accent .mat-slider-thumb-label-text{color:#fff}.modern-dark .mat-slider.mat-accent .mat-slider-focus-ring{background-color:#1e1e1e33}.modern-dark .mat-slider.mat-warn .mat-slider-track-fill,.modern-dark .mat-slider.mat-warn .mat-slider-thumb,.modern-dark .mat-slider.mat-warn .mat-slider-thumb-label{background-color:#d52626}.modern-dark .mat-slider.mat-warn .mat-slider-thumb-label-text{color:#fff}.modern-dark .mat-slider.mat-warn .mat-slider-focus-ring{background-color:#d5262633}.modern-dark .mat-slider:hover .mat-slider-track-background,.modern-dark .mat-slider.cdk-focused .mat-slider-track-background,.modern-dark .mat-slider.mat-slider-disabled .mat-slider-track-background,.modern-dark .mat-slider.mat-slider-disabled .mat-slider-track-fill,.modern-dark .mat-slider.mat-slider-disabled .mat-slider-thumb,.modern-dark .mat-slider.mat-slider-disabled:hover .mat-slider-track-background{background-color:#ffffff4d}.modern-dark .mat-slider.mat-slider-min-value .mat-slider-focus-ring{background-color:#ffffff1f}.modern-dark .mat-slider.mat-slider-min-value.mat-slider-thumb-label-showing .mat-slider-thumb,.modern-dark .mat-slider.mat-slider-min-value.mat-slider-thumb-label-showing .mat-slider-thumb-label{background-color:#fff}.modern-dark .mat-slider.mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb,.modern-dark .mat-slider.mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb-label{background-color:#ffffff4d}.modern-dark .mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing) .mat-slider-thumb{border-color:#ffffff4d;background-color:transparent}.modern-dark .mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover .mat-slider-thumb,.modern-dark .mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused .mat-slider-thumb{border-color:#ffffff4d}.modern-dark .mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover.mat-slider-disabled .mat-slider-thumb,.modern-dark .mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused.mat-slider-disabled .mat-slider-thumb{border-color:#ffffff4d}.modern-dark .mat-slider-has-ticks .mat-slider-wrapper:after{border-color:#ffffffb3}.modern-dark .mat-slider-horizontal .mat-slider-ticks{background-image:repeating-linear-gradient(to right,rgba(255,255,255,.7),rgba(255,255,255,.7) 2px,transparent 0,transparent);background-image:-moz-repeating-linear-gradient(.0001deg,rgba(255,255,255,.7),rgba(255,255,255,.7) 2px,transparent 0,transparent)}.modern-dark .mat-slider-vertical .mat-slider-ticks{background-image:repeating-linear-gradient(to bottom,rgba(255,255,255,.7),rgba(255,255,255,.7) 2px,transparent 0,transparent)}.modern-dark .mat-step-header.cdk-keyboard-focused,.modern-dark .mat-step-header.cdk-program-focused,.modern-dark .mat-step-header:hover:not([aria-disabled]),.modern-dark .mat-step-header:hover[aria-disabled=false]{background-color:#ffffff0a}.modern-dark .mat-step-header:hover[aria-disabled=true]{cursor:default}@media (hover: none){.modern-dark .mat-step-header:hover{background:none}}.modern-dark .mat-step-header .mat-step-label,.modern-dark .mat-step-header .mat-step-optional{color:#ffffffb3}.modern-dark .mat-step-header .mat-step-icon{background-color:#ffffffb3;color:#000}.modern-dark .mat-step-header .mat-step-icon-selected,.modern-dark .mat-step-header .mat-step-icon-state-done,.modern-dark .mat-step-header .mat-step-icon-state-edit{background-color:#63afdf;color:#000}.modern-dark .mat-step-header.mat-accent .mat-step-icon{color:#fff}.modern-dark .mat-step-header.mat-accent .mat-step-icon-selected,.modern-dark .mat-step-header.mat-accent .mat-step-icon-state-done,.modern-dark .mat-step-header.mat-accent .mat-step-icon-state-edit{background-color:#1e1e1e;color:#fff}.modern-dark .mat-step-header.mat-warn .mat-step-icon{color:#fff}.modern-dark .mat-step-header.mat-warn .mat-step-icon-selected,.modern-dark .mat-step-header.mat-warn .mat-step-icon-state-done,.modern-dark .mat-step-header.mat-warn .mat-step-icon-state-edit{background-color:#d52626;color:#fff}.modern-dark .mat-step-header .mat-step-icon-state-error{background-color:transparent;color:#d52626}.modern-dark .mat-step-header .mat-step-label.mat-step-label-active{color:#fff}.modern-dark .mat-step-header .mat-step-label.mat-step-label-error{color:#d52626}.modern-dark .mat-stepper-horizontal,.modern-dark .mat-stepper-vertical{background-color:#424242}.modern-dark .mat-stepper-vertical-line:before{border-left-color:#ffffff1f}.modern-dark .mat-horizontal-stepper-header:before,.modern-dark .mat-horizontal-stepper-header:after,.modern-dark .mat-stepper-horizontal-line{border-top-color:#ffffff1f}.modern-dark .mat-sort-header-arrow{color:#c6c6c6}.modern-dark .mat-tab-nav-bar,.modern-dark .mat-tab-header{border-bottom:1px solid rgba(255,255,255,.12)}.modern-dark .mat-tab-group-inverted-header .mat-tab-nav-bar,.modern-dark .mat-tab-group-inverted-header .mat-tab-header{border-top:1px solid rgba(255,255,255,.12);border-bottom:none}.modern-dark .mat-tab-label,.modern-dark .mat-tab-link{color:#fff}.modern-dark .mat-tab-label.mat-tab-disabled,.modern-dark .mat-tab-link.mat-tab-disabled{color:#ffffff80}.modern-dark .mat-tab-header-pagination-chevron{border-color:#fff}.modern-dark .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:#ffffff80}.modern-dark .mat-tab-group[class*=mat-background-]>.mat-tab-header,.modern-dark .mat-tab-nav-bar[class*=mat-background-]{border-bottom:none;border-top:none}.modern-dark .mat-tab-group.mat-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.modern-dark .mat-tab-group.mat-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.modern-dark .mat-tab-group.mat-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.modern-dark .mat-tab-group.mat-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.modern-dark .mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.modern-dark .mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.modern-dark .mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.modern-dark .mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#d0e7f54d}.modern-dark .mat-tab-group.mat-primary .mat-ink-bar,.modern-dark .mat-tab-nav-bar.mat-primary .mat-ink-bar{background-color:#63afdf}.modern-dark .mat-tab-group.mat-primary.mat-background-primary>.mat-tab-header .mat-ink-bar,.modern-dark .mat-tab-group.mat-primary.mat-background-primary>.mat-tab-link-container .mat-ink-bar,.modern-dark .mat-tab-nav-bar.mat-primary.mat-background-primary>.mat-tab-header .mat-ink-bar,.modern-dark .mat-tab-nav-bar.mat-primary.mat-background-primary>.mat-tab-link-container .mat-ink-bar{background-color:#000}.modern-dark .mat-tab-group.mat-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.modern-dark .mat-tab-group.mat-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.modern-dark .mat-tab-group.mat-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.modern-dark .mat-tab-group.mat-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.modern-dark .mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.modern-dark .mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.modern-dark .mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.modern-dark .mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#ffffff4d}.modern-dark .mat-tab-group.mat-accent .mat-ink-bar,.modern-dark .mat-tab-nav-bar.mat-accent .mat-ink-bar{background-color:#1e1e1e}.modern-dark .mat-tab-group.mat-accent.mat-background-accent>.mat-tab-header .mat-ink-bar,.modern-dark .mat-tab-group.mat-accent.mat-background-accent>.mat-tab-link-container .mat-ink-bar,.modern-dark .mat-tab-nav-bar.mat-accent.mat-background-accent>.mat-tab-header .mat-ink-bar,.modern-dark .mat-tab-nav-bar.mat-accent.mat-background-accent>.mat-tab-link-container .mat-ink-bar{background-color:#fff}.modern-dark .mat-tab-group.mat-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.modern-dark .mat-tab-group.mat-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.modern-dark .mat-tab-group.mat-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.modern-dark .mat-tab-group.mat-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.modern-dark .mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.modern-dark .mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.modern-dark .mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.modern-dark .mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#f2bebe4d}.modern-dark .mat-tab-group.mat-warn .mat-ink-bar,.modern-dark .mat-tab-nav-bar.mat-warn .mat-ink-bar{background-color:#d52626}.modern-dark .mat-tab-group.mat-warn.mat-background-warn>.mat-tab-header .mat-ink-bar,.modern-dark .mat-tab-group.mat-warn.mat-background-warn>.mat-tab-link-container .mat-ink-bar,.modern-dark .mat-tab-nav-bar.mat-warn.mat-background-warn>.mat-tab-header .mat-ink-bar,.modern-dark .mat-tab-nav-bar.mat-warn.mat-background-warn>.mat-tab-link-container .mat-ink-bar{background-color:#fff}.modern-dark .mat-tab-group.mat-background-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.modern-dark .mat-tab-group.mat-background-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.modern-dark .mat-tab-group.mat-background-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.modern-dark .mat-tab-group.mat-background-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.modern-dark .mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.modern-dark .mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.modern-dark .mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.modern-dark .mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#d0e7f54d}.modern-dark .mat-tab-group.mat-background-primary>.mat-tab-header,.modern-dark .mat-tab-group.mat-background-primary>.mat-tab-link-container,.modern-dark .mat-tab-group.mat-background-primary>.mat-tab-header-pagination,.modern-dark .mat-tab-nav-bar.mat-background-primary>.mat-tab-header,.modern-dark .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container,.modern-dark .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination{background-color:#63afdf}.modern-dark .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-label,.modern-dark .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-tab-link,.modern-dark .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-label,.modern-dark .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-tab-link{color:#000}.modern-dark .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-label.mat-tab-disabled,.modern-dark .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.modern-dark .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-label.mat-tab-disabled,.modern-dark .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:#0006}.modern-dark .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-chevron,.modern-dark .mat-tab-group.mat-background-primary>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.modern-dark .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-focus-indicator:before,.modern-dark .mat-tab-group.mat-background-primary>.mat-tab-header .mat-focus-indicator:before,.modern-dark .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-chevron,.modern-dark .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.modern-dark .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-focus-indicator:before,.modern-dark .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-focus-indicator:before{border-color:#000}.modern-dark .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.modern-dark .mat-tab-group.mat-background-primary>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.modern-dark .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.modern-dark .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:#000;opacity:.4}.modern-dark .mat-tab-group.mat-background-primary>.mat-tab-header .mat-ripple-element,.modern-dark .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-ripple-element,.modern-dark .mat-tab-group.mat-background-primary>.mat-tab-header-pagination .mat-ripple-element,.modern-dark .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-ripple-element,.modern-dark .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-ripple-element,.modern-dark .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination .mat-ripple-element{background-color:#000;opacity:.12}.modern-dark .mat-tab-group.mat-background-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.modern-dark .mat-tab-group.mat-background-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.modern-dark .mat-tab-group.mat-background-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.modern-dark .mat-tab-group.mat-background-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.modern-dark .mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.modern-dark .mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.modern-dark .mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.modern-dark .mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#ffffff4d}.modern-dark .mat-tab-group.mat-background-accent>.mat-tab-header,.modern-dark .mat-tab-group.mat-background-accent>.mat-tab-link-container,.modern-dark .mat-tab-group.mat-background-accent>.mat-tab-header-pagination,.modern-dark .mat-tab-nav-bar.mat-background-accent>.mat-tab-header,.modern-dark .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container,.modern-dark .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination{background-color:#1e1e1e}.modern-dark .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-label,.modern-dark .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-tab-link,.modern-dark .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-label,.modern-dark .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-tab-link{color:#fff}.modern-dark .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-label.mat-tab-disabled,.modern-dark .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.modern-dark .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-label.mat-tab-disabled,.modern-dark .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:#fff6}.modern-dark .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-chevron,.modern-dark .mat-tab-group.mat-background-accent>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.modern-dark .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-focus-indicator:before,.modern-dark .mat-tab-group.mat-background-accent>.mat-tab-header .mat-focus-indicator:before,.modern-dark .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-chevron,.modern-dark .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.modern-dark .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-focus-indicator:before,.modern-dark .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-focus-indicator:before{border-color:#fff}.modern-dark .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.modern-dark .mat-tab-group.mat-background-accent>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.modern-dark .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.modern-dark .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:#fff;opacity:.4}.modern-dark .mat-tab-group.mat-background-accent>.mat-tab-header .mat-ripple-element,.modern-dark .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-ripple-element,.modern-dark .mat-tab-group.mat-background-accent>.mat-tab-header-pagination .mat-ripple-element,.modern-dark .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-ripple-element,.modern-dark .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-ripple-element,.modern-dark .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination .mat-ripple-element{background-color:#fff;opacity:.12}.modern-dark .mat-tab-group.mat-background-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.modern-dark .mat-tab-group.mat-background-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.modern-dark .mat-tab-group.mat-background-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.modern-dark .mat-tab-group.mat-background-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.modern-dark .mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.modern-dark .mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.modern-dark .mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.modern-dark .mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#f2bebe4d}.modern-dark .mat-tab-group.mat-background-warn>.mat-tab-header,.modern-dark .mat-tab-group.mat-background-warn>.mat-tab-link-container,.modern-dark .mat-tab-group.mat-background-warn>.mat-tab-header-pagination,.modern-dark .mat-tab-nav-bar.mat-background-warn>.mat-tab-header,.modern-dark .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container,.modern-dark .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination{background-color:#d52626}.modern-dark .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-label,.modern-dark .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-tab-link,.modern-dark .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-label,.modern-dark .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-tab-link{color:#fff}.modern-dark .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-label.mat-tab-disabled,.modern-dark .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.modern-dark .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-label.mat-tab-disabled,.modern-dark .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:#fff6}.modern-dark .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-chevron,.modern-dark .mat-tab-group.mat-background-warn>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.modern-dark .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-focus-indicator:before,.modern-dark .mat-tab-group.mat-background-warn>.mat-tab-header .mat-focus-indicator:before,.modern-dark .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-chevron,.modern-dark .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.modern-dark .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-focus-indicator:before,.modern-dark .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-focus-indicator:before{border-color:#fff}.modern-dark .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.modern-dark .mat-tab-group.mat-background-warn>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.modern-dark .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.modern-dark .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:#fff;opacity:.4}.modern-dark .mat-tab-group.mat-background-warn>.mat-tab-header .mat-ripple-element,.modern-dark .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-ripple-element,.modern-dark .mat-tab-group.mat-background-warn>.mat-tab-header-pagination .mat-ripple-element,.modern-dark .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-ripple-element,.modern-dark .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-ripple-element,.modern-dark .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination .mat-ripple-element{background-color:#fff;opacity:.12}.modern-dark .mat-toolbar{background:#212121;color:#fff}.modern-dark .mat-toolbar.mat-primary{background:#63afdf;color:#000}.modern-dark .mat-toolbar.mat-accent{background:#1e1e1e;color:#fff}.modern-dark .mat-toolbar.mat-warn{background:#d52626;color:#fff}.modern-dark .mat-toolbar .mat-form-field-underline,.modern-dark .mat-toolbar .mat-form-field-ripple,.modern-dark .mat-toolbar .mat-focused .mat-form-field-ripple{background-color:currentColor}.modern-dark .mat-toolbar .mat-form-field-label,.modern-dark .mat-toolbar .mat-focused .mat-form-field-label,.modern-dark .mat-toolbar .mat-select-value,.modern-dark .mat-toolbar .mat-select-arrow,.modern-dark .mat-toolbar .mat-form-field.mat-focused .mat-select-arrow{color:inherit}.modern-dark .mat-toolbar .mat-input-element{caret-color:currentColor}.modern-dark .mat-tooltip{background:rgba(97,97,97,.9)}.modern-dark .mat-tree{background:#424242}.modern-dark .mat-tree-node,.modern-dark .mat-nested-tree-node{color:#fff}.modern-dark .mat-snack-bar-container{color:#000000de;background:#fafafa;box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.modern-dark .mat-simple-snackbar-action{color:inherit}.modern-dark .app-defaults{background-color:#303030;color:#fff}.modern-dark .theme-menu{background-color:#1e1e1e}.modern-dark .menuBarButtonGroup{background-color:#ffffff1f}.modern-dark .tabGroups{padding-left:0;min-height:100%;height:100%}.modern-dark .tabGroupPanel{display:block;margin:10px 20px 20px}.modern-dark .formActionFooter{width:100%;text-align:end}.modern-dark .formActionButton{margin-left:10px}.modern-dark .formActionDivider{margin-top:10px;margin-bottom:10px}.modern-dark .as-split-gutter{background-color:transparent!important}.modern-dark .primary{color:#92c7e9}.modern-dark .accent{color:#f5da6f}.modern-dark .warn{color:#e26767}.modern-dark .primaryDark{color:#3586ca}.modern-dark .accentDark{color:#e5ab13}.modern-dark .warnDark{color:#ba0d0d}.modern-dark .background{color:#ffffff1f}.modern-dark .text{color:#fff}.modern-dark .pathMetaDescription{font:small-caption;color:#ffffff80}.modern-dark .textGenericWrapper{position:relative;width:100%;height:100%}.modern-dark .canvas-size{position:absolute;top:0;left:0}.modern-dark .warn{color:#d52626}.modern-dark .warn-contrast{color:#fff}.modern-dark DIV.apScreen{display:block;position:relative;width:360px;height:220.5px;margin:auto;text-align:center;border-radius:5px;border:1px solid rgba(255,255,255,.12);background-color:#ffffff1f}.modern-dark .apScreen .apCompass{position:relative;width:360px;height:202px;margin:auto;border-radius:5px}.modern-dark .apStatusBar{width:360px;height:18.5px;border-bottom-left-radius:5px;border-bottom-right-radius:5px;background-color:#000}.modern-dark .apStatusBar,.modern-dark .apStatusBar DIV{display:inline-block;position:relative}.modern-dark .apScreen .apStencil{position:absolute;top:0;left:0;width:100%;height:100%;margin:auto;border-radius:5px;z-index:10;vertical-align:middle;background-color:#303030}.modern-dark .apStencil.confirmCommand{z-index:5;visibility:hidden}.modern-dark .apStencil.error{z-index:6;visibility:hidden}.modern-dark .apText{fill:#fff}.modern-dark .boatBackground{stop-color:#fff!important}.modern-dark .heading-background{stroke:#1e1e1e;fill:#fff}.modern-dark .wind-text{fill:#1e1e1e;stroke:#1e1e1e}.modern-dark .laylines{stroke:#fff}.modern-dark .wind-sector-port{fill:#d52626}.modern-dark .wind-sector-stbd{fill:#389c19}.modern-dark .compass-outer-ring{stroke:#3f3f3f}.modern-dark .compass-inner-ring{stroke:#fff;fill:#fff}.modern-dark .wind-rose-background,.modern-dark .sailSetupBoat{stroke:#fff}.modern-dark .sailSetupFull{fill:#92c7e9}.modern-dark .sailSetupReef1{fill:#f5da6f}.modern-dark .sailSetupReef2{fill:#e26767}.modern-dark .sailSetupReef3{fill:#d52626}.modern-dark .port{stroke:#d52626}.modern-dark .starboard{stroke:#389c19}.modern-dark .rudderPort{fill:#d52626}.modern-dark .rudderStarboard{fill:#389c19}.modern-dark .true-wind{fill:#f0ca31}.modern-dark .app-wind{fill:#63afdf}.modern-dark .simpleLinear-text{fill:#fff}.modern-dark .windWrapper{position:relative;width:100%;height:100%}.modern-dark .matBadge{z-index:1000}.modern-dark .mute-unmte-alarm{width:max-content}.modern-dark .alarmWarning{animation:blinkingAlarmWarning 1.5s infinite;background-color:orange!important}.modern-dark .alarmCrit{animation:blinkingAlarmCrit .25s infinite}.modern-dark .muteSoundButton:hover{background:rgba(255,255,255,.04)}.modern-dark .serverStatus{background-color:#ffffff1f;margin:7% 5% 0%;padding:10px 20px 20px}.modern-dark .descriptiveTexts{color:#fff;font-size:14px}.modern-dark .flex-item{flex:1 1 29%;background-color:#ffffff1f;padding:20px;border-radius:4px}.modern-dark .flex-item-copy{flex:2 1 40%;background-color:#ffffff1f;padding:10px 20px;border-radius:4px}.nightMode .mat-ripple-element{background-color:#5200001a}.nightMode .mat-option{color:#520000}.nightMode .mat-option:hover:not(.mat-option-disabled),.nightMode .mat-option:focus:not(.mat-option-disabled){background:rgba(255,255,255,.04)}.nightMode .mat-option.mat-selected:not(.mat-option-multiple):not(.mat-option-disabled){background:rgba(255,255,255,.04)}.nightMode .mat-option.mat-active{background:rgba(255,255,255,.04);color:#520000}.nightMode .mat-option.mat-option-disabled{color:#5200004d}.nightMode .mat-primary .mat-option.mat-selected:not(.mat-option-disabled){color:#520000}.nightMode .mat-accent .mat-option.mat-selected:not(.mat-option-disabled){color:#121212}.nightMode .mat-warn .mat-option.mat-selected:not(.mat-option-disabled){color:#520000}.nightMode .mat-optgroup-label{color:#520000b3}.nightMode .mat-optgroup-disabled .mat-optgroup-label{color:#5200004d}.nightMode .mat-pseudo-checkbox{color:#520000b3}.nightMode .mat-pseudo-checkbox:after{color:#0e0d0d}.nightMode .mat-pseudo-checkbox-disabled{color:#686868}.nightMode .mat-primary .mat-pseudo-checkbox-checked,.nightMode .mat-primary .mat-pseudo-checkbox-indeterminate{background:#520000}.nightMode .mat-pseudo-checkbox-checked,.nightMode .mat-pseudo-checkbox-indeterminate,.nightMode .mat-accent .mat-pseudo-checkbox-checked,.nightMode .mat-accent .mat-pseudo-checkbox-indeterminate{background:#121212}.nightMode .mat-warn .mat-pseudo-checkbox-checked,.nightMode .mat-warn .mat-pseudo-checkbox-indeterminate{background:#520000}.nightMode .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.nightMode .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background:#686868}.nightMode .mat-app-background,.nightMode.mat-app-background{background-color:#0e0d0d;color:#520000}.nightMode .mat-elevation-z0{box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.nightMode .mat-elevation-z1{box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f}.nightMode .mat-elevation-z2{box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.nightMode .mat-elevation-z3{box-shadow:0 3px 3px -2px #0003,0 3px 4px #00000024,0 1px 8px #0000001f}.nightMode .mat-elevation-z4{box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.nightMode .mat-elevation-z5{box-shadow:0 3px 5px -1px #0003,0 5px 8px #00000024,0 1px 14px #0000001f}.nightMode .mat-elevation-z6{box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.nightMode .mat-elevation-z7{box-shadow:0 4px 5px -2px #0003,0 7px 10px 1px #00000024,0 2px 16px 1px #0000001f}.nightMode .mat-elevation-z8{box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.nightMode .mat-elevation-z9{box-shadow:0 5px 6px -3px #0003,0 9px 12px 1px #00000024,0 3px 16px 2px #0000001f}.nightMode .mat-elevation-z10{box-shadow:0 6px 6px -3px #0003,0 10px 14px 1px #00000024,0 4px 18px 3px #0000001f}.nightMode .mat-elevation-z11{box-shadow:0 6px 7px -4px #0003,0 11px 15px 1px #00000024,0 4px 20px 3px #0000001f}.nightMode .mat-elevation-z12{box-shadow:0 7px 8px -4px #0003,0 12px 17px 2px #00000024,0 5px 22px 4px #0000001f}.nightMode .mat-elevation-z13{box-shadow:0 7px 8px -4px #0003,0 13px 19px 2px #00000024,0 5px 24px 4px #0000001f}.nightMode .mat-elevation-z14{box-shadow:0 7px 9px -4px #0003,0 14px 21px 2px #00000024,0 5px 26px 4px #0000001f}.nightMode .mat-elevation-z15{box-shadow:0 8px 9px -5px #0003,0 15px 22px 2px #00000024,0 6px 28px 5px #0000001f}.nightMode .mat-elevation-z16{box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f}.nightMode .mat-elevation-z17{box-shadow:0 8px 11px -5px #0003,0 17px 26px 2px #00000024,0 6px 32px 5px #0000001f}.nightMode .mat-elevation-z18{box-shadow:0 9px 11px -5px #0003,0 18px 28px 2px #00000024,0 7px 34px 6px #0000001f}.nightMode .mat-elevation-z19{box-shadow:0 9px 12px -6px #0003,0 19px 29px 2px #00000024,0 7px 36px 6px #0000001f}.nightMode .mat-elevation-z20{box-shadow:0 10px 13px -6px #0003,0 20px 31px 3px #00000024,0 8px 38px 7px #0000001f}.nightMode .mat-elevation-z21{box-shadow:0 10px 13px -6px #0003,0 21px 33px 3px #00000024,0 8px 40px 7px #0000001f}.nightMode .mat-elevation-z22{box-shadow:0 10px 14px -6px #0003,0 22px 35px 3px #00000024,0 8px 42px 7px #0000001f}.nightMode .mat-elevation-z23{box-shadow:0 11px 14px -7px #0003,0 23px 36px 3px #00000024,0 9px 44px 8px #0000001f}.nightMode .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}.nightMode .mat-autocomplete-panel{background:black;color:#520000}.nightMode .mat-autocomplete-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.nightMode .mat-autocomplete-panel .mat-option.mat-selected:not(.mat-active):not(:hover){background:black}.nightMode .mat-autocomplete-panel .mat-option.mat-selected:not(.mat-active):not(:hover):not(.mat-option-disabled){color:#520000}.nightMode .mat-badge-content{color:#000;background:#520000}.cdk-high-contrast-active .nightMode .mat-badge-content{outline:solid 1px;border-radius:0}.nightMode .mat-badge-accent .mat-badge-content{background:#121212;color:#520000}.nightMode .mat-badge-warn .mat-badge-content{color:#000;background:#520000}.nightMode .mat-badge-disabled .mat-badge-content{background:#220909;color:#5200004d}.nightMode .mat-bottom-sheet-container{box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f;background:black;color:#520000}.nightMode .mat-button,.nightMode .mat-icon-button,.nightMode .mat-stroked-button{color:inherit;background:transparent}.nightMode .mat-button.mat-primary,.nightMode .mat-icon-button.mat-primary,.nightMode .mat-stroked-button.mat-primary{color:#520000}.nightMode .mat-button.mat-accent,.nightMode .mat-icon-button.mat-accent,.nightMode .mat-stroked-button.mat-accent{color:#121212}.nightMode .mat-button.mat-warn,.nightMode .mat-icon-button.mat-warn,.nightMode .mat-stroked-button.mat-warn{color:#520000}.nightMode .mat-button.mat-primary.mat-button-disabled,.nightMode .mat-button.mat-accent.mat-button-disabled,.nightMode .mat-button.mat-warn.mat-button-disabled,.nightMode .mat-button.mat-button-disabled.mat-button-disabled,.nightMode .mat-icon-button.mat-primary.mat-button-disabled,.nightMode .mat-icon-button.mat-accent.mat-button-disabled,.nightMode .mat-icon-button.mat-warn.mat-button-disabled,.nightMode .mat-icon-button.mat-button-disabled.mat-button-disabled,.nightMode .mat-stroked-button.mat-primary.mat-button-disabled,.nightMode .mat-stroked-button.mat-accent.mat-button-disabled,.nightMode .mat-stroked-button.mat-warn.mat-button-disabled,.nightMode .mat-stroked-button.mat-button-disabled.mat-button-disabled{color:#5200004d}.nightMode .mat-button.mat-primary .mat-button-focus-overlay,.nightMode .mat-icon-button.mat-primary .mat-button-focus-overlay,.nightMode .mat-stroked-button.mat-primary .mat-button-focus-overlay{background-color:#520000}.nightMode .mat-button.mat-accent .mat-button-focus-overlay,.nightMode .mat-icon-button.mat-accent .mat-button-focus-overlay,.nightMode .mat-stroked-button.mat-accent .mat-button-focus-overlay{background-color:#121212}.nightMode .mat-button.mat-warn .mat-button-focus-overlay,.nightMode .mat-icon-button.mat-warn .mat-button-focus-overlay,.nightMode .mat-stroked-button.mat-warn .mat-button-focus-overlay{background-color:#520000}.nightMode .mat-button.mat-button-disabled .mat-button-focus-overlay,.nightMode .mat-icon-button.mat-button-disabled .mat-button-focus-overlay,.nightMode .mat-stroked-button.mat-button-disabled .mat-button-focus-overlay{background-color:transparent}.nightMode .mat-button .mat-ripple-element,.nightMode .mat-icon-button .mat-ripple-element,.nightMode .mat-stroked-button .mat-ripple-element{opacity:.1;background-color:currentColor}.nightMode .mat-button-focus-overlay{background:#520000}.nightMode .mat-stroked-button:not(.mat-button-disabled){border-color:#ffffff1f}.nightMode .mat-flat-button,.nightMode .mat-raised-button,.nightMode .mat-fab,.nightMode .mat-mini-fab{color:#520000;background-color:#000}.nightMode .mat-flat-button.mat-primary,.nightMode .mat-raised-button.mat-primary,.nightMode .mat-fab.mat-primary,.nightMode .mat-mini-fab.mat-primary{color:#000}.nightMode .mat-flat-button.mat-accent,.nightMode .mat-raised-button.mat-accent,.nightMode .mat-fab.mat-accent,.nightMode .mat-mini-fab.mat-accent{color:#520000}.nightMode .mat-flat-button.mat-warn,.nightMode .mat-raised-button.mat-warn,.nightMode .mat-fab.mat-warn,.nightMode .mat-mini-fab.mat-warn{color:#000}.nightMode .mat-flat-button.mat-primary.mat-button-disabled,.nightMode .mat-flat-button.mat-accent.mat-button-disabled,.nightMode .mat-flat-button.mat-warn.mat-button-disabled,.nightMode .mat-flat-button.mat-button-disabled.mat-button-disabled,.nightMode .mat-raised-button.mat-primary.mat-button-disabled,.nightMode .mat-raised-button.mat-accent.mat-button-disabled,.nightMode .mat-raised-button.mat-warn.mat-button-disabled,.nightMode .mat-raised-button.mat-button-disabled.mat-button-disabled,.nightMode .mat-fab.mat-primary.mat-button-disabled,.nightMode .mat-fab.mat-accent.mat-button-disabled,.nightMode .mat-fab.mat-warn.mat-button-disabled,.nightMode .mat-fab.mat-button-disabled.mat-button-disabled,.nightMode .mat-mini-fab.mat-primary.mat-button-disabled,.nightMode .mat-mini-fab.mat-accent.mat-button-disabled,.nightMode .mat-mini-fab.mat-warn.mat-button-disabled,.nightMode .mat-mini-fab.mat-button-disabled.mat-button-disabled{color:#5200004d}.nightMode .mat-flat-button.mat-primary,.nightMode .mat-raised-button.mat-primary,.nightMode .mat-fab.mat-primary,.nightMode .mat-mini-fab.mat-primary{background-color:#520000}.nightMode .mat-flat-button.mat-accent,.nightMode .mat-raised-button.mat-accent,.nightMode .mat-fab.mat-accent,.nightMode .mat-mini-fab.mat-accent{background-color:#121212}.nightMode .mat-flat-button.mat-warn,.nightMode .mat-raised-button.mat-warn,.nightMode .mat-fab.mat-warn,.nightMode .mat-mini-fab.mat-warn{background-color:#520000}.nightMode .mat-flat-button.mat-primary.mat-button-disabled,.nightMode .mat-flat-button.mat-accent.mat-button-disabled,.nightMode .mat-flat-button.mat-warn.mat-button-disabled,.nightMode .mat-flat-button.mat-button-disabled.mat-button-disabled,.nightMode .mat-raised-button.mat-primary.mat-button-disabled,.nightMode .mat-raised-button.mat-accent.mat-button-disabled,.nightMode .mat-raised-button.mat-warn.mat-button-disabled,.nightMode .mat-raised-button.mat-button-disabled.mat-button-disabled,.nightMode .mat-fab.mat-primary.mat-button-disabled,.nightMode .mat-fab.mat-accent.mat-button-disabled,.nightMode .mat-fab.mat-warn.mat-button-disabled,.nightMode .mat-fab.mat-button-disabled.mat-button-disabled,.nightMode .mat-mini-fab.mat-primary.mat-button-disabled,.nightMode .mat-mini-fab.mat-accent.mat-button-disabled,.nightMode .mat-mini-fab.mat-warn.mat-button-disabled,.nightMode .mat-mini-fab.mat-button-disabled.mat-button-disabled{background-color:#ffffff1f}.nightMode .mat-flat-button.mat-primary .mat-ripple-element,.nightMode .mat-raised-button.mat-primary .mat-ripple-element,.nightMode .mat-fab.mat-primary .mat-ripple-element,.nightMode .mat-mini-fab.mat-primary .mat-ripple-element{background-color:#0000001a}.nightMode .mat-flat-button.mat-accent .mat-ripple-element,.nightMode .mat-raised-button.mat-accent .mat-ripple-element,.nightMode .mat-fab.mat-accent .mat-ripple-element,.nightMode .mat-mini-fab.mat-accent .mat-ripple-element{background-color:#5200001a}.nightMode .mat-flat-button.mat-warn .mat-ripple-element,.nightMode .mat-raised-button.mat-warn .mat-ripple-element,.nightMode .mat-fab.mat-warn .mat-ripple-element,.nightMode .mat-mini-fab.mat-warn .mat-ripple-element{background-color:#0000001a}.nightMode .mat-stroked-button:not([class*=mat-elevation-z]),.nightMode .mat-flat-button:not([class*=mat-elevation-z]){box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.nightMode .mat-raised-button:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.nightMode .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}.nightMode .mat-raised-button.mat-button-disabled:not([class*=mat-elevation-z]){box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.nightMode .mat-fab:not([class*=mat-elevation-z]),.nightMode .mat-mini-fab:not([class*=mat-elevation-z]){box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.nightMode .mat-fab:not(.mat-button-disabled):active:not([class*=mat-elevation-z]),.nightMode .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}.nightMode .mat-fab.mat-button-disabled:not([class*=mat-elevation-z]),.nightMode .mat-mini-fab.mat-button-disabled:not([class*=mat-elevation-z]){box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.nightMode .mat-button-toggle-standalone:not([class*=mat-elevation-z]),.nightMode .mat-button-toggle-group:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.nightMode .mat-button-toggle-standalone.mat-button-toggle-appearance-standard:not([class*=mat-elevation-z]),.nightMode .mat-button-toggle-group-appearance-standard:not([class*=mat-elevation-z]){box-shadow:none}.nightMode .mat-button-toggle{color:#5200004d}.nightMode .mat-button-toggle .mat-button-toggle-focus-overlay{background-color:#ffffff0f}.nightMode .mat-button-toggle-appearance-standard{color:#520000;background:black}.nightMode .mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{background-color:#fff}.nightMode .mat-button-toggle-group-appearance-standard .mat-button-toggle+.mat-button-toggle{border-left:solid 1px #1f1f1f}.nightMode [dir=rtl] .mat-button-toggle-group-appearance-standard .mat-button-toggle+.mat-button-toggle{border-left:none;border-right:solid 1px #1f1f1f}.nightMode .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 #1f1f1f}.nightMode .mat-button-toggle-checked{background-color:#121212;color:#520000b3}.nightMode .mat-button-toggle-checked.mat-button-toggle-appearance-standard{color:#520000}.nightMode .mat-button-toggle-disabled{color:#5200004d;background-color:#000}.nightMode .mat-button-toggle-disabled.mat-button-toggle-appearance-standard{background:black}.nightMode .mat-button-toggle-disabled.mat-button-toggle-checked{background-color:#000}.nightMode .mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.nightMode .mat-button-toggle-group-appearance-standard{border:solid 1px #1f1f1f}.nightMode .mat-card{background:black;color:#520000}.nightMode .mat-card:not([class*=mat-elevation-z]){box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f}.nightMode .mat-card.mat-card-flat:not([class*=mat-elevation-z]){box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f}.nightMode .mat-card-subtitle{color:#520000b3}.nightMode .mat-checkbox-frame{border-color:#520000b3}.nightMode .mat-checkbox-checkmark{fill:#0e0d0d}.nightMode .mat-checkbox-checkmark-path{stroke:#0e0d0d!important}.nightMode .mat-checkbox-mixedmark{background-color:#0e0d0d}.nightMode .mat-checkbox-indeterminate.mat-primary .mat-checkbox-background,.nightMode .mat-checkbox-checked.mat-primary .mat-checkbox-background{background-color:#520000}.nightMode .mat-checkbox-indeterminate.mat-accent .mat-checkbox-background,.nightMode .mat-checkbox-checked.mat-accent .mat-checkbox-background{background-color:#121212}.nightMode .mat-checkbox-indeterminate.mat-warn .mat-checkbox-background,.nightMode .mat-checkbox-checked.mat-warn .mat-checkbox-background{background-color:#520000}.nightMode .mat-checkbox-disabled.mat-checkbox-checked .mat-checkbox-background,.nightMode .mat-checkbox-disabled.mat-checkbox-indeterminate .mat-checkbox-background{background-color:#686868}.nightMode .mat-checkbox-disabled:not(.mat-checkbox-checked) .mat-checkbox-frame{border-color:#686868}.nightMode .mat-checkbox-disabled .mat-checkbox-label{color:#5200004d}.nightMode .mat-checkbox .mat-ripple-element{background-color:#520000}.nightMode .mat-checkbox-checked:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element,.nightMode .mat-checkbox:active:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element{background:#520000}.nightMode .mat-checkbox-checked:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element,.nightMode .mat-checkbox:active:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element{background:#121212}.nightMode .mat-checkbox-checked:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element,.nightMode .mat-checkbox:active:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element{background:#520000}.nightMode .mat-chip.mat-standard-chip{background-color:#000;color:#520000}.nightMode .mat-chip.mat-standard-chip .mat-chip-remove{color:#520000;opacity:.4}.nightMode .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}.nightMode .mat-chip.mat-standard-chip:not(.mat-chip-disabled) .mat-chip-remove:hover{opacity:.54}.nightMode .mat-chip.mat-standard-chip.mat-chip-disabled{opacity:.4}.nightMode .mat-chip.mat-standard-chip:after{background:#520000}.nightMode .mat-chip.mat-standard-chip.mat-chip-selected.mat-primary{background-color:#520000;color:#000}.nightMode .mat-chip.mat-standard-chip.mat-chip-selected.mat-primary .mat-chip-remove{color:#000;opacity:.4}.nightMode .mat-chip.mat-standard-chip.mat-chip-selected.mat-primary .mat-ripple-element{background-color:#0000001a}.nightMode .mat-chip.mat-standard-chip.mat-chip-selected.mat-warn{background-color:#520000;color:#000}.nightMode .mat-chip.mat-standard-chip.mat-chip-selected.mat-warn .mat-chip-remove{color:#000;opacity:.4}.nightMode .mat-chip.mat-standard-chip.mat-chip-selected.mat-warn .mat-ripple-element{background-color:#0000001a}.nightMode .mat-chip.mat-standard-chip.mat-chip-selected.mat-accent{background-color:#121212;color:#520000}.nightMode .mat-chip.mat-standard-chip.mat-chip-selected.mat-accent .mat-chip-remove{color:#520000;opacity:.4}.nightMode .mat-chip.mat-standard-chip.mat-chip-selected.mat-accent .mat-ripple-element{background-color:#5200001a}.nightMode .mat-table{background:black}.nightMode .mat-table thead,.nightMode .mat-table tbody,.nightMode .mat-table tfoot,.nightMode mat-header-row,.nightMode mat-row,.nightMode mat-footer-row,.nightMode [mat-header-row],.nightMode [mat-row],.nightMode [mat-footer-row],.nightMode .mat-table-sticky{background:inherit}.nightMode mat-row,.nightMode mat-header-row,.nightMode mat-footer-row,.nightMode th.mat-header-cell,.nightMode td.mat-cell,.nightMode td.mat-footer-cell{border-bottom-color:#ffffff1f}.nightMode .mat-header-cell{color:#520000b3}.nightMode .mat-cell,.nightMode .mat-footer-cell{color:#520000}.nightMode .mat-calendar-arrow{fill:#520000}.nightMode .mat-datepicker-toggle,.nightMode .mat-datepicker-content .mat-calendar-next-button,.nightMode .mat-datepicker-content .mat-calendar-previous-button{color:#520000}.nightMode .mat-calendar-table-header-divider:after{background:rgba(255,255,255,.12)}.nightMode .mat-calendar-table-header,.nightMode .mat-calendar-body-label{color:#520000b3}.nightMode .mat-calendar-body-cell-content,.nightMode .mat-date-range-input-separator{color:#520000;border-color:transparent}.nightMode .mat-calendar-body-disabled>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){color:#5200004d}.nightMode .mat-form-field-disabled .mat-date-range-input-separator{color:#5200004d}.nightMode .mat-calendar-body-in-preview{color:#ffffff3d}.nightMode .mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:#5200004d}.nightMode .mat-calendar-body-disabled>.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:#5200001a}.nightMode .mat-calendar-body-in-range:before{background:rgba(82,0,0,.2)}.nightMode .mat-calendar-body-comparison-identical,.nightMode .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.nightMode .mat-calendar-body-comparison-bridge-start:before,.nightMode [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(to right,rgba(82,0,0,.2) 50%,rgba(249,171,0,.2) 50%)}.nightMode .mat-calendar-body-comparison-bridge-end:before,.nightMode [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(to left,rgba(82,0,0,.2) 50%,rgba(249,171,0,.2) 50%)}.nightMode .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.nightMode .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after{background:#a8dab5}.nightMode .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.nightMode .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.nightMode .mat-calendar-body-selected{background-color:#520000;color:#000}.nightMode .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:#52000066}.nightMode .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #000}.nightMode .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.nightMode .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:#5200004d}@media (hover: hover){.nightMode .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:#5200004d}}.nightMode .mat-datepicker-content{box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f;background-color:#000;color:#520000}.nightMode .mat-datepicker-content.mat-accent .mat-calendar-body-in-range:before{background:rgba(18,18,18,.2)}.nightMode .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-identical,.nightMode .mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.nightMode .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-bridge-start:before,.nightMode .mat-datepicker-content.mat-accent [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(to right,rgba(18,18,18,.2) 50%,rgba(249,171,0,.2) 50%)}.nightMode .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-bridge-end:before,.nightMode .mat-datepicker-content.mat-accent [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(to left,rgba(18,18,18,.2) 50%,rgba(249,171,0,.2) 50%)}.nightMode .mat-datepicker-content.mat-accent .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.nightMode .mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after{background:#a8dab5}.nightMode .mat-datepicker-content.mat-accent .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.nightMode .mat-datepicker-content.mat-accent .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.nightMode .mat-datepicker-content.mat-accent .mat-calendar-body-selected{background-color:#121212;color:#520000}.nightMode .mat-datepicker-content.mat-accent .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:#12121266}.nightMode .mat-datepicker-content.mat-accent .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #520000}.nightMode .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),.nightMode .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:#1212124d}@media (hover: hover){.nightMode .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:#1212124d}}.nightMode .mat-datepicker-content.mat-warn .mat-calendar-body-in-range:before{background:rgba(82,0,0,.2)}.nightMode .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-identical,.nightMode .mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range:before{background:rgba(249,171,0,.2)}.nightMode .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-bridge-start:before,.nightMode .mat-datepicker-content.mat-warn [dir=rtl] .mat-calendar-body-comparison-bridge-end:before{background:linear-gradient(to right,rgba(82,0,0,.2) 50%,rgba(249,171,0,.2) 50%)}.nightMode .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-bridge-end:before,.nightMode .mat-datepicker-content.mat-warn [dir=rtl] .mat-calendar-body-comparison-bridge-start:before{background:linear-gradient(to left,rgba(82,0,0,.2) 50%,rgba(249,171,0,.2) 50%)}.nightMode .mat-datepicker-content.mat-warn .mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.nightMode .mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range.mat-calendar-body-in-range:after{background:#a8dab5}.nightMode .mat-datepicker-content.mat-warn .mat-calendar-body-comparison-identical.mat-calendar-body-selected,.nightMode .mat-datepicker-content.mat-warn .mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:#46a35e}.nightMode .mat-datepicker-content.mat-warn .mat-calendar-body-selected{background-color:#520000;color:#000}.nightMode .mat-datepicker-content.mat-warn .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:#52000066}.nightMode .mat-datepicker-content.mat-warn .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #000}.nightMode .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),.nightMode .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:#5200004d}@media (hover: hover){.nightMode .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:#5200004d}}.nightMode .mat-datepicker-content-touch{box-shadow:0 11px 15px -7px #0003,0 24px 38px 3px #00000024,0 9px 46px 8px #0000001f}.nightMode .mat-datepicker-toggle-active{color:#520000}.nightMode .mat-datepicker-toggle-active.mat-accent{color:#121212}.nightMode .mat-datepicker-toggle-active.mat-warn{color:#520000}.nightMode .mat-date-range-input-inner[disabled]{color:#5200004d}.nightMode .mat-dialog-container{box-shadow:0 11px 15px -7px #0003,0 24px 38px 3px #00000024,0 9px 46px 8px #0000001f;background:black;color:#520000}.nightMode .mat-divider{border-top-color:#ffffff1f}.nightMode .mat-divider-vertical{border-right-color:#ffffff1f}.nightMode .mat-expansion-panel{background:black;color:#520000}.nightMode .mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.nightMode .mat-action-row{border-top-color:#ffffff1f}.nightMode .mat-expansion-panel .mat-expansion-panel-header.cdk-keyboard-focused:not([aria-disabled=true]),.nightMode .mat-expansion-panel .mat-expansion-panel-header.cdk-program-focused:not([aria-disabled=true]),.nightMode .mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:hover:not([aria-disabled=true]){background:rgba(255,255,255,.04)}@media (hover: none){.nightMode .mat-expansion-panel:not(.mat-expanded):not([aria-disabled=true]) .mat-expansion-panel-header:hover{background:black}}.nightMode .mat-expansion-panel-header-title{color:#520000}.nightMode .mat-expansion-panel-header-description,.nightMode .mat-expansion-indicator:after{color:#520000b3}.nightMode .mat-expansion-panel-header[aria-disabled=true]{color:#5200004d}.nightMode .mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-title,.nightMode .mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-description{color:inherit}.nightMode .mat-form-field-label,.nightMode .mat-hint{color:#520000b3}.nightMode .mat-form-field.mat-focused .mat-form-field-label{color:#520000}.nightMode .mat-form-field.mat-focused .mat-form-field-label.mat-accent{color:#121212}.nightMode .mat-form-field.mat-focused .mat-form-field-label.mat-warn{color:#520000}.nightMode .mat-focused .mat-form-field-required-marker{color:#121212}.nightMode .mat-form-field-ripple{background-color:#fff}.nightMode .mat-form-field.mat-focused .mat-form-field-ripple{background-color:#520000}.nightMode .mat-form-field.mat-focused .mat-form-field-ripple.mat-accent{background-color:#121212}.nightMode .mat-form-field.mat-focused .mat-form-field-ripple.mat-warn{background-color:#520000}.nightMode .mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid) .mat-form-field-infix:after{color:#520000}.nightMode .mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid).mat-accent .mat-form-field-infix:after{color:#121212}.nightMode .mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid).mat-warn .mat-form-field-infix:after{color:#520000}.nightMode .mat-form-field.mat-form-field-invalid .mat-form-field-label,.nightMode .mat-form-field.mat-form-field-invalid .mat-form-field-label.mat-accent,.nightMode .mat-form-field.mat-form-field-invalid .mat-form-field-label .mat-form-field-required-marker{color:#520000}.nightMode .mat-form-field.mat-form-field-invalid .mat-form-field-ripple,.nightMode .mat-form-field.mat-form-field-invalid .mat-form-field-ripple.mat-accent{background-color:#520000}.nightMode .mat-error{color:#520000}.nightMode .mat-form-field-appearance-legacy .mat-form-field-label,.nightMode .mat-form-field-appearance-legacy .mat-hint{color:#520000b3}.nightMode .mat-form-field-appearance-legacy .mat-form-field-underline{background-color:#ffffffb3}.nightMode .mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-image:linear-gradient(to right,rgba(255,255,255,.7) 0%,rgba(255,255,255,.7) 33%,transparent 0%);background-size:4px 100%;background-repeat:repeat-x}.nightMode .mat-form-field-appearance-standard .mat-form-field-underline{background-color:#ffffffb3}.nightMode .mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-image:linear-gradient(to right,rgba(255,255,255,.7) 0%,rgba(255,255,255,.7) 33%,transparent 0%);background-size:4px 100%;background-repeat:repeat-x}.nightMode .mat-form-field-appearance-fill .mat-form-field-flex{background-color:#5200001a}.nightMode .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-flex{background-color:#5200000d}.nightMode .mat-form-field-appearance-fill .mat-form-field-underline:before{background-color:#ffffff80}.nightMode .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-label{color:#5200004d}.nightMode .mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-underline:before{background-color:transparent}.nightMode .mat-form-field-appearance-outline .mat-form-field-outline{color:#ffffff4d}.nightMode .mat-form-field-appearance-outline .mat-form-field-outline-thick{color:#fff}.nightMode .mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick{color:#520000}.nightMode .mat-form-field-appearance-outline.mat-focused.mat-accent .mat-form-field-outline-thick{color:#121212}.nightMode .mat-form-field-appearance-outline.mat-focused.mat-warn .mat-form-field-outline-thick,.nightMode .mat-form-field-appearance-outline.mat-form-field-invalid.mat-form-field-invalid .mat-form-field-outline-thick{color:#520000}.nightMode .mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-label{color:#5200004d}.nightMode .mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-outline{color:#ffffff26}.nightMode .mat-icon.mat-primary{color:#520000}.nightMode .mat-icon.mat-accent{color:#121212}.nightMode .mat-icon.mat-warn{color:#520000}.nightMode .mat-form-field-type-mat-native-select .mat-form-field-infix:after{color:#520000b3}.nightMode .mat-input-element:disabled,.nightMode .mat-form-field-type-mat-native-select.mat-form-field-disabled .mat-form-field-infix:after{color:#5200004d}.nightMode .mat-input-element{caret-color:#520000}.nightMode .mat-input-element::placeholder{color:#52000080}.nightMode .mat-input-element::-moz-placeholder{color:#52000080}.nightMode .mat-input-element::-webkit-input-placeholder{color:#52000080}.nightMode .mat-input-element:-ms-input-placeholder{color:#52000080}.nightMode .mat-input-element:not(.mat-native-select-inline) option{color:#000000de}.nightMode .mat-input-element:not(.mat-native-select-inline) option:disabled{color:#00000061}.nightMode .mat-form-field.mat-accent .mat-input-element{caret-color:#121212}.nightMode .mat-form-field.mat-warn .mat-input-element,.nightMode .mat-form-field-invalid .mat-input-element{caret-color:#520000}.nightMode .mat-form-field-type-mat-native-select.mat-form-field-invalid .mat-form-field-infix:after{color:#520000}.nightMode .mat-list-base .mat-list-item,.nightMode .mat-list-base .mat-list-option{color:#520000}.nightMode .mat-list-base .mat-subheader{color:#520000b3}.nightMode .mat-list-base .mat-list-item-disabled{background-color:#000;color:#5200004d}.nightMode .mat-list-option:hover,.nightMode .mat-list-option:focus,.nightMode .mat-nav-list .mat-list-item:hover,.nightMode .mat-nav-list .mat-list-item:focus,.nightMode .mat-action-list .mat-list-item:hover,.nightMode .mat-action-list .mat-list-item:focus{background:rgba(255,255,255,.04)}.nightMode .mat-list-single-selected-option,.nightMode .mat-list-single-selected-option:hover,.nightMode .mat-list-single-selected-option:focus{background:rgba(255,255,255,.12)}.nightMode .mat-menu-panel{background:black}.nightMode .mat-menu-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.nightMode .mat-menu-item{background:transparent;color:#520000}.nightMode .mat-menu-item[disabled],.nightMode .mat-menu-item[disabled] .mat-menu-submenu-icon,.nightMode .mat-menu-item[disabled] .mat-icon-no-color{color:#5200004d}.nightMode .mat-menu-item .mat-icon-no-color,.nightMode .mat-menu-submenu-icon{color:#520000}.nightMode .mat-menu-item:hover:not([disabled]),.nightMode .mat-menu-item.cdk-program-focused:not([disabled]),.nightMode .mat-menu-item.cdk-keyboard-focused:not([disabled]),.nightMode .mat-menu-item-highlighted:not([disabled]){background:rgba(255,255,255,.04)}.nightMode .mat-paginator{background:black}.nightMode .mat-paginator,.nightMode .mat-paginator-page-size .mat-select-trigger{color:#520000b3}.nightMode .mat-paginator-decrement,.nightMode .mat-paginator-increment{border-top:2px solid #520000;border-right:2px solid #520000}.nightMode .mat-paginator-first,.nightMode .mat-paginator-last{border-top:2px solid #520000}.nightMode .mat-icon-button[disabled] .mat-paginator-decrement,.nightMode .mat-icon-button[disabled] .mat-paginator-increment,.nightMode .mat-icon-button[disabled] .mat-paginator-first,.nightMode .mat-icon-button[disabled] .mat-paginator-last{border-color:#5200004d}.nightMode .mat-progress-bar-background{fill:#1f0a0a}.nightMode .mat-progress-bar-buffer{background-color:#1f0a0a}.nightMode .mat-progress-bar-fill:after{background-color:#520000}.nightMode .mat-progress-bar.mat-accent .mat-progress-bar-background{fill:#0f0e0e}.nightMode .mat-progress-bar.mat-accent .mat-progress-bar-buffer{background-color:#0f0e0e}.nightMode .mat-progress-bar.mat-accent .mat-progress-bar-fill:after{background-color:#121212}.nightMode .mat-progress-bar.mat-warn .mat-progress-bar-background{fill:#1f0a0a}.nightMode .mat-progress-bar.mat-warn .mat-progress-bar-buffer{background-color:#1f0a0a}.nightMode .mat-progress-bar.mat-warn .mat-progress-bar-fill:after{background-color:#520000}.nightMode .mat-progress-spinner circle,.nightMode .mat-spinner circle{stroke:#520000}.nightMode .mat-progress-spinner.mat-accent circle,.nightMode .mat-spinner.mat-accent circle{stroke:#121212}.nightMode .mat-progress-spinner.mat-warn circle,.nightMode .mat-spinner.mat-warn circle{stroke:#520000}.nightMode .mat-radio-outer-circle{border-color:#520000b3}.nightMode .mat-radio-button.mat-primary.mat-radio-checked .mat-radio-outer-circle{border-color:#520000}.nightMode .mat-radio-button.mat-primary .mat-radio-inner-circle,.nightMode .mat-radio-button.mat-primary .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.nightMode .mat-radio-button.mat-primary.mat-radio-checked .mat-radio-persistent-ripple,.nightMode .mat-radio-button.mat-primary:active .mat-radio-persistent-ripple{background-color:#520000}.nightMode .mat-radio-button.mat-accent.mat-radio-checked .mat-radio-outer-circle{border-color:#121212}.nightMode .mat-radio-button.mat-accent .mat-radio-inner-circle,.nightMode .mat-radio-button.mat-accent .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.nightMode .mat-radio-button.mat-accent.mat-radio-checked .mat-radio-persistent-ripple,.nightMode .mat-radio-button.mat-accent:active .mat-radio-persistent-ripple{background-color:#121212}.nightMode .mat-radio-button.mat-warn.mat-radio-checked .mat-radio-outer-circle{border-color:#520000}.nightMode .mat-radio-button.mat-warn .mat-radio-inner-circle,.nightMode .mat-radio-button.mat-warn .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.nightMode .mat-radio-button.mat-warn.mat-radio-checked .mat-radio-persistent-ripple,.nightMode .mat-radio-button.mat-warn:active .mat-radio-persistent-ripple{background-color:#520000}.nightMode .mat-radio-button.mat-radio-disabled.mat-radio-checked .mat-radio-outer-circle,.nightMode .mat-radio-button.mat-radio-disabled .mat-radio-outer-circle{border-color:#5200004d}.nightMode .mat-radio-button.mat-radio-disabled .mat-radio-ripple .mat-ripple-element,.nightMode .mat-radio-button.mat-radio-disabled .mat-radio-inner-circle{background-color:#5200004d}.nightMode .mat-radio-button.mat-radio-disabled .mat-radio-label-content{color:#5200004d}.nightMode .mat-radio-button .mat-ripple-element{background-color:#520000}.nightMode .mat-select-value{color:#520000}.nightMode .mat-select-placeholder{color:#52000080}.nightMode .mat-select-disabled .mat-select-value{color:#5200004d}.nightMode .mat-select-arrow{color:#520000b3}.nightMode .mat-select-panel{background:black}.nightMode .mat-select-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.nightMode .mat-select-panel .mat-option.mat-selected:not(.mat-option-multiple){background:rgba(255,255,255,.12)}.nightMode .mat-form-field.mat-focused.mat-primary .mat-select-arrow{color:#520000}.nightMode .mat-form-field.mat-focused.mat-accent .mat-select-arrow{color:#121212}.nightMode .mat-form-field.mat-focused.mat-warn .mat-select-arrow,.nightMode .mat-form-field .mat-select.mat-select-invalid .mat-select-arrow{color:#520000}.nightMode .mat-form-field .mat-select.mat-select-disabled .mat-select-arrow{color:#5200004d}.nightMode .mat-drawer-container{background-color:#0e0d0d;color:#520000}.nightMode .mat-drawer{background-color:#000;color:#520000}.nightMode .mat-drawer.mat-drawer-push{background-color:#000}.nightMode .mat-drawer:not(.mat-drawer-side){box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f}.nightMode .mat-drawer-side{border-right:solid 1px rgba(255,255,255,.12)}.nightMode .mat-drawer-side.mat-drawer-end,.nightMode [dir=rtl] .mat-drawer-side{border-left:solid 1px rgba(255,255,255,.12);border-right:none}.nightMode [dir=rtl] .mat-drawer-side.mat-drawer-end{border-left:none;border-right:solid 1px rgba(255,255,255,.12)}.nightMode .mat-drawer-backdrop.mat-drawer-shown{background-color:#fff9}.nightMode .mat-slide-toggle.mat-checked .mat-slide-toggle-thumb{background-color:#121212}.nightMode .mat-slide-toggle.mat-checked .mat-slide-toggle-bar{background-color:#1212128a}.nightMode .mat-slide-toggle.mat-checked .mat-ripple-element{background-color:#121212}.nightMode .mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-thumb{background-color:#520000}.nightMode .mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-bar{background-color:#5200008a}.nightMode .mat-slide-toggle.mat-primary.mat-checked .mat-ripple-element,.nightMode .mat-slide-toggle.mat-warn.mat-checked .mat-slide-toggle-thumb{background-color:#520000}.nightMode .mat-slide-toggle.mat-warn.mat-checked .mat-slide-toggle-bar{background-color:#5200008a}.nightMode .mat-slide-toggle.mat-warn.mat-checked .mat-ripple-element{background-color:#520000}.nightMode .mat-slide-toggle:not(.mat-checked) .mat-ripple-element{background-color:#520000}.nightMode .mat-slide-toggle-thumb{box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f;background-color:#bdbdbd}.nightMode .mat-slide-toggle-bar,.nightMode .mat-slider-track-background{background-color:#5200004d}.nightMode .mat-slider.mat-primary .mat-slider-track-fill,.nightMode .mat-slider.mat-primary .mat-slider-thumb,.nightMode .mat-slider.mat-primary .mat-slider-thumb-label{background-color:#520000}.nightMode .mat-slider.mat-primary .mat-slider-thumb-label-text{color:#000}.nightMode .mat-slider.mat-primary .mat-slider-focus-ring{background-color:#52000033}.nightMode .mat-slider.mat-accent .mat-slider-track-fill,.nightMode .mat-slider.mat-accent .mat-slider-thumb,.nightMode .mat-slider.mat-accent .mat-slider-thumb-label{background-color:#121212}.nightMode .mat-slider.mat-accent .mat-slider-thumb-label-text{color:#520000}.nightMode .mat-slider.mat-accent .mat-slider-focus-ring{background-color:#12121233}.nightMode .mat-slider.mat-warn .mat-slider-track-fill,.nightMode .mat-slider.mat-warn .mat-slider-thumb,.nightMode .mat-slider.mat-warn .mat-slider-thumb-label{background-color:#520000}.nightMode .mat-slider.mat-warn .mat-slider-thumb-label-text{color:#000}.nightMode .mat-slider.mat-warn .mat-slider-focus-ring{background-color:#52000033}.nightMode .mat-slider:hover .mat-slider-track-background,.nightMode .mat-slider.cdk-focused .mat-slider-track-background,.nightMode .mat-slider.mat-slider-disabled .mat-slider-track-background,.nightMode .mat-slider.mat-slider-disabled .mat-slider-track-fill,.nightMode .mat-slider.mat-slider-disabled .mat-slider-thumb,.nightMode .mat-slider.mat-slider-disabled:hover .mat-slider-track-background{background-color:#5200004d}.nightMode .mat-slider.mat-slider-min-value .mat-slider-focus-ring{background-color:#5200001f}.nightMode .mat-slider.mat-slider-min-value.mat-slider-thumb-label-showing .mat-slider-thumb,.nightMode .mat-slider.mat-slider-min-value.mat-slider-thumb-label-showing .mat-slider-thumb-label{background-color:#520000}.nightMode .mat-slider.mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb,.nightMode .mat-slider.mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb-label{background-color:#5200004d}.nightMode .mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing) .mat-slider-thumb{border-color:#5200004d;background-color:transparent}.nightMode .mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover .mat-slider-thumb,.nightMode .mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused .mat-slider-thumb{border-color:#5200004d}.nightMode .mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover.mat-slider-disabled .mat-slider-thumb,.nightMode .mat-slider.mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused.mat-slider-disabled .mat-slider-thumb{border-color:#5200004d}.nightMode .mat-slider-has-ticks .mat-slider-wrapper:after{border-color:#520000b3}.nightMode .mat-slider-horizontal .mat-slider-ticks{background-image:repeating-linear-gradient(to right,rgba(82,0,0,.7),rgba(82,0,0,.7) 2px,transparent 0,transparent);background-image:-moz-repeating-linear-gradient(.0001deg,rgba(82,0,0,.7),rgba(82,0,0,.7) 2px,transparent 0,transparent)}.nightMode .mat-slider-vertical .mat-slider-ticks{background-image:repeating-linear-gradient(to bottom,rgba(82,0,0,.7),rgba(82,0,0,.7) 2px,transparent 0,transparent)}.nightMode .mat-step-header.cdk-keyboard-focused,.nightMode .mat-step-header.cdk-program-focused,.nightMode .mat-step-header:hover:not([aria-disabled]),.nightMode .mat-step-header:hover[aria-disabled=false]{background-color:#ffffff0a}.nightMode .mat-step-header:hover[aria-disabled=true]{cursor:default}@media (hover: none){.nightMode .mat-step-header:hover{background:none}}.nightMode .mat-step-header .mat-step-label,.nightMode .mat-step-header .mat-step-optional{color:#520000b3}.nightMode .mat-step-header .mat-step-icon{background-color:#520000b3;color:#000}.nightMode .mat-step-header .mat-step-icon-selected,.nightMode .mat-step-header .mat-step-icon-state-done,.nightMode .mat-step-header .mat-step-icon-state-edit{background-color:#520000;color:#000}.nightMode .mat-step-header.mat-accent .mat-step-icon{color:#520000}.nightMode .mat-step-header.mat-accent .mat-step-icon-selected,.nightMode .mat-step-header.mat-accent .mat-step-icon-state-done,.nightMode .mat-step-header.mat-accent .mat-step-icon-state-edit{background-color:#121212;color:#520000}.nightMode .mat-step-header.mat-warn .mat-step-icon{color:#000}.nightMode .mat-step-header.mat-warn .mat-step-icon-selected,.nightMode .mat-step-header.mat-warn .mat-step-icon-state-done,.nightMode .mat-step-header.mat-warn .mat-step-icon-state-edit{background-color:#520000;color:#000}.nightMode .mat-step-header .mat-step-icon-state-error{background-color:transparent;color:#520000}.nightMode .mat-step-header .mat-step-label.mat-step-label-active,.nightMode .mat-step-header .mat-step-label.mat-step-label-error{color:#520000}.nightMode .mat-stepper-horizontal,.nightMode .mat-stepper-vertical{background-color:#000}.nightMode .mat-stepper-vertical-line:before{border-left-color:#ffffff1f}.nightMode .mat-horizontal-stepper-header:before,.nightMode .mat-horizontal-stepper-header:after,.nightMode .mat-stepper-horizontal-line{border-top-color:#ffffff1f}.nightMode .mat-sort-header-arrow{color:#390000}.nightMode .mat-tab-nav-bar,.nightMode .mat-tab-header{border-bottom:1px solid rgba(255,255,255,.12)}.nightMode .mat-tab-group-inverted-header .mat-tab-nav-bar,.nightMode .mat-tab-group-inverted-header .mat-tab-header{border-top:1px solid rgba(255,255,255,.12);border-bottom:none}.nightMode .mat-tab-label,.nightMode .mat-tab-link{color:#520000}.nightMode .mat-tab-label.mat-tab-disabled,.nightMode .mat-tab-link.mat-tab-disabled{color:#5200004d}.nightMode .mat-tab-header-pagination-chevron{border-color:#520000}.nightMode .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:#5200004d}.nightMode .mat-tab-group[class*=mat-background-]>.mat-tab-header,.nightMode .mat-tab-nav-bar[class*=mat-background-]{border-bottom:none;border-top:none}.nightMode .mat-tab-group.mat-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.nightMode .mat-tab-group.mat-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.nightMode .mat-tab-group.mat-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.nightMode .mat-tab-group.mat-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.nightMode .mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.nightMode .mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.nightMode .mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.nightMode .mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#5200004d}.nightMode .mat-tab-group.mat-primary .mat-ink-bar,.nightMode .mat-tab-nav-bar.mat-primary .mat-ink-bar{background-color:#520000}.nightMode .mat-tab-group.mat-primary.mat-background-primary>.mat-tab-header .mat-ink-bar,.nightMode .mat-tab-group.mat-primary.mat-background-primary>.mat-tab-link-container .mat-ink-bar,.nightMode .mat-tab-nav-bar.mat-primary.mat-background-primary>.mat-tab-header .mat-ink-bar,.nightMode .mat-tab-nav-bar.mat-primary.mat-background-primary>.mat-tab-link-container .mat-ink-bar{background-color:#000}.nightMode .mat-tab-group.mat-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.nightMode .mat-tab-group.mat-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.nightMode .mat-tab-group.mat-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.nightMode .mat-tab-group.mat-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.nightMode .mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.nightMode .mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.nightMode .mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.nightMode .mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#ffffff4d}.nightMode .mat-tab-group.mat-accent .mat-ink-bar,.nightMode .mat-tab-nav-bar.mat-accent .mat-ink-bar{background-color:#121212}.nightMode .mat-tab-group.mat-accent.mat-background-accent>.mat-tab-header .mat-ink-bar,.nightMode .mat-tab-group.mat-accent.mat-background-accent>.mat-tab-link-container .mat-ink-bar,.nightMode .mat-tab-nav-bar.mat-accent.mat-background-accent>.mat-tab-header .mat-ink-bar,.nightMode .mat-tab-nav-bar.mat-accent.mat-background-accent>.mat-tab-link-container .mat-ink-bar{background-color:#520000}.nightMode .mat-tab-group.mat-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.nightMode .mat-tab-group.mat-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.nightMode .mat-tab-group.mat-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.nightMode .mat-tab-group.mat-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.nightMode .mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.nightMode .mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.nightMode .mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.nightMode .mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#f2bebe4d}.nightMode .mat-tab-group.mat-warn .mat-ink-bar,.nightMode .mat-tab-nav-bar.mat-warn .mat-ink-bar{background-color:#520000}.nightMode .mat-tab-group.mat-warn.mat-background-warn>.mat-tab-header .mat-ink-bar,.nightMode .mat-tab-group.mat-warn.mat-background-warn>.mat-tab-link-container .mat-ink-bar,.nightMode .mat-tab-nav-bar.mat-warn.mat-background-warn>.mat-tab-header .mat-ink-bar,.nightMode .mat-tab-nav-bar.mat-warn.mat-background-warn>.mat-tab-link-container .mat-ink-bar{background-color:#000}.nightMode .mat-tab-group.mat-background-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.nightMode .mat-tab-group.mat-background-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.nightMode .mat-tab-group.mat-background-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.nightMode .mat-tab-group.mat-background-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.nightMode .mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.nightMode .mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.nightMode .mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.nightMode .mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#5200004d}.nightMode .mat-tab-group.mat-background-primary>.mat-tab-header,.nightMode .mat-tab-group.mat-background-primary>.mat-tab-link-container,.nightMode .mat-tab-group.mat-background-primary>.mat-tab-header-pagination,.nightMode .mat-tab-nav-bar.mat-background-primary>.mat-tab-header,.nightMode .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container,.nightMode .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination{background-color:#520000}.nightMode .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-label,.nightMode .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-tab-link,.nightMode .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-label,.nightMode .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-tab-link{color:#000}.nightMode .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-label.mat-tab-disabled,.nightMode .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.nightMode .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-label.mat-tab-disabled,.nightMode .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:#0006}.nightMode .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-chevron,.nightMode .mat-tab-group.mat-background-primary>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.nightMode .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-focus-indicator:before,.nightMode .mat-tab-group.mat-background-primary>.mat-tab-header .mat-focus-indicator:before,.nightMode .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-chevron,.nightMode .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.nightMode .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-focus-indicator:before,.nightMode .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-focus-indicator:before{border-color:#000}.nightMode .mat-tab-group.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.nightMode .mat-tab-group.mat-background-primary>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.nightMode .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.nightMode .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:#000;opacity:.4}.nightMode .mat-tab-group.mat-background-primary>.mat-tab-header .mat-ripple-element,.nightMode .mat-tab-group.mat-background-primary>.mat-tab-link-container .mat-ripple-element,.nightMode .mat-tab-group.mat-background-primary>.mat-tab-header-pagination .mat-ripple-element,.nightMode .mat-tab-nav-bar.mat-background-primary>.mat-tab-header .mat-ripple-element,.nightMode .mat-tab-nav-bar.mat-background-primary>.mat-tab-link-container .mat-ripple-element,.nightMode .mat-tab-nav-bar.mat-background-primary>.mat-tab-header-pagination .mat-ripple-element{background-color:#000;opacity:.12}.nightMode .mat-tab-group.mat-background-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.nightMode .mat-tab-group.mat-background-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.nightMode .mat-tab-group.mat-background-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.nightMode .mat-tab-group.mat-background-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.nightMode .mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.nightMode .mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.nightMode .mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.nightMode .mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#ffffff4d}.nightMode .mat-tab-group.mat-background-accent>.mat-tab-header,.nightMode .mat-tab-group.mat-background-accent>.mat-tab-link-container,.nightMode .mat-tab-group.mat-background-accent>.mat-tab-header-pagination,.nightMode .mat-tab-nav-bar.mat-background-accent>.mat-tab-header,.nightMode .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container,.nightMode .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination{background-color:#121212}.nightMode .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-label,.nightMode .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-tab-link,.nightMode .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-label,.nightMode .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-tab-link{color:#520000}.nightMode .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-label.mat-tab-disabled,.nightMode .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.nightMode .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-label.mat-tab-disabled,.nightMode .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:#52000066}.nightMode .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-chevron,.nightMode .mat-tab-group.mat-background-accent>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.nightMode .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-focus-indicator:before,.nightMode .mat-tab-group.mat-background-accent>.mat-tab-header .mat-focus-indicator:before,.nightMode .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-chevron,.nightMode .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.nightMode .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-focus-indicator:before,.nightMode .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-focus-indicator:before{border-color:#520000}.nightMode .mat-tab-group.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.nightMode .mat-tab-group.mat-background-accent>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.nightMode .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.nightMode .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:#520000;opacity:.4}.nightMode .mat-tab-group.mat-background-accent>.mat-tab-header .mat-ripple-element,.nightMode .mat-tab-group.mat-background-accent>.mat-tab-link-container .mat-ripple-element,.nightMode .mat-tab-group.mat-background-accent>.mat-tab-header-pagination .mat-ripple-element,.nightMode .mat-tab-nav-bar.mat-background-accent>.mat-tab-header .mat-ripple-element,.nightMode .mat-tab-nav-bar.mat-background-accent>.mat-tab-link-container .mat-ripple-element,.nightMode .mat-tab-nav-bar.mat-background-accent>.mat-tab-header-pagination .mat-ripple-element{background-color:#520000;opacity:.12}.nightMode .mat-tab-group.mat-background-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.nightMode .mat-tab-group.mat-background-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.nightMode .mat-tab-group.mat-background-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.nightMode .mat-tab-group.mat-background-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.nightMode .mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.nightMode .mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.nightMode .mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.nightMode .mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:#f2bebe4d}.nightMode .mat-tab-group.mat-background-warn>.mat-tab-header,.nightMode .mat-tab-group.mat-background-warn>.mat-tab-link-container,.nightMode .mat-tab-group.mat-background-warn>.mat-tab-header-pagination,.nightMode .mat-tab-nav-bar.mat-background-warn>.mat-tab-header,.nightMode .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container,.nightMode .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination{background-color:#520000}.nightMode .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-label,.nightMode .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-tab-link,.nightMode .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-label,.nightMode .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-tab-link{color:#000}.nightMode .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-label.mat-tab-disabled,.nightMode .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-tab-link.mat-tab-disabled,.nightMode .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-label.mat-tab-disabled,.nightMode .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-tab-link.mat-tab-disabled{color:#0006}.nightMode .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-chevron,.nightMode .mat-tab-group.mat-background-warn>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.nightMode .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-focus-indicator:before,.nightMode .mat-tab-group.mat-background-warn>.mat-tab-header .mat-focus-indicator:before,.nightMode .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-chevron,.nightMode .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination .mat-tab-header-pagination-chevron,.nightMode .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-focus-indicator:before,.nightMode .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-focus-indicator:before{border-color:#000}.nightMode .mat-tab-group.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.nightMode .mat-tab-group.mat-background-warn>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.nightMode .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.nightMode .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:#000;opacity:.4}.nightMode .mat-tab-group.mat-background-warn>.mat-tab-header .mat-ripple-element,.nightMode .mat-tab-group.mat-background-warn>.mat-tab-link-container .mat-ripple-element,.nightMode .mat-tab-group.mat-background-warn>.mat-tab-header-pagination .mat-ripple-element,.nightMode .mat-tab-nav-bar.mat-background-warn>.mat-tab-header .mat-ripple-element,.nightMode .mat-tab-nav-bar.mat-background-warn>.mat-tab-link-container .mat-ripple-element,.nightMode .mat-tab-nav-bar.mat-background-warn>.mat-tab-header-pagination .mat-ripple-element{background-color:#000;opacity:.12}.nightMode .mat-toolbar{background:black;color:#520000}.nightMode .mat-toolbar.mat-primary{background:#520000;color:#000}.nightMode .mat-toolbar.mat-accent{background:#121212;color:#520000}.nightMode .mat-toolbar.mat-warn{background:#520000;color:#000}.nightMode .mat-toolbar .mat-form-field-underline,.nightMode .mat-toolbar .mat-form-field-ripple,.nightMode .mat-toolbar .mat-focused .mat-form-field-ripple{background-color:currentColor}.nightMode .mat-toolbar .mat-form-field-label,.nightMode .mat-toolbar .mat-focused .mat-form-field-label,.nightMode .mat-toolbar .mat-select-value,.nightMode .mat-toolbar .mat-select-arrow,.nightMode .mat-toolbar .mat-form-field.mat-focused .mat-select-arrow{color:inherit}.nightMode .mat-toolbar .mat-input-element{caret-color:currentColor}.nightMode .mat-tree{background:black}.nightMode .mat-tree-node,.nightMode .mat-nested-tree-node{color:#520000}.nightMode .mat-snack-bar-container{color:#000000de;background:#fafafa;box-shadow:0 3px 5px -1px #0003,0 6px 10px #00000024,0 1px 18px #0000001f}.nightMode .mat-simple-snackbar-action{color:inherit}.nightMode .app-defaults{background-color:#0e0d0d;color:#520000}.nightMode .theme-menu{background-color:#121212}.nightMode .menuBarButtonGroup{background-color:#ffffff1f}.nightMode .tabGroups{padding-left:0;min-height:100%;height:100%}.nightMode .tabGroupPanel{display:block;margin:10px 20px 20px}.nightMode .formActionFooter{width:100%;text-align:end}.nightMode .formActionButton{margin-left:10px}.nightMode .formActionDivider{margin-top:10px;margin-bottom:10px}.nightMode .as-split-gutter{background-color:transparent!important}.nightMode .primary,.nightMode .accent,.nightMode .warn,.nightMode .primaryDark,.nightMode .accentDark,.nightMode .warnDark{color:#520000}.nightMode .background{color:#ffffff1f}.nightMode .text{color:#520000}.nightMode .pathMetaDescription{font:small-caption;color:#5200004d}.nightMode .warn{color:#520000}.nightMode .warn-contrast{color:#000}.nightMode .textGenericWrapper{position:relative;width:100%;height:100%}.nightMode .canvas-size{position:absolute;top:0;left:0}.nightMode .warn{color:#520000}.nightMode .warn-contrast{color:#000}.nightMode DIV.apScreen{display:block;position:relative;width:360px;height:220.5px;margin:auto;text-align:center;border-radius:5px;border:1px solid rgba(255,255,255,.12);background-color:#ffffff1f}.nightMode .apScreen .apCompass{position:relative;width:360px;height:202px;margin:auto;border-radius:5px}.nightMode .apStatusBar{width:360px;height:18.5px;border-bottom-left-radius:5px;border-bottom-right-radius:5px;background-color:#000}.nightMode .apStatusBar,.nightMode .apStatusBar DIV{display:inline-block;position:relative}.nightMode .apScreen .apStencil{position:absolute;top:0;left:0;width:100%;height:100%;margin:auto;border-radius:5px;z-index:10;vertical-align:middle;background-color:#0e0d0d}.nightMode .apStencil.confirmCommand{z-index:5;visibility:hidden}.nightMode .apStencil.error{z-index:6;visibility:hidden}.nightMode .apText{fill:#520000}.nightMode .boatBackground{stop-color:#520000!important}.nightMode .heading-background{stroke:#1e1e1e;fill:#462121}.nightMode .wind-text{fill:#1e1e1e;stroke:#1e1e1e}.nightMode .laylines{stroke:#520000}.nightMode .wind-sector-port{fill:#520000}.nightMode .wind-sector-stbd{fill:#17420a}.nightMode .compass-outer-ring{stroke:#2c1515}.nightMode .compass-inner-ring{stroke:#462121;fill:#462121}.nightMode .wind-rose-background{stroke:#2c1a1a}.nightMode .sailSetupBoat{stroke:#462121}.nightMode .sailSetupFull,.nightMode .sailSetupReef1{fill:#520000}.nightMode .sailSetupReef2{fill:#e26767}.nightMode .sailSetupReef3{fill:#520000}.nightMode .port{stroke:#520000}.nightMode .starboard{stroke:#17420a}.nightMode .rudderPort{fill:#520000}.nightMode .rudderStarboard{fill:#389c19}.nightMode .true-wind{fill:#5f5013}.nightMode .app-wind{fill:#083958}.nightMode .simpleLinear-text{fill:#520000}.nightMode .windWrapper{position:relative;width:100%;height:100%}.nightMode .matBadge{z-index:1000}.nightMode .mute-unmte-alarm{width:max-content}.nightMode .alarmWarning{animation:blinkingAlarmWarning 1.5s infinite;background-color:orange!important}@keyframes blinkingAlarmWarning{0%{color:#b30000}50%{color:transparent}to{color:#b30000}}.nightMode .alarmCrit{animation:blinkingAlarmCrit .25s infinite}@keyframes blinkingAlarmCrit{0%{color:#ffe8e8;background-color:#b30000}50%{color:#b30000;background-color:#ffe8e8}to{color:#ffe8e8;background-color:#b30000}}.nightMode .muteSoundButton:hover{background:rgba(255,255,255,.04)}.nightMode .serverStatus{background-color:#ffffff1f;margin:7% 5% 0%;padding:10px 20px 20px}.nightMode .descriptiveTexts{color:#520000;font-size:14px}.nightMode .flex-item{flex:1 1 29%;background-color:#ffffff1f;padding:20px;border-radius:4px}.nightMode .flex-item-copy{flex:2 1 40%;background-color:#ffffff1f;padding:10px 20px;border-radius:4px}