diff --git a/server/src/uds/static/modern/main.js b/server/src/uds/static/modern/main.js index 195f17d18..bc4c7172f 100644 --- a/server/src/uds/static/modern/main.js +++ b/server/src/uds/static/modern/main.js @@ -1 +1 @@ -var dI=Object.defineProperty,uI=Object.defineProperties;var fI=Object.getOwnPropertyDescriptors;var vl=Object.getOwnPropertySymbols;var Xb=Object.prototype.hasOwnProperty,Jb=Object.prototype.propertyIsEnumerable;var Kb=(n,e,r)=>e in n?dI(n,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):n[e]=r,D=(n,e)=>{for(var r in e||(e={}))Xb.call(e,r)&&Kb(n,r,e[r]);if(vl)for(var r of vl(e))Jb.call(e,r)&&Kb(n,r,e[r]);return n},_e=(n,e)=>uI(n,fI(e));var _f=(n,e)=>{var r={};for(var t in n)Xb.call(n,t)&&e.indexOf(t)<0&&(r[t]=n[t]);if(n!=null&&vl)for(var t of vl(n))e.indexOf(t)<0&&Jb.call(n,t)&&(r[t]=n[t]);return r};var ke=(n,e,r)=>new Promise((t,i)=>{var o=l=>{try{a(r.next(l))}catch(c){i(c)}},s=l=>{try{a(r.throw(l))}catch(c){i(c)}},a=l=>l.done?t(l.value):Promise.resolve(l.value).then(o,s);a((r=r.apply(n,e)).next())});var xf=null,_l=!1,yf=1,yl=Symbol("SIGNAL");function Ee(n){let e=xf;return xf=n,e}function ev(){return xf}function hI(){return _l}var xl={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function mI(n){if(!(Ef(n)&&!n.dirty)&&!(!n.dirty&&n.lastCleanEpoch===yf)){if(!n.producerMustRecompute(n)&&!Cl(n)){n.dirty=!1,n.lastCleanEpoch=yf;return}n.producerRecomputeValue(n),n.dirty=!1,n.lastCleanEpoch=yf}}function pI(n){if(n.liveConsumerNode===void 0)return;let e=_l;_l=!0;try{for(let r of n.liveConsumerNode)r.dirty||tv(r)}finally{_l=e}}function tv(n){var e;n.dirty=!0,pI(n),(e=n.consumerMarkedDirty)==null||e.call(n,n)}function wl(n){return n&&(n.nextProducerIndex=0),Ee(n)}function Cf(n,e){if(Ee(e),!(!n||n.producerNode===void 0||n.producerIndexOfThis===void 0||n.producerLastReadVersion===void 0)){if(Ef(n))for(let r=n.nextProducerIndex;rn.nextProducerIndex;)n.producerNode.pop(),n.producerLastReadVersion.pop(),n.producerIndexOfThis.pop()}}function Cl(n){If(n);for(let e=0;e0}function If(n){var e,r,t;(e=n.producerNode)!=null||(n.producerNode=[]),(r=n.producerIndexOfThis)!=null||(n.producerIndexOfThis=[]),(t=n.producerLastReadVersion)!=null||(n.producerLastReadVersion=[])}function gI(n){var e,r;(e=n.liveConsumerNode)!=null||(n.liveConsumerNode=[]),(r=n.liveConsumerIndexOfThis)!=null||(n.liveConsumerIndexOfThis=[])}function bI(n){return n.producerNode!==void 0}function vI(){throw new Error}var _I=vI;function nv(n){_I=n}function iv(n,e,r){let t=Object.create(yI);r&&(t.consumerAllowSignalWrites=!0),t.fn=n,t.schedule=e;let i=l=>{t.cleanupFn=l};function o(l){return l.fn===null&&l.schedule===null}function s(l){o(l)||(Dl(l),l.cleanupFn(),l.fn=null,l.schedule=null,l.cleanupFn=wf)}let a=()=>{if(t.fn===null)return;if(hI())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(t.dirty=!1,t.hasRun&&!Cl(t))return;t.hasRun=!0;let l=wl(t);try{t.cleanupFn(),t.cleanupFn=wf,t.fn(i)}finally{Cf(t,l)}};return t.ref={notify:()=>tv(t),run:a,cleanup:()=>t.cleanupFn(),destroy:()=>s(t),[yl]:t},t.ref}var wf=()=>{},yI=_e(D({},xl),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:n=>{n.schedule!==null&&n.schedule(n.ref)},hasRun:!1,cleanupFn:wf});function Q(n){return typeof n=="function"}function Vi(n){let r=n(t=>{Error.call(t),t.stack=new Error().stack});return r.prototype=Object.create(Error.prototype),r.prototype.constructor=r,r}var El=Vi(n=>function(r){n(this),this.message=r?"".concat(r.length," errors occurred during unsubscription:\n").concat(r.map((t,i)=>"".concat(i+1,") ").concat(t.toString())).join("\n ")):"",this.name="UnsubscriptionError",this.errors=r});function Er(n,e){if(n){let r=n.indexOf(e);0<=r&&n.splice(r,1)}}var fe=class n{constructor(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let e;if(!this.closed){this.closed=!0;let{_parentage:r}=this;if(r)if(this._parentage=null,Array.isArray(r))for(let o of r)o.remove(this);else r.remove(this);let{initialTeardown:t}=this;if(Q(t))try{t()}catch(o){e=o instanceof El?o.errors:[o]}let{_finalizers:i}=this;if(i){this._finalizers=null;for(let o of i)try{rv(o)}catch(s){e=e!=null?e:[],s instanceof El?e=[...e,...s.errors]:e.push(s)}}if(e)throw new El(e)}}add(e){var r;if(e&&e!==this)if(this.closed)rv(e);else{if(e instanceof n){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=(r=this._finalizers)!==null&&r!==void 0?r:[]).push(e)}}_hasParent(e){let{_parentage:r}=this;return r===e||Array.isArray(r)&&r.includes(e)}_addParent(e){let{_parentage:r}=this;this._parentage=Array.isArray(r)?(r.push(e),r):r?[r,e]:e}_removeParent(e){let{_parentage:r}=this;r===e?this._parentage=null:Array.isArray(r)&&Er(r,e)}remove(e){let{_finalizers:r}=this;r&&Er(r,e),e instanceof n&&e._removeParent(this)}};fe.EMPTY=(()=>{let n=new fe;return n.closed=!0,n})();var Mf=fe.EMPTY;function Il(n){return n instanceof fe||n&&"closed"in n&&Q(n.remove)&&Q(n.add)&&Q(n.unsubscribe)}function rv(n){Q(n)?n():n.unsubscribe()}var vn={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var po={setTimeout(n,e,...r){let{delegate:t}=po;return t!=null&&t.setTimeout?t.setTimeout(n,e,...r):setTimeout(n,e,...r)},clearTimeout(n){let{delegate:e}=po;return((e==null?void 0:e.clearTimeout)||clearTimeout)(n)},delegate:void 0};function Ml(n){po.setTimeout(()=>{let{onUnhandledError:e}=vn;if(e)e(n);else throw n})}function Ir(){}var ov=Sf("C",void 0,void 0);function sv(n){return Sf("E",void 0,n)}function av(n){return Sf("N",n,void 0)}function Sf(n,e,r){return{kind:n,value:e,error:r}}var Mr=null;function go(n){if(vn.useDeprecatedSynchronousErrorHandling){let e=!Mr;if(e&&(Mr={errorThrown:!1,error:null}),n(),e){let{errorThrown:r,error:t}=Mr;if(Mr=null,r)throw t}}else n()}function lv(n){vn.useDeprecatedSynchronousErrorHandling&&Mr&&(Mr.errorThrown=!0,Mr.error=n)}var Sr=class extends fe{constructor(e){super(),this.isStopped=!1,e?(this.destination=e,Il(e)&&e.add(this)):this.destination=CI}static create(e,r,t){return new _n(e,r,t)}next(e){this.isStopped?Af(av(e),this):this._next(e)}error(e){this.isStopped?Af(sv(e),this):(this.isStopped=!0,this._error(e))}complete(){this.isStopped?Af(ov,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(e){this.destination.next(e)}_error(e){try{this.destination.error(e)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},xI=Function.prototype.bind;function Tf(n,e){return xI.call(n,e)}var kf=class{constructor(e){this.partialObserver=e}next(e){let{partialObserver:r}=this;if(r.next)try{r.next(e)}catch(t){Sl(t)}}error(e){let{partialObserver:r}=this;if(r.error)try{r.error(e)}catch(t){Sl(t)}else Sl(e)}complete(){let{partialObserver:e}=this;if(e.complete)try{e.complete()}catch(r){Sl(r)}}},_n=class extends Sr{constructor(e,r,t){super();let i;if(Q(e)||!e)i={next:e!=null?e:void 0,error:r!=null?r:void 0,complete:t!=null?t:void 0};else{let o;this&&vn.useDeprecatedNextContext?(o=Object.create(e),o.unsubscribe=()=>this.unsubscribe(),i={next:e.next&&Tf(e.next,o),error:e.error&&Tf(e.error,o),complete:e.complete&&Tf(e.complete,o)}):i=e}this.destination=new kf(i)}};function Sl(n){vn.useDeprecatedSynchronousErrorHandling?lv(n):Ml(n)}function wI(n){throw n}function Af(n,e){let{onStoppedNotification:r}=vn;r&&po.setTimeout(()=>r(n,e))}var CI={closed:!0,next:Ir,error:wI,complete:Ir};var bo=typeof Symbol=="function"&&Symbol.observable||"@@observable";function kt(n){return n}function Of(...n){return Rf(n)}function Rf(n){return n.length===0?kt:n.length===1?n[0]:function(r){return n.reduce((t,i)=>i(t),r)}}var se=(()=>{class n{constructor(r){r&&(this._subscribe=r)}lift(r){let t=new n;return t.source=this,t.operator=r,t}subscribe(r,t,i){let o=EI(r)?r:new _n(r,t,i);return go(()=>{let{operator:s,source:a}=this;o.add(s?s.call(o,a):a?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(r){try{return this._subscribe(r)}catch(t){r.error(t)}}forEach(r,t){return t=cv(t),new t((i,o)=>{let s=new _n({next:a=>{try{r(a)}catch(l){o(l),s.unsubscribe()}},error:o,complete:i});this.subscribe(s)})}_subscribe(r){var t;return(t=this.source)===null||t===void 0?void 0:t.subscribe(r)}[bo](){return this}pipe(...r){return Rf(r)(this)}toPromise(r){return r=cv(r),new r((t,i)=>{let o;this.subscribe(s=>o=s,s=>i(s),()=>t(o))})}}return n.create=e=>new n(e),n})();function cv(n){var e;return(e=n!=null?n:vn.Promise)!==null&&e!==void 0?e:Promise}function DI(n){return n&&Q(n.next)&&Q(n.error)&&Q(n.complete)}function EI(n){return n&&n instanceof Sr||DI(n)&&Il(n)}function Nf(n){return Q(n==null?void 0:n.lift)}function J(n){return e=>{if(Nf(e))return e.lift(function(r){try{return n(r,this)}catch(t){this.error(t)}});throw new TypeError("Unable to lift unknown Observable type")}}function X(n,e,r,t,i){return new Pf(n,e,r,t,i)}var Pf=class extends Sr{constructor(e,r,t,i,o,s){super(e),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=r?function(a){try{r(a)}catch(l){e.error(l)}}:super._next,this._error=i?function(a){try{i(a)}catch(l){e.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=t?function(){try{t()}catch(a){e.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var e;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:r}=this;super.unsubscribe(),!r&&((e=this.onFinalize)===null||e===void 0||e.call(this))}}};function vo(){return J((n,e)=>{let r=null;n._refCount++;let t=X(e,void 0,void 0,void 0,()=>{if(!n||n._refCount<=0||0<--n._refCount){r=null;return}let i=n._connection,o=r;r=null,i&&(!o||i===o)&&i.unsubscribe(),e.unsubscribe()});n.subscribe(t),t.closed||(r=n.connect())})}var Tr=class extends se{constructor(e,r){super(),this.source=e,this.subjectFactory=r,this._subject=null,this._refCount=0,this._connection=null,Nf(e)&&(this.lift=e.lift)}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){let e=this._subject;return(!e||e.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:e}=this;this._subject=this._connection=null,e==null||e.unsubscribe()}connect(){let e=this._connection;if(!e){e=this._connection=new fe;let r=this.getSubject();e.add(this.source.subscribe(X(r,void 0,()=>{this._teardown(),r.complete()},t=>{this._teardown(),r.error(t)},()=>this._teardown()))),e.closed&&(this._connection=null,e=fe.EMPTY)}return e}refCount(){return vo()(this)}};var dv=Vi(n=>function(){n(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var A=(()=>{class n extends se{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(r){let t=new Tl(this,this);return t.operator=r,t}_throwIfClosed(){if(this.closed)throw new dv}next(r){go(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let t of this.currentObservers)t.next(r)}})}error(r){go(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=r;let{observers:t}=this;for(;t.length;)t.shift().error(r)}})}complete(){go(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:r}=this;for(;r.length;)r.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var r;return((r=this.observers)===null||r===void 0?void 0:r.length)>0}_trySubscribe(r){return this._throwIfClosed(),super._trySubscribe(r)}_subscribe(r){return this._throwIfClosed(),this._checkFinalizedStatuses(r),this._innerSubscribe(r)}_innerSubscribe(r){let{hasError:t,isStopped:i,observers:o}=this;return t||i?Mf:(this.currentObservers=null,o.push(r),new fe(()=>{this.currentObservers=null,Er(o,r)}))}_checkFinalizedStatuses(r){let{hasError:t,thrownError:i,isStopped:o}=this;t?r.error(i):o&&r.complete()}asObservable(){let r=new se;return r.source=this,r}}return n.create=(e,r)=>new Tl(e,r),n})(),Tl=class extends A{constructor(e,r){super(),this.destination=e,this.source=r}next(e){var r,t;(t=(r=this.destination)===null||r===void 0?void 0:r.next)===null||t===void 0||t.call(r,e)}error(e){var r,t;(t=(r=this.destination)===null||r===void 0?void 0:r.error)===null||t===void 0||t.call(r,e)}complete(){var e,r;(r=(e=this.destination)===null||e===void 0?void 0:e.complete)===null||r===void 0||r.call(e)}_subscribe(e){var r,t;return(t=(r=this.source)===null||r===void 0?void 0:r.subscribe(e))!==null&&t!==void 0?t:Mf}};var dt=class extends A{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){let r=super._subscribe(e);return!r.closed&&e.next(this._value),r}getValue(){let{hasError:e,thrownError:r,_value:t}=this;if(e)throw r;return this._throwIfClosed(),t}next(e){super.next(this._value=e)}};var Rs={now(){return(Rs.delegate||Date).now()},delegate:void 0};var Al=class extends A{constructor(e=1/0,r=1/0,t=Rs){super(),this._bufferSize=e,this._windowTime=r,this._timestampProvider=t,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=r===1/0,this._bufferSize=Math.max(1,e),this._windowTime=Math.max(1,r)}next(e){let{isStopped:r,_buffer:t,_infiniteTimeWindow:i,_timestampProvider:o,_windowTime:s}=this;r||(t.push(e),!i&&t.push(o.now()+s)),this._trimBuffer(),super.next(e)}_subscribe(e){this._throwIfClosed(),this._trimBuffer();let r=this._innerSubscribe(e),{_infiniteTimeWindow:t,_buffer:i}=this,o=i.slice();for(let s=0;suv(e)&&n()),e},clearImmediate(n){uv(n)}};var{setImmediate:MI,clearImmediate:SI}=fv,Ps={setImmediate(...n){let{delegate:e}=Ps;return((e==null?void 0:e.setImmediate)||MI)(...n)},clearImmediate(n){let{delegate:e}=Ps;return((e==null?void 0:e.clearImmediate)||SI)(n)},delegate:void 0};var Ol=class extends _o{constructor(e,r){super(e,r),this.scheduler=e,this.work=r}requestAsyncId(e,r,t=0){return t!==null&&t>0?super.requestAsyncId(e,r,t):(e.actions.push(this),e._scheduled||(e._scheduled=Ps.setImmediate(e.flush.bind(e,void 0))))}recycleAsyncId(e,r,t=0){var i;if(t!=null?t>0:this.delay>0)return super.recycleAsyncId(e,r,t);let{actions:o}=e;r!=null&&((i=o[o.length-1])===null||i===void 0?void 0:i.id)!==r&&(Ps.clearImmediate(r),e._scheduled===r&&(e._scheduled=void 0))}};var yo=class n{constructor(e,r=n.now){this.schedulerActionCtor=e,this.now=r}schedule(e,r=0,t){return new this.schedulerActionCtor(this,e).schedule(t,r)}};yo.now=Rs.now;var xo=class extends yo{constructor(e,r=yo.now){super(e,r),this.actions=[],this._active=!1}flush(e){let{actions:r}=this;if(this._active){r.push(e);return}let t;this._active=!0;do if(t=e.execute(e.state,e.delay))break;while(e=r.shift());if(this._active=!1,t){for(;e=r.shift();)e.unsubscribe();throw t}}};var Rl=class extends xo{flush(e){this._active=!0;let r=this._scheduled;this._scheduled=void 0;let{actions:t}=this,i;e=e||t.shift();do if(i=e.execute(e.state,e.delay))break;while((e=t[0])&&e.id===r&&t.shift());if(this._active=!1,i){for(;(e=t[0])&&e.id===r&&t.shift();)e.unsubscribe();throw i}}};var Fs=new Rl(Ol);var yn=new xo(_o),hv=yn;var ut=new se(n=>n.complete());function Nl(n){return n&&Q(n.schedule)}function jf(n){return n[n.length-1]}function Pl(n){return Q(jf(n))?n.pop():void 0}function jn(n){return Nl(jf(n))?n.pop():void 0}function mv(n,e){return typeof jf(n)=="number"?n.pop():e}function gv(n,e,r,t){function i(o){return o instanceof r?o:new r(function(s){s(o)})}return new(r||(r=Promise))(function(o,s){function a(d){try{c(t.next(d))}catch(u){s(u)}}function l(d){try{c(t.throw(d))}catch(u){s(u)}}function c(d){d.done?o(d.value):i(d.value).then(a,l)}c((t=t.apply(n,e||[])).next())})}function pv(n){var e=typeof Symbol=="function"&&Symbol.iterator,r=e&&n[e],t=0;if(r)return r.call(n);if(n&&typeof n.length=="number")return{next:function(){return n&&t>=n.length&&(n=void 0),{value:n&&n[t++],done:!n}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function Ar(n){return this instanceof Ar?(this.v=n,this):new Ar(n)}function bv(n,e,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=r.apply(n,e||[]),i,o=[];return i={},s("next"),s("throw"),s("return"),i[Symbol.asyncIterator]=function(){return this},i;function s(f){t[f]&&(i[f]=function(m){return new Promise(function(g,_){o.push([f,m,g,_])>1||a(f,m)})})}function a(f,m){try{l(t[f](m))}catch(g){u(o[0][3],g)}}function l(f){f.value instanceof Ar?Promise.resolve(f.value.v).then(c,d):u(o[0][2],f)}function c(f){a("next",f)}function d(f){a("throw",f)}function u(f,m){f(m),o.shift(),o.length&&a(o[0][0],o[0][1])}}function vv(n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=n[Symbol.asyncIterator],r;return e?e.call(n):(n=typeof pv=="function"?pv(n):n[Symbol.iterator](),r={},t("next"),t("throw"),t("return"),r[Symbol.asyncIterator]=function(){return this},r);function t(o){r[o]=n[o]&&function(s){return new Promise(function(a,l){s=n[o](s),i(a,l,s.done,s.value)})}}function i(o,s,a,l){Promise.resolve(l).then(function(c){o({value:c,done:a})},s)}}var wo=n=>n&&typeof n.length=="number"&&typeof n!="function";function Fl(n){return Q(n==null?void 0:n.then)}function Ll(n){return Q(n[bo])}function jl(n){return Symbol.asyncIterator&&Q(n==null?void 0:n[Symbol.asyncIterator])}function Vl(n){return new TypeError("You provided ".concat(n!==null&&typeof n=="object"?"an invalid object":"'".concat(n,"'")," where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable."))}function TI(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Bl=TI();function Ul(n){return Q(n==null?void 0:n[Bl])}function zl(n){return bv(this,arguments,function*(){let r=n.getReader();try{for(;;){let{value:t,done:i}=yield Ar(r.read());if(i)return yield Ar(void 0);yield yield Ar(t)}}finally{r.releaseLock()}})}function Hl(n){return Q(n==null?void 0:n.getReader)}function Se(n){if(n instanceof se)return n;if(n!=null){if(Ll(n))return AI(n);if(wo(n))return kI(n);if(Fl(n))return OI(n);if(jl(n))return _v(n);if(Ul(n))return RI(n);if(Hl(n))return NI(n)}throw Vl(n)}function AI(n){return new se(e=>{let r=n[bo]();if(Q(r.subscribe))return r.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function kI(n){return new se(e=>{for(let r=0;r{n.then(r=>{e.closed||(e.next(r),e.complete())},r=>e.error(r)).then(null,Ml)})}function RI(n){return new se(e=>{for(let r of n)if(e.next(r),e.closed)return;e.complete()})}function _v(n){return new se(e=>{PI(n,e).catch(r=>e.error(r))})}function NI(n){return _v(zl(n))}function PI(n,e){var r,t,i,o;return gv(this,void 0,void 0,function*(){try{for(r=vv(n);t=yield r.next(),!t.done;){let s=t.value;if(e.next(s),e.closed)return}}catch(s){i={error:s}}finally{try{t&&!t.done&&(o=r.return)&&(yield o.call(r))}finally{if(i)throw i.error}}e.complete()})}function wt(n,e,r,t=0,i=!1){let o=e.schedule(function(){r(),i?n.add(this.schedule(null,t)):this.unsubscribe()},t);if(n.add(o),!i)return o}function $l(n,e=0){return J((r,t)=>{r.subscribe(X(t,i=>wt(t,n,()=>t.next(i),e),()=>wt(t,n,()=>t.complete(),e),i=>wt(t,n,()=>t.error(i),e)))})}function Wl(n,e=0){return J((r,t)=>{t.add(n.schedule(()=>r.subscribe(t),e))})}function yv(n,e){return Se(n).pipe(Wl(e),$l(e))}function xv(n,e){return Se(n).pipe(Wl(e),$l(e))}function wv(n,e){return new se(r=>{let t=0;return e.schedule(function(){t===n.length?r.complete():(r.next(n[t++]),r.closed||this.schedule())})})}function Cv(n,e){return new se(r=>{let t;return wt(r,e,()=>{t=n[Bl](),wt(r,e,()=>{let i,o;try{({value:i,done:o}=t.next())}catch(s){r.error(s);return}o?r.complete():r.next(i)},0,!0)}),()=>Q(t==null?void 0:t.return)&&t.return()})}function Gl(n,e){if(!n)throw new Error("Iterable cannot be null");return new se(r=>{wt(r,e,()=>{let t=n[Symbol.asyncIterator]();wt(r,e,()=>{t.next().then(i=>{i.done?r.complete():r.next(i.value)})},0,!0)})})}function Dv(n,e){return Gl(zl(n),e)}function Ev(n,e){if(n!=null){if(Ll(n))return yv(n,e);if(wo(n))return wv(n,e);if(Fl(n))return xv(n,e);if(jl(n))return Gl(n,e);if(Ul(n))return Cv(n,e);if(Hl(n))return Dv(n,e)}throw Vl(n)}function je(n,e){return e?Ev(n,e):Se(n)}function H(...n){let e=jn(n);return je(n,e)}function Co(n,e){let r=Q(n)?n:()=>n,t=i=>i.error(r());return new se(e?i=>e.schedule(t,0,i):t)}function Ls(n){return!!n&&(n instanceof se||Q(n.lift)&&Q(n.subscribe))}var xn=Vi(n=>function(){n(this),this.name="EmptyError",this.message="no elements in sequence"});function ql(n,e){let r=typeof e=="object";return new Promise((t,i)=>{let o=new _n({next:s=>{t(s),o.unsubscribe()},error:i,complete:()=>{r?t(e.defaultValue):i(new xn)}});n.subscribe(o)})}function Yl(n){return n instanceof Date&&!isNaN(n)}var FI=Vi(n=>function(r=null){n(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=r});function Vf(n,e){let{first:r,each:t,with:i=LI,scheduler:o=e!=null?e:yn,meta:s=null}=Yl(n)?{first:n}:typeof n=="number"?{each:n}:n;if(r==null&&t==null)throw new TypeError("No timeout provided.");return J((a,l)=>{let c,d,u=null,f=0,m=g=>{d=wt(l,o,()=>{try{c.unsubscribe(),Se(i({meta:s,lastValue:u,seen:f})).subscribe(l)}catch(_){l.error(_)}},g)};c=a.subscribe(X(l,g=>{d==null||d.unsubscribe(),f++,l.next(u=g),t>0&&m(t)},void 0,void 0,()=>{d!=null&&d.closed||d==null||d.unsubscribe(),u=null})),!f&&m(r!=null?typeof r=="number"?r:+r-o.now():t)})}function LI(n){throw new FI(n)}function K(n,e){return J((r,t)=>{let i=0;r.subscribe(X(t,o=>{t.next(n.call(e,o,i++))}))})}var{isArray:jI}=Array;function VI(n,e){return jI(e)?n(...e):n(e)}function Do(n){return K(e=>VI(n,e))}var{isArray:BI}=Array,{getPrototypeOf:UI,prototype:zI,keys:HI}=Object;function Zl(n){if(n.length===1){let e=n[0];if(BI(e))return{args:e,keys:null};if($I(e)){let r=HI(e);return{args:r.map(t=>e[t]),keys:r}}}return{args:n,keys:null}}function $I(n){return n&&typeof n=="object"&&UI(n)===zI}function Ql(n,e){return n.reduce((r,t,i)=>(r[t]=e[i],r),{})}function kr(...n){let e=jn(n),r=Pl(n),{args:t,keys:i}=Zl(n);if(t.length===0)return je([],e);let o=new se(WI(t,e,i?s=>Ql(i,s):kt));return r?o.pipe(Do(r)):o}function WI(n,e,r=kt){return t=>{Iv(e,()=>{let{length:i}=n,o=new Array(i),s=i,a=i;for(let l=0;l{let c=je(n[l],e),d=!1;c.subscribe(X(t,u=>{o[l]=u,d||(d=!0,a--),a||t.next(r(o.slice()))},()=>{--s||t.complete()}))},t)},t)}}function Iv(n,e,r){n?wt(r,n,e):e()}function Mv(n,e,r,t,i,o,s,a){let l=[],c=0,d=0,u=!1,f=()=>{u&&!l.length&&!c&&e.complete()},m=_=>c{o&&e.next(_),c++;let C=!1;Se(r(_,d++)).subscribe(X(e,S=>{i==null||i(S),o?m(S):e.next(S)},()=>{C=!0},void 0,()=>{if(C)try{for(c--;l.length&&cg(S)):g(S)}f()}catch(S){e.error(S)}}))};return n.subscribe(X(e,m,()=>{u=!0,f()})),()=>{a==null||a()}}function Ze(n,e,r=1/0){return Q(e)?Ze((t,i)=>K((o,s)=>e(t,o,i,s))(Se(n(t,i))),r):(typeof e=="number"&&(r=e),J((t,i)=>Mv(t,i,n,r)))}function Bi(n=1/0){return Ze(kt,n)}function Sv(){return Bi(1)}function Vn(...n){return Sv()(je(n,jn(n)))}function Bn(n){return new se(e=>{Se(n()).subscribe(e)})}function Bf(...n){let e=Pl(n),{args:r,keys:t}=Zl(n),i=new se(o=>{let{length:s}=r;if(!s){o.complete();return}let a=new Array(s),l=s,c=s;for(let d=0;d{u||(u=!0,c--),a[d]=f},()=>l--,void 0,()=>{(!l||!u)&&(c||o.next(t?Ql(t,a):a),o.complete())}))}});return e?i.pipe(Do(e)):i}var GI=["addListener","removeListener"],qI=["addEventListener","removeEventListener"],YI=["on","off"];function mi(n,e,r,t){if(Q(r)&&(t=r,r=void 0),t)return mi(n,e,r).pipe(Do(t));let[i,o]=KI(n)?qI.map(s=>a=>n[s](e,a,r)):ZI(n)?GI.map(Tv(n,e)):QI(n)?YI.map(Tv(n,e)):[];if(!i&&wo(n))return Ze(s=>mi(s,e,r))(Se(n));if(!i)throw new TypeError("Invalid event target");return new se(s=>{let a=(...l)=>s.next(1o(a)})}function Tv(n,e){return r=>t=>n[r](e,t)}function ZI(n){return Q(n.addListener)&&Q(n.removeListener)}function QI(n){return Q(n.on)&&Q(n.off)}function KI(n){return Q(n.addEventListener)&&Q(n.removeEventListener)}function Eo(n=0,e,r=hv){let t=-1;return e!=null&&(Nl(e)?r=e:t=e),new se(i=>{let o=Yl(n)?+n-r.now():n;o<0&&(o=0);let s=0;return r.schedule(function(){i.closed||(i.next(s++),0<=t?this.schedule(void 0,t):i.complete())},o)})}function Uf(n=0,e=yn){return n<0&&(n=0),Eo(n,n,e)}function vt(...n){let e=jn(n),r=mv(n,1/0),t=n;return t.length?t.length===1?Se(t[0]):Bi(r)(je(t,e)):ut}function le(n,e){return J((r,t)=>{let i=0;r.subscribe(X(t,o=>n.call(e,o,i++)&&t.next(o)))})}function Av(n){return J((e,r)=>{let t=!1,i=null,o=null,s=!1,a=()=>{if(o==null||o.unsubscribe(),o=null,t){t=!1;let c=i;i=null,r.next(c)}s&&r.complete()},l=()=>{o=null,s&&r.complete()};e.subscribe(X(r,c=>{t=!0,i=c,o||Se(n(c)).subscribe(o=X(r,a,l))},()=>{s=!0,(!t||!o||o.closed)&&r.complete()}))})}function Kl(n,e=yn){return Av(()=>Eo(n,e))}function Ui(n){return J((e,r)=>{let t=null,i=!1,o;t=e.subscribe(X(r,void 0,void 0,s=>{o=Se(n(s,Ui(n)(e))),t?(t.unsubscribe(),t=null,o.subscribe(r)):i=!0})),i&&(t.unsubscribe(),t=null,o.subscribe(r))})}function kv(n,e,r,t,i){return(o,s)=>{let a=r,l=e,c=0;o.subscribe(X(s,d=>{let u=c++;l=a?n(l,d,u):(a=!0,d),t&&s.next(l)},i&&(()=>{a&&s.next(l),s.complete()})))}}function pi(n,e){return Q(e)?Ze(n,e,1):Ze(n,1)}function Or(n,e=yn){return J((r,t)=>{let i=null,o=null,s=null,a=()=>{if(i){i.unsubscribe(),i=null;let c=o;o=null,t.next(c)}};function l(){let c=s+n,d=e.now();if(d{o=c,s=e.now(),i||(i=e.schedule(l,n),t.add(i))},()=>{a(),t.complete()},void 0,()=>{o=i=null}))})}function zi(n){return J((e,r)=>{let t=!1;e.subscribe(X(r,i=>{t=!0,r.next(i)},()=>{t||r.next(n),r.complete()}))})}function Ve(n){return n<=0?()=>ut:J((e,r)=>{let t=0;e.subscribe(X(r,i=>{++t<=n&&(r.next(i),n<=t&&r.complete())}))})}function Ov(){return J((n,e)=>{n.subscribe(X(e,Ir))})}function js(n){return K(()=>n)}function zf(n,e){return e?r=>Vn(e.pipe(Ve(1),Ov()),r.pipe(zf(n))):Ze((r,t)=>Se(n(r,t)).pipe(Ve(1),js(r)))}function Xl(n,e=yn){let r=Eo(n,e);return zf(()=>r)}function Hi(n,e=kt){return n=n!=null?n:XI,J((r,t)=>{let i,o=!0;r.subscribe(X(t,s=>{let a=e(s);(o||!n(i,a))&&(o=!1,i=a,t.next(s))}))})}function XI(n,e){return n===e}function Jl(n=JI){return J((e,r)=>{let t=!1;e.subscribe(X(r,i=>{t=!0,r.next(i)},()=>t?r.complete():r.error(n())))})}function JI(){return new xn}function $i(n){return J((e,r)=>{try{e.subscribe(r)}finally{r.add(n)}})}function Un(n,e){let r=arguments.length>=2;return t=>t.pipe(n?le((i,o)=>n(i,o,t)):kt,Ve(1),r?zi(e):Jl(()=>new xn))}function Io(n){return n<=0?()=>ut:J((e,r)=>{let t=[];e.subscribe(X(r,i=>{t.push(i),n{for(let i of t)r.next(i);r.complete()},void 0,()=>{t=null}))})}function Hf(n,e){let r=arguments.length>=2;return t=>t.pipe(n?le((i,o)=>n(i,o,t)):kt,Io(1),r?zi(e):Jl(()=>new xn))}function $f(n,e){return J(kv(n,e,arguments.length>=2,!0))}function Rv(n={}){let{connector:e=()=>new A,resetOnError:r=!0,resetOnComplete:t=!0,resetOnRefCountZero:i=!0}=n;return o=>{let s,a,l,c=0,d=!1,u=!1,f=()=>{a==null||a.unsubscribe(),a=void 0},m=()=>{f(),s=l=void 0,d=u=!1},g=()=>{let _=s;m(),_==null||_.unsubscribe()};return J((_,C)=>{c++,!u&&!d&&f();let S=l=l!=null?l:e();C.add(()=>{c--,c===0&&!u&&!d&&(a=Wf(g,i))}),S.subscribe(C),!s&&c>0&&(s=new _n({next:B=>S.next(B),error:B=>{u=!0,f(),a=Wf(m,r,B),S.error(B)},complete:()=>{d=!0,f(),a=Wf(m,t),S.complete()}}),Se(_).subscribe(s))})(o)}}function Wf(n,e,...r){if(e===!0){n();return}if(e===!1)return;let t=new _n({next:()=>{t.unsubscribe(),n()}});return Se(e(...r)).subscribe(t)}function ec(n,e,r){let t,i=!1;return n&&typeof n=="object"?{bufferSize:t=1/0,windowTime:e=1/0,refCount:i=!1,scheduler:r}=n:t=n!=null?n:1/0,Rv({connector:()=>new Al(t,e,r),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:i})}function Vs(n){return le((e,r)=>n<=r)}function at(...n){let e=jn(n);return J((r,t)=>{(e?Vn(n,r,e):Vn(n,r)).subscribe(t)})}function it(n,e){return J((r,t)=>{let i=null,o=0,s=!1,a=()=>s&&!i&&t.complete();r.subscribe(X(t,l=>{i==null||i.unsubscribe();let c=0,d=o++;Se(n(l,d)).subscribe(i=X(t,u=>t.next(e?e(l,u,d,c++):u),()=>{i=null,a()}))},()=>{s=!0,a()}))})}function Ie(n){return J((e,r)=>{Se(n).subscribe(X(r,()=>r.complete(),Ir)),!r.closed&&e.subscribe(r)})}function Gf(n,e=!1){return J((r,t)=>{let i=0;r.subscribe(X(t,o=>{let s=n(o,i++);(s||e)&&t.next(o),!s&&t.complete()}))})}function et(n,e,r){let t=Q(n)||e||r?{next:n,error:e,complete:r}:n;return t?J((i,o)=>{var s;(s=t.subscribe)===null||s===void 0||s.call(t);let a=!0;i.subscribe(X(o,l=>{var c;(c=t.next)===null||c===void 0||c.call(t,l),o.next(l)},()=>{var l;a=!1,(l=t.complete)===null||l===void 0||l.call(t),o.complete()},l=>{var c;a=!1,(c=t.error)===null||c===void 0||c.call(t,l),o.error(l)},()=>{var l,c;a&&((l=t.unsubscribe)===null||l===void 0||l.call(t)),(c=t.finalize)===null||c===void 0||c.call(t)}))}):kt}var C_="https://g.co/ng/security#xss",T=class extends Error{constructor(e,r){super(zc(e,r)),this.code=e}};function zc(n,e){let r="NG0".concat(Math.abs(n));return"".concat(r).concat(e?": "+e:"")}function Qs(n){return{toString:n}.toString()}var tc="__parameters__";function eM(n){return function(...r){if(n){let t=n(...r);for(let i in t)this[i]=t[i]}}}function D_(n,e,r){return Qs(()=>{let t=eM(e);function i(...o){if(this instanceof i)return t.apply(this,o),this;let s=new i(...o);return a.annotation=s,a;function a(l,c,d){let u=l.hasOwnProperty(tc)?l[tc]:Object.defineProperty(l,tc,{value:[]})[tc];for(;u.length<=d;)u.push(null);return(u[d]=u[d]||[]).push(s),l}}return r&&(i.prototype=Object.create(r.prototype)),i.prototype.ngMetadataName=n,i.annotationCls=i,i})}var Rt=globalThis;function Be(n){for(let e in n)if(n[e]===Be)return e;throw Error("Could not find renamed property on target object.")}function tM(n,e){for(let r in e)e.hasOwnProperty(r)&&!n.hasOwnProperty(r)&&(n[r]=e[r])}function Ot(n){if(typeof n=="string")return n;if(Array.isArray(n))return"["+n.map(Ot).join(", ")+"]";if(n==null)return""+n;if(n.overriddenName)return"".concat(n.overriddenName);if(n.name)return"".concat(n.name);let e=n.toString();if(e==null)return""+e;let r=e.indexOf("\n");return r===-1?e:e.substring(0,r)}function oh(n,e){return n==null||n===""?e===null?"":e:e==null||e===""?n:n+" "+e}var nM=Be({__forward_ref__:Be});function _i(n){return n.__forward_ref__=_i,n.toString=function(){return Ot(this())},n}function _t(n){return E_(n)?n():n}function E_(n){return typeof n=="function"&&n.hasOwnProperty(nM)&&n.__forward_ref__===_i}function I(n){return{token:n.token,providedIn:n.providedIn||null,factory:n.factory,value:void 0}}function L(n){return{providers:n.providers||[],imports:n.imports||[]}}function Hc(n){return Nv(n,M_)||Nv(n,S_)}function I_(n){return Hc(n)!==null}function Nv(n,e){return n.hasOwnProperty(e)?n[e]:null}function iM(n){let e=n&&(n[M_]||n[S_]);return e||null}function Pv(n){return n&&(n.hasOwnProperty(Fv)||n.hasOwnProperty(rM))?n[Fv]:null}var M_=Be({\u0275prov:Be}),Fv=Be({\u0275inj:Be}),S_=Be({ngInjectableDef:Be}),rM=Be({ngInjectorDef:Be}),E=class{constructor(e,r){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,typeof r=="number"?this.__NG_ELEMENT_ID__=r:r!==void 0&&(this.\u0275prov=I({token:this,providedIn:r.providedIn||"root",factory:r.factory}))}get multi(){return this}toString(){return"InjectionToken ".concat(this._desc)}};function T_(n){return n&&!!n.\u0275providers}var oM=Be({\u0275cmp:Be}),sM=Be({\u0275dir:Be}),aM=Be({\u0275pipe:Be}),lM=Be({\u0275mod:Be}),mc=Be({\u0275fac:Be}),Bs=Be({__NG_ELEMENT_ID__:Be}),Lv=Be({__NG_ENV_ID__:Be});function $n(n){return typeof n=="string"?n:n==null?"":String(n)}function cM(n){return typeof n=="function"?n.name||n.toString():typeof n=="object"&&n!=null&&typeof n.type=="function"?n.type.name||n.type.toString():$n(n)}function dM(n,e){let r=e?". Dependency path: ".concat(e.join(" > ")," > ").concat(n):"";throw new T(-200,n)}function rm(n,e){throw new T(-201,!1)}var ye=function(n){return n[n.Default=0]="Default",n[n.Host=1]="Host",n[n.Self=2]="Self",n[n.SkipSelf=4]="SkipSelf",n[n.Optional=8]="Optional",n}(ye||{}),sh;function A_(){return sh}function Ft(n){let e=sh;return sh=n,e}function k_(n,e,r){let t=Hc(n);if(t&&t.providedIn=="root")return t.value===void 0?t.value=t.factory():t.value;if(r&ye.Optional)return null;if(e!==void 0)return e;rm(n,"Injector")}var uM={},zs=uM,ah="__NG_DI_FLAG__",pc="ngTempTokenPath",fM="ngTokenPath",hM=/\n/gm,mM="\u0275",jv="__source",Ao;function pM(){return Ao}function Wi(n){let e=Ao;return Ao=n,e}function gM(n,e=ye.Default){if(Ao===void 0)throw new T(-203,!1);return Ao===null?k_(n,void 0,e):Ao.get(n,e&ye.Optional?null:void 0,e)}function v(n,e=ye.Default){return(A_()||gM)(_t(n),e)}function y(n,e=ye.Default){return v(n,$c(e))}function $c(n){return typeof n>"u"||typeof n=="number"?n:0|(n.optional&&8)|(n.host&&1)|(n.self&&2)|(n.skipSelf&&4)}function lh(n){let e=[];for(let r=0;r ");else if(typeof e=="object"){let o=[];for(let s in e)if(e.hasOwnProperty(s)){let a=e[s];o.push(s+":"+(typeof a=="string"?JSON.stringify(a):Ot(a)))}i="{".concat(o.join(", "),"}")}return"".concat(r).concat(t?"("+t+")":"","[").concat(i,"]: ").concat(n.replace(hM,"\n "))}var Wc=O_(D_("Optional"),8);var om=O_(D_("SkipSelf"),4);function Lr(n,e){let r=n.hasOwnProperty(mc);return r?n[mc]:null}function yM(n,e,r){if(n.length!==e.length)return!1;for(let t=0;tArray.isArray(r)?sm(r,e):e(r))}function R_(n,e,r){e>=n.length?n.push(r):n.splice(e,0,r)}function gc(n,e){return e>=n.length-1?n.pop():n.splice(e,1)[0]}function wM(n,e){let r=[];for(let t=0;te;){let o=i-2;n[i]=n[o],i--}n[e]=r,n[e+1]=t}}function Gc(n,e,r){let t=Ks(n,e);return t>=0?n[t|1]=r:(t=~t,CM(n,t,e,r)),t}function qf(n,e){let r=Ks(n,e);if(r>=0)return n[r|1]}function Ks(n,e){return DM(n,e,1)}function DM(n,e,r){let t=0,i=n.length>>r;for(;i!==t;){let o=t+(i-t>>1),s=n[o<e?i=o:t=o+1}return~(i<e){s=o-1;break}}}for(;o-1){let o;for(;++io?u="":u=i[d+1].toLowerCase(),t&2&&c!==u){if(wn(t))return!1;s=!0}}}}return wn(t)||s}function wn(n){return(n&1)===0}function AM(n,e,r,t){if(e===null)return-1;let i=0;if(t||!r){let o=!1;for(;i-1)for(r++;r0?'="'+a+'"':"")+"]"}else t&8?i+="."+s:t&4&&(i+=" "+s);else i!==""&&!wn(s)&&(e+=Bv(o,i),i=""),t=s,o=o||!wn(t);r++}return i!==""&&(e+=Bv(o,i)),e}function FM(n){return n.map(PM).join(",")}function LM(n){let e=[],r=[],t=1,i=2;for(;t{var i;let e=H_(n),r=_e(D({},e),{decls:n.decls,vars:n.vars,template:n.template,consts:n.consts||null,ngContentSelectors:n.ngContentSelectors,onPush:n.changeDetection===F_.OnPush,directiveDefs:null,pipeDefs:null,dependencies:e.standalone&&n.dependencies||null,getStandaloneInjector:null,signals:(i=n.signals)!=null?i:!1,data:n.data||{},encapsulation:n.encapsulation||Wn.Emulated,styles:n.styles||Lt,_:null,schemas:n.schemas||null,tView:null,id:""});$_(r);let t=n.dependencies;return r.directiveDefs=zv(t,!1),r.pipeDefs=zv(t,!0),r.id=BM(r),r})}function jM(n){return Yi(n)||cm(n)}function VM(n){return n!==null}function V(n){return Qs(()=>({type:n.type,bootstrap:n.bootstrap||Lt,declarations:n.declarations||Lt,imports:n.imports||Lt,exports:n.exports||Lt,transitiveCompileScopes:null,schemas:n.schemas||null,id:n.id||null}))}function Uv(n,e){var t;if(n==null)return gi;let r={};for(let i in n)if(n.hasOwnProperty(i)){let o=n[i],s,a,l=Po.None;Array.isArray(o)?(l=o[0],s=o[1],a=(t=o[2])!=null?t:s):(s=o,a=o),e?(r[s]=l!==Po.None?[i,l]:i,e[s]=a):r[s]=i}return r}function N(n){return Qs(()=>{let e=H_(n);return $_(e),e})}function lm(n){return{type:n.type,name:n.name,factory:null,pure:n.pure!==!1,standalone:n.standalone===!0,onDestroy:n.type.prototype.ngOnDestroy||null}}function Yi(n){return n[oM]||null}function cm(n){return n[sM]||null}function B_(n){return n[aM]||null}function U_(n){let e=Yi(n)||cm(n)||B_(n);return e!==null?e.standalone:!1}function z_(n,e){let r=n[lM]||null;if(!r&&e===!0)throw new Error("Type ".concat(Ot(n)," does not have '\u0275mod' property."));return r}function H_(n){let e={};return{type:n.type,providersResolver:null,factory:null,hostBindings:n.hostBindings||null,hostVars:n.hostVars||0,hostAttrs:n.hostAttrs||null,contentQueries:n.contentQueries||null,declaredInputs:e,inputTransforms:null,inputConfig:n.inputs||gi,exportAs:n.exportAs||null,standalone:n.standalone===!0,signals:n.signals===!0,selectors:n.selectors||Lt,viewQuery:n.viewQuery||null,features:n.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Uv(n.inputs,e),outputs:Uv(n.outputs),debugInfo:null}}function $_(n){var e;(e=n.features)==null||e.forEach(r=>r(n))}function zv(n,e){if(!n)return null;let r=e?B_:jM;return()=>(typeof n=="function"?n():n).map(t=>r(t)).filter(VM)}function BM(n){let e=0,r=[n.selectors,n.ngContentSelectors,n.hostVars,n.hostAttrs,n.consts,n.vars,n.decls,n.encapsulation,n.standalone,n.signals,n.exportAs,JSON.stringify(n.inputs),JSON.stringify(n.outputs),Object.getOwnPropertyNames(n.type.prototype),!!n.contentQueries,!!n.viewQuery].join("|");for(let i of r)e=Math.imul(31,e)+i.charCodeAt(0)<<0;return e+=2147483648,"c"+e}function qc(n){return{\u0275providers:n}}function UM(...n){return{\u0275providers:W_(!0,n),\u0275fromNgModule:!0}}function W_(n,...e){let r=[],t=new Set,i,o=s=>{r.push(s)};return sm(e,s=>{let a=s;dh(a,o,[],t)&&(i||(i=[]),i.push(a))}),i!==void 0&&G_(i,o),r}function G_(n,e){for(let r=0;r{e(o,t)})}}function dh(n,e,r,t){if(n=_t(n),!n)return!1;let i=null,o=Pv(n),s=!o&&Yi(n);if(!o&&!s){let l=n.ngModule;if(o=Pv(l),o)i=l;else return!1}else{if(s&&!s.standalone)return!1;i=n}let a=t.has(i);if(s){if(a)return!1;if(t.add(i),s.dependencies){let l=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let c of l)dh(c,e,r,t)}}else if(o){if(o.imports!=null&&!a){t.add(i);let c;try{sm(o.imports,d=>{dh(d,e,r,t)&&(c||(c=[]),c.push(d))})}finally{}c!==void 0&&G_(c,e)}if(!a){let c=Lr(i)||(()=>new i);e({provide:i,useFactory:c,deps:Lt},i),e({provide:P_,useValue:i,multi:!0},i),e({provide:No,useValue:()=>v(i),multi:!0},i)}let l=o.providers;if(l!=null&&!a){let c=n;dm(l,d=>{e(d,c)})}}else return!1;return i!==n&&n.providers!==void 0}function dm(n,e){for(let r of n)T_(r)&&(r=r.\u0275providers),Array.isArray(r)?dm(r,e):e(r)}var zM=Be({provide:String,useValue:Be});function q_(n){return n!==null&&typeof n=="object"&&zM in n}function HM(n){return!!(n&&n.useExisting)}function $M(n){return!!(n&&n.useFactory)}function Fo(n){return typeof n=="function"}function WM(n){return!!n.useClass}var Yc=new E(""),lc={},GM={},Yf;function um(){return Yf===void 0&&(Yf=new bc),Yf}var mt=class{},$s=class extends mt{get destroyed(){return this._destroyed}constructor(e,r,t,i){super(),this.parent=r,this.source=t,this.scopes=i,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,fh(e,s=>this.processProvider(s)),this.records.set(N_,Mo(void 0,this)),i.has("environment")&&this.records.set(mt,Mo(void 0,this));let o=this.records.get(Yc);o!=null&&typeof o.value=="string"&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(P_,Lt,ye.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;let e=Ee(null);try{for(let t of this._ngOnDestroyHooks)t.ngOnDestroy();let r=this._onDestroyHooks;this._onDestroyHooks=[];for(let t of r)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),Ee(e)}}onDestroy(e){return this.assertNotDestroyed(),this._onDestroyHooks.push(e),()=>this.removeOnDestroy(e)}runInContext(e){this.assertNotDestroyed();let r=Wi(this),t=Ft(void 0),i;try{return e()}finally{Wi(r),Ft(t)}}get(e,r=zs,t=ye.Default){if(this.assertNotDestroyed(),e.hasOwnProperty(Lv))return e[Lv](this);t=$c(t);let i,o=Wi(this),s=Ft(void 0);try{if(!(t&ye.SkipSelf)){let l=this.records.get(e);if(l===void 0){let c=KM(e)&&Hc(e);c&&this.injectableDefInScope(c)?l=Mo(uh(e),lc):l=null,this.records.set(e,l)}if(l!=null)return this.hydrate(e,l)}let a=t&ye.Self?um():this.parent;return r=t&ye.Optional&&r===zs?null:r,a.get(e,r)}catch(a){if(a.name==="NullInjectorError"){if((a[pc]=a[pc]||[]).unshift(Ot(e)),o)throw a;return vM(a,e,"R3InjectorError",this.source)}else throw a}finally{Ft(s),Wi(o)}}resolveInjectorInitializers(){let e=Ee(null),r=Wi(this),t=Ft(void 0),i;try{let o=this.get(No,Lt,ye.Self);for(let s of o)s()}finally{Wi(r),Ft(t),Ee(e)}}toString(){let e=[],r=this.records;for(let t of r.keys())e.push(Ot(t));return"R3Injector[".concat(e.join(", "),"]")}assertNotDestroyed(){if(this._destroyed)throw new T(205,!1)}processProvider(e){e=_t(e);let r=Fo(e)?e:_t(e&&e.provide),t=YM(e);if(!Fo(e)&&e.multi===!0){let i=this.records.get(r);i||(i=Mo(void 0,lc,!0),i.factory=()=>lh(i.multi),this.records.set(r,i)),r=e,i.multi.push(e)}this.records.set(r,t)}hydrate(e,r){let t=Ee(null);try{return r.value===lc&&(r.value=GM,r.value=r.factory()),typeof r.value=="object"&&r.value&&QM(r.value)&&this._ngOnDestroyHooks.add(r.value),r.value}finally{Ee(t)}}injectableDefInScope(e){if(!e.providedIn)return!1;let r=_t(e.providedIn);return typeof r=="string"?r==="any"||this.scopes.has(r):this.injectorDefTypes.has(r)}removeOnDestroy(e){let r=this._onDestroyHooks.indexOf(e);r!==-1&&this._onDestroyHooks.splice(r,1)}};function uh(n){let e=Hc(n),r=e!==null?e.factory:Lr(n);if(r!==null)return r;if(n instanceof E)throw new T(204,!1);if(n instanceof Function)return qM(n);throw new T(204,!1)}function qM(n){if(n.length>0)throw new T(204,!1);let r=iM(n);return r!==null?()=>r.factory(n):()=>new n}function YM(n){if(q_(n))return Mo(void 0,n.useValue);{let e=Y_(n);return Mo(e,lc)}}function Y_(n,e,r){let t;if(Fo(n)){let i=_t(n);return Lr(i)||uh(i)}else if(q_(n))t=()=>_t(n.useValue);else if($M(n))t=()=>n.useFactory(...lh(n.deps||[]));else if(HM(n))t=()=>v(_t(n.useExisting));else{let i=_t(n&&(n.useClass||n.provide));if(ZM(n))t=()=>new i(...lh(n.deps));else return Lr(i)||uh(i)}return t}function Mo(n,e,r=!1){return{factory:n,value:e,multi:r?[]:void 0}}function ZM(n){return!!n.deps}function QM(n){return n!==null&&typeof n=="object"&&typeof n.ngOnDestroy=="function"}function KM(n){return typeof n=="function"||typeof n=="object"&&n instanceof E}function fh(n,e){for(let r of n)Array.isArray(r)?fh(r,e):r&&T_(r)?fh(r.\u0275providers,e):e(r)}function Vt(n,e){n instanceof $s&&n.assertNotDestroyed();let r,t=Wi(n),i=Ft(void 0);try{return e()}finally{Wi(t),Ft(i)}}function Z_(){return A_()!==void 0||pM()!=null}function fm(n){if(!Z_())throw new T(-203,!1)}function XM(n){let e=Rt.ng;if(e&&e.\u0275compilerFacade)return e.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}function JM(n){return typeof n=="function"}var yi=0,de=1,ee=2,Ct=3,Dn=4,Bt=5,Ws=6,ko=7,nn=8,Lo=9,Gn=10,Qe=11,Gs=12,Hv=13,Ho=14,rn=15,jr=16,So=17,En=18,Zc=19,Q_=20,Gi=21,Oo=22,tn=23,Dt=25,K_=1;var Vr=7,vc=8,jo=9,jt=10,_c=function(n){return n[n.None=0]="None",n[n.HasTransplantedViews=2]="HasTransplantedViews",n}(_c||{});function qi(n){return Array.isArray(n)&&typeof n[K_]=="object"}function xi(n){return Array.isArray(n)&&n[K_]===!0}function hm(n){return(n.flags&4)!==0}function Qc(n){return n.componentOffset>-1}function Kc(n){return(n.flags&1)===1}function Zi(n){return!!n.template}function hh(n){return(n[ee]&512)!==0}var mh=class{constructor(e,r,t){this.previousValue=e,this.currentValue=r,this.firstChange=t}isFirstChange(){return this.firstChange}};function X_(n,e,r,t){e!==null?e.applyValueToInputSignal(e,t):n[r]=t}function We(){return J_}function J_(n){return n.type.prototype.ngOnChanges&&(n.setInput=tS),eS}We.ngInherit=!0;function eS(){let n=ty(this),e=n==null?void 0:n.current;if(e){let r=n.previous;if(r===gi)n.previous=e;else for(let t in e)r[t]=e[t];n.current=null,this.ngOnChanges(e)}}function tS(n,e,r,t,i){let o=this.declaredInputs[t],s=ty(n)||nS(n,{previous:gi,current:null}),a=s.current||(s.current={}),l=s.previous,c=l[o];a[o]=new mh(c&&c.currentValue,r,l===gi),X_(n,e,i,r)}var ey="__ngSimpleChanges__";function ty(n){return n[ey]||null}function nS(n,e){return n[ey]=e}var $v=null;var zn=function(n,e,r){$v!=null&&$v(n,e,r)},ny="svg",iS="math";function qn(n){for(;Array.isArray(n);)n=n[yi];return n}function iy(n,e){return qn(e[n])}function sn(n,e){return qn(e[n.index])}function mm(n,e){return n.data[e]}function ry(n,e){return n[e]}function Ji(n,e){let r=e[n];return qi(r)?r:r[yi]}function rS(n){return(n[ee]&4)===4}function pm(n){return(n[ee]&128)===128}function oS(n){return xi(n[Ct])}function Vo(n,e){return e==null?null:n[e]}function oy(n){n[So]=0}function sy(n){n[ee]&1024||(n[ee]|=1024,pm(n)&&Xc(n))}function sS(n,e){for(;n>0;)e=e[Ho],n--;return e}function qs(n){var e;return!!(n[ee]&9216||(e=n[tn])!=null&&e.dirty)}function ph(n){var e;(e=n[Gn].changeDetectionScheduler)==null||e.notify(7),n[ee]&64&&(n[ee]|=1024),qs(n)&&Xc(n)}function Xc(n){var r;(r=n[Gn].changeDetectionScheduler)==null||r.notify(0);let e=Br(n);for(;e!==null&&!(e[ee]&8192||(e[ee]|=8192,!pm(e)));)e=Br(e)}function ay(n,e){if((n[ee]&256)===256)throw new T(911,!1);n[Gi]===null&&(n[Gi]=[]),n[Gi].push(e)}function aS(n,e){if(n[Gi]===null)return;let r=n[Gi].indexOf(e);r!==-1&&n[Gi].splice(r,1)}function Br(n){let e=n[Ct];return xi(e)?e[Ct]:e}var he={lFrame:vy(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var ly=!1;function lS(){return he.lFrame.elementDepthCount}function cS(){he.lFrame.elementDepthCount++}function dS(){he.lFrame.elementDepthCount--}function cy(){return he.bindingsEnabled}function dy(){return he.skipHydrationRootTNode!==null}function uS(n){return he.skipHydrationRootTNode===n}function fS(){he.skipHydrationRootTNode=null}function me(){return he.lFrame.lView}function Xe(){return he.lFrame.tView}function te(n){return he.lFrame.contextLView=n,n[nn]}function ne(n){return he.lFrame.contextLView=null,n}function yt(){let n=uy();for(;n!==null&&n.type===64;)n=n.parent;return n}function uy(){return he.lFrame.currentTNode}function hS(){let n=he.lFrame,e=n.currentTNode;return n.isParent?e:e.parent}function Gr(n,e){let r=he.lFrame;r.currentTNode=n,r.isParent=e}function gm(){return he.lFrame.isParent}function bm(){he.lFrame.isParent=!1}function mS(){return he.lFrame.contextLView}function fy(){return ly}function Wv(n){ly=n}function hy(){let n=he.lFrame,e=n.bindingRootIndex;return e===-1&&(e=n.bindingRootIndex=n.tView.bindingStartIndex),e}function my(){return he.lFrame.bindingIndex}function pS(n){return he.lFrame.bindingIndex=n}function $o(){return he.lFrame.bindingIndex++}function Jc(n){let e=he.lFrame,r=e.bindingIndex;return e.bindingIndex=e.bindingIndex+n,r}function gS(){return he.lFrame.inI18n}function bS(n,e){let r=he.lFrame;r.bindingIndex=r.bindingRootIndex=n,gh(e)}function vS(){return he.lFrame.currentDirectiveIndex}function gh(n){he.lFrame.currentDirectiveIndex=n}function _S(n){let e=he.lFrame.currentDirectiveIndex;return e===-1?null:n[e]}function py(){return he.lFrame.currentQueryIndex}function vm(n){he.lFrame.currentQueryIndex=n}function yS(n){let e=n[de];return e.type===2?e.declTNode:e.type===1?n[Bt]:null}function gy(n,e,r){if(r&ye.SkipSelf){let i=e,o=n;for(;i=i.parent,i===null&&!(r&ye.Host);)if(i=yS(o),i===null||(o=o[Ho],i.type&10))break;if(i===null)return!1;e=i,n=o}let t=he.lFrame=by();return t.currentTNode=e,t.lView=n,!0}function _m(n){let e=by(),r=n[de];he.lFrame=e,e.currentTNode=r.firstChild,e.lView=n,e.tView=r,e.contextLView=n,e.bindingIndex=r.bindingStartIndex,e.inI18n=!1}function by(){let n=he.lFrame,e=n===null?null:n.child;return e===null?vy(n):e}function vy(n){let e={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:n,child:null,inI18n:!1};return n!==null&&(n.child=e),e}function _y(){let n=he.lFrame;return he.lFrame=n.parent,n.currentTNode=null,n.lView=null,n}var yy=_y;function ym(){let n=_y();n.isParent=!0,n.tView=null,n.selectedIndex=-1,n.contextLView=null,n.elementDepthCount=0,n.currentDirectiveIndex=-1,n.currentNamespace=null,n.bindingRootIndex=-1,n.bindingIndex=-1,n.currentQueryIndex=0}function xS(n){return(he.lFrame.contextLView=sS(n,he.lFrame.contextLView))[nn]}function wi(){return he.lFrame.selectedIndex}function Ur(n){he.lFrame.selectedIndex=n}function Xs(){let n=he.lFrame;return mm(n.tView,n.selectedIndex)}function Zn(){he.lFrame.currentNamespace=ny}function ed(){wS()}function wS(){he.lFrame.currentNamespace=null}function CS(){return he.lFrame.currentNamespace}var xy=!0;function td(){return xy}function nd(n){xy=n}function DS(n,e,r){var s,a,l,c,d;let{ngOnChanges:t,ngOnInit:i,ngDoCheck:o}=e.type.prototype;if(t){let u=J_(e);((s=r.preOrderHooks)!=null?s:r.preOrderHooks=[]).push(n,u),((a=r.preOrderCheckHooks)!=null?a:r.preOrderCheckHooks=[]).push(n,u)}i&&((l=r.preOrderHooks)!=null?l:r.preOrderHooks=[]).push(0-n,i),o&&(((c=r.preOrderHooks)!=null?c:r.preOrderHooks=[]).push(n,o),((d=r.preOrderCheckHooks)!=null?d:r.preOrderCheckHooks=[]).push(n,o))}function id(n,e){var r,t,i,o,s,a,l;for(let c=e.directiveStart,d=e.directiveEnd;c=t)break}else e[l]<0&&(n[So]+=65536),(a>14>16&&(n[ee]&3)===e&&(n[ee]+=16384,Gv(a,o)):Gv(a,o)}var Ro=-1,zr=class{constructor(e,r,t){this.factory=e,this.resolving=!1,this.canSeeViewProviders=r,this.injectImpl=t}};function IS(n){return n instanceof zr}function MS(n){return(n.flags&8)!==0}function SS(n){return(n.flags&16)!==0}function Cy(n){return n!==Ro}function yc(n){return n&32767}function TS(n){return n>>16}function xc(n,e){let r=TS(n),t=e;for(;r>0;)t=t[Ho],r--;return t}var bh=!0;function wc(n){let e=bh;return bh=n,e}var AS=256,Dy=AS-1,Ey=5,kS=0,Hn={};function OS(n,e,r){let t;typeof r=="string"?t=r.charCodeAt(0)||0:r.hasOwnProperty(Bs)&&(t=r[Bs]),t==null&&(t=r[Bs]=kS++);let i=t&Dy,o=1<>Ey)]|=o}function Cc(n,e){let r=Iy(n,e);if(r!==-1)return r;let t=e[de];t.firstCreatePass&&(n.injectorIndex=e.length,Qf(t.data,n),Qf(e,null),Qf(t.blueprint,null));let i=xm(n,e),o=n.injectorIndex;if(Cy(i)){let s=yc(i),a=xc(i,e),l=a[de].data;for(let c=0;c<8;c++)e[o+c]=a[s+c]|l[s+c]}return e[o+8]=i,o}function Qf(n,e){n.push(0,0,0,0,0,0,0,0,e)}function Iy(n,e){return n.injectorIndex===-1||n.parent&&n.parent.injectorIndex===n.injectorIndex||e[n.injectorIndex+8]===null?-1:n.injectorIndex}function xm(n,e){if(n.parent&&n.parent.injectorIndex!==-1)return n.parent.injectorIndex;let r=0,t=null,i=e;for(;i!==null;){if(t=ky(i),t===null)return Ro;if(r++,i=i[Ho],t.injectorIndex!==-1)return t.injectorIndex|r<<16}return Ro}function vh(n,e,r){OS(n,e,r)}function RS(n,e){if(e==="class")return n.classes;if(e==="style")return n.styles;let r=n.attrs;if(r){let t=r.length,i=0;for(;i>20,u=t?a:a+d,f=i?a+d:c;for(let m=u;m=l&&g.type===r)return m}if(i){let m=s[l];if(m&&Zi(m)&&m.type===r)return l}return null}function Hr(n,e,r,t){let i=n[r],o=e.data;if(IS(i)){let s=i;s.resolving&&dM(cM(o[r]));let a=wc(s.canSeeViewProviders);s.resolving=!0;let l,c=s.injectImpl?Ft(s.injectImpl):null,d=gy(n,t,ye.Default);try{i=n[r]=s.factory(void 0,o,n,t),e.firstCreatePass&&r>=t.directiveStart&&DS(r,o[r],e)}finally{c!==null&&Ft(c),wc(a),s.resolving=!1,yy()}}return i}function PS(n){if(typeof n=="string")return n.charCodeAt(0)||0;let e=n.hasOwnProperty(Bs)?n[Bs]:void 0;return typeof e=="number"?e>=0?e&Dy:FS:e}function qv(n,e,r){let t=1<>Ey)]&t)}function Yv(n,e){return!(n&ye.Self)&&!(n&ye.Host&&e)}var Pr=class{constructor(e,r){this._tNode=e,this._lView=r}get(e,r,t){return Ty(this._tNode,this._lView,e,$c(t),r)}};function FS(){return new Pr(yt(),me())}function an(n){return Qs(()=>{let e=n.prototype.constructor,r=e[mc]||_h(e),t=Object.prototype,i=Object.getPrototypeOf(n.prototype).constructor;for(;i&&i!==t;){let o=i[mc]||_h(i);if(o&&o!==r)return o;i=Object.getPrototypeOf(i)}return o=>new o})}function _h(n){return E_(n)?()=>{let e=_h(_t(n));return e&&e()}:Lr(n)}function LS(n,e,r,t,i){let o=n,s=e;for(;o!==null&&s!==null&&s[ee]&2048&&!(s[ee]&512);){let a=Ay(o,s,r,t|ye.Self,Hn);if(a!==Hn)return a;let l=o.parent;if(!l){let c=s[Q_];if(c){let d=c.get(r,Hn,t);if(d!==Hn)return d}l=ky(s),s=s[Ho]}o=l}return i}function ky(n){let e=n[de],r=e.type;return r===2?e.declTNode:r===1?n[Bt]:null}function Qn(n){return RS(yt(),n)}function Zv(n,e=null,r=null,t){let i=Oy(n,e,r,t);return i.resolveInjectorInitializers(),i}function Oy(n,e=null,r=null,t,i=new Set){let o=[r||Lt,UM(n)];return t=t||(typeof n=="object"?void 0:Ot(n)),new $s(o,e||um(),t||null,i)}var Rr=class Rr{static create(e,r){var t;if(Array.isArray(e))return Zv({name:""},r,e,"");{let i=(t=e.name)!=null?t:"";return Zv({name:i},e.parent,e.providers,i)}}};Rr.THROW_IF_NOT_FOUND=zs,Rr.NULL=new bc,Rr.\u0275prov=I({token:Rr,providedIn:"any",factory:()=>v(N_)}),Rr.__NG_ELEMENT_ID__=-1;var Ce=Rr;var jS=new E("");jS.__NG_ELEMENT_ID__=n=>{let e=yt();if(e===null)throw new T(204,!1);if(e.type&2)return e.value;if(n&ye.Optional)return null;throw new T(204,!1)};var VS="ngOriginalError";function Kf(n){return n[VS]}var In=class{constructor(){this._console=console}handleError(e){let r=this._findOriginalError(e);this._console.error("ERROR",e),r&&this._console.error("ORIGINAL ERROR",r)}_findOriginalError(e){let r=e&&Kf(e);for(;r&&Kf(r);)r=Kf(r);return r||null}},Ry=new E("",{providedIn:"root",factory:()=>y(In).handleError.bind(void 0)}),Js=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=BS,e.__NG_ENV_ID__=t=>t;let n=e;return n})(),yh=class extends Js{constructor(e){super(),this._lView=e}onDestroy(e){return ay(this._lView,e),()=>aS(this._lView,e)}};function BS(){return new yh(me())}function US(){return Wo(yt(),me())}function Wo(n,e){return new P(sn(n,e))}var P=(()=>{let e=class e{constructor(t){this.nativeElement=t}};e.__NG_ELEMENT_ID__=US;let n=e;return n})();function zS(n){return n instanceof P?n.nativeElement:n}var Kn=(()=>{let e=class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new dt(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let t=this.taskId++;return this.pendingTasks.add(t),t}remove(t){this.pendingTasks.delete(t),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}};e.\u0275prov=I({token:e,providedIn:"root",factory:()=>new e});let n=e;return n})();var xh=class extends A{constructor(e=!1){var r,t;super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=e,Z_()&&(this.destroyRef=(r=y(Js,{optional:!0}))!=null?r:void 0,this.pendingTasks=(t=y(Kn,{optional:!0}))!=null?t:void 0)}emit(e){let r=Ee(null);try{super.next(e)}finally{Ee(r)}}subscribe(e,r,t){var l,c,d;let i=e,o=r||(()=>null),s=t;if(e&&typeof e=="object"){let u=e;i=(l=u.next)==null?void 0:l.bind(u),o=(c=u.error)==null?void 0:c.bind(u),s=(d=u.complete)==null?void 0:d.bind(u)}this.__isAsync&&(o=this.wrapInTimeout(o),i&&(i=this.wrapInTimeout(i)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:i,error:o,complete:s});return e instanceof fe&&e.add(a),a}wrapInTimeout(e){return r=>{var i;let t=(i=this.pendingTasks)==null?void 0:i.add();setTimeout(()=>{var o;e(r),t!==void 0&&((o=this.pendingTasks)==null||o.remove(t))})}}},$=xh;function HS(){return this._results[Symbol.iterator]()}var Yn=class n{get changes(){var e;return(e=this._changes)!=null?e:this._changes=new $}constructor(e=!1){this._emitDistinctChangesOnly=e,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;let r=n.prototype;r[Symbol.iterator]||(r[Symbol.iterator]=HS)}get(e){return this._results[e]}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,r){return this._results.reduce(e,r)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e,r){this.dirty=!1;let t=xM(e);(this._changesDetected=!yM(this._results,t,r))&&(this._results=t,this.length=t.length,this.last=t[this.length-1],this.first=t[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}onDirty(e){this._onDirty=e}setDirty(){var e;this.dirty=!0,(e=this._onDirty)==null||e.call(this)}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}};function Ny(n){return(n.flags&128)===128}var Py=new Map,$S=0;function WS(){return $S++}function GS(n){Py.set(n[Zc],n)}function qS(n){Py.delete(n[Zc])}var Qv="__ngContext__";function Qi(n,e){qi(e)?(n[Qv]=e[Zc],GS(e)):n[Qv]=e}function Fy(n){return jy(n[Gs])}function Ly(n){return jy(n[Dn])}function jy(n){for(;n!==null&&!xi(n);)n=n[Dn];return n}var wh;function Vy(n){wh=n}function By(){if(wh!==void 0)return wh;if(typeof document<"u")return document;throw new T(210,!1)}var Go=new E("",{providedIn:"root",factory:()=>YS}),YS="ng",wm=new E(""),ln=new E("",{providedIn:"platform",factory:()=>"unknown"});var Ge=new E(""),ea=new E("",{providedIn:"root",factory:()=>{var n,e;return((e=(n=By().body)==null?void 0:n.querySelector("[ngCspNonce]"))==null?void 0:e.getAttribute("ngCspNonce"))||null}});var ZS="h",QS="b";var KS=()=>null;function Cm(n,e,r=!1){return KS(n,e,r)}var Uy=!1,XS=new E("",{providedIn:"root",factory:()=>Uy});var nc;function JS(){if(nc===void 0&&(nc=null,Rt.trustedTypes))try{nc=Rt.trustedTypes.createPolicy("angular",{createHTML:n=>n,createScript:n=>n,createScriptURL:n=>n})}catch{}return nc}function rd(n){var e;return((e=JS())==null?void 0:e.createHTML(n))||n}var ic;function zy(){if(ic===void 0&&(ic=null,Rt.trustedTypes))try{ic=Rt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:n=>n,createScript:n=>n,createScriptURL:n=>n})}catch{}return ic}function Kv(n){var e;return((e=zy())==null?void 0:e.createHTML(n))||n}function Xv(n){var e;return((e=zy())==null?void 0:e.createScriptURL(n))||n}var bi=class{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return"SafeValue must use [property]=binding: ".concat(this.changingThisBreaksApplicationSecurity)+" (see ".concat(C_,")")}},Ch=class extends bi{getTypeName(){return"HTML"}},Dh=class extends bi{getTypeName(){return"Style"}},Eh=class extends bi{getTypeName(){return"Script"}},Ih=class extends bi{getTypeName(){return"URL"}},Mh=class extends bi{getTypeName(){return"ResourceURL"}};function cn(n){return n instanceof bi?n.changingThisBreaksApplicationSecurity:n}function Ci(n,e){let r=eT(n);if(r!=null&&r!==e){if(r==="ResourceURL"&&e==="URL")return!0;throw new Error("Required a safe ".concat(e,", got a ").concat(r," (see ").concat(C_,")"))}return r===e}function eT(n){return n instanceof bi&&n.getTypeName()||null}function Hy(n){return new Ch(n)}function $y(n){return new Dh(n)}function Wy(n){return new Eh(n)}function Gy(n){return new Ih(n)}function qy(n){return new Mh(n)}function tT(n){let e=new Th(n);return nT()?new Sh(e):e}var Sh=class{constructor(e){this.inertDocumentHelper=e}getInertBodyElement(e){e=""+e;try{let r=new window.DOMParser().parseFromString(rd(e),"text/html").body;return r===null?this.inertDocumentHelper.getInertBodyElement(e):(r.removeChild(r.firstChild),r)}catch{return null}}},Th=class{constructor(e){this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(e){let r=this.inertDocument.createElement("template");return r.innerHTML=rd(e),r}};function nT(){try{return!!new window.DOMParser().parseFromString(rd(""),"text/html")}catch{return!1}}var iT=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function od(n){return n=String(n),n.match(iT)?n:"unsafe:"+n}function Di(n){let e={};for(let r of n.split(","))e[r]=!0;return e}function ta(...n){let e={};for(let r of n)for(let t in r)r.hasOwnProperty(t)&&(e[t]=!0);return e}var Yy=Di("area,br,col,hr,img,wbr"),Zy=Di("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Qy=Di("rp,rt"),rT=ta(Qy,Zy),oT=ta(Zy,Di("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),sT=ta(Qy,Di("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),Jv=ta(Yy,oT,sT,rT),Ky=Di("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),aT=Di("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),lT=Di("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext"),cT=ta(Ky,aT,lT),dT=Di("script,style,template"),Ah=class{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(e){let r=e.firstChild,t=!0,i=[];for(;r;){if(r.nodeType===Node.ELEMENT_NODE?t=this.startElement(r):r.nodeType===Node.TEXT_NODE?this.chars(r.nodeValue):this.sanitizedSomething=!0,t&&r.firstChild){i.push(r),r=hT(r);continue}for(;r;){r.nodeType===Node.ELEMENT_NODE&&this.endElement(r);let o=fT(r);if(o){r=o;break}r=i.pop()}}return this.buf.join("")}startElement(e){let r=e_(e).toLowerCase();if(!Jv.hasOwnProperty(r))return this.sanitizedSomething=!0,!dT.hasOwnProperty(r);this.buf.push("<"),this.buf.push(r);let t=e.attributes;for(let i=0;i"),!0}endElement(e){let r=e_(e).toLowerCase();Jv.hasOwnProperty(r)&&!Yy.hasOwnProperty(r)&&(this.buf.push(""))}chars(e){this.buf.push(t_(e))}};function uT(n,e){return(n.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function fT(n){let e=n.nextSibling;if(e&&n!==e.previousSibling)throw Xy(e);return e}function hT(n){let e=n.firstChild;if(e&&uT(n,e))throw Xy(e);return e}function e_(n){let e=n.nodeName;return typeof e=="string"?e:"FORM"}function Xy(n){return new Error("Failed to sanitize html because the element is clobbered: ".concat(n.outerHTML))}var mT=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,pT=/([^\#-~ |!])/g;function t_(n){return n.replace(/&/g,"&").replace(mT,function(e){let r=e.charCodeAt(0),t=e.charCodeAt(1);return"&#"+((r-55296)*1024+(t-56320)+65536)+";"}).replace(pT,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(//g,">")}var rc;function Dm(n,e){let r=null;try{rc=rc||tT(n);let t=e?String(e):"";r=rc.getInertBodyElement(t);let i=5,o=t;do{if(i===0)throw new Error("Failed to sanitize html because the input is unstable");i--,t=o,o=r.innerHTML,r=rc.getInertBodyElement(t)}while(t!==o);let a=new Ah().sanitizeChildren(n_(r)||r);return rd(a)}finally{if(r){let t=n_(r)||r;for(;t.firstChild;)t.removeChild(t.firstChild)}}}function n_(n){return"content"in n&&gT(n)?n.content:null}function gT(n){return n.nodeType===Node.ELEMENT_NODE&&n.nodeName==="TEMPLATE"}var Sn=function(n){return n[n.NONE=0]="NONE",n[n.HTML=1]="HTML",n[n.STYLE=2]="STYLE",n[n.SCRIPT=3]="SCRIPT",n[n.URL=4]="URL",n[n.RESOURCE_URL=5]="RESOURCE_URL",n}(Sn||{});function Xn(n){let e=Em();return e?Kv(e.sanitize(Sn.HTML,n)||""):Ci(n,"HTML")?Kv(cn(n)):Dm(By(),$n(n))}function ft(n){let e=Em();return e?e.sanitize(Sn.URL,n)||"":Ci(n,"URL")?cn(n):od($n(n))}function bT(n){let e=Em();if(e)return Xv(e.sanitize(Sn.RESOURCE_URL,n)||"");if(Ci(n,"ResourceURL"))return Xv(cn(n));throw new T(904,!1)}function vT(n,e){return e==="src"&&(n==="embed"||n==="frame"||n==="iframe"||n==="media"||n==="script")||e==="href"&&(n==="base"||n==="link")?bT:ft}function Jy(n,e,r){return vT(e,r)(n)}function Em(){let n=me();return n&&n[Gn].sanitizer}var _T=/^>|^->||--!>|)/g,xT="\u200B$1\u200B";function wT(n){return n.replace(_T,e=>e.replace(yT,xT))}function e0(n){return n.ownerDocument}function t0(n){return n instanceof Function?n():n}function n0(n){return(n!=null?n:y(Ce)).get(ln)==="browser"}var vi=function(n){return n[n.Important=1]="Important",n[n.DashCase=2]="DashCase",n}(vi||{}),CT;function Im(n,e){return CT(n,e)}function To(n,e,r,t,i){if(t!=null){let o,s=!1;xi(t)?o=t:qi(t)&&(s=!0,t=t[yi]);let a=qn(t);n===0&&r!==null?i==null?a0(e,r,a):Ec(e,r,a,i||null,!0):n===1&&r!==null?Ec(e,r,a,i||null,!0):n===2?jT(e,a,s):n===3&&e.destroyNode(a),o!=null&&BT(e,n,o,r,i)}}function DT(n,e){return n.createText(e)}function ET(n,e,r){n.setValue(e,r)}function IT(n,e){return n.createComment(wT(e))}function i0(n,e,r){return n.createElement(e,r)}function MT(n,e){r0(n,e),e[yi]=null,e[Bt]=null}function ST(n,e,r,t,i,o){t[yi]=i,t[Bt]=e,ad(n,t,r,1,i,o)}function r0(n,e){var r;(r=e[Gn].changeDetectionScheduler)==null||r.notify(8),ad(n,e,e[Qe],2,null,null)}function TT(n){let e=n[Gs];if(!e)return Xf(n[de],n);for(;e;){let r=null;if(qi(e))r=e[Gs];else{let t=e[jt];t&&(r=t)}if(!r){for(;e&&!e[Dn]&&e!==n;)qi(e)&&Xf(e[de],e),e=e[Ct];e===null&&(e=n),qi(e)&&Xf(e[de],e),r=e&&e[Dn]}e=r}}function AT(n,e,r,t){let i=jt+t,o=r.length;t>0&&(r[i-1][Dn]=e),t0&&(n[r-1][Dn]=t[Dn]);let o=gc(n,jt+e);MT(t[de],t);let s=o[En];s!==null&&s.detachView(o[de]),t[Ct]=null,t[Dn]=null,t[ee]&=-129}return t}function Sm(n,e){if(!(e[ee]&256)){let r=e[Qe];r.destroyNode&&ad(n,e,r,3,null,null),TT(e)}}function Xf(n,e){if(e[ee]&256)return;let r=Ee(null);try{e[ee]&=-129,e[ee]|=256,e[tn]&&Dl(e[tn]),OT(n,e),kT(n,e),e[de].type===1&&e[Qe].destroy();let t=e[jr];if(t!==null&&xi(e[Ct])){t!==e[Ct]&&Mm(t,e);let i=e[En];i!==null&&i.detachView(n)}qS(e)}finally{Ee(r)}}function kT(n,e){let r=n.cleanup,t=e[ko];if(r!==null)for(let o=0;o=0?t[s]():t[-s].unsubscribe(),o+=2}else{let s=t[r[o+1]];r[o].call(s)}t!==null&&(e[ko]=null);let i=e[Gi];if(i!==null){e[Gi]=null;for(let o=0;o-1){let{encapsulation:o}=n.data[t.directiveStart+i];if(o===Wn.None||o===Wn.Emulated)return null}return sn(t,r)}}function Ec(n,e,r,t,i){n.insertBefore(e,r,t,i)}function a0(n,e,r){n.appendChild(e,r)}function i_(n,e,r,t,i){t!==null?Ec(n,e,r,t,i):a0(n,e,r)}function NT(n,e,r,t){n.removeChild(e,r,t)}function Tm(n,e){return n.parentNode(e)}function PT(n,e){return n.nextSibling(e)}function l0(n,e,r){return LT(n,e,r)}function FT(n,e,r){return n.type&40?sn(n,r):null}var LT=FT,r_;function sd(n,e,r,t){let i=s0(n,t,e),o=e[Qe],s=t.parent||e[Bt],a=l0(s,t,e);if(i!=null)if(Array.isArray(r))for(let l=0;lDt&&h0(n,e,Dt,!1),zn(s?2:0,i),r(t,i)}finally{Ur(o),zn(s?3:1,i)}}function km(n,e,r){if(hm(e)){let t=Ee(null);try{let i=e.directiveStart,o=e.directiveEnd;for(let s=i;snull;function ZT(n,e,r,t){let i=w0(e);i.push(r),n.firstCreatePass&&C0(n).push(t,i.length-1)}function QT(n,e,r,t,i,o){let s=e?e.injectorIndex:-1,a=0;return dy()&&(a|=128),{type:r,index:t,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:i,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function o_(n,e,r,t,i){for(let o in e){if(!e.hasOwnProperty(o))continue;let s=e[o];if(s===void 0)continue;t!=null||(t={});let a,l=Po.None;Array.isArray(s)?(a=s[0],l=s[1]):a=s;let c=o;if(i!==null){if(!i.hasOwnProperty(o))continue;c=i[o]}n===0?s_(t,r,c,a,l):s_(t,r,c,a)}return t}function s_(n,e,r,t,i){let o;n.hasOwnProperty(r)?(o=n[r]).push(e,t):o=n[r]=[e,t],i!==void 0&&o.push(i)}function KT(n,e,r){let t=e.directiveStart,i=e.directiveEnd,o=n.data,s=e.attrs,a=[],l=null,c=null;for(let d=t;d0;){let r=n[--e];if(typeof r=="number"&&r<0)return r}return 0}function nA(n,e,r,t){let i=r.directiveStart,o=r.directiveEnd;Qc(r)&&cA(e,r,n.data[i+r.componentOffset]),n.firstCreatePass||Cc(r,e),Qi(t,e);let s=r.initialInputs;for(let a=i;a{Xc(n.lView)},consumerOnSignalRead(){this.lView[tn]=this}});function DA(n){var r;let e=(r=n[tn])!=null?r:Object.create(EA);return e.lView=n,e}var EA=_e(D({},xl),{consumerIsAlwaysLive:!0,consumerMarkedDirty:n=>{let e=Br(n.lView);for(;e&&!I0(e[de]);)e=Br(e);e&&sy(e)},consumerOnSignalRead(){this.lView[tn]=this}});function I0(n){return n.type!==2}var IA=100;function M0(n,e=!0,r=0){var s,a,l;let t=n[Gn],i=t.rendererFactory,o=!1;o||(s=i.begin)==null||s.call(i);try{MA(n,r)}catch(c){throw e&&D0(n,c),c}finally{o||((a=i.end)==null||a.call(i),(l=t.inlineEffectRunner)==null||l.flush())}}function MA(n,e){let r=fy();try{Wv(!0),Nh(n,e);let t=0;for(;qs(n);){if(t===IA)throw new T(103,!1);t++,Nh(n,1)}}finally{Wv(r)}}function SA(n,e,r,t){var d;let i=e[ee];if((i&256)===256)return;let o=!1,s=!1;!o&&((d=e[Gn].inlineEffectRunner)==null||d.flush()),_m(e);let a=!0,l=null,c=null;o||(I0(n)?(c=yA(e),l=wl(c)):ev()===null?(a=!1,c=DA(e),l=wl(c)):e[tn]&&(Dl(e[tn]),e[tn]=null));try{oy(e),pS(n.bindingStartIndex),r!==null&&g0(n,e,r,2,t);let u=(i&3)===3;if(!o)if(u){let g=n.preOrderCheckHooks;g!==null&&cc(e,g,null)}else{let g=n.preOrderHooks;g!==null&&dc(e,g,0,null),Zf(e,0)}if(s||TA(e),S0(e,0),n.contentQueries!==null&&x0(n,e),!o)if(u){let g=n.contentCheckHooks;g!==null&&cc(e,g)}else{let g=n.contentHooks;g!==null&&dc(e,g,1),Zf(e,1)}HT(n,e);let f=n.components;f!==null&&A0(e,f,0);let m=n.viewQuery;if(m!==null&&Rh(2,m,t),!o)if(u){let g=n.viewCheckHooks;g!==null&&cc(e,g)}else{let g=n.viewHooks;g!==null&&dc(e,g,2),Zf(e,2)}if(n.firstUpdatePass===!0&&(n.firstUpdatePass=!1),e[Oo]){for(let g of e[Oo])g();e[Oo]=null}o||(e[ee]&=-73)}catch(u){throw o||Xc(e),u}finally{c!==null&&(Cf(c,l),a&&wA(c)),ym()}}function S0(n,e){for(let r=Fy(n);r!==null;r=Ly(r))for(let t=jt;t-1&&(Dc(e,t),gc(r,t))}this._attachedToViewContainer=!1}Sm(this._lView[de],this._lView)}onDestroy(e){ay(this._lView,e)}markForCheck(){Um(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[ee]&=-129}reattach(){ph(this._lView),this._lView[ee]|=128}detectChanges(){this._lView[ee]|=1024,M0(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new T(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let e=hh(this._lView),r=this._lView[jr];r!==null&&!e&&Mm(r,this._lView),r0(this._lView[de],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new T(902,!1);this._appRef=e;let r=hh(this._lView),t=this._lView[jr];t!==null&&!r&&o0(t,this._lView),ph(this._lView)}},pt=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=RA;let n=e;return n})(),kA=pt,OA=class extends kA{constructor(e,r,t){super(),this._declarationLView=e,this._declarationTContainer=r,this.elementRef=t}get ssrId(){var e;return((e=this._declarationTContainer.tView)==null?void 0:e.ssrId)||null}createEmbeddedView(e,r){return this.createEmbeddedViewImpl(e,r)}createEmbeddedViewImpl(e,r,t){let i=Vm(this._declarationLView,this._declarationTContainer,e,{embeddedViewInjector:r,dehydratedView:t});return new $r(i)}};function RA(){return ud(yt(),me())}function ud(n,e){return n.type&4?new OA(e,n,Wo(n,e)):null}var v8=new RegExp("^(\\d+)*(".concat(QS,"|").concat(ZS,")*(.*)"));var NA=()=>null;function Sc(n,e){return NA(n,e)}var Bo=class{},k0=new E("",{providedIn:"root",factory:()=>!1});var O0=new E(""),Ph=class{},Tc=class{};function PA(n){let e=Error("No component factory found for ".concat(Ot(n),"."));return e[FA]=n,e}var FA="ngComponent";var Fh=class{resolveComponentFactory(e){throw PA(e)}},ep=class ep{};ep.NULL=new Fh;var Mn=ep,Ki=class{},er=(()=>{let e=class e{constructor(){this.destroyNode=null}};e.__NG_ELEMENT_ID__=()=>LA();let n=e;return n})();function LA(){let n=me(),e=yt(),r=Ji(e.index,n);return(qi(r)?r:n)[Qe]}var jA=(()=>{let e=class e{};e.\u0275prov=I({token:e,providedIn:"root",factory:()=>null});let n=e;return n})(),Jf={};var a_=new Set;function tr(n){var e;a_.has(n)||(a_.add(n),(e=performance==null?void 0:performance.mark)==null||e.call(performance,"mark_feature_usage",{detail:{feature:n}}))}function R0(n){let e=!0;return setTimeout(()=>{e&&(e=!1,n())}),typeof Rt.requestAnimationFrame=="function"&&Rt.requestAnimationFrame(()=>{e&&(e=!1,n())}),()=>{e=!1}}function l_(n){let e=!0;return queueMicrotask(()=>{e&&n()}),()=>{e=!1}}function c_(...n){}var k=class n{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:t=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new $(!1),this.onMicrotaskEmpty=new $(!1),this.onStable=new $(!1),this.onError=new $(!1),typeof Zone>"u")throw new T(908,!1);Zone.assertZonePatched();let i=this;i._nesting=0,i._outer=i._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(i._inner=i._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(i._inner=i._inner.fork(Zone.longStackTraceZoneSpec)),i.shouldCoalesceEventChangeDetection=!t&&r,i.shouldCoalesceRunChangeDetection=t,i.callbackScheduled=!1,UA(i)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get("isAngularZone")===!0}static assertInAngularZone(){if(!n.isInAngularZone())throw new T(909,!1)}static assertNotInAngularZone(){if(n.isInAngularZone())throw new T(909,!1)}run(e,r,t){return this._inner.run(e,r,t)}runTask(e,r,t,i){let o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+i,e,VA,c_,c_);try{return o.runTask(s,r,t)}finally{o.cancelTask(s)}}runGuarded(e,r,t){return this._inner.runGuarded(e,r,t)}runOutsideAngular(e){return this._outer.run(e)}},VA={};function zm(n){if(n._nesting==0&&!n.hasPendingMicrotasks&&!n.isStable)try{n._nesting++,n.onMicrotaskEmpty.emit(null)}finally{if(n._nesting--,!n.hasPendingMicrotasks)try{n.runOutsideAngular(()=>n.onStable.emit(null))}finally{n.isStable=!0}}}function BA(n){n.isCheckStableRunning||n.callbackScheduled||(n.callbackScheduled=!0,Zone.root.run(()=>{R0(()=>{n.callbackScheduled=!1,Lh(n),n.isCheckStableRunning=!0,zm(n),n.isCheckStableRunning=!1})}),Lh(n))}function UA(n){let e=()=>{BA(n)};n._inner=n._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(r,t,i,o,s,a)=>{if(zA(a))return r.invokeTask(i,o,s,a);try{return d_(n),r.invokeTask(i,o,s,a)}finally{(n.shouldCoalesceEventChangeDetection&&o.type==="eventTask"||n.shouldCoalesceRunChangeDetection)&&e(),u_(n)}},onInvoke:(r,t,i,o,s,a,l)=>{try{return d_(n),r.invoke(i,o,s,a,l)}finally{n.shouldCoalesceRunChangeDetection&&!n.callbackScheduled&&!HA(a)&&e(),u_(n)}},onHasTask:(r,t,i,o)=>{r.hasTask(i,o),t===i&&(o.change=="microTask"?(n._hasPendingMicrotasks=o.microTask,Lh(n),zm(n)):o.change=="macroTask"&&(n.hasPendingMacrotasks=o.macroTask))},onHandleError:(r,t,i,o)=>(r.handleError(i,o),n.runOutsideAngular(()=>n.onError.emit(o)),!1)})}function Lh(n){n._hasPendingMicrotasks||(n.shouldCoalesceEventChangeDetection||n.shouldCoalesceRunChangeDetection)&&n.callbackScheduled===!0?n.hasPendingMicrotasks=!0:n.hasPendingMicrotasks=!1}function d_(n){n._nesting++,n.isStable&&(n.isStable=!1,n.onUnstable.emit(null))}function u_(n){n._nesting--,zm(n)}var Ac=class{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new $,this.onMicrotaskEmpty=new $,this.onStable=new $,this.onError=new $}run(e,r,t){return e.apply(r,t)}runGuarded(e,r,t){return e.apply(r,t)}runOutsideAngular(e){return e()}runTask(e,r,t,i){return e.apply(r,t)}};function zA(n){return N0(n,"__ignore_ng_zone__")}function HA(n){return N0(n,"__scheduler_tick__")}function N0(n,e){var r,t;return!Array.isArray(n)||n.length!==1?!1:((t=(r=n[0])==null?void 0:r.data)==null?void 0:t[e])===!0}function $A(n="zone.js",e){return n==="noop"?new Ac:n==="zone.js"?new k(e):n}var Nr=function(n){return n[n.EarlyRead=0]="EarlyRead",n[n.Write=1]="Write",n[n.MixedReadWrite=2]="MixedReadWrite",n[n.Read=3]="Read",n}(Nr||{}),P0={destroy(){}};function ia(n,e){var c,d,u;!e&&fm(ia);let r=(c=e==null?void 0:e.injector)!=null?c:y(Ce);if(!n0(r))return P0;tr("NgAfterRender");let t=r.get(fd),i=(d=t.handler)!=null?d:t.handler=new Oc,o=(u=e==null?void 0:e.phase)!=null?u:Nr.MixedReadWrite,s=()=>{i.unregister(l),a()},a=r.get(Js).onDestroy(s),l=Vt(r,()=>new kc(o,n));return i.register(l),{destroy:s}}function Ut(n,e){var c,d,u;!e&&fm(Ut);let r=(c=e==null?void 0:e.injector)!=null?c:y(Ce);if(!n0(r))return P0;tr("NgAfterNextRender");let t=r.get(fd),i=(d=t.handler)!=null?d:t.handler=new Oc,o=(u=e==null?void 0:e.phase)!=null?u:Nr.MixedReadWrite,s=()=>{i.unregister(l),a()},a=r.get(Js).onDestroy(s),l=Vt(r,()=>new kc(o,()=>{s(),n()}));return i.register(l),{destroy:s}}var kc=class{constructor(e,r){var t;this.phase=e,this.callbackFn=r,this.zone=y(k),this.errorHandler=y(In,{optional:!0}),(t=y(Bo,{optional:!0}))==null||t.notify(6)}invoke(){var e;try{this.zone.runOutsideAngular(this.callbackFn)}catch(r){(e=this.errorHandler)==null||e.handleError(r)}}},Oc=class{constructor(){this.executingCallbacks=!1,this.buckets={[Nr.EarlyRead]:new Set,[Nr.Write]:new Set,[Nr.MixedReadWrite]:new Set,[Nr.Read]:new Set},this.deferredCallbacks=new Set}register(e){(this.executingCallbacks?this.deferredCallbacks:this.buckets[e.phase]).add(e)}unregister(e){this.buckets[e.phase].delete(e),this.deferredCallbacks.delete(e)}execute(){this.executingCallbacks=!0;for(let e of Object.values(this.buckets))for(let r of e)r.invoke();this.executingCallbacks=!1;for(let e of this.deferredCallbacks)this.buckets[e.phase].add(e);this.deferredCallbacks.clear()}destroy(){for(let e of Object.values(this.buckets))e.clear();this.deferredCallbacks.clear()}},fd=(()=>{let e=class e{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){var t;this.executeInternalCallbacks(),(t=this.handler)==null||t.execute()}executeInternalCallbacks(){let t=[...this.internalCallbacks];this.internalCallbacks.length=0;for(let i of t)i()}ngOnDestroy(){var t;(t=this.handler)==null||t.destroy(),this.handler=null,this.internalCallbacks.length=0}};e.\u0275prov=I({token:e,providedIn:"root",factory:()=>new e});let n=e;return n})();function Rc(n,e,r){let t=r?n.styles:null,i=r?n.classes:null,o=0;if(e!==null)for(let s=0;s0&&u0(n,r,o.join(" "))}}function KA(n,e,r){let t=n.projection=[];for(let i=0;i{let e=class e{};e.__NG_ELEMENT_ID__=JA;let n=e;return n})();function JA(){let n=yt();return L0(n,me())}var ek=lt,F0=class extends ek{constructor(e,r,t){super(),this._lContainer=e,this._hostTNode=r,this._hostLView=t}get element(){return Wo(this._hostTNode,this._hostLView)}get injector(){return new Pr(this._hostTNode,this._hostLView)}get parentInjector(){let e=xm(this._hostTNode,this._hostLView);if(Cy(e)){let r=xc(e,this._hostLView),t=yc(e),i=r[de].data[t+8];return new Pr(i,r)}else return new Pr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){let r=h_(this._lContainer);return r!==null&&r[e]||null}get length(){return this._lContainer.length-jt}createEmbeddedView(e,r,t){let i,o;typeof t=="number"?i=t:t!=null&&(i=t.index,o=t.injector);let s=Sc(this._lContainer,e.ssrId),a=e.createEmbeddedViewImpl(r||{},o,s);return this.insertImpl(a,i,Ic(this._hostTNode,s)),a}createComponent(e,r,t,i,o){var g,_,C;let s=e&&!JM(e),a;if(s)a=r;else{let S=r||{};a=S.index,t=S.injector,i=S.projectableNodes,o=S.environmentInjector||S.ngModuleRef}let l=s?e:new Uo(Yi(e)),c=t||this.parentInjector;if(!o&&l.ngModule==null){let B=(s?c:this.parentInjector).get(mt,null);B&&(o=B)}let d=Yi((g=l.componentType)!=null?g:{}),u=Sc(this._lContainer,(_=d==null?void 0:d.id)!=null?_:null),f=(C=u==null?void 0:u.firstChild)!=null?C:null,m=l.create(c,i,f,o);return this.insertImpl(m.hostView,a,Ic(this._hostTNode,u)),m}insert(e,r){return this.insertImpl(e,r,!0)}insertImpl(e,r,t){let i=e._lView;if(oS(i)){let a=this.indexOf(e);if(a!==-1)this.detach(a);else{let l=i[Ct],c=new F0(l,l[Bt],l[Ct]);c.detach(c.indexOf(e))}}let o=this._adjustIndex(r),s=this._lContainer;return Bm(s,i,o,t),e.attachToViewContainerRef(),R_(eh(s),o,e),e}move(e,r){return this.insert(e,r)}indexOf(e){let r=h_(this._lContainer);return r!==null?r.indexOf(e):-1}remove(e){let r=this._adjustIndex(e,-1),t=Dc(this._lContainer,r);t&&(gc(eh(this._lContainer),r),Sm(t[de],t))}detach(e){let r=this._adjustIndex(e,-1),t=Dc(this._lContainer,r);return t&&gc(eh(this._lContainer),r)!=null?new $r(t):null}_adjustIndex(e,r=0){return e==null?this.length+r:e}};function h_(n){return n[vc]}function eh(n){return n[vc]||(n[vc]=[])}function L0(n,e){let r,t=e[n.index];return xi(t)?r=t:(r=y0(t,e,null,n),e[n.index]=r,dd(e,r)),nk(r,e,n,t),new F0(r,n,e)}function tk(n,e){let r=n[Qe],t=r.createComment(""),i=sn(e,n),o=Tm(r,i);return Ec(r,o,t,PT(r,i),!1),t}var nk=ok,ik=()=>!1;function rk(n,e,r){return ik(n,e,r)}function ok(n,e,r,t){if(n[Vr])return;let i;r.type&8?i=qn(t):i=tk(e,r),n[Vr]=i}var Bh=class n{constructor(e){this.queryList=e,this.matches=null}clone(){return new n(this.queryList)}setDirty(){this.queryList.setDirty()}},Uh=class n{constructor(e=[]){this.queries=e}createEmbeddedView(e){let r=e.queries;if(r!==null){let t=e.contentQueries!==null?e.contentQueries[0]:r.length,i=[];for(let o=0;o0)t.push(s[a/2]);else{let c=o[a+1],d=e[-l];for(let u=jt;ue.trim())}function B0(n,e,r){n.queries===null&&(n.queries=new zh),n.queries.track(new Hh(e,r))}function mk(n,e){let r=n.contentQueries||(n.contentQueries=[]),t=r.length?r[r.length-1]:-1;e!==t&&r.push(n.queries.length-1,e)}function Hm(n,e){return n.queries.getByIndex(e)}function pk(n,e){let r=n[de],t=Hm(r,e);return t.crossesNgTemplate?$h(r,n,e,[]):j0(r,n,t,e)}function hd(n){return typeof n=="function"&&n[yl]!==void 0}function U0(n){return hd(n)&&typeof n.set=="function"}function gk(n){let e=[],r=new Map;function t(i){let o=r.get(i);if(!o){let s=n(i);r.set(i,o=s.then(yk))}return o}return Fc.forEach((i,o)=>{var c,d;let s=[];i.templateUrl&&s.push(t(i.templateUrl).then(u=>{i.template=u}));let a=typeof i.styles=="string"?[i.styles]:i.styles||[];if(i.styles=a,i.styleUrl&&((c=i.styleUrls)!=null&&c.length))throw new Error("@Component cannot define both `styleUrl` and `styleUrls`. Use `styleUrl` if the component has one stylesheet, or `styleUrls` if it has multiple");if((d=i.styleUrls)!=null&&d.length){let u=i.styles.length,f=i.styleUrls;i.styleUrls.forEach((m,g)=>{a.push(""),s.push(t(m).then(_=>{a[u+g]=_,f.splice(f.indexOf(m),1),f.length==0&&(i.styleUrls=void 0)}))})}else i.styleUrl&&s.push(t(i.styleUrl).then(u=>{a.push(u),i.styleUrl=void 0}));let l=Promise.all(s).then(()=>xk(o));e.push(l)}),vk(),Promise.all(e).then(()=>{})}var Fc=new Map,bk=new Set;function vk(){let n=Fc;return Fc=new Map,n}function _k(){return Fc.size===0}function yk(n){return typeof n=="string"?n:n.text()}function xk(n){bk.delete(n)}function wk(n){return Object.getPrototypeOf(n.prototype).constructor}function Ue(n){let e=wk(n.type),r=!0,t=[n];for(;e;){let i;if(Zi(n))i=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new T(903,!1);i=e.\u0275dir}if(i){if(r){t.push(i);let s=n;s.inputs=oc(n.inputs),s.inputTransforms=oc(n.inputTransforms),s.declaredInputs=oc(n.declaredInputs),s.outputs=oc(n.outputs);let a=i.hostBindings;a&&Mk(n,a);let l=i.viewQuery,c=i.contentQueries;if(l&&Ek(n,l),c&&Ik(n,c),Ck(n,i),tM(n.outputs,i.outputs),Zi(i)&&i.data.animation){let d=n.data;d.animation=(d.animation||[]).concat(i.data.animation)}}let o=i.features;if(o)for(let s=0;s=0;t--){let i=n[t];i.hostVars=e+=i.hostVars,i.hostAttrs=Hs(i.hostAttrs,r=Hs(r,i.hostAttrs))}}function oc(n){return n===gi?{}:n===Lt?[]:n}function Ek(n,e){let r=n.viewQuery;r?n.viewQuery=(t,i)=>{e(t,i),r(t,i)}:n.viewQuery=e}function Ik(n,e){let r=n.contentQueries;r?n.contentQueries=(t,i,o)=>{e(t,i,o),r(t,i,o)}:n.contentQueries=e}function Mk(n,e){let r=n.hostBindings;r?n.hostBindings=(t,i)=>{e(t,i),r(t,i)}:n.hostBindings=e}function z0(n){let e=r=>{let t=(Array.isArray(n)?n:n()).map(i=>typeof i=="function"?{directive:_t(i),inputs:gi,outputs:gi}:{directive:_t(i.directive),inputs:m_(i.inputs),outputs:m_(i.outputs)});r.hostDirectives===null?(r.findHostDirectiveDefs=H0,r.hostDirectives=t):r.hostDirectives.unshift(...t)};return e.ngInherit=!0,e}function H0(n,e,r){if(n.hostDirectives!==null)for(let t of n.hostDirectives){let i=cm(t.directive);Sk(i.declaredInputs,t.inputs),H0(i,e,r),r.set(i,t),e.push(i)}}function m_(n){if(n===void 0||n.length===0)return gi;let e={};for(let r=0;rr()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}},jc=class extends Ys{constructor(e){super(),this.moduleType=e}create(e){return new Lc(this.moduleType,e,[])}};function Tk(n,e,r){return new Lc(n,e,r)}var Wh=class extends Xi{constructor(e){super(),this.componentFactoryResolver=new Nc(this),this.instance=null;let r=new $s([...e.providers,{provide:Xi,useValue:this},{provide:Mn,useValue:this.componentFactoryResolver}],e.parent||um(),e.debugName,new Set(["environment"]));this.injector=r,e.runEnvironmentInitializers&&r.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}};function md(n,e,r=null){return new Wh({providers:n,parent:e,debugName:r,runEnvironmentInitializers:!0}).injector}function $0(n){return kk(n)?Array.isArray(n)||!(n instanceof Map)&&Symbol.iterator in n:!1}function Ak(n,e){if(Array.isArray(n))for(let r=0;r>17&32767}function jk(n){return(n&2)==2}function Vk(n,e){return n&131071|e<<17}function Gh(n){return n|2}function zo(n){return(n&131068)>>2}function th(n,e){return n&-131069|e<<2}function Bk(n){return(n&1)===1}function qh(n){return n|1}function Uk(n,e,r,t,i,o){let s=o?e.classBindings:e.styleBindings,a=Wr(s),l=zo(s);n[t]=r;let c=!1,d;if(Array.isArray(r)){let u=r;d=u[1],(d===null||Ks(u,d)>0)&&(c=!0)}else d=r;if(i)if(l!==0){let f=Wr(n[a+1]);n[t+1]=sc(f,a),f!==0&&(n[f+1]=th(n[f+1],t)),n[a+1]=Vk(n[a+1],t)}else n[t+1]=sc(a,0),a!==0&&(n[a+1]=th(n[a+1],t)),a=t;else n[t+1]=sc(l,0),a===0?a=t:n[l+1]=th(n[l+1],t),l=t;c&&(n[t+1]=Gh(n[t+1])),p_(n,d,t,!0),p_(n,d,t,!1),zk(e,d,n,t,o),s=sc(a,l),o?e.classBindings=s:e.styleBindings=s}function zk(n,e,r,t,i){let o=i?n.residualClasses:n.residualStyles;o!=null&&typeof e=="string"&&Ks(o,e)>=0&&(r[t+1]=qh(r[t+1]))}function p_(n,e,r,t){let i=n[r+1],o=e===null,s=t?Wr(i):zo(i),a=!1;for(;s!==0&&(a===!1||o);){let l=n[s],c=n[s+1];Hk(l,e)&&(a=!0,n[s+1]=t?qh(c):Gh(c)),s=t?Wr(c):zo(c)}a&&(n[r+1]=t?Gh(i):qh(i))}function Hk(n,e){return n===null||e==null||(Array.isArray(n)?n[1]:n)===e?!0:Array.isArray(n)&&typeof e=="string"?Ks(n,e)>=0:!1}var Cn={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function $k(n){return n.substring(Cn.key,Cn.keyEnd)}function Wk(n){return Gk(n),Z0(n,Q0(n,0,Cn.textEnd))}function Z0(n,e){let r=Cn.textEnd;return r===e?-1:(e=Cn.keyEnd=qk(n,Cn.key=e,r),Q0(n,e,r))}function Gk(n){Cn.key=0,Cn.keyEnd=0,Cn.value=0,Cn.valueEnd=0,Cn.textEnd=n.length}function Q0(n,e,r){for(;e32;)e++;return e}function M(n,e,r){let t=me(),i=$o();if(on(t,i,e)){let o=Xe(),s=Xs();cd(o,s,t,n,e,t[Qe],r,!1)}return M}function Yh(n,e,r,t,i){let o=e.inputs,s=i?"class":"style";Fm(n,r,o[s],s,t)}function qr(n,e,r){return X0(n,e,r,!1),qr}function ae(n,e){return X0(n,e,null,!0),ae}function zt(n){J0(Jk,K0,n,!0)}function K0(n,e){for(let r=Wk(e);r>=0;r=Z0(e,r))Gc(n,$k(e),!0)}function X0(n,e,r,t){let i=me(),o=Xe(),s=Jc(2);if(o.firstUpdatePass&&tx(o,n,s,t),e!==Nt&&on(i,s,e)){let a=o.data[wi()];nx(o,a,i,i[Qe],n,i[s+1]=t1(e,r),t,s)}}function J0(n,e,r,t){let i=Xe(),o=Jc(2);i.firstUpdatePass&&tx(i,null,o,t);let s=me();if(r!==Nt&&on(s,o,r)){let a=i.data[wi()];if(ix(a,t)&&!ex(i,o)){let l=t?a.classesWithoutHost:a.stylesWithoutHost;l!==null&&(r=oh(l,r||"")),Yh(i,a,s,r,t)}else e1(i,a,s,s[Qe],s[o+1],s[o+1]=Xk(n,e,r),t,o)}}function ex(n,e){return e>=n.expandoStartIndex}function tx(n,e,r,t){let i=n.data;if(i[r+1]===null){let o=i[wi()],s=ex(n,r);ix(o,t)&&e===null&&!s&&(e=!1),e=Yk(i,o,e,t),Uk(i,o,e,r,s,t)}}function Yk(n,e,r,t){let i=_S(n),o=t?e.residualClasses:e.residualStyles;if(i===null)(t?e.classBindings:e.styleBindings)===0&&(r=nh(null,n,e,r,t),r=Zs(r,e.attrs,t),o=null);else{let s=e.directiveStylingLast;if(s===-1||n[s]!==i)if(r=nh(i,n,e,r,t),o===null){let l=Zk(n,e,t);l!==void 0&&Array.isArray(l)&&(l=nh(null,n,e,l[1],t),l=Zs(l,e.attrs,t),Qk(n,e,t,l))}else o=Kk(n,e,t)}return o!==void 0&&(t?e.residualClasses=o:e.residualStyles=o),r}function Zk(n,e,r){let t=r?e.classBindings:e.styleBindings;if(zo(t)!==0)return n[Wr(t)]}function Qk(n,e,r,t){let i=r?e.classBindings:e.styleBindings;n[Wr(i)]=t}function Kk(n,e,r){let t,i=e.directiveEnd;for(let o=1+e.directiveStylingLast;o0;){let l=n[i],c=Array.isArray(l),d=c?l[1]:l,u=d===null,f=r[i+1];f===Nt&&(f=u?Lt:void 0);let m=u?qf(f,t):d===t?f:void 0;if(c&&!Vc(m)&&(m=qf(l,t)),Vc(m)&&(a=m,s))return a;let g=n[i+1];i=s?Wr(g):zo(g)}if(e!==null){let l=o?e.residualClasses:e.residualStyles;l!=null&&(a=qf(l,t))}return a}function Vc(n){return n!==void 0}function t1(n,e){return n==null||n===""||(typeof e=="string"?n=n+e:typeof n=="object"&&(n=Ot(cn(n)))),n}function ix(n,e){return(n.flags&(e?8:16))!==0}function rx(n,e,r){let t=me(),i=$m(t,n,e,r);J0(Gc,K0,i,!0)}function qe(n,e){tr("NgControlFlow");let r=me(),t=$o(),i=r[t]!==Nt?r[t]:-1,o=i!==-1?b_(r,Dt+i):void 0,s=0;if(on(r,t,n)){let a=Ee(null);try{if(o!==void 0&&vA(o,s),n!==-1){let l=Dt+n,c=b_(r,l),d=n1(r[de],l),u=Sc(c,d.tView.ssrId),f=Vm(r,d,e,{dehydratedView:u});Bm(c,f,s,Ic(d,u))}}finally{Ee(a)}}else if(o!==void 0){let a=bA(o,s);a!==void 0&&(a[nn]=e)}}function b_(n,e){return n[e]}function n1(n,e){return mm(n,e)}function i1(n,e,r,t,i,o){let s=e.consts,a=Vo(s,i),l=qo(e,n,2,t,a);return Pm(e,r,l,Vo(s,o)),l.attrs!==null&&Rc(l,l.attrs,!1),l.mergedAttrs!==null&&Rc(l,l.mergedAttrs,!0),e.queries!==null&&e.queries.elementStart(e,l),l}function p(n,e,r,t){let i=me(),o=Xe(),s=Dt+n,a=i[Qe],l=o.firstCreatePass?i1(s,o,i,e,r,t):o.data[s],c=r1(o,i,l,a,e,n);i[s]=c;let d=Kc(l);return Gr(l,!0),f0(a,c,l),!Ok(l)&&td()&&sd(o,i,c,l),lS()===0&&Qi(c,i),cS(),d&&(Om(o,i,l),km(o,l,i)),t!==null&&Rm(i,l),p}function b(){let n=yt();gm()?bm():(n=n.parent,Gr(n,!1));let e=n;uS(e)&&fS(),dS();let r=Xe();return r.firstCreatePass&&(id(r,n),hm(n)&&r.queries.elementEnd(n)),e.classesWithoutHost!=null&&MS(e)&&Yh(r,e,me(),e.classesWithoutHost,!0),e.stylesWithoutHost!=null&&SS(e)&&Yh(r,e,me(),e.stylesWithoutHost,!1),b}function O(n,e,r,t){return p(n,e,r,t),b(),O}var r1=(n,e,r,t,i,o)=>(nd(!0),i0(t,i,CS()));function o1(n,e,r,t,i){let o=e.consts,s=Vo(o,t),a=qo(e,n,8,"ng-container",s);s!==null&&Rc(a,s,!0);let l=Vo(o,i);return Pm(e,r,a,l),e.queries!==null&&e.queries.elementStart(e,a),a}function Wm(n,e,r){let t=me(),i=Xe(),o=n+Dt,s=i.firstCreatePass?o1(o,i,t,e,r):i.data[o];Gr(s,!0);let a=s1(i,t,s,n);return t[o]=a,td()&&sd(i,t,a,s),Qi(a,t),Kc(s)&&(Om(i,t,s),km(i,s,t)),r!=null&&Rm(t,s),Wm}function Gm(){let n=yt(),e=Xe();return gm()?bm():(n=n.parent,Gr(n,!1)),e.firstCreatePass&&(id(e,n),hm(n)&&e.queries.elementEnd(n)),Gm}var s1=(n,e,r,t)=>(nd(!0),IT(e[Qe],""));function Me(){return me()}function dn(n,e,r){let t=me(),i=$o();if(on(t,i,e)){let o=Xe(),s=Xs();cd(o,s,t,n,e,t[Qe],r,!0)}return dn}var Bc="en-US";var a1=Bc;function l1(n){typeof n=="string"&&(a1=n.toLowerCase().replace(/_/g,"-"))}var c1=(n,e,r)=>{};function z(n,e,r,t){let i=me(),o=Xe(),s=yt();return ox(o,i,i[Qe],s,n,e,t),z}function d1(n,e,r,t){let i=n.cleanup;if(i!=null)for(let o=0;ol?a[l]:null}typeof s=="string"&&(o+=2)}return null}function ox(n,e,r,t,i,o,s){let a=Kc(t),c=n.firstCreatePass&&C0(n),d=e[nn],u=w0(e),f=!0;if(t.type&3||s){let _=sn(t,e),C=s?s(_):_,S=u.length,B=s?q=>s(qn(q[t.index])):t.index,ve=null;if(!s&&a&&(ve=d1(n,e,i,t.index)),ve!==null){let q=ve.__ngLastListenerFn__||ve;q.__ngNextListenerFn__=o,ve.__ngLastListenerFn__=o,f=!1}else{o=__(t,e,d,o),c1(_,i,o);let q=r.listen(C,i,o);u.push(o,q),c&&c.push(i,B,S,S+1)}}else o=__(t,e,d,o);let m=t.outputs,g;if(f&&m!==null&&(g=m[i])){let _=g.length;if(_)for(let C=0;C<_;C+=2){let S=g[C],B=g[C+1],$e=e[S][B].subscribe(o),be=u.length;u.push(o,$e),c&&c.push(i,t.index,be,-(be+1))}}}function v_(n,e,r,t){let i=Ee(null);try{return zn(6,e,r),r(t)!==!1}catch(o){return D0(n,o),!1}finally{zn(7,e,r),Ee(i)}}function __(n,e,r,t){return function i(o){if(o===Function)return t;let s=n.componentOffset>-1?Ji(n.index,e):e;Um(s,5);let a=v_(e,r,t,o),l=i.__ngNextListenerFn__;for(;l;)a=v_(e,r,l,o)&&a,l=l.__ngNextListenerFn__;return a}}function R(n=1){return xS(n)}function u1(n,e){let r=null,t=kM(n);for(let i=0;i=n.data.length&&(n.data[r]=null,n.blueprint[r]=null),e[r]=t}function Et(n){let e=mS();return ry(e,Dt+n)}function w(n,e=""){let r=me(),t=Xe(),i=n+Dt,o=t.firstCreatePass?qo(t,i,1,e,null):t.data[i],s=m1(t,r,o,e,n);r[i]=s,td()&&sd(t,r,s,o),Gr(o,!1)}var m1=(n,e,r,t,i)=>(nd(!0),DT(e[Qe],t));function ct(n){return Te("",n,""),ct}function Te(n,e,r){let t=me(),i=$m(t,n,e,r);return i!==Nt&&Lm(t,wi(),i),Te}function qm(n,e,r,t,i){let o=me(),s=Fk(o,n,e,r,t,i);return s!==Nt&&Lm(o,wi(),s),qm}function Ym(n,e,r,t,i,o,s){let a=me(),l=Lk(a,n,e,r,t,i,o,s);return l!==Nt&&Lm(a,wi(),l),Ym}function ra(n,e,r){U0(e)&&(e=e());let t=me(),i=$o();if(on(t,i,e)){let o=Xe(),s=Xs();cd(o,s,t,n,e,t[Qe],r,!1)}return ra}function pd(n,e){let r=U0(n);return r&&n.set(e),r}function oa(n,e){let r=me(),t=Xe(),i=yt();return ox(t,r,r[Qe],i,n,e),oa}function p1(n,e,r){let t=Xe();if(t.firstCreatePass){let i=Zi(n);Zh(r,t.data,t.blueprint,i,!0),Zh(e,t.data,t.blueprint,i,!1)}}function Zh(n,e,r,t,i){if(n=_t(n),Array.isArray(n))for(let o=0;o>20;if(Fo(n)||!n.multi){let m=new zr(c,i,h),g=rh(l,e,i?d:d+f,u);g===-1?(vh(Cc(a,s),o,l),ih(o,n,e.length),e.push(l),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),r.push(m),s.push(m)):(r[g]=m,s[g]=m)}else{let m=rh(l,e,d+f,u),g=rh(l,e,d,d+f),_=m>=0&&r[m],C=g>=0&&r[g];if(i&&!C||!i&&!_){vh(Cc(a,s),o,l);let S=v1(i?b1:g1,r.length,i,t,c);!i&&C&&(r[g].providerFactory=S),ih(o,n,e.length,0),e.push(l),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),r.push(S),s.push(S)}else{let S=ax(r[i?g:m],c,!i&&t);ih(o,n,m>-1?m:g,S)}!i&&t&&C&&r[g].componentProviders++}}}function ih(n,e,r,t){let i=Fo(e),o=WM(e);if(i||o){let l=(o?_t(e.useClass):e).prototype.ngOnDestroy;if(l){let c=n.destroyHooks||(n.destroyHooks=[]);if(!i&&e.multi){let d=c.indexOf(r);d===-1?c.push(r,[t,l]):c[d+1].push(t,l)}else c.push(r,l)}}}function ax(n,e,r){return r&&n.componentProviders++,n.multi.push(e)-1}function rh(n,e,r,t){for(let i=r;i{r.providersResolver=(t,i)=>p1(t,i?i(n):n,e)}}var _1=(()=>{let e=class e{constructor(t){this._injector=t,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(t){if(!t.standalone)return null;if(!this.cachedInjectors.has(t)){let i=W_(!1,t.type),o=i.length>0?md([i],this._injector,"Standalone[".concat(t.type.name,"]")):null;this.cachedInjectors.set(t,o)}return this.cachedInjectors.get(t)}ngOnDestroy(){try{for(let t of this.cachedInjectors.values())t!==null&&t.destroy()}finally{this.cachedInjectors.clear()}}};e.\u0275prov=I({token:e,providedIn:"environment",factory:()=>new e(v(mt))});let n=e;return n})();function Oe(n){tr("NgStandalone"),n.getStandaloneInjector=e=>e.get(_1).getOrCreateStandaloneInjector(n)}function Zm(n,e,r,t,i,o){return x1(me(),hy(),n,e,r,t,i,o)}function lx(n,e){let r=n[e];return r===Nt?void 0:r}function y1(n,e,r,t,i,o){let s=e+r;return on(n,s,i)?W0(n,s+1,o?t.call(o,i):t(i)):lx(n,s+1)}function x1(n,e,r,t,i,o,s,a){let l=e+r;return q0(n,l,i,o,s)?W0(n,l+3,a?t.call(a,i,o,s):t(i,o,s)):lx(n,l+3)}function Jn(n,e){var l;let r=Xe(),t,i=n+Dt;r.firstCreatePass?(t=w1(e,r.pipeRegistry),r.data[i]=t,t.onDestroy&&((l=r.destroyHooks)!=null?l:r.destroyHooks=[]).push(i,t.onDestroy)):t=r.data[i];let o=t.factory||(t.factory=Lr(t.type,!0)),s,a=Ft(h);try{let c=wc(!1),d=o();return wc(c),h1(r,me(),i,d),d}finally{Ft(a)}}function w1(n,e){if(e)for(let r=e.length-1;r>=0;r--){let t=e[r];if(n===t.name)return t}}function ei(n,e,r){let t=n+Dt,i=me(),o=ry(i,t);return C1(i,t)?y1(i,hy(),e,o.transform,r,o):o.transform(r)}function C1(n,e){return n[de].data[e].pure}function cx(n,e){return ud(n,e)}var ac=null;function D1(n){ac!==null&&(n.defaultEncapsulation!==ac.defaultEncapsulation||n.preserveWhitespaces!==ac.preserveWhitespaces)||(ac=n)}var gd=(()=>{let e=class e{log(t){console.log(t)}warn(t){console.warn(t)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"platform"});let n=e;return n})();var Qm=new E(""),sa=new E(""),bd=(()=>{let e=class e{constructor(t,i,o){this._ngZone=t,this.registry=i,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,Us||(E1(o),o.addToWindow(i)),this._watchAngularEvents(),t.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{k.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;this._callbacks.length!==0;){let t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb()}});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(i=>i.updateCb&&i.updateCb(t)?(clearTimeout(i.timeoutId),!1):!0)}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,i,o){let s=-1;i&&i>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(a=>a.timeoutId!==s),t()},i)),this._callbacks.push({doneCb:t,timeoutId:s,updateCb:o})}whenStable(t,i,o){if(o&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(t,i,o),this._runCallbacksIfReady()}registerApplication(t){this.registry.registerApplication(t,this)}unregisterApplication(t){this.registry.unregisterApplication(t)}findProviders(t,i,o){return[]}};e.\u0275fac=function(i){return new(i||e)(v(k),v(vd),v(sa))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let n=e;return n})(),vd=(()=>{let e=class e{constructor(){this._applications=new Map}registerApplication(t,i){this._applications.set(t,i)}unregisterApplication(t){this._applications.delete(t)}unregisterAllApplications(){this._applications.clear()}getTestability(t){return this._applications.get(t)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(t,i=!0){var o;return(o=Us==null?void 0:Us.findTestabilityInTree(this,t,i))!=null?o:null}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"platform"});let n=e;return n})();function E1(n){Us=n}var Us;function Yr(n){return!!n&&typeof n.then=="function"}function dx(n){return!!n&&typeof n.subscribe=="function"}var _d=new E(""),ux=(()=>{let e=class e{constructor(){var t;this.initialized=!1,this.done=!1,this.donePromise=new Promise((i,o)=>{this.resolve=i,this.reject=o}),this.appInits=(t=y(_d,{optional:!0}))!=null?t:[]}runInitializers(){if(this.initialized)return;let t=[];for(let o of this.appInits){let s=o();if(Yr(s))t.push(s);else if(dx(s)){let a=new Promise((l,c)=>{s.subscribe({complete:l,error:c})});t.push(a)}}let i=()=>{this.done=!0,this.resolve()};Promise.all(t).then(()=>{i()}).catch(o=>{this.reject(o)}),t.length===0&&i(),this.initialized=!0}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})(),yd=new E("");function I1(){nv(()=>{throw new T(600,!1)})}function M1(n){return n.isBoundToModule}var S1=10;function T1(n,e,r){try{let t=r();return Yr(t)?t.catch(i=>{throw e.runOutsideAngular(()=>n.handleError(i)),i}):t}catch(t){throw e.runOutsideAngular(()=>n.handleError(t)),t}}function fx(n,e){return Array.isArray(e)?e.reduce(fx,n):D(D({},n),e)}var Tn=(()=>{let e=class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=y(Ry),this.afterRenderEffectManager=y(fd),this.zonelessEnabled=y(k0),this.externalTestViews=new Set,this.beforeRender=new A,this.afterTick=new A,this.componentTypes=[],this.components=[],this.isStable=y(Kn).hasPendingTasks.pipe(K(t=>!t)),this._injector=y(mt)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(t,i){let o=t instanceof Tc;if(!this._injector.get(ux).done){let m=!o&&U_(t),g=!1;throw new T(405,g)}let a;o?a=t:a=this._injector.get(Mn).resolveComponentFactory(t),this.componentTypes.push(a.componentType);let l=M1(a)?void 0:this._injector.get(Xi),c=i||a.selector,d=a.create(Ce.NULL,[],c,l),u=d.location.nativeElement,f=d.injector.get(Qm,null);return f==null||f.registerApplication(u),d.onDestroy(()=>{this.detachView(d.hostView),hc(this.components,d),f==null||f.unregisterApplication(u)}),this._loadComponent(d),d}tick(){this._tick(!0)}_tick(t){if(this._runningTick)throw new T(101,!1);let i=Ee(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(t)}catch(o){this.internalErrorHandler(o)}finally{this._runningTick=!1,Ee(i),this.afterTick.next()}}detectChangesInAttachedViews(t){var a,l;let i=null;this._injector.destroyed||(i=this._injector.get(Ki,null,{optional:!0}));let o=0,s=this.afterRenderEffectManager;for(;oqs(d))&&(s.execute(),!this.allViews.some(({_lView:d})=>qs(d))))break}}attachView(t){let i=t;this._views.push(i),i.attachToAppRef(this)}detachView(t){let i=t;hc(this._views,i),i.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t);let i=this._injector.get(yd,[]);[...this._bootstrapListeners,...i].forEach(o=>o(t))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(t=>t()),this._views.slice().forEach(t=>t.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(t){return this._destroyListeners.push(t),()=>hc(this._destroyListeners,t)}destroy(){if(this._destroyed)throw new T(406,!1);let t=this._injector;t.destroy&&!t.destroyed&&t.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();function hc(n,e){let r=n.indexOf(e);r>-1&&n.splice(r,1)}function A1(n,e,r,t){if(!r&&!qs(n))return;M0(n,e,r&&!t?0:1)}var Kh=class{constructor(e,r){this.ngModuleFactory=e,this.componentFactories=r}},xd=(()=>{let e=class e{compileModuleSync(t){return new jc(t)}compileModuleAsync(t){return Promise.resolve(this.compileModuleSync(t))}compileModuleAndAllComponentsSync(t){let i=this.compileModuleSync(t),o=z_(t),s=t0(o.declarations).reduce((a,l)=>{let c=Yi(l);return c&&a.push(new Uo(c)),a},[]);return new Kh(i,s)}compileModuleAndAllComponentsAsync(t){return Promise.resolve(this.compileModuleAndAllComponentsSync(t))}clearCache(){}clearCacheFor(t){}getModuleId(t){}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})(),k1=new E("");function O1(n,e,r){let t=new jc(r);return Promise.resolve(t)}function y_(n){for(let e=n.length-1;e>=0;e--)if(n[e]!==void 0)return n[e]}var R1=(()=>{let e=class e{constructor(){this.zone=y(k),this.changeDetectionScheduler=y(Bo),this.applicationRef=y(Tn)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){var t;(t=this._onMicrotaskEmptySubscription)==null||t.unsubscribe()}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();function N1({ngZoneFactory:n,ignoreChangesOutsideZone:e}){return n!=null||(n=()=>new k(hx())),[{provide:k,useFactory:n},{provide:No,multi:!0,useFactory:()=>{let r=y(R1,{optional:!0});return()=>r.initialize()}},{provide:No,multi:!0,useFactory:()=>{let r=y(F1);return()=>{r.initialize()}}},{provide:Ry,useFactory:P1},e===!0?{provide:O0,useValue:!0}:[]]}function P1(){let n=y(k),e=y(In);return r=>n.runOutsideAngular(()=>e.handleError(r))}function hx(n){var e,r;return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:(e=n==null?void 0:n.eventCoalescing)!=null?e:!1,shouldCoalesceRunChangeDetection:(r=n==null?void 0:n.runCoalescing)!=null?r:!1}}var F1=(()=>{let e=class e{constructor(){this.subscription=new fe,this.initialized=!1,this.zone=y(k),this.pendingTasks=y(Kn)}initialize(){if(this.initialized)return;this.initialized=!0;let t=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(t=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{k.assertNotInAngularZone(),queueMicrotask(()=>{t!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(t),t=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{k.assertInAngularZone(),t!=null||(t=this.pendingTasks.add())}))}ngOnDestroy(){this.subscription.unsubscribe()}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();var L1=(()=>{let e=class e{constructor(){var t;this.appRef=y(Tn),this.taskService=y(Kn),this.ngZone=y(k),this.zonelessEnabled=y(k0),this.disableScheduling=(t=y(O0,{optional:!0}))!=null?t:!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new fe,this.cancelScheduledCallback=null,this.shouldRefreshViews=!1,this.useMicrotaskScheduler=!1,this.runningTick=!1,this.pendingRenderTaskId=null,this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||(this.disableScheduling=!this.zonelessEnabled&&(this.ngZone instanceof Ac||!this.zoneIsDefined))}notify(t){if(!this.zonelessEnabled&&t===5)return;switch(t){case 3:case 2:case 0:case 4:case 5:case 1:{this.shouldRefreshViews=!0;break}case 8:case 7:case 6:case 9:default:}if(!this.shouldScheduleTick())return;let i=this.useMicrotaskScheduler?l_:R0;this.pendingRenderTaskId=this.taskService.add(),this.zoneIsDefined?Zone.root.run(()=>{this.cancelScheduledCallback=i(()=>{this.tick(this.shouldRefreshViews)})}):this.cancelScheduledCallback=i(()=>{this.tick(this.shouldRefreshViews)})}shouldScheduleTick(){return!(this.disableScheduling||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&k.isInAngularZone())}tick(t){if(this.runningTick||this.appRef.destroyed)return;let i=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick(t)},void 0,this.schedulerTickApplyArgs)}catch(o){throw this.taskService.remove(i),o}finally{this.cleanup()}this.useMicrotaskScheduler=!0,l_(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(i)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){var t;if(this.shouldRefreshViews=!1,this.runningTick=!1,(t=this.cancelScheduledCallback)==null||t.call(this),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let i=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(i)}}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();function j1(){return typeof $localize<"u"&&$localize.locale||Bc}var wd=new E("",{providedIn:"root",factory:()=>y(wd,ye.Optional|ye.SkipSelf)||j1()});var mx=new E(""),px=(()=>{let e=class e{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,i){let o=$A(i==null?void 0:i.ngZone,hx({eventCoalescing:i==null?void 0:i.ngZoneEventCoalescing,runCoalescing:i==null?void 0:i.ngZoneRunCoalescing}));return o.run(()=>{let s=i==null?void 0:i.ignoreChangesOutsideZone,a=Tk(t.moduleType,this.injector,[...N1({ngZoneFactory:()=>o,ignoreChangesOutsideZone:s}),{provide:Bo,useExisting:L1}]),l=a.injector.get(In,null);return o.runOutsideAngular(()=>{let c=o.onError.subscribe({next:d=>{l.handleError(d)}});a.onDestroy(()=>{hc(this._modules,a),c.unsubscribe()})}),T1(l,o,()=>{let c=a.injector.get(ux);return c.runInitializers(),c.donePromise.then(()=>{let d=a.injector.get(wd,Bc);return l1(d||Bc),this._moduleDoBootstrap(a),a})})})}bootstrapModule(t,i=[]){let o=fx({},i);return O1(this.injector,o,t).then(s=>this.bootstrapModuleFactory(s,o))}_moduleDoBootstrap(t){let i=t.injector.get(Tn);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(o=>i.bootstrap(o));else if(t.instance.ngDoBootstrap)t.instance.ngDoBootstrap(i);else throw new T(-403,!1);this._modules.push(t)}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new T(404,!1);this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i());let t=this._injector.get(mx,null);t&&(t.forEach(i=>i()),t.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}};e.\u0275fac=function(i){return new(i||e)(v(Ce))},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"platform"});let n=e;return n})(),Fr=null,gx=new E("");function V1(n){if(Fr&&!Fr.get(gx,!1))throw new T(400,!1);I1(),Fr=n;let e=n.get(px);return z1(n),e}function Km(n,e,r=[]){let t="Platform: ".concat(e),i=new E(t);return(o=[])=>{let s=bx();if(!s||s.injector.get(gx,!1)){let a=[...r,...o,{provide:i,useValue:!0}];n?n(a):V1(B1(a,t))}return U1(i)}}function B1(n=[],e){return Ce.create({name:e,providers:[{provide:Yc,useValue:"platform"},{provide:mx,useValue:new Set([()=>Fr=null])},...n]})}function U1(n){let e=bx();if(!e)throw new T(401,!1);return e}function bx(){var n;return(n=Fr==null?void 0:Fr.get(px))!=null?n:null}function z1(n){let e=n.get(wm,null);e==null||e.forEach(r=>r())}var Ne=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=H1;let n=e;return n})();function H1(n){return $1(yt(),me(),(n&16)===16)}function $1(n,e,r){if(Qc(n)&&!r){let t=Ji(n.index,e);return new $r(t,t)}else if(n.type&47){let t=e[rn];return new $r(t,e)}return null}var Xh=class{constructor(){}supports(e){return $0(e)}create(e){return new Jh(e)}},W1=(n,e)=>e,Jh=class{constructor(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||W1}forEachItem(e){let r;for(r=this._itHead;r!==null;r=r._next)e(r)}forEachOperation(e){let r=this._itHead,t=this._removalsHead,i=0,o=null;for(;r||t;){let s=!t||r&&r.currentIndex{s=this._trackByFn(i,a),r===null||!Object.is(r.trackById,s)?(r=this._mismatch(r,a,s,i),t=!0):(t&&(r=this._verifyReinsertion(r,a,s,i)),Object.is(r.item,a)||this._addIdentityChange(r,a)),r=r._next,i++}),this.length=i;return this._truncate(r),this.collection=e,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let e;for(e=this._previousItHead=this._itHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;e!==null;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;e!==null;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,r,t,i){let o;return e===null?o=this._itTail:(o=e._prev,this._remove(e)),e=this._unlinkedRecords===null?null:this._unlinkedRecords.get(t,null),e!==null?(Object.is(e.item,r)||this._addIdentityChange(e,r),this._reinsertAfter(e,o,i)):(e=this._linkedRecords===null?null:this._linkedRecords.get(t,i),e!==null?(Object.is(e.item,r)||this._addIdentityChange(e,r),this._moveAfter(e,o,i)):e=this._addAfter(new em(r,t),o,i)),e}_verifyReinsertion(e,r,t,i){let o=this._unlinkedRecords===null?null:this._unlinkedRecords.get(t,null);return o!==null?e=this._reinsertAfter(o,e._prev,i):e.currentIndex!=i&&(e.currentIndex=i,this._addToMoves(e,i)),e}_truncate(e){for(;e!==null;){let r=e._next;this._addToRemovals(this._unlink(e)),e=r}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(e,r,t){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(e);let i=e._prevRemoved,o=e._nextRemoved;return i===null?this._removalsHead=o:i._nextRemoved=o,o===null?this._removalsTail=i:o._prevRemoved=i,this._insertAfter(e,r,t),this._addToMoves(e,t),e}_moveAfter(e,r,t){return this._unlink(e),this._insertAfter(e,r,t),this._addToMoves(e,t),e}_addAfter(e,r,t){return this._insertAfter(e,r,t),this._additionsTail===null?this._additionsTail=this._additionsHead=e:this._additionsTail=this._additionsTail._nextAdded=e,e}_insertAfter(e,r,t){let i=r===null?this._itHead:r._next;return e._next=i,e._prev=r,i===null?this._itTail=e:i._prev=e,r===null?this._itHead=e:r._next=e,this._linkedRecords===null&&(this._linkedRecords=new Uc),this._linkedRecords.put(e),e.currentIndex=t,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){this._linkedRecords!==null&&this._linkedRecords.remove(e);let r=e._prev,t=e._next;return r===null?this._itHead=t:r._next=t,t===null?this._itTail=r:t._prev=r,e}_addToMoves(e,r){return e.previousIndex===r||(this._movesTail===null?this._movesTail=this._movesHead=e:this._movesTail=this._movesTail._nextMoved=e),e}_addToRemovals(e){return this._unlinkedRecords===null&&(this._unlinkedRecords=new Uc),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,r){return e.item=r,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=e:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=e,e}},em=class{constructor(e,r){this.item=e,this.trackById=r,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}},tm=class{constructor(){this._head=null,this._tail=null}add(e){this._head===null?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,r){let t;for(t=this._head;t!==null;t=t._nextDup)if((r===null||r<=t.currentIndex)&&Object.is(t.trackById,e))return t;return null}remove(e){let r=e._prevDup,t=e._nextDup;return r===null?this._head=t:r._nextDup=t,t===null?this._tail=r:t._prevDup=r,this._head===null}},Uc=class{constructor(){this.map=new Map}put(e){let r=e.trackById,t=this.map.get(r);t||(t=new tm,this.map.set(r,t)),t.add(e)}get(e,r){let t=e,i=this.map.get(t);return i?i.get(e,r):null}remove(e){let r=e.trackById;return this.map.get(r).remove(e)&&this.map.delete(r),e}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function x_(n,e,r){let t=n.previousIndex;if(t===null)return t;let i=0;return r&&t{let e=class e{constructor(t){this.factories=t}static create(t,i){if(i!=null){let o=i.factories.slice();t=t.concat(o)}return new e(t)}static extend(t){return{provide:e,useFactory:i=>e.create(t,i||w_()),deps:[[e,new om,new Wc]]}}find(t){let i=this.factories.find(o=>o.supports(t));if(i!=null)return i;throw new T(901,!1)}};e.\u0275prov=I({token:e,providedIn:"root",factory:w_});let n=e;return n})();var vx=Km(null,"core",[]),_x=(()=>{let e=class e{constructor(t){}};e.\u0275fac=function(i){return new(i||e)(v(Tn))},e.\u0275mod=V({type:e}),e.\u0275inj=L({});let n=e;return n})();function oe(n){return typeof n=="boolean"?n:n!=null&&n!=="false"}function ti(n,e=NaN){return!isNaN(parseFloat(n))&&!isNaN(Number(n))?Number(n):e}function Xm(n){let e=Ee(null);try{return n()}finally{Ee(e)}}var G1=new E("",{providedIn:"root",factory:()=>y(q1)}),q1=(()=>{let e=class e{};e.\u0275prov=I({token:e,providedIn:"root",factory:()=>new nm});let n=e;return n})(),nm=class{constructor(){this.queuedEffectCount=0,this.queues=new Map,this.pendingTasks=y(Kn),this.taskId=null}scheduleEffect(e){if(this.enqueue(e),this.taskId===null){let r=this.taskId=this.pendingTasks.add();queueMicrotask(()=>{this.flush(),this.pendingTasks.remove(r),this.taskId=null})}}enqueue(e){let r=e.creationZone;this.queues.has(r)||this.queues.set(r,new Set);let t=this.queues.get(r);t.has(e)||(this.queuedEffectCount++,t.add(e))}flush(){for(;this.queuedEffectCount>0;)for(let[e,r]of this.queues)e===null?this.flushQueue(r):e.run(()=>this.flushQueue(r))}flushQueue(e){for(let r of e)e.delete(r),this.queuedEffectCount--,r.run()}},im=class{constructor(e,r,t,i,o,s){this.scheduler=e,this.effectFn=r,this.creationZone=t,this.injector=o,this.watcher=iv(a=>this.runEffect(a),()=>this.schedule(),s),this.unregisterOnDestroy=i==null?void 0:i.onDestroy(()=>this.destroy())}runEffect(e){try{this.effectFn(e)}catch(r){let t=this.injector.get(In,null,{optional:!0});t==null||t.handleError(r)}}run(){this.watcher.run()}schedule(){this.scheduler.scheduleEffect(this)}destroy(){var e;this.watcher.destroy(),(e=this.unregisterOnDestroy)==null||e.call(this)}};function Jm(n,e){var s,a,l,c;tr("NgSignals"),!(e!=null&&e.injector)&&fm(Jm);let r=(s=e==null?void 0:e.injector)!=null?s:y(Ce),t=(e==null?void 0:e.manualCleanup)!==!0?r.get(Js):null,i=new im(r.get(G1),n,typeof Zone>"u"?null:Zone.current,t,r,(a=e==null?void 0:e.allowSignalWrites)!=null?a:!1),o=r.get(Ne,null,{optional:!0});return!o||!(o._lView[ee]&8)?i.watcher.notify():((c=(l=o._lView)[Oo])!=null?c:l[Oo]=[]).push(i.watcher.notify),i}function yx(n){let e=Yi(n);if(!e)return null;let r=new Uo(e);return{get selector(){return r.selector},get type(){return r.componentType},get inputs(){return r.inputs},get outputs(){return r.outputs},get ngContentSelectors(){return r.ngContentSelectors},get isStandalone(){return e.standalone},get isSignal(){return e.signals}}}var Dd=null;function ni(){return Dd}function Ix(n){Dd!=null||(Dd=n)}var Ed=class{};var W=new E(""),sp=(()=>{let e=class e{historyGo(t){throw new Error("")}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=I({token:e,factory:()=>y(Y1),providedIn:"platform"});let n=e;return n})(),Mx=new E(""),Y1=(()=>{let e=class e extends sp{constructor(){super(),this._doc=y(W),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return ni().getBaseHref(this._doc)}onPopState(t){let i=ni().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",t,!1),()=>i.removeEventListener("popstate",t)}onHashChange(t){let i=ni().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",t,!1),()=>i.removeEventListener("hashchange",t)}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(t){this._location.pathname=t}pushState(t,i,o){this._history.pushState(t,i,o)}replaceState(t,i,o){this._history.replaceState(t,i,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(t=0){this._history.go(t)}getState(){return this._history.state}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=I({token:e,factory:()=>new e,providedIn:"platform"});let n=e;return n})();function ap(n,e){if(n.length==0)return e;if(e.length==0)return n;let r=0;return n.endsWith("/")&&r++,e.startsWith("/")&&r++,r==2?n+e.substring(1):r==1?n+e:n+"/"+e}function xx(n){let e=n.match(/#|\?|$/),r=e&&e.index||n.length,t=r-(n[r-1]==="/"?1:0);return n.slice(0,t)+n.slice(r)}function Ei(n){return n&&n[0]!=="?"?"?"+n:n}var Ii=(()=>{let e=class e{historyGo(t){throw new Error("")}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=I({token:e,factory:()=>y(lp),providedIn:"root"});let n=e;return n})(),Sx=new E(""),lp=(()=>{let e=class e extends Ii{constructor(t,i){var o,s,a;super(),this._platformLocation=t,this._removeListenerFns=[],this._baseHref=(a=(s=i!=null?i:this._platformLocation.getBaseHrefFromDOM())!=null?s:(o=y(W).location)==null?void 0:o.origin)!=null?a:""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return ap(this._baseHref,t)}path(t=!1){let i=this._platformLocation.pathname+Ei(this._platformLocation.search),o=this._platformLocation.hash;return o&&t?"".concat(i).concat(o):i}pushState(t,i,o,s){let a=this.prepareExternalUrl(o+Ei(s));this._platformLocation.pushState(t,i,a)}replaceState(t,i,o,s){let a=this.prepareExternalUrl(o+Ei(s));this._platformLocation.replaceState(t,i,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){var i,o;(o=(i=this._platformLocation).historyGo)==null||o.call(i,t)}};e.\u0275fac=function(i){return new(i||e)(v(sp),v(Sx,8))},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})(),Tx=(()=>{let e=class e extends Ii{constructor(t,i){super(),this._platformLocation=t,this._baseHref="",this._removeListenerFns=[],i!=null&&(this._baseHref=i)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}path(t=!1){var o;let i=(o=this._platformLocation.hash)!=null?o:"#";return i.length>0?i.substring(1):i}prepareExternalUrl(t){let i=ap(this._baseHref,t);return i.length>0?"#"+i:i}pushState(t,i,o,s){let a=this.prepareExternalUrl(o+Ei(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.pushState(t,i,a)}replaceState(t,i,o,s){let a=this.prepareExternalUrl(o+Ei(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.replaceState(t,i,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){var i,o;(o=(i=this._platformLocation).historyGo)==null||o.call(i,t)}};e.\u0275fac=function(i){return new(i||e)(v(sp),v(Sx,8))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let n=e;return n})(),ii=(()=>{let e=class e{constructor(t){this._subject=new $,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=t;let i=this._locationStrategy.getBaseHref();this._basePath=K1(xx(wx(i))),this._locationStrategy.onPopState(o=>{this._subject.emit({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){var t;(t=this._urlChangeSubscription)==null||t.unsubscribe(),this._urlChangeListeners=[]}path(t=!1){return this.normalize(this._locationStrategy.path(t))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(t,i=""){return this.path()==this.normalize(t+Ei(i))}normalize(t){return e.stripTrailingSlash(Q1(this._basePath,wx(t)))}prepareExternalUrl(t){return t&&t[0]!=="/"&&(t="/"+t),this._locationStrategy.prepareExternalUrl(t)}go(t,i="",o=null){this._locationStrategy.pushState(o,"",t,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+Ei(i)),o)}replaceState(t,i="",o=null){this._locationStrategy.replaceState(o,"",t,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+Ei(i)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(t=0){var i,o;(o=(i=this._locationStrategy).historyGo)==null||o.call(i,t)}onUrlChange(t){var i;return this._urlChangeListeners.push(t),(i=this._urlChangeSubscription)!=null||(this._urlChangeSubscription=this.subscribe(o=>{this._notifyUrlChangeListeners(o.url,o.state)})),()=>{var s;let o=this._urlChangeListeners.indexOf(t);this._urlChangeListeners.splice(o,1),this._urlChangeListeners.length===0&&((s=this._urlChangeSubscription)==null||s.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(t="",i){this._urlChangeListeners.forEach(o=>o(t,i))}subscribe(t,i,o){return this._subject.subscribe({next:t,error:i,complete:o})}};e.normalizeQueryParams=Ei,e.joinWithSlash=ap,e.stripTrailingSlash=xx,e.\u0275fac=function(i){return new(i||e)(v(Ii))},e.\u0275prov=I({token:e,factory:()=>Z1(),providedIn:"root"});let n=e;return n})();function Z1(){return new ii(v(Ii))}function Q1(n,e){if(!n||!e.startsWith(n))return e;let r=e.substring(n.length);return r===""||["/",";","?","#"].includes(r[0])?r:e}function wx(n){return n.replace(/\/index.html$/,"")}function K1(n){if(new RegExp("^(https?:)?//").test(n)){let[,r]=n.split(/\/\/[^\/]+/);return r}return n}function Md(n,e){e=encodeURIComponent(e);for(let r of n.split(";")){let t=r.indexOf("="),[i,o]=t==-1?[r,""]:[r.slice(0,t),r.slice(t+1)];if(i.trim()===e)return decodeURIComponent(o)}return null}var tp=/\s+/,Cx=[],Qo=(()=>{let e=class e{constructor(t,i){this._ngEl=t,this._renderer=i,this.initialClasses=Cx,this.stateMap=new Map}set klass(t){this.initialClasses=t!=null?t.trim().split(tp):Cx}set ngClass(t){this.rawClass=typeof t=="string"?t.trim().split(tp):t}ngDoCheck(){for(let i of this.initialClasses)this._updateState(i,!0);let t=this.rawClass;if(Array.isArray(t)||t instanceof Set)for(let i of t)this._updateState(i,!0);else if(t!=null)for(let i of Object.keys(t))this._updateState(i,!!t[i]);this._applyStateDiff()}_updateState(t,i){let o=this.stateMap.get(t);o!==void 0?(o.enabled!==i&&(o.changed=!0,o.enabled=i),o.touched=!0):this.stateMap.set(t,{enabled:i,changed:!0,touched:!0})}_applyStateDiff(){for(let t of this.stateMap){let i=t[0],o=t[1];o.changed?(this._toggleClass(i,o.enabled),o.changed=!1):o.touched||(o.enabled&&this._toggleClass(i,!1),this.stateMap.delete(i)),o.touched=!1}}_toggleClass(t,i){t=t.trim(),t.length>0&&t.split(tp).forEach(o=>{i?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}};e.\u0275fac=function(i){return new(i||e)(h(P),h(er))},e.\u0275dir=N({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"},standalone:!0});let n=e;return n})();var np=class{constructor(e,r,t,i){this.$implicit=e,this.ngForOf=r,this.index=t,this.count=i}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},It=(()=>{let e=class e{set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}constructor(t,i,o){this._viewContainer=t,this._template=i,this._differs=o,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let t=this._ngForOf;if(!this._differ&&t)if(0)try{}catch{}else this._differ=this._differs.find(t).create(this.ngForTrackBy)}if(this._differ){let t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){let i=this._viewContainer;t.forEachOperation((o,s,a)=>{if(o.previousIndex==null)i.createEmbeddedView(this._template,new np(o.item,this._ngForOf,-1,-1),a===null?void 0:a);else if(a==null)i.remove(s===null?void 0:s);else if(s!==null){let l=i.get(s);i.move(l,a),Dx(l,o)}});for(let o=0,s=i.length;o{let s=i.get(o.currentIndex);Dx(s,o)})}static ngTemplateContextGuard(t,i){return!0}};e.\u0275fac=function(i){return new(i||e)(h(lt),h(pt),h(Cd))},e.\u0275dir=N({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0});let n=e;return n})();function Dx(n,e){n.context.$implicit=e.item}var Mt=(()=>{let e=class e{constructor(t,i){this._viewContainer=t,this._context=new ip,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=i}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){Ex("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){Ex("ngIfElse",t),this._elseTemplateRef=t,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(t,i){return!0}};e.\u0275fac=function(i){return new(i||e)(h(lt),h(pt))},e.\u0275dir=N({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0});let n=e;return n})(),ip=class{constructor(){this.$implicit=null,this.ngIf=null}};function Ex(n,e){if(!!!(!e||e.createEmbeddedView))throw new Error("".concat(n," must be a TemplateRef, but received '").concat(Ot(e),"'."))}var Ax=(()=>{let e=class e{constructor(t){this._viewContainerRef=t,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(t){var i;if(this._shouldRecreateView(t)){let o=this._viewContainerRef;if(this._viewRef&&o.remove(o.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let s=this._createContextForwardProxy();this._viewRef=o.createEmbeddedView(this.ngTemplateOutlet,s,{injector:(i=this.ngTemplateOutletInjector)!=null?i:void 0})}}_shouldRecreateView(t){return!!t.ngTemplateOutlet||!!t.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(t,i,o)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,i,o):!1,get:(t,i,o)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,i,o)}})}};e.\u0275fac=function(i){return new(i||e)(h(lt))},e.\u0275dir=N({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[We]});let n=e;return n})();var ri=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=V({type:e}),e.\u0275inj=L({});let n=e;return n})(),cp="browser",X1="server";function dp(n){return n===cp}function Sd(n){return n===X1}var kx=(()=>{let e=class e{};e.\u0275prov=I({token:e,providedIn:"root",factory:()=>dp(y(ln))?new rp(y(W),window):new op});let n=e;return n})(),rp=class{constructor(e,r){this.document=e,this.window=r,this.offset=()=>[0,0]}setOffset(e){Array.isArray(e)?this.offset=()=>e:this.offset=e}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(e){this.window.scrollTo(e[0],e[1])}scrollToAnchor(e){let r=J1(this.document,e);r&&(this.scrollToElement(r),r.focus())}setHistoryScrollRestoration(e){this.window.history.scrollRestoration=e}scrollToElement(e){let r=e.getBoundingClientRect(),t=r.left+this.window.pageXOffset,i=r.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(t-o[0],i-o[1])}};function J1(n,e){let r=n.getElementById(e)||n.getElementsByName(e)[0];if(r)return r;if(typeof n.createTreeWalker=="function"&&n.body&&typeof n.body.attachShadow=="function"){let t=n.createTreeWalker(n.body,NodeFilter.SHOW_ELEMENT),i=t.currentNode;for(;i;){let o=i.shadowRoot;if(o){let s=o.getElementById(e)||o.querySelector('[name="'.concat(e,'"]'));if(s)return s}i=t.nextNode()}}return null}var op=class{setOffset(e){}getScrollPosition(){return[0,0]}scrollToPosition(e){}scrollToAnchor(e){}setHistoryScrollRestoration(e){}},Zo=class{};var la=class{},Ad=class{},Mi=class n{constructor(e){this.normalizedNames=new Map,this.lazyUpdate=null,e?typeof e=="string"?this.lazyInit=()=>{this.headers=new Map,e.split("\n").forEach(r=>{let t=r.indexOf(":");if(t>0){let i=r.slice(0,t),o=i.toLowerCase(),s=r.slice(t+1).trim();this.maybeSetNormalizedName(i,o),this.headers.has(o)?this.headers.get(o).push(s):this.headers.set(o,[s])}})}:typeof Headers<"u"&&e instanceof Headers?(this.headers=new Map,e.forEach((r,t)=>{this.setHeaderEntries(t,r)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(e).forEach(([r,t])=>{this.setHeaderEntries(r,t)})}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();let r=this.headers.get(e.toLowerCase());return r&&r.length>0?r[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,r){return this.clone({name:e,value:r,op:"a"})}set(e,r){return this.clone({name:e,value:r,op:"s"})}delete(e,r){return this.clone({name:e,value:r,op:"d"})}maybeSetNormalizedName(e,r){this.normalizedNames.has(r)||this.normalizedNames.set(r,e)}init(){this.lazyInit&&(this.lazyInit instanceof n?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(e=>this.applyUpdate(e)),this.lazyUpdate=null))}copyFrom(e){e.init(),Array.from(e.headers.keys()).forEach(r=>{this.headers.set(r,e.headers.get(r)),this.normalizedNames.set(r,e.normalizedNames.get(r))})}clone(e){let r=new n;return r.lazyInit=this.lazyInit&&this.lazyInit instanceof n?this.lazyInit:this,r.lazyUpdate=(this.lazyUpdate||[]).concat([e]),r}applyUpdate(e){let r=e.name.toLowerCase();switch(e.op){case"a":case"s":let t=e.value;if(typeof t=="string"&&(t=[t]),t.length===0)return;this.maybeSetNormalizedName(e.name,r);let i=(e.op==="a"?this.headers.get(r):void 0)||[];i.push(...t),this.headers.set(r,i);break;case"d":let o=e.value;if(!o)this.headers.delete(r),this.normalizedNames.delete(r);else{let s=this.headers.get(r);if(!s)return;s=s.filter(a=>o.indexOf(a)===-1),s.length===0?(this.headers.delete(r),this.normalizedNames.delete(r)):this.headers.set(r,s)}break}}setHeaderEntries(e,r){let t=(Array.isArray(r)?r:[r]).map(o=>o.toString()),i=e.toLowerCase();this.headers.set(i,t),this.maybeSetNormalizedName(e,i)}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(r=>e(this.normalizedNames.get(r),this.headers.get(r)))}};var fp=class{encodeKey(e){return Ox(e)}encodeValue(e){return Ox(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}};function eO(n,e){let r=new Map;return n.length>0&&n.replace(/^\?/,"").split("&").forEach(i=>{let o=i.indexOf("="),[s,a]=o==-1?[e.decodeKey(i),""]:[e.decodeKey(i.slice(0,o)),e.decodeValue(i.slice(o+1))],l=r.get(s)||[];l.push(a),r.set(s,l)}),r}var tO=/%(\d[a-f0-9])/gi,nO={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Ox(n){return encodeURIComponent(n).replace(tO,(e,r)=>{var t;return(t=nO[r])!=null?t:e})}function Td(n){return"".concat(n)}var ir=class n{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new fp,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=eO(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(r=>{let t=e.fromObject[r],i=Array.isArray(t)?t.map(Td):[Td(t)];this.map.set(r,i)})):this.map=null}has(e){return this.init(),this.map.has(e)}get(e){this.init();let r=this.map.get(e);return r?r[0]:null}getAll(e){return this.init(),this.map.get(e)||null}keys(){return this.init(),Array.from(this.map.keys())}append(e,r){return this.clone({param:e,value:r,op:"a"})}appendAll(e){let r=[];return Object.keys(e).forEach(t=>{let i=e[t];Array.isArray(i)?i.forEach(o=>{r.push({param:t,value:o,op:"a"})}):r.push({param:t,value:i,op:"a"})}),this.clone(r)}set(e,r){return this.clone({param:e,value:r,op:"s"})}delete(e,r){return this.clone({param:e,value:r,op:"d"})}toString(){return this.init(),this.keys().map(e=>{let r=this.encoder.encodeKey(e);return this.map.get(e).map(t=>r+"="+this.encoder.encodeValue(t)).join("&")}).filter(e=>e!=="").join("&")}clone(e){let r=new n({encoder:this.encoder});return r.cloneFrom=this.cloneFrom||this,r.updates=(this.updates||[]).concat(e),r}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(e=>this.map.set(e,this.cloneFrom.map.get(e))),this.updates.forEach(e=>{switch(e.op){case"a":case"s":let r=(e.op==="a"?this.map.get(e.param):void 0)||[];r.push(Td(e.value)),this.map.set(e.param,r);break;case"d":if(e.value!==void 0){let t=this.map.get(e.param)||[],i=t.indexOf(Td(e.value));i!==-1&&t.splice(i,1),t.length>0?this.map.set(e.param,t):this.map.delete(e.param)}else{this.map.delete(e.param);break}}}),this.cloneFrom=this.updates=null)}};var hp=class{constructor(){this.map=new Map}set(e,r){return this.map.set(e,r),this}get(e){return this.map.has(e)||this.map.set(e,e.defaultValue()),this.map.get(e)}delete(e){return this.map.delete(e),this}has(e){return this.map.has(e)}keys(){return this.map.keys()}};function iO(n){switch(n){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function Rx(n){return typeof ArrayBuffer<"u"&&n instanceof ArrayBuffer}function Nx(n){return typeof Blob<"u"&&n instanceof Blob}function Px(n){return typeof FormData<"u"&&n instanceof FormData}function rO(n){return typeof URLSearchParams<"u"&&n instanceof URLSearchParams}var aa=class n{constructor(e,r,t,i){var s,a;this.url=r,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase();let o;if(iO(this.method)||i?(this.body=t!==void 0?t:null,o=i):o=t,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),this.transferCache=o.transferCache),(s=this.headers)!=null||(this.headers=new Mi),(a=this.context)!=null||(this.context=new hp),!this.params)this.params=new ir,this.urlWithParams=r;else{let l=this.params.toString();if(l.length===0)this.urlWithParams=r;else{let c=r.indexOf("?"),d=c===-1?"?":cC.set(S,e.setHeaders[S]),c)),e.setParams&&(d=Object.keys(e.setParams).reduce((C,S)=>C.set(S,e.setParams[S]),d)),new n(r,t,s,{params:d,headers:c,context:u,reportProgress:l,responseType:i,withCredentials:a,transferCache:o})}},rr=function(n){return n[n.Sent=0]="Sent",n[n.UploadProgress=1]="UploadProgress",n[n.ResponseHeader=2]="ResponseHeader",n[n.DownloadProgress=3]="DownloadProgress",n[n.Response=4]="Response",n[n.User=5]="User",n}(rr||{}),ca=class{constructor(e,r=200,t="OK"){this.headers=e.headers||new Mi,this.status=e.status!==void 0?e.status:r,this.statusText=e.statusText||t,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}},kd=class n extends ca{constructor(e={}){super(e),this.type=rr.ResponseHeader}clone(e={}){return new n({headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},da=class n extends ca{constructor(e={}){super(e),this.type=rr.Response,this.body=e.body!==void 0?e.body:null}clone(e={}){return new n({body:e.body!==void 0?e.body:this.body,headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},nr=class extends ca{constructor(e){super(e,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.status>=200&&this.status<300?this.message="Http failure during parsing for ".concat(e.url||"(unknown url)"):this.message="Http failure response for ".concat(e.url||"(unknown url)",": ").concat(e.status," ").concat(e.statusText),this.error=e.error||null}},Bx=200,oO=204;function up(n,e){return{body:e,headers:n.headers,context:n.context,observe:n.observe,params:n.params,reportProgress:n.reportProgress,responseType:n.responseType,withCredentials:n.withCredentials,transferCache:n.transferCache}}var gp=(()=>{let e=class e{constructor(t){this.handler=t}request(t,i,o={}){let s;if(t instanceof aa)s=t;else{let c;o.headers instanceof Mi?c=o.headers:c=new Mi(o.headers);let d;o.params&&(o.params instanceof ir?d=o.params:d=new ir({fromObject:o.params})),s=new aa(t,i,o.body!==void 0?o.body:null,{headers:c,context:o.context,params:d,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache})}let a=H(s).pipe(pi(c=>this.handler.handle(c)));if(t instanceof aa||o.observe==="events")return a;let l=a.pipe(le(c=>c instanceof da));switch(o.observe||"body"){case"body":switch(s.responseType){case"arraybuffer":return l.pipe(K(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return c.body}));case"blob":return l.pipe(K(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new Error("Response is not a Blob.");return c.body}));case"text":return l.pipe(K(c=>{if(c.body!==null&&typeof c.body!="string")throw new Error("Response is not a string.");return c.body}));case"json":default:return l.pipe(K(c=>c.body))}case"response":return l;default:throw new Error("Unreachable: unhandled observe type ".concat(o.observe,"}"))}}delete(t,i={}){return this.request("DELETE",t,i)}get(t,i={}){return this.request("GET",t,i)}head(t,i={}){return this.request("HEAD",t,i)}jsonp(t,i){return this.request("JSONP",t,{params:new ir().append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,i={}){return this.request("OPTIONS",t,i)}patch(t,i,o={}){return this.request("PATCH",t,up(o,i))}post(t,i,o={}){return this.request("POST",t,up(o,i))}put(t,i,o={}){return this.request("PUT",t,up(o,i))}};e.\u0275fac=function(i){return new(i||e)(v(la))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let n=e;return n})(),sO=/^\)\]\}',?\n/,aO="X-Request-URL";function Fx(n){if(n.url)return n.url;let e=aO.toLocaleLowerCase();return n.headers.get(e)}var lO=(()=>{let e=class e{constructor(){var t,i;this.fetchImpl=(i=(t=y(mp,{optional:!0}))==null?void 0:t.fetch)!=null?i:fetch.bind(globalThis),this.ngZone=y(k)}handle(t){return new se(i=>{let o=new AbortController;return this.doRequest(t,o.signal,i).then(pp,s=>i.error(new nr({error:s}))),()=>o.abort()})}doRequest(t,i,o){return ke(this,null,function*(){var g,_,C,S;let s=this.createRequestInit(t),a;try{let B=this.fetchImpl(t.urlWithParams,D({signal:i},s));cO(B),o.next({type:rr.Sent}),a=yield B}catch(B){o.error(new nr({error:B,status:(g=B.status)!=null?g:0,statusText:B.statusText,url:t.urlWithParams,headers:B.headers}));return}let l=new Mi(a.headers),c=a.statusText,d=(_=Fx(a))!=null?_:t.urlWithParams,u=a.status,f=null;if(t.reportProgress&&o.next(new kd({headers:l,status:u,statusText:c,url:d})),a.body){let B=a.headers.get("content-length"),ve=[],q=a.body.getReader(),$e=0,be,pe,st=typeof Zone<"u"&&Zone.current;yield this.ngZone.runOutsideAngular(()=>ke(this,null,function*(){for(;;){let{done:bt,value:Fi}=yield q.read();if(bt)break;if(ve.push(Fi),$e+=Fi.length,t.reportProgress){pe=t.responseType==="text"?(pe!=null?pe:"")+(be!=null?be:be=new TextDecoder).decode(Fi,{stream:!0}):void 0;let Li=()=>o.next({type:rr.DownloadProgress,total:B?+B:void 0,loaded:$e,partialText:pe});st?st.run(Li):Li()}}}));let At=this.concatChunks(ve,$e);try{let bt=(C=a.headers.get("Content-Type"))!=null?C:"";f=this.parseBody(t,At,bt)}catch(bt){o.error(new nr({error:bt,headers:new Mi(a.headers),status:a.status,statusText:a.statusText,url:(S=Fx(a))!=null?S:t.urlWithParams}));return}}u===0&&(u=f?Bx:0),u>=200&&u<300?(o.next(new da({body:f,headers:l,status:u,statusText:c,url:d})),o.complete()):o.error(new nr({error:f,headers:l,status:u,statusText:c,url:d}))})}parseBody(t,i,o){switch(t.responseType){case"json":let s=new TextDecoder().decode(i).replace(sO,"");return s===""?null:JSON.parse(s);case"text":return new TextDecoder().decode(i);case"blob":return new Blob([i],{type:o});case"arraybuffer":return i.buffer}}createRequestInit(t){var s;let i={},o=t.withCredentials?"include":void 0;if(t.headers.forEach((a,l)=>i[a]=l.join(",")),(s=i.Accept)!=null||(i.Accept="application/json, text/plain, */*"),!i["Content-Type"]){let a=t.detectContentTypeHeader();a!==null&&(i["Content-Type"]=a)}return{body:t.serializeBody(),method:t.method,headers:i,credentials:o}}concatChunks(t,i){let o=new Uint8Array(i),s=0;for(let a of t)o.set(a,s),s+=a.length;return o}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac});let n=e;return n})(),mp=class{};function pp(){}function cO(n){n.then(pp,pp)}function Ux(n,e){return e(n)}function dO(n,e){return(r,t)=>e.intercept(r,{handle:i=>n(i,t)})}function uO(n,e,r){return(t,i)=>Vt(r,()=>e(t,o=>n(o,i)))}var fO=new E(""),bp=new E(""),hO=new E(""),zx=new E("",{providedIn:"root",factory:()=>!0});function mO(){let n=null;return(e,r)=>{var o;n===null&&(n=((o=y(fO,{optional:!0}))!=null?o:[]).reduceRight(dO,Ux));let t=y(Kn);if(y(zx)){let s=t.add();return n(e,r).pipe($i(()=>t.remove(s)))}else return n(e,r)}}var Lx=(()=>{let e=class e extends la{constructor(t,i){super(),this.backend=t,this.injector=i,this.chain=null,this.pendingTasks=y(Kn),this.contributeToStability=y(zx)}handle(t){if(this.chain===null){let i=Array.from(new Set([...this.injector.get(bp),...this.injector.get(hO,[])]));this.chain=i.reduceRight((o,s)=>uO(o,s,this.injector),Ux)}if(this.contributeToStability){let i=this.pendingTasks.add();return this.chain(t,o=>this.backend.handle(o)).pipe($i(()=>this.pendingTasks.remove(i)))}else return this.chain(t,i=>this.backend.handle(i))}};e.\u0275fac=function(i){return new(i||e)(v(Ad),v(mt))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let n=e;return n})();var pO=/^\)\]\}',?\n/;function gO(n){return"responseURL"in n&&n.responseURL?n.responseURL:/^X-Request-URL:/m.test(n.getAllResponseHeaders())?n.getResponseHeader("X-Request-URL"):null}var jx=(()=>{let e=class e{constructor(t){this.xhrFactory=t}handle(t){if(t.method==="JSONP")throw new T(-2800,!1);let i=this.xhrFactory;return(i.\u0275loadImpl?je(i.\u0275loadImpl()):H(null)).pipe(it(()=>new se(s=>{let a=i.build();if(a.open(t.method,t.urlWithParams),t.withCredentials&&(a.withCredentials=!0),t.headers.forEach((C,S)=>a.setRequestHeader(C,S.join(","))),t.headers.has("Accept")||a.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){let C=t.detectContentTypeHeader();C!==null&&a.setRequestHeader("Content-Type",C)}if(t.responseType){let C=t.responseType.toLowerCase();a.responseType=C!=="json"?C:"text"}let l=t.serializeBody(),c=null,d=()=>{if(c!==null)return c;let C=a.statusText||"OK",S=new Mi(a.getAllResponseHeaders()),B=gO(a)||t.url;return c=new kd({headers:S,status:a.status,statusText:C,url:B}),c},u=()=>{let{headers:C,status:S,statusText:B,url:ve}=d(),q=null;S!==oO&&(q=typeof a.response>"u"?a.responseText:a.response),S===0&&(S=q?Bx:0);let $e=S>=200&&S<300;if(t.responseType==="json"&&typeof q=="string"){let be=q;q=q.replace(pO,"");try{q=q!==""?JSON.parse(q):null}catch(pe){q=be,$e&&($e=!1,q={error:pe,text:q})}}$e?(s.next(new da({body:q,headers:C,status:S,statusText:B,url:ve||void 0})),s.complete()):s.error(new nr({error:q,headers:C,status:S,statusText:B,url:ve||void 0}))},f=C=>{let{url:S}=d(),B=new nr({error:C,status:a.status||0,statusText:a.statusText||"Unknown Error",url:S||void 0});s.error(B)},m=!1,g=C=>{m||(s.next(d()),m=!0);let S={type:rr.DownloadProgress,loaded:C.loaded};C.lengthComputable&&(S.total=C.total),t.responseType==="text"&&a.responseText&&(S.partialText=a.responseText),s.next(S)},_=C=>{let S={type:rr.UploadProgress,loaded:C.loaded};C.lengthComputable&&(S.total=C.total),s.next(S)};return a.addEventListener("load",u),a.addEventListener("error",f),a.addEventListener("timeout",f),a.addEventListener("abort",f),t.reportProgress&&(a.addEventListener("progress",g),l!==null&&a.upload&&a.upload.addEventListener("progress",_)),a.send(l),s.next({type:rr.Sent}),()=>{a.removeEventListener("error",f),a.removeEventListener("abort",f),a.removeEventListener("load",u),a.removeEventListener("timeout",f),t.reportProgress&&(a.removeEventListener("progress",g),l!==null&&a.upload&&a.upload.removeEventListener("progress",_)),a.readyState!==a.DONE&&a.abort()}})))}};e.\u0275fac=function(i){return new(i||e)(v(Zo))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let n=e;return n})(),Hx=new E(""),bO="XSRF-TOKEN",vO=new E("",{providedIn:"root",factory:()=>bO}),_O="X-XSRF-TOKEN",yO=new E("",{providedIn:"root",factory:()=>_O}),Od=class{},xO=(()=>{let e=class e{constructor(t,i,o){this.doc=t,this.platform=i,this.cookieName=o,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if(this.platform==="server")return null;let t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=Md(t,this.cookieName),this.lastCookieString=t),this.lastToken}};e.\u0275fac=function(i){return new(i||e)(v(W),v(ln),v(vO))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let n=e;return n})();function wO(n,e){let r=n.url.toLowerCase();if(!y(Hx)||n.method==="GET"||n.method==="HEAD"||r.startsWith("http://")||r.startsWith("https://"))return e(n);let t=y(Od).getToken(),i=y(yO);return t!=null&&!n.headers.has(i)&&(n=n.clone({headers:n.headers.set(i,t)})),e(n)}var $x=function(n){return n[n.Interceptors=0]="Interceptors",n[n.LegacyInterceptors=1]="LegacyInterceptors",n[n.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",n[n.NoXsrfProtection=3]="NoXsrfProtection",n[n.JsonpSupport=4]="JsonpSupport",n[n.RequestsMadeViaParent=5]="RequestsMadeViaParent",n[n.Fetch=6]="Fetch",n}($x||{});function CO(n,e){return{\u0275kind:n,\u0275providers:e}}function Wx(...n){let e=[gp,jx,Lx,{provide:la,useExisting:Lx},{provide:Ad,useFactory:()=>{var r;return(r=y(lO,{optional:!0}))!=null?r:y(jx)}},{provide:bp,useValue:wO,multi:!0},{provide:Hx,useValue:!0},{provide:Od,useClass:xO}];for(let r of n)e.push(...r.\u0275providers);return qc(e)}var Vx=new E("");function Gx(){return CO($x.LegacyInterceptors,[{provide:Vx,useFactory:mO},{provide:bp,useExisting:Vx,multi:!0}])}var yp=class extends Ed{constructor(){super(...arguments),this.supportsDOMEvents=!0}},xp=class n extends yp{static makeCurrent(){Ix(new n)}onAndCancel(e,r,t){return e.addEventListener(r,t),()=>{e.removeEventListener(r,t)}}dispatchEvent(e,r){e.dispatchEvent(r)}remove(e){e.parentNode&&e.parentNode.removeChild(e)}createElement(e,r){return r=r||this.getDefaultDocument(),r.createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,r){return r==="window"?window:r==="document"?e:r==="body"?e.body:null}getBaseHref(e){let r=EO();return r==null?null:IO(r)}resetBaseElement(){ua=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return Md(document.cookie,e)}},ua=null;function EO(){return ua=ua||document.querySelector("base"),ua?ua.getAttribute("href"):null}function IO(n){return new URL(n,document.baseURI).pathname}var wp=class{addToWindow(e){Rt.getAngularTestability=(t,i=!0)=>{let o=e.findTestabilityInTree(t,i);if(o==null)throw new T(5103,!1);return o},Rt.getAllAngularTestabilities=()=>e.getAllTestabilities(),Rt.getAllAngularRootElements=()=>e.getAllRootElements();let r=t=>{let i=Rt.getAllAngularTestabilities(),o=i.length,s=function(){o--,o==0&&t()};i.forEach(a=>{a.whenStable(s)})};Rt.frameworkStabilizers||(Rt.frameworkStabilizers=[]),Rt.frameworkStabilizers.push(r)}findTestabilityInTree(e,r,t){if(r==null)return null;let i=e.getTestability(r);return i!=null?i:t?ni().isShadowRoot(r)?this.findTestabilityInTree(e,r.host,!0):this.findTestabilityInTree(e,r.parentElement,!0):null}},MO=(()=>{let e=class e{build(){return new XMLHttpRequest}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac});let n=e;return n})(),Cp=new E(""),Zx=(()=>{let e=class e{constructor(t,i){this._zone=i,this._eventNameToPlugin=new Map,t.forEach(o=>{o.manager=this}),this._plugins=t.slice().reverse()}addEventListener(t,i,o){return this._findPluginFor(i).addEventListener(t,i,o)}getZone(){return this._zone}_findPluginFor(t){let i=this._eventNameToPlugin.get(t);if(i)return i;if(i=this._plugins.find(s=>s.supports(t)),!i)throw new T(5101,!1);return this._eventNameToPlugin.set(t,i),i}};e.\u0275fac=function(i){return new(i||e)(v(Cp),v(k))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let n=e;return n})(),Rd=class{constructor(e){this._doc=e}},vp="ng-app-id",Qx=(()=>{let e=class e{constructor(t,i,o,s={}){this.doc=t,this.appId=i,this.nonce=o,this.platformId=s,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=Sd(s),this.resetHostNodes()}addStyles(t){for(let i of t)this.changeUsageCount(i,1)===1&&this.onStyleAdded(i)}removeStyles(t){for(let i of t)this.changeUsageCount(i,-1)<=0&&this.onStyleRemoved(i)}ngOnDestroy(){let t=this.styleNodesInDOM;t&&(t.forEach(i=>i.remove()),t.clear());for(let i of this.getAllStyles())this.onStyleRemoved(i);this.resetHostNodes()}addHost(t){this.hostNodes.add(t);for(let i of this.getAllStyles())this.addStyleToHost(t,i)}removeHost(t){this.hostNodes.delete(t)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(t){for(let i of this.hostNodes)this.addStyleToHost(i,t)}onStyleRemoved(t){var o,s;let i=this.styleRef;(s=(o=i.get(t))==null?void 0:o.elements)==null||s.forEach(a=>a.remove()),i.delete(t)}collectServerRenderedStyles(){var i;let t=(i=this.doc.head)==null?void 0:i.querySelectorAll("style[".concat(vp,'="').concat(this.appId,'"]'));if(t!=null&&t.length){let o=new Map;return t.forEach(s=>{s.textContent!=null&&o.set(s.textContent,s)}),o}return null}changeUsageCount(t,i){let o=this.styleRef;if(o.has(t)){let s=o.get(t);return s.usage+=i,s.usage}return o.set(t,{usage:i,elements:[]}),i}getStyleElement(t,i){let o=this.styleNodesInDOM,s=o==null?void 0:o.get(i);if((s==null?void 0:s.parentNode)===t)return o.delete(i),s.removeAttribute(vp),s;{let a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=i,this.platformIsServer&&a.setAttribute(vp,this.appId),t.appendChild(a),a}}addStyleToHost(t,i){var l;let o=this.getStyleElement(t,i),s=this.styleRef,a=(l=s.get(i))==null?void 0:l.elements;a?a.push(o):s.set(i,{elements:[o],usage:1})}resetHostNodes(){let t=this.hostNodes;t.clear(),t.add(this.doc.head)}};e.\u0275fac=function(i){return new(i||e)(v(W),v(Go),v(ea,8),v(ln))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let n=e;return n})(),_p={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},Ep=/%COMP%/g,Kx="%COMP%",SO="_nghost-".concat(Kx),TO="_ngcontent-".concat(Kx),AO=!0,kO=new E("",{providedIn:"root",factory:()=>AO});function OO(n){return TO.replace(Ep,n)}function RO(n){return SO.replace(Ep,n)}function Xx(n,e){return e.map(r=>r.replace(Ep,n))}var Nd=(()=>{let e=class e{constructor(t,i,o,s,a,l,c,d=null){this.eventManager=t,this.sharedStylesHost=i,this.appId=o,this.removeStylesOnCompDestroy=s,this.doc=a,this.platformId=l,this.ngZone=c,this.nonce=d,this.rendererByCompId=new Map,this.platformIsServer=Sd(l),this.defaultRenderer=new fa(t,a,c,this.platformIsServer)}createRenderer(t,i){if(!t||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===Wn.ShadowDom&&(i=_e(D({},i),{encapsulation:Wn.Emulated}));let o=this.getOrCreateRenderer(t,i);return o instanceof Pd?o.applyToHost(t):o instanceof ha&&o.applyStyles(),o}getOrCreateRenderer(t,i){let o=this.rendererByCompId,s=o.get(i.id);if(!s){let a=this.doc,l=this.ngZone,c=this.eventManager,d=this.sharedStylesHost,u=this.removeStylesOnCompDestroy,f=this.platformIsServer;switch(i.encapsulation){case Wn.Emulated:s=new Pd(c,d,i,this.appId,u,a,l,f);break;case Wn.ShadowDom:return new Dp(c,d,t,i,a,l,this.nonce,f);default:s=new ha(c,d,i,u,a,l,f);break}o.set(i.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}};e.\u0275fac=function(i){return new(i||e)(v(Zx),v(Qx),v(Go),v(kO),v(W),v(ln),v(k),v(ea))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let n=e;return n})(),fa=class{constructor(e,r,t,i){this.eventManager=e,this.doc=r,this.ngZone=t,this.platformIsServer=i,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(e,r){return r?this.doc.createElementNS(_p[r]||r,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,r){(qx(e)?e.content:e).appendChild(r)}insertBefore(e,r,t){e&&(qx(e)?e.content:e).insertBefore(r,t)}removeChild(e,r){e&&e.removeChild(r)}selectRootElement(e,r){let t=typeof e=="string"?this.doc.querySelector(e):e;if(!t)throw new T(-5104,!1);return r||(t.textContent=""),t}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,r,t,i){if(i){r=i+":"+r;let o=_p[i];o?e.setAttributeNS(o,r,t):e.setAttribute(r,t)}else e.setAttribute(r,t)}removeAttribute(e,r,t){if(t){let i=_p[t];i?e.removeAttributeNS(i,r):e.removeAttribute("".concat(t,":").concat(r))}else e.removeAttribute(r)}addClass(e,r){e.classList.add(r)}removeClass(e,r){e.classList.remove(r)}setStyle(e,r,t,i){i&(vi.DashCase|vi.Important)?e.style.setProperty(r,t,i&vi.Important?"important":""):e.style[r]=t}removeStyle(e,r,t){t&vi.DashCase?e.style.removeProperty(r):e.style[r]=""}setProperty(e,r,t){e!=null&&(e[r]=t)}setValue(e,r){e.nodeValue=r}listen(e,r,t){if(typeof e=="string"&&(e=ni().getGlobalEventTarget(this.doc,e),!e))throw new Error("Unsupported event target ".concat(e," for event ").concat(r));return this.eventManager.addEventListener(e,r,this.decoratePreventDefault(t))}decoratePreventDefault(e){return r=>{if(r==="__ngUnwrap__")return e;(this.platformIsServer?this.ngZone.runGuarded(()=>e(r)):e(r))===!1&&r.preventDefault()}}};function qx(n){return n.tagName==="TEMPLATE"&&n.content!==void 0}var Dp=class extends fa{constructor(e,r,t,i,o,s,a,l){super(e,o,s,l),this.sharedStylesHost=r,this.hostEl=t,this.shadowRoot=t.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let c=Xx(i.id,i.styles);for(let d of c){let u=document.createElement("style");a&&u.setAttribute("nonce",a),u.textContent=d,this.shadowRoot.appendChild(u)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,r){return super.appendChild(this.nodeOrShadowRoot(e),r)}insertBefore(e,r,t){return super.insertBefore(this.nodeOrShadowRoot(e),r,t)}removeChild(e,r){return super.removeChild(this.nodeOrShadowRoot(e),r)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},ha=class extends fa{constructor(e,r,t,i,o,s,a,l){super(e,o,s,a),this.sharedStylesHost=r,this.removeStylesOnCompDestroy=i,this.styles=l?Xx(l,t.styles):t.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},Pd=class extends ha{constructor(e,r,t,i,o,s,a,l){let c=i+"-"+t.id;super(e,r,t,o,s,a,l,c),this.contentAttr=OO(c),this.hostAttr=RO(c)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,r){let t=super.createElement(e,r);return super.setAttribute(t,this.contentAttr,""),t}},NO=(()=>{let e=class e extends Rd{constructor(t){super(t)}supports(t){return!0}addEventListener(t,i,o){return t.addEventListener(i,o,!1),()=>this.removeEventListener(t,i,o)}removeEventListener(t,i,o){return t.removeEventListener(i,o)}};e.\u0275fac=function(i){return new(i||e)(v(W))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let n=e;return n})(),Yx=["alt","control","meta","shift"],PO={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},FO={alt:n=>n.altKey,control:n=>n.ctrlKey,meta:n=>n.metaKey,shift:n=>n.shiftKey},LO=(()=>{let e=class e extends Rd{constructor(t){super(t)}supports(t){return e.parseEventName(t)!=null}addEventListener(t,i,o){let s=e.parseEventName(i),a=e.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>ni().onAndCancel(t,s.domEventName,a))}static parseEventName(t){let i=t.toLowerCase().split("."),o=i.shift();if(i.length===0||!(o==="keydown"||o==="keyup"))return null;let s=e._normalizeKey(i.pop()),a="",l=i.indexOf("code");if(l>-1&&(i.splice(l,1),a="code."),Yx.forEach(d=>{let u=i.indexOf(d);u>-1&&(i.splice(u,1),a+=d+".")}),a+=s,i.length!=0||s.length===0)return null;let c={};return c.domEventName=o,c.fullKey=a,c}static matchEventFullKeyCode(t,i){let o=PO[t.key]||t.key,s="";return i.indexOf("code.")>-1&&(o=t.code,s="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),Yx.forEach(a=>{if(a!==o){let l=FO[a];l(t)&&(s+=a+".")}}),s+=o,s===i)}static eventCallback(t,i,o){return s=>{e.matchEventFullKeyCode(s,t)&&o.runGuarded(()=>i(s))}}static _normalizeKey(t){return t==="esc"?"escape":t}};e.\u0275fac=function(i){return new(i||e)(v(W))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let n=e;return n})();function jO(){xp.makeCurrent()}function VO(){return new In}function BO(){return Vy(document),document}var UO=[{provide:ln,useValue:cp},{provide:wm,useValue:jO,multi:!0},{provide:W,useFactory:BO,deps:[]}],Jx=Km(vx,"browser",UO),zO=new E(""),HO=[{provide:sa,useClass:wp,deps:[]},{provide:Qm,useClass:bd,deps:[k,vd,sa]},{provide:bd,useClass:bd,deps:[k,vd,sa]}],$O=[{provide:Yc,useValue:"root"},{provide:In,useFactory:VO,deps:[]},{provide:Cp,useClass:NO,multi:!0,deps:[W,k,ln]},{provide:Cp,useClass:LO,multi:!0,deps:[W]},Nd,Qx,Zx,{provide:Ki,useExisting:Nd},{provide:Zo,useClass:MO,deps:[]},[]],Fd=(()=>{let e=class e{constructor(t){}static withServerTransition(t){return{ngModule:e,providers:[{provide:Go,useValue:t.appId}]}}};e.\u0275fac=function(i){return new(i||e)(v(zO,12))},e.\u0275mod=V({type:e}),e.\u0275inj=L({providers:[...$O,...HO],imports:[ri,_x]});let n=e;return n})();var ew=(()=>{let e=class e{constructor(t){this._doc=t}getTitle(){return this._doc.title}setTitle(t){this._doc.title=t||""}};e.\u0275fac=function(i){return new(i||e)(v(W))},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();var Ip=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=I({token:e,factory:function(i){let o=null;return i?o=new(i||e):o=v(WO),o},providedIn:"root"});let n=e;return n})(),WO=(()=>{let e=class e extends Ip{constructor(t){super(),this._doc=t}sanitize(t,i){if(i==null)return null;switch(t){case Sn.NONE:return i;case Sn.HTML:return Ci(i,"HTML")?cn(i):Dm(this._doc,String(i)).toString();case Sn.STYLE:return Ci(i,"Style")?cn(i):i;case Sn.SCRIPT:if(Ci(i,"Script"))return cn(i);throw new T(5200,!1);case Sn.URL:return Ci(i,"URL")?cn(i):od(String(i));case Sn.RESOURCE_URL:if(Ci(i,"ResourceURL"))return cn(i);throw new T(5201,!1);default:throw new T(5202,!1)}}bypassSecurityTrustHtml(t){return Hy(t)}bypassSecurityTrustStyle(t){return $y(t)}bypassSecurityTrustScript(t){return Wy(t)}bypassSecurityTrustUrl(t){return Gy(t)}bypassSecurityTrustResourceUrl(t){return qy(t)}};e.\u0275fac=function(i){return new(i||e)(v(W))},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();function oi(n){return n!=null&&"".concat(n)!=="false"}function Si(n,e=0){return GO(n)?Number(n):e}function GO(n){return!isNaN(parseFloat(n))&&!isNaN(Number(n))}function Ko(n){return Array.isArray(n)?n:[n]}function rt(n){return n==null?"":typeof n=="string"?n:"".concat(n,"px")}function un(n){return n instanceof P?n.nativeElement:n}var Tp;try{Tp=typeof Intl<"u"&&Intl.v8BreakIterator}catch{Tp=!1}var xe=(()=>{let e=class e{constructor(t){this._platformId=t,this.isBrowser=this._platformId?dp(this._platformId):typeof document=="object"&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!!(window.chrome||Tp)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}};e.\u0275fac=function(i){return new(i||e)(v(ln))},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();var Xo,tw=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function Ap(){if(Xo)return Xo;if(typeof document!="object"||!document)return Xo=new Set(tw),Xo;let n=document.createElement("input");return Xo=new Set(tw.filter(e=>(n.setAttribute("type",e),n.type===e))),Xo}var ma;function qO(){if(ma==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>ma=!0}))}finally{ma=ma||!1}return ma}function fn(n){return qO()?n:!!n.capture}var An=function(n){return n[n.NORMAL=0]="NORMAL",n[n.NEGATED=1]="NEGATED",n[n.INVERTED=2]="INVERTED",n}(An||{}),Ld,Zr;function jd(){if(Zr==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return Zr=!1,Zr;if("scrollBehavior"in document.documentElement.style)Zr=!0;else{let n=Element.prototype.scrollTo;n?Zr=!/\{\s*\[native code\]\s*\}/.test(n.toString()):Zr=!1}}return Zr}function Jo(){if(typeof document!="object"||!document)return An.NORMAL;if(Ld==null){let n=document.createElement("div"),e=n.style;n.dir="rtl",e.width="1px",e.overflow="auto",e.visibility="hidden",e.pointerEvents="none",e.position="absolute";let r=document.createElement("div"),t=r.style;t.width="2px",t.height="1px",n.appendChild(r),document.body.appendChild(n),Ld=An.NORMAL,n.scrollLeft===0&&(n.scrollLeft=1,Ld=n.scrollLeft===0?An.NEGATED:An.INVERTED),n.remove()}return Ld}var Sp;function YO(){if(Sp==null){let n=typeof document<"u"?document.head:null;Sp=!!(n&&(n.createShadowRoot||n.attachShadow))}return Sp}function nw(n){if(YO()){let e=n.getRootNode?n.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&e instanceof ShadowRoot)return e}return null}function pa(){let n=typeof document<"u"&&document?document.activeElement:null;for(;n&&n.shadowRoot;){let e=n.shadowRoot.activeElement;if(e===n)break;n=e}return n}function Gt(n){return n.composedPath?n.composedPath()[0]:n.target}function ga(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}var ow=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=V({type:e}),e.\u0275inj=L({});let n=e;return n})(),iw=new Set,Qr,ZO=(()=>{let e=class e{constructor(t,i){this._platform=t,this._nonce=i,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):KO}matchMedia(t){return(this._platform.WEBKIT||this._platform.BLINK)&&QO(t,this._nonce),this._matchMedia(t)}};e.\u0275fac=function(i){return new(i||e)(v(xe),v(ea,8))},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();function QO(n,e){if(!iw.has(n))try{Qr||(Qr=document.createElement("style"),e&&Qr.setAttribute("nonce",e),Qr.setAttribute("type","text/css"),document.head.appendChild(Qr)),Qr.sheet&&(Qr.sheet.insertRule("@media ".concat(n," {body{ }}"),0),iw.add(n))}catch(r){console.error(r)}}function KO(n){return{matches:n==="all"||n==="",media:n,addListener:()=>{},removeListener:()=>{}}}var sw=(()=>{let e=class e{constructor(t,i){this._mediaMatcher=t,this._zone=i,this._queries=new Map,this._destroySubject=new A}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(t){return rw(Ko(t)).some(o=>this._registerQuery(o).mql.matches)}observe(t){let o=rw(Ko(t)).map(a=>this._registerQuery(a).observable),s=kr(o);return s=Vn(s.pipe(Ve(1)),s.pipe(Vs(1),Or(0))),s.pipe(K(a=>{let l={matches:!1,breakpoints:{}};return a.forEach(({matches:c,query:d})=>{l.matches=l.matches||c,l.breakpoints[d]=c}),l}))}_registerQuery(t){if(this._queries.has(t))return this._queries.get(t);let i=this._mediaMatcher.matchMedia(t),s={observable:new se(a=>{let l=c=>this._zone.run(()=>a.next(c));return i.addListener(l),()=>{i.removeListener(l)}}).pipe(at(i),K(({matches:a})=>({query:t,matches:a})),Ie(this._destroySubject)),mql:i};return this._queries.set(t,s),s}};e.\u0275fac=function(i){return new(i||e)(v(ZO),v(k))},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();function rw(n){return n.map(e=>e.split(",")).reduce((e,r)=>e.concat(r)).map(e=>e.trim())}var ge="primary",ka=Symbol("RouteTitle"),Pp=class{constructor(e){this.params=e||{}}has(e){return Object.prototype.hasOwnProperty.call(this.params,e)}get(e){if(this.has(e)){let r=this.params[e];return Array.isArray(r)?r[0]:r}return null}getAll(e){if(this.has(e)){let r=this.params[e];return Array.isArray(r)?r:[r]}return[]}get keys(){return Object.keys(this.params)}};function os(n){return new Pp(n)}function XO(n,e,r){let t=r.path.split("/");if(t.length>n.length||r.pathMatch==="full"&&(e.hasChildren()||t.lengtht[o]===i)}else return n===e}function vw(n){return n.length>0?n[n.length-1]:null}function ar(n){return Ls(n)?n:Yr(n)?je(Promise.resolve(n)):H(n)}var eR={exact:yw,subset:xw},_w={exact:tR,subset:nR,ignored:()=>!0};function aw(n,e,r){return eR[r.paths](n.root,e.root,r.matrixParams)&&_w[r.queryParams](n.queryParams,e.queryParams)&&!(r.fragment==="exact"&&n.fragment!==e.fragment)}function tR(n,e){return si(n,e)}function yw(n,e,r){if(!Xr(n.segments,e.segments)||!Ud(n.segments,e.segments,r)||n.numberOfChildren!==e.numberOfChildren)return!1;for(let t in e.children)if(!n.children[t]||!yw(n.children[t],e.children[t],r))return!1;return!0}function nR(n,e){return Object.keys(e).length<=Object.keys(n).length&&Object.keys(e).every(r=>bw(n[r],e[r]))}function xw(n,e,r){return ww(n,e,e.segments,r)}function ww(n,e,r,t){if(n.segments.length>r.length){let i=n.segments.slice(0,r.length);return!(!Xr(i,r)||e.hasChildren()||!Ud(i,r,t))}else if(n.segments.length===r.length){if(!Xr(n.segments,r)||!Ud(n.segments,r,t))return!1;for(let i in e.children)if(!n.children[i]||!xw(n.children[i],e.children[i],t))return!1;return!0}else{let i=r.slice(0,n.segments.length),o=r.slice(n.segments.length);return!Xr(n.segments,i)||!Ud(n.segments,i,t)||!n.children[ge]?!1:ww(n.children[ge],e,o,t)}}function Ud(n,e,r){return e.every((t,i)=>_w[r](n[i].parameters,t.parameters))}var or=class{constructor(e=new Pe([],{}),r={},t=null){this.root=e,this.queryParams=r,this.fragment=t}get queryParamMap(){var e;return(e=this._queryParamMap)!=null||(this._queryParamMap=os(this.queryParams)),this._queryParamMap}toString(){return oR.serialize(this)}},Pe=class{constructor(e,r){this.segments=e,this.children=r,this.parent=null,Object.values(r).forEach(t=>t.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return zd(this)}},Kr=class{constructor(e,r){this.path=e,this.parameters=r}get parameterMap(){var e;return(e=this._parameterMap)!=null||(this._parameterMap=os(this.parameters)),this._parameterMap}toString(){return Dw(this)}};function iR(n,e){return Xr(n,e)&&n.every((r,t)=>si(r.parameters,e[t].parameters))}function Xr(n,e){return n.length!==e.length?!1:n.every((r,t)=>r.path===e[t].path)}function rR(n,e){let r=[];return Object.entries(n.children).forEach(([t,i])=>{t===ge&&(r=r.concat(e(i,t)))}),Object.entries(n.children).forEach(([t,i])=>{t!==ge&&(r=r.concat(e(i,t)))}),r}var Oa=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=I({token:e,factory:()=>new ss,providedIn:"root"});let n=e;return n})(),ss=class{parse(e){let r=new jp(e);return new or(r.parseRootSegment(),r.parseQueryParams(),r.parseFragment())}serialize(e){let r="/".concat(ba(e.root,!0)),t=lR(e.queryParams),i=typeof e.fragment=="string"?"#".concat(sR(e.fragment)):"";return"".concat(r).concat(t).concat(i)}},oR=new ss;function zd(n){return n.segments.map(e=>Dw(e)).join("/")}function ba(n,e){if(!n.hasChildren())return zd(n);if(e){let r=n.children[ge]?ba(n.children[ge],!1):"",t=[];return Object.entries(n.children).forEach(([i,o])=>{i!==ge&&t.push("".concat(i,":").concat(ba(o,!1)))}),t.length>0?"".concat(r,"(").concat(t.join("//"),")"):r}else{let r=rR(n,(t,i)=>i===ge?[ba(n.children[ge],!1)]:["".concat(i,":").concat(ba(t,!1))]);return Object.keys(n.children).length===1&&n.children[ge]!=null?"".concat(zd(n),"/").concat(r[0]):"".concat(zd(n),"/(").concat(r.join("//"),")")}}function Cw(n){return encodeURIComponent(n).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Vd(n){return Cw(n).replace(/%3B/gi,";")}function sR(n){return encodeURI(n)}function Lp(n){return Cw(n).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Hd(n){return decodeURIComponent(n)}function lw(n){return Hd(n.replace(/\+/g,"%20"))}function Dw(n){return"".concat(Lp(n.path)).concat(aR(n.parameters))}function aR(n){return Object.entries(n).map(([e,r])=>";".concat(Lp(e),"=").concat(Lp(r))).join("")}function lR(n){let e=Object.entries(n).map(([r,t])=>Array.isArray(t)?t.map(i=>"".concat(Vd(r),"=").concat(Vd(i))).join("&"):"".concat(Vd(r),"=").concat(Vd(t))).filter(r=>r);return e.length?"?".concat(e.join("&")):""}var cR=/^[^\/()?;#]+/;function kp(n){let e=n.match(cR);return e?e[0]:""}var dR=/^[^\/()?;=#]+/;function uR(n){let e=n.match(dR);return e?e[0]:""}var fR=/^[^=?&#]+/;function hR(n){let e=n.match(fR);return e?e[0]:""}var mR=/^[^&#]+/;function pR(n){let e=n.match(mR);return e?e[0]:""}var jp=class{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new Pe([],{}):new Pe([],this.parseChildren())}parseQueryParams(){let e={};if(this.consumeOptional("?"))do this.parseQueryParam(e);while(this.consumeOptional("&"));return e}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let r={};this.peekStartsWith("/(")&&(this.capture("/"),r=this.parseParens(!0));let t={};return this.peekStartsWith("(")&&(t=this.parseParens(!1)),(e.length>0||Object.keys(r).length>0)&&(t[ge]=new Pe(e,r)),t}parseSegment(){let e=kp(this.remaining);if(e===""&&this.peekStartsWith(";"))throw new T(4009,!1);return this.capture(e),new Kr(Hd(e),this.parseMatrixParams())}parseMatrixParams(){let e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){let r=uR(this.remaining);if(!r)return;this.capture(r);let t="";if(this.consumeOptional("=")){let i=kp(this.remaining);i&&(t=i,this.capture(t))}e[Hd(r)]=Hd(t)}parseQueryParam(e){let r=hR(this.remaining);if(!r)return;this.capture(r);let t="";if(this.consumeOptional("=")){let s=pR(this.remaining);s&&(t=s,this.capture(t))}let i=lw(r),o=lw(t);if(e.hasOwnProperty(i)){let s=e[i];Array.isArray(s)||(s=[s],e[i]=s),s.push(o)}else e[i]=o}parseParens(e){let r={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let t=kp(this.remaining),i=this.remaining[t.length];if(i!=="/"&&i!==")"&&i!==";")throw new T(4010,!1);let o;t.indexOf(":")>-1?(o=t.slice(0,t.indexOf(":")),this.capture(o),this.capture(":")):e&&(o=ge);let s=this.parseChildren();r[o]=Object.keys(s).length===1?s[ge]:new Pe([],s),this.consumeOptional("//")}return r}peekStartsWith(e){return this.remaining.startsWith(e)}consumeOptional(e){return this.peekStartsWith(e)?(this.remaining=this.remaining.substring(e.length),!0):!1}capture(e){if(!this.consumeOptional(e))throw new T(4011,!1)}};function Ew(n){return n.segments.length>0?new Pe([],{[ge]:n}):n}function Iw(n){let e={};for(let[t,i]of Object.entries(n.children)){let o=Iw(i);if(t===ge&&o.segments.length===0&&o.hasChildren())for(let[s,a]of Object.entries(o.children))e[s]=a;else(o.segments.length>0||o.hasChildren())&&(e[t]=o)}let r=new Pe(n.segments,e);return gR(r)}function gR(n){if(n.numberOfChildren===1&&n.children[ge]){let e=n.children[ge];return new Pe(n.segments.concat(e.segments),e.children)}return n}function Ca(n){return n instanceof or}function bR(n,e,r=null,t=null){let i=Mw(n);return Sw(i,e,r,t)}function Mw(n){let e;function r(o){let s={};for(let l of o.children){let c=r(l);s[l.outlet]=c}let a=new Pe(o.url,s);return o===n&&(e=a),a}let t=r(n.root),i=Ew(t);return e!=null?e:i}function Sw(n,e,r,t){let i=n;for(;i.parent;)i=i.parent;if(e.length===0)return Op(i,i,i,r,t);let o=vR(e);if(o.toRoot())return Op(i,i,new Pe([],{}),r,t);let s=_R(o,i,n),a=s.processChildren?ya(s.segmentGroup,s.index,o.commands):Aw(s.segmentGroup,s.index,o.commands);return Op(i,s.segmentGroup,a,r,t)}function $d(n){return typeof n=="object"&&n!=null&&!n.outlets&&!n.segmentPath}function Da(n){return typeof n=="object"&&n!=null&&n.outlets}function Op(n,e,r,t,i){let o={};t&&Object.entries(t).forEach(([l,c])=>{o[l]=Array.isArray(c)?c.map(d=>"".concat(d)):"".concat(c)});let s;n===e?s=r:s=Tw(n,e,r);let a=Ew(Iw(s));return new or(a,o,i)}function Tw(n,e,r){let t={};return Object.entries(n.children).forEach(([i,o])=>{o===e?t[i]=r:t[i]=Tw(o,e,r)}),new Pe(n.segments,t)}var Wd=class{constructor(e,r,t){if(this.isAbsolute=e,this.numberOfDoubleDots=r,this.commands=t,e&&t.length>0&&$d(t[0]))throw new T(4003,!1);let i=t.find(Da);if(i&&i!==vw(t))throw new T(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function vR(n){if(typeof n[0]=="string"&&n.length===1&&n[0]==="/")return new Wd(!0,0,n);let e=0,r=!1,t=n.reduce((i,o,s)=>{if(typeof o=="object"&&o!=null){if(o.outlets){let a={};return Object.entries(o.outlets).forEach(([l,c])=>{a[l]=typeof c=="string"?c.split("/"):c}),[...i,{outlets:a}]}if(o.segmentPath)return[...i,o.segmentPath]}return typeof o!="string"?[...i,o]:s===0?(o.split("/").forEach((a,l)=>{l==0&&a==="."||(l==0&&a===""?r=!0:a===".."?e++:a!=""&&i.push(a))}),i):[...i,o]},[]);return new Wd(r,e,t)}var ns=class{constructor(e,r,t){this.segmentGroup=e,this.processChildren=r,this.index=t}};function _R(n,e,r){if(n.isAbsolute)return new ns(e,!0,0);if(!r)return new ns(e,!1,NaN);if(r.parent===null)return new ns(r,!0,0);let t=$d(n.commands[0])?0:1,i=r.segments.length-1+t;return yR(r,i,n.numberOfDoubleDots)}function yR(n,e,r){let t=n,i=e,o=r;for(;o>i;){if(o-=i,t=t.parent,!t)throw new T(4005,!1);i=t.segments.length}return new ns(t,!1,i-o)}function xR(n){return Da(n[0])?n[0].outlets:{[ge]:n}}function Aw(n,e,r){if(n!=null||(n=new Pe([],{})),n.segments.length===0&&n.hasChildren())return ya(n,e,r);let t=wR(n,e,r),i=r.slice(t.commandIndex);if(t.match&&t.pathIndexo!==ge)&&n.children[ge]&&n.numberOfChildren===1&&n.children[ge].segments.length===0){let o=ya(n.children[ge],e,r);return new Pe(n.segments,o.children)}return Object.entries(t).forEach(([o,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(i[o]=Aw(n.children[o],e,s))}),Object.entries(n.children).forEach(([o,s])=>{t[o]===void 0&&(i[o]=s)}),new Pe(n.segments,i)}}function wR(n,e,r){let t=0,i=e,o={match:!1,pathIndex:0,commandIndex:0};for(;i=r.length)return o;let s=n.segments[i],a=r[t];if(Da(a))break;let l="".concat(a),c=t0&&l===void 0)break;if(l&&c&&typeof c=="object"&&c.outlets===void 0){if(!dw(l,c,s))return o;t+=2}else{if(!dw(l,{},s))return o;t++}i++}return{match:!0,pathIndex:i,commandIndex:t}}function Vp(n,e,r){let t=n.segments.slice(0,e),i=0;for(;i{typeof t=="string"&&(t=[t]),t!==null&&(e[r]=Vp(new Pe([],{}),0,t))}),e}function cw(n){let e={};return Object.entries(n).forEach(([r,t])=>e[r]="".concat(t)),e}function dw(n,e,r){return n==r.path&&si(e,r.parameters)}var xa="imperative",gt=function(n){return n[n.NavigationStart=0]="NavigationStart",n[n.NavigationEnd=1]="NavigationEnd",n[n.NavigationCancel=2]="NavigationCancel",n[n.NavigationError=3]="NavigationError",n[n.RoutesRecognized=4]="RoutesRecognized",n[n.ResolveStart=5]="ResolveStart",n[n.ResolveEnd=6]="ResolveEnd",n[n.GuardsCheckStart=7]="GuardsCheckStart",n[n.GuardsCheckEnd=8]="GuardsCheckEnd",n[n.RouteConfigLoadStart=9]="RouteConfigLoadStart",n[n.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",n[n.ChildActivationStart=11]="ChildActivationStart",n[n.ChildActivationEnd=12]="ChildActivationEnd",n[n.ActivationStart=13]="ActivationStart",n[n.ActivationEnd=14]="ActivationEnd",n[n.Scroll=15]="Scroll",n[n.NavigationSkipped=16]="NavigationSkipped",n}(gt||{}),hn=class{constructor(e,r){this.id=e,this.url=r}},as=class extends hn{constructor(e,r,t="imperative",i=null){super(e,r),this.type=gt.NavigationStart,this.navigationTrigger=t,this.restoredState=i}toString(){return"NavigationStart(id: ".concat(this.id,", url: '").concat(this.url,"')")}},ai=class extends hn{constructor(e,r,t){super(e,r),this.urlAfterRedirects=t,this.type=gt.NavigationEnd}toString(){return"NavigationEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"')")}},Yt=function(n){return n[n.Redirect=0]="Redirect",n[n.SupersededByNewNavigation=1]="SupersededByNewNavigation",n[n.NoDataFromResolver=2]="NoDataFromResolver",n[n.GuardRejected=3]="GuardRejected",n}(Yt||{}),Gd=function(n){return n[n.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",n[n.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",n}(Gd||{}),Ti=class extends hn{constructor(e,r,t,i){super(e,r),this.reason=t,this.code=i,this.type=gt.NavigationCancel}toString(){return"NavigationCancel(id: ".concat(this.id,", url: '").concat(this.url,"')")}},sr=class extends hn{constructor(e,r,t,i){super(e,r),this.reason=t,this.code=i,this.type=gt.NavigationSkipped}},Ea=class extends hn{constructor(e,r,t,i){super(e,r),this.error=t,this.target=i,this.type=gt.NavigationError}toString(){return"NavigationError(id: ".concat(this.id,", url: '").concat(this.url,"', error: ").concat(this.error,")")}},qd=class extends hn{constructor(e,r,t,i){super(e,r),this.urlAfterRedirects=t,this.state=i,this.type=gt.RoutesRecognized}toString(){return"RoutesRecognized(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}},Bp=class extends hn{constructor(e,r,t,i){super(e,r),this.urlAfterRedirects=t,this.state=i,this.type=gt.GuardsCheckStart}toString(){return"GuardsCheckStart(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}},Up=class extends hn{constructor(e,r,t,i,o){super(e,r),this.urlAfterRedirects=t,this.state=i,this.shouldActivate=o,this.type=gt.GuardsCheckEnd}toString(){return"GuardsCheckEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,", shouldActivate: ").concat(this.shouldActivate,")")}},zp=class extends hn{constructor(e,r,t,i){super(e,r),this.urlAfterRedirects=t,this.state=i,this.type=gt.ResolveStart}toString(){return"ResolveStart(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}},Hp=class extends hn{constructor(e,r,t,i){super(e,r),this.urlAfterRedirects=t,this.state=i,this.type=gt.ResolveEnd}toString(){return"ResolveEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}},$p=class{constructor(e){this.route=e,this.type=gt.RouteConfigLoadStart}toString(){return"RouteConfigLoadStart(path: ".concat(this.route.path,")")}},Wp=class{constructor(e){this.route=e,this.type=gt.RouteConfigLoadEnd}toString(){return"RouteConfigLoadEnd(path: ".concat(this.route.path,")")}},Gp=class{constructor(e){this.snapshot=e,this.type=gt.ChildActivationStart}toString(){let e=this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"";return"ChildActivationStart(path: '".concat(e,"')")}},qp=class{constructor(e){this.snapshot=e,this.type=gt.ChildActivationEnd}toString(){let e=this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"";return"ChildActivationEnd(path: '".concat(e,"')")}},Yp=class{constructor(e){this.snapshot=e,this.type=gt.ActivationStart}toString(){let e=this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"";return"ActivationStart(path: '".concat(e,"')")}},Zp=class{constructor(e){this.snapshot=e,this.type=gt.ActivationEnd}toString(){let e=this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"";return"ActivationEnd(path: '".concat(e,"')")}},Yd=class{constructor(e,r,t){this.routerEvent=e,this.position=r,this.anchor=t,this.type=gt.Scroll}toString(){let e=this.position?"".concat(this.position[0],", ").concat(this.position[1]):null;return"Scroll(anchor: '".concat(this.anchor,"', position: '").concat(e,"')")}},Ia=class{},ls=class{constructor(e,r){this.url=e,this.navigationBehaviorOptions=r}};var Qp=class{constructor(e){this.injector=e,this.outlet=null,this.route=null,this.children=new Ra(this.injector),this.attachRef=null}},Ra=(()=>{let e=class e{constructor(t){this.parentInjector=t,this.contexts=new Map}onChildOutletCreated(t,i){let o=this.getOrCreateContext(t);o.outlet=i,this.contexts.set(t,o)}onChildOutletDestroyed(t){let i=this.getContext(t);i&&(i.outlet=null,i.attachRef=null)}onOutletDeactivated(){let t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let i=this.getContext(t);return i||(i=new Qp(this.parentInjector),this.contexts.set(t,i)),i}getContext(t){return this.contexts.get(t)||null}};e.\u0275fac=function(i){return new(i||e)(v(mt))},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})(),Zd=class{constructor(e){this._root=e}get root(){return this._root.value}parent(e){let r=this.pathFromRoot(e);return r.length>1?r[r.length-2]:null}children(e){let r=Kp(e,this._root);return r?r.children.map(t=>t.value):[]}firstChild(e){let r=Kp(e,this._root);return r&&r.children.length>0?r.children[0].value:null}siblings(e){let r=Xp(e,this._root);return r.length<2?[]:r[r.length-2].children.map(i=>i.value).filter(i=>i!==e)}pathFromRoot(e){return Xp(e,this._root).map(r=>r.value)}};function Kp(n,e){if(n===e.value)return e;for(let r of e.children){let t=Kp(n,r);if(t)return t}return null}function Xp(n,e){if(n===e.value)return[e];for(let r of e.children){let t=Xp(n,r);if(t.length)return t.unshift(e),t}return[]}var qt=class{constructor(e,r){this.value=e,this.children=r}toString(){return"TreeNode(".concat(this.value,")")}};function ts(n){let e={};return n&&n.children.forEach(r=>e[r.value.outlet]=r),e}var Qd=class extends Zd{constructor(e,r){super(e),this.snapshot=r,ag(this,e)}toString(){return this.snapshot.toString()}};function kw(n){let e=DR(n),r=new dt([new Kr("",{})]),t=new dt({}),i=new dt({}),o=new dt({}),s=new dt(""),a=new Ai(r,t,o,s,i,ge,n,e.root);return a.snapshot=e.root,new Qd(new qt(a,[]),e)}function DR(n){let e={},r={},t={},i="",o=new is([],e,t,i,r,ge,n,null,{});return new Xd("",new qt(o,[]))}var Ai=class{constructor(e,r,t,i,o,s,a,l){var c,d;this.urlSubject=e,this.paramsSubject=r,this.queryParamsSubject=t,this.fragmentSubject=i,this.dataSubject=o,this.outlet=s,this.component=a,this._futureSnapshot=l,this.title=(d=(c=this.dataSubject)==null?void 0:c.pipe(K(u=>u[ka])))!=null?d:H(void 0),this.url=e,this.params=r,this.queryParams=t,this.fragment=i,this.data=o}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){var e;return(e=this._paramMap)!=null||(this._paramMap=this.params.pipe(K(r=>os(r)))),this._paramMap}get queryParamMap(){var e;return(e=this._queryParamMap)!=null||(this._queryParamMap=this.queryParams.pipe(K(r=>os(r)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():"Future(".concat(this._futureSnapshot,")")}};function Kd(n,e,r="emptyOnly"){var o,s;let t,{routeConfig:i}=n;return e!==null&&(r==="always"||(i==null?void 0:i.path)===""||!e.component&&!((o=e.routeConfig)!=null&&o.loadComponent))?t={params:D(D({},e.params),n.params),data:D(D({},e.data),n.data),resolve:D(D(D(D({},n.data),e.data),i==null?void 0:i.data),n._resolvedData)}:t={params:D({},n.params),data:D({},n.data),resolve:D(D({},n.data),(s=n._resolvedData)!=null?s:{})},i&&Rw(i)&&(t.resolve[ka]=i.title),t}var is=class{get title(){var e;return(e=this.data)==null?void 0:e[ka]}constructor(e,r,t,i,o,s,a,l,c){this.url=e,this.params=r,this.queryParams=t,this.fragment=i,this.data=o,this.outlet=s,this.component=a,this.routeConfig=l,this._resolve=c}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){var e;return(e=this._paramMap)!=null||(this._paramMap=os(this.params)),this._paramMap}get queryParamMap(){var e;return(e=this._queryParamMap)!=null||(this._queryParamMap=os(this.queryParams)),this._queryParamMap}toString(){let e=this.url.map(t=>t.toString()).join("/"),r=this.routeConfig?this.routeConfig.path:"";return"Route(url:'".concat(e,"', path:'").concat(r,"')")}},Xd=class extends Zd{constructor(e,r){super(r),this.url=e,ag(this,r)}toString(){return Ow(this._root)}};function ag(n,e){e.value._routerState=n,e.children.forEach(r=>ag(n,r))}function Ow(n){let e=n.children.length>0?" { ".concat(n.children.map(Ow).join(", ")," } "):"";return"".concat(n.value).concat(e)}function Rp(n){if(n.snapshot){let e=n.snapshot,r=n._futureSnapshot;n.snapshot=r,si(e.queryParams,r.queryParams)||n.queryParamsSubject.next(r.queryParams),e.fragment!==r.fragment&&n.fragmentSubject.next(r.fragment),si(e.params,r.params)||n.paramsSubject.next(r.params),JO(e.url,r.url)||n.urlSubject.next(r.url),si(e.data,r.data)||n.dataSubject.next(r.data)}else n.snapshot=n._futureSnapshot,n.dataSubject.next(n._futureSnapshot.data)}function Jp(n,e){let r=si(n.params,e.params)&&iR(n.url,e.url),t=!n.parent!=!e.parent;return r&&!t&&(!n.parent||Jp(n.parent,e.parent))}function Rw(n){return typeof n.title=="string"||n.title===null}var lg=(()=>{let e=class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=ge,this.activateEvents=new $,this.deactivateEvents=new $,this.attachEvents=new $,this.detachEvents=new $,this.parentContexts=y(Ra),this.location=y(lt),this.changeDetector=y(Ne),this.inputBinder=y(iu,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(t){if(t.name){let{firstChange:i,previousValue:o}=t.name;if(i)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),this.initializeOutletWithName()}}ngOnDestroy(){var t;this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),(t=this.inputBinder)==null||t.unsubscribeFromRouteData(this)}isTrackedInParentContexts(t){var i;return((i=this.parentContexts.getContext(t))==null?void 0:i.outlet)===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let t=this.parentContexts.getContext(this.name);t!=null&&t.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new T(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new T(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new T(4012,!1);this.location.detach();let t=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(t.instance),t}attach(t,i){var o;this.activated=t,this._activatedRoute=i,this.location.insert(t.hostView),(o=this.inputBinder)==null||o.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(t.instance)}deactivate(){if(this.activated){let t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,i){var d;if(this.isActivated)throw new T(4013,!1);this._activatedRoute=t;let o=this.location,a=t.snapshot.component,l=this.parentContexts.getOrCreateContext(this.name).children,c=new eg(t,l,o.injector);this.activated=o.createComponent(a,{index:o.length,injector:c,environmentInjector:i}),this.changeDetector.markForCheck(),(d=this.inputBinder)==null||d.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=N({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[We]});let n=e;return n})(),eg=class n{__ngOutletInjector(e){return new n(this.route,this.childContexts,e)}constructor(e,r,t){this.route=e,this.childContexts=r,this.parent=t}get(e,r){return e===Ai?this.route:e===Ra?this.childContexts:this.parent.get(e,r)}},iu=new E(""),uw=(()=>{let e=class e{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(t){this.unsubscribeFromRouteData(t),this.subscribeToRouteData(t)}unsubscribeFromRouteData(t){var i;(i=this.outletDataSubscriptions.get(t))==null||i.unsubscribe(),this.outletDataSubscriptions.delete(t)}subscribeToRouteData(t){let{activatedRoute:i}=t,o=kr([i.queryParams,i.params,i.data]).pipe(it(([s,a,l],c)=>(l=D(D(D({},s),a),l),c===0?H(l):Promise.resolve(l)))).subscribe(s=>{if(!t.isActivated||!t.activatedComponentRef||t.activatedRoute!==i||i.component===null){this.unsubscribeFromRouteData(t);return}let a=yx(i.component);if(!a){this.unsubscribeFromRouteData(t);return}for(let{templateName:l}of a.inputs)t.activatedComponentRef.setInput(l,s[l])});this.outletDataSubscriptions.set(t,o)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac});let n=e;return n})();function ER(n,e,r){let t=Ma(n,e._root,r?r._root:void 0);return new Qd(t,e)}function Ma(n,e,r){if(r&&n.shouldReuseRoute(e.value,r.value.snapshot)){let t=r.value;t._futureSnapshot=e.value;let i=IR(n,e,r);return new qt(t,i)}else{if(n.shouldAttach(e.value)){let o=n.retrieve(e.value);if(o!==null){let s=o.route;return s.value._futureSnapshot=e.value,s.children=e.children.map(a=>Ma(n,a)),s}}let t=MR(e.value),i=e.children.map(o=>Ma(n,o));return new qt(t,i)}}function IR(n,e,r){return e.children.map(t=>{for(let i of r.children)if(n.shouldReuseRoute(t.value,i.value.snapshot))return Ma(n,t,i);return Ma(n,t)})}function MR(n){return new Ai(new dt(n.url),new dt(n.params),new dt(n.queryParams),new dt(n.fragment),new dt(n.data),n.outlet,n.component,n)}var Sa=class{constructor(e,r){this.redirectTo=e,this.navigationBehaviorOptions=r}},Nw="ngNavigationCancelingError";function Jd(n,e){let{redirectTo:r,navigationBehaviorOptions:t}=Ca(e)?{redirectTo:e,navigationBehaviorOptions:void 0}:e,i=Pw(!1,Yt.Redirect);return i.url=r,i.navigationBehaviorOptions=t,i}function Pw(n,e){let r=new Error("NavigationCancelingError: ".concat(n||""));return r[Nw]=!0,r.cancellationCode=e,r}function SR(n){return Fw(n)&&Ca(n.url)}function Fw(n){return!!n&&n[Nw]}var TR=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=j({type:e,selectors:[["ng-component"]],standalone:!0,features:[Oe],decls:1,vars:0,template:function(i,o){i&1&&O(0,"router-outlet")},dependencies:[lg],encapsulation:2});let n=e;return n})();function AR(n,e){var r;return n.providers&&!n._injector&&(n._injector=md(n.providers,e,"Route: ".concat(n.path))),(r=n._injector)!=null?r:e}function cg(n){let e=n.children&&n.children.map(cg),r=e?_e(D({},n),{children:e}):D({},n);return!r.component&&!r.loadComponent&&(e||r.loadChildren)&&r.outlet&&r.outlet!==ge&&(r.component=TR),r}function On(n){return n.outlet||ge}function kR(n,e){let r=n.filter(t=>On(t)===e);return r.push(...n.filter(t=>On(t)!==e)),r}function Na(n){var e;if(!n)return null;if((e=n.routeConfig)!=null&&e._injector)return n.routeConfig._injector;for(let r=n.parent;r;r=r.parent){let t=r.routeConfig;if(t!=null&&t._loadedInjector)return t._loadedInjector;if(t!=null&&t._injector)return t._injector}return null}var OR=(n,e,r,t)=>K(i=>(new tg(e,i.targetRouterState,i.currentRouterState,r,t).activate(n),i)),tg=class{constructor(e,r,t,i,o){this.routeReuseStrategy=e,this.futureState=r,this.currState=t,this.forwardEvent=i,this.inputBindingEnabled=o}activate(e){let r=this.futureState._root,t=this.currState?this.currState._root:null;this.deactivateChildRoutes(r,t,e),Rp(this.futureState.root),this.activateChildRoutes(r,t,e)}deactivateChildRoutes(e,r,t){let i=ts(r);e.children.forEach(o=>{let s=o.value.outlet;this.deactivateRoutes(o,i[s],t),delete i[s]}),Object.values(i).forEach(o=>{this.deactivateRouteAndItsChildren(o,t)})}deactivateRoutes(e,r,t){let i=e.value,o=r?r.value:null;if(i===o)if(i.component){let s=t.getContext(i.outlet);s&&this.deactivateChildRoutes(e,r,s.children)}else this.deactivateChildRoutes(e,r,t);else o&&this.deactivateRouteAndItsChildren(r,t)}deactivateRouteAndItsChildren(e,r){e.value.component&&this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,r):this.deactivateRouteAndOutlet(e,r)}detachAndStoreRouteSubtree(e,r){let t=r.getContext(e.value.outlet),i=t&&e.value.component?t.children:r,o=ts(e);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);if(t&&t.outlet){let s=t.outlet.detach(),a=t.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:s,route:e,contexts:a})}}deactivateRouteAndOutlet(e,r){let t=r.getContext(e.value.outlet),i=t&&e.value.component?t.children:r,o=ts(e);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);t&&(t.outlet&&(t.outlet.deactivate(),t.children.onOutletDeactivated()),t.attachRef=null,t.route=null)}activateChildRoutes(e,r,t){let i=ts(r);e.children.forEach(o=>{this.activateRoutes(o,i[o.value.outlet],t),this.forwardEvent(new Zp(o.value.snapshot))}),e.children.length&&this.forwardEvent(new qp(e.value.snapshot))}activateRoutes(e,r,t){let i=e.value,o=r?r.value:null;if(Rp(i),i===o)if(i.component){let s=t.getOrCreateContext(i.outlet);this.activateChildRoutes(e,r,s.children)}else this.activateChildRoutes(e,r,t);else if(i.component){let s=t.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){let a=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),Rp(a.route.value),this.activateChildRoutes(e,null,s.children)}else{let a=Na(i.snapshot);s.attachRef=null,s.route=i,s.injector=a!=null?a:s.injector,s.outlet&&s.outlet.activateWith(i,s.injector),this.activateChildRoutes(e,null,s.children)}}else this.activateChildRoutes(e,null,t)}},eu=class{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}},rs=class{constructor(e,r){this.component=e,this.route=r}};function RR(n,e,r){let t=n._root,i=e?e._root:null;return va(t,i,r,[t.value])}function NR(n){let e=n.routeConfig?n.routeConfig.canActivateChild:null;return!e||e.length===0?null:{node:n,guards:e}}function ds(n,e){let r=Symbol(),t=e.get(n,r);return t===r?typeof n=="function"&&!I_(n)?n:e.get(n):t}function va(n,e,r,t,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=ts(e);return n.children.forEach(s=>{PR(s,o[s.value.outlet],r,t.concat([s.value]),i),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,a])=>wa(a,r.getContext(s),i)),i}function PR(n,e,r,t,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=n.value,s=e?e.value:null,a=r?r.getContext(n.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){let l=FR(s,o,o.routeConfig.runGuardsAndResolvers);l?i.canActivateChecks.push(new eu(t)):(o.data=s.data,o._resolvedData=s._resolvedData),o.component?va(n,e,a?a.children:null,t,i):va(n,e,r,t,i),l&&a&&a.outlet&&a.outlet.isActivated&&i.canDeactivateChecks.push(new rs(a.outlet.component,s))}else s&&wa(e,a,i),i.canActivateChecks.push(new eu(t)),o.component?va(n,null,a?a.children:null,t,i):va(n,null,r,t,i);return i}function FR(n,e,r){if(typeof r=="function")return r(n,e);switch(r){case"pathParamsChange":return!Xr(n.url,e.url);case"pathParamsOrQueryParamsChange":return!Xr(n.url,e.url)||!si(n.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Jp(n,e)||!si(n.queryParams,e.queryParams);case"paramsChange":default:return!Jp(n,e)}}function wa(n,e,r){let t=ts(n),i=n.value;Object.entries(t).forEach(([o,s])=>{i.component?e?wa(s,e.children.getContext(o),r):wa(s,null,r):wa(s,e,r)}),i.component?e&&e.outlet&&e.outlet.isActivated?r.canDeactivateChecks.push(new rs(e.outlet.component,i)):r.canDeactivateChecks.push(new rs(null,i)):r.canDeactivateChecks.push(new rs(null,i))}function Pa(n){return typeof n=="function"}function LR(n){return typeof n=="boolean"}function jR(n){return n&&Pa(n.canLoad)}function VR(n){return n&&Pa(n.canActivate)}function BR(n){return n&&Pa(n.canActivateChild)}function UR(n){return n&&Pa(n.canDeactivate)}function zR(n){return n&&Pa(n.canMatch)}function Lw(n){return n instanceof xn||(n==null?void 0:n.name)==="EmptyError"}var Bd=Symbol("INITIAL_VALUE");function cs(){return it(n=>kr(n.map(e=>e.pipe(Ve(1),at(Bd)))).pipe(K(e=>{for(let r of e)if(r!==!0){if(r===Bd)return Bd;if(r===!1||HR(r))return r}return!0}),le(e=>e!==Bd),Ve(1)))}function HR(n){return Ca(n)||n instanceof Sa}function $R(n,e){return Ze(r=>{let{targetSnapshot:t,currentSnapshot:i,guards:{canActivateChecks:o,canDeactivateChecks:s}}=r;return s.length===0&&o.length===0?H(_e(D({},r),{guardsResult:!0})):WR(s,t,i,n).pipe(Ze(a=>a&&LR(a)?GR(t,o,n,e):H(a)),K(a=>_e(D({},r),{guardsResult:a})))})}function WR(n,e,r,t){return je(n).pipe(Ze(i=>KR(i.component,i.route,r,e,t)),Un(i=>i!==!0,!0))}function GR(n,e,r,t){return je(e).pipe(pi(i=>Vn(YR(i.route.parent,t),qR(i.route,t),QR(n,i.path,r),ZR(n,i.route,r))),Un(i=>i!==!0,!0))}function qR(n,e){return n!==null&&e&&e(new Yp(n)),H(!0)}function YR(n,e){return n!==null&&e&&e(new Gp(n)),H(!0)}function ZR(n,e,r){let t=e.routeConfig?e.routeConfig.canActivate:null;if(!t||t.length===0)return H(!0);let i=t.map(o=>Bn(()=>{var c;let s=(c=Na(e))!=null?c:r,a=ds(o,s),l=VR(a)?a.canActivate(e,n):Vt(s,()=>a(e,n));return ar(l).pipe(Un())}));return H(i).pipe(cs())}function QR(n,e,r){let t=e[e.length-1],o=e.slice(0,e.length-1).reverse().map(s=>NR(s)).filter(s=>s!==null).map(s=>Bn(()=>{let a=s.guards.map(l=>{var f;let c=(f=Na(s.node))!=null?f:r,d=ds(l,c),u=BR(d)?d.canActivateChild(t,n):Vt(c,()=>d(t,n));return ar(u).pipe(Un())});return H(a).pipe(cs())}));return H(o).pipe(cs())}function KR(n,e,r,t,i){let o=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!o||o.length===0)return H(!0);let s=o.map(a=>{var u;let l=(u=Na(e))!=null?u:i,c=ds(a,l),d=UR(c)?c.canDeactivate(n,e,r,t):Vt(l,()=>c(n,e,r,t));return ar(d).pipe(Un())});return H(s).pipe(cs())}function XR(n,e,r,t){let i=e.canLoad;if(i===void 0||i.length===0)return H(!0);let o=i.map(s=>{let a=ds(s,n),l=jR(a)?a.canLoad(e,r):Vt(n,()=>a(e,r));return ar(l)});return H(o).pipe(cs(),jw(t))}function jw(n){return Of(et(e=>{if(typeof e!="boolean")throw Jd(n,e)}),K(e=>e===!0))}function JR(n,e,r,t){let i=e.canMatch;if(!i||i.length===0)return H(!0);let o=i.map(s=>{let a=ds(s,n),l=zR(a)?a.canMatch(e,r):Vt(n,()=>a(e,r));return ar(l)});return H(o).pipe(cs(),jw(t))}var Ta=class{constructor(e){this.segmentGroup=e||null}},Aa=class extends Error{constructor(e){super(),this.urlTree=e}};function es(n){return Co(new Ta(n))}function eN(n){return Co(new T(4e3,!1))}function tN(n){return Co(Pw(!1,Yt.GuardRejected))}var ng=class{constructor(e,r){this.urlSerializer=e,this.urlTree=r}lineralizeSegments(e,r){let t=[],i=r.root;for(;;){if(t=t.concat(i.segments),i.numberOfChildren===0)return H(t);if(i.numberOfChildren>1||!i.children[ge])return eN("".concat(e.redirectTo));i=i.children[ge]}}applyRedirectCommands(e,r,t,i,o){if(typeof r!="string"){let a=r,{queryParams:l,fragment:c,routeConfig:d,url:u,outlet:f,params:m,data:g,title:_}=i,C=Vt(o,()=>a({params:m,data:g,queryParams:l,fragment:c,routeConfig:d,url:u,outlet:f,title:_}));if(C instanceof or)throw new Aa(C);r=C}let s=this.applyRedirectCreateUrlTree(r,this.urlSerializer.parse(r),e,t);if(r[0]==="/")throw new Aa(s);return s}applyRedirectCreateUrlTree(e,r,t,i){let o=this.createSegmentGroup(e,r.root,t,i);return new or(o,this.createQueryParams(r.queryParams,this.urlTree.queryParams),r.fragment)}createQueryParams(e,r){let t={};return Object.entries(e).forEach(([i,o])=>{if(typeof o=="string"&&o[0]===":"){let a=o.substring(1);t[i]=r[a]}else t[i]=o}),t}createSegmentGroup(e,r,t,i){let o=this.createSegments(e,r.segments,t,i),s={};return Object.entries(r.children).forEach(([a,l])=>{s[a]=this.createSegmentGroup(e,l,t,i)}),new Pe(o,s)}createSegments(e,r,t,i){return r.map(o=>o.path[0]===":"?this.findPosParam(e,o,i):this.findOrReturn(o,t))}findPosParam(e,r,t){let i=t[r.path.substring(1)];if(!i)throw new T(4001,!1);return i}findOrReturn(e,r){let t=0;for(let i of r){if(i.path===e.path)return r.splice(t),i;t++}return e}},ig={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function nN(n,e,r,t,i){let o=dg(n,e,r);return o.matched?(t=AR(e,t),JR(t,e,r,i).pipe(K(s=>s===!0?o:D({},ig)))):H(o)}function dg(n,e,r){var a,l;if(e.path==="**")return iN(r);if(e.path==="")return e.pathMatch==="full"&&(n.hasChildren()||r.length>0)?D({},ig):{matched:!0,consumedSegments:[],remainingSegments:r,parameters:{},positionalParamSegments:{}};let i=(e.matcher||XO)(r,n,e);if(!i)return D({},ig);let o={};Object.entries((a=i.posParams)!=null?a:{}).forEach(([c,d])=>{o[c]=d.path});let s=i.consumed.length>0?D(D({},o),i.consumed[i.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:i.consumed,remainingSegments:r.slice(i.consumed.length),parameters:s,positionalParamSegments:(l=i.posParams)!=null?l:{}}}function iN(n){return{matched:!0,parameters:n.length>0?vw(n).parameters:{},consumedSegments:n,remainingSegments:[],positionalParamSegments:{}}}function fw(n,e,r,t){return r.length>0&&sN(n,r,t)?{segmentGroup:new Pe(e,oN(t,new Pe(r,n.children))),slicedSegments:[]}:r.length===0&&aN(n,r,t)?{segmentGroup:new Pe(n.segments,rN(n,r,t,n.children)),slicedSegments:r}:{segmentGroup:new Pe(n.segments,n.children),slicedSegments:r}}function rN(n,e,r,t){let i={};for(let o of r)if(ru(n,e,o)&&!t[On(o)]){let s=new Pe([],{});i[On(o)]=s}return D(D({},t),i)}function oN(n,e){let r={};r[ge]=e;for(let t of n)if(t.path===""&&On(t)!==ge){let i=new Pe([],{});r[On(t)]=i}return r}function sN(n,e,r){return r.some(t=>ru(n,e,t)&&On(t)!==ge)}function aN(n,e,r){return r.some(t=>ru(n,e,t))}function ru(n,e,r){return(n.hasChildren()||e.length>0)&&r.pathMatch==="full"?!1:r.path===""}function lN(n,e,r,t){return On(n)!==t&&(t===ge||!ru(e,r,n))?!1:dg(e,n,r).matched}function cN(n,e,r){return e.length===0&&!n.children[r]}var rg=class{};function dN(n,e,r,t,i,o,s="emptyOnly"){return new og(n,e,r,t,i,s,o).recognize()}var uN=31,og=class{constructor(e,r,t,i,o,s,a){this.injector=e,this.configLoader=r,this.rootComponentType=t,this.config=i,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new ng(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(e){return new T(4002,"'".concat(e.segmentGroup,"'"))}recognize(){let e=fw(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(e).pipe(K(({children:r,rootSnapshot:t})=>{let i=new qt(t,r),o=new Xd("",i),s=bR(t,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),{state:o,tree:s}}))}match(e){let r=new is([],Object.freeze({}),Object.freeze(D({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),ge,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,e,ge,r).pipe(K(t=>({children:t,rootSnapshot:r})),Ui(t=>{if(t instanceof Aa)return this.urlTree=t.urlTree,this.match(t.urlTree.root);throw t instanceof Ta?this.noMatchError(t):t}))}processSegmentGroup(e,r,t,i,o){return t.segments.length===0&&t.hasChildren()?this.processChildren(e,r,t,o):this.processSegment(e,r,t,t.segments,i,!0,o).pipe(K(s=>s instanceof qt?[s]:[]))}processChildren(e,r,t,i){let o=[];for(let s of Object.keys(t.children))s==="primary"?o.unshift(s):o.push(s);return je(o).pipe(pi(s=>{let a=t.children[s],l=kR(r,s);return this.processSegmentGroup(e,l,a,s,i)}),$f((s,a)=>(s.push(...a),s)),zi(null),Hf(),Ze(s=>{if(s===null)return es(t);let a=Vw(s);return fN(a),H(a)}))}processSegment(e,r,t,i,o,s,a){return je(r).pipe(pi(l=>{var c;return this.processSegmentAgainstRoute((c=l._injector)!=null?c:e,r,l,t,i,o,s,a).pipe(Ui(d=>{if(d instanceof Ta)return H(null);throw d}))}),Un(l=>!!l),Ui(l=>{if(Lw(l))return cN(t,i,o)?H(new rg):es(t);throw l}))}processSegmentAgainstRoute(e,r,t,i,o,s,a,l){return lN(t,i,o,s)?t.redirectTo===void 0?this.matchSegmentAgainstRoute(e,i,t,o,s,l):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(e,i,r,t,o,s,l):es(i):es(i)}expandSegmentAgainstRouteUsingRedirect(e,r,t,i,o,s,a){var C,S;let{matched:l,parameters:c,consumedSegments:d,positionalParamSegments:u,remainingSegments:f}=dg(r,i,o);if(!l)return es(r);typeof i.redirectTo=="string"&&i.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>uN&&(this.allowRedirects=!1));let m=new is(o,c,Object.freeze(D({},this.urlTree.queryParams)),this.urlTree.fragment,hw(i),On(i),(S=(C=i.component)!=null?C:i._loadedComponent)!=null?S:null,i,mw(i)),g=Kd(m,a,this.paramsInheritanceStrategy);m.params=Object.freeze(g.params),m.data=Object.freeze(g.data);let _=this.applyRedirects.applyRedirectCommands(d,i.redirectTo,u,m,e);return this.applyRedirects.lineralizeSegments(i,_).pipe(Ze(B=>this.processSegment(e,t,r,B.concat(f),s,!1,a)))}matchSegmentAgainstRoute(e,r,t,i,o,s){let a=nN(r,t,i,e,this.urlSerializer);return t.path==="**"&&(r.children={}),a.pipe(it(l=>{var c;return l.matched?(e=(c=t._injector)!=null?c:e,this.getChildConfig(e,t,i).pipe(it(({routes:d})=>{var q,$e,be;let u=(q=t._loadedInjector)!=null?q:e,{parameters:f,consumedSegments:m,remainingSegments:g}=l,_=new is(m,f,Object.freeze(D({},this.urlTree.queryParams)),this.urlTree.fragment,hw(t),On(t),(be=($e=t.component)!=null?$e:t._loadedComponent)!=null?be:null,t,mw(t)),C=Kd(_,s,this.paramsInheritanceStrategy);_.params=Object.freeze(C.params),_.data=Object.freeze(C.data);let{segmentGroup:S,slicedSegments:B}=fw(r,m,g,d);if(B.length===0&&S.hasChildren())return this.processChildren(u,d,S,_).pipe(K(pe=>new qt(_,pe)));if(d.length===0&&B.length===0)return H(new qt(_,[]));let ve=On(t)===o;return this.processSegment(u,d,S,B,ve?ge:o,!0,_).pipe(K(pe=>new qt(_,pe instanceof qt?[pe]:[])))}))):es(r)}))}getChildConfig(e,r,t){return r.children?H({routes:r.children,injector:e}):r.loadChildren?r._loadedRoutes!==void 0?H({routes:r._loadedRoutes,injector:r._loadedInjector}):XR(e,r,t,this.urlSerializer).pipe(Ze(i=>i?this.configLoader.loadChildren(e,r).pipe(et(o=>{r._loadedRoutes=o.routes,r._loadedInjector=o.injector})):tN(r))):H({routes:[],injector:e})}};function fN(n){n.sort((e,r)=>e.value.outlet===ge?-1:r.value.outlet===ge?1:e.value.outlet.localeCompare(r.value.outlet))}function hN(n){let e=n.value.routeConfig;return e&&e.path===""}function Vw(n){let e=[],r=new Set;for(let t of n){if(!hN(t)){e.push(t);continue}let i=e.find(o=>t.value.routeConfig===o.value.routeConfig);i!==void 0?(i.children.push(...t.children),r.add(i)):e.push(t)}for(let t of r){let i=Vw(t.children);e.push(new qt(t.value,i))}return e.filter(t=>!r.has(t))}function hw(n){return n.data||{}}function mw(n){return n.resolve||{}}function mN(n,e,r,t,i,o){return Ze(s=>dN(n,e,r,t,s.extractedUrl,i,o).pipe(K(({state:a,tree:l})=>_e(D({},s),{targetSnapshot:a,urlAfterRedirects:l}))))}function pN(n,e){return Ze(r=>{let{targetSnapshot:t,guards:{canActivateChecks:i}}=r;if(!i.length)return H(r);let o=new Set(i.map(l=>l.route)),s=new Set;for(let l of o)if(!s.has(l))for(let c of Bw(l))s.add(c);let a=0;return je(s).pipe(pi(l=>o.has(l)?gN(l,t,n,e):(l.data=Kd(l,l.parent,n).resolve,H(void 0))),et(()=>a++),Io(1),Ze(l=>a===s.size?H(r):ut))})}function Bw(n){let e=n.children.map(r=>Bw(r)).flat();return[n,...e]}function gN(n,e,r,t){let i=n.routeConfig,o=n._resolve;return(i==null?void 0:i.title)!==void 0&&!Rw(i)&&(o[ka]=i.title),bN(o,n,e,t).pipe(K(s=>(n._resolvedData=s,n.data=Kd(n,n.parent,r).resolve,null)))}function bN(n,e,r,t){let i=Fp(n);if(i.length===0)return H({});let o={};return je(i).pipe(Ze(s=>vN(n[s],e,r,t).pipe(Un(),et(a=>{if(a instanceof Sa)throw Jd(new ss,a);o[s]=a}))),Io(1),js(o),Ui(s=>Lw(s)?ut:Co(s)))}function vN(n,e,r,t){var a;let i=(a=Na(e))!=null?a:t,o=ds(n,i),s=o.resolve?o.resolve(e,r):Vt(i,()=>o(e,r));return ar(s)}function Np(n){return it(e=>{let r=n(e);return r?je(r).pipe(K(()=>e)):H(e)})}var Uw=(()=>{let e=class e{buildTitle(t){var s;let i,o=t.root;for(;o!==void 0;)i=(s=this.getResolvedTitleForRoute(o))!=null?s:i,o=o.children.find(a=>a.outlet===ge);return i}getResolvedTitleForRoute(t){return t.data[ka]}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=I({token:e,factory:()=>y(_N),providedIn:"root"});let n=e;return n})(),_N=(()=>{let e=class e extends Uw{constructor(t){super(),this.title=t}updateTitle(t){let i=this.buildTitle(t);i!==void 0&&this.title.setTitle(i)}};e.\u0275fac=function(i){return new(i||e)(v(ew))},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})(),Fa=new E("",{providedIn:"root",factory:()=>({})}),tu=new E(""),ug=(()=>{let e=class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=y(xd)}loadComponent(t){if(this.componentLoaders.get(t))return this.componentLoaders.get(t);if(t._loadedComponent)return H(t._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(t);let i=ar(t.loadComponent()).pipe(K(zw),et(s=>{this.onLoadEndListener&&this.onLoadEndListener(t),t._loadedComponent=s}),$i(()=>{this.componentLoaders.delete(t)})),o=new Tr(i,()=>new A).pipe(vo());return this.componentLoaders.set(t,o),o}loadChildren(t,i){if(this.childrenLoaders.get(i))return this.childrenLoaders.get(i);if(i._loadedRoutes)return H({routes:i._loadedRoutes,injector:i._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(i);let s=yN(i,this.compiler,t,this.onLoadEndListener).pipe($i(()=>{this.childrenLoaders.delete(i)})),a=new Tr(s,()=>new A).pipe(vo());return this.childrenLoaders.set(i,a),a}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();function yN(n,e,r,t){return ar(n.loadChildren()).pipe(K(zw),Ze(i=>i instanceof Ys||Array.isArray(i)?H(i):je(e.compileModuleAsync(i))),K(i=>{t&&t(n);let o,s,a=!1;return Array.isArray(i)?(s=i,a=!0):(o=i.create(r).injector,s=o.get(tu,[],{optional:!0,self:!0}).flat()),{routes:s.map(cg),injector:o}}))}function xN(n){return n&&typeof n=="object"&&"default"in n}function zw(n){return xN(n)?n.default:n}var fg=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=I({token:e,factory:()=>y(wN),providedIn:"root"});let n=e;return n})(),wN=(()=>{let e=class e{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,i){return t}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})(),Hw=new E(""),$w=new E("");function CN(n,e,r){let t=n.get($w),i=n.get(W);return n.get(k).runOutsideAngular(()=>{if(!i.startViewTransition||t.skipNextTransition)return t.skipNextTransition=!1,new Promise(c=>setTimeout(c));let o,s=new Promise(c=>{o=c}),a=i.startViewTransition(()=>(o(),DN(n))),{onViewTransitionCreated:l}=t;return l&&Vt(n,()=>l({transition:a,from:e,to:r})),s})}function DN(n){return new Promise(e=>{Ut(e,{injector:n})})}var EN=new E(""),hg=(()=>{let e=class e{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new A,this.transitionAbortSubject=new A,this.configLoader=y(ug),this.environmentInjector=y(mt),this.urlSerializer=y(Oa),this.rootContexts=y(Ra),this.location=y(ii),this.inputBindingEnabled=y(iu,{optional:!0})!==null,this.titleStrategy=y(Uw),this.options=y(Fa,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=y(fg),this.createViewTransition=y(Hw,{optional:!0}),this.navigationErrorHandler=y(EN,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>H(void 0),this.rootComponentType=null;let t=o=>this.events.next(new $p(o)),i=o=>this.events.next(new Wp(o));this.configLoader.onLoadEndListener=i,this.configLoader.onLoadStartListener=t}complete(){var t;(t=this.transitions)==null||t.complete()}handleNavigationRequest(t){var o;let i=++this.navigationId;(o=this.transitions)==null||o.next(_e(D(D({},this.transitions.value),t),{id:i}))}setupNavigations(t,i,o){return this.transitions=new dt({id:0,currentUrlTree:i,currentRawUrl:i,extractedUrl:this.urlHandlingStrategy.extract(i),urlAfterRedirects:this.urlHandlingStrategy.extract(i),rawUrl:i,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:xa,restoredState:null,currentSnapshot:o.snapshot,targetSnapshot:null,currentRouterState:o,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(le(s=>s.id!==0),K(s=>_e(D({},s),{extractedUrl:this.urlHandlingStrategy.extract(s.rawUrl)})),it(s=>{let a=!1,l=!1;return H(s).pipe(it(c=>{var f;if(this.navigationId>s.id)return this.cancelNavigationTransition(s,"",Yt.SupersededByNewNavigation),ut;this.currentTransition=s,this.currentNavigation={id:c.id,initialUrl:c.rawUrl,extractedUrl:c.extractedUrl,trigger:c.source,extras:c.extras,previousNavigation:this.lastSuccessfulNavigation?_e(D({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let d=!t.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),u=(f=c.extras.onSameUrlNavigation)!=null?f:t.onSameUrlNavigation;if(!d&&u!=="reload"){let m="";return this.events.next(new sr(c.id,this.urlSerializer.serialize(c.rawUrl),m,Gd.IgnoredSameUrlNavigation)),c.resolve(!1),ut}if(this.urlHandlingStrategy.shouldProcessUrl(c.rawUrl))return H(c).pipe(it(m=>{var _,C;let g=(_=this.transitions)==null?void 0:_.getValue();return this.events.next(new as(m.id,this.urlSerializer.serialize(m.extractedUrl),m.source,m.restoredState)),g!==((C=this.transitions)==null?void 0:C.getValue())?ut:Promise.resolve(m)}),mN(this.environmentInjector,this.configLoader,this.rootComponentType,t.config,this.urlSerializer,this.paramsInheritanceStrategy),et(m=>{s.targetSnapshot=m.targetSnapshot,s.urlAfterRedirects=m.urlAfterRedirects,this.currentNavigation=_e(D({},this.currentNavigation),{finalUrl:m.urlAfterRedirects});let g=new qd(m.id,this.urlSerializer.serialize(m.extractedUrl),this.urlSerializer.serialize(m.urlAfterRedirects),m.targetSnapshot);this.events.next(g)}));if(d&&this.urlHandlingStrategy.shouldProcessUrl(c.currentRawUrl)){let{id:m,extractedUrl:g,source:_,restoredState:C,extras:S}=c,B=new as(m,this.urlSerializer.serialize(g),_,C);this.events.next(B);let ve=kw(this.rootComponentType).snapshot;return this.currentTransition=s=_e(D({},c),{targetSnapshot:ve,urlAfterRedirects:g,extras:_e(D({},S),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=g,H(s)}else{let m="";return this.events.next(new sr(c.id,this.urlSerializer.serialize(c.extractedUrl),m,Gd.IgnoredByUrlHandlingStrategy)),c.resolve(!1),ut}}),et(c=>{let d=new Bp(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(d)}),K(c=>(this.currentTransition=s=_e(D({},c),{guards:RR(c.targetSnapshot,c.currentSnapshot,this.rootContexts)}),s)),$R(this.environmentInjector,c=>this.events.next(c)),et(c=>{if(s.guardsResult=c.guardsResult,c.guardsResult&&typeof c.guardsResult!="boolean")throw Jd(this.urlSerializer,c.guardsResult);let d=new Up(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot,!!c.guardsResult);this.events.next(d)}),le(c=>c.guardsResult?!0:(this.cancelNavigationTransition(c,"",Yt.GuardRejected),!1)),Np(c=>{if(c.guards.canActivateChecks.length)return H(c).pipe(et(d=>{let u=new zp(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot);this.events.next(u)}),it(d=>{let u=!1;return H(d).pipe(pN(this.paramsInheritanceStrategy,this.environmentInjector),et({next:()=>u=!0,complete:()=>{u||this.cancelNavigationTransition(d,"",Yt.NoDataFromResolver)}}))}),et(d=>{let u=new Hp(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot);this.events.next(u)}))}),Np(c=>{let d=u=>{var m;let f=[];(m=u.routeConfig)!=null&&m.loadComponent&&!u.routeConfig._loadedComponent&&f.push(this.configLoader.loadComponent(u.routeConfig).pipe(et(g=>{u.component=g}),K(()=>{})));for(let g of u.children)f.push(...d(g));return f};return kr(d(c.targetSnapshot.root)).pipe(zi(null),Ve(1))}),Np(()=>this.afterPreactivation()),it(()=>{var f;let{currentSnapshot:c,targetSnapshot:d}=s,u=(f=this.createViewTransition)==null?void 0:f.call(this,this.environmentInjector,c.root,d.root);return u?je(u).pipe(K(()=>s)):H(s)}),K(c=>{let d=ER(t.routeReuseStrategy,c.targetSnapshot,c.currentRouterState);return this.currentTransition=s=_e(D({},c),{targetRouterState:d}),this.currentNavigation.targetRouterState=d,s}),et(()=>{this.events.next(new Ia)}),OR(this.rootContexts,t.routeReuseStrategy,c=>this.events.next(c),this.inputBindingEnabled),Ve(1),et({next:c=>{var d;a=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new ai(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects))),(d=this.titleStrategy)==null||d.updateTitle(c.targetRouterState.snapshot),c.resolve(!0)},complete:()=>{a=!0}}),Ie(this.transitionAbortSubject.pipe(et(c=>{throw c}))),$i(()=>{var c;!a&&!l&&this.cancelNavigationTransition(s,"",Yt.SupersededByNewNavigation),((c=this.currentTransition)==null?void 0:c.id)===s.id&&(this.currentNavigation=null,this.currentTransition=null)}),Ui(c=>{var d;if(l=!0,Fw(c))this.events.next(new Ti(s.id,this.urlSerializer.serialize(s.extractedUrl),c.message,c.cancellationCode)),SR(c)?this.events.next(new ls(c.url,c.navigationBehaviorOptions)):s.resolve(!1);else{let u=new Ea(s.id,this.urlSerializer.serialize(s.extractedUrl),c,(d=s.targetSnapshot)!=null?d:void 0);try{let f=Vt(this.environmentInjector,()=>{var m;return(m=this.navigationErrorHandler)==null?void 0:m.call(this,u)});if(f instanceof Sa){let{message:m,cancellationCode:g}=Jd(this.urlSerializer,f);this.events.next(new Ti(s.id,this.urlSerializer.serialize(s.extractedUrl),m,g)),this.events.next(new ls(f.redirectTo,f.navigationBehaviorOptions))}else{this.events.next(u);let m=t.errorHandler(c);s.resolve(!!m)}}catch(f){this.options.resolveNavigationPromiseOnError?s.resolve(!1):s.reject(f)}}return ut}))}))}cancelNavigationTransition(t,i,o){let s=new Ti(t.id,this.urlSerializer.serialize(t.extractedUrl),i,o);this.events.next(s),t.resolve(!1)}isUpdatingInternalState(){var t,i;return((t=this.currentTransition)==null?void 0:t.extractedUrl.toString())!==((i=this.currentTransition)==null?void 0:i.currentUrlTree.toString())}isUpdatedBrowserUrl(){var i,o;return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==((i=this.currentTransition)==null?void 0:i.extractedUrl.toString())&&!((o=this.currentTransition)!=null&&o.extras.skipLocationChange)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();function IN(n){return n!==xa}var MN=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=I({token:e,factory:()=>y(SN),providedIn:"root"});let n=e;return n})(),sg=class{shouldDetach(e){return!1}store(e,r){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,r){return e.routeConfig===r.routeConfig}},SN=(()=>{let e=class e extends sg{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=an(e)))(o||e)}})(),e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})(),Ww=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=I({token:e,factory:()=>y(TN),providedIn:"root"});let n=e;return n})(),TN=(()=>{let e=class e extends Ww{constructor(){super(...arguments),this.location=y(ii),this.urlSerializer=y(Oa),this.options=y(Fa,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=y(fg),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new or,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=kw(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){var t,i;return this.canceledNavigationResolution!=="computed"?this.currentPageId:(i=(t=this.restoredState())==null?void 0:t.\u0275routerPageId)!=null?i:this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(t){return this.location.subscribe(i=>{i.type==="popstate"&&t(i.url,i.state)})}handleRouterEvent(t,i){if(t instanceof as)this.stateMemento=this.createStateMemento();else if(t instanceof sr)this.rawUrlTree=i.initialUrl;else if(t instanceof qd){if(this.urlUpdateStrategy==="eager"&&!i.extras.skipLocationChange){let o=this.urlHandlingStrategy.merge(i.finalUrl,i.initialUrl);this.setBrowserUrl(o,i)}}else t instanceof Ia?(this.currentUrlTree=i.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(i.finalUrl,i.initialUrl),this.routerState=i.targetRouterState,this.urlUpdateStrategy==="deferred"&&(i.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,i))):t instanceof Ti&&(t.code===Yt.GuardRejected||t.code===Yt.NoDataFromResolver)?this.restoreHistory(i):t instanceof Ea?this.restoreHistory(i,!0):t instanceof ai&&(this.lastSuccessfulId=t.id,this.currentPageId=this.browserPageId)}setBrowserUrl(t,i){let o=this.urlSerializer.serialize(t);if(this.location.isCurrentPathEqualTo(o)||i.extras.replaceUrl){let s=this.browserPageId,a=D(D({},i.extras.state),this.generateNgRouterState(i.id,s));this.location.replaceState(o,"",a)}else{let s=D(D({},i.extras.state),this.generateNgRouterState(i.id,this.browserPageId+1));this.location.go(o,"",s)}}restoreHistory(t,i=!1){if(this.canceledNavigationResolution==="computed"){let o=this.browserPageId,s=this.currentPageId-o;s!==0?this.location.historyGo(s):this.currentUrlTree===t.finalUrl&&s===0&&(this.resetState(t),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(i&&this.resetState(t),this.resetUrlToCurrentUrlTree())}resetState(t){var i;this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,(i=t.finalUrl)!=null?i:this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(t,i){return this.canceledNavigationResolution==="computed"?{navigationId:t,\u0275routerPageId:i}:{navigationId:t}}};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=an(e)))(o||e)}})(),e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})(),_a=function(n){return n[n.COMPLETE=0]="COMPLETE",n[n.FAILED=1]="FAILED",n[n.REDIRECTING=2]="REDIRECTING",n}(_a||{});function Gw(n,e){n.events.pipe(le(r=>r instanceof ai||r instanceof Ti||r instanceof Ea||r instanceof sr),K(r=>r instanceof ai||r instanceof sr?_a.COMPLETE:(r instanceof Ti?r.code===Yt.Redirect||r.code===Yt.SupersededByNewNavigation:!1)?_a.REDIRECTING:_a.FAILED),le(r=>r!==_a.REDIRECTING),Ve(1)).subscribe(()=>{e()})}function AN(n){throw n}var kN={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},ON={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},li=(()=>{let e=class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){var t,i;this.disposed=!1,this.console=y(gd),this.stateManager=y(Ww),this.options=y(Fa,{optional:!0})||{},this.pendingTasks=y(Kn),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=y(hg),this.urlSerializer=y(Oa),this.location=y(ii),this.urlHandlingStrategy=y(fg),this._events=new A,this.errorHandler=this.options.errorHandler||AN,this.navigated=!1,this.routeReuseStrategy=y(MN),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=(i=(t=y(tu,{optional:!0}))==null?void 0:t.flat())!=null?i:[],this.componentInputBindingEnabled=!!y(iu,{optional:!0}),this.eventsSubscription=new fe,this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:o=>{this.console.warn(o)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){let t=this.navigationTransitions.events.subscribe(i=>{try{let o=this.navigationTransitions.currentTransition,s=this.navigationTransitions.currentNavigation;if(o!==null&&s!==null){if(this.stateManager.handleRouterEvent(i,s),i instanceof Ti&&i.code!==Yt.Redirect&&i.code!==Yt.SupersededByNewNavigation)this.navigated=!0;else if(i instanceof ai)this.navigated=!0;else if(i instanceof ls){let a=i.navigationBehaviorOptions,l=this.urlHandlingStrategy.merge(i.url,o.currentRawUrl),c=D({info:o.extras.info,skipLocationChange:o.extras.skipLocationChange,replaceUrl:o.extras.replaceUrl||this.urlUpdateStrategy==="eager"||IN(o.source)},a);this.scheduleNavigation(l,xa,null,c,{resolve:o.resolve,reject:o.reject,promise:o.promise})}}NN(i)&&this._events.next(i)}catch(o){this.navigationTransitions.transitionAbortSubject.next(o)}});this.eventsSubscription.add(t)}resetRootComponentType(t){this.routerState.root.component=t,this.navigationTransitions.rootComponentType=t}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),xa,this.stateManager.restoredState())}setUpLocationChangeListener(){var t;(t=this.nonRouterCurrentEntryChangeSubscription)!=null||(this.nonRouterCurrentEntryChangeSubscription=this.stateManager.registerNonRouterCurrentEntryChangeListener((i,o)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(i,"popstate",o)},0)}))}navigateToSyncWithBrowser(t,i,o){let s={replaceUrl:!0},a=o!=null&&o.navigationId?o:null;if(o){let c=D({},o);delete c.navigationId,delete c.\u0275routerPageId,Object.keys(c).length!==0&&(s.state=c)}let l=this.parseUrl(t);this.scheduleNavigation(l,i,a,s)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(t){this.config=t.map(cg),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(t,i={}){let{relativeTo:o,queryParams:s,fragment:a,queryParamsHandling:l,preserveFragment:c}=i,d=c?this.currentUrlTree.fragment:a,u=null;switch(l){case"merge":u=D(D({},this.currentUrlTree.queryParams),s);break;case"preserve":u=this.currentUrlTree.queryParams;break;default:u=s||null}u!==null&&(u=this.removeEmptyProps(u));let f;try{let m=o?o.snapshot:this.routerState.snapshot.root;f=Mw(m)}catch{(typeof t[0]!="string"||t[0][0]!=="/")&&(t=[]),f=this.currentUrlTree.root}return Sw(f,t,u,d!=null?d:null)}navigateByUrl(t,i={skipLocationChange:!1}){let o=Ca(t)?t:this.parseUrl(t),s=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(s,xa,null,i)}navigate(t,i={skipLocationChange:!1}){return RN(t),this.navigateByUrl(this.createUrlTree(t,i),i)}serializeUrl(t){return this.urlSerializer.serialize(t)}parseUrl(t){try{return this.urlSerializer.parse(t)}catch{return this.urlSerializer.parse("/")}}isActive(t,i){let o;if(i===!0?o=D({},kN):i===!1?o=D({},ON):o=i,Ca(t))return aw(this.currentUrlTree,t,o);let s=this.parseUrl(t);return aw(this.currentUrlTree,s,o)}removeEmptyProps(t){return Object.entries(t).reduce((i,[o,s])=>(s!=null&&(i[o]=s),i),{})}scheduleNavigation(t,i,o,s,a){if(this.disposed)return Promise.resolve(!1);let l,c,d;a?(l=a.resolve,c=a.reject,d=a.promise):d=new Promise((f,m)=>{l=f,c=m});let u=this.pendingTasks.add();return Gw(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(u))}),this.navigationTransitions.handleNavigationRequest({source:i,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:t,extras:s,resolve:l,reject:c,promise:d,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),d.catch(f=>Promise.reject(f))}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();function RN(n){for(let e=0;e{let e=class e{constructor(t,i,o,s,a,l){var d;this.router=t,this.route=i,this.tabIndexAttribute=o,this.renderer=s,this.el=a,this.locationStrategy=l,this.href=null,this.commands=null,this.onChanges=new A,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;let c=(d=a.nativeElement.tagName)==null?void 0:d.toLowerCase();this.isAnchorElement=c==="a"||c==="area",this.isAnchorElement?this.subscription=t.events.subscribe(u=>{u instanceof ai&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(t){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",t)}ngOnChanges(t){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(t){t!=null?(this.commands=Array.isArray(t)?t:[t],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(t,i,o,s,a){let l=this.urlTree;if(l===null||this.isAnchorElement&&(t!==0||i||o||s||a||typeof this.target=="string"&&this.target!="_self"))return!0;let c={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(l,c),!this.isAnchorElement}ngOnDestroy(){var t;(t=this.subscription)==null||t.unsubscribe()}updateHref(){var o;let t=this.urlTree;this.href=t!==null&&this.locationStrategy?(o=this.locationStrategy)==null?void 0:o.prepareExternalUrl(this.router.serializeUrl(t)):null;let i=this.href===null?null:Jy(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",i)}applyAttributeValue(t,i){let o=this.renderer,s=this.el.nativeElement;i!==null?o.setAttribute(s,t,i):o.removeAttribute(s,t)}get urlTree(){return this.commands===null?null:this.router.createUrlTree(this.commands,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}};e.\u0275fac=function(i){return new(i||e)(h(li),h(Ai),Qn("tabindex"),h(er),h(P),h(Ii))},e.\u0275dir=N({type:e,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(i,o){i&1&&z("click",function(a){return o.onClick(a.button,a.ctrlKey,a.shiftKey,a.altKey,a.metaKey)}),i&2&&De("target",o.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",oe],skipLocationChange:[2,"skipLocationChange","skipLocationChange",oe],replaceUrl:[2,"replaceUrl","replaceUrl",oe],routerLink:"routerLink"},standalone:!0,features:[Le,We]});let n=e;return n})();var nu=class{};var PN=(()=>{let e=class e{constructor(t,i,o,s,a){this.router=t,this.injector=o,this.preloadingStrategy=s,this.loader=a}setUpPreloading(){this.subscription=this.router.events.pipe(le(t=>t instanceof ai),pi(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(t,i){var s,a,l;let o=[];for(let c of i){c.providers&&!c._injector&&(c._injector=md(c.providers,t,"Route: ".concat(c.path)));let d=(s=c._injector)!=null?s:t,u=(a=c._loadedInjector)!=null?a:d;(c.loadChildren&&!c._loadedRoutes&&c.canLoad===void 0||c.loadComponent&&!c._loadedComponent)&&o.push(this.preloadConfig(d,c)),(c.children||c._loadedRoutes)&&o.push(this.processRoutes(u,(l=c.children)!=null?l:c._loadedRoutes))}return je(o).pipe(Bi())}preloadConfig(t,i){return this.preloadingStrategy.preload(i,()=>{let o;i.loadChildren&&i.canLoad===void 0?o=this.loader.loadChildren(t,i):o=H(null);let s=o.pipe(Ze(a=>{var l;return a===null?H(void 0):(i._loadedRoutes=a.routes,i._loadedInjector=a.injector,this.processRoutes((l=a.injector)!=null?l:t,a.routes))}));if(i.loadComponent&&!i._loadedComponent){let a=this.loader.loadComponent(i);return je([s,a]).pipe(Bi())}else return s})}};e.\u0275fac=function(i){return new(i||e)(v(li),v(xd),v(mt),v(nu),v(ug))},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})(),qw=new E(""),FN=(()=>{let e=class e{constructor(t,i,o,s,a={}){this.urlSerializer=t,this.transitions=i,this.viewportScroller=o,this.zone=s,this.options=a,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},this.environmentInjector=y(mt),a.scrollPositionRestoration||(a.scrollPositionRestoration="disabled"),a.anchorScrolling||(a.anchorScrolling="disabled")}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(t=>{t instanceof as?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof ai?(this.lastId=t.id,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.urlAfterRedirects).fragment)):t instanceof sr&&t.code===Gd.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(t=>{t instanceof Yd&&(t.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(t.position):t.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(t.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(t,i){this.zone.runOutsideAngular(()=>ke(this,null,function*(){yield new Promise(o=>{setTimeout(()=>{o()}),Ut(()=>{o()},{injector:this.environmentInjector})}),this.zone.run(()=>{this.transitions.events.next(new Yd(t,this.lastSource==="popstate"?this.store[this.restoredId]:null,i))})}))}ngOnDestroy(){var t,i;(t=this.routerEventsSubscription)==null||t.unsubscribe(),(i=this.scrollEventsSubscription)==null||i.unsubscribe()}};e.\u0275fac=function(i){na()},e.\u0275prov=I({token:e,factory:e.\u0275fac});let n=e;return n})();function LN(n){return n.routerState.root}function La(n,e){return{\u0275kind:n,\u0275providers:e}}function jN(){let n=y(Ce);return e=>{var o,s;let r=n.get(Tn);if(e!==r.components[0])return;let t=n.get(li),i=n.get(Yw);n.get(mg)===1&&t.initialNavigation(),(o=n.get(Zw,null,ye.Optional))==null||o.setUpPreloading(),(s=n.get(qw,null,ye.Optional))==null||s.init(),t.resetRootComponentType(r.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}var Yw=new E("",{factory:()=>new A}),mg=new E("",{providedIn:"root",factory:()=>1});function VN(){return La(2,[{provide:mg,useValue:0},{provide:_d,multi:!0,deps:[Ce],useFactory:e=>{let r=e.get(Mx,Promise.resolve());return()=>r.then(()=>new Promise(t=>{let i=e.get(li),o=e.get(Yw);Gw(i,()=>{t(!0)}),e.get(hg).afterPreactivation=()=>(t(!0),o.closed?H(void 0):o),i.initialNavigation()}))}}])}function BN(){return La(3,[{provide:_d,multi:!0,useFactory:()=>{let e=y(li);return()=>{e.setUpLocationChangeListener()}}},{provide:mg,useValue:2}])}var Zw=new E("");function UN(n){return La(0,[{provide:Zw,useExisting:PN},{provide:nu,useExisting:n}])}function zN(){return La(8,[uw,{provide:iu,useExisting:uw}])}function HN(n){let e=[{provide:Hw,useValue:CN},{provide:$w,useValue:D({skipNextTransition:!!(n!=null&&n.skipInitialTransition)},n)}];return La(9,e)}var pw=new E("ROUTER_FORROOT_GUARD"),$N=[ii,{provide:Oa,useClass:ss},li,Ra,{provide:Ai,useFactory:LN,deps:[li]},ug,[]],pg=(()=>{let e=class e{constructor(t){}static forRoot(t,i){return{ngModule:e,providers:[$N,[],{provide:tu,multi:!0,useValue:t},{provide:pw,useFactory:YN,deps:[[li,new Wc,new om]]},{provide:Fa,useValue:i||{}},i!=null&&i.useHash?GN():qN(),WN(),i!=null&&i.preloadingStrategy?UN(i.preloadingStrategy).\u0275providers:[],i!=null&&i.initialNavigation?ZN(i):[],i!=null&&i.bindToComponentInputs?zN().\u0275providers:[],i!=null&&i.enableViewTransitions?HN().\u0275providers:[],QN()]}}static forChild(t){return{ngModule:e,providers:[{provide:tu,multi:!0,useValue:t}]}}};e.\u0275fac=function(i){return new(i||e)(v(pw,8))},e.\u0275mod=V({type:e}),e.\u0275inj=L({});let n=e;return n})();function WN(){return{provide:qw,useFactory:()=>{let n=y(kx),e=y(k),r=y(Fa),t=y(hg),i=y(Oa);return r.scrollOffset&&n.setOffset(r.scrollOffset),new FN(i,t,n,e,r)}}}function GN(){return{provide:Ii,useClass:Tx}}function qN(){return{provide:Ii,useClass:lp}}function YN(n){return"guarded"}function ZN(n){return[n.initialNavigation==="disabled"?BN().\u0275providers:[],n.initialNavigation==="enabledBlocking"?VN().\u0275providers:[]]}var gw=new E("");function QN(){return[{provide:gw,useFactory:jN},{provide:yd,multi:!0,useExisting:gw}]}var ou=class{constructor(e){this.user=e.user,this.role=e.role,this.admin=e.admin}get isStaff(){return this.role==="staff"||this.role==="admin"}get isAdmin(){return this.role==="admin"}get isLogged(){return this.user!=null}get isRestricted(){return this.role==="restricted"}};var Qw;var $t=(n,e)=>{let r;if(n instanceof Promise)r=n;else if(n instanceof Va)r=n;else{if(e)return ql(n.pipe(Vf(e)));r=ql(n)}return r},Va=class{constructor(){this[Qw]="Future",this.resolve=()=>{},this.reject=()=>{},this.promise=new Promise((e,r)=>{this.resolve=e,this.reject=r})}then(e,r){return this.promise.then(e,r)}catch(e){return this.promise.catch(e)}finally(e){return this.promise.finally(e)}};Qw=Symbol.toStringTag;var Kw=(()=>{let e=class e{constructor(t){this.api=t,this.delay=t.config.launcher_wait_time}launchURL(t){return ke(this,null,function*(){t.substring(0,7)==="udsa://"?yield this.processUDSUrl(t):yield this.processExternalUrl(t)})}showAlert(t,i,o){return ke(this,null,function*(){return this.api.gui.alert(django.gettext("Launching service"),'

'+t+'

'+i+"

",o)})}launchUDSUrl(t){this.api.download(t)}processUDSUrl(t){return ke(this,null,function*(){let i=t.split("//")[1].split("/");if(i.length!==2){yield this.notifyError(django.gettext("Invalid UDS URL"));return}let o=i[0],s=i[1],a=yield this.showAlert(django.gettext("Please wait until the service is launched."),django.gettext("Remember that you will need the UDS client on your platform to access the service."),0),l=!1;$t(a.afterClosed()).then(()=>l=!0);let c=-1;try{let d=yield this.api.enabler(o,s);if(d.error)throw d.error;if(d.url.startsWith("/")){a.close(),yield this.launchURL(d.url);return}for(window.location.protocol==="https:"&&(d.url=d.url.replace("uds://","udss://")),this.launchUDSUrl(d.url);!l;){let u=yield this.api.status(o,s);if(c>0&&Date.now()-c>this.delay*5&&(a.componentInstance.data.title=django.gettext("Service ready")+" - "+django.gettext("UDS Client not launching"),a.componentInstance.data.body=''+django.gettext("It seems that you don't have UDS Client installed. Please, install it from here:")+' '+django.gettext("UDS Client Download")+""),u.status==="ready")c===-1&&(c=Date.now(),a.componentInstance.data.title=django.gettext("Service ready"),a.componentInstance.data.body=django.gettext("Launching UDS Client, almost done."));else if(u.status==="accessed"){a.close(),l=!0;continue}else if(u.status!=="running"){a.close(),yield this.notifyError(u.status),l=!0;continue}yield this.api.sleep(1e3)}}catch(d){a.close(),yield this.notifyError(d)}})}processExternalUrl(t){return ke(this,null,function*(){let i=yield this.showAlert(django.gettext("Please wait until the service is launched."),django.gettext("Remember that you will need the UDS client on your platform to access the service."),0),o=!1;$t(i.afterClosed()).then(()=>o=!0);try{for(;!o;){let s=yield this.api.transportUrl(t);if(s.url){i.close();let a=yield this.processCredentials(s);a!==null&&(yield this.api.updateTransportTicket(a.ticket,a.scrambler,a.username,a.password,a.domain)),this.openWindow(s.url),o=!0}else s.running||(i.close(),yield this.notifyError(),o=!0)}yield this.api.sleep(1e3)}catch(s){i.close(),yield this.notifyError(s)}})}processCredentials(t){return ke(this,null,function*(){let i=t.url||"";if(i.indexOf("&creds=")!==-1){let o=i.split("&creds=")[1],s="",a="";t.url=i.split("&creds=")[0];let l=i.split("data=")[1].split("&")[0].split("."),c=l[0],d=l[1];o.indexOf("@")!==-1?(s=o.split("@")[0],a=o.split("@")[1]):s=o;let u=yield this.api.gui.askCredentials(s,a);if(u.success===!1)throw new Error("User canceled credentials dialog");return{ticket:c,scrambler:d,username:u.username,password:u.password,domain:u.domain}}return null})}openWindow(t){let i="__global__";if(t.indexOf("o_s_w=")!==-1){let o=/(.*)[&?]o_s_w=.*/.exec(t);i="__same__",t=o[1]}else if(t.indexOf("o_n_w=")!==-1){let o=/(.*)[&?]o_n_w=([a-zA-Z0-9._-]*)/.exec(t);o&&(i=o[2],t=o[1])}if(i==="__same__")window.location.href=t;else{e.transportsWindow[i]&&e.transportsWindow[i].close();let o=window.open(t,"uds_trans_"+i);o&&(e.transportsWindow[i]=o)}}notifyError(t){return ke(this,null,function*(){let i=django.gettext("Error communicating with your service. Please, retry again.");typeof t=="string"?i=t:t instanceof Error?i=t.message:t.status===403&&(i=django.gettext("Your session has expired. Please, login again")),yield this.showAlert(django.gettext("Error"),i,5e3),t.status===403&&this.api.logout()})}};e.transportsWindow={};let n=e;return n})();var su={production:!0};var KN=new E("cdk-dir-doc",{providedIn:"root",factory:XN});function XN(){return y(W)}var JN=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function eP(n){let e=(n==null?void 0:n.toLowerCase())||"";return e==="auto"&&typeof navigator<"u"&&(navigator!=null&&navigator.language)?JN.test(navigator.language)?"rtl":"ltr":e==="rtl"?"rtl":"ltr"}var St=(()=>{let e=class e{constructor(t){if(this.value="ltr",this.change=new $,t){let i=t.body?t.body.dir:null,o=t.documentElement?t.documentElement.dir:null;this.value=eP(i||o||"ltr")}}ngOnDestroy(){this.change.complete()}};e.\u0275fac=function(i){return new(i||e)(v(KN,8))},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();var lr=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=V({type:e}),e.\u0275inj=L({});let n=e;return n})();var au=class{get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}constructor(e=!1,r,t=!0,i){this._multiple=e,this._emitChanges=t,this.compareWith=i,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new A,r&&r.length&&(e?r.forEach(o=>this._markSelected(o)):this._markSelected(r[0]),this._selectedToEmit.length=0)}select(...e){this._verifyValueAssignment(e),e.forEach(t=>this._markSelected(t));let r=this._hasQueuedChanges();return this._emitChangeEvent(),r}deselect(...e){this._verifyValueAssignment(e),e.forEach(t=>this._unmarkSelected(t));let r=this._hasQueuedChanges();return this._emitChangeEvent(),r}setSelection(...e){this._verifyValueAssignment(e);let r=this.selected,t=new Set(e);e.forEach(o=>this._markSelected(o)),r.filter(o=>!t.has(this._getConcreteValue(o,t))).forEach(o=>this._unmarkSelected(o));let i=this._hasQueuedChanges();return this._emitChangeEvent(),i}toggle(e){return this.isSelected(e)?this.deselect(e):this.select(e)}clear(e=!0){this._unmarkAll();let r=this._hasQueuedChanges();return e&&this._emitChangeEvent(),r}isSelected(e){return this._selection.has(this._getConcreteValue(e))}isEmpty(){return this._selection.size===0}hasValue(){return!this.isEmpty()}sort(e){this._multiple&&this.selected&&this._selected.sort(e)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(e){e=this._getConcreteValue(e),this.isSelected(e)||(this._multiple||this._unmarkAll(),this.isSelected(e)||this._selection.add(e),this._emitChanges&&this._selectedToEmit.push(e))}_unmarkSelected(e){e=this._getConcreteValue(e),this.isSelected(e)&&(this._selection.delete(e),this._emitChanges&&this._deselectedToEmit.push(e))}_unmarkAll(){this.isEmpty()||this._selection.forEach(e=>this._unmarkSelected(e))}_verifyValueAssignment(e){e.length>1&&this._multiple}_hasQueuedChanges(){return!!(this._deselectedToEmit.length||this._selectedToEmit.length)}_getConcreteValue(e,r){if(this.compareWith){r=r!=null?r:this._selection;for(let t of r)if(this.compareWith(e,t))return t;return e}else return e}};var lu=(()=>{let e=class e{constructor(){this._listeners=[]}notify(t,i){for(let o of this._listeners)o(t,i)}listen(t){return this._listeners.push(t),()=>{this._listeners=this._listeners.filter(i=>t!==i)}}ngOnDestroy(){this._listeners=[]}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();var tP=20,hs=(()=>{let e=class e{constructor(t,i,o){this._ngZone=t,this._platform=i,this._scrolled=new A,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=o}register(t){this.scrollContainers.has(t)||this.scrollContainers.set(t,t.elementScrolled().subscribe(()=>this._scrolled.next(t)))}deregister(t){let i=this.scrollContainers.get(t);i&&(i.unsubscribe(),this.scrollContainers.delete(t))}scrolled(t=tP){return this._platform.isBrowser?new se(i=>{this._globalSubscription||this._addGlobalListener();let o=t>0?this._scrolled.pipe(Kl(t)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{o.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):H()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((t,i)=>this.deregister(i)),this._scrolled.complete()}ancestorScrolled(t,i){let o=this.getAncestorScrollContainers(t);return this.scrolled(i).pipe(le(s=>!s||o.indexOf(s)>-1))}getAncestorScrollContainers(t){let i=[];return this.scrollContainers.forEach((o,s)=>{this._scrollableContainsElement(s,t)&&i.push(s)}),i}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(t,i){let o=un(i),s=t.getElementRef().nativeElement;do if(o==s)return!0;while(o=o.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{let t=this._getWindow();return mi(t.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}};e.\u0275fac=function(i){return new(i||e)(v(k),v(xe),v(W,8))},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})(),gg=(()=>{let e=class e{constructor(t,i,o,s){this.elementRef=t,this.scrollDispatcher=i,this.ngZone=o,this.dir=s,this._destroyed=new A,this._elementScrolled=new se(a=>this.ngZone.runOutsideAngular(()=>mi(this.elementRef.nativeElement,"scroll").pipe(Ie(this._destroyed)).subscribe(a)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(t){let i=this.elementRef.nativeElement,o=this.dir&&this.dir.value=="rtl";t.left==null&&(t.left=o?t.end:t.start),t.right==null&&(t.right=o?t.start:t.end),t.bottom!=null&&(t.top=i.scrollHeight-i.clientHeight-t.bottom),o&&Jo()!=An.NORMAL?(t.left!=null&&(t.right=i.scrollWidth-i.clientWidth-t.left),Jo()==An.INVERTED?t.left=t.right:Jo()==An.NEGATED&&(t.left=t.right?-t.right:t.right)):t.right!=null&&(t.left=i.scrollWidth-i.clientWidth-t.right),this._applyScrollToOptions(t)}_applyScrollToOptions(t){let i=this.elementRef.nativeElement;jd()?i.scrollTo(t):(t.top!=null&&(i.scrollTop=t.top),t.left!=null&&(i.scrollLeft=t.left))}measureScrollOffset(t){let i="left",o="right",s=this.elementRef.nativeElement;if(t=="top")return s.scrollTop;if(t=="bottom")return s.scrollHeight-s.clientHeight-s.scrollTop;let a=this.dir&&this.dir.value=="rtl";return t=="start"?t=a?o:i:t=="end"&&(t=a?i:o),a&&Jo()==An.INVERTED?t==i?s.scrollWidth-s.clientWidth-s.scrollLeft:s.scrollLeft:a&&Jo()==An.NEGATED?t==i?s.scrollLeft+s.scrollWidth-s.clientWidth:-s.scrollLeft:t==i?s.scrollLeft:s.scrollWidth-s.clientWidth-s.scrollLeft}};e.\u0275fac=function(i){return new(i||e)(h(P),h(hs),h(k),h(St,8))},e.\u0275dir=N({type:e,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]],standalone:!0});let n=e;return n})(),nP=20,ms=(()=>{let e=class e{constructor(t,i,o){this._platform=t,this._change=new A,this._changeListener=s=>{this._change.next(s)},this._document=o,i.runOutsideAngular(()=>{if(t.isBrowser){let s=this._getWindow();s.addEventListener("resize",this._changeListener),s.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){let t=this._getWindow();t.removeEventListener("resize",this._changeListener),t.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();let t={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),t}getViewportRect(){let t=this.getViewportScrollPosition(),{width:i,height:o}=this.getViewportSize();return{top:t.top,left:t.left,bottom:t.top+o,right:t.left+i,height:o,width:i}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let t=this._document,i=this._getWindow(),o=t.documentElement,s=o.getBoundingClientRect(),a=-s.top||t.body.scrollTop||i.scrollY||o.scrollTop||0,l=-s.left||t.body.scrollLeft||i.scrollX||o.scrollLeft||0;return{top:a,left:l}}change(t=nP){return t>0?this._change.pipe(Kl(t)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let t=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:t.innerWidth,height:t.innerHeight}:{width:0,height:0}}};e.\u0275fac=function(i){return new(i||e)(v(xe),v(k),v(W,8))},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();var cr=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=V({type:e}),e.\u0275inj=L({});let n=e;return n})(),bg=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=V({type:e}),e.\u0275inj=L({imports:[lr,cr,lr,cr]});let n=e;return n})();var Ba=class{attach(e){return this._attachedHost=e,e.attach(this)}detach(){let e=this._attachedHost;e!=null&&(this._attachedHost=null,e.detach())}get isAttached(){return this._attachedHost!=null}setAttachedHost(e){this._attachedHost=e}},dr=class extends Ba{constructor(e,r,t,i,o){super(),this.component=e,this.viewContainerRef=r,this.injector=t,this.componentFactoryResolver=i,this.projectableNodes=o}},Rn=class extends Ba{constructor(e,r,t,i){super(),this.templateRef=e,this.viewContainerRef=r,this.context=t,this.injector=i}get origin(){return this.templateRef.elementRef}attach(e,r=this.context){return this.context=r,super.attach(e)}detach(){return this.context=void 0,super.detach()}},_g=class extends Ba{constructor(e){super(),this.element=e instanceof P?e.nativeElement:e}},ps=class{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(e){if(e instanceof dr)return this._attachedPortal=e,this.attachComponentPortal(e);if(e instanceof Rn)return this._attachedPortal=e,this.attachTemplatePortal(e);if(this.attachDomPortal&&e instanceof _g)return this._attachedPortal=e,this.attachDomPortal(e)}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(e){this._disposeFn=e}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}};var Ua=class extends ps{constructor(e,r,t,i,o){super(),this.outletElement=e,this._componentFactoryResolver=r,this._appRef=t,this._defaultInjector=i,this.attachDomPortal=s=>{this._document;let a=s.element;a.parentNode;let l=this._document.createComment("dom-portal");a.parentNode.insertBefore(l,a),this.outletElement.appendChild(a),this._attachedPortal=s,super.setDisposeFn(()=>{l.parentNode&&l.parentNode.replaceChild(a,l)})},this._document=o}attachComponentPortal(e){let t=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),i;return e.viewContainerRef?(i=e.viewContainerRef.createComponent(t,e.viewContainerRef.length,e.injector||e.viewContainerRef.injector,e.projectableNodes||void 0),this.setDisposeFn(()=>i.destroy())):(i=t.create(e.injector||this._defaultInjector||Ce.NULL),this._appRef.attachView(i.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(i.hostView),i.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(i)),this._attachedPortal=e,i}attachTemplatePortal(e){let r=e.viewContainerRef,t=r.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return t.rootNodes.forEach(i=>this.outletElement.appendChild(i)),t.detectChanges(),this.setDisposeFn(()=>{let i=r.indexOf(t);i!==-1&&r.remove(i)}),this._attachedPortal=e,t}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(e){return e.hostView.rootNodes[0]}};var Jr=(()=>{let e=class e extends ps{constructor(t,i,o){super(),this._componentFactoryResolver=t,this._viewContainerRef=i,this._isInitialized=!1,this.attached=new $,this.attachDomPortal=s=>{this._document;let a=s.element;a.parentNode;let l=this._document.createComment("dom-portal");s.setAttachedHost(this),a.parentNode.insertBefore(l,a),this._getRootNode().appendChild(a),this._attachedPortal=s,super.setDisposeFn(()=>{l.parentNode&&l.parentNode.replaceChild(a,l)})},this._document=o}get portal(){return this._attachedPortal}set portal(t){this.hasAttached()&&!t&&!this._isInitialized||(this.hasAttached()&&super.detach(),t&&super.attach(t),this._attachedPortal=t||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(t){t.setAttachedHost(this);let i=t.viewContainerRef!=null?t.viewContainerRef:this._viewContainerRef,s=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component),a=i.createComponent(s,i.length,t.injector||i.injector,t.projectableNodes||void 0);return i!==this._viewContainerRef&&this._getRootNode().appendChild(a.hostView.rootNodes[0]),super.setDisposeFn(()=>a.destroy()),this._attachedPortal=t,this._attachedRef=a,this.attached.emit(a),a}attachTemplatePortal(t){t.setAttachedHost(this);let i=this._viewContainerRef.createEmbeddedView(t.templateRef,t.context,{injector:t.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=t,this._attachedRef=i,this.attached.emit(i),i}_getRootNode(){let t=this._viewContainerRef.element.nativeElement;return t.nodeType===t.ELEMENT_NODE?t:t.parentNode}};e.\u0275fac=function(i){return new(i||e)(h(Mn),h(lt),h(W))},e.\u0275dir=N({type:e,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],standalone:!0,features:[Ue]});let n=e;return n})();var ki=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=V({type:e}),e.\u0275inj=L({});let n=e;return n})();function ht(n,...e){return e.length?e.some(r=>n[r]):n.altKey||n.shiftKey||n.ctrlKey||n.metaKey}var Jw=jd(),yg=class{constructor(e,r){this._viewportRuler=e,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=r}attach(){}enable(){if(this._canBeEnabled()){let e=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=e.style.left||"",this._previousHTMLStyles.top=e.style.top||"",e.style.left=rt(-this._previousScrollPosition.left),e.style.top=rt(-this._previousScrollPosition.top),e.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){let e=this._document.documentElement,r=this._document.body,t=e.style,i=r.style,o=t.scrollBehavior||"",s=i.scrollBehavior||"";this._isEnabled=!1,t.left=this._previousHTMLStyles.left,t.top=this._previousHTMLStyles.top,e.classList.remove("cdk-global-scrollblock"),Jw&&(t.scrollBehavior=i.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),Jw&&(t.scrollBehavior=o,i.scrollBehavior=s)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;let r=this._document.body,t=this._viewportRuler.getViewportSize();return r.scrollHeight>t.height||r.scrollWidth>t.width}};var xg=class{constructor(e,r,t,i){this._scrollDispatcher=e,this._ngZone=r,this._viewportRuler=t,this._config=i,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(e){this._overlayRef,this._overlayRef=e}enable(){if(this._scrollSubscription)return;let e=this._scrollDispatcher.scrolled(0).pipe(le(r=>!r||!this._overlayRef.overlayElement.contains(r.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=e.subscribe(()=>{let r=this._viewportRuler.getViewportScrollPosition().top;Math.abs(r-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=e.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}},cu=class{enable(){}disable(){}attach(){}};function wg(n,e){return e.some(r=>{let t=n.bottomr.bottom,o=n.rightr.right;return t||i||o||s})}function eC(n,e){return e.some(r=>{let t=n.topr.bottom,o=n.leftr.right;return t||i||o||s})}var Cg=class{constructor(e,r,t,i){this._scrollDispatcher=e,this._viewportRuler=r,this._ngZone=t,this._config=i,this._scrollSubscription=null}attach(e){this._overlayRef,this._overlayRef=e}enable(){if(!this._scrollSubscription){let e=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(e).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){let r=this._overlayRef.overlayElement.getBoundingClientRect(),{width:t,height:i}=this._viewportRuler.getViewportSize();wg(r,[{width:t,height:i,bottom:i,right:t,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}},iP=(()=>{let e=class e{constructor(t,i,o,s){this._scrollDispatcher=t,this._viewportRuler=i,this._ngZone=o,this.noop=()=>new cu,this.close=a=>new xg(this._scrollDispatcher,this._ngZone,this._viewportRuler,a),this.block=()=>new yg(this._viewportRuler,this._document),this.reposition=a=>new Cg(this._scrollDispatcher,this._viewportRuler,this._ngZone,a),this._document=s}};e.\u0275fac=function(i){return new(i||e)(v(hs),v(ms),v(k),v(W))},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})(),ur=class{constructor(e){if(this.scrollStrategy=new cu,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,e){let r=Object.keys(e);for(let t of r)e[t]!==void 0&&(this[t]=e[t])}}};var Dg=class{constructor(e,r){this.connectionPair=e,this.scrollableViewProperties=r}};var oC=(()=>{let e=class e{constructor(t){this._attachedOverlays=[],this._document=t}ngOnDestroy(){this.detach()}add(t){this.remove(t),this._attachedOverlays.push(t)}remove(t){let i=this._attachedOverlays.indexOf(t);i>-1&&this._attachedOverlays.splice(i,1),this._attachedOverlays.length===0&&this.detach()}};e.\u0275fac=function(i){return new(i||e)(v(W))},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})(),rP=(()=>{let e=class e extends oC{constructor(t,i){super(t),this._ngZone=i,this._keydownListener=o=>{let s=this._attachedOverlays;for(let a=s.length-1;a>-1;a--)if(s[a]._keydownEvents.observers.length>0){let l=s[a]._keydownEvents;this._ngZone?this._ngZone.run(()=>l.next(o)):l.next(o);break}}}add(t){super.add(t),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}};e.\u0275fac=function(i){return new(i||e)(v(W),v(k,8))},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})(),oP=(()=>{let e=class e extends oC{constructor(t,i,o){super(t),this._platform=i,this._ngZone=o,this._cursorStyleIsSet=!1,this._pointerDownListener=s=>{this._pointerDownEventTarget=Gt(s)},this._clickListener=s=>{let a=Gt(s),l=s.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:a;this._pointerDownEventTarget=null;let c=this._attachedOverlays.slice();for(let d=c.length-1;d>-1;d--){let u=c[d];if(u._outsidePointerEvents.observers.length<1||!u.hasAttached())continue;if(u.overlayElement.contains(a)||u.overlayElement.contains(l))break;let f=u._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>f.next(s)):f.next(s)}}}add(t){if(super.add(t),!this._isAttached){let 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){let t=this._document.body;t.removeEventListener("pointerdown",this._pointerDownListener,!0),t.removeEventListener("click",this._clickListener,!0),t.removeEventListener("auxclick",this._clickListener,!0),t.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(t.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(t){t.addEventListener("pointerdown",this._pointerDownListener,!0),t.addEventListener("click",this._clickListener,!0),t.addEventListener("auxclick",this._clickListener,!0),t.addEventListener("contextmenu",this._clickListener,!0)}};e.\u0275fac=function(i){return new(i||e)(v(W),v(xe),v(k,8))},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})(),gs=(()=>{let e=class e{constructor(t,i){this._platform=i,this._document=t}ngOnDestroy(){var t;(t=this._containerElement)==null||t.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let t="cdk-overlay-container";if(this._platform.isBrowser||ga()){let o=this._document.querySelectorAll(".".concat(t,'[platform="server"], ')+".".concat(t,'[platform="test"]'));for(let s=0;sthis._backdropClick.next(f),this._backdropTransitionendHandler=f=>{this._disposeBackdrop(f.target)},this._keydownEvents=new A,this._outsidePointerEvents=new A,this._renders=new A,i.scrollStrategy&&(this._scrollStrategy=i.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=i.positionStrategy,this._afterRenderRef=Xm(()=>ia(()=>{this._renders.next()},{injector:this._injector}))}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(e){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);let r=this._portalOutlet.attach(e);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),Ut(()=>{this.hasAttached()&&this.updatePosition()},{injector:this._injector}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),typeof(r==null?void 0:r.onDestroy)=="function"&&r.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),r}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();let e=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenEmpty(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),e}dispose(){var r;let e=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),(r=this._host)==null||r.remove(),this._previousHostParent=this._pane=this._host=null,e&&this._detachments.next(),this._detachments.complete(),this._afterRenderRef.destroy(),this._renders.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(e){e!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=e,this.hasAttached()&&(e.attach(this),this.updatePosition()))}updateSize(e){this._config=D(D({},this._config),e),this._updateElementSize()}setDirection(e){this._config=_e(D({},this._config),{direction:e}),this._updateElementDirection()}addPanelClass(e){this._pane&&this._toggleClasses(this._pane,e,!0)}removePanelClass(e){this._pane&&this._toggleClasses(this._pane,e,!1)}getDirection(){let e=this._config.direction;return e?typeof e=="string"?e:e.value:"ltr"}updateScrollStrategy(e){e!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=e,this.hasAttached()&&(e.attach(this),e.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;let e=this._pane.style;e.width=rt(this._config.width),e.height=rt(this._config.height),e.minWidth=rt(this._config.minWidth),e.minHeight=rt(this._config.minHeight),e.maxWidth=rt(this._config.maxWidth),e.maxHeight=rt(this._config.maxHeight)}_togglePointerEvents(e){this._pane.style.pointerEvents=e?"":"none"}_attachBackdrop(){let e="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(e)})}):this._backdropElement.classList.add(e)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){let e=this._backdropElement;if(e){if(this._animationsDisabled){this._disposeBackdrop(e);return}e.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{e.addEventListener("transitionend",this._backdropTransitionendHandler)}),e.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(e)},500))}}_toggleClasses(e,r,t){let i=Ko(r||[]).filter(o=>!!o);i.length&&(t?e.classList.add(...i):e.classList.remove(...i))}_detachContentWhenEmpty(){this._ngZone.runOutsideAngular(()=>{let e=this._renders.pipe(Ie(vt(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||this._pane.children.length===0)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),e.unsubscribe())})})}_disposeScrollStrategy(){let e=this._scrollStrategy;e&&(e.disable(),e.detach&&e.detach())}_disposeBackdrop(e){e&&(e.removeEventListener("click",this._backdropClickHandler),e.removeEventListener("transitionend",this._backdropTransitionendHandler),e.remove(),this._backdropElement===e&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}},tC="cdk-overlay-connected-position-bounding-box",sP=/([A-Za-z%]+)$/,Eg=class{get positions(){return this._preferredPositions}constructor(e,r,t,i,o){this._viewportRuler=r,this._document=t,this._platform=i,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 A,this._resizeSubscription=fe.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(e)}attach(e){this._overlayRef&&this._overlayRef,this._validatePositions(),e.hostElement.classList.add(tC),this._overlayRef=e,this._boundingBox=e.hostElement,this._pane=e.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition){this.reapplyLastPosition();return}this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let e=this._originRect,r=this._overlayRect,t=this._viewportRect,i=this._containerRect,o=[],s;for(let a of this._preferredPositions){let l=this._getOriginPoint(e,i,a),c=this._getOverlayPoint(l,r,a),d=this._getOverlayFit(c,r,t,a);if(d.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(a,l);return}if(this._canFitWithFlexibleDimensions(d,c,t)){o.push({position:a,origin:l,overlayRect:r,boundingBoxRect:this._calculateBoundingBoxRect(l,a)});continue}(!s||s.overlayFit.visibleAreal&&(l=d,a=c)}this._isPushed=!1,this._applyPosition(a.position,a.origin);return}if(this._canPush){this._isPushed=!0,this._applyPosition(s.position,s.originPoint);return}this._applyPosition(s.position,s.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&eo(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(tC),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;let e=this._lastPosition;if(e){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let r=this._getOriginPoint(this._originRect,this._containerRect,e);this._applyPosition(e,r)}else this.apply()}withScrollableContainers(e){return this._scrollables=e,this}withPositions(e){return this._preferredPositions=e,e.indexOf(this._lastPosition)===-1&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(e){return this._viewportMargin=e,this}withFlexibleDimensions(e=!0){return this._hasFlexibleDimensions=e,this}withGrowAfterOpen(e=!0){return this._growAfterOpen=e,this}withPush(e=!0){return this._canPush=e,this}withLockedPosition(e=!0){return this._positionLocked=e,this}setOrigin(e){return this._origin=e,this}withDefaultOffsetX(e){return this._offsetX=e,this}withDefaultOffsetY(e){return this._offsetY=e,this}withTransformOriginOn(e){return this._transformOriginSelector=e,this}_getOriginPoint(e,r,t){let i;if(t.originX=="center")i=e.left+e.width/2;else{let s=this._isRtl()?e.right:e.left,a=this._isRtl()?e.left:e.right;i=t.originX=="start"?s:a}r.left<0&&(i-=r.left);let o;return t.originY=="center"?o=e.top+e.height/2:o=t.originY=="top"?e.top:e.bottom,r.top<0&&(o-=r.top),{x:i,y:o}}_getOverlayPoint(e,r,t){let i;t.overlayX=="center"?i=-r.width/2:t.overlayX==="start"?i=this._isRtl()?-r.width:0:i=this._isRtl()?0:-r.width;let o;return t.overlayY=="center"?o=-r.height/2:o=t.overlayY=="top"?0:-r.height,{x:e.x+i,y:e.y+o}}_getOverlayFit(e,r,t,i){let o=iC(r),{x:s,y:a}=e,l=this._getOffset(i,"x"),c=this._getOffset(i,"y");l&&(s+=l),c&&(a+=c);let d=0-s,u=s+o.width-t.width,f=0-a,m=a+o.height-t.height,g=this._subtractOverflows(o.width,d,u),_=this._subtractOverflows(o.height,f,m),C=g*_;return{visibleArea:C,isCompletelyWithinViewport:o.width*o.height===C,fitsInViewportVertically:_===o.height,fitsInViewportHorizontally:g==o.width}}_canFitWithFlexibleDimensions(e,r,t){if(this._hasFlexibleDimensions){let i=t.bottom-r.y,o=t.right-r.x,s=nC(this._overlayRef.getConfig().minHeight),a=nC(this._overlayRef.getConfig().minWidth),l=e.fitsInViewportVertically||s!=null&&s<=i,c=e.fitsInViewportHorizontally||a!=null&&a<=o;return l&&c}return!1}_pushOverlayOnScreen(e,r,t){if(this._previousPushAmount&&this._positionLocked)return{x:e.x+this._previousPushAmount.x,y:e.y+this._previousPushAmount.y};let i=iC(r),o=this._viewportRect,s=Math.max(e.x+i.width-o.width,0),a=Math.max(e.y+i.height-o.height,0),l=Math.max(o.top-t.top-e.y,0),c=Math.max(o.left-t.left-e.x,0),d=0,u=0;return i.width<=o.width?d=c||-s:d=e.xg&&!this._isInitialRender&&!this._growAfterOpen&&(s=e.y-g/2)}let l=r.overlayX==="start"&&!i||r.overlayX==="end"&&i,c=r.overlayX==="end"&&!i||r.overlayX==="start"&&i,d,u,f;if(c)f=t.width-e.x+this._viewportMargin*2,d=e.x-this._viewportMargin;else if(l)u=e.x,d=t.right-e.x;else{let m=Math.min(t.right-e.x+t.left,e.x),g=this._lastBoundingBoxSize.width;d=m*2,u=e.x-m,d>g&&!this._isInitialRender&&!this._growAfterOpen&&(u=e.x-g/2)}return{top:s,left:u,bottom:a,right:f,width:d,height:o}}_setBoundingBoxStyles(e,r){let t=this._calculateBoundingBoxRect(e,r);!this._isInitialRender&&!this._growAfterOpen&&(t.height=Math.min(t.height,this._lastBoundingBoxSize.height),t.width=Math.min(t.width,this._lastBoundingBoxSize.width));let i={};if(this._hasExactPosition())i.top=i.left="0",i.bottom=i.right=i.maxHeight=i.maxWidth="",i.width=i.height="100%";else{let o=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;i.height=rt(t.height),i.top=rt(t.top),i.bottom=rt(t.bottom),i.width=rt(t.width),i.left=rt(t.left),i.right=rt(t.right),r.overlayX==="center"?i.alignItems="center":i.alignItems=r.overlayX==="end"?"flex-end":"flex-start",r.overlayY==="center"?i.justifyContent="center":i.justifyContent=r.overlayY==="bottom"?"flex-end":"flex-start",o&&(i.maxHeight=rt(o)),s&&(i.maxWidth=rt(s))}this._lastBoundingBoxSize=t,eo(this._boundingBox.style,i)}_resetBoundingBoxStyles(){eo(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){eo(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(e,r){let t={},i=this._hasExactPosition(),o=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(i){let d=this._viewportRuler.getViewportScrollPosition();eo(t,this._getExactOverlayY(r,e,d)),eo(t,this._getExactOverlayX(r,e,d))}else t.position="static";let a="",l=this._getOffset(r,"x"),c=this._getOffset(r,"y");l&&(a+="translateX(".concat(l,"px) ")),c&&(a+="translateY(".concat(c,"px)")),t.transform=a.trim(),s.maxHeight&&(i?t.maxHeight=rt(s.maxHeight):o&&(t.maxHeight="")),s.maxWidth&&(i?t.maxWidth=rt(s.maxWidth):o&&(t.maxWidth="")),eo(this._pane.style,t)}_getExactOverlayY(e,r,t){let i={top:"",bottom:""},o=this._getOverlayPoint(r,this._overlayRect,e);if(this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,t)),e.overlayY==="bottom"){let s=this._document.documentElement.clientHeight;i.bottom="".concat(s-(o.y+this._overlayRect.height),"px")}else i.top=rt(o.y);return i}_getExactOverlayX(e,r,t){let i={left:"",right:""},o=this._getOverlayPoint(r,this._overlayRect,e);this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,t));let s;if(this._isRtl()?s=e.overlayX==="end"?"left":"right":s=e.overlayX==="end"?"right":"left",s==="right"){let a=this._document.documentElement.clientWidth;i.right="".concat(a-(o.x+this._overlayRect.width),"px")}else i.left=rt(o.x);return i}_getScrollVisibility(){let e=this._getOriginRect(),r=this._pane.getBoundingClientRect(),t=this._scrollables.map(i=>i.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:eC(e,t),isOriginOutsideView:wg(e,t),isOverlayClipped:eC(r,t),isOverlayOutsideView:wg(r,t)}}_subtractOverflows(e,...r){return r.reduce((t,i)=>t-Math.max(i,0),e)}_getNarrowedViewportRect(){let e=this._document.documentElement.clientWidth,r=this._document.documentElement.clientHeight,t=this._viewportRuler.getViewportScrollPosition();return{top:t.top+this._viewportMargin,left:t.left+this._viewportMargin,right:t.left+e-this._viewportMargin,bottom:t.top+r-this._viewportMargin,width:e-2*this._viewportMargin,height:r-2*this._viewportMargin}}_isRtl(){return this._overlayRef.getDirection()==="rtl"}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(e,r){return r==="x"?e.offsetX==null?this._offsetX:e.offsetX:e.offsetY==null?this._offsetY:e.offsetY}_validatePositions(){}_addPanelClasses(e){this._pane&&Ko(e).forEach(r=>{r!==""&&this._appliedPanelClasses.indexOf(r)===-1&&(this._appliedPanelClasses.push(r),this._pane.classList.add(r))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(e=>{this._pane.classList.remove(e)}),this._appliedPanelClasses=[])}_getOriginRect(){let e=this._origin;if(e instanceof P)return e.nativeElement.getBoundingClientRect();if(e instanceof Element)return e.getBoundingClientRect();let r=e.width||0,t=e.height||0;return{top:e.y,bottom:e.y+t,left:e.x,right:e.x+r,height:t,width:r}}};function eo(n,e){for(let r in e)e.hasOwnProperty(r)&&(n[r]=e[r]);return n}function nC(n){if(typeof n!="number"&&n!=null){let[e,r]=n.split(sP);return!r||r==="px"?parseFloat(e):null}return n||null}function iC(n){return{top:Math.floor(n.top),right:Math.floor(n.right),bottom:Math.floor(n.bottom),left:Math.floor(n.left),width:Math.floor(n.width),height:Math.floor(n.height)}}function aP(n,e){return n===e?!0:n.isOriginClipped===e.isOriginClipped&&n.isOriginOutsideView===e.isOriginOutsideView&&n.isOverlayClipped===e.isOverlayClipped&&n.isOverlayOutsideView===e.isOverlayOutsideView}var rC="cdk-global-overlay-wrapper",Ig=class{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(e){let r=e.getConfig();this._overlayRef=e,this._width&&!r.width&&e.updateSize({width:this._width}),this._height&&!r.height&&e.updateSize({height:this._height}),e.hostElement.classList.add(rC),this._isDisposed=!1}top(e=""){return this._bottomOffset="",this._topOffset=e,this._alignItems="flex-start",this}left(e=""){return this._xOffset=e,this._xPosition="left",this}bottom(e=""){return this._topOffset="",this._bottomOffset=e,this._alignItems="flex-end",this}right(e=""){return this._xOffset=e,this._xPosition="right",this}start(e=""){return this._xOffset=e,this._xPosition="start",this}end(e=""){return this._xOffset=e,this._xPosition="end",this}width(e=""){return this._overlayRef?this._overlayRef.updateSize({width:e}):this._width=e,this}height(e=""){return this._overlayRef?this._overlayRef.updateSize({height:e}):this._height=e,this}centerHorizontally(e=""){return this.left(e),this._xPosition="center",this}centerVertically(e=""){return this.top(e),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;let e=this._overlayRef.overlayElement.style,r=this._overlayRef.hostElement.style,t=this._overlayRef.getConfig(),{width:i,height:o,maxWidth:s,maxHeight:a}=t,l=(i==="100%"||i==="100vw")&&(!s||s==="100%"||s==="100vw"),c=(o==="100%"||o==="100vh")&&(!a||a==="100%"||a==="100vh"),d=this._xPosition,u=this._xOffset,f=this._overlayRef.getConfig().direction==="rtl",m="",g="",_="";l?_="flex-start":d==="center"?(_="center",f?g=u:m=u):f?d==="left"||d==="end"?(_="flex-end",m=u):(d==="right"||d==="start")&&(_="flex-start",g=u):d==="left"||d==="start"?(_="flex-start",m=u):(d==="right"||d==="end")&&(_="flex-end",g=u),e.position=this._cssPosition,e.marginLeft=l?"0":m,e.marginTop=c?"0":this._topOffset,e.marginBottom=this._bottomOffset,e.marginRight=l?"0":g,r.justifyContent=_,r.alignItems=c?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;let e=this._overlayRef.overlayElement.style,r=this._overlayRef.hostElement,t=r.style;r.classList.remove(rC),t.justifyContent=t.alignItems=e.marginTop=e.marginBottom=e.marginLeft=e.marginRight=e.position="",this._overlayRef=null,this._isDisposed=!0}},lP=(()=>{let e=class e{constructor(t,i,o,s){this._viewportRuler=t,this._document=i,this._platform=o,this._overlayContainer=s}global(){return new Ig}flexibleConnectedTo(t){return new Eg(t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}};e.\u0275fac=function(i){return new(i||e)(v(ms),v(W),v(xe),v(gs))},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})(),cP=0,Ye=(()=>{let e=class e{constructor(t,i,o,s,a,l,c,d,u,f,m,g){this.scrollStrategies=t,this._overlayContainer=i,this._componentFactoryResolver=o,this._positionBuilder=s,this._keyboardDispatcher=a,this._injector=l,this._ngZone=c,this._document=d,this._directionality=u,this._location=f,this._outsideClickDispatcher=m,this._animationsModuleType=g}create(t){let i=this._createHostElement(),o=this._createPaneElement(i),s=this._createPortalOutlet(o),a=new ur(t);return a.direction=a.direction||this._directionality.value,new Oi(s,i,o,a,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,this._animationsModuleType==="NoopAnimations",this._injector.get(mt))}position(){return this._positionBuilder}_createPaneElement(t){let i=this._document.createElement("div");return i.id="cdk-overlay-".concat(cP++),i.classList.add("cdk-overlay-pane"),t.appendChild(i),i}_createHostElement(){let t=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(t),t}_createPortalOutlet(t){return this._appRef||(this._appRef=this._injector.get(Tn)),new Ua(t,this._componentFactoryResolver,this._appRef,this._injector,this._document)}};e.\u0275fac=function(i){return new(i||e)(v(iP),v(gs),v(Mn),v(lP),v(rP),v(Ce),v(k),v(W),v(St),v(ii),v(oP),v(Ge,8))},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})(),dP=[{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"}],sC=new E("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let n=y(Ye);return()=>n.scrollStrategies.reposition()}}),za=(()=>{let e=class e{constructor(t){this.elementRef=t}};e.\u0275fac=function(i){return new(i||e)(h(P))},e.\u0275dir=N({type:e,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0});let n=e;return n})(),Mg=(()=>{let e=class e{get offsetX(){return this._offsetX}set offsetX(t){this._offsetX=t,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(t){this._offsetY=t,this._position&&this._updatePositionStrategy(this._position)}get disposeOnNavigation(){return this._disposeOnNavigation}set disposeOnNavigation(t){this._disposeOnNavigation=t}constructor(t,i,o,s,a){this._overlay=t,this._dir=a,this._backdropSubscription=fe.EMPTY,this._attachSubscription=fe.EMPTY,this._detachSubscription=fe.EMPTY,this._positionSubscription=fe.EMPTY,this._disposeOnNavigation=!1,this._ngZone=y(k),this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.hasBackdrop=!1,this.lockPosition=!1,this.flexibleDimensions=!1,this.growAfterOpen=!1,this.push=!1,this.backdropClick=new $,this.positionChange=new $,this.attach=new $,this.detach=new $,this.overlayKeydown=new $,this.overlayOutsideClick=new $,this._templatePortal=new Rn(i,o),this._scrollStrategyFactory=s,this.scrollStrategy=this._scrollStrategyFactory()}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(t){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),t.origin&&this.open&&this._position.apply()),t.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=dP);let t=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=t.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=t.detachments().subscribe(()=>this.detach.emit()),t.keydownEvents().subscribe(i=>{this.overlayKeydown.next(i),i.keyCode===27&&!this.disableClose&&!ht(i)&&(i.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(i=>{let o=this._getOriginElement(),s=Gt(i);(!o||o!==s&&!o.contains(s))&&this.overlayOutsideClick.next(i)})}_buildConfig(){let t=this._position=this.positionStrategy||this._createPositionStrategy(),i=new ur({direction:this._dir,positionStrategy:t,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation});return(this.width||this.width===0)&&(i.width=this.width),(this.height||this.height===0)&&(i.height=this.height),(this.minWidth||this.minWidth===0)&&(i.minWidth=this.minWidth),(this.minHeight||this.minHeight===0)&&(i.minHeight=this.minHeight),this.backdropClass&&(i.backdropClass=this.backdropClass),this.panelClass&&(i.panelClass=this.panelClass),i}_updatePositionStrategy(t){let i=this.positions.map(o=>({originX:o.originX,originY:o.originY,overlayX:o.overlayX,overlayY:o.overlayY,offsetX:o.offsetX||this.offsetX,offsetY:o.offsetY||this.offsetY,panelClass:o.panelClass||void 0}));return t.setOrigin(this._getOrigin()).withPositions(i).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){let t=this._overlay.position().flexibleConnectedTo(this._getOrigin());return this._updatePositionStrategy(t),t}_getOrigin(){return this.origin instanceof za?this.origin.elementRef:this.origin}_getOriginElement(){return this.origin instanceof za?this.origin.elementRef.nativeElement:this.origin instanceof P?this.origin.nativeElement:typeof Element<"u"&&this.origin instanceof Element?this.origin:null}_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(t=>{this.backdropClick.emit(t)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(Gf(()=>this.positionChange.observers.length>0)).subscribe(t=>{this._ngZone.run(()=>this.positionChange.emit(t)),this.positionChange.observers.length===0&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}};e.\u0275fac=function(i){return new(i||e)(h(Ye),h(pt),h(lt),h(sC),h(St,8))},e.\u0275dir=N({type:e,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:[0,"cdkConnectedOverlayOrigin","origin"],positions:[0,"cdkConnectedOverlayPositions","positions"],positionStrategy:[0,"cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:[0,"cdkConnectedOverlayOffsetX","offsetX"],offsetY:[0,"cdkConnectedOverlayOffsetY","offsetY"],width:[0,"cdkConnectedOverlayWidth","width"],height:[0,"cdkConnectedOverlayHeight","height"],minWidth:[0,"cdkConnectedOverlayMinWidth","minWidth"],minHeight:[0,"cdkConnectedOverlayMinHeight","minHeight"],backdropClass:[0,"cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:[0,"cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:[0,"cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:[0,"cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:[0,"cdkConnectedOverlayOpen","open"],disableClose:[0,"cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:[0,"cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:[2,"cdkConnectedOverlayHasBackdrop","hasBackdrop",oe],lockPosition:[2,"cdkConnectedOverlayLockPosition","lockPosition",oe],flexibleDimensions:[2,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",oe],growAfterOpen:[2,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",oe],push:[2,"cdkConnectedOverlayPush","push",oe],disposeOnNavigation:[2,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",oe]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[Le,We]});let n=e;return n})();function uP(n){return()=>n.scrollStrategies.reposition()}var fP={provide:sC,deps:[Ye],useFactory:uP},ci=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=V({type:e}),e.\u0275inj=L({providers:[Ye,fP],imports:[lr,ki,bg,bg]});let n=e;return n})();var hP=(()=>{let e=class e{create(t){return typeof MutationObserver>"u"?null:new MutationObserver(t)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();var uu=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=V({type:e}),e.\u0275inj=L({providers:[hP]});let n=e;return n})();var uC=" ";function Rg(n,e,r){let t=pu(n,e);r=r.trim(),!t.some(i=>i.trim()===r)&&(t.push(r),n.setAttribute(e,t.join(uC)))}function vu(n,e,r){let t=pu(n,e);r=r.trim();let i=t.filter(o=>o!==r);i.length?n.setAttribute(e,i.join(uC)):n.removeAttribute(e)}function pu(n,e){var t;let r=n.getAttribute(e);return(t=r==null?void 0:r.match(/\S+/g))!=null?t:[]}var fC="cdk-describedby-message",fu="cdk-describedby-host",Ag=0,hC=(()=>{let e=class e{constructor(t,i){this._platform=i,this._messageRegistry=new Map,this._messagesContainer=null,this._id="".concat(Ag++),this._document=t,this._id=y(Go)+"-"+Ag++}describe(t,i,o){if(!this._canBeDescribed(t,i))return;let s=Sg(i,o);typeof i!="string"?(aC(i,this._id),this._messageRegistry.set(s,{messageElement:i,referenceCount:0})):this._messageRegistry.has(s)||this._createMessageElement(i,o),this._isElementDescribedByMessage(t,s)||this._addMessageReference(t,s)}removeDescription(t,i,o){var a;if(!i||!this._isElementNode(t))return;let s=Sg(i,o);if(this._isElementDescribedByMessage(t,s)&&this._removeMessageReference(t,s),typeof i=="string"){let l=this._messageRegistry.get(s);l&&l.referenceCount===0&&this._deleteMessageElement(s)}((a=this._messagesContainer)==null?void 0:a.childNodes.length)===0&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){var i;let t=this._document.querySelectorAll("[".concat(fu,'="').concat(this._id,'"]'));for(let o=0;oo.indexOf(fC)!=0);t.setAttribute("aria-describedby",i.join(" "))}_addMessageReference(t,i){let o=this._messageRegistry.get(i);Rg(t,"aria-describedby",o.messageElement.id),t.setAttribute(fu,this._id),o.referenceCount++}_removeMessageReference(t,i){let o=this._messageRegistry.get(i);o.referenceCount--,vu(t,"aria-describedby",o.messageElement.id),t.removeAttribute(fu)}_isElementDescribedByMessage(t,i){let o=pu(t,"aria-describedby"),s=this._messageRegistry.get(i),a=s&&s.messageElement.id;return!!a&&o.indexOf(a)!=-1}_canBeDescribed(t,i){if(!this._isElementNode(t))return!1;if(i&&typeof i=="object")return!0;let o=i==null?"":"".concat(i).trim(),s=t.getAttribute("aria-label");return o?!s||s.trim()!==o:!1}_isElementNode(t){return t.nodeType===this._document.ELEMENT_NODE}};e.\u0275fac=function(i){return new(i||e)(v(W),v(xe))},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();function Sg(n,e){return typeof n=="string"?"".concat(e||"","/").concat(n):n}function aC(n,e){n.id||(n.id="".concat(fC,"-").concat(e,"-").concat(Ag++))}var gu=class{constructor(e,r){this._items=e,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new A,this._typeaheadSubscription=fe.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=t=>t.disabled,this._pressedLetters=[],this.tabOut=new A,this.change=new A,e instanceof Yn?this._itemChangesSubscription=e.changes.subscribe(t=>this._itemsChanged(t.toArray())):hd(e)&&(this._effectRef=Jm(()=>this._itemsChanged(e()),{injector:r}))}skipPredicate(e){return this._skipPredicateFn=e,this}withWrap(e=!0){return this._wrap=e,this}withVerticalOrientation(e=!0){return this._vertical=e,this}withHorizontalOrientation(e){return this._horizontal=e,this}withAllowedModifierKeys(e){return this._allowedModifierKeys=e,this}withTypeAhead(e=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(et(r=>this._pressedLetters.push(r)),Or(e),le(()=>this._pressedLetters.length>0),K(()=>this._pressedLetters.join(""))).subscribe(r=>{let t=this._getItemsArray();for(let i=1;i!e[o]||this._allowedModifierKeys.indexOf(o)>-1);switch(r){case 9:this.tabOut.next();return;case 40:if(this._vertical&&i){this.setNextItemActive();break}else return;case 38:if(this._vertical&&i){this.setPreviousItemActive();break}else return;case 39:if(this._horizontal&&i){this._horizontal==="rtl"?this.setPreviousItemActive():this.setNextItemActive();break}else return;case 37:if(this._horizontal&&i){this._horizontal==="rtl"?this.setNextItemActive():this.setPreviousItemActive();break}else return;case 36:if(this._homeAndEnd&&i){this.setFirstItemActive();break}else return;case 35:if(this._homeAndEnd&&i){this.setLastItemActive();break}else return;case 33:if(this._pageUpAndDown.enabled&&i){let o=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(o>0?o:0,1);break}else return;case 34:if(this._pageUpAndDown.enabled&&i){let o=this._activeItemIndex+this._pageUpAndDown.delta,s=this._getItemsArray().length;this._setActiveItemByIndex(o=65&&r<=90||r>=48&&r<=57)&&this._letterKeyStream.next(String.fromCharCode(r)));return}this._pressedLetters=[],e.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._getItemsArray().length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(e){let r=this._getItemsArray(),t=typeof e=="number"?e:r.indexOf(e),i=r[t];this._activeItem=i==null?null:i,this._activeItemIndex=t}destroy(){var e,r;this._typeaheadSubscription.unsubscribe(),(e=this._itemChangesSubscription)==null||e.unsubscribe(),(r=this._effectRef)==null||r.destroy(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(e){this._wrap?this._setActiveInWrapMode(e):this._setActiveInDefaultMode(e)}_setActiveInWrapMode(e){let r=this._getItemsArray();for(let t=1;t<=r.length;t++){let i=(this._activeItemIndex+e*t+r.length)%r.length,o=r[i];if(!this._skipPredicateFn(o)){this.setActiveItem(i);return}}}_setActiveInDefaultMode(e){this._setActiveItemByIndex(this._activeItemIndex+e,e)}_setActiveItemByIndex(e,r){let t=this._getItemsArray();if(t[e]){for(;this._skipPredicateFn(t[e]);)if(e+=r,!t[e])return;this.setActiveItem(e)}}_getItemsArray(){return hd(this._items)?this._items():this._items instanceof Yn?this._items.toArray():this._items}_itemsChanged(e){if(this._activeItem){let r=e.indexOf(this._activeItem);r>-1&&r!==this._activeItemIndex&&(this._activeItemIndex=r)}}},bu=class extends gu{setActiveItem(e){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(e),this.activeItem&&this.activeItem.setActiveStyles()}},vs=class extends gu{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(e){return this._origin=e,this}setActiveItem(e){super.setActiveItem(e),this.activeItem&&this.activeItem.focus(this._origin)}};var Ha=(()=>{let e=class e{constructor(t){this._platform=t}isDisabled(t){return t.hasAttribute("disabled")}isVisible(t){return SP(t)&&getComputedStyle(t).visibility==="visible"}isTabbable(t){if(!this._platform.isBrowser)return!1;let i=MP(FP(t));if(i&&(lC(i)===-1||!this.isVisible(i)))return!1;let o=t.nodeName.toLowerCase(),s=lC(t);return t.hasAttribute("contenteditable")?s!==-1:o==="iframe"||o==="object"||this._platform.WEBKIT&&this._platform.IOS&&!NP(t)?!1:o==="audio"?t.hasAttribute("controls")?s!==-1:!1:o==="video"?s===-1?!1:s!==null?!0:this._platform.FIREFOX||t.hasAttribute("controls"):t.tabIndex>=0}isFocusable(t,i){return PP(t)&&!this.isDisabled(t)&&((i==null?void 0:i.ignoreVisibility)||this.isVisible(t))}};e.\u0275fac=function(i){return new(i||e)(v(xe))},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();function MP(n){try{return n.frameElement}catch{return null}}function SP(n){return!!(n.offsetWidth||n.offsetHeight||typeof n.getClientRects=="function"&&n.getClientRects().length)}function TP(n){let e=n.nodeName.toLowerCase();return e==="input"||e==="select"||e==="button"||e==="textarea"}function AP(n){return OP(n)&&n.type=="hidden"}function kP(n){return RP(n)&&n.hasAttribute("href")}function OP(n){return n.nodeName.toLowerCase()=="input"}function RP(n){return n.nodeName.toLowerCase()=="a"}function mC(n){if(!n.hasAttribute("tabindex")||n.tabIndex===void 0)return!1;let e=n.getAttribute("tabindex");return!!(e&&!isNaN(parseInt(e,10)))}function lC(n){if(!mC(n))return null;let e=parseInt(n.getAttribute("tabindex")||"",10);return isNaN(e)?-1:e}function NP(n){let e=n.nodeName.toLowerCase(),r=e==="input"&&n.type;return r==="text"||r==="password"||e==="select"||e==="textarea"}function PP(n){return AP(n)?!1:TP(n)||kP(n)||n.hasAttribute("contenteditable")||mC(n)}function FP(n){return n.ownerDocument&&n.ownerDocument.defaultView||window}var kg=class{get enabled(){return this._enabled}set enabled(e){this._enabled=e,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}constructor(e,r,t,i,o=!1,s){this._element=e,this._checker=r,this._ngZone=t,this._document=i,this._injector=s,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,o||this.attachAnchors()}destroy(){let e=this._startAnchor,r=this._endAnchor;e&&(e.removeEventListener("focus",this.startAnchorListener),e.remove()),r&&(r.removeEventListener("focus",this.endAnchorListener),r.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return this._hasAttached?!0:(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(e){return new Promise(r=>{this._executeOnStable(()=>r(this.focusInitialElement(e)))})}focusFirstTabbableElementWhenReady(e){return new Promise(r=>{this._executeOnStable(()=>r(this.focusFirstTabbableElement(e)))})}focusLastTabbableElementWhenReady(e){return new Promise(r=>{this._executeOnStable(()=>r(this.focusLastTabbableElement(e)))})}_getRegionBoundary(e){let r=this._element.querySelectorAll("[cdk-focus-region-".concat(e,"], ")+"[cdkFocusRegion".concat(e,"], ")+"[cdk-focus-".concat(e,"]"));return e=="start"?r.length?r[0]:this._getFirstTabbableElement(this._element):r.length?r[r.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(e){let r=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(r){if(!this._checker.isFocusable(r)){let t=this._getFirstTabbableElement(r);return t==null||t.focus(e),!!t}return r.focus(e),!0}return this.focusFirstTabbableElement(e)}focusFirstTabbableElement(e){let r=this._getRegionBoundary("start");return r&&r.focus(e),!!r}focusLastTabbableElement(e){let r=this._getRegionBoundary("end");return r&&r.focus(e),!!r}hasAttached(){return this._hasAttached}_getFirstTabbableElement(e){if(this._checker.isFocusable(e)&&this._checker.isTabbable(e))return e;let r=e.children;for(let t=0;t=0;t--){let i=r[t].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(r[t]):null;if(i)return i}return null}_createAnchor(){let e=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,e),e.classList.add("cdk-visually-hidden"),e.classList.add("cdk-focus-trap-anchor"),e.setAttribute("aria-hidden","true"),e}_toggleAnchorTabIndex(e,r){e?r.setAttribute("tabindex","0"):r.removeAttribute("tabindex")}toggleAnchors(e){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}_executeOnStable(e){this._ngZone.isStable?this._injector?Ut(e,{injector:this._injector}):e():this._ngZone.onStable.pipe(Ve(1)).subscribe(e)}},_u=(()=>{let e=class e{constructor(t,i,o){this._checker=t,this._ngZone=i,this._injector=y(Ce),this._document=o}create(t,i=!1){return new kg(t,this._checker,this._ngZone,this._document,i,this._injector)}};e.\u0275fac=function(i){return new(i||e)(v(Ha),v(k),v(W))},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();function $a(n){return n.buttons===0||n.detail===0}function Wa(n){let e=n.touches&&n.touches[0]||n.changedTouches&&n.changedTouches[0];return!!e&&e.identifier===-1&&(e.radiusX==null||e.radiusX===1)&&(e.radiusY==null||e.radiusY===1)}var LP=new E("cdk-input-modality-detector-options"),jP={ignoreKeys:[18,17,224,91,16]},pC=650,bs=fn({passive:!0,capture:!0}),VP=(()=>{let e=class e{get mostRecentModality(){return this._modality.value}constructor(t,i,o,s){this._platform=t,this._mostRecentTarget=null,this._modality=new dt(null),this._lastTouchMs=0,this._onKeydown=a=>{var l,c;(c=(l=this._options)==null?void 0:l.ignoreKeys)!=null&&c.some(d=>d===a.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=Gt(a))},this._onMousedown=a=>{Date.now()-this._lastTouchMs{if(Wa(a)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=Gt(a)},this._options=D(D({},jP),s),this.modalityDetected=this._modality.pipe(Vs(1)),this.modalityChanged=this.modalityDetected.pipe(Hi()),t.isBrowser&&i.runOutsideAngular(()=>{o.addEventListener("keydown",this._onKeydown,bs),o.addEventListener("mousedown",this._onMousedown,bs),o.addEventListener("touchstart",this._onTouchstart,bs)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,bs),document.removeEventListener("mousedown",this._onMousedown,bs),document.removeEventListener("touchstart",this._onTouchstart,bs))}};e.\u0275fac=function(i){return new(i||e)(v(xe),v(k),v(W),v(LP,8))},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})(),BP=new E("liveAnnouncerElement",{providedIn:"root",factory:UP});function UP(){return null}var zP=new E("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),HP=0,gC=(()=>{let e=class e{constructor(t,i,o,s){this._ngZone=i,this._defaultOptions=s,this._document=o,this._liveElement=t||this._createLiveElement()}announce(t,...i){let o=this._defaultOptions,s,a;return i.length===1&&typeof i[0]=="number"?a=i[0]:[s,a]=i,this.clear(),clearTimeout(this._previousTimeout),s||(s=o&&o.politeness?o.politeness:"polite"),a==null&&o&&(a=o.duration),this._liveElement.setAttribute("aria-live",s),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(l=>this._currentResolve=l)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{var l;this._liveElement.textContent=t,typeof a=="number"&&(this._previousTimeout=setTimeout(()=>this.clear(),a)),(l=this._currentResolve)==null||l.call(this),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){var t,i;clearTimeout(this._previousTimeout),(t=this._liveElement)==null||t.remove(),this._liveElement=null,(i=this._currentResolve)==null||i.call(this),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){let t="cdk-live-announcer-element",i=this._document.getElementsByClassName(t),o=this._document.createElement("div");for(let s=0;s .cdk-overlay-container [aria-modal="true"]');for(let o=0;o{let e=class e{constructor(t,i,o,s,a){this._ngZone=t,this._platform=i,this._inputModalityDetector=o,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new A,this._rootNodeFocusAndBlurListener=l=>{let c=Gt(l);for(let d=c;d;d=d.parentElement)l.type==="focus"?this._onFocus(l,d):this._onBlur(l,d)},this._document=s,this._detectionMode=(a==null?void 0:a.detectionMode)||mu.IMMEDIATE}monitor(t,i=!1){let o=un(t);if(!this._platform.isBrowser||o.nodeType!==1)return H();let s=nw(o)||this._getDocument(),a=this._elementInfo.get(o);if(a)return i&&(a.checkChildren=!0),a.subject;let l={checkChildren:i,subject:new A,rootNode:s};return this._elementInfo.set(o,l),this._registerGlobalListeners(l),l.subject}stopMonitoring(t){let i=un(t),o=this._elementInfo.get(i);o&&(o.subject.complete(),this._setClasses(i),this._elementInfo.delete(i),this._removeGlobalListeners(o))}focusVia(t,i,o){let s=un(t),a=this._getDocument().activeElement;s===a?this._getClosestElementsInfo(s).forEach(([l,c])=>this._originChanged(l,i,c)):(this._setOrigin(i),typeof s.focus=="function"&&s.focus(o))}ngOnDestroy(){this._elementInfo.forEach((t,i)=>this.stopMonitoring(i))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(t){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(t)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:t&&this._isLastInteractionFromInputLabel(t)?"mouse":"program"}_shouldBeAttributedToTouch(t){return this._detectionMode===mu.EVENTUAL||!!(t!=null&&t.contains(this._inputModalityDetector._mostRecentTarget))}_setClasses(t,i){t.classList.toggle("cdk-focused",!!i),t.classList.toggle("cdk-touch-focused",i==="touch"),t.classList.toggle("cdk-keyboard-focused",i==="keyboard"),t.classList.toggle("cdk-mouse-focused",i==="mouse"),t.classList.toggle("cdk-program-focused",i==="program")}_setOrigin(t,i=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=t,this._originFromTouchInteraction=t==="touch"&&i,this._detectionMode===mu.IMMEDIATE){clearTimeout(this._originTimeoutId);let o=this._originFromTouchInteraction?pC:1;this._originTimeoutId=setTimeout(()=>this._origin=null,o)}})}_onFocus(t,i){let o=this._elementInfo.get(i),s=Gt(t);!o||!o.checkChildren&&i!==s||this._originChanged(i,this._getFocusOrigin(s),o)}_onBlur(t,i){let o=this._elementInfo.get(i);!o||o.checkChildren&&t.relatedTarget instanceof Node&&i.contains(t.relatedTarget)||(this._setClasses(i),this._emitOrigin(o,null))}_emitOrigin(t,i){t.subject.observers.length&&this._ngZone.run(()=>t.subject.next(i))}_registerGlobalListeners(t){if(!this._platform.isBrowser)return;let i=t.rootNode,o=this._rootNodeFocusListenerCount.get(i)||0;o||this._ngZone.runOutsideAngular(()=>{i.addEventListener("focus",this._rootNodeFocusAndBlurListener,hu),i.addEventListener("blur",this._rootNodeFocusAndBlurListener,hu)}),this._rootNodeFocusListenerCount.set(i,o+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(Ie(this._stopInputModalityDetector)).subscribe(s=>{this._setOrigin(s,!0)}))}_removeGlobalListeners(t){let i=t.rootNode;if(this._rootNodeFocusListenerCount.has(i)){let o=this._rootNodeFocusListenerCount.get(i);o>1?this._rootNodeFocusListenerCount.set(i,o-1):(i.removeEventListener("focus",this._rootNodeFocusAndBlurListener,hu),i.removeEventListener("blur",this._rootNodeFocusAndBlurListener,hu),this._rootNodeFocusListenerCount.delete(i))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(t,i,o){this._setClasses(t,i),this._emitOrigin(o,i),this._lastFocusOrigin=i}_getClosestElementsInfo(t){let i=[];return this._elementInfo.forEach((o,s)=>{(s===t||o.checkChildren&&s.contains(t))&&i.push([s,o])}),i}_isLastInteractionFromInputLabel(t){let{_mostRecentTarget:i,mostRecentModality:o}=this._inputModalityDetector;if(o!=="mouse"||!i||i===t||t.nodeName!=="INPUT"&&t.nodeName!=="TEXTAREA"||t.disabled)return!1;let s=t.labels;if(s){for(let a=0;a{let e=class e{constructor(t,i){this._platform=t,this._document=i,this._breakpointSubscription=y(sw).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return to.NONE;let t=this._document.createElement("div");t.style.backgroundColor="rgb(1,2,3)",t.style.position="absolute",this._document.body.appendChild(t);let i=this._document.defaultView||window,o=i&&i.getComputedStyle?i.getComputedStyle(t):null,s=(o&&o.backgroundColor||"").replace(/ /g,"");switch(t.remove(),s){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return to.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return to.BLACK_ON_WHITE}return to.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let t=this._document.body.classList;t.remove(Tg,cC,dC),this._hasCheckedHighContrastMode=!0;let i=this.getHighContrastMode();i===to.BLACK_ON_WHITE?t.add(Tg,cC):i===to.WHITE_ON_BLACK&&t.add(Tg,dC)}}};e.\u0275fac=function(i){return new(i||e)(v(xe),v(W))},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})(),yu=(()=>{let e=class e{constructor(t){t._applyBodyHighContrastModeCssClasses()}};e.\u0275fac=function(i){return new(i||e)(v(Ng))},e.\u0275mod=V({type:e}),e.\u0275inj=L({imports:[uu]});let n=e;return n})();function WP(n,e){}var io=class{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0,this.closeOnDestroy=!0,this.closeOnOverlayDetachments=!0}};var Fg=(()=>{let e=class e extends ps{constructor(t,i,o,s,a,l,c,d){super(),this._elementRef=t,this._focusTrapFactory=i,this._config=s,this._interactivityChecker=a,this._ngZone=l,this._overlayRef=c,this._focusMonitor=d,this._platform=y(xe),this._focusTrap=null,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this._ariaLabelledByQueue=[],this._changeDetectorRef=y(Ne),this._injector=y(Ce),this._isDestroyed=!1,this.attachDomPortal=u=>{this._portalOutlet.hasAttached();let f=this._portalOutlet.attachDomPortal(u);return this._contentAttached(),f},this._document=o,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_addAriaLabelledBy(t){this._ariaLabelledByQueue.push(t),this._changeDetectorRef.markForCheck()}_removeAriaLabelledBy(t){let i=this._ariaLabelledByQueue.indexOf(t);i>-1&&(this._ariaLabelledByQueue.splice(i,1),this._changeDetectorRef.markForCheck())}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._isDestroyed=!0,this._restoreFocus()}attachComponentPortal(t){this._portalOutlet.hasAttached();let i=this._portalOutlet.attachComponentPortal(t);return this._contentAttached(),i}attachTemplatePortal(t){this._portalOutlet.hasAttached();let i=this._portalOutlet.attachTemplatePortal(t);return this._contentAttached(),i}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(t,i){this._interactivityChecker.isFocusable(t)||(t.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{let o=()=>{t.removeEventListener("blur",o),t.removeEventListener("mousedown",o),t.removeAttribute("tabindex")};t.addEventListener("blur",o),t.addEventListener("mousedown",o)})),t.focus(i)}_focusByCssSelector(t,i){let o=this._elementRef.nativeElement.querySelector(t);o&&this._forceFocus(o,i)}_trapFocus(){this._isDestroyed||Ut(()=>{var i;let t=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||t.focus();break;case!0:case"first-tabbable":((i=this._focusTrap)==null?void 0:i.focusInitialElement())||this._focusDialogContainer();break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus);break}},{injector:this._injector})}_restoreFocus(){let t=this._config.restoreFocus,i=null;if(typeof t=="string"?i=this._document.querySelector(t):typeof t=="boolean"?i=t?this._elementFocusedBeforeDialogWasOpened:null:t&&(i=t),this._config.restoreFocus&&i&&typeof i.focus=="function"){let o=pa(),s=this._elementRef.nativeElement;(!o||o===this._document.body||o===s||s.contains(o))&&(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(){let t=this._elementRef.nativeElement,i=pa();return t===i||t.contains(i)}_initializeFocusTrap(){this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=pa()))}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}};e.\u0275fac=function(i){return new(i||e)(h(P),h(_u),h(W,8),h(io),h(Ha),h(k),h(Oi),h(Zt))},e.\u0275cmp=j({type:e,selectors:[["cdk-dialog-container"]],viewQuery:function(i,o){if(i&1&&Fe(Jr,7),i&2){let s;ie(s=re())&&(o._portalOutlet=s.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(i,o){i&2&&De("id",o._config.id||null)("role",o._config.role)("aria-modal",o._config.ariaModal)("aria-labelledby",o._config.ariaLabel?null:o._ariaLabelledByQueue[0])("aria-label",o._config.ariaLabel)("aria-describedby",o._config.ariaDescribedBy||null)},standalone:!0,features:[Ue,Oe],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(i,o){i&1&&F(0,WP,0,0,"ng-template",0)},dependencies:[Jr],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2});let n=e;return n})(),Ga=class{constructor(e,r){this.overlayRef=e,this.config=r,this.closed=new A,this.disableClose=r.disableClose,this.backdropClick=e.backdropClick(),this.keydownEvents=e.keydownEvents(),this.outsidePointerEvents=e.outsidePointerEvents(),this.id=r.id,this.keydownEvents.subscribe(t=>{t.keyCode===27&&!this.disableClose&&!ht(t)&&(t.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})}),this._detachSubscription=e.detachments().subscribe(()=>{r.closeOnOverlayDetachments!==!1&&this.close()})}close(e,r){if(this.containerInstance){let t=this.closed;this.containerInstance._closeInteractionType=(r==null?void 0:r.focusOrigin)||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),t.next(e),t.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(e="",r=""){return this.overlayRef.updateSize({width:e,height:r}),this}addPanelClass(e){return this.overlayRef.addPanelClass(e),this}removePanelClass(e){return this.overlayRef.removePanelClass(e),this}},GP=new E("DialogScrollStrategy",{providedIn:"root",factory:()=>{let n=y(Ye);return()=>n.scrollStrategies.block()}}),qP=new E("DialogData"),YP=new E("DefaultDialogConfig");var ZP=0,Lg=(()=>{let e=class e{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}constructor(t,i,o,s,a,l){this._overlay=t,this._injector=i,this._defaultOptions=o,this._parentDialog=s,this._overlayContainer=a,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new A,this._afterOpenedAtThisLevel=new A,this._ariaHiddenElements=new Map,this.afterAllClosed=Bn(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(at(void 0))),this._scrollStrategy=l}open(t,i){let o=this._defaultOptions||new io;i=D(D({},o),i),i.id=i.id||"cdk-dialog-".concat(ZP++),i.id&&this.getDialogById(i.id);let s=this._getOverlayConfig(i),a=this._overlay.create(s),l=new Ga(a,i),c=this._attachContainer(a,l,i);return l.containerInstance=c,this._attachDialogContent(t,l,c,i),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(l),l.closed.subscribe(()=>this._removeOpenDialog(l,!0)),this.afterOpened.next(l),l}closeAll(){Pg(this.openDialogs,t=>t.close())}getDialogById(t){return this.openDialogs.find(i=>i.id===t)}ngOnDestroy(){Pg(this._openDialogsAtThisLevel,t=>{t.config.closeOnDestroy===!1&&this._removeOpenDialog(t,!1)}),Pg(this._openDialogsAtThisLevel,t=>t.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(t){let i=new ur({positionStrategy:t.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:t.scrollStrategy||this._scrollStrategy(),panelClass:t.panelClass,hasBackdrop:t.hasBackdrop,direction:t.direction,minWidth:t.minWidth,minHeight:t.minHeight,maxWidth:t.maxWidth,maxHeight:t.maxHeight,width:t.width,height:t.height,disposeOnNavigation:t.closeOnNavigation});return t.backdropClass&&(i.backdropClass=t.backdropClass),i}_attachContainer(t,i,o){var u;let s=o.injector||((u=o.viewContainerRef)==null?void 0:u.injector),a=[{provide:io,useValue:o},{provide:Ga,useValue:i},{provide:Oi,useValue:t}],l;o.container?typeof o.container=="function"?l=o.container:(l=o.container.type,a.push(...o.container.providers(o))):l=Fg;let c=new dr(l,o.viewContainerRef,Ce.create({parent:s||this._injector,providers:a}),o.componentFactoryResolver);return t.attach(c).instance}_attachDialogContent(t,i,o,s){if(t instanceof pt){let a=this._createInjector(s,i,o,void 0),l={$implicit:s.data,dialogRef:i};s.templateContext&&(l=D(D({},l),typeof s.templateContext=="function"?s.templateContext():s.templateContext)),o.attachTemplatePortal(new Rn(t,null,l,a))}else{let a=this._createInjector(s,i,o,this._injector),l=o.attachComponentPortal(new dr(t,s.viewContainerRef,a,s.componentFactoryResolver));i.componentRef=l,i.componentInstance=l.instance}}_createInjector(t,i,o,s){var c;let a=t.injector||((c=t.viewContainerRef)==null?void 0:c.injector),l=[{provide:qP,useValue:t.data},{provide:Ga,useValue:i}];return t.providers&&(typeof t.providers=="function"?l.push(...t.providers(i,t,o)):l.push(...t.providers)),t.direction&&(!a||!a.get(St,null,{optional:!0}))&&l.push({provide:St,useValue:{value:t.direction,change:H()}}),Ce.create({parent:a||s,providers:l})}_removeOpenDialog(t,i){let o=this.openDialogs.indexOf(t);o>-1&&(this.openDialogs.splice(o,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((s,a)=>{s?a.setAttribute("aria-hidden",s):a.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),i&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){let t=this._overlayContainer.getContainerElement();if(t.parentElement){let i=t.parentElement.children;for(let o=i.length-1;o>-1;o--){let s=i[o];s!==t&&s.nodeName!=="SCRIPT"&&s.nodeName!=="STYLE"&&!s.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(s,s.getAttribute("aria-hidden")),s.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){let t=this._parentDialog;return t?t._getAfterAllClosed():this._afterAllClosedAtThisLevel}};e.\u0275fac=function(i){return new(i||e)(v(Ye),v(Ce),v(YP,8),v(e,12),v(gs),v(GP))},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();function Pg(n,e){let r=n.length;for(;r--;)e(n[r])}var bC=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=V({type:e}),e.\u0275inj=L({providers:[Lg],imports:[ci,ki,yu,ki]});let n=e;return n})();var QP=["text"],KP=[[["mat-icon"]],"*"],XP=["mat-icon","*"];function JP(n,e){if(n&1&&O(0,"mat-pseudo-checkbox",1),n&2){let r=R();M("disabled",r.disabled)("state",r.selected?"checked":"unchecked")}}function eF(n,e){if(n&1&&O(0,"mat-pseudo-checkbox",3),n&2){let r=R();M("disabled",r.disabled)}}function tF(n,e){if(n&1&&(p(0,"span",4),w(1),b()),n&2){let r=R();x(),Te("(",r.group.label,")")}}var nF=["mat-internal-form-field",""],iF=["*"];function rF(){return!0}var oF=new E("mat-sanity-checks",{providedIn:"root",factory:rF}),Ae=(()=>{let e=class e{constructor(t,i,o){this._sanityChecks=i,this._document=o,this._hasDoneGlobalChecks=!1,t._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(t){return ga()?!1:typeof this._sanityChecks=="boolean"?this._sanityChecks:!!this._sanityChecks[t]}};e.\u0275fac=function(i){return new(i||e)(v(Ng),v(oF,8),v(W))},e.\u0275mod=V({type:e}),e.\u0275inj=L({imports:[lr,lr]});let n=e;return n})();var Cs=class{constructor(e,r,t,i,o){this._defaultMatcher=e,this.ngControl=r,this._parentFormGroup=t,this._parentForm=i,this._stateChanges=o,this.errorState=!1}updateErrorState(){var s;let e=this.errorState,r=this._parentFormGroup||this._parentForm,t=this.matcher||this._defaultMatcher,i=this.ngControl?this.ngControl.control:null,o=(s=t==null?void 0:t.isErrorState(i,r))!=null?s:!1;o!==e&&(this.errorState=o,this._stateChanges.next())}};var wu=(()=>{let e=class e{isErrorState(t,i){return!!(t&&t.invalid&&(t.touched||i&&i.submitted))}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();var mn=function(n){return n[n.FADING_IN=0]="FADING_IN",n[n.VISIBLE=1]="VISIBLE",n[n.FADING_OUT=2]="FADING_OUT",n[n.HIDDEN=3]="HIDDEN",n}(mn||{}),Bg=class{constructor(e,r,t,i=!1){this._renderer=e,this.element=r,this.config=t,this._animationForciblyDisabledThroughCss=i,this.state=mn.HIDDEN}fadeOut(){this._renderer.fadeOutRipple(this)}},vC=fn({passive:!0,capture:!0}),Ug=class{constructor(){this._events=new Map,this._delegateEventHandler=e=>{var t;let r=Gt(e);r&&((t=this._events.get(e.type))==null||t.forEach((i,o)=>{(o===r||o.contains(r))&&i.forEach(s=>s.handleEvent(e))}))}}addHandler(e,r,t,i){let o=this._events.get(r);if(o){let s=o.get(t);s?s.add(i):o.set(t,new Set([i]))}else this._events.set(r,new Map([[t,new Set([i])]])),e.runOutsideAngular(()=>{document.addEventListener(r,this._delegateEventHandler,vC)})}removeHandler(e,r,t){let i=this._events.get(e);if(!i)return;let o=i.get(r);o&&(o.delete(t),o.size===0&&i.delete(r),i.size===0&&(this._events.delete(e),document.removeEventListener(e,this._delegateEventHandler,vC)))}},_C={enterDuration:225,exitDuration:150},sF=800,yC=fn({passive:!0,capture:!0}),xC=["mousedown","touchstart"],wC=["mouseup","mouseleave","touchend","touchcancel"],qa=class qa{constructor(e,r,t,i){this._target=e,this._ngZone=r,this._platform=i,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,i.isBrowser&&(this._containerElement=un(t))}fadeInRipple(e,r,t={}){let i=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o=D(D({},_C),t.animation);t.centered&&(e=i.left+i.width/2,r=i.top+i.height/2);let s=t.radius||aF(e,r,i),a=e-i.left,l=r-i.top,c=o.enterDuration,d=document.createElement("div");d.classList.add("mat-ripple-element"),d.style.left="".concat(a-s,"px"),d.style.top="".concat(l-s,"px"),d.style.height="".concat(s*2,"px"),d.style.width="".concat(s*2,"px"),t.color!=null&&(d.style.backgroundColor=t.color),d.style.transitionDuration="".concat(c,"ms"),this._containerElement.appendChild(d);let u=window.getComputedStyle(d),f=u.transitionProperty,m=u.transitionDuration,g=f==="none"||m==="0s"||m==="0s, 0s"||i.width===0&&i.height===0,_=new Bg(this,d,t,g);d.style.transform="scale3d(1, 1, 1)",_.state=mn.FADING_IN,t.persistent||(this._mostRecentTransientRipple=_);let C=null;return!g&&(c||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let S=()=>this._finishRippleTransition(_),B=()=>this._destroyRipple(_);d.addEventListener("transitionend",S),d.addEventListener("transitioncancel",B),C={onTransitionEnd:S,onTransitionCancel:B}}),this._activeRipples.set(_,C),(g||!c)&&this._finishRippleTransition(_),_}fadeOutRipple(e){if(e.state===mn.FADING_OUT||e.state===mn.HIDDEN)return;let r=e.element,t=D(D({},_C),e.config.animation);r.style.transitionDuration="".concat(t.exitDuration,"ms"),r.style.opacity="0",e.state=mn.FADING_OUT,(e._animationForciblyDisabledThroughCss||!t.exitDuration)&&this._finishRippleTransition(e)}fadeOutAll(){this._getActiveRipples().forEach(e=>e.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(e=>{e.config.persistent||e.fadeOut()})}setupTriggerEvents(e){let r=un(e);!this._platform.isBrowser||!r||r===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=r,xC.forEach(t=>{qa._eventManager.addHandler(this._ngZone,t,r,this)}))}handleEvent(e){e.type==="mousedown"?this._onMousedown(e):e.type==="touchstart"?this._onTouchStart(e):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{wC.forEach(r=>{this._triggerElement.addEventListener(r,this,yC)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(e){e.state===mn.FADING_IN?this._startFadeOutTransition(e):e.state===mn.FADING_OUT&&this._destroyRipple(e)}_startFadeOutTransition(e){let r=e===this._mostRecentTransientRipple,{persistent:t}=e.config;e.state=mn.VISIBLE,!t&&(!r||!this._isPointerDown)&&e.fadeOut()}_destroyRipple(e){var t;let r=(t=this._activeRipples.get(e))!=null?t:null;this._activeRipples.delete(e),this._activeRipples.size||(this._containerRect=null),e===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),e.state=mn.HIDDEN,r!==null&&(e.element.removeEventListener("transitionend",r.onTransitionEnd),e.element.removeEventListener("transitioncancel",r.onTransitionCancel)),e.element.remove()}_onMousedown(e){let r=$a(e),t=this._lastTouchStartEvent&&Date.now(){let r=e.state===mn.VISIBLE||e.config.terminateOnPointerUp&&e.state===mn.FADING_IN;!e.config.persistent&&r&&e.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let e=this._triggerElement;e&&(xC.forEach(r=>qa._eventManager.removeHandler(r,e,this)),this._pointerUpEventsRegistered&&(wC.forEach(r=>e.removeEventListener(r,this,yC)),this._pointerUpEventsRegistered=!1))}};qa._eventManager=new Ug;var zg=qa;function aF(n,e,r){let t=Math.max(Math.abs(n-r.left),Math.abs(n-r.right)),i=Math.max(Math.abs(e-r.top),Math.abs(e-r.bottom));return Math.sqrt(t*t+i*i)}var IC=new E("mat-ripple-global-options"),ro=(()=>{let e=class e{get disabled(){return this._disabled}set disabled(t){t&&this.fadeOutAllNonPersistent(),this._disabled=t,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(t){this._trigger=t,this._setupTriggerEventsIfEnabled()}constructor(t,i,o,s,a){this._elementRef=t,this._animationMode=a,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=s||{},this._rippleRenderer=new zg(this,i,t,o)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:D(D(D({},this._globalOptions.animation),this._animationMode==="NoopAnimations"?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(t,i=0,o){return typeof t=="number"?this._rippleRenderer.fadeInRipple(t,i,D(D({},this.rippleConfig),o)):this._rippleRenderer.fadeInRipple(0,0,D(D({},this.rippleConfig),t))}};e.\u0275fac=function(i){return new(i||e)(h(P),h(k),h(xe),h(IC,8),h(Ge,8))},e.\u0275dir=N({type:e,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(i,o){i&2&&ae("mat-ripple-unbounded",o.unbounded)},inputs:{color:[0,"matRippleColor","color"],unbounded:[0,"matRippleUnbounded","unbounded"],centered:[0,"matRippleCentered","centered"],radius:[0,"matRippleRadius","radius"],animation:[0,"matRippleAnimation","animation"],disabled:[0,"matRippleDisabled","disabled"],trigger:[0,"matRippleTrigger","trigger"]},exportAs:["matRipple"],standalone:!0});let n=e;return n})(),Ya=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=V({type:e}),e.\u0275inj=L({imports:[Ae,Ae]});let n=e;return n})(),lF=(()=>{let e=class e{constructor(t){this._animationMode=t,this.state="unchecked",this.disabled=!1,this.appearance="full"}};e.\u0275fac=function(i){return new(i||e)(h(Ge,8))},e.\u0275cmp=j({type:e,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(i,o){i&2&&ae("mat-pseudo-checkbox-indeterminate",o.state==="indeterminate")("mat-pseudo-checkbox-checked",o.state==="checked")("mat-pseudo-checkbox-disabled",o.disabled)("mat-pseudo-checkbox-minimal",o.appearance==="minimal")("mat-pseudo-checkbox-full",o.appearance==="full")("_mat-animation-noopable",o._animationMode==="NoopAnimations")},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},standalone:!0,features:[Oe],decls:0,vars:0,template:function(i,o){},styles:['.mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-minimal-pseudo-checkbox-selected-checkmark-color)}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color)}.mat-pseudo-checkbox-full{border-color:var(--mat-full-pseudo-checkbox-unselected-icon-color);border-width:2px;border-style:solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled{border-color:var(--mat-full-pseudo-checkbox-disabled-unselected-icon-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{background-color:var(--mat-full-pseudo-checkbox-selected-icon-color);border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-full-pseudo-checkbox-selected-checkmark-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background-color:var(--mat-full-pseudo-checkbox-disabled-selected-icon-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-full-pseudo-checkbox-disabled-selected-checkmark-color)}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}'],encapsulation:2,changeDetection:0});let n=e;return n})(),cF=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=V({type:e}),e.\u0275inj=L({imports:[Ae]});let n=e;return n})(),$g=new E("MAT_OPTION_PARENT_COMPONENT");var Wg=new E("MatOptgroup");var dF=0,Hg=class{constructor(e,r=!1){this.source=e,this.isUserInput=r}},Cu=(()=>{let e=class e{get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(t){this._disabled=t}get disableRipple(){return!!(this._parent&&this._parent.disableRipple)}get hideSingleSelectionIndicator(){return!!(this._parent&&this._parent.hideSingleSelectionIndicator)}constructor(t,i,o,s){this._element=t,this._changeDetectorRef=i,this._parent=o,this.group=s,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-".concat(dF++),this.onSelectionChange=new $,this._stateChanges=new A}get active(){return this._active}get viewValue(){var t;return(((t=this._text)==null?void 0:t.nativeElement.textContent)||"").trim()}select(t=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),t&&this._emitSelectionChangeEvent())}deselect(t=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),t&&this._emitSelectionChangeEvent())}focus(t,i){let o=this._getHostElement();typeof o.focus=="function"&&o.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(t){(t.keyCode===13||t.keyCode===32)&&!ht(t)&&(this._selectViaInteraction(),t.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=this.multiple?!this._selected:!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){let t=this.viewValue;t!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=t)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(t=!1){this.onSelectionChange.emit(new Hg(this,t))}};e.\u0275fac=function(i){return new(i||e)(h(P),h(Ne),h($g,8),h(Wg,8))},e.\u0275cmp=j({type:e,selectors:[["mat-option"]],viewQuery:function(i,o){if(i&1&&Fe(QP,7),i&2){let s;ie(s=re())&&(o._text=s.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(i,o){i&1&&z("click",function(){return o._selectViaInteraction()})("keydown",function(a){return o._handleKeydown(a)}),i&2&&(dn("id",o.id),De("aria-selected",o.selected)("aria-disabled",o.disabled.toString()),ae("mdc-list-item--selected",o.selected)("mat-mdc-option-multiple",o.multiple)("mat-mdc-option-active",o.active)("mdc-list-item--disabled",o.disabled))},inputs:{value:"value",id:"id",disabled:[2,"disabled","disabled",oe]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],standalone:!0,features:[Le,Oe],ngContentSelectors:XP,decls:8,vars:5,consts:[["text",""],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],[1,"mdc-list-item__primary-text"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled"]],template:function(i,o){i&1&&(Je(KP),F(0,JP,1,2,"mat-pseudo-checkbox",1),ue(1),p(2,"span",2,0),ue(4,1),b(),F(5,eF,1,1,"mat-pseudo-checkbox",3)(6,tF,2,1,"span",4),O(7,"div",5)),i&2&&(qe(o.multiple?0:-1),x(5),qe(!o.multiple&&o.selected&&!o.hideSingleSelectionIndicator?5:-1),x(),qe(o.group&&o.group._inert?6:-1),x(),M("matRippleTrigger",o._getHostElement())("matRippleDisabled",o.disabled||o.disableRipple))},dependencies:[lF,ro],styles:['.mat-mdc-option{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--mat-option-label-text-color);font-family:var(--mat-option-label-text-font);line-height:var(--mat-option-label-text-line-height);font-size:var(--mat-option-label-text-size);letter-spacing:var(--mat-option-label-text-tracking);font-weight:var(--mat-option-label-text-weight);min-height:48px}.mat-mdc-option:focus{outline:none}[dir=rtl] .mat-mdc-option,.mat-mdc-option[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:var(--mat-option-hover-state-layer-color)}.mat-mdc-option:focus.mdc-list-item,.mat-mdc-option.mat-mdc-option-active.mdc-list-item{background-color:var(--mat-option-focus-state-layer-color)}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled) .mdc-list-item__primary-text{color:var(--mat-option-selected-state-label-text-color)}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple){background-color:var(--mat-option-selected-state-layer-color)}.mat-mdc-option.mdc-list-item{align-items:center;background:rgba(0,0,0,0)}.mat-mdc-option.mdc-list-item--disabled{cursor:default;pointer-events:none}.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox,.mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text,.mat-mdc-option.mdc-list-item--disabled>mat-icon{opacity:.38}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}.cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{right:auto;left:16px}.mat-mdc-option-multiple{--mdc-list-list-item-selected-container-color:var(--mdc-list-list-item-container-color, transparent)}.mat-mdc-option-active .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0});let n=e;return n})();function MC(n,e,r){if(r.length){let t=e.toArray(),i=r.toArray(),o=0;for(let s=0;sr+t?Math.max(0,n-t+e):r}var Gg=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=V({type:e}),e.\u0275inj=L({imports:[Ya,Ae,cF]});let n=e;return n})(),CC={capture:!0},DC=["focus","mousedown","mouseenter","touchstart"],jg="mat-ripple-loader-uninitialized",Vg="mat-ripple-loader-class-name",EC="mat-ripple-loader-centered",xu="mat-ripple-loader-disabled",TC=(()=>{let e=class e{constructor(){this._document=y(W,{optional:!0}),this._animationMode=y(Ge,{optional:!0}),this._globalRippleOptions=y(IC,{optional:!0}),this._platform=y(xe),this._ngZone=y(k),this._hosts=new Map,this._onInteraction=t=>{var o,s;let i=Gt(t);if(i instanceof HTMLElement){let a=i.closest("[".concat(jg,'="').concat((s=(o=this._globalRippleOptions)==null?void 0:o.namespace)!=null?s:"",'"]'));a&&this._createRipple(a)}},this._ngZone.runOutsideAngular(()=>{var t;for(let i of DC)(t=this._document)==null||t.addEventListener(i,this._onInteraction,CC)})}ngOnDestroy(){var i;let t=this._hosts.keys();for(let o of t)this.destroyRipple(o);for(let o of DC)(i=this._document)==null||i.removeEventListener(o,this._onInteraction,CC)}configureRipple(t,i){var o,s;t.setAttribute(jg,(s=(o=this._globalRippleOptions)==null?void 0:o.namespace)!=null?s:""),(i.className||!t.hasAttribute(Vg))&&t.setAttribute(Vg,i.className||""),i.centered&&t.setAttribute(EC,""),i.disabled&&t.setAttribute(xu,"")}getRipple(t){return this._hosts.get(t)||this._createRipple(t)}setDisabled(t,i){let o=this._hosts.get(t);if(o){o.disabled=i;return}i?t.setAttribute(xu,""):t.removeAttribute(xu)}_createRipple(t){var a;if(!this._document)return;let i=this._hosts.get(t);if(i)return i;(a=t.querySelector(".mat-ripple"))==null||a.remove();let o=this._document.createElement("span");o.classList.add("mat-ripple",t.getAttribute(Vg)),t.append(o);let s=new ro(new P(o),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return s._isInitialized=!0,s.trigger=t,s.centered=t.hasAttribute(EC),s.disabled=t.hasAttribute(xu),this.attachRipple(t,s),s}attachRipple(t,i){t.removeAttribute(jg),this._hosts.set(t,i)}destroyRipple(t){let i=this._hosts.get(t);i&&(i.ngOnDestroy(),this._hosts.delete(t))}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})(),AC=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=j({type:e,selectors:[["div","mat-internal-form-field",""]],hostAttrs:[1,"mdc-form-field","mat-internal-form-field"],hostVars:2,hostBindings:function(i,o){i&2&&ae("mdc-form-field--align-end",o.labelPosition==="before")},inputs:{labelPosition:"labelPosition"},standalone:!0,features:[Oe],attrs:nF,ngContentSelectors:iF,decls:1,vars:0,template:function(i,o){i&1&&(Je(),ue(0))},styles:[".mdc-form-field{display:inline-flex;align-items:center;vertical-align:middle}.mdc-form-field[hidden]{display:none}.mdc-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{margin-left:auto;margin-right:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{padding-left:0;padding-right:4px}.mdc-form-field--nowrap>label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{margin-left:0;margin-right:auto}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{padding-left:4px;padding-right:0}.mdc-form-field--space-between{justify-content:space-between}.mdc-form-field--space-between>label{margin:0}[dir=rtl] .mdc-form-field--space-between>label,.mdc-form-field--space-between>label[dir=rtl]{margin:0}.mat-internal-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}"],encapsulation:2,changeDetection:0});let n=e;return n})();var ce=function(n){return n[n.State=0]="State",n[n.Transition=1]="Transition",n[n.Sequence=2]="Sequence",n[n.Group=3]="Group",n[n.Animate=4]="Animate",n[n.Keyframes=5]="Keyframes",n[n.Style=6]="Style",n[n.Trigger=7]="Trigger",n[n.Reference=8]="Reference",n[n.AnimateChild=9]="AnimateChild",n[n.AnimateRef=10]="AnimateRef",n[n.Query=11]="Query",n[n.Stagger=12]="Stagger",n}(ce||{}),di="*";function Nn(n,e){return{type:ce.Trigger,name:n,definitions:e,options:{}}}function pn(n,e=null){return{type:ce.Animate,styles:e,timings:n}}function kC(n,e=null){return{type:ce.Sequence,steps:n,options:e}}function ot(n){return{type:ce.Style,styles:n,offset:null}}function gn(n,e,r){return{type:ce.State,name:n,styles:e,options:r}}function Qt(n,e,r=null){return{type:ce.Transition,expr:n,animation:e,options:r}}function OC(n=null){return{type:ce.AnimateChild,options:n}}function RC(n,e,r=null){return{type:ce.Query,selector:n,animation:e,options:r}}var mr=class{constructor(e=0,r=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=e+r}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(e){this._position=this.totalTime?e*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(e){let r=e=="start"?this._onStartFns:this._onDoneFns;r.forEach(t=>t()),r.length=0}},Za=class{constructor(e){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=e;let r=0,t=0,i=0,o=this.players.length;o==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++r==o&&this._onFinish()}),s.onDestroy(()=>{++t==o&&this._onDestroy()}),s.onStart(()=>{++i==o&&this._onStart()})}),this.totalTime=this.players.reduce((s,a)=>Math.max(s,a.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this.players.forEach(e=>e.init())}onStart(e){this._onStartFns.push(e)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(e=>e()),this._onStartFns=[])}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(e=>e.play())}pause(){this.players.forEach(e=>e.pause())}restart(){this.players.forEach(e=>e.restart())}finish(){this._onFinish(),this.players.forEach(e=>e.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(e=>e.destroy()),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this.players.forEach(e=>e.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(e){let r=e*this.totalTime;this.players.forEach(t=>{let i=t.totalTime?Math.min(1,r/t.totalTime):1;t.setPosition(i)})}getPosition(){let e=this.players.reduce((r,t)=>r===null||t.totalTime>r.totalTime?t:r,null);return e!=null?e.getPosition():0}beforeDestroy(){this.players.forEach(e=>{e.beforeDestroy&&e.beforeDestroy()})}triggerCallback(e){let r=e=="start"?this._onStartFns:this._onDoneFns;r.forEach(t=>t()),r.length=0}},Du="!";function uF(n,e){}var Qa=class{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.delayFocusTrap=!0,this.closeOnNavigation=!0}},Yg="mdc-dialog--open",NC="mdc-dialog--opening",PC="mdc-dialog--closing",fF=150,hF=75,mF=(()=>{let e=class e extends Fg{constructor(t,i,o,s,a,l,c,d,u){var f,m;super(t,i,o,s,a,l,c,u),this._animationMode=d,this._animationStateChanged=new $,this._animationsEnabled=this._animationMode!=="NoopAnimations",this._actionSectionCount=0,this._hostElement=this._elementRef.nativeElement,this._enterAnimationDuration=this._animationsEnabled?(f=LC(this._config.enterAnimationDuration))!=null?f:fF:0,this._exitAnimationDuration=this._animationsEnabled?(m=LC(this._config.exitAnimationDuration))!=null?m:hF:0,this._animationTimer=null,this._finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._enterAnimationDuration)},this._finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._exitAnimationDuration})}}_contentAttached(){super._contentAttached(),this._startOpenAnimation()}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._enterAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(FC,"".concat(this._enterAnimationDuration,"ms")),this._requestAnimationFrame(()=>this._hostElement.classList.add(NC,Yg)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(Yg),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(Yg),this._animationsEnabled?(this._hostElement.style.setProperty(FC,"".concat(this._exitAnimationDuration,"ms")),this._requestAnimationFrame(()=>this._hostElement.classList.add(PC)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_updateActionSectionCount(t){this._actionSectionCount+=t,this._changeDetectorRef.markForCheck()}_clearAnimationClasses(){this._hostElement.classList.remove(NC,PC)}_waitForAnimationToComplete(t,i){this._animationTimer!==null&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(i,t)}_requestAnimationFrame(t){this._ngZone.runOutsideAngular(()=>{typeof requestAnimationFrame=="function"?requestAnimationFrame(t):t()})}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(t){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:t})}ngOnDestroy(){super.ngOnDestroy(),this._animationTimer!==null&&clearTimeout(this._animationTimer)}attachComponentPortal(t){let i=super.attachComponentPortal(t);return i.location.nativeElement.classList.add("mat-mdc-dialog-component-host"),i}};e.\u0275fac=function(i){return new(i||e)(h(P),h(_u),h(W,8),h(Qa),h(Ha),h(k),h(Oi),h(Ge,8),h(Zt))},e.\u0275cmp=j({type:e,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:10,hostBindings:function(i,o){i&2&&(dn("id",o._config.id),De("aria-modal",o._config.ariaModal)("role",o._config.role)("aria-labelledby",o._config.ariaLabel?null:o._ariaLabelledByQueue[0])("aria-label",o._config.ariaLabel)("aria-describedby",o._config.ariaDescribedBy||null),ae("_mat-animation-noopable",!o._animationsEnabled)("mat-mdc-dialog-container-with-actions",o._actionSectionCount>0))},standalone:!0,features:[Ue,Oe],decls:3,vars:0,consts:[[1,"mat-mdc-dialog-inner-container","mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(i,o){i&1&&(p(0,"div",0)(1,"div",1),F(2,uF,0,0,"ng-template",2),b()())},dependencies:[Jr],styles:['.mat-mdc-dialog-container{width:100%;height:100%;display:block;box-sizing:border-box;max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit;outline:0}.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-max-width, 80vw);min-width:var(--mat-dialog-container-min-width, 0)}@media(max-width: 599px){.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-small-max-width, 80vw)}}.mat-mdc-dialog-inner-container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;opacity:0;transition:opacity linear var(--mat-dialog-transition-duration, 0ms);max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mdc-dialog--closing .mat-mdc-dialog-inner-container{transition:opacity 75ms linear;transform:none}.mdc-dialog--open .mat-mdc-dialog-inner-container{opacity:1}._mat-animation-noopable .mat-mdc-dialog-inner-container{transition:none}.mat-mdc-dialog-surface{display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;width:100%;height:100%;position:relative;overflow-y:auto;outline:0;transform:scale(0.8);transition:transform var(--mat-dialog-transition-duration, 0ms) cubic-bezier(0, 0, 0.2, 1);max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit;box-shadow:var(--mat-dialog-container-elevation-shadow, 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12));border-radius:var(--mdc-dialog-container-shape, 4px);background-color:var(--mdc-dialog-container-color, white)}[dir=rtl] .mat-mdc-dialog-surface{text-align:right}.mdc-dialog--open .mat-mdc-dialog-surface,.mdc-dialog--closing .mat-mdc-dialog-surface{transform:none}._mat-animation-noopable .mat-mdc-dialog-surface{transition:none}.mat-mdc-dialog-surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mat-mdc-dialog-title{display:block;margin-top:0;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:var(--mat-dialog-headline-padding, 0 24px 9px)}.mat-mdc-dialog-title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mat-mdc-dialog-title{text-align:right}.mat-mdc-dialog-container .mat-mdc-dialog-title{color:var(--mdc-dialog-subhead-color, rgba(0, 0, 0, 0.87));font-family:var(--mdc-dialog-subhead-font, Roboto, sans-serif);line-height:var(--mdc-dialog-subhead-line-height, 1.5rem);font-size:var(--mdc-dialog-subhead-size, 1rem);font-weight:var(--mdc-dialog-subhead-weight, 400);letter-spacing:var(--mdc-dialog-subhead-tracking, 0.03125em)}.mat-mdc-dialog-content{display:block;flex-grow:1;box-sizing:border-box;margin:0;overflow:auto;max-height:65vh}.mat-mdc-dialog-content>:first-child{margin-top:0}.mat-mdc-dialog-content>:last-child{margin-bottom:0}.mat-mdc-dialog-container .mat-mdc-dialog-content{color:var(--mdc-dialog-supporting-text-color, rgba(0, 0, 0, 0.6));font-family:var(--mdc-dialog-supporting-text-font, Roboto, sans-serif);line-height:var(--mdc-dialog-supporting-text-line-height, 1.5rem);font-size:var(--mdc-dialog-supporting-text-size, 1rem);font-weight:var(--mdc-dialog-supporting-text-weight, 400);letter-spacing:var(--mdc-dialog-supporting-text-tracking, 0.03125em)}.mat-mdc-dialog-container .mat-mdc-dialog-content{padding:var(--mat-dialog-content-padding, 20px 24px)}.mat-mdc-dialog-container-with-actions .mat-mdc-dialog-content{padding:var(--mat-dialog-with-actions-content-padding, 20px 24px)}.mat-mdc-dialog-container .mat-mdc-dialog-title+.mat-mdc-dialog-content{padding-top:0}.mat-mdc-dialog-actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid rgba(0,0,0,0);padding:var(--mat-dialog-actions-padding, 8px);justify-content:var(--mat-dialog-actions-alignment, start)}.cdk-high-contrast-active .mat-mdc-dialog-actions{border-top-color:CanvasText}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-start,.mat-mdc-dialog-actions[align=start]{justify-content:start}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center,.mat-mdc-dialog-actions[align=center]{justify-content:center}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end,.mat-mdc-dialog-actions[align=end]{justify-content:flex-end}.mat-mdc-dialog-actions .mat-button-base+.mat-button-base,.mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-mdc-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}.mat-mdc-dialog-component-host{display:contents}'],encapsulation:2});let n=e;return n})(),FC="--mat-dialog-transition-duration";function LC(n){return n==null?null:typeof n=="number"?n:n.endsWith("ms")?Si(n.substring(0,n.length-2)):n.endsWith("s")?Si(n.substring(0,n.length-1))*1e3:n==="0"?0:null}var Eu=function(n){return n[n.OPEN=0]="OPEN",n[n.CLOSING=1]="CLOSING",n[n.CLOSED=2]="CLOSED",n}(Eu||{}),oo=class{constructor(e,r,t){this._ref=e,this._containerInstance=t,this._afterOpened=new A,this._beforeClosed=new A,this._state=Eu.OPEN,this.disableClose=r.disableClose,this.id=e.id,e.addPanelClass("mat-mdc-dialog-panel"),t._animationStateChanged.pipe(le(i=>i.state==="opened"),Ve(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),t._animationStateChanged.pipe(le(i=>i.state==="closed"),Ve(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),e.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),vt(this.backdropClick(),this.keydownEvents().pipe(le(i=>i.keyCode===27&&!this.disableClose&&!ht(i)))).subscribe(i=>{this.disableClose||(i.preventDefault(),jC(this,i.type==="keydown"?"keyboard":"mouse"))})}close(e){this._result=e,this._containerInstance._animationStateChanged.pipe(le(r=>r.state==="closing"),Ve(1)).subscribe(r=>{this._beforeClosed.next(e),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),r.totalTime+100)}),this._state=Eu.CLOSING,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(e){let r=this._ref.config.positionStrategy;return e&&(e.left||e.right)?e.left?r.left(e.left):r.right(e.right):r.centerHorizontally(),e&&(e.top||e.bottom)?e.top?r.top(e.top):r.bottom(e.bottom):r.centerVertically(),this._ref.updatePosition(),this}updateSize(e="",r=""){return this._ref.updateSize(e,r),this}addPanelClass(e){return this._ref.addPanelClass(e),this}removePanelClass(e){return this._ref.removePanelClass(e),this}getState(){return this._state}_finishDialogClose(){this._state=Eu.CLOSED,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}};function jC(n,e,r){return n._closeInteractionType=e,n.close(r)}var Ka=new E("MatMdcDialogData"),pF=new E("mat-mdc-dialog-default-options"),gF=new E("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:()=>{let n=y(Ye);return()=>n.scrollStrategies.block()}});var bF=0,Xa=(()=>{let e=class e{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){let t=this._parentDialog;return t?t._getAfterAllClosed():this._afterAllClosedAtThisLevel}constructor(t,i,o,s,a,l,c,d){this._overlay=t,this._defaultOptions=s,this._scrollStrategy=a,this._parentDialog=l,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new A,this._afterOpenedAtThisLevel=new A,this.dialogConfigClass=Qa,this.afterAllClosed=Bn(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(at(void 0))),this._dialog=i.get(Lg),this._dialogRefConstructor=oo,this._dialogContainerType=mF,this._dialogDataToken=Ka}open(t,i){let o;i=D(D({},this._defaultOptions||new Qa),i),i.id=i.id||"mat-mdc-dialog-".concat(bF++),i.scrollStrategy=i.scrollStrategy||this._scrollStrategy();let s=this._dialog.open(t,_e(D({},i),{positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:i},{provide:io,useValue:i}]},templateContext:()=>({dialogRef:o}),providers:(a,l,c)=>(o=new this._dialogRefConstructor(a,i,c),o.updatePosition(i==null?void 0:i.position),[{provide:this._dialogContainerType,useValue:c},{provide:this._dialogDataToken,useValue:l.data},{provide:this._dialogRefConstructor,useValue:o}])}));return o.componentRef=s.componentRef,o.componentInstance=s.componentInstance,this.openDialogs.push(o),this.afterOpened.next(o),o.afterClosed().subscribe(()=>{let a=this.openDialogs.indexOf(o);a>-1&&(this.openDialogs.splice(a,1),this.openDialogs.length||this._getAfterAllClosed().next())}),o}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(t){return this.openDialogs.find(i=>i.id===t)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(t){let i=t.length;for(;i--;)t[i].close()}};e.\u0275fac=function(i){return new(i||e)(v(Ye),v(Ce),v(ii,8),v(pF,8),v(gF),v(e,12),v(gs),v(Ge,8))},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})(),vF=0,Iu=(()=>{let e=class e{constructor(t,i,o){this.dialogRef=t,this._elementRef=i,this._dialog=o,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=BC(this._elementRef,this._dialog.openDialogs))}ngOnChanges(t){let i=t._matDialogClose||t._matDialogCloseResult;i&&(this.dialogResult=i.currentValue)}_onButtonClick(t){jC(this.dialogRef,t.screenX===0&&t.screenY===0?"keyboard":"mouse",this.dialogResult)}};e.\u0275fac=function(i){return new(i||e)(h(oo,8),h(P),h(Xa))},e.\u0275dir=N({type:e,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(i,o){i&1&&z("click",function(a){return o._onButtonClick(a)}),i&2&&De("aria-label",o.ariaLabel||null)("type",o.type)},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],type:"type",dialogResult:[0,"mat-dialog-close","dialogResult"],_matDialogClose:[0,"matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],standalone:!0,features:[We]});let n=e;return n})(),VC=(()=>{let e=class e{constructor(t,i,o){this._dialogRef=t,this._elementRef=i,this._dialog=o}ngOnInit(){this._dialogRef||(this._dialogRef=BC(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{this._onAdd()})}ngOnDestroy(){var i;((i=this._dialogRef)==null?void 0:i._containerInstance)&&Promise.resolve().then(()=>{this._onRemove()})}};e.\u0275fac=function(i){return new(i||e)(h(oo,8),h(P),h(Xa))},e.\u0275dir=N({type:e,standalone:!0});let n=e;return n})(),Mu=(()=>{let e=class e extends VC{constructor(){super(...arguments),this.id="mat-mdc-dialog-title-".concat(vF++)}_onAdd(){var t,i;(i=(t=this._dialogRef._containerInstance)==null?void 0:t._addAriaLabelledBy)==null||i.call(t,this.id)}_onRemove(){var t,i,o;(o=(i=(t=this._dialogRef)==null?void 0:t._containerInstance)==null?void 0:i._removeAriaLabelledBy)==null||o.call(i,this.id)}};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=an(e)))(o||e)}})(),e.\u0275dir=N({type:e,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-mdc-dialog-title","mdc-dialog__title"],hostVars:1,hostBindings:function(i,o){i&2&&dn("id",o.id)},inputs:{id:"id"},exportAs:["matDialogTitle"],standalone:!0,features:[Ue]});let n=e;return n})(),Su=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=N({type:e,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"],standalone:!0,features:[z0([gg])]});let n=e;return n})(),Tu=(()=>{let e=class e extends VC{_onAdd(){var t,i;(i=(t=this._dialogRef._containerInstance)==null?void 0:t._updateActionSectionCount)==null||i.call(t,1)}_onRemove(){var t,i;(i=(t=this._dialogRef._containerInstance)==null?void 0:t._updateActionSectionCount)==null||i.call(t,-1)}};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=an(e)))(o||e)}})(),e.\u0275dir=N({type:e,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-mdc-dialog-actions","mdc-dialog__actions"],hostVars:6,hostBindings:function(i,o){i&2&&ae("mat-mdc-dialog-actions-align-start",o.align==="start")("mat-mdc-dialog-actions-align-center",o.align==="center")("mat-mdc-dialog-actions-align-end",o.align==="end")},inputs:{align:"align"},standalone:!0,features:[Ue]});let n=e;return n})();function BC(n,e){let r=n.nativeElement.parentElement;for(;r&&!r.classList.contains("mat-mdc-dialog-container");)r=r.parentElement;return r?e.find(t=>t.id===r.id):null}var UC=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=V({type:e}),e.\u0275inj=L({providers:[Xa],imports:[bC,ci,ki,Ae,Ae]});let n=e;return n})();var zC=["mat-button",""],HC=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],$C=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],_F='.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px);display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{font-family:var(--mdc-text-button-label-text-font);font-size:var(--mdc-text-button-label-text-size);letter-spacing:var(--mdc-text-button-label-text-tracking);font-weight:var(--mdc-text-button-label-text-weight);text-transform:var(--mdc-text-button-label-text-transform);height:var(--mdc-text-button-container-height);border-radius:var(--mdc-text-button-container-shape);padding:0 var(--mat-text-button-horizontal-padding, 8px)}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape)}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-text-button-with-icon-horizontal-padding, 8px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color)}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color)}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-state-layer-color)}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity)}.mat-mdc-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-focus-state-layer-opacity)}.mat-mdc-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity)}.mat-mdc-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-text-button-touch-target-display)}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-unelevated-button{font-family:var(--mdc-filled-button-label-text-font);font-size:var(--mdc-filled-button-label-text-size);letter-spacing:var(--mdc-filled-button-label-text-tracking);font-weight:var(--mdc-filled-button-label-text-weight);text-transform:var(--mdc-filled-button-label-text-transform);height:var(--mdc-filled-button-container-height);border-radius:var(--mdc-filled-button-container-shape);padding:0 var(--mat-filled-button-horizontal-padding, 16px)}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color)}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape)}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color)}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color)}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-state-layer-color)}.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity)}.mat-mdc-unelevated-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-focus-state-layer-opacity)}.mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity)}.mat-mdc-unelevated-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-filled-button-touch-target-display)}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color);background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{font-family:var(--mdc-protected-button-label-text-font);font-size:var(--mdc-protected-button-label-text-size);letter-spacing:var(--mdc-protected-button-label-text-tracking);font-weight:var(--mdc-protected-button-label-text-weight);text-transform:var(--mdc-protected-button-label-text-transform);height:var(--mdc-protected-button-container-height);border-radius:var(--mdc-protected-button-container-shape);padding:0 var(--mat-protected-button-horizontal-padding, 16px);box-shadow:var(--mdc-protected-button-container-elevation-shadow)}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color)}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape)}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color)}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color)}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-state-layer-color)}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity)}.mat-mdc-raised-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-focus-state-layer-opacity)}.mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity)}.mat-mdc-raised-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-protected-button-touch-target-display)}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow)}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow)}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow)}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color);background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation-shadow)}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{font-family:var(--mdc-outlined-button-label-text-font);font-size:var(--mdc-outlined-button-label-text-size);letter-spacing:var(--mdc-outlined-button-label-text-tracking);font-weight:var(--mdc-outlined-button-label-text-weight);text-transform:var(--mdc-outlined-button-label-text-transform);height:var(--mdc-outlined-button-container-height);border-radius:var(--mdc-outlined-button-container-shape);padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width);padding:0 var(--mat-outlined-button-horizontal-padding, 15px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color)}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape)}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color)}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width))}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color)}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color)}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-state-layer-color)}.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity)}.mat-mdc-outlined-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-focus-state-layer-opacity)}.mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity)}.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-outlined-button-touch-target-display)}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color);border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button-base{text-decoration:none}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px)*-1)}',WC=".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}";var yF=["mat-icon-button",""],xF=["*"];var wF=new E("MAT_BUTTON_CONFIG");var CF=[{attribute:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{attribute:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{attribute:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{attribute:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{attribute:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab"]},{attribute:"mat-mini-fab",mdcClasses:["mdc-fab","mdc-fab--mini","mat-mdc-mini-fab"]},{attribute:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],Qg=(()=>{let e=class e{get ripple(){var t;return(t=this._rippleLoader)==null?void 0:t.getRipple(this._elementRef.nativeElement)}set ripple(t){var i;(i=this._rippleLoader)==null||i.attachRipple(this._elementRef.nativeElement,t)}get disableRipple(){return this._disableRipple}set disableRipple(t){this._disableRipple=t,this._updateRippleDisabled()}get disabled(){return this._disabled}set disabled(t){this._disabled=t,this._updateRippleDisabled()}constructor(t,i,o,s){var d,u;this._elementRef=t,this._platform=i,this._ngZone=o,this._animationMode=s,this._focusMonitor=y(Zt),this._rippleLoader=y(TC),this._isFab=!1,this._disableRipple=!1,this._disabled=!1;let a=y(wF,{optional:!0}),l=t.nativeElement,c=l.classList;this.disabledInteractive=(d=a==null?void 0:a.disabledInteractive)!=null?d:!1,(u=this._rippleLoader)==null||u.configureRipple(l,{className:"mat-mdc-button-ripple"});for(let{attribute:f,mdcClasses:m}of CF)l.hasAttribute(f)&&c.add(...m)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){var t;this._focusMonitor.stopMonitoring(this._elementRef),(t=this._rippleLoader)==null||t.destroyRipple(this._elementRef.nativeElement)}focus(t="program",i){t?this._focusMonitor.focusVia(this._elementRef.nativeElement,t,i):this._elementRef.nativeElement.focus(i)}_getAriaDisabled(){return this.ariaDisabled!=null?this.ariaDisabled:this.disabled&&this.disabledInteractive?!0:null}_getDisabledAttribute(){return this.disabledInteractive||!this.disabled?null:!0}_updateRippleDisabled(){var t;(t=this._rippleLoader)==null||t.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}};e.\u0275fac=function(i){na()},e.\u0275dir=N({type:e,inputs:{color:"color",disableRipple:[2,"disableRipple","disableRipple",oe],disabled:[2,"disabled","disabled",oe],ariaDisabled:[2,"aria-disabled","ariaDisabled",oe],disabledInteractive:[2,"disabledInteractive","disabledInteractive",oe]},features:[Le]});let n=e;return n})();var DF=(()=>{let e=class e extends Qg{constructor(t,i,o,s){super(t,i,o,s),this._haltDisabledEvents=a=>{this.disabled&&(a.preventDefault(),a.stopImmediatePropagation())}}ngOnInit(){this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)})}ngOnDestroy(){super.ngOnDestroy(),this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)}_getAriaDisabled(){return this.ariaDisabled==null?this.disabled:this.ariaDisabled}};e.\u0275fac=function(i){na()},e.\u0275dir=N({type:e,inputs:{tabIndex:[2,"tabIndex","tabIndex",t=>t==null?void 0:ti(t)]},features:[Le,Ue]});let n=e;return n})(),ui=(()=>{let e=class e extends Qg{constructor(t,i,o,s){super(t,i,o,s)}};e.\u0275fac=function(i){return new(i||e)(h(P),h(xe),h(k),h(Ge,8))},e.\u0275cmp=j({type:e,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:14,hostBindings:function(i,o){i&2&&(De("disabled",o._getDisabledAttribute())("aria-disabled",o._getAriaDisabled()),zt(o.color?"mat-"+o.color:""),ae("mat-mdc-button-disabled",o.disabled)("mat-mdc-button-disabled-interactive",o.disabledInteractive)("_mat-animation-noopable",o._animationMode==="NoopAnimations")("mat-unthemed",!o.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[Ue,Oe],attrs:zC,ngContentSelectors:$C,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(i,o){i&1&&(Je(HC),O(0,"span",0),ue(1),p(2,"span",1),ue(3,1),b(),ue(4,2),O(5,"span",2)(6,"span",3)),i&2&&ae("mdc-button__ripple",!o._isFab)("mdc-fab__ripple",o._isFab)},styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px);display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{font-family:var(--mdc-text-button-label-text-font);font-size:var(--mdc-text-button-label-text-size);letter-spacing:var(--mdc-text-button-label-text-tracking);font-weight:var(--mdc-text-button-label-text-weight);text-transform:var(--mdc-text-button-label-text-transform);height:var(--mdc-text-button-container-height);border-radius:var(--mdc-text-button-container-shape);padding:0 var(--mat-text-button-horizontal-padding, 8px)}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape)}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-text-button-with-icon-horizontal-padding, 8px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color)}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color)}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-state-layer-color)}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity)}.mat-mdc-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-focus-state-layer-opacity)}.mat-mdc-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity)}.mat-mdc-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-text-button-touch-target-display)}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-unelevated-button{font-family:var(--mdc-filled-button-label-text-font);font-size:var(--mdc-filled-button-label-text-size);letter-spacing:var(--mdc-filled-button-label-text-tracking);font-weight:var(--mdc-filled-button-label-text-weight);text-transform:var(--mdc-filled-button-label-text-transform);height:var(--mdc-filled-button-container-height);border-radius:var(--mdc-filled-button-container-shape);padding:0 var(--mat-filled-button-horizontal-padding, 16px)}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color)}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape)}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color)}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color)}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-state-layer-color)}.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity)}.mat-mdc-unelevated-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-focus-state-layer-opacity)}.mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity)}.mat-mdc-unelevated-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-filled-button-touch-target-display)}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color);background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{font-family:var(--mdc-protected-button-label-text-font);font-size:var(--mdc-protected-button-label-text-size);letter-spacing:var(--mdc-protected-button-label-text-tracking);font-weight:var(--mdc-protected-button-label-text-weight);text-transform:var(--mdc-protected-button-label-text-transform);height:var(--mdc-protected-button-container-height);border-radius:var(--mdc-protected-button-container-shape);padding:0 var(--mat-protected-button-horizontal-padding, 16px);box-shadow:var(--mdc-protected-button-container-elevation-shadow)}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color)}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape)}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color)}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color)}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-state-layer-color)}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity)}.mat-mdc-raised-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-focus-state-layer-opacity)}.mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity)}.mat-mdc-raised-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-protected-button-touch-target-display)}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow)}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow)}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow)}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color);background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation-shadow)}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{font-family:var(--mdc-outlined-button-label-text-font);font-size:var(--mdc-outlined-button-label-text-size);letter-spacing:var(--mdc-outlined-button-label-text-tracking);font-weight:var(--mdc-outlined-button-label-text-weight);text-transform:var(--mdc-outlined-button-label-text-transform);height:var(--mdc-outlined-button-container-height);border-radius:var(--mdc-outlined-button-container-shape);padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width);padding:0 var(--mat-outlined-button-horizontal-padding, 15px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color)}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape)}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color)}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width))}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color)}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color)}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-state-layer-color)}.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity)}.mat-mdc-outlined-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-focus-state-layer-opacity)}.mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity)}.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-outlined-button-touch-target-display)}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color);border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button-base{text-decoration:none}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px)*-1)}',".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0});let n=e;return n})(),GC=(()=>{let e=class e extends DF{constructor(t,i,o,s){super(t,i,o,s)}};e.\u0275fac=function(i){return new(i||e)(h(P),h(xe),h(k),h(Ge,8))},e.\u0275cmp=j({type:e,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostVars:15,hostBindings:function(i,o){i&2&&(De("disabled",o._getDisabledAttribute())("tabindex",o.disabled&&!o.disabledInteractive?-1:o.tabIndex)("aria-disabled",o._getDisabledAttribute()),zt(o.color?"mat-"+o.color:""),ae("mat-mdc-button-disabled",o.disabled)("mat-mdc-button-disabled-interactive",o.disabledInteractive)("_mat-animation-noopable",o._animationMode==="NoopAnimations")("mat-unthemed",!o.color)("mat-mdc-button-base",!0))},exportAs:["matButton","matAnchor"],standalone:!0,features:[Ue,Oe],attrs:zC,ngContentSelectors:$C,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(i,o){i&1&&(Je(HC),O(0,"span",0),ue(1),p(2,"span",1),ue(3,1),b(),ue(4,2),O(5,"span",2)(6,"span",3)),i&2&&ae("mdc-button__ripple",!o._isFab)("mdc-fab__ripple",o._isFab)},styles:[_F,WC],encapsulation:2,changeDetection:0});let n=e;return n})();var qC=(()=>{let e=class e extends Qg{constructor(t,i,o,s){super(t,i,o,s),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}};e.\u0275fac=function(i){return new(i||e)(h(P),h(xe),h(k),h(Ge,8))},e.\u0275cmp=j({type:e,selectors:[["button","mat-icon-button",""]],hostVars:14,hostBindings:function(i,o){i&2&&(De("disabled",o._getDisabledAttribute())("aria-disabled",o._getAriaDisabled()),zt(o.color?"mat-"+o.color:""),ae("mat-mdc-button-disabled",o.disabled)("mat-mdc-button-disabled-interactive",o.disabledInteractive)("_mat-animation-noopable",o._animationMode==="NoopAnimations")("mat-unthemed",!o.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[Ue,Oe],attrs:yF,ngContentSelectors:xF,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(i,o){i&1&&(Je(),O(0,"span",0),ue(1),O(2,"span",1)(3,"span",2))},styles:['.mdc-icon-button{display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;user-select:none;z-index:0;overflow:visible}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}@media screen and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{display:block}}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button[hidden]{display:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%;display:none}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring{border-color:CanvasText}}.mdc-icon-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring::after{border-color:CanvasText}}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}.mdc-icon-button__link{height:100%;left:0;outline:none;position:absolute;top:0;width:100%}.mat-mdc-icon-button{color:var(--mdc-icon-button-icon-color)}.mat-mdc-icon-button .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button svg,.mat-mdc-icon-button img{width:var(--mdc-icon-button-icon-size);height:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button:disabled{color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button{border-radius:50%;flex-shrink:0;text-align:center;width:var(--mdc-icon-button-state-layer-size, 48px);height:var(--mdc-icon-button-state-layer-size, 48px);padding:calc(calc(var(--mdc-icon-button-state-layer-size, 48px) - var(--mdc-icon-button-icon-size, 24px)) / 2);font-size:var(--mdc-icon-button-icon-size);-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button svg{vertical-align:baseline}.mat-mdc-icon-button[disabled],.mat-mdc-icon-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-icon-button .mdc-button__label{z-index:1}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-icon-button-ripple-color)}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color)}.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-state-layer-color)}.mat-mdc-icon-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity)}.mat-mdc-icon-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-focus-state-layer-opacity)}.mat-mdc-icon-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity)}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-icon-button-touch-target-display)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',WC],encapsulation:2,changeDetection:0});let n=e;return n})();var YC=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=V({type:e}),e.\u0275inj=L({imports:[Ae,Ya,Ae]});let n=e;return n})();var He=(()=>{let e=class e{constructor(t){this.el=t}ngOnInit(){this.el.nativeElement.innerHTML=django.gettext(this.el.nativeElement.innerHTML.trim())}};e.\u0275fac=function(i){return new(i||e)(h(P))},e.\u0275dir=N({type:e,selectors:[["uds-translate"]]});let n=e;return n})();var pr=(()=>{let e=class e{constructor(t){this.sanitizer=t}transform(t,i){return t=t.replace(/<\s*script\s*/gi,""),t=t.replace(/onclick|onmouseover|onmouseout|onmousemove|onmouseenter|onmouseleave|onmouseup|onmousedown|onkeyup|onkeydown|onkeypress|onkeydown|onkeypress|onkeyup|onchange|onfocus|onblur|onload|onunload|onabort|onerror|onresize|onscroll/gi,""),t=t.replace(/javascript\s*\:/gi,""),this.sanitizer.bypassSecurityTrustHtml(t)}};e.\u0275fac=function(i){return new(i||e)(h(Ip,16))},e.\u0275pipe=lm({name:"safeHtml",type:e,pure:!0});let n=e;return n})();function EF(n,e){if(n&1){let r=Me();p(0,"button",3),z("click",function(){te(r);let i=R();return ne(i.resolveAndClose(!1))}),p(1,"uds-translate"),w(2,"Close"),b(),w(3),b()}if(n&2){let r=R();x(3),ct(r.extra)}}function IF(n,e){if(n&1){let r=Me();p(0,"button",3),z("click",function(){te(r);let i=R();return ne(i.resolveAndClose(!0))}),p(1,"uds-translate"),w(2,"Yes"),b()()}}function MF(n,e){if(n&1){let r=Me();p(0,"button",3),z("click",function(){te(r);let i=R();return ne(i.resolveAndClose(!1))}),p(1,"uds-translate"),w(2,"No"),b()()}}var Ja=function(n){return n[n.alert=0]="alert",n[n.yesno=1]="yesno",n[n.credentials=2]="credentials",n}(Ja||{}),Kg=(()=>{let e=class e{constructor(t,i){this.dialogRef=t,this.data=i,this.extra="",this.yesno=new Va}resolveAndClose(t){this.yesno.resolve(t),this.close()}close(){this.dialogRef.close()}setExtra(t){this.extra=" ("+Math.floor(t/1e3)+" "+django.gettext("seconds")+") "}initAlert(){return ke(this,null,function*(){let t=this.data.autoclose||0;t>0&&(this.dialogRef.afterClosed().subscribe(i=>{this.close()}),this.setExtra(t),Uf(1e3).subscribe(i=>{let o=t-(i+1)*1e3;this.setExtra(o),o<=0&&this.close()}))})}ngOnInit(){this.data.type===Ja.alert&&this.initAlert()}};e.\u0275fac=function(i){return new(i||e)(h(oo),h(Ka))},e.\u0275cmp=j({type:e,selectors:[["uds-modal"]],decls:8,vars:9,consts:[["mat-dialog-title","",3,"innerHtml"],[3,"innerHTML"],["mat-raised-button","","mat-dialog-close","",3,"click",4,"ngIf"],["mat-raised-button","","mat-dialog-close","",3,"click"]],template:function(i,o){i&1&&(O(0,"h4",0),Jn(1,"safeHtml"),O(2,"mat-dialog-content",1),Jn(3,"safeHtml"),p(4,"mat-dialog-actions"),F(5,EF,4,1,"button",2)(6,IF,3,0,"button",2)(7,MF,3,0,"button",2),b()),i&2&&(M("innerHtml",ei(1,5,o.data.title),Xn),x(2),M("innerHTML",ei(3,7,o.data.body),Xn),x(3),M("ngIf",o.data.type===0),x(),M("ngIf",o.data.type===1),x(),M("ngIf",o.data.type===1))},dependencies:[Mt,ui,Iu,Mu,Tu,Su,He,pr],styles:[".uds-modal-footer[_ngcontent-%COMP%]{display:flex;justify-content:left}.mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}"]});let n=e;return n})();var nD=(()=>{let e=class e{constructor(t,i){this._renderer=t,this._elementRef=i,this.onChange=o=>{},this.onTouched=()=>{}}setProperty(t,i){this._renderer.setProperty(this._elementRef.nativeElement,t,i)}registerOnTouched(t){this.onTouched=t}registerOnChange(t){this.onChange=t}setDisabledState(t){this.setProperty("disabled",t)}};e.\u0275fac=function(i){return new(i||e)(h(er),h(P))},e.\u0275dir=N({type:e});let n=e;return n})(),SF=(()=>{let e=class e extends nD{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=an(e)))(o||e)}})(),e.\u0275dir=N({type:e,features:[Ue]});let n=e;return n})(),Uu=new E("");var TF={provide:Uu,useExisting:_i(()=>zu),multi:!0};function AF(){let n=ni()?ni().getUserAgent():"";return/android (\d+)/.test(n.toLowerCase())}var kF=new E(""),zu=(()=>{let e=class e extends nD{constructor(t,i,o){super(t,i),this._compositionMode=o,this._composing=!1,this._compositionMode==null&&(this._compositionMode=!AF())}writeValue(t){let i=t==null?"":t;this.setProperty("value",i)}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}};e.\u0275fac=function(i){return new(i||e)(h(er),h(P),h(kF,8))},e.\u0275dir=N({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(i,o){i&1&&z("input",function(a){return o._handleInput(a.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(a){return o._compositionEnd(a.target.value)})},features:[ze([TF]),Ue]});let n=e;return n})();function gr(n){return n==null||(typeof n=="string"||Array.isArray(n))&&n.length===0}function iD(n){return n!=null&&typeof n.length=="number"}var ol=new E(""),tb=new E(""),OF=/^(?=.{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])?)*$/,Is=class{static min(e){return RF(e)}static max(e){return NF(e)}static required(e){return PF(e)}static requiredTrue(e){return FF(e)}static email(e){return LF(e)}static minLength(e){return jF(e)}static maxLength(e){return VF(e)}static pattern(e){return BF(e)}static nullValidator(e){return rD(e)}static compose(e){return dD(e)}static composeAsync(e){return uD(e)}};function RF(n){return e=>{if(gr(e.value)||gr(n))return null;let r=parseFloat(e.value);return!isNaN(r)&&r{if(gr(e.value)||gr(n))return null;let r=parseFloat(e.value);return!isNaN(r)&&r>n?{max:{max:n,actual:e.value}}:null}}function PF(n){return gr(n.value)?{required:!0}:null}function FF(n){return n.value===!0?null:{required:!0}}function LF(n){return gr(n.value)||OF.test(n.value)?null:{email:!0}}function jF(n){return e=>gr(e.value)||!iD(e.value)?null:e.value.lengthiD(e.value)&&e.value.length>n?{maxlength:{requiredLength:n,actualLength:e.value.length}}:null}function BF(n){if(!n)return rD;let e,r;return typeof n=="string"?(r="",n.charAt(0)!=="^"&&(r+="^"),r+=n,n.charAt(n.length-1)!=="$"&&(r+="$"),e=new RegExp(r)):(r=n.toString(),e=n),t=>{if(gr(t.value))return null;let i=t.value;return e.test(i)?null:{pattern:{requiredPattern:r,actualValue:i}}}}function rD(n){return null}function oD(n){return n!=null}function sD(n){return Yr(n)?je(n):n}function aD(n){let e={};return n.forEach(r=>{e=r!=null?D(D({},e),r):e}),Object.keys(e).length===0?null:e}function lD(n,e){return e.map(r=>r(n))}function UF(n){return!n.validate}function cD(n){return n.map(e=>UF(e)?e:r=>e.validate(r))}function dD(n){if(!n)return null;let e=n.filter(oD);return e.length==0?null:function(r){return aD(lD(r,e))}}function nb(n){return n!=null?dD(cD(n)):null}function uD(n){if(!n)return null;let e=n.filter(oD);return e.length==0?null:function(r){let t=lD(r,e).map(sD);return Bf(t).pipe(K(aD))}}function ib(n){return n!=null?uD(cD(n)):null}function ZC(n,e){return n===null?[e]:Array.isArray(n)?[...n,e]:[n,e]}function fD(n){return n._rawValidators}function hD(n){return n._rawAsyncValidators}function Xg(n){return n?Array.isArray(n)?n:[n]:[]}function Ou(n,e){return Array.isArray(n)?n.includes(e):n===e}function QC(n,e){let r=Xg(e);return Xg(n).forEach(i=>{Ou(r,i)||r.push(i)}),r}function KC(n,e){return Xg(e).filter(r=>!Ou(n,r))}var Ru=class{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(e){this._rawValidators=e||[],this._composedValidatorFn=nb(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=ib(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(e){this._onDestroyCallbacks.push(e)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(e=>e()),this._onDestroyCallbacks=[]}reset(e=void 0){this.control&&this.control.reset(e)}hasError(e,r){return this.control?this.control.hasError(e,r):!1}getError(e,r){return this.control?this.control.getError(e,r):null}},br=class extends Ru{get formDirective(){return null}get path(){return null}},Ni=class extends Ru{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}},Nu=class{constructor(e){this._cd=e}get isTouched(){var e,r;return!!((r=(e=this._cd)==null?void 0:e.control)!=null&&r.touched)}get isUntouched(){var e,r;return!!((r=(e=this._cd)==null?void 0:e.control)!=null&&r.untouched)}get isPristine(){var e,r;return!!((r=(e=this._cd)==null?void 0:e.control)!=null&&r.pristine)}get isDirty(){var e,r;return!!((r=(e=this._cd)==null?void 0:e.control)!=null&&r.dirty)}get isValid(){var e,r;return!!((r=(e=this._cd)==null?void 0:e.control)!=null&&r.valid)}get isInvalid(){var e,r;return!!((r=(e=this._cd)==null?void 0:e.control)!=null&&r.invalid)}get isPending(){var e,r;return!!((r=(e=this._cd)==null?void 0:e.control)!=null&&r.pending)}get isSubmitted(){var e;return!!((e=this._cd)!=null&&e.submitted)}},zF={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},Kq=_e(D({},zF),{"[class.ng-submitted]":"isSubmitted"}),mD=(()=>{let e=class e extends Nu{constructor(t){super(t)}};e.\u0275fac=function(i){return new(i||e)(h(Ni,2))},e.\u0275dir=N({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,o){i&2&&ae("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)},features:[Ue]});let n=e;return n})(),Ms=(()=>{let e=class e extends Nu{constructor(t){super(t)}};e.\u0275fac=function(i){return new(i||e)(h(br,10))},e.\u0275dir=N({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(i,o){i&2&&ae("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)("ng-submitted",o.isSubmitted)},features:[Ue]});let n=e;return n})();var el="VALID",ku="INVALID",Ds="PENDING",tl="DISABLED",vr=class{},Pu=class extends vr{constructor(e,r){super(),this.value=e,this.source=r}},il=class extends vr{constructor(e,r){super(),this.pristine=e,this.source=r}},rl=class extends vr{constructor(e,r){super(),this.touched=e,this.source=r}},Es=class extends vr{constructor(e,r){super(),this.status=e,this.source=r}},Jg=class extends vr{constructor(e){super(),this.source=e}},eb=class extends vr{constructor(e){super(),this.source=e}};function pD(n){return(Hu(n)?n.validators:n)||null}function HF(n){return Array.isArray(n)?nb(n):n||null}function gD(n,e){return(Hu(e)?e.asyncValidators:n)||null}function $F(n){return Array.isArray(n)?ib(n):n||null}function Hu(n){return n!=null&&!Array.isArray(n)&&typeof n=="object"}function WF(n,e,r){let t=n.controls;if(!(e?Object.keys(t):t).length)throw new T(1e3,"");if(!t[r])throw new T(1001,"")}function GF(n,e,r){n._forEachChild((t,i)=>{if(r[i]===void 0)throw new T(1002,"")})}var Fu=class{constructor(e,r){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=null,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._events=new A,this.events=this._events.asObservable(),this._onDisabledChange=[],this._assignValidators(e),this._assignAsyncValidators(r)}get validator(){return this._composedValidatorFn}set validator(e){this._rawValidators=this._composedValidatorFn=e}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}get parent(){return this._parent}get valid(){return this.status===el}get invalid(){return this.status===ku}get pending(){return this.status==Ds}get disabled(){return this.status===tl}get enabled(){return this.status!==tl}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(e){this._assignValidators(e)}setAsyncValidators(e){this._assignAsyncValidators(e)}addValidators(e){this.setValidators(QC(e,this._rawValidators))}addAsyncValidators(e){this.setAsyncValidators(QC(e,this._rawAsyncValidators))}removeValidators(e){this.setValidators(KC(e,this._rawValidators))}removeAsyncValidators(e){this.setAsyncValidators(KC(e,this._rawAsyncValidators))}hasValidator(e){return Ou(this._rawValidators,e)}hasAsyncValidator(e){return Ou(this._rawAsyncValidators,e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){var i;let r=this.touched===!1;this.touched=!0;let t=(i=e.sourceControl)!=null?i:this;this._parent&&!e.onlySelf&&this._parent.markAsTouched(_e(D({},e),{sourceControl:t})),r&&e.emitEvent!==!1&&this._events.next(new rl(!0,t))}markAllAsTouched(e={}){this.markAsTouched({onlySelf:!0,emitEvent:e.emitEvent,sourceControl:this}),this._forEachChild(r=>r.markAllAsTouched(e))}markAsUntouched(e={}){var i;let r=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let t=(i=e.sourceControl)!=null?i:this;this._forEachChild(o=>{o.markAsUntouched({onlySelf:!0,emitEvent:e.emitEvent,sourceControl:t})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e,t),r&&e.emitEvent!==!1&&this._events.next(new rl(!1,t))}markAsDirty(e={}){var i;let r=this.pristine===!0;this.pristine=!1;let t=(i=e.sourceControl)!=null?i:this;this._parent&&!e.onlySelf&&this._parent.markAsDirty(_e(D({},e),{sourceControl:t})),r&&e.emitEvent!==!1&&this._events.next(new il(!1,t))}markAsPristine(e={}){var i;let r=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let t=(i=e.sourceControl)!=null?i:this;this._forEachChild(o=>{o.markAsPristine({onlySelf:!0,emitEvent:e.emitEvent})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e,t),r&&e.emitEvent!==!1&&this._events.next(new il(!0,t))}markAsPending(e={}){var t;this.status=Ds;let r=(t=e.sourceControl)!=null?t:this;e.emitEvent!==!1&&(this._events.next(new Es(this.status,r)),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.markAsPending(_e(D({},e),{sourceControl:r}))}disable(e={}){var i;let r=this._parentMarkedDirty(e.onlySelf);this.status=tl,this.errors=null,this._forEachChild(o=>{o.disable(_e(D({},e),{onlySelf:!0}))}),this._updateValue();let t=(i=e.sourceControl)!=null?i:this;e.emitEvent!==!1&&(this._events.next(new Pu(this.value,t)),this._events.next(new Es(this.status,t)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(_e(D({},e),{skipPristineCheck:r}),this),this._onDisabledChange.forEach(o=>o(!0))}enable(e={}){let r=this._parentMarkedDirty(e.onlySelf);this.status=el,this._forEachChild(t=>{t.enable(_e(D({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(_e(D({},e),{skipPristineCheck:r}),this),this._onDisabledChange.forEach(t=>t(!1))}_updateAncestors(e,r){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine({},r),this._parent._updateTouched({},r))}setParent(e){this._parent=e}getRawValue(){return this.value}updateValueAndValidity(e={}){var t;if(this._setInitialStatus(),this._updateValue(),this.enabled){let i=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===el||this.status===Ds)&&this._runAsyncValidator(i,e.emitEvent)}let r=(t=e.sourceControl)!=null?t:this;e.emitEvent!==!1&&(this._events.next(new Pu(this.value,r)),this._events.next(new Es(this.status,r)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(_e(D({},e),{sourceControl:r}))}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(r=>r._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?tl:el}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e,r){if(this.asyncValidator){this.status=Ds,this._hasOwnPendingAsyncValidator={emitEvent:r!==!1};let t=sD(this.asyncValidator(this));this._asyncValidationSubscription=t.subscribe(i=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(i,{emitEvent:r,shouldHaveEmitted:e})})}}_cancelExistingSubscription(){var e,r;if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let t=(r=(e=this._hasOwnPendingAsyncValidator)==null?void 0:e.emitEvent)!=null?r:!1;return this._hasOwnPendingAsyncValidator=null,t}return!1}setErrors(e,r={}){this.errors=e,this._updateControlsErrors(r.emitEvent!==!1,this,r.shouldHaveEmitted)}get(e){let r=e;return r==null||(Array.isArray(r)||(r=r.split(".")),r.length===0)?null:r.reduce((t,i)=>t&&t._find(i),this)}getError(e,r){let t=r?this.get(r):this;return t&&t.errors?t.errors[e]:null}hasError(e,r){return!!this.getError(e,r)}get root(){let e=this;for(;e._parent;)e=e._parent;return e}_updateControlsErrors(e,r,t){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),(e||t)&&this._events.next(new Es(this.status,r)),this._parent&&this._parent._updateControlsErrors(e,r,t)}_initObservables(){this.valueChanges=new $,this.statusChanges=new $}_calculateStatus(){return this._allControlsDisabled()?tl:this.errors?ku:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Ds)?Ds:this._anyControlsHaveStatus(ku)?ku:el}_anyControlsHaveStatus(e){return this._anyControls(r=>r.status===e)}_anyControlsDirty(){return this._anyControls(e=>e.dirty)}_anyControlsTouched(){return this._anyControls(e=>e.touched)}_updatePristine(e,r){let t=!this._anyControlsDirty(),i=this.pristine!==t;this.pristine=t,this._parent&&!e.onlySelf&&this._parent._updatePristine(e,r),i&&this._events.next(new il(this.pristine,r))}_updateTouched(e={},r){this.touched=this._anyControlsTouched(),this._events.next(new rl(this.touched,r)),this._parent&&!e.onlySelf&&this._parent._updateTouched(e,r)}_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){Hu(e)&&e.updateOn!=null&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){let r=this._parent&&this._parent.dirty;return!e&&!!r&&!this._parent._anyControlsDirty()}_find(e){return null}_assignValidators(e){this._rawValidators=Array.isArray(e)?e.slice():e,this._composedValidatorFn=HF(this._rawValidators)}_assignAsyncValidators(e){this._rawAsyncValidators=Array.isArray(e)?e.slice():e,this._composedAsyncValidatorFn=$F(this._rawAsyncValidators)}},Lu=class extends Fu{constructor(e,r,t){super(pD(r),gD(t,r)),this.controls=e,this._initObservables(),this._setUpdateStrategy(r),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(e,r){return this.controls[e]?this.controls[e]:(this.controls[e]=r,r.setParent(this),r._registerOnCollectionChange(this._onCollectionChange),r)}addControl(e,r,t={}){this.registerControl(e,r),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}removeControl(e,r={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}setControl(e,r,t={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],r&&this.registerControl(e,r),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}contains(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}setValue(e,r={}){GF(this,!0,e),Object.keys(e).forEach(t=>{WF(this,!0,t),this.controls[t].setValue(e[t],{onlySelf:!0,emitEvent:r.emitEvent})}),this.updateValueAndValidity(r)}patchValue(e,r={}){e!=null&&(Object.keys(e).forEach(t=>{let i=this.controls[t];i&&i.patchValue(e[t],{onlySelf:!0,emitEvent:r.emitEvent})}),this.updateValueAndValidity(r))}reset(e={},r={}){this._forEachChild((t,i)=>{t.reset(e?e[i]:null,{onlySelf:!0,emitEvent:r.emitEvent})}),this._updatePristine(r,this),this._updateTouched(r,this),this.updateValueAndValidity(r)}getRawValue(){return this._reduceChildren({},(e,r,t)=>(e[t]=r.getRawValue(),e))}_syncPendingControls(){let e=this._reduceChildren(!1,(r,t)=>t._syncPendingControls()?!0:r);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_forEachChild(e){Object.keys(this.controls).forEach(r=>{let t=this.controls[r];t&&e(t,r)})}_setUpControls(){this._forEachChild(e=>{e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(e){for(let[r,t]of Object.entries(this.controls))if(this.contains(r)&&e(t))return!0;return!1}_reduceValue(){let e={};return this._reduceChildren(e,(r,t,i)=>((t.enabled||this.disabled)&&(r[i]=t.value),r))}_reduceChildren(e,r){let t=e;return this._forEachChild((i,o)=>{t=r(t,i,o)}),t}_allControlsDisabled(){for(let e of Object.keys(this.controls))if(this.controls[e].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(e){return this.controls.hasOwnProperty(e)?this.controls[e]:null}};var $u=new E("CallSetDisabledState",{providedIn:"root",factory:()=>rb}),rb="always";function qF(n,e){return[...e.path,n]}function ju(n,e,r=rb){var t,i;ob(n,e),e.valueAccessor.writeValue(n.value),(n.disabled||r==="always")&&((i=(t=e.valueAccessor).setDisabledState)==null||i.call(t,n.disabled)),ZF(n,e),KF(n,e),QF(n,e),YF(n,e)}function XC(n,e,r=!0){let t=()=>{};e.valueAccessor&&(e.valueAccessor.registerOnChange(t),e.valueAccessor.registerOnTouched(t)),Bu(n,e),n&&(e._invokeOnDestroyCallbacks(),n._registerOnCollectionChange(()=>{}))}function Vu(n,e){n.forEach(r=>{r.registerOnValidatorChange&&r.registerOnValidatorChange(e)})}function YF(n,e){if(e.valueAccessor.setDisabledState){let r=t=>{e.valueAccessor.setDisabledState(t)};n.registerOnDisabledChange(r),e._registerOnDestroy(()=>{n._unregisterOnDisabledChange(r)})}}function ob(n,e){let r=fD(n);e.validator!==null?n.setValidators(ZC(r,e.validator)):typeof r=="function"&&n.setValidators([r]);let t=hD(n);e.asyncValidator!==null?n.setAsyncValidators(ZC(t,e.asyncValidator)):typeof t=="function"&&n.setAsyncValidators([t]);let i=()=>n.updateValueAndValidity();Vu(e._rawValidators,i),Vu(e._rawAsyncValidators,i)}function Bu(n,e){let r=!1;if(n!==null){if(e.validator!==null){let i=fD(n);if(Array.isArray(i)&&i.length>0){let o=i.filter(s=>s!==e.validator);o.length!==i.length&&(r=!0,n.setValidators(o))}}if(e.asyncValidator!==null){let i=hD(n);if(Array.isArray(i)&&i.length>0){let o=i.filter(s=>s!==e.asyncValidator);o.length!==i.length&&(r=!0,n.setAsyncValidators(o))}}}let t=()=>{};return Vu(e._rawValidators,t),Vu(e._rawAsyncValidators,t),r}function ZF(n,e){e.valueAccessor.registerOnChange(r=>{n._pendingValue=r,n._pendingChange=!0,n._pendingDirty=!0,n.updateOn==="change"&&bD(n,e)})}function QF(n,e){e.valueAccessor.registerOnTouched(()=>{n._pendingTouched=!0,n.updateOn==="blur"&&n._pendingChange&&bD(n,e),n.updateOn!=="submit"&&n.markAsTouched()})}function bD(n,e){n._pendingDirty&&n.markAsDirty(),n.setValue(n._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(n._pendingValue),n._pendingChange=!1}function KF(n,e){let r=(t,i)=>{e.valueAccessor.writeValue(t),i&&e.viewToModelUpdate(t)};n.registerOnChange(r),e._registerOnDestroy(()=>{n._unregisterOnChange(r)})}function vD(n,e){n==null,ob(n,e)}function XF(n,e){return Bu(n,e)}function JF(n,e){if(!n.hasOwnProperty("model"))return!1;let r=n.model;return r.isFirstChange()?!0:!Object.is(e,r.currentValue)}function eL(n){return Object.getPrototypeOf(n.constructor)===SF}function _D(n,e){n._syncPendingControls(),e.forEach(r=>{let t=r.control;t.updateOn==="submit"&&t._pendingChange&&(r.viewToModelUpdate(t._pendingValue),t._pendingChange=!1)})}function tL(n,e){if(!e)return null;Array.isArray(e);let r,t,i;return e.forEach(o=>{o.constructor===zu?r=o:eL(o)?t=o:i=o}),i||t||r||null}function nL(n,e){let r=n.indexOf(e);r>-1&&n.splice(r,1)}var iL={provide:br,useExisting:_i(()=>Pn)},nl=Promise.resolve(),Pn=(()=>{let e=class e extends br{constructor(t,i,o){super(),this.callSetDisabledState=o,this.submitted=!1,this._directives=new Set,this.ngSubmit=new $,this.form=new Lu({},nb(t),ib(i))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(t){nl.then(()=>{let i=this._findContainer(t.path);t.control=i.registerControl(t.name,t.control),ju(t.control,t,this.callSetDisabledState),t.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(t)})}getControl(t){return this.form.get(t.path)}removeControl(t){nl.then(()=>{let i=this._findContainer(t.path);i&&i.removeControl(t.name),this._directives.delete(t)})}addFormGroup(t){nl.then(()=>{let i=this._findContainer(t.path),o=new Lu({});vD(o,t),i.registerControl(t.name,o),o.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(t){nl.then(()=>{let i=this._findContainer(t.path);i&&i.removeControl(t.name)})}getFormGroup(t){return this.form.get(t.path)}updateModel(t,i){nl.then(()=>{this.form.get(t.path).setValue(i)})}setValue(t){this.control.setValue(t)}onSubmit(t){var i;return this.submitted=!0,_D(this.form,this._directives),this.ngSubmit.emit(t),((i=t==null?void 0:t.target)==null?void 0:i.method)==="dialog"}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this.submitted=!1}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(t){return t.pop(),t.length?this.form.get(t):this.form}};e.\u0275fac=function(i){return new(i||e)(h(ol,10),h(tb,10),h($u,8))},e.\u0275dir=N({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(i,o){i&1&&z("submit",function(a){return o.onSubmit(a)})("reset",function(){return o.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[ze([iL]),Ue]});let n=e;return n})();function JC(n,e){let r=n.indexOf(e);r>-1&&n.splice(r,1)}function eD(n){return typeof n=="object"&&n!==null&&Object.keys(n).length===2&&"value"in n&&"disabled"in n}var yD=class extends Fu{constructor(e=null,r,t){super(pD(r),gD(t,r)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(e),this._setUpdateStrategy(r),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Hu(r)&&(r.nonNullable||r.initialValueIsDefault)&&(eD(e)?this.defaultValue=e.value:this.defaultValue=e)}setValue(e,r={}){this.value=this._pendingValue=e,this._onChange.length&&r.emitModelToViewChange!==!1&&this._onChange.forEach(t=>t(this.value,r.emitViewToModelChange!==!1)),this.updateValueAndValidity(r)}patchValue(e,r={}){this.setValue(e,r)}reset(e=this.defaultValue,r={}){this._applyFormState(e),this.markAsPristine(r),this.markAsUntouched(r),this.setValue(this.value,r),this._pendingChange=!1}_updateValue(){}_anyControls(e){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(e){this._onChange.push(e)}_unregisterOnChange(e){JC(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){JC(this._onDisabledChange,e)}_forEachChild(e){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(e){eD(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}};var rL=n=>n instanceof yD;var oL={provide:Ni,useExisting:_i(()=>sb)},tD=Promise.resolve(),sb=(()=>{let e=class e extends Ni{constructor(t,i,o,s,a,l){super(),this._changeDetectorRef=a,this.callSetDisabledState=l,this.control=new yD,this._registered=!1,this.name="",this.update=new $,this._parent=t,this._setValidators(i),this._setAsyncValidators(o),this.valueAccessor=tL(this,s)}ngOnChanges(t){if(this._checkForErrors(),!this._registered||"name"in t){if(this._registered&&(this._checkName(),this.formDirective)){let i=t.name.previousValue;this.formDirective.removeControl({name:i,path:this._getPath(i)})}this._setUpControl()}"isDisabled"in t&&this._updateDisabled(t),JF(t,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(t){this.viewModel=t,this.update.emit(t)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){ju(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(t){tD.then(()=>{var i;this.control.setValue(t,{emitViewToModelChange:!1}),(i=this._changeDetectorRef)==null||i.markForCheck()})}_updateDisabled(t){let i=t.isDisabled.currentValue,o=i!==0&&oe(i);tD.then(()=>{var s;o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),(s=this._changeDetectorRef)==null||s.markForCheck()})}_getPath(t){return this._parent?qF(t,this._parent):[t]}};e.\u0275fac=function(i){return new(i||e)(h(br,9),h(ol,10),h(tb,10),h(Uu,10),h(Ne,8),h($u,8))},e.\u0275dir=N({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[ze([oL]),Ue,We]});let n=e;return n})(),Ss=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=N({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]});let n=e;return n})();var sL={provide:br,useExisting:_i(()=>sl)},sl=(()=>{let e=class e extends br{constructor(t,i,o){super(),this.callSetDisabledState=o,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new $,this._setValidators(t),this._setAsyncValidators(i)}ngOnChanges(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Bu(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(t){let i=this.form.get(t.path);return ju(i,t,this.callSetDisabledState),i.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),i}getControl(t){return this.form.get(t.path)}removeControl(t){XC(t.control||null,t,!1),nL(this.directives,t)}addFormGroup(t){this._setUpFormContainer(t)}removeFormGroup(t){this._cleanUpFormContainer(t)}getFormGroup(t){return this.form.get(t.path)}addFormArray(t){this._setUpFormContainer(t)}removeFormArray(t){this._cleanUpFormContainer(t)}getFormArray(t){return this.form.get(t.path)}updateModel(t,i){this.form.get(t.path).setValue(i)}onSubmit(t){var i;return this.submitted=!0,_D(this.form,this.directives),this.ngSubmit.emit(t),this.form._events.next(new Jg(this.control)),((i=t==null?void 0:t.target)==null?void 0:i.method)==="dialog"}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this.submitted=!1,this.form._events.next(new eb(this.form))}_updateDomValue(){this.directives.forEach(t=>{let i=t.control,o=this.form.get(t.path);i!==o&&(XC(i||null,t),rL(o)&&(ju(o,t,this.callSetDisabledState),t.control=o))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(t){let i=this.form.get(t.path);vD(i,t),i.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(t){if(this.form){let i=this.form.get(t.path);i&&XF(i,t)&&i.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){ob(this.form,this),this._oldForm&&Bu(this._oldForm,this)}_checkFormPresent(){this.form}};e.\u0275fac=function(i){return new(i||e)(h(ol,10),h(tb,10),h($u,8))},e.\u0275dir=N({type:e,selectors:[["","formGroup",""]],hostBindings:function(i,o){i&1&&z("submit",function(a){return o.onSubmit(a)})("reset",function(){return o.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[ze([sL]),Ue,We]});let n=e;return n})();var aL=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=V({type:e}),e.\u0275inj=L({});let n=e;return n})();var xD=(()=>{let e=class e{static withConfig(t){var i;return{ngModule:e,providers:[{provide:$u,useValue:(i=t.callSetDisabledState)!=null?i:rb}]}}};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=V({type:e}),e.\u0275inj=L({imports:[aL]});let n=e;return n})();var ab=class{constructor(e){this._box=e,this._destroyed=new A,this._resizeSubject=new A,this._elementObservables=new Map,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(r=>this._resizeSubject.next(r)))}observe(e){return this._elementObservables.has(e)||this._elementObservables.set(e,new se(r=>{var i;let t=this._resizeSubject.subscribe(r);return(i=this._resizeObserver)==null||i.observe(e,{box:this._box}),()=>{var o;(o=this._resizeObserver)==null||o.unobserve(e),t.unsubscribe(),this._elementObservables.delete(e)}}).pipe(le(r=>r.some(t=>t.target===e)),ec({bufferSize:1,refCount:!0}),Ie(this._destroyed))),this._elementObservables.get(e)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}},wD=(()=>{let e=class e{constructor(){this._observers=new Map,this._ngZone=y(k),typeof ResizeObserver<"u"}ngOnDestroy(){for(let[,t]of this._observers)t.destroy();this._observers.clear(),typeof ResizeObserver<"u"}observe(t,i){let o=(i==null?void 0:i.box)||"content-box";return this._observers.has(o)||this._observers.set(o,new ab(o)),this._observers.get(o).observe(t)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();var lL=["notch"],cL=["matFormFieldNotchedOutline",""],dL=["*"],uL=["textField"],fL=["iconPrefixContainer"],hL=["textPrefixContainer"],mL=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],pL=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];function gL(n,e){n&1&&O(0,"span",19)}function bL(n,e){if(n&1&&(p(0,"label",18),ue(1,1),F(2,gL,1,0,"span",19),b()),n&2){let r=R(2);M("floating",r._shouldLabelFloat())("monitorResize",r._hasOutline())("id",r._labelId),De("for",r._control.disableAutomaticLabeling?null:r._control.id),x(2),qe(!r.hideRequiredMarker&&r._control.required?2:-1)}}function vL(n,e){if(n&1&&F(0,bL,3,5,"label",18),n&2){let r=R();qe(r._hasFloatingLabel()?0:-1)}}function _L(n,e){n&1&&O(0,"div",5)}function yL(n,e){}function xL(n,e){if(n&1&&F(0,yL,0,0,"ng-template",11),n&2){R(2);let r=Et(1);M("ngTemplateOutlet",r)}}function wL(n,e){if(n&1&&(p(0,"div",7),F(1,xL,1,1,null,11),b()),n&2){let r=R();M("matFormFieldNotchedOutlineOpen",r._shouldLabelFloat()),x(),qe(r._forceDisplayInfixLabel()?-1:1)}}function CL(n,e){n&1&&(p(0,"div",8,2),ue(2,2),b())}function DL(n,e){n&1&&(p(0,"div",9,3),ue(2,3),b())}function EL(n,e){}function IL(n,e){if(n&1&&F(0,EL,0,0,"ng-template",11),n&2){R();let r=Et(1);M("ngTemplateOutlet",r)}}function ML(n,e){n&1&&(p(0,"div",12),ue(1,4),b())}function SL(n,e){n&1&&(p(0,"div",13),ue(1,5),b())}function TL(n,e){n&1&&O(0,"div",14)}function AL(n,e){if(n&1&&(p(0,"div",16),ue(1,6),b()),n&2){let r=R();M("@transitionMessages",r._subscriptAnimationState)}}function kL(n,e){if(n&1&&(p(0,"mat-hint",20),w(1),b()),n&2){let r=R(2);M("id",r._hintLabelId),x(),ct(r.hintLabel)}}function OL(n,e){if(n&1&&(p(0,"div",17),F(1,kL,2,2,"mat-hint",20),ue(2,7),O(3,"div",21),ue(4,8),b()),n&2){let r=R();M("@transitionMessages",r._subscriptAnimationState),x(),qe(r.hintLabel?1:-1)}}var fi=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=N({type:e,selectors:[["mat-label"]],standalone:!0});let n=e;return n})();var RL=new E("MatError");var NL=0,CD=(()=>{let e=class e{constructor(){this.align="start",this.id="mat-mdc-hint-".concat(NL++)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=N({type:e,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(i,o){i&2&&(dn("id",o.id),De("align",null),ae("mat-mdc-form-field-hint-end",o.align==="end"))},inputs:{align:"align",id:"id"},standalone:!0});let n=e;return n})(),PL=new E("MatPrefix");var kD=new E("MatSuffix"),OD=(()=>{let e=class e{constructor(){this._isText=!1}set _isTextSelector(t){this._isText=!0}};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=N({type:e,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:[0,"matTextSuffix","_isTextSelector"]},standalone:!0,features:[ze([{provide:kD,useExisting:e}])]});let n=e;return n})(),RD=new E("FloatingLabelParent"),DD=(()=>{let e=class e{get floating(){return this._floating}set floating(t){this._floating=t,this.monitorResize&&this._handleResize()}get monitorResize(){return this._monitorResize}set monitorResize(t){this._monitorResize=t,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}constructor(t){this._elementRef=t,this._floating=!1,this._monitorResize=!1,this._resizeObserver=y(wD),this._ngZone=y(k),this._parent=y(RD),this._resizeSubscription=new fe}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return FL(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}_handleResize(){setTimeout(()=>this._parent._handleLabelResized())}_subscribeToResize(){this._resizeSubscription.unsubscribe(),this._ngZone.runOutsideAngular(()=>{this._resizeSubscription=this._resizeObserver.observe(this._elementRef.nativeElement,{box:"border-box"}).subscribe(()=>this._handleResize())})}};e.\u0275fac=function(i){return new(i||e)(h(P))},e.\u0275dir=N({type:e,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(i,o){i&2&&ae("mdc-floating-label--float-above",o.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"},standalone:!0});let n=e;return n})();function FL(n){let e=n;if(e.offsetParent!==null)return e.scrollWidth;let r=e.cloneNode(!0);r.style.setProperty("position","absolute"),r.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(r);let t=r.scrollWidth;return r.remove(),t}var ED="mdc-line-ripple--active",Wu="mdc-line-ripple--deactivating",ID=(()=>{let e=class e{constructor(t,i){this._elementRef=t,this._handleTransitionEnd=o=>{let s=this._elementRef.nativeElement.classList,a=s.contains(Wu);o.propertyName==="opacity"&&a&&s.remove(ED,Wu)},i.runOutsideAngular(()=>{t.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){let t=this._elementRef.nativeElement.classList;t.remove(Wu),t.add(ED)}deactivate(){this._elementRef.nativeElement.classList.add(Wu)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}};e.\u0275fac=function(i){return new(i||e)(h(P),h(k))},e.\u0275dir=N({type:e,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"],standalone:!0});let n=e;return n})(),MD=(()=>{let e=class e{constructor(t,i){this._elementRef=t,this._ngZone=i,this.open=!1}ngAfterViewInit(){let t=this._elementRef.nativeElement.querySelector(".mdc-floating-label");t?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),typeof requestAnimationFrame=="function"&&(t.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>t.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(t){!this.open||!t?this._notch.nativeElement.style.width="":this._notch.nativeElement.style.width="calc(".concat(t,"px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)")}};e.\u0275fac=function(i){return new(i||e)(h(P),h(k))},e.\u0275cmp=j({type:e,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(i,o){if(i&1&&Fe(lL,5),i&2){let s;ie(s=re())&&(o._notch=s.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(i,o){i&2&&ae("mdc-notched-outline--notched",o.open)},inputs:{open:[0,"matFormFieldNotchedOutlineOpen","open"]},standalone:!0,features:[Oe],attrs:cL,ngContentSelectors:dL,decls:5,vars:0,consts:[["notch",""],[1,"mdc-notched-outline__leading"],[1,"mdc-notched-outline__notch"],[1,"mdc-notched-outline__trailing"]],template:function(i,o){i&1&&(Je(),O(0,"div",1),p(1,"div",2,0),ue(3),b(),O(4,"div",3))},encapsulation:2,changeDetection:0});let n=e;return n})(),LL={transitionMessages:Nn("transitionMessages",[gn("enter",ot({opacity:1,transform:"translateY(0%)"})),Qt("void => enter",[ot({opacity:0,transform:"translateY(-5px)"}),pn("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},al=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=N({type:e});let n=e;return n})();var ll=new E("MatFormField"),lb=new E("MAT_FORM_FIELD_DEFAULT_OPTIONS"),SD=0,TD="fill",jL="auto",AD="fixed",VL="translateY(-50%)",_r=(()=>{let e=class e{get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(t){this._hideRequiredMarker=oi(t)}get floatLabel(){var t;return this._floatLabel||((t=this._defaults)==null?void 0:t.floatLabel)||jL}set floatLabel(t){t!==this._floatLabel&&(this._floatLabel=t,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(t){var s;let i=this._appearance,o=t||((s=this._defaults)==null?void 0:s.appearance)||TD;this._appearance=o,this._appearance==="outline"&&this._appearance!==i&&(this._needsOutlineLabelOffsetUpdate=!0)}get subscriptSizing(){var t;return this._subscriptSizing||((t=this._defaults)==null?void 0:t.subscriptSizing)||AD}set subscriptSizing(t){var i;this._subscriptSizing=t||((i=this._defaults)==null?void 0:i.subscriptSizing)||AD}get hintLabel(){return this._hintLabel}set hintLabel(t){this._hintLabel=t,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(t){this._explicitFormFieldControl=t}constructor(t,i,o,s,a,l,c,d){this._elementRef=t,this._changeDetectorRef=i,this._dir=s,this._platform=a,this._defaults=l,this._animationMode=c,this._hideRequiredMarker=!1,this.color="primary",this._appearance=TD,this._subscriptSizing=null,this._hintLabel="",this._hasIconPrefix=!1,this._hasTextPrefix=!1,this._hasIconSuffix=!1,this._hasTextSuffix=!1,this._labelId="mat-mdc-form-field-label-".concat(SD++),this._hintLabelId="mat-mdc-hint-".concat(SD++),this._subscriptAnimationState="",this._destroyed=new A,this._isFocused=null,this._needsOutlineLabelOffsetUpdate=!1,this._injector=y(Ce),l&&(l.appearance&&(this.appearance=l.appearance),this._hideRequiredMarker=!!(l!=null&&l.hideRequiredMarker),l.color&&(this.color=l.color))}ngAfterViewInit(){this._updateFocusState(),this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeControl(),this._initializeSubscript(),this._initializePrefixAndSuffix(),this._initializeOutlineLabelOffsetSubscriptions()}ngAfterContentChecked(){this._assertFormFieldControl()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(){let t=this._control;t.controlType&&this._elementRef.nativeElement.classList.add("mat-mdc-form-field-type-".concat(t.controlType)),t.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),t.ngControl&&t.ngControl.valueChanges&&t.ngControl.valueChanges.pipe(Ie(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck())}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(t=>!t._isText),this._hasTextPrefix=!!this._prefixChildren.find(t=>t._isText),this._hasIconSuffix=!!this._suffixChildren.find(t=>!t._isText),this._hasTextSuffix=!!this._suffixChildren.find(t=>t._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),vt(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){this._control}_updateFocusState(){var t,i,o;this._control.focused&&!this._isFocused?(this._isFocused=!0,(t=this._lineRipple)==null||t.activate()):!this._control.focused&&(this._isFocused||this._isFocused===null)&&(this._isFocused=!1,(i=this._lineRipple)==null||i.deactivate()),(o=this._textField)==null||o.nativeElement.classList.toggle("mdc-text-field--focused",this._control.focused)}_initializeOutlineLabelOffsetSubscriptions(){this._prefixChildren.changes.subscribe(()=>this._needsOutlineLabelOffsetUpdate=!0),ia(()=>{this._needsOutlineLabelOffsetUpdate&&(this._needsOutlineLabelOffsetUpdate=!1,this._updateOutlineLabelOffset())},{injector:this._injector}),this._dir.change.pipe(Ie(this._destroyed)).subscribe(()=>this._needsOutlineLabelOffsetUpdate=!0)}_shouldAlwaysFloat(){return this.floatLabel==="always"}_hasOutline(){return this.appearance==="outline"}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel(){return!!this._labelChildNonStatic||!!this._labelChildStatic}_shouldLabelFloat(){return this._control.shouldLabelFloat||this._shouldAlwaysFloat()}_shouldForward(t){let i=this._control?this._control.ngControl:null;return i&&i[t]}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_handleLabelResized(){this._refreshOutlineNotchWidth()}_refreshOutlineNotchWidth(){var t,i;!this._hasOutline()||!this._floatingLabel||!this._shouldLabelFloat()?(t=this._notchedOutline)==null||t._setNotchWidth(0):(i=this._notchedOutline)==null||i._setNotchWidth(this._floatingLabel.getWidth())}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){this._hintChildren}_syncDescribedByIds(){if(this._control){let t=[];if(this._control.userAriaDescribedBy&&typeof this._control.userAriaDescribedBy=="string"&&t.push(...this._control.userAriaDescribedBy.split(" ")),this._getDisplayedMessages()==="hint"){let i=this._hintChildren?this._hintChildren.find(s=>s.align==="start"):null,o=this._hintChildren?this._hintChildren.find(s=>s.align==="end"):null;i?t.push(i.id):this._hintLabel&&t.push(this._hintLabelId),o&&t.push(o.id)}else this._errorChildren&&t.push(...this._errorChildren.map(i=>i.id));this._control.setDescribedByIds(t)}}_updateOutlineLabelOffset(){var f,m,g,_;if(!this._hasOutline()||!this._floatingLabel)return;let t=this._floatingLabel.element;if(!(this._iconPrefixContainer||this._textPrefixContainer)){t.style.transform="";return}if(!this._isAttachedToDom()){this._needsOutlineLabelOffsetUpdate=!0;return}let i=(f=this._iconPrefixContainer)==null?void 0:f.nativeElement,o=(m=this._textPrefixContainer)==null?void 0:m.nativeElement,s=(g=i==null?void 0:i.getBoundingClientRect().width)!=null?g:0,a=(_=o==null?void 0:o.getBoundingClientRect().width)!=null?_:0,l=this._dir.value==="rtl"?"-1":"1",c="".concat(s+a,"px"),u="calc(".concat(l," * (").concat(c," + ").concat("var(--mat-mdc-form-field-label-offset-x, 0px)","))");t.style.transform="var(\n --mat-mdc-form-field-label-transform,\n ".concat(VL," translateX(").concat(u,")\n )")}_isAttachedToDom(){let t=this._elementRef.nativeElement;if(t.getRootNode){let i=t.getRootNode();return i&&i!==t}return document.documentElement.contains(t)}};e.\u0275fac=function(i){return new(i||e)(h(P),h(Ne),h(k),h(St),h(xe),h(lb,8),h(Ge,8),h(W))},e.\u0275cmp=j({type:e,selectors:[["mat-form-field"]],contentQueries:function(i,o,s){if(i&1&&(tt(s,fi,5),tt(s,fi,7),tt(s,al,5),tt(s,PL,5),tt(s,kD,5),tt(s,RL,5),tt(s,CD,5)),i&2){let a;ie(a=re())&&(o._labelChildNonStatic=a.first),ie(a=re())&&(o._labelChildStatic=a.first),ie(a=re())&&(o._formFieldControl=a.first),ie(a=re())&&(o._prefixChildren=a),ie(a=re())&&(o._suffixChildren=a),ie(a=re())&&(o._errorChildren=a),ie(a=re())&&(o._hintChildren=a)}},viewQuery:function(i,o){if(i&1&&(Fe(uL,5),Fe(fL,5),Fe(hL,5),Fe(DD,5),Fe(MD,5),Fe(ID,5)),i&2){let s;ie(s=re())&&(o._textField=s.first),ie(s=re())&&(o._iconPrefixContainer=s.first),ie(s=re())&&(o._textPrefixContainer=s.first),ie(s=re())&&(o._floatingLabel=s.first),ie(s=re())&&(o._notchedOutline=s.first),ie(s=re())&&(o._lineRipple=s.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(i,o){i&2&&ae("mat-mdc-form-field-label-always-float",o._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",o._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",o._hasIconSuffix)("mat-form-field-invalid",o._control.errorState)("mat-form-field-disabled",o._control.disabled)("mat-form-field-autofilled",o._control.autofilled)("mat-form-field-no-animations",o._animationMode==="NoopAnimations")("mat-form-field-appearance-fill",o.appearance=="fill")("mat-form-field-appearance-outline",o.appearance=="outline")("mat-form-field-hide-placeholder",o._hasFloatingLabel()&&!o._shouldLabelFloat())("mat-focused",o._control.focused)("mat-primary",o.color!=="accent"&&o.color!=="warn")("mat-accent",o.color==="accent")("mat-warn",o.color==="warn")("ng-untouched",o._shouldForward("untouched"))("ng-touched",o._shouldForward("touched"))("ng-pristine",o._shouldForward("pristine"))("ng-dirty",o._shouldForward("dirty"))("ng-valid",o._shouldForward("valid"))("ng-invalid",o._shouldForward("invalid"))("ng-pending",o._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],standalone:!0,features:[ze([{provide:ll,useExisting:e},{provide:RD,useExisting:e}]),Oe],ngContentSelectors:pL,decls:18,vars:21,consts:[["labelTemplate",""],["textField",""],["iconPrefixContainer",""],["textPrefixContainer",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],[1,"mat-mdc-form-field-focus-overlay"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],[1,"mat-mdc-form-field-icon-prefix"],[1,"mat-mdc-form-field-text-prefix"],[1,"mat-mdc-form-field-infix"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],[1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align"],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[3,"id"],[1,"mat-mdc-form-field-hint-spacer"]],template:function(i,o){if(i&1){let s=Me();Je(mL),F(0,vL,1,1,"ng-template",null,0,cx),p(2,"div",4,1),z("click",function(l){return te(s),ne(o._control.onContainerClick(l))}),F(4,_L,1,0,"div",5),p(5,"div",6),F(6,wL,2,2,"div",7)(7,CL,3,0,"div",8)(8,DL,3,0,"div",9),p(9,"div",10),F(10,IL,1,1,null,11),ue(11),b(),F(12,ML,2,0,"div",12)(13,SL,2,0,"div",13),b(),F(14,TL,1,0,"div",14),b(),p(15,"div",15),F(16,AL,2,1,"div",16)(17,OL,5,2,"div",17),b()}if(i&2){let s;x(2),ae("mdc-text-field--filled",!o._hasOutline())("mdc-text-field--outlined",o._hasOutline())("mdc-text-field--no-label",!o._hasFloatingLabel())("mdc-text-field--disabled",o._control.disabled)("mdc-text-field--invalid",o._control.errorState),x(2),qe(!o._hasOutline()&&!o._control.disabled?4:-1),x(2),qe(o._hasOutline()?6:-1),x(),qe(o._hasIconPrefix?7:-1),x(),qe(o._hasTextPrefix?8:-1),x(2),qe(!o._hasOutline()||o._forceDisplayInfixLabel()?10:-1),x(2),qe(o._hasTextSuffix?12:-1),x(),qe(o._hasIconSuffix?13:-1),x(),qe(o._hasOutline()?-1:14),x(),ae("mat-mdc-form-field-subscript-dynamic-size",o.subscriptSizing==="dynamic"),x(),qe((s=o._getDisplayedMessages())==="error"?16:s==="hint"?17:-1)}},dependencies:[DD,MD,Ax,ID,CD],styles:['.mdc-text-field{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:0;border-bottom-left-radius:0;display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-text-field__input{height:28px;width:100%;min-width:0;border:none;border-radius:0;background:none;appearance:none;padding:0}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}@media all{.mdc-text-field__input::placeholder{opacity:0}}@media all{.mdc-text-field__input:-ms-input-placeholder{opacity:0}}@media all{.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}}@media all{.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}}.mdc-text-field__affix{height:28px;opacity:0;white-space:nowrap}.mdc-text-field--label-floating .mdc-text-field__affix,.mdc-text-field--no-label .mdc-text-field__affix{opacity:1}@supports(-webkit-hyphens: none){.mdc-text-field--outlined .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field__affix--prefix,.mdc-text-field__affix--prefix[dir=rtl]{padding-left:2px;padding-right:0}.mdc-text-field--end-aligned .mdc-text-field__affix--prefix{padding-left:0;padding-right:12px}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--end-aligned .mdc-text-field__affix--prefix[dir=rtl]{padding-left:12px;padding-right:0}.mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field__affix--suffix,.mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:12px}.mdc-text-field--end-aligned .mdc-text-field__affix--suffix{padding-left:2px;padding-right:0}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--end-aligned .mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:2px}.mdc-text-field--filled{height:56px}.mdc-text-field--filled::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}.mdc-text-field--filled .mdc-floating-label{left:16px;right:initial}[dir=rtl] .mdc-text-field--filled .mdc-floating-label,.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:16px}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled.mdc-text-field--no-label::before{display:none}@supports(-webkit-hyphens: none){.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field--outlined{height:56px;overflow:visible}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--outlined .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px,var(--mdc-shape-small, 4px))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px,var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px,var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px,var(--mdc-shape-small, 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px,var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:initial}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:4px}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mdc-text-field--textarea{flex-direction:column;align-items:center;width:auto;height:auto;padding:0}.mdc-text-field--textarea .mdc-floating-label{top:19px}.mdc-text-field--textarea .mdc-floating-label:not(.mdc-floating-label--float-above){transform:none}.mdc-text-field--textarea .mdc-text-field__input{flex-grow:1;height:auto;min-height:1.5rem;overflow-x:hidden;overflow-y:auto;box-sizing:border-box;resize:none;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--filled::before{display:none}.mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-10.25px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--filled .mdc-text-field__input{margin-top:23px;margin-bottom:9px}.mdc-text-field--textarea.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-27.25px) scale(1)}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-24.75px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label{top:18px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field__input{margin-bottom:2px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter{align-self:flex-end;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::after{display:inline-block;width:0;height:16px;content:"";vertical-align:-16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::before{display:none}.mdc-text-field__resizer{align-self:stretch;display:inline-flex;flex-direction:column;flex-grow:1;max-height:100%;max-width:100%;min-height:56px;min-width:fit-content;min-width:-moz-available;min-width:-webkit-fill-available;overflow:hidden;resize:both}.mdc-text-field--filled .mdc-text-field__resizer{transform:translateY(-1px)}.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateY(1px)}.mdc-text-field--outlined .mdc-text-field__resizer{transform:translateX(-1px) translateY(-1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer,.mdc-text-field--outlined .mdc-text-field__resizer[dir=rtl]{transform:translateX(1px) translateY(-1px)}.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateX(1px) translateY(1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input[dir=rtl],.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter[dir=rtl]{transform:translateX(-1px) translateY(1px)}.mdc-text-field--with-leading-icon{padding-left:0;padding-right:16px}[dir=rtl] .mdc-text-field--with-leading-icon,.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:16px;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 48px);left:48px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:48px}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 64px/0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label{left:36px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:36px}.mdc-text-field--with-leading-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) translateX(-32px) scale(1)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-37.25px) translateX(32px) scale(1)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) translateX(-32px) scale(0.75)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl],.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-34.75px) translateX(32px) scale(0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--with-trailing-icon{padding-left:16px;padding-right:0}[dir=rtl] .mdc-text-field--with-trailing-icon,.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0;padding-right:16px}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 64px)}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 64px/0.75)}.mdc-text-field--with-trailing-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 96px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 96px/0.75)}.mdc-text-field-helper-line{display:flex;justify-content:space-between;box-sizing:border-box}.mdc-text-field+.mdc-text-field-helper-line{padding-right:16px;padding-left:16px}.mdc-form-field>.mdc-text-field+label{align-self:flex-start}.mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--focused .mdc-notched-outline__trailing{border-width:2px}.mdc-text-field--focused+.mdc-text-field-helper-line .mdc-text-field-helper-text:not(.mdc-text-field-helper-text--validation-msg){opacity:1}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-text-field--focused.mdc-text-field--outlined.mdc-text-field--textarea .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg{opacity:1}.mdc-text-field--disabled{pointer-events:none}@media screen and (forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--disabled .mdc-floating-label{cursor:default}.mdc-text-field--disabled.mdc-text-field--filled .mdc-text-field__ripple{display:none}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--end-aligned .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--end-aligned .mdc-text-field__input[dir=rtl]{text-align:left}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix{direction:ltr}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--leading,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--leading{order:1}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{order:2}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input{order:3}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{order:4}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--trailing,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--trailing{order:5}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--prefix{padding-right:12px}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--suffix{padding-left:2px}.mdc-floating-label{position:absolute;left:0;-webkit-transform-origin:left top;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label,.mdc-floating-label[dir=rtl]{right:0;left:auto;-webkit-transform-origin:right top;transform-origin:right top;text-align:right}.mdc-floating-label--float-above{cursor:auto}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0px;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after,.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)[dir=rtl]::after{margin-left:0;margin-right:1px}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline,.mdc-notched-outline[dir=rtl]{text-align:right}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{box-sizing:border-box;height:100%;pointer-events:none}.mdc-notched-outline__trailing{flex-grow:1}.mdc-notched-outline__notch{flex:0 0 auto;width:auto}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch,.mdc-notched-outline--notched .mdc-notched-outline__notch[dir=rtl]{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{z-index:1}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{border-top:1px solid;border-bottom:1px solid}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;width:12px}[dir=rtl] .mdc-notched-outline__leading,.mdc-notched-outline__leading[dir=rtl]{border-left:none;border-right:1px solid}.mdc-notched-outline__trailing{border-left:none;border-right:1px solid}[dir=rtl] .mdc-notched-outline__trailing,.mdc-notched-outline__trailing[dir=rtl]{border-left:1px solid;border-right:none}.mdc-notched-outline__notch{max-width:calc(100% - 12px*2)}.mdc-line-ripple::before{border-bottom-width:1px}.mdc-line-ripple::after{border-bottom-width:2px}.mdc-text-field--filled{border-top-left-radius:var(--mdc-filled-text-field-container-shape);border-top-right-radius:var(--mdc-filled-text-field-container-shape);border-bottom-right-radius:0;border-bottom-left-radius:0}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-caret-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-error-caret-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-filled-text-field-input-text-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-filled-text-field-disabled-input-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-label-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-focus-label-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-hover-label-text-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-disabled-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-focus-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-hover-label-text-color)}.mdc-text-field--filled .mdc-floating-label{font-family:var(--mdc-filled-text-field-label-text-font);font-size:var(--mdc-filled-text-field-label-text-size);font-weight:var(--mdc-filled-text-field-label-text-weight);letter-spacing:var(--mdc-filled-text-field-label-text-tracking)}@media all{.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}}@media all{.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--mdc-filled-text-field-container-color)}.mdc-text-field--filled.mdc-text-field--disabled{background-color:var(--mdc-filled-text-field-disabled-container-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-hover-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-focus-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-disabled-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-hover-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-error-focus-active-indicator-color)}.mdc-text-field--filled .mdc-line-ripple::before{border-bottom-width:var(--mdc-filled-text-field-active-indicator-height)}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-width:var(--mdc-filled-text-field-focus-active-indicator-height)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-caret-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-error-caret-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-outlined-text-field-input-text-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-outlined-text-field-disabled-input-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-label-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-focus-label-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-hover-label-text-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-disabled-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-focus-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-hover-label-text-color)}.mdc-text-field--outlined .mdc-floating-label{font-family:var(--mdc-outlined-text-field-label-text-font);font-size:var(--mdc-outlined-text-field-label-text-size);font-weight:var(--mdc-outlined-text-field-label-text-weight);letter-spacing:var(--mdc-outlined-text-field-label-text-tracking)}@media all{.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color)}}@media all{.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color)}}.mdc-text-field--outlined.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(.75*var(--mdc-outlined-text-field-label-text-size))}.mdc-text-field--outlined.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mdc-outlined-text-field-label-text-size)}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:var(--mdc-outlined-text-field-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mdc-outlined-text-field-container-shape))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px,var(--mdc-outlined-text-field-container-shape))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:var(--mdc-outlined-text-field-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px,var(--mdc-outlined-text-field-container-shape))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-hover-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-focus-outline-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-disabled-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-hover-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-focus-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__trailing{border-width:var(--mdc-outlined-text-field-outline-width)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__trailing{border-width:var(--mdc-outlined-text-field-focus-outline-width)}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;line-height:normal;pointer-events:all;will-change:auto}.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-floating-label.mdc-floating-label{cursor:inherit}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto;will-change:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-form-field-disabled .mdc-text-field__input::placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-text-field-wrapper::before{content:none}.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:1px solid rgba(0,0,0,0)}[dir=rtl] .mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:none;border-right:1px solid rgba(0,0,0,0)}.mat-mdc-form-field-infix{min-height:var(--mat-form-field-container-height);padding-top:var(--mat-form-field-filled-with-label-container-padding-top);padding-bottom:var(--mat-form-field-filled-with-label-container-padding-bottom)}.mdc-text-field--outlined .mat-mdc-form-field-infix,.mdc-text-field--no-label .mat-mdc-form-field-infix{padding-top:var(--mat-form-field-container-vertical-padding);padding-bottom:var(--mat-form-field-container-vertical-padding)}.mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:calc(var(--mat-form-field-container-height)/2)}.mdc-text-field--filled .mat-mdc-floating-label{display:var(--mat-form-field-filled-label-display, block)}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{--mat-mdc-form-field-label-transform: translateY(calc(calc(6.75px + var(--mat-form-field-container-height) / 2) * -1)) scale(var(--mat-mdc-form-field-floating-label-scale, 0.75));transform:var(--mat-mdc-form-field-label-transform)}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block;color:var(--mat-form-field-error-text-color)}.mat-mdc-form-field-subscript-wrapper,.mat-mdc-form-field-bottom-align::before{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-subscript-text-font);line-height:var(--mat-form-field-subscript-text-line-height);font-size:var(--mat-form-field-subscript-text-size);letter-spacing:var(--mat-form-field-subscript-text-tracking);font-weight:var(--mat-form-field-subscript-text-weight)}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none;background-color:var(--mat-form-field-state-layer-color)}.mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-hover-state-layer-opacity)}.mat-mdc-form-field.mat-focused .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-focus-state-layer-opacity)}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option{color:var(--mat-form-field-select-option-text-color)}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option:disabled{color:var(--mat-form-field-select-disabled-option-text-color)}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none;color:var(--mat-form-field-enabled-select-arrow-color)}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select.mat-focused .mat-mdc-form-field-infix::after{color:var(--mat-form-field-focus-select-arrow-color)}.mat-mdc-form-field-type-mat-native-select.mat-form-field-disabled .mat-mdc-form-field-infix::after{color:var(--mat-form-field-disabled-select-arrow-color)}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}.cdk-high-contrast-active .mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}.mat-mdc-form-field-input-control[type=date],.mat-mdc-form-field-input-control[type=datetime],.mat-mdc-form-field-input-control[type=datetime-local],.mat-mdc-form-field-input-control[type=month],.mat-mdc-form-field-input-control[type=week],.mat-mdc-form-field-input-control[type=time]{line-height:1}.mat-mdc-form-field-input-control::-webkit-datetime-edit{line-height:1;padding:0;margin-bottom:-2px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-container-text-font);line-height:var(--mat-form-field-container-text-line-height);font-size:var(--mat-form-field-container-text-size);letter-spacing:var(--mat-form-field-container-text-tracking);font-weight:var(--mat-form-field-container-text-weight)}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field .mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(var(--mat-form-field-outlined-label-text-populated-size)*var(--mat-mdc-form-field-floating-label-scale))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mat-form-field-outlined-label-text-populated-size)}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%;z-index:0}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto;position:relative;z-index:1}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:0 12px;box-sizing:content-box}.mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-leading-icon-color)}.mat-form-field-disabled .mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-disabled-leading-icon-color)}.mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-trailing-icon-color)}.mat-form-field-disabled .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-disabled-trailing-icon-color)}.mat-form-field-invalid .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-trailing-icon-color)}.mat-form-field-invalid:not(.mat-focused):not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-hover-trailing-icon-color)}.mat-form-field-invalid.mat-focused .mat-mdc-text-field-wrapper .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-focus-trailing-icon-color)}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__affix{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled.mdc-ripple-upgraded--background-focused .mdc-text-field__ripple::before,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea{transition:none}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-filled 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-filled{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon{0%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}[dir=rtl] .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined[dir=rtl] .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon-rtl{0%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-standard 250ms 1}@keyframes mdc-floating-label-shake-float-above-standard{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-notched-outline .mdc-floating-label{max-width:calc(100% + 1px)}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(133.3333333333% + 1px)}'],encapsulation:2,data:{animation:[LL.transitionMessages]},changeDetection:0});let n=e;return n})(),ao=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=V({type:e}),e.\u0275inj=L({imports:[Ae,ri,uu,Ae]});let n=e;return n})();var ND=fn({passive:!0}),PD=(()=>{let e=class e{constructor(t,i){this._platform=t,this._ngZone=i,this._monitoredElements=new Map}monitor(t){if(!this._platform.isBrowser)return ut;let i=un(t),o=this._monitoredElements.get(i);if(o)return o.subject;let s=new A,a="cdk-text-field-autofilled",l=c=>{c.animationName==="cdk-text-field-autofill-start"&&!i.classList.contains(a)?(i.classList.add(a),this._ngZone.run(()=>s.next({target:c.target,isAutofilled:!0}))):c.animationName==="cdk-text-field-autofill-end"&&i.classList.contains(a)&&(i.classList.remove(a),this._ngZone.run(()=>s.next({target:c.target,isAutofilled:!1})))};return this._ngZone.runOutsideAngular(()=>{i.addEventListener("animationstart",l,ND),i.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(i,{subject:s,unlisten:()=>{i.removeEventListener("animationstart",l,ND)}}),s}stopMonitoring(t){let i=un(t),o=this._monitoredElements.get(i);o&&(o.unlisten(),o.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((t,i)=>this.stopMonitoring(i))}};e.\u0275fac=function(i){return new(i||e)(v(xe),v(k))},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();var FD=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=V({type:e}),e.\u0275inj=L({});let n=e;return n})();var UL=new E("MAT_INPUT_VALUE_ACCESSOR"),zL=["button","checkbox","file","hidden","image","radio","range","reset","submit"],HL=0,yr=(()=>{let e=class e{get disabled(){return this._disabled}set disabled(t){this._disabled=oi(t),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(t){this._id=t||this._uid}get required(){var t,i,o,s;return(s=(o=this._required)!=null?o:(i=(t=this.ngControl)==null?void 0:t.control)==null?void 0:i.hasValidator(Is.required))!=null?s:!1}set required(t){this._required=oi(t)}get type(){return this._type}set type(t){this._type=t||"text",this._validateType(),!this._isTextarea&&Ap().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(t){this._errorStateTracker.matcher=t}get value(){return this._inputValueAccessor.value}set value(t){t!==this.value&&(this._inputValueAccessor.value=t,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(t){this._readonly=oi(t)}get errorState(){return this._errorStateTracker.errorState}set errorState(t){this._errorStateTracker.errorState=t}constructor(t,i,o,s,a,l,c,d,u,f){this._elementRef=t,this._platform=i,this.ngControl=o,this._autofillMonitor=d,this._formField=f,this._uid="mat-input-".concat(HL++),this.focused=!1,this.stateChanges=new A,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(_=>Ap().has(_)),this._iOSKeyupListener=_=>{let C=_.target;!C.value&&C.selectionStart===0&&C.selectionEnd===0&&(C.setSelectionRange(1,1),C.setSelectionRange(0,0))};let m=this._elementRef.nativeElement,g=m.nodeName.toLowerCase();this._inputValueAccessor=c||m,this._previousNativeValue=this.value,this.id=this.id,i.IOS&&u.runOutsideAngular(()=>{t.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._errorStateTracker=new Cs(l,o,a,s,this.stateChanges),this._isServer=!this._platform.isBrowser,this._isNativeSelect=g==="select",this._isTextarea=g==="textarea",this._isInFormField=!!f,this._isNativeSelect&&(this.controlType=m.multiple?"mat-native-select-multiple":"mat-native-select")}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(t=>{this.autofilled=t.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.ngControl.disabled!==null&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(t){this._elementRef.nativeElement.focus(t)}updateErrorState(){this._errorStateTracker.updateErrorState()}_focusChanged(t){t!==this.focused&&(this.focused=t,this.stateChanges.next())}_onInput(){}_dirtyCheckNativeValue(){let t=this._elementRef.nativeElement.value;this._previousNativeValue!==t&&(this._previousNativeValue=t,this.stateChanges.next())}_dirtyCheckPlaceholder(){let t=this._getPlaceholder();if(t!==this._previousPlaceholder){let i=this._elementRef.nativeElement;this._previousPlaceholder=t,t?i.setAttribute("placeholder",t):i.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){zL.indexOf(this._type)>-1}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let t=this._elementRef.nativeElement.validity;return t&&t.badInput}get empty(){return!this._isNeverEmpty()&&!this._elementRef.nativeElement.value&&!this._isBadInput()&&!this.autofilled}get shouldLabelFloat(){if(this._isNativeSelect){let t=this._elementRef.nativeElement,i=t.options[0];return this.focused||t.multiple||!this.empty||!!(t.selectedIndex>-1&&i&&i.label)}else return this.focused||!this.empty}setDescribedByIds(t){t.length?this._elementRef.nativeElement.setAttribute("aria-describedby",t.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){let t=this._elementRef.nativeElement;return this._isNativeSelect&&(t.multiple||t.size>1)}};e.\u0275fac=function(i){return new(i||e)(h(P),h(xe),h(Ni,10),h(Pn,8),h(sl,8),h(wu),h(UL,10),h(PD),h(k),h(ll,8))},e.\u0275dir=N({type:e,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:18,hostBindings:function(i,o){i&1&&z("focus",function(){return o._focusChanged(!0)})("blur",function(){return o._focusChanged(!1)})("input",function(){return o._onInput()}),i&2&&(dn("id",o.id)("disabled",o.disabled)("required",o.required),De("name",o.name||null)("readonly",o.readonly&&!o._isNativeSelect||null)("aria-invalid",o.empty&&o.required?null:o.errorState)("aria-required",o.required)("id",o.id),ae("mat-input-server",o._isServer)("mat-mdc-form-field-textarea-control",o._isInFormField&&o._isTextarea)("mat-mdc-form-field-input-control",o._isInFormField)("mdc-text-field__input",o._isInFormField)("mat-mdc-native-select-inline",o._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],standalone:!0,features:[ze([{provide:al,useExisting:e}]),We]});let n=e;return n})(),LD=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=V({type:e}),e.\u0275inj=L({imports:[Ae,ao,ao,FD,Ae]});let n=e;return n})();var $L=(n,e,r)=>({username:n,domain:e,password:r,success:!1}),WL=(n,e,r)=>({username:n,domain:e,password:r,success:!0}),jD=(()=>{let e=class e{constructor(t){this.data=t,this.labels={username:django.gettext("Username"),password:django.gettext("Password"),domain:django.gettext("Domain")},this.username=t.username,this.domain=t.domain,this.password=""}};e.\u0275fac=function(i){return new(i||e)(h(Ka))},e.\u0275cmp=j({type:e,selectors:[["uds-credentials-modal"]],decls:21,vars:19,consts:[["mat-dialog-title",""],["matInput","",3,"ngModelChange","placeholder","ngModel"],["matInput","","type","password",3,"ngModelChange","placeholder","ngModel"],["mat-button","",3,"mat-dialog-close"]],template:function(i,o){i&1&&(p(0,"h2",0)(1,"uds-translate"),w(2,"Please, enter access credentials"),b()(),p(3,"mat-dialog-content")(4,"mat-form-field")(5,"mat-label"),w(6),b(),p(7,"input",1),oa("ngModelChange",function(a){return pd(o.username,a)||(o.username=a),a}),b()(),p(8,"mat-form-field")(9,"mat-label"),w(10),b(),p(11,"input",2),oa("ngModelChange",function(a){return pd(o.password,a)||(o.password=a),a}),b()(),p(12,"mat-form-field")(13,"mat-label"),w(14),b(),p(15,"input",1),oa("ngModelChange",function(a){return pd(o.domain,a)||(o.domain=a),a}),b()()(),p(16,"mat-dialog-actions")(17,"button",3),w(18,"Cancel"),b(),p(19,"button",3),w(20,"Accept"),b()()),i&2&&(x(6),Te(" ",o.labels.username," "),x(),M("placeholder",o.labels.username),ra("ngModel",o.username),x(3),Te(" ",o.labels.password," "),x(),M("placeholder",o.labels.password),ra("ngModel",o.password),x(3),Te(" ",o.labels.domain," "),x(),M("placeholder",o.labels.domain),ra("ngModel",o.domain),x(2),M("mat-dialog-close",Zm(11,$L,o.username,o.domain,o.password)),x(2),M("mat-dialog-close",Zm(15,WL,o.username,o.domain,o.password)))},dependencies:[zu,mD,sb,ui,Iu,Mu,Tu,Su,_r,fi,yr,He],styles:[".mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}"]});let n=e;return n})();var Yu=(()=>{let e=class e{constructor(t){this.dialog=t}alert(t,i,o=0){return ke(this,null,function*(){let s=window.innerWidth<800?"80%":"40%";return this.dialog.open(Kg,{width:s,data:{title:t,body:i,autoclose:o,type:Ja.alert},disableClose:!0})})}yesno(t,i){let o=window.innerWidth<800?"80%":"40%";return this.dialog.open(Kg,{width:o,data:{title:t,body:i,type:Ja.yesno},disableClose:!0}).componentInstance.yesno}askCredentials(t,i){let o=this.dialog.open(jD,{data:{username:t,domain:i}});return $t(o.afterClosed())}};e.\u0275fac=function(i){return new(i||e)(v(Xa))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let n=e;return n})();var VD="dark-theme",BD="light-theme";var qL=eval,Re=(()=>{let e=class e{constructor(t,i,o){this.http=t,this.gui=i,this.router=o,this.transportsWindow=null,this.user=new ou(udsData.profile),this.plugin=new Kw(this)}get config(){return udsData.config}get csrfField(){return csrf.csrfField}get csrfToken(){return csrf.csrfToken}get staffInfo(){return udsData.info}get plugins(){return udsData.plugins}get actors(){return udsData.actors}get errors(){return udsData.errors}enabler(t,i){return ke(this,null,function*(){let o=this.config.urls.enabler.replace("param1",t).replace("param2",i);return $t(this.http.get(o))})}status(t,i){return ke(this,null,function*(){let o=this.config.urls.status.replace("param1",t).replace("param2",i);return $t(this.http.get(o))})}action(t,i){return ke(this,null,function*(){let o=this.config.urls.action.replace("param1",i).replace("param2",t);return $t(this.http.get(o))})}transportUrl(t){return ke(this,null,function*(){return $t(this.http.get(t))})}updateTransportTicket(t,i,o,s,a){return ke(this,null,function*(){let l=this.config.urls.update_transport_ticket.replace("param1",t).replace("param2",i);return $t(this.http.post(l,{username:o,password:s,domain:a}))})}galleryImageURL(t){return this.config.urls.gallery_image.replace("param1",t)}transportIconURL(t){return this.config.urls.transport_icon.replace("param1",t)}staticURL(t){return su.production?this.config.urls.static+t:"/static/"+t}getServicesInformation(){return ke(this,null,function*(){return $t(this.http.get(this.config.urls.services))})}getErrorInformation(t){return ke(this,null,function*(){return $t(this.http.get(this.config.urls.error.replace("9999",t)))})}executeCustomJSForServiceLaunch(){udsData.custom_js_for_service_launch!==void 0&&this.eval(udsData.custom_js_for_service_launch)}gotoAdmin(){window.location.href=this.config.urls.admin}logout(){window.location.href=this.config.urls.logout}download(t){return ke(this,null,function*(){let i=document.getElementById("download");i||(i=document.createElement("iframe"),i.id="download",i.style.display="none",document.body.appendChild(i)),i.src=t,i.onload=()=>{alert("Error downloading file. Please try again later.")}})}sleep(t){return new Promise(i=>setTimeout(i,t))}launchURL(t){this.plugin.launchURL(t)}getAuthCustomJavascript(t){return ke(this,null,function*(){return $t(this.http.get(this.config.urls.custom_auth+t,{responseType:"text"}))})}switchTheme(t){let i=document.getElementsByTagName("html")[0];[VD,BD].forEach(o=>{i.classList.contains(o)&&i.classList.remove(o)}),i.classList.add(t?VD:BD)}putOnStorage(t,i){typeof Storage!==void 0&&sessionStorage.setItem(t,i)}getFromStorage(t){return typeof Storage!==void 0?sessionStorage.getItem(t):null}eval(t){qL(t)}};e.\u0275fac=function(i){return new(i||e)(v(gp),v(Yu),v(li))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let n=e;return n})();var cb=(()=>{let e=class e{constructor(t){this.api=t}canActivate(t,i){return this.api.user.isLogged?!0:(this.api.router.navigate(["login"]),!1)}};e.\u0275fac=function(i){return new(i||e)(v(Re))},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();var YL=["trigger"],ZL=["panel"],QL=[[["mat-select-trigger"]],"*"],KL=["mat-select-trigger","*"];function XL(n,e){if(n&1&&(p(0,"span",4),w(1),b()),n&2){let r=R();x(),ct(r.placeholder)}}function JL(n,e){n&1&&ue(0)}function ej(n,e){if(n&1&&(p(0,"span",11),w(1),b()),n&2){let r=R(2);x(),ct(r.triggerValue)}}function tj(n,e){if(n&1&&(p(0,"span",5),F(1,JL,1,0)(2,ej,2,1,"span",11),b()),n&2){let r=R();x(),qe(r.customTrigger?1:2)}}function nj(n,e){if(n&1){let r=Me();p(0,"div",12,1),z("@transformPanel.done",function(i){te(r);let o=R();return ne(o._panelDoneAnimatingStream.next(i.toState))})("keydown",function(i){te(r);let o=R();return ne(o._handleKeydown(i))}),ue(2,1),b()}if(n&2){let r=R();rx("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",r._getPanelTheme(),""),M("ngClass",r.panelClass)("@transformPanel","showing"),De("id",r.id+"-panel")("aria-multiselectable",r.multiple)("aria-label",r.ariaLabel||null)("aria-labelledby",r._getPanelAriaLabelledby())}}var ij={transformPanelWrap:Nn("transformPanelWrap",[Qt("* => void",RC("@transformPanel",[OC()],{optional:!0}))]),transformPanel:Nn("transformPanel",[gn("void",ot({opacity:0,transform:"scale(1, 0.8)"})),Qt("void => showing",pn("120ms cubic-bezier(0, 0, 0.2, 1)",ot({opacity:1,transform:"scale(1, 1)"}))),Qt("* => void",pn("100ms linear",ot({opacity:0})))])};var UD=0,zD=new E("mat-select-scroll-strategy",{providedIn:"root",factory:()=>{let n=y(Ye);return()=>n.scrollStrategies.reposition()}});function rj(n){return()=>n.scrollStrategies.reposition()}var oj=new E("MAT_SELECT_CONFIG"),sj={provide:zD,deps:[Ye],useFactory:rj},aj=new E("MatSelectTrigger"),db=class{constructor(e,r){this.source=e,this.value=r}},HD=(()=>{let e=class e{_scrollOptionIntoView(t){let i=this.options.toArray()[t];if(i){let o=this.panel.nativeElement,s=MC(t,this.options,this.optionGroups),a=i._getHostElement();t===0&&s===1?o.scrollTop=0:o.scrollTop=SC(a.offsetTop,a.offsetHeight,o.scrollTop,o.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(t){return new db(this,t)}get focused(){return this._focused||this._panelOpen}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(t){this._hideSingleSelectionIndicator=t,this._syncParentProperties()}get placeholder(){return this._placeholder}set placeholder(t){this._placeholder=t,this.stateChanges.next()}get required(){var t,i,o,s;return(s=(o=this._required)!=null?o:(i=(t=this.ngControl)==null?void 0:t.control)==null?void 0:i.hasValidator(Is.required))!=null?s:!1}set required(t){this._required=t,this.stateChanges.next()}get multiple(){return this._multiple}set multiple(t){this._selectionModel,this._multiple=t}get compareWith(){return this._compareWith}set compareWith(t){this._compareWith=t,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(t){this._assignValue(t)&&this._onChange(t)}get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(t){this._errorStateTracker.matcher=t}get id(){return this._id}set id(t){this._id=t||this._uid,this.stateChanges.next()}get errorState(){return this._errorStateTracker.errorState}set errorState(t){this._errorStateTracker.errorState=t}constructor(t,i,o,s,a,l,c,d,u,f,m,g,_,C){var S,B,ve,q,$e;this._viewportRuler=t,this._changeDetectorRef=i,this._elementRef=a,this._dir=l,this._parentFormField=u,this.ngControl=f,this._liveAnnouncer=_,this._defaultOptions=C,this._positions=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"}],this._panelOpen=!1,this._compareWith=(be,pe)=>be===pe,this._uid="mat-select-".concat(UD++),this._triggerAriaLabelledBy=null,this._destroy=new A,this.stateChanges=new A,this.disableAutomaticLabeling=!0,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-".concat(UD++),this._panelDoneAnimatingStream=new A,this._overlayPanelClass=((S=this._defaultOptions)==null?void 0:S.overlayPanelClass)||"",this._focused=!1,this.controlType="mat-select",this.disabled=!1,this.disableRipple=!1,this.tabIndex=0,this._hideSingleSelectionIndicator=(ve=(B=this._defaultOptions)==null?void 0:B.hideSingleSelectionIndicator)!=null?ve:!1,this._multiple=!1,this.disableOptionCentering=($e=(q=this._defaultOptions)==null?void 0:q.disableOptionCentering)!=null?$e:!1,this.ariaLabel="",this.panelWidth=this._defaultOptions&&typeof this._defaultOptions.panelWidth<"u"?this._defaultOptions.panelWidth:"auto",this._initialized=new A,this.optionSelectionChanges=Bn(()=>{let be=this.options;return be?be.changes.pipe(at(be),it(()=>vt(...be.map(pe=>pe.onSelectionChange)))):this._initialized.pipe(it(()=>this.optionSelectionChanges))}),this.openedChange=new $,this._openedStream=this.openedChange.pipe(le(be=>be),K(()=>{})),this._closedStream=this.openedChange.pipe(le(be=>!be),K(()=>{})),this.selectionChange=new $,this.valueChange=new $,this._trackedModal=null,this._skipPredicate=be=>this.panelOpen?!1:be.disabled,this.ngControl&&(this.ngControl.valueAccessor=this),(C==null?void 0:C.typeaheadDebounceInterval)!=null&&(this.typeaheadDebounceInterval=C.typeaheadDebounceInterval),this._errorStateTracker=new Cs(s,f,d,c,this.stateChanges),this._scrollStrategyFactory=g,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(m)||0,this.id=this.id}ngOnInit(){this._selectionModel=new au(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(Hi(),Ie(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen)),this._viewportRuler.change().pipe(Ie(this._destroy)).subscribe(()=>{this.panelOpen&&(this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._changeDetectorRef.detectChanges())})}ngAfterContentInit(){this._initialized.next(),this._initialized.complete(),this._initKeyManager(),this._selectionModel.changed.pipe(Ie(this._destroy)).subscribe(t=>{t.added.forEach(i=>i.select()),t.removed.forEach(i=>i.deselect())}),this.options.changes.pipe(at(null),Ie(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){let t=this._getTriggerAriaLabelledby(),i=this.ngControl;if(t!==this._triggerAriaLabelledBy){let o=this._elementRef.nativeElement;this._triggerAriaLabelledBy=t,t?o.setAttribute("aria-labelledby",t):o.removeAttribute("aria-labelledby")}i&&(this._previousControl!==i.control&&(this._previousControl!==void 0&&i.disabled!==null&&i.disabled!==this.disabled&&(this.disabled=i.disabled),this._previousControl=i.control),this.updateErrorState())}ngOnChanges(t){(t.disabled||t.userAriaDescribedBy)&&this.stateChanges.next(),t.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this.typeaheadDebounceInterval)}ngOnDestroy(){var t;(t=this._keyManager)==null||t.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete(),this._clearFromModal()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin()),this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._applyModalPanelOwnership(),this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_applyModalPanelOwnership(){let t=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!t)return;let i="".concat(this.id,"-panel");this._trackedModal&&vu(this._trackedModal,"aria-owns",i),Rg(t,"aria-owns",i),this._trackedModal=t}_clearFromModal(){if(!this._trackedModal)return;let t="".concat(this.id,"-panel");vu(this._trackedModal,"aria-owns",t),this._trackedModal=null}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched(),this.stateChanges.next())}writeValue(t){this._assignValue(t)}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){var t,i;return this.multiple?((t=this._selectionModel)==null?void 0:t.selected)||[]:(i=this._selectionModel)==null?void 0:i.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){let t=this._selectionModel.selected.map(i=>i.viewValue);return this._isRtl()&&t.reverse(),t.join(", ")}return this._selectionModel.selected[0].viewValue}updateErrorState(){this._errorStateTracker.updateErrorState()}_isRtl(){return this._dir?this._dir.value==="rtl":!1}_handleKeydown(t){this.disabled||(this.panelOpen?this._handleOpenKeydown(t):this._handleClosedKeydown(t))}_handleClosedKeydown(t){let i=t.keyCode,o=i===40||i===38||i===37||i===39,s=i===13||i===32,a=this._keyManager;if(!a.isTyping()&&s&&!ht(t)||(this.multiple||t.altKey)&&o)t.preventDefault(),this.open();else if(!this.multiple){let l=this.selected;a.onKeydown(t);let c=this.selected;c&&l!==c&&this._liveAnnouncer.announce(c.viewValue,1e4)}}_handleOpenKeydown(t){let i=this._keyManager,o=t.keyCode,s=o===40||o===38,a=i.isTyping();if(s&&t.altKey)t.preventDefault(),this.close();else if(!a&&(o===13||o===32)&&i.activeItem&&!ht(t))t.preventDefault(),i.activeItem._selectViaInteraction();else if(!a&&this._multiple&&o===65&&t.ctrlKey){t.preventDefault();let l=this.options.some(c=>!c.disabled&&!c.selected);this.options.forEach(c=>{c.disabled||(l?c.select():c.deselect())})}else{let l=i.activeItemIndex;i.onKeydown(t),this._multiple&&s&&t.shiftKey&&i.activeItem&&i.activeItemIndex!==l&&i.activeItem._selectViaInteraction()}}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){var t;this._focused=!1,(t=this._keyManager)==null||t.cancelTypeahead(),!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe(Ve(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}_getPanelTheme(){return this._parentFormField?"mat-".concat(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(t){if(this.options.forEach(i=>i.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&t)Array.isArray(t),t.forEach(i=>this._selectOptionByValue(i)),this._sortValues();else{let i=this._selectOptionByValue(t);i?this._keyManager.updateActiveItem(i):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(t){let i=this.options.find(o=>{if(this._selectionModel.isSelected(o))return!1;try{return o.value!=null&&this._compareWith(o.value,t)}catch{return!1}});return i&&this._selectionModel.select(i),i}_assignValue(t){return t!==this._value||this._multiple&&Array.isArray(t)?(this.options&&this._setSelectionByValue(t),this._value=t,!0):!1}_getOverlayWidth(t){return this.panelWidth==="auto"?(t instanceof za?t.elementRef:t||this._elementRef).nativeElement.getBoundingClientRect().width:this.panelWidth===null?"":this.panelWidth}_syncParentProperties(){if(this.options)for(let t of this.options)t._changeDetectorRef.markForCheck()}_initKeyManager(){this._keyManager=new bu(this.options).withTypeAhead(this.typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withPageUpDown().withAllowedModifierKeys(["shiftKey"]).skipPredicate(this._skipPredicate),this._keyManager.tabOut.subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){let t=vt(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(Ie(t)).subscribe(i=>{this._onSelect(i.source,i.isUserInput),i.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),vt(...this.options.map(i=>i._stateChanges)).pipe(Ie(t)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(t,i){let o=this._selectionModel.isSelected(t);t.value==null&&!this._multiple?(t.deselect(),this._selectionModel.clear(),this.value!=null&&this._propagateChanges(t.value)):(o!==t.selected&&(t.selected?this._selectionModel.select(t):this._selectionModel.deselect(t)),i&&this._keyManager.setActiveItem(t),this.multiple&&(this._sortValues(),i&&this.focus())),o!==this._selectionModel.isSelected(t)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){let t=this.options.toArray();this._selectionModel.sort((i,o)=>this.sortComparator?this.sortComparator(i,o,t):t.indexOf(i)-t.indexOf(o)),this.stateChanges.next()}}_propagateChanges(t){let i;this.multiple?i=this.selected.map(o=>o.value):i=this.selected?this.selected.value:t,this._value=i,this.valueChange.emit(i),this._onChange(i),this.selectionChange.emit(this._getChangeEvent(i)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let t=-1;for(let i=0;i0}focus(t){this._elementRef.nativeElement.focus(t)}_getPanelAriaLabelledby(){var o;if(this.ariaLabel)return null;let t=(o=this._parentFormField)==null?void 0:o.getLabelId(),i=t?t+" ":"";return this.ariaLabelledby?i+this.ariaLabelledby:t}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){var o;if(this.ariaLabel)return null;let t=(o=this._parentFormField)==null?void 0:o.getLabelId(),i=(t?t+" ":"")+this._valueId;return this.ariaLabelledby&&(i+=" "+this.ariaLabelledby),i}_panelDoneAnimating(t){this.openedChange.emit(t)}setDescribedByIds(t){t.length?this._elementRef.nativeElement.setAttribute("aria-describedby",t.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}};e.\u0275fac=function(i){return new(i||e)(h(ms),h(Ne),h(k),h(wu),h(P),h(St,8),h(Pn,8),h(sl,8),h(ll,8),h(Ni,10),Qn("tabindex"),h(zD),h(gC),h(oj,8))},e.\u0275cmp=j({type:e,selectors:[["mat-select"]],contentQueries:function(i,o,s){if(i&1&&(tt(s,aj,5),tt(s,Cu,5),tt(s,Wg,5)),i&2){let a;ie(a=re())&&(o.customTrigger=a.first),ie(a=re())&&(o.options=a),ie(a=re())&&(o.optionGroups=a)}},viewQuery:function(i,o){if(i&1&&(Fe(YL,5),Fe(ZL,5),Fe(Mg,5)),i&2){let s;ie(s=re())&&(o.trigger=s.first),ie(s=re())&&(o.panel=s.first),ie(s=re())&&(o._overlayDir=s.first)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:19,hostBindings:function(i,o){i&1&&z("keydown",function(a){return o._handleKeydown(a)})("focus",function(){return o._onFocus()})("blur",function(){return o._onBlur()}),i&2&&(De("id",o.id)("tabindex",o.disabled?-1:o.tabIndex)("aria-controls",o.panelOpen?o.id+"-panel":null)("aria-expanded",o.panelOpen)("aria-label",o.ariaLabel||null)("aria-required",o.required.toString())("aria-disabled",o.disabled.toString())("aria-invalid",o.errorState)("aria-activedescendant",o._getAriaActiveDescendant()),ae("mat-mdc-select-disabled",o.disabled)("mat-mdc-select-invalid",o.errorState)("mat-mdc-select-required",o.required)("mat-mdc-select-empty",o.empty)("mat-mdc-select-multiple",o.multiple))},inputs:{userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",disabled:[2,"disabled","disabled",oe],disableRipple:[2,"disableRipple","disableRipple",oe],tabIndex:[2,"tabIndex","tabIndex",t=>t==null?0:ti(t)],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",oe],placeholder:"placeholder",required:[2,"required","required",oe],multiple:[2,"multiple","multiple",oe],disableOptionCentering:[2,"disableOptionCentering","disableOptionCentering",oe],compareWith:"compareWith",value:"value",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:[2,"typeaheadDebounceInterval","typeaheadDebounceInterval",ti],sortComparator:"sortComparator",id:"id",panelWidth:"panelWidth"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],standalone:!0,features:[ze([{provide:al,useExisting:e},{provide:$g,useExisting:e}]),Le,We,Oe],ngContentSelectors:KL,decls:11,vars:8,consts:[["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],["panel",""],["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],[1,"mat-mdc-select-value"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],[1,"mat-mdc-select-value-text"],[1,"mat-mdc-select-arrow-wrapper"],[1,"mat-mdc-select-arrow"],["viewBox","0 0 24 24","width","24px","height","24px","focusable","false","aria-hidden","true"],["d","M7 10l5 5 5-5z"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"backdropClick","attach","detach","cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",3,"keydown","ngClass"]],template:function(i,o){if(i&1){let s=Me();Je(QL),p(0,"div",2,0),z("click",function(){return te(s),ne(o.open())}),p(3,"div",3),F(4,XL,2,1,"span",4)(5,tj,3,1,"span",5),b(),p(6,"div",6)(7,"div",7),Zn(),p(8,"svg",8),O(9,"path",9),b()()()(),F(10,nj,3,9,"ng-template",10),z("backdropClick",function(){return te(s),ne(o.close())})("attach",function(){return te(s),ne(o._onAttached())})("detach",function(){return te(s),ne(o.close())})}if(i&2){let s=Et(1);x(3),De("id",o._valueId),x(),qe(o.empty?4:5),x(6),M("cdkConnectedOverlayPanelClass",o._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",o._scrollStrategy)("cdkConnectedOverlayOrigin",o._preferredOverlayOrigin||s)("cdkConnectedOverlayOpen",o.panelOpen)("cdkConnectedOverlayPositions",o._positions)("cdkConnectedOverlayWidth",o._overlayWidth)}},dependencies:[za,Mg,Qo],styles:['.mat-mdc-select{display:inline-block;width:100%;outline:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-select-enabled-trigger-text-color);font-family:var(--mat-select-trigger-text-font);line-height:var(--mat-select-trigger-text-line-height);font-size:var(--mat-select-trigger-text-size);font-weight:var(--mat-select-trigger-text-weight);letter-spacing:var(--mat-select-trigger-text-tracking)}div.mat-mdc-select-panel{box-shadow:var(--mat-select-container-elevation-shadow)}.mat-mdc-select-disabled{color:var(--mat-select-disabled-trigger-text-color)}.mat-mdc-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-mdc-select-disabled .mat-mdc-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-mdc-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-mdc-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-mdc-select-arrow-wrapper{height:24px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper{transform:none}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-invalid .mat-mdc-select-arrow,.mat-form-field-invalid:not(.mat-form-field-disabled) .mat-mdc-form-field-infix::after{color:var(--mat-select-invalid-arrow-color)}.mat-mdc-select-arrow{width:10px;height:5px;position:relative;color:var(--mat-select-enabled-arrow-color)}.mat-mdc-form-field.mat-focused .mat-mdc-select-arrow{color:var(--mat-select-focused-arrow-color)}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-disabled .mat-mdc-select-arrow{color:var(--mat-select-disabled-arrow-color)}.mat-mdc-select-arrow svg{fill:currentColor;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:CanvasText}.mat-mdc-select-disabled .cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:GrayText}div.mat-mdc-select-panel{width:100%;max-height:275px;outline:0;overflow:auto;padding:8px 0;border-radius:4px;box-sizing:border-box;position:static;background-color:var(--mat-select-panel-background-color)}.cdk-high-contrast-active div.mat-mdc-select-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-select-panel-above) div.mat-mdc-select-panel{border-top-left-radius:0;border-top-right-radius:0;transform-origin:top center}.mat-mdc-select-panel-above div.mat-mdc-select-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:bottom center}div.mat-mdc-select-panel .mat-mdc-option{--mdc-list-list-item-container-color: var(--mat-select-panel-background-color)}.mat-mdc-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);color:var(--mat-select-placeholder-text-color)}._mat-animation-noopable .mat-mdc-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-mdc-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-mdc-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper{cursor:pointer}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mat-mdc-floating-label{max-width:calc(100% - 18px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 24px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-text-field--label-floating .mdc-notched-outline__notch{max-width:calc(100% - 24px)}.mat-mdc-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}.mat-form-field-appearance-fill .mat-mdc-select-arrow-wrapper{transform:var(--mat-select-arrow-transform)}'],encapsulation:2,data:{animation:[ij.transformPanel]},changeDetection:0});let n=e;return n})();var $D=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=V({type:e}),e.\u0275inj=L({providers:[sj],imports:[ri,ci,Gg,Ae,cr,ao,Gg,Ae]});let n=e;return n})();function cj(n,e){if(n&1&&(p(0,"mat-option",19),w(1),b()),n&2){let r=e.$implicit;M("value",r.id),x(),Te(" ",r.name," ")}}function dj(n,e){if(n&1){let r=Me();p(0,"div",9)(1,"mat-form-field",16)(2,"mat-label")(3,"uds-translate"),w(4,"Authenticator"),b()(),p(5,"mat-select",17),z("selectionChange",function(i){te(r);let o=R();return ne(o.changeAuth(i.value))}),F(6,cj,2,2,"mat-option",18),b()()()}if(n&2){let r=R();x(5),M("value",r.auths[0].id),x(),M("ngForOf",r.auths)}}var ub=(()=>{let e=class e{constructor(t){this.api=t,this.auth={},this.title="UDS Enterprise",this.title=t.config.site_name,this.auths=t.config.authenticators.slice(0),this.auths.sort((i,o)=>i.priority-o.priority)}ngOnInit(){let t=document.getElementById("loginform");t.action=this.api.config.urls.login;let i=document.getElementById("token");i.name=this.api.csrfField;let o=document.cookie.split(";").find(s=>s.trim().startsWith("csrftoken="))||"=";i.value=o.split("=")[1],this.auth=document.getElementById("authenticator"),this.auths.length>0&&(this.auth.value=this.auths[0].id,this.changeAuth(this.auth.value)),this.api.errors.length>0&&this.api.gui.alert(django.gettext("Errors found"),"
"+this.api.errors.join("
")+"
")}changeAuth(t){this.auth.value=t;let i=o=>{this.api.eval(o)};for(let o of this.auths)o.id===t&&o.is_custom&&(document.getElementsByClassName("login-form")[0].setAttribute("style","display: none;"),this.api.getAuthCustomJavascript(o.id).then(s=>i(s)))}launch(){return document.getElementById("loginform").submit(),!0}};e.\u0275fac=function(i){return new(i||e)(h(Re))},e.\u0275cmp=j({type:e,selectors:[["uds-login"]],decls:29,vars:6,consts:[["id","loginform","method","post",3,"ngSubmit"],["name","","id","token","value","","type","hidden"],["name","logouturl","id","id_logouturl","value","","type","hidden"],["name","authenticator","id","authenticator","value","","type","hidden"],[1,"login-container"],[1,"login-brand"],[3,"src"],[1,"login-info"],[1,"login-form"],[1,"login-field"],["matInput","","id","id_user","name","user","value","","required","","autofocus",""],["matInput","","id","id_password","type","password","name","password","data-eye","",1,"form-control"],["class","login-field",4,"ngIf"],[1,"login-button"],["mat-stroked-button","","color","primary","type","submit"],[1,"site-info",3,"innerHTML"],["appaerance","standard"],[3,"selectionChange","value"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(i,o){i&1&&(p(0,"form",0),z("ngSubmit",function(){return o.launch()}),O(1,"input",1)(2,"input",2)(3,"input",3),p(4,"div",4)(5,"div",5),O(6,"img",6),b(),p(7,"div",7),w(8),b(),p(9,"div",8)(10,"div",9)(11,"mat-form-field")(12,"mat-label")(13,"uds-translate"),w(14,"Username"),b()(),O(15,"input",10),b()(),p(16,"div",9)(17,"mat-form-field")(18,"mat-label")(19,"uds-translate"),w(20,"Password"),b()(),O(21,"input",11),b()(),F(22,dj,7,2,"div",12),p(23,"div",13)(24,"button",14)(25,"uds-translate"),w(26,"Login"),b()()()(),O(27,"div",15),Jn(28,"safeHtml"),b()()),i&2&&(x(6),M("src",o.api.staticURL("modern/img/login-img.png"),ft),x(2),Te(" ",o.title," "),x(14),M("ngIf",o.auths.length>1),x(5),M("innerHTML",ei(28,4,o.api.config.site_information),Xn))},dependencies:[It,Mt,Ss,Ms,Pn,ui,_r,fi,yr,HD,Cu,He,pr],styles:[".login-container[_ngcontent-%COMP%]{display:flex;flex-flow:column wrap;justify-content:center;align-items:center}.login-brand[_ngcontent-%COMP%]{margin:1rem 0 0}.login-info[_ngcontent-%COMP%]{margin:1rem 0}.login-form[_ngcontent-%COMP%]{margin:0 1rem 2rem 0;min-width:32em;padding:1rem;-moz-box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.12),0 1px 5px 0 rgba(0,0,0,.2);box-shadow:0 2px 2px #00000024,0 3px 1px -2px #0000001f,0 1px 5px #0003;transition:all .3s cubic-bezier(.25,.8,.25,1);flex:1 0 auto;justify-content:center;flex-flow:column wrap;align-items:center;display:flex}.login-field[_ngcontent-%COMP%]{width:80%;margin:.5rem}.login-button[_ngcontent-%COMP%]{margin:2rem}.mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}@media only screen and (max-width: 744px){.login-form[_ngcontent-%COMP%]{min-width:80%}}"]});let n=e;return n})();function uj(n,e){if(n&1){let r=Me();p(0,"div",6),z("click",function(){let i=te(r).$implicit,o=R();return ne(o.api.download(i.url))}),p(1,"div",7),O(2,"img",8),b(),p(3,"div",9),w(4),b(),p(5,"div",10),w(6),b()()}if(n&2){let r=e.$implicit,t=R();zt(t.css(r)),x(2),M("src",t.img(r.name),ft),x(2),Ym(" ",t.legacy(r)," ",r.name," (",r.url.split(".").pop(),") "),x(2),Te(" ",r.description," ")}}var WD=(()=>{let e=class e{constructor(t){this.api=t}ngOnInit(){}img(t){return this.api.staticURL("modern/img/"+t+".png")}css(t){let i=["plugin"];return t.legacy&&i.push("legacy"),i}legacy(t){return t.legacy?"Legacy":""}};e.\u0275fac=function(i){return new(i||e)(h(Re))},e.\u0275cmp=j({type:e,selectors:[["uds-client-download"]],decls:13,vars:1,consts:[[1,"plugins-container"],[1,"banner"],[1,"banner-text"],[1,"plugins"],[3,"class","click",4,"ngFor","ngForOf"],[1,"info"],[3,"click"],[1,"image"],[3,"src"],[1,"platform"],[1,"description"]],template:function(i,o){i&1&&(p(0,"div",0)(1,"div",1)(2,"div",2)(3,"h1")(4,"uds-translate"),w(5,"UDS Client"),b()()()(),p(6,"div",3),F(7,uj,7,7,"div",4),b(),p(8,"div",5)(9,"ul")(10,"li")(11,"uds-translate"),w(12,"Download UDS client for your platform"),b()()()()()),i&2&&(x(7),M("ngForOf",o.api.plugins))},dependencies:[It,He],styles:[".plugins-container[_ngcontent-%COMP%]{margin:0 2%}.banner[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-bottom:2rem}.banner-text[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:3rem;text-align:center}.banner-text[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:1rem}.plugins[_ngcontent-%COMP%]{display:flex;flex-flow:row wrap;justify-content:center}.plugin[_ngcontent-%COMP%]{margin:0 1rem 2rem 0;padding:1rem;border-radius:1rem;box-shadow:0 1rem 2rem #00000040,0 10px 10px #00000038;transition:all .3s cubic-bezier(.25,.8,.25,1);flex:1 0 15%}.plugin.legacy[_ngcontent-%COMP%]{background-color:#d3d3d3;flex:1 0 19%;max-width:20%}.plugin.legacy[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:5rem}.plugin[_ngcontent-%COMP%]:hover{cursor:pointer;box-shadow:0 .1rem .2rem #00000040,0 10px 10px #00000038;background-color:#0000001a}.image[_ngcontent-%COMP%]{display:flex;justify-content:center}.platform[_ngcontent-%COMP%]{text-align:center;font-size:2rem}.description[_ngcontent-%COMP%]{display:flex;text-align:center;justify-content:center;margin-top:.5rem} .dark-theme uds-client-download{color:#fff!important} .dark-theme .plugin.legacy{background-color:#a9a9a9} .dark-theme .plugin:hover{background-color:#ffffff1a}"]});let n=e;return n})();function fj(n,e){if(n&1){let r=Me();p(0,"div",6),z("click",function(){let i=te(r).$implicit,o=R();return ne(o.api.download(i.url))}),p(1,"div",7),O(2,"img",8),b(),O(3,"div",9),Jn(4,"safeHtml"),O(5,"div",10),Jn(6,"safeHtml"),b()}if(n&2){let r=e.$implicit,t=R();zt(t.css(r.name)),x(2),M("src",t.img(r.name),ft),x(),M("innerHTML",ei(4,5,r.name),Xn),x(2),M("innerHTML",ei(6,7,r.description),Xn)}}var GD=(()=>{let e=class e{constructor(t){this.api=t,this.actors=[]}ngOnInit(){this.actors=[];let t=[];for(let i of this.api.actors)i.name.includes("legacy")?t.push(i):this.actors.push(i);for(let i of t)this.actors.push(i)}img(t){let i=(t.split(".").pop()||"").toLowerCase(),o="Linux";return i==="exe"?o="Windows":i==="pkg"&&(o="MacOS"),this.api.staticURL("modern/img/"+o+".png")}css(t){let i=["actor"];return t.toLowerCase().includes("legacy")&&i.push("legacy"),i}};e.\u0275fac=function(i){return new(i||e)(h(Re))},e.\u0275cmp=j({type:e,selectors:[["uds-downloads"]],decls:16,vars:1,consts:[[1,"actors-container"],[1,"banner"],[1,"banner-text"],[1,"actors"],[3,"class","click",4,"ngFor","ngForOf"],[1,"info"],[3,"click"],[1,"image"],[3,"src"],[1,"name",3,"innerHTML"],[1,"description",3,"innerHTML"]],template:function(i,o){i&1&&(p(0,"div",0)(1,"div",1)(2,"div",2)(3,"h1")(4,"uds-translate"),w(5,"Downloads"),b()()()(),p(6,"div",3),F(7,fj,7,9,"div",4),b(),p(8,"div",5)(9,"ul")(10,"li")(11,"uds-translate"),w(12,"Always download the UDS actor matching your platform"),b()(),p(13,"li")(14,"uds-translate"),w(15,"Legacy actors are only provided for old operating system support. Try to avoid them."),b()()()()()),i&2&&(x(7),M("ngForOf",o.actors))},dependencies:[It,He,pr],styles:[".actors-container[_ngcontent-%COMP%]{display:flex;flex-flow:column;margin:0 2%}.banner[_ngcontent-%COMP%]{display:flex;justify-content:center}.banner-text[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:2em;text-align:center}.actors[_ngcontent-%COMP%]{display:flex;flex-flow:row wrap;justify-content:space-around;align-content:center;margin:auto}.actor[_ngcontent-%COMP%]{border:1px solid;margin-top:1rem;padding:1em;border-radius:1rem;box-shadow:0 1rem 2rem #00000040,0 10px 10px #00000038;transition:all .3s cubic-bezier(.25,.8,.25,1);flex:1 0 34%;margin-right:1em}.actor.legacy[_ngcontent-%COMP%]{background-color:#d3d3d3;max-width:50%}.actor[_ngcontent-%COMP%]:hover{cursor:pointer;box-shadow:0 .1rem .2rem #00000040,0 10px 10px #00000038;background-color:#0000001a}.image[_ngcontent-%COMP%]{display:block;float:left;padding-right:1rem;height:100%}.image[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:4rem}.name[_ngcontent-%COMP%]{font-size:1.5em;margin-bottom:1em;font-weight:700;overflow:hidden} .dark-theme uds-downloads{color:#fff!important} .dark-theme .actor.legacy{background-color:#464646}"]});let n=e;return n})();var hj=0,fb=new E("CdkAccordion"),qD=(()=>{let e=class e{constructor(){this._stateChanges=new A,this._openCloseAllActions=new A,this.id="cdk-accordion-".concat(hj++),this.multi=!1}openAll(){this.multi&&this._openCloseAllActions.next(!0)}closeAll(){this._openCloseAllActions.next(!1)}ngOnChanges(t){this._stateChanges.next(t)}ngOnDestroy(){this._stateChanges.complete(),this._openCloseAllActions.complete()}};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=N({type:e,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:[2,"multi","multi",oe]},exportAs:["cdkAccordion"],standalone:!0,features:[ze([{provide:fb,useExisting:e}]),Le,We]});let n=e;return n})(),mj=0,YD=(()=>{let e=class e{get expanded(){return this._expanded}set expanded(t){if(this._expanded!==t){if(this._expanded=t,this.expandedChange.emit(t),t){this.opened.emit();let i=this.accordion?this.accordion.id:this.id;this._expansionDispatcher.notify(this.id,i)}else this.closed.emit();this._changeDetectorRef.markForCheck()}}constructor(t,i,o){this.accordion=t,this._changeDetectorRef=i,this._expansionDispatcher=o,this._openCloseAllSubscription=fe.EMPTY,this.closed=new $,this.opened=new $,this.destroyed=new $,this.expandedChange=new $,this.id="cdk-accordion-child-".concat(mj++),this._expanded=!1,this.disabled=!1,this._removeUniqueSelectionListener=()=>{},this._removeUniqueSelectionListener=o.listen((s,a)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===a&&this.id!==s&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}ngOnDestroy(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()}toggle(){this.disabled||(this.expanded=!this.expanded)}close(){this.disabled||(this.expanded=!1)}open(){this.disabled||(this.expanded=!0)}_subscribeToOpenCloseAllActions(){return this.accordion._openCloseAllActions.subscribe(t=>{this.disabled||(this.expanded=t)})}};e.\u0275fac=function(i){return new(i||e)(h(fb,12),h(Ne),h(lu))},e.\u0275dir=N({type:e,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:[2,"expanded","expanded",oe],disabled:[2,"disabled","disabled",oe]},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],standalone:!0,features:[ze([{provide:fb,useValue:void 0}]),Le]});let n=e;return n})(),ZD=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=V({type:e}),e.\u0275inj=L({});let n=e;return n})();var pj=["body"],gj=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],bj=["mat-expansion-panel-header","*","mat-action-row"];function vj(n,e){}var _j=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],yj=["mat-panel-title","mat-panel-description","*"];function xj(n,e){if(n&1&&(p(0,"span",1),Zn(),p(1,"svg",2),O(2,"path",3),b()()),n&2){let r=R();M("@indicatorRotate",r._getExpandedState())}}var hb=new E("MAT_ACCORDION"),QD="225ms cubic-bezier(0.4,0.0,0.2,1)",XD={indicatorRotate:Nn("indicatorRotate",[gn("collapsed, void",ot({transform:"rotate(0deg)"})),gn("expanded",ot({transform:"rotate(180deg)"})),Qt("expanded <=> collapsed, void => collapsed",pn(QD))]),bodyExpansion:Nn("bodyExpansion",[gn("collapsed, void",ot({height:"0px",visibility:"hidden"})),gn("expanded",ot({height:"*",visibility:""})),Qt("expanded <=> collapsed, void => collapsed",pn(QD))])},JD=new E("MAT_EXPANSION_PANEL"),wj=(()=>{let e=class e{constructor(t,i){this._template=t,this._expansionPanel=i}};e.\u0275fac=function(i){return new(i||e)(h(pt),h(JD,8))},e.\u0275dir=N({type:e,selectors:[["ng-template","matExpansionPanelContent",""]],standalone:!0});let n=e;return n})(),Cj=0,eE=new E("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS"),cl=(()=>{let e=class e extends YD{get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(t){this._hideToggle=t}get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(t){this._togglePosition=t}constructor(t,i,o,s,a,l,c){super(t,i,o),this._viewContainerRef=s,this._animationMode=l,this._hideToggle=!1,this.afterExpand=new $,this.afterCollapse=new $,this._inputChanges=new A,this._headerId="mat-expansion-panel-header-".concat(Cj++),this.accordion=t,this._document=a,this._animationsDisabled=l==="NoopAnimations",c&&(this.hideToggle=c.hideToggle)}_hasSpacing(){return this.accordion?this.expanded&&this.accordion.displayMode==="default":!1}_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(at(null),le(()=>this.expanded&&!this._portal),Ve(1)).subscribe(()=>{this._portal=new Rn(this._lazyContent._template,this._viewContainerRef)})}ngOnChanges(t){this._inputChanges.next(t)}ngOnDestroy(){super.ngOnDestroy(),this._inputChanges.complete()}_containsFocus(){if(this._body){let t=this._document.activeElement,i=this._body.nativeElement;return t===i||i.contains(t)}return!1}_animationStarted(t){var i;!KD(t)&&!this._animationsDisabled&&this._body&&((i=this._body)==null||i.nativeElement.setAttribute("inert",""))}_animationDone(t){KD(t)||(t.toState==="expanded"?this.afterExpand.emit():t.toState==="collapsed"&&this.afterCollapse.emit(),!this._animationsDisabled&&this._body&&this._body.nativeElement.removeAttribute("inert"))}};e.\u0275fac=function(i){return new(i||e)(h(hb,12),h(Ne),h(lu),h(lt),h(W),h(Ge,8),h(eE,8))},e.\u0275cmp=j({type:e,selectors:[["mat-expansion-panel"]],contentQueries:function(i,o,s){if(i&1&&tt(s,wj,5),i&2){let a;ie(a=re())&&(o._lazyContent=a.first)}},viewQuery:function(i,o){if(i&1&&Fe(pj,5),i&2){let s;ie(s=re())&&(o._body=s.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(i,o){i&2&&ae("mat-expanded",o.expanded)("_mat-animation-noopable",o._animationsDisabled)("mat-expansion-panel-spacing",o._hasSpacing())},inputs:{hideToggle:[2,"hideToggle","hideToggle",oe],togglePosition:"togglePosition"},outputs:{afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],standalone:!0,features:[ze([{provide:hb,useValue:void 0},{provide:JD,useExisting:e}]),Le,Ue,We,Oe],ngContentSelectors:bj,decls:7,vars:4,consts:[["body",""],["role","region",1,"mat-expansion-panel-content",3,"id"],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(i,o){if(i&1){let s=Me();Je(gj),ue(0),p(1,"div",1,0),z("@bodyExpansion.start",function(l){return te(s),ne(o._animationStarted(l))})("@bodyExpansion.done",function(l){return te(s),ne(o._animationDone(l))}),p(3,"div",2),ue(4,1),F(5,vj,0,0,"ng-template",3),b(),ue(6,2),b()}i&2&&(x(),M("@bodyExpansion",o._getExpandedState())("id",o.id),De("aria-labelledby",o._headerId),x(4),M("cdkPortalOutlet",o._portal))},dependencies:[Jr],styles:['.mat-expansion-panel{box-sizing:content-box;display:block;margin:0;overflow:hidden;transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);position:relative;background:var(--mat-expansion-container-background-color);color:var(--mat-expansion-container-text-color);border-radius:var(--mat-expansion-container-shape)}.mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12)}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:var(--mat-expansion-container-shape);border-top-left-radius:var(--mat-expansion-container-shape)}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:var(--mat-expansion-container-shape);border-bottom-left-radius:var(--mat-expansion-container-shape)}.cdk-high-contrast-active .mat-expansion-panel{outline:solid 1px}.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel,.mat-expansion-panel._mat-animation-noopable{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible;font-family:var(--mat-expansion-container-text-font);font-size:var(--mat-expansion-container-text-size);font-weight:var(--mat-expansion-container-text-weight);line-height:var(--mat-expansion-container-text-line-height);letter-spacing:var(--mat-expansion-container-text-tracking)}.mat-expansion-panel-content[style*="visibility: hidden"] *{visibility:hidden !important}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px;border-top-color:var(--mat-expansion-actions-divider-color)}.mat-action-row .mat-button-base,.mat-action-row .mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row .mat-button-base,[dir=rtl] .mat-action-row .mat-mdc-button-base{margin-left:0;margin-right:8px}'],encapsulation:2,data:{animation:[XD.bodyExpansion]},changeDetection:0});let n=e;return n})();function KD(n){return n.fromState==="void"}var dl=(()=>{let e=class e{constructor(t,i,o,s,a,l,c){this.panel=t,this._element=i,this._focusMonitor=o,this._changeDetectorRef=s,this._animationMode=l,this._parentChangeSubscription=fe.EMPTY,this.tabIndex=0;let d=t.accordion?t.accordion._stateChanges.pipe(le(u=>!!(u.hideToggle||u.togglePosition))):ut;this.tabIndex=parseInt(c||"")||0,this._parentChangeSubscription=vt(t.opened,t.closed,d,t._inputChanges.pipe(le(u=>!!(u.hideToggle||u.disabled||u.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),t.closed.pipe(le(()=>t._containsFocus())).subscribe(()=>o.focusVia(i,"program")),a&&(this.expandedHeight=a.expandedHeight,this.collapsedHeight=a.collapsedHeight)}get disabled(){return this.panel.disabled}_toggle(){this.disabled||this.panel.toggle()}_isExpanded(){return this.panel.expanded}_getExpandedState(){return this.panel._getExpandedState()}_getPanelId(){return this.panel.id}_getTogglePosition(){return this.panel.togglePosition}_showToggle(){return!this.panel.hideToggle&&!this.panel.disabled}_getHeaderHeight(){let t=this._isExpanded();return t&&this.expandedHeight?this.expandedHeight:!t&&this.collapsedHeight?this.collapsedHeight:null}_keydown(t){switch(t.keyCode){case 32:case 13:ht(t)||(t.preventDefault(),this._toggle());break;default:this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(t);return}}focus(t,i){t?this._focusMonitor.focusVia(this._element,t,i):this._element.nativeElement.focus(i)}ngAfterViewInit(){this._focusMonitor.monitor(this._element).subscribe(t=>{t&&this.panel.accordion&&this.panel.accordion._handleHeaderFocus(this)})}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}};e.\u0275fac=function(i){return new(i||e)(h(cl,1),h(P),h(Zt),h(Ne),h(eE,8),h(Ge,8),Qn("tabindex"))},e.\u0275cmp=j({type:e,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(i,o){i&1&&z("click",function(){return o._toggle()})("keydown",function(a){return o._keydown(a)}),i&2&&(De("id",o.panel._headerId)("tabindex",o.disabled?-1:o.tabIndex)("aria-controls",o._getPanelId())("aria-expanded",o._isExpanded())("aria-disabled",o.panel.disabled),qr("height",o._getHeaderHeight()),ae("mat-expanded",o._isExpanded())("mat-expansion-toggle-indicator-after",o._getTogglePosition()==="after")("mat-expansion-toggle-indicator-before",o._getTogglePosition()==="before")("_mat-animation-noopable",o._animationMode==="NoopAnimations"))},inputs:{expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight",tabIndex:[2,"tabIndex","tabIndex",t=>t==null?0:ti(t)]},standalone:!0,features:[Le,Oe],ngContentSelectors:yj,decls:5,vars:3,consts:[[1,"mat-content"],[1,"mat-expansion-indicator"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 -960 960 960","aria-hidden","true","focusable","false"],["d","M480-345 240-585l56-56 184 184 184-184 56 56-240 240Z"]],template:function(i,o){i&1&&(Je(_j),p(0,"span",0),ue(1),ue(2,1),ue(3,2),b(),F(4,xj,3,1,"span",1)),i&2&&(ae("mat-content-hide-toggle",!o._showToggle()),x(4),qe(o._showToggle()?4:-1))},styles:['.mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit;transition:height 225ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mat-expansion-header-collapsed-state-height);font-family:var(--mat-expansion-header-text-font);font-size:var(--mat-expansion-header-text-size);font-weight:var(--mat-expansion-header-text-weight);line-height:var(--mat-expansion-header-text-line-height);letter-spacing:var(--mat-expansion-header-text-tracking)}.mat-expansion-panel-header.mat-expanded{height:var(--mat-expansion-header-expanded-state-height)}.mat-expansion-panel-header[aria-disabled=true]{color:var(--mat-expansion-header-disabled-state-text-color)}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]):hover{background:var(--mat-expansion-header-hover-state-layer-color)}@media(hover: none){.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]):hover{background:var(--mat-expansion-container-background-color)}}.mat-expansion-panel .mat-expansion-panel-header:not([aria-disabled=true]).cdk-keyboard-focused,.mat-expansion-panel .mat-expansion-panel-header:not([aria-disabled=true]).cdk-program-focused{background:var(--mat-expansion-header-focus-state-layer-color)}.mat-expansion-panel-header._mat-animation-noopable{transition:none}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:none}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-content.mat-content-hide-toggle{margin-right:8px}[dir=rtl] .mat-content.mat-content-hide-toggle{margin-right:0;margin-left:8px}.mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-left:24px;margin-right:0}[dir=rtl] .mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-right:24px;margin-left:0}.mat-expansion-panel-header-title{color:var(--mat-expansion-header-text-color)}.mat-expansion-panel-header-title,.mat-expansion-panel-header-description{display:flex;flex-grow:1;flex-basis:0;margin-right:16px;align-items:center}[dir=rtl] .mat-expansion-panel-header-title,[dir=rtl] .mat-expansion-panel-header-description{margin-right:0;margin-left:16px}.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-title,.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-description{color:inherit}.mat-expansion-panel-header-description{flex-grow:2;color:var(--mat-expansion-header-description-color)}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:"";display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle;color:var(--mat-expansion-header-indicator-color);display:inline-block;display:var(--mat-expansion-legacy-header-indicator-display, inline-block)}.mat-expansion-indicator svg{width:24px;height:24px;margin:0 -8px;vertical-align:middle;fill:var(--mat-expansion-header-indicator-color);display:none;display:var(--mat-expansion-header-indicator-display, none)}.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:[XD.indicatorRotate]},changeDetection:0});let n=e;return n})(),Zu=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=N({type:e,selectors:[["mat-panel-description"]],hostAttrs:[1,"mat-expansion-panel-header-description"],standalone:!0});let n=e;return n})(),Qu=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=N({type:e,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"],standalone:!0});let n=e;return n})(),Ku=(()=>{let e=class e extends qD{constructor(){super(...arguments),this._ownHeaders=new Yn,this.hideToggle=!1,this.displayMode="default",this.togglePosition="after"}ngAfterContentInit(){this._headers.changes.pipe(at(this._headers)).subscribe(t=>{this._ownHeaders.reset(t.filter(i=>i.panel.accordion===this)),this._ownHeaders.notifyOnChanges()}),this._keyManager=new vs(this._ownHeaders).withWrap().withHomeAndEnd()}_handleHeaderKeydown(t){this._keyManager.onKeydown(t)}_handleHeaderFocus(t){this._keyManager.updateActiveItem(t)}ngOnDestroy(){var t;super.ngOnDestroy(),(t=this._keyManager)==null||t.destroy(),this._ownHeaders.destroy()}};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=an(e)))(o||e)}})(),e.\u0275dir=N({type:e,selectors:[["mat-accordion"]],contentQueries:function(i,o,s){if(i&1&&tt(s,dl,5),i&2){let a;ie(a=re())&&(o._headers=a)}},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(i,o){i&2&&ae("mat-accordion-multi",o.multi)},inputs:{hideToggle:[2,"hideToggle","hideToggle",oe],displayMode:"displayMode",togglePosition:"togglePosition"},exportAs:["matAccordion"],standalone:!0,features:[ze([{provide:hb,useExisting:e}]),Le,Ue]});let n=e;return n})(),tE=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=V({type:e}),e.\u0275inj=L({imports:[Ae,ZD,ki]});let n=e;return n})();var Dj=["mat-menu-item",""],Ej=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],Ij=["mat-icon, [matMenuItemIcon]","*"];function Mj(n,e){n&1&&(Zn(),p(0,"svg",2),O(1,"polygon",3),b())}var Sj=["*"];function Tj(n,e){if(n&1){let r=Me();p(0,"div",0),z("keydown",function(i){te(r);let o=R();return ne(o._handleKeydown(i))})("click",function(){te(r);let i=R();return ne(i.closed.emit("click"))})("@transformMenu.start",function(i){te(r);let o=R();return ne(o._onAnimationStart(i))})("@transformMenu.done",function(i){te(r);let o=R();return ne(o._onAnimationDone(i))}),p(1,"div",1),ue(2),b()()}if(n&2){let r=R();zt(r._classList),M("id",r.panelId)("@transformMenu",r._panelAnimationState),De("aria-label",r.ariaLabel||null)("aria-labelledby",r.ariaLabelledby||null)("aria-describedby",r.ariaDescribedby||null)}}var pb=new E("MAT_MENU_PANEL"),lo=(()=>{let e=class e{constructor(t,i,o,s,a){var l;this._elementRef=t,this._document=i,this._focusMonitor=o,this._parentMenu=s,this._changeDetectorRef=a,this.role="menuitem",this.disabled=!1,this.disableRipple=!1,this._hovered=new A,this._focused=new A,this._highlighted=!1,this._triggersSubmenu=!1,(l=s==null?void 0:s.addItem)==null||l.call(s,this)}focus(t,i){this._focusMonitor&&t?this._focusMonitor.focusVia(this._getHostElement(),t,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(t){this.disabled&&(t.preventDefault(),t.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){var o;let t=this._elementRef.nativeElement.cloneNode(!0),i=t.querySelectorAll("mat-icon, .material-icons");for(let s=0;s enter",pn("120ms cubic-bezier(0, 0, 0.2, 1)",ot({opacity:1,transform:"scale(1)"}))),Qt("* => void",pn("100ms 25ms linear",ot({opacity:0})))]),fadeInItems:Nn("fadeInItems",[gn("showing",ot({opacity:1})),Qt("void => *",[ot({opacity:0}),pn("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},LY=Xu.fadeInItems,jY=Xu.transformMenu,kj=0,Oj=new E("mat-menu-default-options",{providedIn:"root",factory:Rj});function Rj(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}var xr=(()=>{let e=class e{get xPosition(){return this._xPosition}set xPosition(t){this._xPosition=t,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(t){this._yPosition=t,this.setPositionClasses()}set panelClass(t){let i=this._previousPanelClass,o=D({},this._classList);i&&i.length&&i.split(" ").forEach(s=>{o[s]=!1}),this._previousPanelClass=t,t&&t.length&&(t.split(" ").forEach(s=>{o[s]=!0}),this._elementRef.nativeElement.className=""),this._classList=o}get classList(){return this.panelClass}set classList(t){this.panelClass=t}constructor(t,i,o,s){this._elementRef=t,this._changeDetectorRef=s,this._elevationPrefix="mat-elevation-z",this._baseElevation=8,this._directDescendantItems=new Yn,this._classList={},this._panelAnimationState="void",this._animationDone=new A,this.closed=new $,this.close=this.closed,this.panelId="mat-menu-panel-".concat(kj++),this._injector=y(Ce),this.overlayPanelClass=o.overlayPanelClass||"",this._xPosition=o.xPosition,this._yPosition=o.yPosition,this.backdropClass=o.backdropClass,this.overlapTrigger=o.overlapTrigger,this.hasBackdrop=o.hasBackdrop}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new vs(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe(at(this._directDescendantItems),it(t=>vt(...t.map(i=>i._focused)))).subscribe(t=>this._keyManager.updateActiveItem(t)),this._directDescendantItems.changes.subscribe(t=>{var o;let i=this._keyManager;if(this._panelAnimationState==="enter"&&((o=i.activeItem)!=null&&o._hasFocus())){let s=t.toArray(),a=Math.max(0,Math.min(s.length-1,i.activeItemIndex||0));s[a]&&!s[a].disabled?i.setActiveItem(a):i.setNextItemActive()}})}ngOnDestroy(){var t,i;(t=this._keyManager)==null||t.destroy(),this._directDescendantItems.destroy(),this.closed.complete(),(i=this._firstItemFocusRef)==null||i.destroy()}_hovered(){return this._directDescendantItems.changes.pipe(at(this._directDescendantItems),it(i=>vt(...i.map(o=>o._hovered))))}addItem(t){}removeItem(t){}_handleKeydown(t){let i=t.keyCode,o=this._keyManager;switch(i){case 27:ht(t)||(t.preventDefault(),this.closed.emit("keydown"));break;case 37:this.parentMenu&&this.direction==="ltr"&&this.closed.emit("keydown");break;case 39:this.parentMenu&&this.direction==="rtl"&&this.closed.emit("keydown");break;default:(i===38||i===40)&&o.setFocusOrigin("keyboard"),o.onKeydown(t);return}t.stopPropagation()}focusFirstItem(t="program"){var i;(i=this._firstItemFocusRef)==null||i.destroy(),this._firstItemFocusRef=Ut(()=>{let o=null;if(this._directDescendantItems.length&&(o=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!o||!o.contains(document.activeElement)){let s=this._keyManager;s.setFocusOrigin(t).setFirstItemActive(),!s.activeItem&&o&&o.focus()}},{injector:this._injector})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(t){let i=Math.min(this._baseElevation+t,24),o="".concat(this._elevationPrefix).concat(i),s=Object.keys(this._classList).find(a=>a.startsWith(this._elevationPrefix));if(!s||s===this._previousElevation){let a=D({},this._classList);this._previousElevation&&(a[this._previousElevation]=!1),a[o]=!0,this._previousElevation=o,this._classList=a}}setPositionClasses(t=this.xPosition,i=this.yPosition){var o;this._classList=_e(D({},this._classList),{"mat-menu-before":t==="before","mat-menu-after":t==="after","mat-menu-above":i==="above","mat-menu-below":i==="below"}),(o=this._changeDetectorRef)==null||o.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(t){this._animationDone.next(t),this._isAnimating=!1}_onAnimationStart(t){this._isAnimating=!0,t.toState==="enter"&&this._keyManager.activeItemIndex===0&&(t.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe(at(this._allItems)).subscribe(t=>{this._directDescendantItems.reset(t.filter(i=>i._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}};e.\u0275fac=function(i){return new(i||e)(h(P),h(k),h(Oj),h(Ne))},e.\u0275cmp=j({type:e,selectors:[["mat-menu"]],contentQueries:function(i,o,s){if(i&1&&(tt(s,Aj,5),tt(s,lo,5),tt(s,lo,4)),i&2){let a;ie(a=re())&&(o.lazyContent=a.first),ie(a=re())&&(o._allItems=a),ie(a=re())&&(o.items=a)}},viewQuery:function(i,o){if(i&1&&Fe(pt,5),i&2){let s;ie(s=re())&&(o.templateRef=s.first)}},hostVars:3,hostBindings:function(i,o){i&2&&De("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},inputs:{backdropClass:"backdropClass",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:[2,"overlapTrigger","overlapTrigger",oe],hasBackdrop:[2,"hasBackdrop","hasBackdrop",t=>t==null?null:oe(t)],panelClass:[0,"class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"},exportAs:["matMenu"],standalone:!0,features:[ze([{provide:pb,useExisting:e}]),Le,Oe],ngContentSelectors:Sj,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-mdc-menu-panel","mat-mdc-elevation-specific",3,"keydown","click","id"],[1,"mat-mdc-menu-content"]],template:function(i,o){i&1&&(Je(),F(0,Tj,3,7,"ng-template"))},styles:['mat-menu{display:none}.mat-mdc-menu-content{margin:0;padding:8px 0;list-style-type:none}.mat-mdc-menu-content:focus{outline:none}.mat-mdc-menu-content,.mat-mdc-menu-content .mat-mdc-menu-item .mat-mdc-menu-item-text{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;flex:1;white-space:normal;font-family:var(--mat-menu-item-label-text-font);line-height:var(--mat-menu-item-label-text-line-height);font-size:var(--mat-menu-item-label-text-size);letter-spacing:var(--mat-menu-item-label-text-tracking);font-weight:var(--mat-menu-item-label-text-weight)}.mat-mdc-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;box-sizing:border-box;outline:0;border-radius:var(--mat-menu-container-shape);background-color:var(--mat-menu-container-color);will-change:transform,opacity}.mat-mdc-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-mdc-menu-panel{outline:solid 1px}.mat-mdc-menu-panel .mat-divider{color:var(--mat-menu-divider-color);margin-bottom:var(--mat-menu-divider-bottom-spacing);margin-top:var(--mat-menu-divider-top-spacing)}.mat-mdc-menu-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:var(--mat-menu-item-leading-spacing);padding-right:var(--mat-menu-item-trailing-spacing);-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);cursor:pointer;width:100%;text-align:left;box-sizing:border-box;color:inherit;font-size:inherit;background:none;text-decoration:none;margin:0;align-items:center;min-height:48px}.mat-mdc-menu-item:focus{outline:none}[dir=rtl] .mat-mdc-menu-item,.mat-mdc-menu-item[dir=rtl]{padding-left:var(--mat-menu-item-trailing-spacing);padding-right:var(--mat-menu-item-leading-spacing)}.mat-mdc-menu-item:has(.material-icons,mat-icon,[matButtonIcon]){padding-left:var(--mat-menu-item-with-icon-leading-spacing);padding-right:var(--mat-menu-item-with-icon-trailing-spacing)}[dir=rtl] .mat-mdc-menu-item:has(.material-icons,mat-icon,[matButtonIcon]),.mat-mdc-menu-item:has(.material-icons,mat-icon,[matButtonIcon])[dir=rtl]{padding-left:var(--mat-menu-item-with-icon-trailing-spacing);padding-right:var(--mat-menu-item-with-icon-leading-spacing)}.mat-mdc-menu-item::-moz-focus-inner{border:0}.mat-mdc-menu-item,.mat-mdc-menu-item:visited,.mat-mdc-menu-item:link{color:var(--mat-menu-item-label-text-color)}.mat-mdc-menu-item .mat-icon-no-color,.mat-mdc-menu-item .mat-mdc-menu-submenu-icon{color:var(--mat-menu-item-icon-color)}.mat-mdc-menu-item[disabled]{cursor:default;opacity:.38}.mat-mdc-menu-item[disabled]::after{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.mat-mdc-menu-item .mat-icon{flex-shrink:0;margin-right:var(--mat-menu-item-spacing);height:var(--mat-menu-item-icon-size);width:var(--mat-menu-item-icon-size)}[dir=rtl] .mat-mdc-menu-item{text-align:right}[dir=rtl] .mat-mdc-menu-item .mat-icon{margin-right:0;margin-left:var(--mat-menu-item-spacing)}.mat-mdc-menu-item:not([disabled]):hover{background-color:var(--mat-menu-item-hover-state-layer-color)}.mat-mdc-menu-item:not([disabled]).cdk-program-focused,.mat-mdc-menu-item:not([disabled]).cdk-keyboard-focused,.mat-mdc-menu-item:not([disabled]).mat-mdc-menu-item-highlighted{background-color:var(--mat-menu-item-focus-state-layer-color)}.cdk-high-contrast-active .mat-mdc-menu-item{margin-top:1px}.mat-mdc-menu-submenu-icon{width:var(--mat-menu-item-icon-size);height:10px;fill:currentColor;padding-left:var(--mat-menu-item-spacing)}[dir=rtl] .mat-mdc-menu-submenu-icon{padding-right:var(--mat-menu-item-spacing);padding-left:0}[dir=rtl] .mat-mdc-menu-submenu-icon polygon{transform:scaleX(-1)}.cdk-high-contrast-active .mat-mdc-menu-submenu-icon{fill:CanvasText}.mat-mdc-menu-item .mat-mdc-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}'],encapsulation:2,data:{animation:[Xu.transformMenu,Xu.fadeInItems]},changeDetection:0});let n=e;return n})(),iE=new E("mat-menu-scroll-strategy",{providedIn:"root",factory:()=>{let n=y(Ye);return()=>n.scrollStrategies.reposition()}});function Nj(n){return()=>n.scrollStrategies.reposition()}var Pj={provide:iE,deps:[Ye],useFactory:Nj},nE=fn({passive:!0});var Ju=(()=>{let e=class e{get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(t){this.menu=t}get menu(){return this._menu}set menu(t){var i;t!==this._menu&&(this._menu=t,this._menuCloseSubscription.unsubscribe(),t&&(this._parentMaterialMenu,this._menuCloseSubscription=t.close.subscribe(o=>{this._destroyMenu(o),(o==="click"||o==="tab")&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(o)})),(i=this._menuItemInstance)==null||i._setTriggersSubmenu(this.triggersSubmenu()))}constructor(t,i,o,s,a,l,c,d,u){this._overlay=t,this._element=i,this._viewContainerRef=o,this._menuItemInstance=l,this._dir=c,this._focusMonitor=d,this._ngZone=u,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=fe.EMPTY,this._hoverSubscription=fe.EMPTY,this._menuCloseSubscription=fe.EMPTY,this._changeDetectorRef=y(Ne),this._handleTouchStart=f=>{Wa(f)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new $,this.onMenuOpen=this.menuOpened,this.menuClosed=new $,this.onMenuClose=this.menuClosed,this._scrollStrategy=s,this._parentMaterialMenu=a instanceof xr?a:void 0,i.nativeElement.addEventListener("touchstart",this._handleTouchStart,nE)}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,nE),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}triggersSubmenu(){return!!(this._menuItemInstance&&this._parentMaterialMenu&&this.menu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){let t=this.menu;if(this._menuOpen||!t)return;let i=this._createOverlay(t),o=i.getConfig(),s=o.positionStrategy;this._setPosition(t,s),o.hasBackdrop=t.hasBackdrop==null?!this.triggersSubmenu():t.hasBackdrop,i.attach(this._getPortal(t)),t.lazyContent&&t.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(t),t instanceof xr&&(t._startAnimation(),t._directDescendantItems.changes.pipe(Ie(t.close)).subscribe(()=>{s.withLockedPosition(!1).reapplyLastPosition(),s.withLockedPosition(!0)}))}closeMenu(){var t;(t=this.menu)==null||t.close.emit()}focus(t,i){this._focusMonitor&&t?this._focusMonitor.focusVia(this._element,t,i):this._element.nativeElement.focus(i)}updatePosition(){var t;(t=this._overlayRef)==null||t.updatePosition()}_destroyMenu(t){var o;if(!this._overlayRef||!this.menuOpen)return;let i=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&(t==="keydown"||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,i instanceof xr?(i._resetAnimation(),i.lazyContent?i._animationDone.pipe(le(s=>s.toState==="void"),Ve(1),Ie(i.lazyContent._attached)).subscribe({next:()=>i.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),(o=i==null?void 0:i.lazyContent)==null||o.detach())}_initMenu(t){t.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,t.direction=this.dir,this._setMenuElevation(t),t.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(t){if(t.setElevation){let i=0,o=t.parentMenu;for(;o;)i++,o=o.parentMenu;t.setElevation(i)}}_setIsMenuOpen(t){t!==this._menuOpen&&(this._menuOpen=t,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(t),this._changeDetectorRef.markForCheck())}_createOverlay(t){if(!this._overlayRef){let i=this._getOverlayConfig(t);this._subscribeToPositions(t,i.positionStrategy),this._overlayRef=this._overlay.create(i),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(t){return new ur({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:t.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:t.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(t,i){t.setPositionClasses&&i.positionChanges.subscribe(o=>{let s=o.connectionPair.overlayX==="start"?"after":"before",a=o.connectionPair.overlayY==="top"?"below":"above";this._ngZone?this._ngZone.run(()=>t.setPositionClasses(s,a)):t.setPositionClasses(s,a)})}_setPosition(t,i){let[o,s]=t.xPosition==="before"?["end","start"]:["start","end"],[a,l]=t.yPosition==="above"?["bottom","top"]:["top","bottom"],[c,d]=[a,l],[u,f]=[o,s],m=0;if(this.triggersSubmenu()){if(f=o=t.xPosition==="before"?"start":"end",s=u=o==="end"?"start":"end",this._parentMaterialMenu){if(this._parentInnerPadding==null){let g=this._parentMaterialMenu.items.first;this._parentInnerPadding=g?g._getHostElement().offsetTop:0}m=a==="bottom"?this._parentInnerPadding:-this._parentInnerPadding}}else t.overlapTrigger||(c=a==="top"?"bottom":"top",d=l==="top"?"bottom":"top");i.withPositions([{originX:o,originY:c,overlayX:u,overlayY:a,offsetY:m},{originX:s,originY:c,overlayX:f,overlayY:a,offsetY:m},{originX:o,originY:d,overlayX:u,overlayY:l,offsetY:-m},{originX:s,originY:d,overlayX:f,overlayY:l,offsetY:-m}])}_menuClosingActions(){let t=this._overlayRef.backdropClick(),i=this._overlayRef.detachments(),o=this._parentMaterialMenu?this._parentMaterialMenu.closed:H(),s=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe(le(a=>a!==this._menuItemInstance),le(()=>this._menuOpen)):H();return vt(t,o,s,i)}_handleMousedown(t){$a(t)||(this._openedBy=t.button===0?"mouse":void 0,this.triggersSubmenu()&&t.preventDefault())}_handleKeydown(t){let i=t.keyCode;(i===13||i===32)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(i===39&&this.dir==="ltr"||i===37&&this.dir==="rtl")&&(this._openedBy="keyboard",this.openMenu())}_handleClick(t){this.triggersSubmenu()?(t.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe(le(t=>t===this._menuItemInstance&&!t.disabled),Xl(0,Fs)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof xr&&this.menu._isAnimating?this.menu._animationDone.pipe(Ve(1),Xl(0,Fs),Ie(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(t){return(!this._portal||this._portal.templateRef!==t.templateRef)&&(this._portal=new Rn(t.templateRef,this._viewContainerRef)),this._portal}};e.\u0275fac=function(i){return new(i||e)(h(Ye),h(P),h(lt),h(iE),h(pb,8),h(lo,10),h(St,8),h(Zt),h(k))},e.\u0275dir=N({type:e,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-mdc-menu-trigger"],hostVars:3,hostBindings:function(i,o){i&1&&z("click",function(a){return o._handleClick(a)})("mousedown",function(a){return o._handleMousedown(a)})("keydown",function(a){return o._handleKeydown(a)}),i&2&&De("aria-haspopup",o.menu?"menu":null)("aria-expanded",o.menuOpen)("aria-controls",o.menuOpen?o.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:[0,"mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:[0,"matMenuTriggerFor","menu"],menuData:[0,"matMenuTriggerData","menuData"],restoreFocus:[0,"matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"},exportAs:["matMenuTrigger"],standalone:!0});let n=e;return n})(),rE=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=V({type:e}),e.\u0275inj=L({providers:[Pj],imports:[ri,Ya,Ae,ci,cr,Ae]});let n=e;return n})();var Fj=["tooltip"],lE=20;var cE=new E("mat-tooltip-scroll-strategy",{providedIn:"root",factory:()=>{let n=y(Ye);return()=>n.scrollStrategies.reposition({scrollThrottle:lE})}});function Lj(n){return()=>n.scrollStrategies.reposition({scrollThrottle:lE})}var jj={provide:cE,deps:[Ye],useFactory:Lj};function Vj(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}var Bj=new E("mat-tooltip-default-options",{providedIn:"root",factory:Vj});var sE="tooltip-panel",aE=fn({passive:!0}),Uj=8,zj=8,Hj=24,$j=200,dE=(()=>{let e=class e{get position(){return this._position}set position(t){var i;t!==this._position&&(this._position=t,this._overlayRef&&(this._updatePosition(this._overlayRef),(i=this._tooltipInstance)==null||i.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(t){this._positionAtOrigin=oi(t),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(t){this._disabled=oi(t),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(t){this._showDelay=Si(t)}get hideDelay(){return this._hideDelay}set hideDelay(t){this._hideDelay=Si(t),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(t){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=t!=null?String(t).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(t){this._tooltipClass=t,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}constructor(t,i,o,s,a,l,c,d,u,f,m,g){this._overlay=t,this._elementRef=i,this._scrollDispatcher=o,this._viewContainerRef=s,this._ngZone=a,this._platform=l,this._ariaDescriber=c,this._focusMonitor=d,this._dir=f,this._defaultOptions=m,this._position="below",this._positionAtOrigin=!1,this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._tooltipComponent=Wj,this._viewportMargin=8,this._cssClassPrefix="mat-mdc",this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new A,this._injector=y(Ce),this._scrollStrategy=u,this._document=g,m&&(this._showDelay=m.showDelay,this._hideDelay=m.hideDelay,m.position&&(this.position=m.position),m.positionAtOrigin&&(this.positionAtOrigin=m.positionAtOrigin),m.touchGestures&&(this.touchGestures=m.touchGestures)),f.change.pipe(Ie(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)}),this._viewportMargin=Uj}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(Ie(this._destroyed)).subscribe(t=>{t?t==="keyboard"&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){let t=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([i,o])=>{t.removeEventListener(i,o,aE)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(t,this.message,"tooltip"),this._focusMonitor.stopMonitoring(t)}show(t=this.showDelay,i){var a;if(this.disabled||!this.message||this._isTooltipVisible()){(a=this._tooltipInstance)==null||a._cancelPendingAnimations();return}let o=this._createOverlay(i);this._detach(),this._portal=this._portal||new dr(this._tooltipComponent,this._viewContainerRef);let s=this._tooltipInstance=o.attach(this._portal).instance;s._triggerElement=this._elementRef.nativeElement,s._mouseLeaveHideDelay=this._hideDelay,s.afterHidden().pipe(Ie(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),s.show(t)}hide(t=this.hideDelay){let i=this._tooltipInstance;i&&(i.isVisible()?i.hide(t):(i._cancelPendingAnimations(),this._detach()))}toggle(t){this._isTooltipVisible()?this.hide():this.show(void 0,t)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(t){var s;if(this._overlayRef){let a=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!t)&&a._origin instanceof P)return this._overlayRef;this._detach()}let i=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),o=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin?t||this._elementRef:this._elementRef).withTransformOriginOn(".".concat(this._cssClassPrefix,"-tooltip")).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(i);return o.positionChanges.pipe(Ie(this._destroyed)).subscribe(a=>{this._updateCurrentPositionClass(a.connectionPair),this._tooltipInstance&&a.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:o,panelClass:"".concat(this._cssClassPrefix,"-").concat(sE),scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(Ie(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(Ie(this._destroyed)).subscribe(()=>{var a;return(a=this._tooltipInstance)==null?void 0:a._handleBodyInteraction()}),this._overlayRef.keydownEvents().pipe(Ie(this._destroyed)).subscribe(a=>{this._isTooltipVisible()&&a.keyCode===27&&!ht(a)&&(a.preventDefault(),a.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),(s=this._defaultOptions)!=null&&s.disableTooltipInteractivity&&this._overlayRef.addPanelClass("".concat(this._cssClassPrefix,"-tooltip-panel-non-interactive")),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(t){let i=t.getConfig().positionStrategy,o=this._getOrigin(),s=this._getOverlayPosition();i.withPositions([this._addOffset(D(D({},o.main),s.main)),this._addOffset(D(D({},o.fallback),s.fallback))])}_addOffset(t){let i=zj,o=!this._dir||this._dir.value=="ltr";return t.originY==="top"?t.offsetY=-i:t.originY==="bottom"?t.offsetY=i:t.originX==="start"?t.offsetX=o?-i:i:t.originX==="end"&&(t.offsetX=o?i:-i),t}_getOrigin(){let t=!this._dir||this._dir.value=="ltr",i=this.position,o;i=="above"||i=="below"?o={originX:"center",originY:i=="above"?"top":"bottom"}:i=="before"||i=="left"&&t||i=="right"&&!t?o={originX:"start",originY:"center"}:(i=="after"||i=="right"&&t||i=="left"&&!t)&&(o={originX:"end",originY:"center"});let{x:s,y:a}=this._invertPosition(o.originX,o.originY);return{main:o,fallback:{originX:s,originY:a}}}_getOverlayPosition(){let t=!this._dir||this._dir.value=="ltr",i=this.position,o;i=="above"?o={overlayX:"center",overlayY:"bottom"}:i=="below"?o={overlayX:"center",overlayY:"top"}:i=="before"||i=="left"&&t||i=="right"&&!t?o={overlayX:"end",overlayY:"center"}:(i=="after"||i=="right"&&t||i=="left"&&!t)&&(o={overlayX:"start",overlayY:"center"});let{x:s,y:a}=this._invertPosition(o.overlayX,o.overlayY);return{main:o,fallback:{overlayX:s,overlayY:a}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),Ut(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()},{injector:this._injector}))}_setTooltipClass(t){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=t,this._tooltipInstance._markForCheck())}_invertPosition(t,i){return this.position==="above"||this.position==="below"?i==="top"?i="bottom":i==="bottom"&&(i="top"):t==="end"?t="start":t==="start"&&(t="end"),{x:t,y:i}}_updateCurrentPositionClass(t){let{overlayY:i,originX:o,originY:s}=t,a;if(i==="center"?this._dir&&this._dir.value==="rtl"?a=o==="end"?"left":"right":a=o==="start"?"left":"right":a=i==="bottom"&&s==="top"?"above":"below",a!==this._currentPosition){let l=this._overlayRef;if(l){let c="".concat(this._cssClassPrefix,"-").concat(sE,"-");l.removePanelClass(c+this._currentPosition),l.addPanelClass(c+a)}this._currentPosition=a}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",t=>{this._setupPointerExitEventsIfNeeded();let i;t.x!==void 0&&t.y!==void 0&&(i=t),this.show(void 0,i)}]):this.touchGestures!=="off"&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",t=>{var a,l;let i=(a=t.targetTouches)==null?void 0:a[0],o=i?{x:i.clientX,y:i.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout);let s=500;this._touchstartTimeout=setTimeout(()=>this.show(void 0,o),(l=this._defaultOptions.touchLongPressShowDelay)!=null?l:s)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;let t=[];if(this._platformSupportsMouseEvents())t.push(["mouseleave",i=>{var s;let o=i.relatedTarget;(!o||!((s=this._overlayRef)!=null&&s.overlayElement.contains(o)))&&this.hide()}],["wheel",i=>this._wheelListener(i)]);else if(this.touchGestures!=="off"){this._disableNativeGesturesIfNecessary();let i=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};t.push(["touchend",i],["touchcancel",i])}this._addListeners(t),this._passiveListeners.push(...t)}_addListeners(t){t.forEach(([i,o])=>{this._elementRef.nativeElement.addEventListener(i,o,aE)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(t){if(this._isTooltipVisible()){let i=this._document.elementFromPoint(t.clientX,t.clientY),o=this._elementRef.nativeElement;i!==o&&!o.contains(i)&&this.hide()}}_disableNativeGesturesIfNecessary(){let t=this.touchGestures;if(t!=="off"){let i=this._elementRef.nativeElement,o=i.style;(t==="on"||i.nodeName!=="INPUT"&&i.nodeName!=="TEXTAREA")&&(o.userSelect=o.msUserSelect=o.webkitUserSelect=o.MozUserSelect="none"),(t==="on"||!i.draggable)&&(o.webkitUserDrag="none"),o.touchAction="none",o.webkitTapHighlightColor="transparent"}}};e.\u0275fac=function(i){return new(i||e)(h(Ye),h(P),h(hs),h(lt),h(k),h(xe),h(hC),h(Zt),h(cE),h(St),h(Bj,8),h(W))},e.\u0275dir=N({type:e,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(i,o){i&2&&ae("mat-mdc-tooltip-disabled",o.disabled)},inputs:{position:[0,"matTooltipPosition","position"],positionAtOrigin:[0,"matTooltipPositionAtOrigin","positionAtOrigin"],disabled:[0,"matTooltipDisabled","disabled"],showDelay:[0,"matTooltipShowDelay","showDelay"],hideDelay:[0,"matTooltipHideDelay","hideDelay"],touchGestures:[0,"matTooltipTouchGestures","touchGestures"],message:[0,"matTooltip","message"],tooltipClass:[0,"matTooltipClass","tooltipClass"]},exportAs:["matTooltip"],standalone:!0});let n=e;return n})(),Wj=(()=>{let e=class e{constructor(t,i,o){this._changeDetectorRef=t,this._elementRef=i,this._isMultiline=!1,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new A,this._showAnimation="mat-mdc-tooltip-show",this._hideAnimation="mat-mdc-tooltip-hide",this._animationsDisabled=o==="NoopAnimations"}show(t){this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},t)}hide(t){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},t)}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:t}){(!t||!this._triggerElement.contains(t))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){let t=this._elementRef.nativeElement.getBoundingClientRect();return t.height>Hj&&t.width>=$j}_handleAnimationEnd({animationName:t}){(t===this._showAnimation||t===this._hideAnimation)&&this._finalizeAnimation(t===this._showAnimation)}_cancelPendingAnimations(){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(t){t?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(t){let i=this._tooltip.nativeElement,o=this._showAnimation,s=this._hideAnimation;if(i.classList.remove(t?s:o),i.classList.add(t?o:s),this._isVisible!==t&&(this._isVisible=t,this._changeDetectorRef.markForCheck()),t&&!this._animationsDisabled&&typeof getComputedStyle=="function"){let a=getComputedStyle(i);(a.getPropertyValue("animation-duration")==="0s"||a.getPropertyValue("animation-name")==="none")&&(this._animationsDisabled=!0)}t&&this._onShow(),this._animationsDisabled&&(i.classList.add("_mat-animation-noopable"),this._finalizeAnimation(t))}};e.\u0275fac=function(i){return new(i||e)(h(Ne),h(P),h(Ge,8))},e.\u0275cmp=j({type:e,selectors:[["mat-tooltip-component"]],viewQuery:function(i,o){if(i&1&&Fe(Fj,7),i&2){let s;ie(s=re())&&(o._tooltip=s.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(i,o){i&1&&z("mouseleave",function(a){return o._handleMouseLeave(a)}),i&2&&qr("zoom",o.isVisible()?1:null)},standalone:!0,features:[Oe],decls:4,vars:4,consts:[["tooltip",""],[1,"mdc-tooltip","mdc-tooltip--shown","mat-mdc-tooltip",3,"animationend","ngClass"],[1,"mdc-tooltip__surface","mdc-tooltip__surface-animation"]],template:function(i,o){if(i&1){let s=Me();p(0,"div",1,0),z("animationend",function(l){return te(s),ne(o._handleAnimationEnd(l))}),p(2,"div",2),w(3),b()()}i&2&&(ae("mdc-tooltip--multiline",o._isMultiline),M("ngClass",o.tooltipClass),x(3),ct(o.message))},dependencies:[Qo],styles:['.mdc-tooltip__surface{word-break:break-all;word-break:var(--mdc-tooltip-word-break, normal);overflow-wrap:anywhere}.mdc-tooltip--showing-transition .mdc-tooltip__surface-animation{transition:opacity 150ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-tooltip--hide-transition .mdc-tooltip__surface-animation{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-tooltip{position:fixed;display:none;z-index:9}.mdc-tooltip-wrapper--rich{position:relative}.mdc-tooltip--shown,.mdc-tooltip--showing,.mdc-tooltip--hide{display:inline-flex}.mdc-tooltip--shown.mdc-tooltip--rich,.mdc-tooltip--showing.mdc-tooltip--rich,.mdc-tooltip--hide.mdc-tooltip--rich{display:inline-block;left:-320px;position:absolute}.mdc-tooltip__surface{line-height:16px;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center}.mdc-tooltip__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-tooltip__surface::before{border-color:CanvasText}}.mdc-tooltip--rich .mdc-tooltip__surface{align-items:flex-start;display:flex;flex-direction:column;min-height:24px;min-width:40px;max-width:320px;position:relative}.mdc-tooltip--multiline .mdc-tooltip__surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mdc-tooltip__surface,.mdc-tooltip--multiline .mdc-tooltip__surface[dir=rtl]{text-align:right}.mdc-tooltip__surface .mdc-tooltip__title{margin:0 8px}.mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(200px - 2*8px);margin:8px;text-align:left}[dir=rtl] .mdc-tooltip__surface .mdc-tooltip__content,.mdc-tooltip__surface .mdc-tooltip__content[dir=rtl]{text-align:right}.mdc-tooltip--rich .mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(320px - 2*8px);align-self:stretch}.mdc-tooltip__surface .mdc-tooltip__content-link{text-decoration:none}.mdc-tooltip--rich-actions,.mdc-tooltip__content,.mdc-tooltip__title{z-index:1}.mdc-tooltip__surface-animation{opacity:0;transform:scale(0.8);will-change:transform,opacity}.mdc-tooltip--shown .mdc-tooltip__surface-animation{transform:scale(1);opacity:1}.mdc-tooltip--hide .mdc-tooltip__surface-animation{transform:scale(1)}.mdc-tooltip__caret-surface-top,.mdc-tooltip__caret-surface-bottom{position:absolute;height:24px;width:24px;transform:rotate(35deg) skewY(20deg) scaleX(0.9396926208)}.mdc-tooltip__caret-surface-top .mdc-elevation-overlay,.mdc-tooltip__caret-surface-bottom .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-tooltip__caret-surface-bottom{box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);outline:1px solid rgba(0,0,0,0);z-index:-1}@media screen and (forced-colors: active){.mdc-tooltip__caret-surface-bottom{outline-color:CanvasText}}.mat-mdc-tooltip .mdc-tooltip__surface{background-color:var(--mdc-plain-tooltip-container-color)}.mat-mdc-tooltip .mdc-tooltip__surface{border-radius:var(--mdc-plain-tooltip-container-shape)}.mat-mdc-tooltip .mdc-tooltip__caret-surface-top,.mat-mdc-tooltip .mdc-tooltip__caret-surface-bottom{border-radius:var(--mdc-plain-tooltip-container-shape)}.mat-mdc-tooltip .mdc-tooltip__surface{color:var(--mdc-plain-tooltip-supporting-text-color)}.mat-mdc-tooltip .mdc-tooltip__surface{font-family:var(--mdc-plain-tooltip-supporting-text-font);line-height:var(--mdc-plain-tooltip-supporting-text-line-height);font-size:var(--mdc-plain-tooltip-supporting-text-size);font-weight:var(--mdc-plain-tooltip-supporting-text-weight);letter-spacing:var(--mdc-plain-tooltip-supporting-text-tracking)}.mat-mdc-tooltip{position:relative;transform:scale(0)}.mat-mdc-tooltip::before{content:"";top:0;right:0;bottom:0;left:0;z-index:-1;position:absolute}.mat-mdc-tooltip-panel-below .mat-mdc-tooltip::before{top:-8px}.mat-mdc-tooltip-panel-above .mat-mdc-tooltip::before{bottom:-8px}.mat-mdc-tooltip-panel-right .mat-mdc-tooltip::before{left:-8px}.mat-mdc-tooltip-panel-left .mat-mdc-tooltip::before{right:-8px}.mat-mdc-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.mat-mdc-tooltip-panel.mat-mdc-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-mdc-tooltip-show{0%{opacity:0;transform:scale(0.8)}100%{opacity:1;transform:scale(1)}}@keyframes mat-mdc-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(0.8)}}.mat-mdc-tooltip-show{animation:mat-mdc-tooltip-show 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-mdc-tooltip-hide{animation:mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards}'],encapsulation:2,changeDetection:0});let n=e;return n})();var uE=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=V({type:e}),e.\u0275inj=L({providers:[jj],imports:[yu,ri,ci,Ae,Ae,cr]});let n=e;return n})();function qj(n,e){if(n&1){let r=Me();p(0,"button",14),z("click",function(){let i=te(r).$implicit,o=R(2);return ne(o.launch(i))}),p(1,"div",15),O(2,"img",9),w(3),b()()}if(n&2){let r=e.$implicit,t=R(2);x(2),M("src",t.getTransportIcon(r.id),ft),x(),Te(" ",r.name," ")}}function Yj(n,e){if(n&1){let r=Me();p(0,"button",14),z("click",function(){te(r);let i=R(2);return ne(i.action("release"))}),p(1,"i",16),w(2,"delete"),b(),p(3,"uds-translate"),w(4," Release service"),b()()}}function Zj(n,e){if(n&1){let r=Me();p(0,"button",14),z("click",function(){te(r);let i=R(2);return ne(i.action("reset"))}),p(1,"i",16),w(2,"refresh"),b(),p(3,"uds-translate"),w(4," Reset service"),b()()}}function Qj(n,e){if(n&1&&(p(0,"button",17)(1,"uds-translate"),w(2,"Connections"),b()()),n&2){R();let r=Et(2);M("matMenuTriggerFor",r)}}function Kj(n,e){if(n&1&&(p(0,"button",17)(1,"uds-translate"),w(2,"Actions"),b()()),n&2){R();let r=Et(5);M("matMenuTriggerFor",r)}}function Xj(n,e){if(n&1&&(p(0,"button",18)(1,"i",16),w(2,"menu"),b()()),n&2){R();let r=Et(9);M("matMenuTriggerFor",r)}}function Jj(n,e){if(n&1){let r=Me();p(0,"div")(1,"mat-menu",null,0),F(3,qj,4,2,"button",4),b(),p(4,"mat-menu",null,1),F(6,Yj,5,0,"button",5)(7,Zj,5,0,"button",5),b(),p(8,"mat-menu",null,2),F(10,Qj,3,1,"button",6)(11,Kj,3,1,"button",6),b(),p(12,"div",7)(13,"div",8),z("click",function(){te(r);let i=R();return ne(i.launch(null))}),O(14,"img",9),b(),p(15,"div",10)(16,"span",11),w(17),b()(),p(18,"div",12),F(19,Xj,3,1,"button",13),b()()()}if(n&2){let r=R();x(3),M("ngForOf",r.service.transports),x(3),M("ngIf",r.service.allow_users_remove),x(),M("ngIf",r.service.allow_users_reset),x(3),M("ngIf",r.showTransportsMenu()),x(),M("ngIf",r.hasActions()),x(),M("ngClass",r.serviceClass)("matTooltipDisabled",r.serviceTooltip==="")("matTooltip",r.serviceTooltip),x(2),M("src",r.serviceImage,ft),x(2),M("ngClass",r.serviceNameClass),x(),ct(r.serviceName),x(2),M("ngIf",r.hasMenu())}}var fE=32,hE=(()=>{let e=class e{constructor(t){this.api=t,this.service={}}get serviceImage(){return this.api.galleryImageURL(this.service.imageId)}get serviceName(){let t=this.service.visual_name;return t.length>fE&&(t=t.substring(0,fE-3)+"..."),t}get serviceTooltip(){return this.service.to_be_replaced!==null?this.service.to_be_replaced_text:this.service.maintenance?django.gettext("Service is in maintenance"):this.service.not_accesible?this.service.custom_calendar_text:this.serviceName!==this.service.name?this.service.name:""}get serviceClass(){let t=["service"];return this.service.to_be_replaced!=null?t.push("tobereplaced"):this.service.maintenance?t.push("maintenance"):this.service.not_accesible?t.push("forbidden"):this.service.in_use&&t.push("inuse"),t.length>1&&t.push("alert"),t}get serviceNameClass(){let t=[],i=Math.min(Math.floor((this.service.visual_name.length-1)/4)*4,28);return i>=16&&t.push("small-"+i.toString()),t}ngOnInit(){}getTransportIcon(t){return this.api.transportIconURL(t)}hasActions(){return this.service.allow_users_remove||this.service.allow_users_reset}showTransportsMenu(){return this.service.transports.length>1&&this.service.show_transports}hasMenu(){return this.service.maintenance===!1&&this.service.not_accesible===!1&&(this.hasActions()||this.showTransportsMenu())}notifyNotLaunching(t){this.api.gui.alert('

'+django.gettext("Launcher")+"

",t)}launch(t){return ke(this,null,function*(){if(this.service.maintenance)this.notifyNotLaunching(django.gettext("Service is in maintenance and cannot be launched"));else if(this.service.not_accesible){let i=this.service.custom_calendar_text||this.api.config.messages.calendarDenied;this.notifyNotLaunching('

'+django.gettext("This service is currently not accesible due to schedule restrictions.")+'

'+i+'

')}else{if((t===null||this.service.show_transports===!1)&&(t=this.service.transports[0]),this.service.custom_message_text!==null&&this.service.custom_message_text!==void 0){let i=t;if((yield this.api.gui.yesno(django.gettext("Service message"),this.service.custom_message_text))===!1)return;console.debug("Launching service with transport",i)}this.api.executeCustomJSForServiceLaunch(),this.api.launchURL(t.link)}})}action(t){return ke(this,null,function*(){let i=(t==="release"?django.gettext("Release service: "):django.gettext("Reset service: "))+" "+this.serviceName,o=t==="release"?django.gettext("Service released"):django.gettext("Service reseted");(yield this.api.gui.yesno(i,django.gettext("Are you sure?")))!==!1&&this.api.action(t,this.service.id).then(s=>{s&&this.api.gui.alert(i,o)})})}};e.\u0275fac=function(i){return new(i||e)(h(Re))},e.\u0275cmp=j({type:e,selectors:[["uds-service"]],inputs:{service:"service"},decls:1,vars:1,consts:[["transports",""],["actions",""],["menu",""],[4,"ngIf"],["mat-menu-item","",3,"click",4,"ngFor","ngForOf"],["mat-menu-item","",3,"click",4,"ngIf"],["mat-menu-item","",3,"matMenuTriggerFor",4,"ngIf"],["matTooltipShowDelay","1000","matTooltipPosition","above",3,"ngClass","matTooltipDisabled","matTooltip"],[1,"icon",3,"click"],[3,"src"],[1,"name"],[3,"ngClass"],[1,"menu"],["mat-icon-button","","class","service-menu",3,"matMenuTriggerFor",4,"ngIf"],["mat-menu-item","",3,"click"],[1,"transport-item"],[1,"material-icons"],["mat-menu-item","",3,"matMenuTriggerFor"],["mat-icon-button","",1,"service-menu",3,"matMenuTriggerFor"]],template:function(i,o){i&1&&F(0,Jj,20,12,"div",3),i&2&&M("ngIf",o.service.transports.length>0)},dependencies:[Qo,It,Mt,qC,xr,lo,Ju,dE,He],styles:['.service[_ngcontent-%COMP%]{width:10rem;margin:0 1rem 2rem 0;padding:.5rem 0 1rem;border-radius:1rem;box-shadow:0 12px 18px #00000040,0 10px 10px #00000038;transition:all .3s cubic-bezier(.25,.8,.25,1);border:1px;border-style:solid;border-color:#00000038;display:flex;flex:1;align-items:center;justify-content:flex-start;flex-flow:column wrap;position:relative}.service-menu[_ngcontent-%COMP%]{border-radius:.6rem!important}.service[_ngcontent-%COMP%]:hover{box-shadow:0 2px 3px #00000040,0 10px 10px #00000038}.icon[_ngcontent-%COMP%]{cursor:pointer;display:flex;justify-content:center;transition:all .3s cubic-bezier(.25,.8,.25,1);width:6rem;height:6rem;margin:.5rem}.service[_ngcontent-%COMP%]:not(.forbidden):not(.maintenance):hover .icon[_ngcontent-%COMP%]{transition:all .3s cubic-bezier(.25,.8,.25,1);width:7rem;height:7rem;margin:0}.icon[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%;height:100%;overflow:hidden}.forbidden[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%] img[_ngcontent-%COMP%], .maintenance[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{opacity:.5;z-index:10}.tobereplaced[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{opacity:.7;z-index:10}.name[_ngcontent-%COMP%]{margin-top:.5em;font-size:1.05rem;width:calc(100% - 1em);display:flex;flex:1 0 auto;flex-flow:row;align-items:center;justify-content:center;padding:0 .5em;overflow:hidden;height:2.4em;text-align:center}.small-16[_ngcontent-%COMP%]{font-size:1.05rem}.small-20[_ngcontent-%COMP%]{font-size:1rem}.small-24[_ngcontent-%COMP%]{font-size:.95rem}.small-28[_ngcontent-%COMP%]{font-size:.9rem}.menu[_ngcontent-%COMP%]{position:absolute;top:2px;right:2px}.menu[_ngcontent-%COMP%] .mat-mdc-icon-button[_ngcontent-%COMP%]{cursor:pointer;background-color:#fffc}.menu[_ngcontent-%COMP%] .mat-mdc-icon-button[_ngcontent-%COMP%]:hover{box-shadow:0 2px 3px #00000040,0 10px 10px #00000038;transition:all .3s cubic-bezier(.25,.8,.25,1)}.transport-item[_ngcontent-%COMP%]{display:flex;align-items:center}.transport-item[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:2em;margin-right:.4em}.alert[_ngcontent-%COMP%]:before{position:absolute;top:1rem;left:1rem;font-size:8rem;font-weight:500;font-family:Material Icons;font-weight:400;font-style:normal;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;-moz-font-feature-settings:"liga";font-feature-settings:"liga";text-shadow:0 6px 8px rgba(0,0,0,.25),0 10px 10px rgba(0,0,0,.22);z-index:1}.forbidden[_ngcontent-%COMP%]:before{color:#fc0000;content:"update"}.maintenance[_ngcontent-%COMP%]:before{color:#fcb900;content:"build"}.tobereplaced[_ngcontent-%COMP%]:before{color:#fc0000;content:"delete_forever"} .dark-theme .menu .mat-mdc-icon-button{background-color:#0003!important}']});let n=e;return n})();function t2(n,e){if(n&1&&O(0,"uds-service",8),n&2){let r=e.$implicit;M("service",r)}}function n2(n,e){if(n&1&&(p(0,"mat-expansion-panel",1)(1,"mat-expansion-panel-header",2)(2,"mat-panel-title")(3,"div",3),O(4,"img",4),w(5),b()(),p(6,"mat-panel-description",5),w(7),b()(),p(8,"div",6),F(9,t2,1,1,"uds-service",7),b()()),n&2){let r=R();M("expanded",r.expanded),x(),M("collapsedHeight","3rem")("expandedHeight","5rem"),x(3),M("src",r.groupImage,ft),x(),Te(" ",r.group.name,""),x(2),Te(" ",r.group.comments," "),x(2),M("ngForOf",r.sortedServices)}}var mE=(()=>{let e=class e{constructor(t){this.api=t,this.services=[],this.group={},this.expanded=!1}get groupImage(){return this.api.galleryImageURL(this.group.imageUuid)}get hasVisibleServices(){return this.services.length>0}get sortedServices(){return this.services.sort((t,i)=>t.name>i.name?1:t.name{let e=class e{constructor(t){this.api=t}ngOnInit(){}};e.\u0275fac=function(i){return new(i||e)(h(Re))},e.\u0275cmp=j({type:e,selectors:[["uds-staff-info"]],decls:1,vars:1,consts:[["class","staff-info",4,"ngIf"],[1,"staff-info"],[1,"staff-panel"],[4,"ngIf"],[4,"ngFor","ngForOf"]],template:function(i,o){i&1&&F(0,a2,38,4,"div",0),i&2&&M("ngIf",o.api.staffInfo)},dependencies:[It,Mt,Ku,cl,dl,Qu,Zu,He],styles:[".staff-info[_ngcontent-%COMP%]{margin-top:1rem;padding:1rem;background-color:#ebebeb}.staff-info[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{text-align:center}.staff-panel[_ngcontent-%COMP%]{background-color:#d4d4d4} .dark-theme .staff-info{margin-top:1rem;padding:1rem;background-color:#0f0f0f} .dark-theme .staff-panel{background-color:#2b2b2b}"]});let n=e;return n})();var c2=["input"],gE=(()=>{let e=class e{constructor(){this.updateEvent=new $,this.input=void 0}ngAfterViewInit(){if(this.input===void 0)throw new Error("input atrribute is not provided");let t=this.input;mi(t.nativeElement,"keyup").pipe(le(Boolean),Or(600),Hi(),et(()=>this.update(t.nativeElement.value))).subscribe()}update(t){this.updateEvent.emit(t.toLowerCase())}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=j({type:e,selectors:[["uds-filter"]],viewQuery:function(i,o){if(i&1&&Fe(c2,7),i&2){let s;ie(s=re())&&(o.input=s.first)}},outputs:{updateEvent:"updateEvent"},decls:9,vars:0,consts:[["input",""],[1,"filter"],["floatLabel","auto",1,"nav-input-field"],["matInput","","type","text"],["matSuffix","",1,"material-icons"]],template:function(i,o){i&1&&(p(0,"div",1)(1,"mat-form-field",2)(2,"mat-label")(3,"uds-translate"),w(4,"Filter"),b()(),O(5,"input",3,0),p(7,"i",4),w(8,"search"),b()()())},dependencies:[_r,fi,OD,yr,He],styles:[".filter[_ngcontent-%COMP%]{margin-top:.5rem;display:flex;justify-content:flex-end;font-size:.8rem}"]});let n=e;return n})();function u2(n,e){if(n&1){let r=Me();p(0,"uds-filter",3),z("updateEvent",function(i){te(r);let o=R();return ne(o.update(i))}),b()}}function f2(n,e){if(n&1&&O(0,"uds-services-group",4),n&2){let r=e.$implicit,t=e.index;M("services",r.services)("group",r.group)("expanded",t===0)}}function h2(n,e){if(n&1){let r=Me();p(0,"uds-filter",3),z("updateEvent",function(i){te(r);let o=R();return ne(o.update(i))}),b()}}var gb=class{constructor(e){this.group=e,this.services=[]}},bE=(()=>{let e=class e{constructor(t){this.api=t,this.servicesInformation={autorun:!1,ip:"",nets:"",services:[],transports:""},this.group=[]}update(t){this.updateServices(t)}ngOnInit(){this.api.config.urls.launch?this.api.logout():this.loadServices()}autorun(){if(this.servicesInformation.autorun&&this.servicesInformation.services.length===1)if(this.servicesInformation.services[0].maintenance)this.api.gui.alert(django.gettext("Warning"),django.gettext("Service is in maintenance and cannot be executed"));else return this.api.executeCustomJSForServiceLaunch(),this.api.launchURL(this.servicesInformation.services[0].transports[0].link),!0;return!1}loadServices(){this.api.user.isRestricted&&this.api.logout(),this.api.getServicesInformation().then(t=>{this.servicesInformation=t,this.autorun(),this.updateServices()})}updateServices(t=""){this.group=[];let i=null;this.servicesInformation.services.filter(o=>!t||o.visual_name.toLowerCase().includes(t)||o.group.name.toLowerCase().includes(t)).sort((o,s)=>o.group.priority!==s.group.priority?o.group.priority-s.group.priority:o.group.id>s.group.id?1:o.group.id{(i===null||o.group.id!==i.group.id)&&(i!==null&&this.group.push(i),i=new gb(o.group)),i.services.push(o)}),i!==null&&this.group.push(i)}};e.\u0275fac=function(i){return new(i||e)(h(Re))},e.\u0275cmp=j({type:e,selectors:[["uds-services-page"]],decls:6,vars:3,consts:[[3,"updateEvent",4,"ngIf"],[1,"services-groups"],[3,"services","group","expanded",4,"ngFor","ngForOf"],[3,"updateEvent"],[3,"services","group","expanded"]],template:function(i,o){i&1&&(F(0,u2,1,0,"uds-filter",0),p(1,"div",1)(2,"mat-accordion"),F(3,f2,1,3,"uds-services-group",2),b()(),F(4,h2,1,0,"uds-filter",0),O(5,"uds-staff-info")),i&2&&(M("ngIf",o.servicesInformation.services.length>=o.api.config.min_for_filter&&o.api.config.site_filter_on_top),x(3),M("ngForOf",o.group),x(),M("ngIf",o.servicesInformation.services.length>=o.api.config.min_for_filter&&!o.api.config.site_filter_on_top))},dependencies:[It,Mt,Ku,mE,pE,gE],styles:[".services-groups[_ngcontent-%COMP%]{padding-top:1rem}"]});let n=e;return n})();var vE=(()=>{let e=class e{constructor(t,i){this.api=t,this.route=i,this.error="",this.returnUrl="/"}ngOnInit(){return ke(this,null,function*(){yield this.getError()})}getError(){return ke(this,null,function*(){let t=this.route.snapshot.paramMap.get("id")||"-1";t==="19"&&(this.returnUrl="/mfa"),this.error=(yield this.api.getErrorInformation(t)).error})}};e.\u0275fac=function(i){return new(i||e)(h(Re),h(Ai))},e.\u0275cmp=j({type:e,selectors:[["uds-error"]],decls:14,vars:2,consts:[[1,"error-container"],[1,"graph"],["viewBox","0 0 55 41","xmlns","http://www.w3.org/2000/svg",1,"bird"],["d","M35.5 5L54.7.6H32.3L35.5 5zM12.4 40.8l10.3-10.1-6.2-6.7-4.1 16.8zM33.8 5.3L30.5.8l-5.4 4 8.7.5zM20.8 4.6L8.8 0l1.9 4.1 10.1.5zM0 5l15.2 15.4 7.5-14.2L0 5zM34.2 6.8l-9.9-.5-8 15.2 7.4 8.1 8-7.9 2.5-14.9z"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 32 32",1,"gears"],["d","M29.18 19.07c-1.678-2.908-.668-6.634 2.256-8.328L28.29 5.295c-.897.527-1.942.83-3.057.83-3.36 0-6.085-2.743-6.085-6.126h-6.29c.01 1.043-.25 2.102-.81 3.07-1.68 2.907-5.41 3.896-8.34 2.21L.566 10.727c.905.515 1.69 1.268 2.246 2.234 1.677 2.904.673 6.624-2.24 8.32l3.145 5.447c.895-.522 1.935-.82 3.044-.82 3.35 0 6.066 2.725 6.083 6.092h6.29c-.004-1.035.258-2.08.81-3.04 1.676-2.902 5.4-3.893 8.325-2.218l3.145-5.447c-.9-.515-1.678-1.266-2.232-2.226zM16 22.48c-3.578 0-6.48-2.902-6.48-6.48S12.423 9.52 16 9.52c3.578 0 6.48 2.902 6.48 6.48s-2.902 6.48-6.48 6.48z"],[1,"title"],[1,"description"],["mat-raised-button","","color","warn",3,"routerLink"]],template:function(i,o){i&1&&(p(0,"div",0)(1,"div",1),Zn(),p(2,"svg",2),O(3,"path",3),b(),p(4,"svg",4),O(5,"path",5),b()(),ed(),p(6,"h1",6)(7,"uds-translate"),w(8,"An error has occurred"),b()(),p(9,"p",7),w(10),b(),p(11,"a",8)(12,"uds-translate"),w(13,"Return"),b()()()),i&2&&(x(10),Te(" ",o.error," "),x(),M("routerLink",o.returnUrl))},dependencies:[us,GC,He],styles:[".error-container[_ngcontent-%COMP%]{margin-top:3rem;text-align:center;position:relative}.title[_ngcontent-%COMP%]{display:block;font-size:2rem;font-weight:lighter;text-align:center}.description[_ngcontent-%COMP%]{font-size:1.2rem;font-weight:lighter}.graph[_ngcontent-%COMP%]{position:relative}.gears[_ngcontent-%COMP%]{width:10rem;height:10rem;fill:#6aafe6;transition:easeInOutQuint();animation:_ngcontent-%COMP%_CogAnimation 5s infinite}.bird[_ngcontent-%COMP%]{position:absolute;width:3rem;height:3rem;fill:#30a9de;left:50%;top:50%;transform:translate(-50%,-50%)}@keyframes _ngcontent-%COMP%_CogAnimation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}"]});let n=e;return n})();var _E=(()=>{let e=class e{constructor(t){this.api=t,this.year=new Date().getFullYear()}ngOnInit(){this.year<2021&&(this.year=2021)}};e.\u0275fac=function(i){return new(i||e)(h(Re))},e.\u0275cmp=j({type:e,selectors:[["uds-about"]],decls:46,vars:3,consts:[[1,"about"],["rel","noopener noreferrer","href","http://www.udsenterprise.com","target","_blank"],["rel","noopener noreferrer","href","https://github.com/dkmstr/openuds","target","_blank"],[1,"components"],["rel","noopener noreferrer","href","https://www.python.org/","target","_blank"],["rel","noopener noreferrer","href","https://www.typescriptlang.org/","target","_blank"],["rel","noopener noreferrer","href","https://www.djangoproject.com/","target","_blank"],["rel","noopener noreferrer","href","https://angular.io","target","_blank"],["rel","noopener noreferrer","href","https://guac-dev.org/","target","_blank"],["rel","noopener noreferrer","href","https://weasyprint.org/","target","_blank"],["rel","noopener noreferrer","href","https://kde-look.org/content/show.php/Crystal+Project?content=60475)","target","_blank"],["rel","noopener noreferrer","href","https://github.com/NitruxSA/flattr-icons","target","_blank"]],template:function(i,o){i&1&&(p(0,"div",0)(1,"h1"),w(2),b(),p(3,"h3")(4,"a",1),w(5),b()(),p(6,"h4")(7,"uds-translate"),w(8,"You can access UDS Open Source code at"),b(),w(9,"\xA0"),p(10,"a",2),w(11,"OpenUDS github repository"),b()(),p(12,"div",3)(13,"h2")(14,"uds-translate"),w(15,"UDS has been developed using these components:"),b()(),p(16,"ul")(17,"li")(18,"a",4),w(19,"Python"),b()(),p(20,"li")(21,"a",5),w(22,"TypeScript"),b()(),p(23,"li")(24,"a",6),w(25,"Django"),b()(),p(26,"li")(27,"a",7),w(28,"Angular"),b()(),p(29,"li")(30,"a",8),w(31,"Guacamole"),b()(),p(32,"li")(33,"a",9),w(34,"weasyprint"),b()(),p(35,"li")(36,"a",10),w(37,"Crystal project icons"),b()(),p(38,"li")(39,"a",11),w(40,"Flattr Icons"),b()()(),p(41,"p")(42,"small"),w(43,"* "),p(44,"uds-translate"),w(45,"If you find that we missed any component, please let us know"),b()()()()()),i&2&&(x(2),qm("Universal Desktop Services ",o.api.config.version," build ",o.api.config.version_stamp,""),x(3),Te(" \xA9 2012-",o.year," Virtual Cable S.L.U."))},dependencies:[He],styles:["[_nghost-%COMP%]{display:flex;flex-flow:column;justify-content:center;align-items:center}.about[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{text-align:center}.about[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{text-align:center;font-size:1em;font-weight:400}.about[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{text-align:center}ul[_ngcontent-%COMP%]{padding:0}ul[_ngcontent-%COMP%]{list-style:none}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{display:block;text-decoration:none;color:#000;background-color:#fff;line-height:30px;border-bottom-style:solid;border-bottom-width:1px;border-bottom-color:#ccc;padding-left:10px;cursor:pointer}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{color:#3e6b2d}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{margin-right:10px} .dark-theme .about{color:#fff!important} .dark-theme ul li a{color:#fff!important;background-color:inherit!important} .dark-theme ul li a:hover{color:#3e6b2d!important}"]});let n=e;return n})();var yE=(()=>{let e=class e{constructor(t){this.api=t}ngOnInit(){this.api.config.urls.launch&&this.api.launchURL(this.api.config.urls.launch)}};e.\u0275fac=function(i){return new(i||e)(h(Re))},e.\u0275cmp=j({type:e,selectors:[["uds-launcher"]],decls:24,vars:0,consts:[[1,"launcher"],[1,"launcher-box"],["routerLink","/client-download"]],template:function(i,o){i&1&&(p(0,"div",0)(1,"div",1)(2,"h1")(3,"uds-translate"),w(4,"UDS Service launcher"),b()(),p(5,"h4")(6,"uds-translate"),w(7,"The service you have requested is being launched."),b()(),p(8,"h5")(9,"uds-translate"),w(10,"Please, note that reloading this page will not work."),b()(),p(11,"h5")(12,"uds-translate"),w(13,"To relaunch service, you will have to do it from origin."),b()(),p(14,"h6")(15,"uds-translate"),w(16,"If the service does not launchs automatically, probably you dont have the UDS Client installed"),b()(),p(17,"h6")(18,"uds-translate"),w(19,"You can obtain it from the"),b(),w(20,"\xA0"),p(21,"a",2)(22,"uds-translate"),w(23,"UDS Client download page"),b()()()()())},dependencies:[us,He],styles:[".launcher[_ngcontent-%COMP%]{justify-content:center;display:flex;margin-top:1rem;font-size:larger}.launcher-box[_ngcontent-%COMP%]{box-shadow:0 12px 18px #00000040,0 10px 10px #00000038;transition:all .3s cubic-bezier(.25,.8,.25,1);border:1px;border-style:solid;border-radius:.5rem;border-color:#00000038;padding:1rem}.launcher-box[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], h4[_ngcontent-%COMP%]{text-align:center}.launcher-box[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], h6[_ngcontent-%COMP%]{margin-top:.6rem;margin-bottom:.6rem;font-weight:400}"]});let n=e;return n})();var m2=["input"],p2=["label"],g2=["*"],b2=new E("mat-checkbox-default-options",{providedIn:"root",factory:wE});function wE(){return{color:"accent",clickAction:"check-indeterminate"}}var Tt=function(n){return n[n.Init=0]="Init",n[n.Checked=1]="Checked",n[n.Unchecked=2]="Unchecked",n[n.Indeterminate=3]="Indeterminate",n}(Tt||{}),v2={provide:Uu,useExisting:_i(()=>ef),multi:!0},bb=class{},_2=0,xE=wE(),ef=(()=>{let e=class e{focus(){this._inputElement.nativeElement.focus()}_createChangeEvent(t){let i=new bb;return i.source=this,i.checked=t,i}_getAnimationTargetElement(){var t;return(t=this._inputElement)==null?void 0:t.nativeElement}get inputId(){return"".concat(this.id||this._uniqueId,"-input")}constructor(t,i,o,s,a,l){this._elementRef=t,this._changeDetectorRef=i,this._ngZone=o,this._animationMode=a,this._options=l,this._animationClasses={uncheckedToChecked:"mdc-checkbox--anim-unchecked-checked",uncheckedToIndeterminate:"mdc-checkbox--anim-unchecked-indeterminate",checkedToUnchecked:"mdc-checkbox--anim-checked-unchecked",checkedToIndeterminate:"mdc-checkbox--anim-checked-indeterminate",indeterminateToChecked:"mdc-checkbox--anim-indeterminate-checked",indeterminateToUnchecked:"mdc-checkbox--anim-indeterminate-unchecked"},this.ariaLabel="",this.ariaLabelledby=null,this.labelPosition="after",this.name=null,this.change=new $,this.indeterminateChange=new $,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=Tt.Init,this._controlValueAccessorChangeFn=()=>{},this._validatorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||xE,this.color=this._options.color||xE.color,this.tabIndex=parseInt(s)||0,this.id=this._uniqueId="mat-mdc-checkbox-".concat(++_2)}ngOnChanges(t){t.required&&this._validatorChangeFn()}ngAfterViewInit(){this._syncIndeterminate(this._indeterminate)}get checked(){return this._checked}set checked(t){t!=this.checked&&(this._checked=t,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(t){t!==this.disabled&&(this._disabled=t,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(t){let i=t!=this._indeterminate;this._indeterminate=t,i&&(this._indeterminate?this._transitionCheckState(Tt.Indeterminate):this._transitionCheckState(this.checked?Tt.Checked:Tt.Unchecked),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(t){this.checked=!!t}registerOnChange(t){this._controlValueAccessorChangeFn=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t}validate(t){return this.required&&t.value!==!0?{required:!0}:null}registerOnValidatorChange(t){this._validatorChangeFn=t}_transitionCheckState(t){let i=this._currentCheckState,o=this._getAnimationTargetElement();if(!(i===t||!o)&&(this._currentAnimationClass&&o.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(i,t),this._currentCheckState=t,this._currentAnimationClass.length>0)){o.classList.add(this._currentAnimationClass);let s=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{o.classList.remove(s)},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(){var i;let t=(i=this._options)==null?void 0:i.clickAction;!this.disabled&&t!=="noop"?(this.indeterminate&&t!=="check"&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this._checked=!this._checked,this._transitionCheckState(this._checked?Tt.Checked:Tt.Unchecked),this._emitChangeEvent()):!this.disabled&&t==="noop"&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate)}_onInteractionEvent(t){t.stopPropagation()}_onBlur(){Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}_getAnimationClassForCheckStateTransition(t,i){if(this._animationMode==="NoopAnimations")return"";switch(t){case Tt.Init:if(i===Tt.Checked)return this._animationClasses.uncheckedToChecked;if(i==Tt.Indeterminate)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case Tt.Unchecked:return i===Tt.Checked?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case Tt.Checked:return i===Tt.Unchecked?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case Tt.Indeterminate:return i===Tt.Checked?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""}_syncIndeterminate(t){let i=this._inputElement;i&&(i.nativeElement.indeterminate=t)}_onInputClick(){this._handleInputClick()}_onTouchTargetClick(){this._handleInputClick(),this.disabled||this._inputElement.nativeElement.focus()}_preventBubblingFromLabel(t){t.target&&this._labelElement.nativeElement.contains(t.target)&&t.stopPropagation()}};e.\u0275fac=function(i){return new(i||e)(h(P),h(Ne),h(k),Qn("tabindex"),h(Ge,8),h(b2,8))},e.\u0275cmp=j({type:e,selectors:[["mat-checkbox"]],viewQuery:function(i,o){if(i&1&&(Fe(m2,5),Fe(p2,5),Fe(ro,5)),i&2){let s;ie(s=re())&&(o._inputElement=s.first),ie(s=re())&&(o._labelElement=s.first),ie(s=re())&&(o.ripple=s.first)}},hostAttrs:[1,"mat-mdc-checkbox"],hostVars:14,hostBindings:function(i,o){i&2&&(dn("id",o.id),De("tabindex",null)("aria-label",null)("aria-labelledby",null),zt(o.color?"mat-"+o.color:"mat-accent"),ae("_mat-animation-noopable",o._animationMode==="NoopAnimations")("mdc-checkbox--disabled",o.disabled)("mat-mdc-checkbox-disabled",o.disabled)("mat-mdc-checkbox-checked",o.checked))},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],id:"id",required:[2,"required","required",oe],labelPosition:"labelPosition",name:"name",value:"value",disableRipple:[2,"disableRipple","disableRipple",oe],tabIndex:[2,"tabIndex","tabIndex",t=>t==null?void 0:ti(t)],color:"color",checked:[2,"checked","checked",oe],disabled:[2,"disabled","disabled",oe],indeterminate:[2,"indeterminate","indeterminate",oe]},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],standalone:!0,features:[ze([v2,{provide:ol,useExisting:e,multi:!0}]),Le,We,Oe],ngContentSelectors:g2,decls:15,vars:19,consts:[["checkbox",""],["input",""],["label",""],["mat-internal-form-field","",3,"click","labelPosition"],[1,"mdc-checkbox"],[1,"mat-mdc-checkbox-touch-target",3,"click"],["type","checkbox",1,"mdc-checkbox__native-control",3,"blur","click","change","checked","indeterminate","disabled","id","required","tabIndex"],[1,"mdc-checkbox__ripple"],[1,"mdc-checkbox__background"],["focusable","false","viewBox","0 0 24 24","aria-hidden","true",1,"mdc-checkbox__checkmark"],["fill","none","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-checkbox__checkmark-path"],[1,"mdc-checkbox__mixedmark"],["mat-ripple","",1,"mat-mdc-checkbox-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-label",3,"for"]],template:function(i,o){if(i&1){let s=Me();Je(),p(0,"div",3),z("click",function(l){return te(s),ne(o._preventBubblingFromLabel(l))}),p(1,"div",4,0)(3,"div",5),z("click",function(){return te(s),ne(o._onTouchTargetClick())}),b(),p(4,"input",6,1),z("blur",function(){return te(s),ne(o._onBlur())})("click",function(){return te(s),ne(o._onInputClick())})("change",function(l){return te(s),ne(o._onInteractionEvent(l))}),b(),O(6,"div",7),p(7,"div",8),Zn(),p(8,"svg",9),O(9,"path",10),b(),ed(),O(10,"div",11),b(),O(11,"div",12),b(),p(12,"label",13,2),ue(14),b()()}if(i&2){let s=Et(2);M("labelPosition",o.labelPosition),x(4),ae("mdc-checkbox--selected",o.checked),M("checked",o.checked)("indeterminate",o.indeterminate)("disabled",o.disabled)("id",o.inputId)("required",o.required)("tabIndex",o.disabled?-1:o.tabIndex),De("aria-label",o.ariaLabel||null)("aria-labelledby",o.ariaLabelledby)("aria-describedby",o.ariaDescribedby)("aria-checked",o.indeterminate?"mixed":null)("name",o.name)("value",o.value),x(7),M("matRippleTrigger",s)("matRippleDisabled",o.disableRipple||o.disabled)("matRippleCentered",!0),x(),M("for",o.inputId)}},dependencies:[ro,AC],styles:['.mdc-checkbox{display:inline-block;position:relative;flex:0 0 18px;box-sizing:content-box;width:18px;height:18px;line-height:0;white-space:nowrap;cursor:pointer;vertical-align:bottom;padding:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px)/2);margin:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px))/2)}.mdc-checkbox:hover .mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-hover-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-hover-state-layer-color)}.mdc-checkbox:hover .mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-hover-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-focus-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-focus-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-focus-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-pressed-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color)}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-hover-state-layer-opacity);background-color:var(--mdc-checkbox-selected-hover-state-layer-color)}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-hover-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-focus-state-layer-opacity);background-color:var(--mdc-checkbox-selected-focus-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-focus-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-pressed-state-layer-opacity);background-color:var(--mdc-checkbox-selected-pressed-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-pressed-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit;width:var(--mdc-checkbox-state-layer-size, 40px);height:var(--mdc-checkbox-state-layer-size, 40px);top:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px))/2);right:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px))/2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px))/2)}.mdc-checkbox--disabled{cursor:default;pointer-events:none}.mdc-checkbox__background{display:inline-flex;position:absolute;align-items:center;justify-content:center;box-sizing:border-box;width:18px;height:18px;border:2px solid currentColor;border-radius:2px;background-color:rgba(0,0,0,0);pointer-events:none;will-change:background-color,border-color;transition:background-color 90ms cubic-bezier(0.4, 0, 0.6, 1),border-color 90ms cubic-bezier(0.4, 0, 0.6, 1);border-color:var(--mdc-checkbox-unselected-icon-color);top:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px)/2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px)/2)}.mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-icon-color);background-color:var(--mdc-checkbox-selected-icon-color)}.mdc-checkbox--disabled .mdc-checkbox__background{border-color:var(--mdc-checkbox-disabled-unselected-icon-color)}.mdc-checkbox__native-control:disabled:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:disabled:indeterminate~.mdc-checkbox__background{background-color:var(--mdc-checkbox-disabled-selected-icon-color);border-color:rgba(0,0,0,0)}.mdc-checkbox:hover .mdc-checkbox__native-control:not(:checked)~.mdc-checkbox__background,.mdc-checkbox:hover .mdc-checkbox__native-control:not(:indeterminate)~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-hover-icon-color);background-color:rgba(0,0,0,0)}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox:hover .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-hover-icon-color);background-color:var(--mdc-checkbox-selected-hover-icon-color)}.mdc-checkbox__native-control:focus:focus:not(:checked)~.mdc-checkbox__background,.mdc-checkbox__native-control:focus:focus:not(:indeterminate)~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-focus-icon-color)}.mdc-checkbox__native-control:focus:focus:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:focus:focus:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-focus-icon-color);background-color:var(--mdc-checkbox-selected-focus-icon-color)}.mdc-checkbox__checkmark{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;opacity:0;transition:opacity 180ms cubic-bezier(0.4, 0, 0.6, 1);color:var(--mdc-checkbox-selected-checkmark-color)}.mdc-checkbox--disabled .mdc-checkbox__checkmark{color:var(--mdc-checkbox-disabled-selected-checkmark-color)}.mdc-checkbox__checkmark-path{transition:stroke-dashoffset 180ms cubic-bezier(0.4, 0, 0.6, 1);stroke:currentColor;stroke-width:3.12px;stroke-dashoffset:29.7833385;stroke-dasharray:29.7833385}.mdc-checkbox__mixedmark{width:100%;height:0;transform:scaleX(0) rotate(0deg);border-width:1px;border-style:solid;opacity:0;transition:opacity 90ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms cubic-bezier(0.4, 0, 0.6, 1);border-color:var(--mdc-checkbox-selected-checkmark-color)}.cdk-high-contrast-active .mdc-checkbox__mixedmark{margin:0 1px}.mdc-checkbox--disabled .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-disabled-selected-checkmark-color)}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__background,.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__background,.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__background,.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__background{animation-duration:180ms;animation-timing-function:linear}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-unchecked-checked-checkmark-path 180ms linear;transition:none}.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear;transition:none}.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-checked-unchecked-checkmark-path 90ms linear;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__checkmark{animation:mdc-checkbox-checked-indeterminate-checkmark 90ms linear;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-checked-indeterminate-mixedmark 90ms linear;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__checkmark{animation:mdc-checkbox-indeterminate-checked-checkmark 500ms linear;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-checked-mixedmark 500ms linear;transition:none}.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-unchecked-mixedmark 300ms linear;transition:none}.mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background{transition:border-color 90ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms cubic-bezier(0, 0, 0.2, 1)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark-path{stroke-dashoffset:0}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark{transition:opacity 180ms cubic-bezier(0, 0, 0.2, 1),transform 180ms cubic-bezier(0, 0, 0.2, 1);opacity:1}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(-45deg)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark{transform:rotate(45deg);opacity:0;transition:opacity 90ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(0deg);opacity:1}@keyframes mdc-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:29.7833385}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 1)}100%{stroke-dashoffset:0}}@keyframes mdc-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 mdc-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);opacity:1;stroke-dashoffset:0}to{opacity:0;stroke-dashoffset:-29.7833385}}@keyframes mdc-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(45deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(45deg);opacity:0}to{transform:rotate(360deg);opacity:1}}@keyframes mdc-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(-45deg);opacity:0}to{transform:rotate(0deg);opacity:1}}@keyframes mdc-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(315deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;transform:scaleX(1);opacity:1}32.8%,100%{transform:scaleX(0);opacity:0}}.mat-mdc-checkbox{display:inline-block;position:relative;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-checkbox._mat-animation-noopable .mdc-checkbox *,.mat-mdc-checkbox._mat-animation-noopable .mdc-checkbox *::before{transition:none !important;animation:none !important}.mat-mdc-checkbox .mdc-checkbox__background{-webkit-print-color-adjust:exact;color-adjust:exact}.mat-mdc-checkbox label{cursor:pointer}.mat-mdc-checkbox .mat-internal-form-field{color:var(--mat-checkbox-label-text-color);font-family:var(--mat-checkbox-label-text-font);line-height:var(--mat-checkbox-label-text-line-height);font-size:var(--mat-checkbox-label-text-size);letter-spacing:var(--mat-checkbox-label-text-tracking);font-weight:var(--mat-checkbox-label-text-weight)}.mat-mdc-checkbox.mat-mdc-checkbox-disabled label{cursor:default;color:var(--mat-checkbox-disabled-label-color)}.mat-mdc-checkbox label:empty{display:none}.cdk-high-contrast-active .mat-mdc-checkbox.mat-mdc-checkbox-disabled{opacity:.5}.cdk-high-contrast-active .mat-mdc-checkbox .mdc-checkbox__checkmark{--mdc-checkbox-selected-checkmark-color: CanvasText;--mdc-checkbox-disabled-selected-checkmark-color: CanvasText}.mat-mdc-checkbox .mdc-checkbox__ripple{opacity:0}.mat-mdc-checkbox-ripple,.mdc-checkbox__ripple{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-checkbox-ripple:not(:empty),.mdc-checkbox__ripple:not(:empty){transform:translateZ(0)}.mat-mdc-checkbox-ripple .mat-ripple-element{opacity:.1}.mat-mdc-checkbox-touch-target{position:absolute;top:50%;left:50%;height:48px;width:48px;transform:translate(-50%, -50%);display:var(--mat-checkbox-touch-target-display)}.mat-mdc-checkbox-ripple::before{border-radius:50%}.mdc-checkbox__native-control:focus~.mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0});let n=e;return n})();var CE=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=V({type:e}),e.\u0275inj=L({imports:[ef,Ae,Ae]});let n=e;return n})();function x2(n,e){if(n&1&&(p(0,"div",6)(1,"mat-checkbox",14)(2,"uds-translate"),w(3,"Remember me for"),b(),w(4),b()()),n&2){let r=R();x(4),Te(" ",r.api.config.mfa.remember_device," ")}}function w2(n,e){n&1&&O(0,"input",15)}var DE=(()=>{let e=class e{constructor(t){this.api=t}ngOnInit(){let t=document.getElementById("mfaform");t.action=this.api.config.urls.mfa,this.api.user.isLogged&&this.api.router.navigate(["/"]),this.api.errors.length>0&&this.api.gui.alert(django.gettext("Errors found"),"
"+this.api.errors.join("
")+"
")}launch(){return document.getElementById("mfaform").submit(),!0}};e.\u0275fac=function(i){return new(i||e)(h(Re))},e.\u0275cmp=j({type:e,selectors:[["uds-mfa"]],decls:22,vars:7,consts:[["id","mfaform","method","post",3,"ngSubmit"],[1,"mfa-container"],[1,"mfa-brand"],[3,"src"],[1,"mfa-info"],[1,"mfa-form"],[1,"mfa-field"],["matInput","","id","code","name","code","value","","required","","autofocus",""],["class","mfa-field",4,"ngIf"],["type","hidden","name","remember","value","0",4,"ngIf"],[1,"mfa-button"],["mat-stroked-button","","color","primary","type","submit"],[1,"mfa-html-container"],[1,"mfa-html",3,"innerHtml"],["id","remember","name","remember"],["type","hidden","name","remember","value","0"]],template:function(i,o){i&1&&(p(0,"form",0),z("ngSubmit",function(){return o.launch()}),p(1,"div",1)(2,"div",2),O(3,"img",3),b(),p(4,"div",4)(5,"uds-translate"),w(6,"Login Verification"),b()(),p(7,"div",5)(8,"div",6)(9,"mat-form-field")(10,"mat-label"),w(11),b(),O(12,"input",7),b()(),F(13,x2,5,1,"div",8)(14,w2,1,0,"input",9),p(15,"div",10)(16,"button",11)(17,"uds-translate"),w(18,"Submit"),b()()()()()(),p(19,"div",12),O(20,"div",13),Jn(21,"safeHtml"),b()),i&2&&(x(3),M("src",o.api.staticURL("modern/img/login-img.png"),ft),x(8),Te(" ",o.api.config.mfa.label," "),x(2),M("ngIf",o.api.config.mfa.remember_device!==""),x(),M("ngIf",o.api.config.mfa.remember_device===""),x(6),M("innerHtml",ei(21,5,o.api.config.mfa.html),Xn))},dependencies:[Mt,Ss,Ms,Pn,ui,_r,fi,yr,ef,He,pr],styles:[".mfa-container[_ngcontent-%COMP%]{display:flex;flex-flow:column wrap;justify-content:center;align-items:center}.mfa-form[_ngcontent-%COMP%]{margin:0 1rem 2rem 0;min-width:32em;padding:1rem;-moz-box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.12),0 1px 5px 0 rgba(0,0,0,.2);box-shadow:0 2px 2px #00000024,0 3px 1px -2px #0000001f,0 1px 5px #0003;transition:all .3s cubic-bezier(.25,.8,.25,1);flex:1 0 auto;justify-content:center;flex-flow:column wrap;align-items:center;display:flex}.mfa-field[_ngcontent-%COMP%]{width:80%;margin:.5rem}.mfa-button[_ngcontent-%COMP%]{margin:2rem}.mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}.mfa-info[_ngcontent-%COMP%]{margin:1rem}.mfa-html-container[_ngcontent-%COMP%]{display:flex;flex-flow:column wrap;justify-content:center;align-items:center;margin:1rem}@media only screen and (max-width: 744px){.mfa-form[_ngcontent-%COMP%]{min-width:80%}}"]});let n=e;return n})();var C2=[{path:"",redirectTo:"services",pathMatch:"full"},{path:"services",component:bE,canActivate:[cb]},{path:"login",component:ub},{path:"login/:id",component:ub},{path:"mfa",component:DE},{path:"client-download",component:WD},{path:"downloads",component:GD,canActivate:[cb]},{path:"error/:id",component:vE},{path:"about",component:_E},{path:"ticket/launcher",component:yE},{path:"**",redirectTo:"services"}],EE=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=V({type:e}),e.\u0275inj=L({imports:[pg.forRoot(C2,{}),pg]});let n=e;return n})();function IE(n){return new T(3e3,!1)}function D2(){return new T(3100,!1)}function E2(){return new T(3101,!1)}function I2(n){return new T(3001,!1)}function M2(n){return new T(3003,!1)}function S2(n){return new T(3004,!1)}function T2(n,e){return new T(3005,!1)}function A2(){return new T(3006,!1)}function k2(){return new T(3007,!1)}function O2(n,e){return new T(3008,!1)}function R2(n){return new T(3002,!1)}function N2(n,e,r,t,i){return new T(3010,!1)}function P2(){return new T(3011,!1)}function F2(){return new T(3012,!1)}function L2(){return new T(3200,!1)}function j2(){return new T(3202,!1)}function V2(){return new T(3013,!1)}function B2(n){return new T(3014,!1)}function U2(n){return new T(3015,!1)}function z2(n){return new T(3016,!1)}function H2(n,e){return new T(3404,!1)}function $2(n){return new T(3502,!1)}function W2(n){return new T(3503,!1)}function G2(){return new T(3300,!1)}function q2(n){return new T(3504,!1)}function Y2(n){return new T(3301,!1)}function Z2(n,e){return new T(3302,!1)}function Q2(n){return new T(3303,!1)}function K2(n,e){return new T(3400,!1)}function X2(n){return new T(3401,!1)}function J2(n){return new T(3402,!1)}function eV(n,e){return new T(3505,!1)}function wr(n){switch(n.length){case 0:return new mr;case 1:return n[0];default:return new Za(n)}}function BE(n,e,r=new Map,t=new Map){let i=[],o=[],s=-1,a=null;if(e.forEach(l=>{let c=l.get("offset"),d=c==s,u=d&&a||new Map;l.forEach((f,m)=>{let g=m,_=f;if(m!=="offset")switch(g=n.normalizePropertyName(g,i),_){case Du:_=r.get(m);break;case di:_=t.get(m);break;default:_=n.normalizeStyleValue(m,g,_,i);break}u.set(g,_)}),d||o.push(u),a=u,s=c}),i.length)throw $2(i);return o}function Bb(n,e,r,t){switch(e){case"start":n.onStart(()=>t(r&&vb(r,"start",n)));break;case"done":n.onDone(()=>t(r&&vb(r,"done",n)));break;case"destroy":n.onDestroy(()=>t(r&&vb(r,"destroy",n)));break}}function vb(n,e,r){let t=r.totalTime,i=!!r.disabled,o=Ub(n.element,n.triggerName,n.fromState,n.toState,e||n.phaseName,t==null?n.totalTime:t,i),s=n._data;return s!=null&&(o._data=s),o}function Ub(n,e,r,t,i="",o=0,s){return{element:n,triggerName:e,fromState:r,toState:t,phaseName:i,totalTime:o,disabled:!!s}}function Jt(n,e,r){let t=n.get(e);return t||n.set(e,t=r),t}function ME(n){let e=n.indexOf(":"),r=n.substring(1,e),t=n.slice(e+1);return[r,t]}var tV=typeof document>"u"?null:document.documentElement;function zb(n){let e=n.parentNode||n.host||null;return e===tV?null:e}function nV(n){return n.substring(1,6)=="ebkit"}var co=null,SE=!1;function iV(n){co||(co=rV()||{},SE=co.style?"WebkitAppearance"in co.style:!1);let e=!0;return co.style&&!nV(n)&&(e=n in co.style,!e&&SE&&(e="Webkit"+n.charAt(0).toUpperCase()+n.slice(1)in co.style)),e}function rV(){return typeof document<"u"?document.body:null}function UE(n,e){for(;e;){if(e===n)return!0;e=zb(e)}return!1}function zE(n,e,r){if(r)return Array.from(n.querySelectorAll(e));let t=n.querySelector(e);return t?[t]:[]}var Hb=(()=>{let e=class e{validateStyleProperty(t){return iV(t)}containsElement(t,i){return UE(t,i)}getParentElement(t){return zb(t)}query(t,i,o){return zE(t,i,o)}computeStyle(t,i,o){return o||""}animate(t,i,o,s,a,l=[],c){return new mr(o,s)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac});let n=e;return n})(),qb=class qb{};qb.NOOP=new Hb;var ho=qb,mo=class{};var oV=1e3,HE="{{",sV="}}",$E="ng-enter",Db="ng-leave",tf="ng-trigger",af=".ng-trigger",TE="ng-animating",Eb=".ng-animating";function Pi(n){if(typeof n=="number")return n;let e=n.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:Ib(parseFloat(e[1]),e[2])}function Ib(n,e){switch(e){case"s":return n*oV;default:return n}}function lf(n,e,r){return n.hasOwnProperty("duration")?n:aV(n,e,r)}function aV(n,e,r){let t=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,i,o=0,s="";if(typeof n=="string"){let a=n.match(t);if(a===null)return e.push(IE(n)),{duration:0,delay:0,easing:""};i=Ib(parseFloat(a[1]),a[2]);let l=a[3];l!=null&&(o=Ib(parseFloat(l),a[4]));let c=a[5];c&&(s=c)}else i=n;if(!r){let a=!1,l=e.length;i<0&&(e.push(D2()),a=!0),o<0&&(e.push(E2()),a=!0),a&&e.splice(l,0,IE(n))}return{duration:i,delay:o,easing:s}}function lV(n){return n.length?n[0]instanceof Map?n:n.map(e=>new Map(Object.entries(e))):[]}function hi(n,e,r){e.forEach((t,i)=>{let o=$b(i);r&&!r.has(i)&&r.set(i,n.style[o]),n.style[o]=t})}function fo(n,e){e.forEach((r,t)=>{let i=$b(t);n.style[i]=""})}function ul(n){return Array.isArray(n)?n.length==1?n[0]:kC(n):n}function cV(n,e,r){let t=e.params||{},i=WE(n);i.length&&i.forEach(o=>{t.hasOwnProperty(o)||r.push(I2(o))})}var Mb=new RegExp("".concat(HE,"\\s*(.+?)\\s*").concat(sV),"g");function WE(n){let e=[];if(typeof n=="string"){let r;for(;r=Mb.exec(n);)e.push(r[1]);Mb.lastIndex=0}return e}function hl(n,e,r){let t="".concat(n),i=t.replace(Mb,(o,s)=>{let a=e[s];return a==null&&(r.push(M2(s)),a=""),a.toString()});return i==t?n:i}var dV=/-+([a-z0-9])/g;function $b(n){return n.replace(dV,(...e)=>e[1].toUpperCase())}function uV(n,e){return n===0||e===0}function fV(n,e,r){if(r.size&&e.length){let t=e[0],i=[];if(r.forEach((o,s)=>{t.has(s)||i.push(s),t.set(s,o)}),i.length)for(let o=1;os.set(a,Wb(n,a)))}}return e}function Xt(n,e,r){switch(e.type){case ce.Trigger:return n.visitTrigger(e,r);case ce.State:return n.visitState(e,r);case ce.Transition:return n.visitTransition(e,r);case ce.Sequence:return n.visitSequence(e,r);case ce.Group:return n.visitGroup(e,r);case ce.Animate:return n.visitAnimate(e,r);case ce.Keyframes:return n.visitKeyframes(e,r);case ce.Style:return n.visitStyle(e,r);case ce.Reference:return n.visitReference(e,r);case ce.AnimateChild:return n.visitAnimateChild(e,r);case ce.AnimateRef:return n.visitAnimateRef(e,r);case ce.Query:return n.visitQuery(e,r);case ce.Stagger:return n.visitStagger(e,r);default:throw S2(e.type)}}function Wb(n,e){return window.getComputedStyle(n)[e]}var hV=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"]),cf=class extends mo{normalizePropertyName(e,r){return $b(e)}normalizeStyleValue(e,r,t,i){let o="",s=t.toString().trim();if(hV.has(r)&&t!==0&&t!=="0")if(typeof t=="number")o="px";else{let a=t.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&a[1].length==0&&i.push(T2(e,t))}return s+o}};var df="*";function mV(n,e){let r=[];return typeof n=="string"?n.split(/\s*,\s*/).forEach(t=>pV(t,r,e)):r.push(n),r}function pV(n,e,r){if(n[0]==":"){let l=gV(n,r);if(typeof l=="function"){e.push(l);return}n=l}let t=n.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(t==null||t.length<4)return r.push(U2(n)),e;let i=t[1],o=t[2],s=t[3];e.push(AE(i,s));let a=i==df&&s==df;o[0]=="<"&&!a&&e.push(AE(s,i))}function gV(n,e){switch(n){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(r,t)=>parseFloat(t)>parseFloat(r);case":decrement":return(r,t)=>parseFloat(t) *"}}var nf=new Set(["true","1"]),rf=new Set(["false","0"]);function AE(n,e){let r=nf.has(n)||rf.has(n),t=nf.has(e)||rf.has(e);return(i,o)=>{let s=n==df||n==i,a=e==df||e==o;return!s&&r&&typeof i=="boolean"&&(s=i?nf.has(n):rf.has(n)),!a&&t&&typeof o=="boolean"&&(a=o?nf.has(e):rf.has(e)),s&&a}}var GE=":self",bV=new RegExp("s*".concat(GE,"s*,?"),"g");function qE(n,e,r,t){return new Sb(n).build(e,r,t)}var kE="",Sb=class{constructor(e){this._driver=e}build(e,r,t){let i=new Tb(r);return this._resetContextStyleTimingState(i),Xt(this,ul(e),i)}_resetContextStyleTimingState(e){e.currentQuerySelector=kE,e.collectedStyles=new Map,e.collectedStyles.set(kE,new Map),e.currentTime=0}visitTrigger(e,r){let t=r.queryCount=0,i=r.depCount=0,o=[],s=[];return e.name.charAt(0)=="@"&&r.errors.push(A2()),e.definitions.forEach(a=>{if(this._resetContextStyleTimingState(r),a.type==ce.State){let l=a,c=l.name;c.toString().split(/\s*,\s*/).forEach(d=>{l.name=d,o.push(this.visitState(l,r))}),l.name=c}else if(a.type==ce.Transition){let l=this.visitTransition(a,r);t+=l.queryCount,i+=l.depCount,s.push(l)}else r.errors.push(k2())}),{type:ce.Trigger,name:e.name,states:o,transitions:s,queryCount:t,depCount:i,options:null}}visitState(e,r){let t=this.visitStyle(e.styles,r),i=e.options&&e.options.params||null;if(t.containsDynamicStyles){let o=new Set,s=i||{};t.styles.forEach(a=>{a instanceof Map&&a.forEach(l=>{WE(l).forEach(c=>{s.hasOwnProperty(c)||o.add(c)})})}),o.size&&r.errors.push(O2(e.name,[...o.values()]))}return{type:ce.State,name:e.name,style:t,options:i?{params:i}:null}}visitTransition(e,r){r.queryCount=0,r.depCount=0;let t=Xt(this,ul(e.animation),r),i=mV(e.expr,r.errors);return{type:ce.Transition,matchers:i,animation:t,queryCount:r.queryCount,depCount:r.depCount,options:uo(e.options)}}visitSequence(e,r){return{type:ce.Sequence,steps:e.steps.map(t=>Xt(this,t,r)),options:uo(e.options)}}visitGroup(e,r){let t=r.currentTime,i=0,o=e.steps.map(s=>{r.currentTime=t;let a=Xt(this,s,r);return i=Math.max(i,r.currentTime),a});return r.currentTime=i,{type:ce.Group,steps:o,options:uo(e.options)}}visitAnimate(e,r){let t=xV(e.timings,r.errors);r.currentAnimateTimings=t;let i,o=e.styles?e.styles:ot({});if(o.type==ce.Keyframes)i=this.visitKeyframes(o,r);else{let s=e.styles,a=!1;if(!s){a=!0;let c={};t.easing&&(c.easing=t.easing),s=ot(c)}r.currentTime+=t.duration+t.delay;let l=this.visitStyle(s,r);l.isEmptyStep=a,i=l}return r.currentAnimateTimings=null,{type:ce.Animate,timings:t,style:i,options:null}}visitStyle(e,r){let t=this._makeStyleAst(e,r);return this._validateStyleAst(t,r),t}_makeStyleAst(e,r){let t=[],i=Array.isArray(e.styles)?e.styles:[e.styles];for(let a of i)typeof a=="string"?a===di?t.push(a):r.errors.push(R2(a)):t.push(new Map(Object.entries(a)));let o=!1,s=null;return t.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(HE)>=0){o=!0;break}}}),{type:ce.Style,styles:t,easing:s,offset:e.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(e,r){let t=r.currentAnimateTimings,i=r.currentTime,o=r.currentTime;t&&o>0&&(o-=t.duration+t.delay),e.styles.forEach(s=>{typeof s!="string"&&s.forEach((a,l)=>{let c=r.collectedStyles.get(r.currentQuerySelector),d=c.get(l),u=!0;d&&(o!=i&&o>=d.startTime&&i<=d.endTime&&(r.errors.push(N2(l,d.startTime,d.endTime,o,i)),u=!1),o=d.startTime),u&&c.set(l,{startTime:o,endTime:i}),r.options&&cV(a,r.options,r.errors)})})}visitKeyframes(e,r){let t={type:ce.Keyframes,styles:[],options:null};if(!r.currentAnimateTimings)return r.errors.push(P2()),t;let i=1,o=0,s=[],a=!1,l=!1,c=0,d=e.steps.map(S=>{let B=this._makeStyleAst(S,r),ve=B.offset!=null?B.offset:yV(B.styles),q=0;return ve!=null&&(o++,q=B.offset=ve),l=l||q<0||q>1,a=a||q0&&o{let ve=f>0?B==m?1:f*B:s[B],q=ve*C;r.currentTime=g+_.delay+q,_.duration=q,this._validateStyleAst(S,r),S.offset=ve,t.styles.push(S)}),t}visitReference(e,r){return{type:ce.Reference,animation:Xt(this,ul(e.animation),r),options:uo(e.options)}}visitAnimateChild(e,r){return r.depCount++,{type:ce.AnimateChild,options:uo(e.options)}}visitAnimateRef(e,r){return{type:ce.AnimateRef,animation:this.visitReference(e.animation,r),options:uo(e.options)}}visitQuery(e,r){let t=r.currentQuerySelector,i=e.options||{};r.queryCount++,r.currentQuery=e;let[o,s]=vV(e.selector);r.currentQuerySelector=t.length?t+" "+o:o,Jt(r.collectedStyles,r.currentQuerySelector,new Map);let a=Xt(this,ul(e.animation),r);return r.currentQuery=null,r.currentQuerySelector=t,{type:ce.Query,selector:o,limit:i.limit||0,optional:!!i.optional,includeSelf:s,animation:a,originalSelector:e.selector,options:uo(e.options)}}visitStagger(e,r){r.currentQuery||r.errors.push(V2());let t=e.timings==="full"?{duration:0,delay:0,easing:"full"}:lf(e.timings,r.errors,!0);return{type:ce.Stagger,animation:Xt(this,ul(e.animation),r),timings:t,options:null}}};function vV(n){let e=!!n.split(/\s*,\s*/).find(r=>r==GE);return e&&(n=n.replace(bV,"")),n=n.replace(/@\*/g,af).replace(/@\w+/g,r=>af+"-"+r.slice(1)).replace(/:animating/g,Eb),[n,e]}function _V(n){return n?D({},n):null}var Tb=class{constructor(e){this.errors=e,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}};function yV(n){if(typeof n=="string")return null;let e=null;if(Array.isArray(n))n.forEach(r=>{if(r instanceof Map&&r.has("offset")){let t=r;e=parseFloat(t.get("offset")),t.delete("offset")}});else if(n instanceof Map&&n.has("offset")){let r=n;e=parseFloat(r.get("offset")),r.delete("offset")}return e}function xV(n,e){if(n.hasOwnProperty("duration"))return n;if(typeof n=="number"){let o=lf(n,e).duration;return _b(o,0,"")}let r=n;if(r.split(/\s+/).some(o=>o.charAt(0)=="{"&&o.charAt(1)=="{")){let o=_b(0,0,"");return o.dynamic=!0,o.strValue=r,o}let i=lf(r,e);return _b(i.duration,i.delay,i.easing)}function uo(n){return n?(n=D({},n),n.params&&(n.params=_V(n.params))):n={},n}function _b(n,e,r){return{duration:n,delay:e,easing:r}}function Gb(n,e,r,t,i,o,s=null,a=!1){return{type:1,element:n,keyframes:e,preStyleProps:r,postStyleProps:t,duration:i,delay:o,totalTime:i+o,easing:s,subTimeline:a}}var ml=class{constructor(){this._map=new Map}get(e){return this._map.get(e)||[]}append(e,r){let t=this._map.get(e);t||this._map.set(e,t=[]),t.push(...r)}has(e){return this._map.has(e)}clear(){this._map.clear()}},wV=1,CV=":enter",DV=new RegExp(CV,"g"),EV=":leave",IV=new RegExp(EV,"g");function YE(n,e,r,t,i,o=new Map,s=new Map,a,l,c=[]){return new Ab().buildKeyframes(n,e,r,t,i,o,s,a,l,c)}var Ab=class{buildKeyframes(e,r,t,i,o,s,a,l,c,d=[]){c=c||new ml;let u=new kb(e,r,c,i,o,d,[]);u.options=l;let f=l.delay?Pi(l.delay):0;u.currentTimeline.delayNextStep(f),u.currentTimeline.setStyles([s],null,u.errors,l),Xt(this,t,u);let m=u.timelines.filter(g=>g.containsAnimation());if(m.length&&a.size){let g;for(let _=m.length-1;_>=0;_--){let C=m[_];if(C.element===r){g=C;break}}g&&!g.allowOnlyTimelineStyles()&&g.setStyles([a],null,u.errors,l)}return m.length?m.map(g=>g.buildKeyframes()):[Gb(r,[],[],[],0,f,"",!1)]}visitTrigger(e,r){}visitState(e,r){}visitTransition(e,r){}visitAnimateChild(e,r){let t=r.subInstructions.get(r.element);if(t){let i=r.createSubContext(e.options),o=r.currentTimeline.currentTime,s=this._visitSubInstructions(t,i,i.options);o!=s&&r.transformIntoNewTimeline(s)}r.previousNode=e}visitAnimateRef(e,r){let t=r.createSubContext(e.options);t.transformIntoNewTimeline(),this._applyAnimationRefDelays([e.options,e.animation.options],r,t),this.visitReference(e.animation,t),r.transformIntoNewTimeline(t.currentTimeline.currentTime),r.previousNode=e}_applyAnimationRefDelays(e,r,t){var i;for(let o of e){let s=o==null?void 0:o.delay;if(s){let a=typeof s=="number"?s:Pi(hl(s,(i=o==null?void 0:o.params)!=null?i:{},r.errors));t.delayNextStep(a)}}}_visitSubInstructions(e,r,t){let o=r.currentTimeline.currentTime,s=t.duration!=null?Pi(t.duration):null,a=t.delay!=null?Pi(t.delay):null;return s!==0&&e.forEach(l=>{let c=r.appendInstructionToTimeline(l,s,a);o=Math.max(o,c.duration+c.delay)}),o}visitReference(e,r){r.updateOptions(e.options,!0),Xt(this,e.animation,r),r.previousNode=e}visitSequence(e,r){let t=r.subContextCount,i=r,o=e.options;if(o&&(o.params||o.delay)&&(i=r.createSubContext(o),i.transformIntoNewTimeline(),o.delay!=null)){i.previousNode.type==ce.Style&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=uf);let s=Pi(o.delay);i.delayNextStep(s)}e.steps.length&&(e.steps.forEach(s=>Xt(this,s,i)),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>t&&i.transformIntoNewTimeline()),r.previousNode=e}visitGroup(e,r){let t=[],i=r.currentTimeline.currentTime,o=e.options&&e.options.delay?Pi(e.options.delay):0;e.steps.forEach(s=>{let a=r.createSubContext(e.options);o&&a.delayNextStep(o),Xt(this,s,a),i=Math.max(i,a.currentTimeline.currentTime),t.push(a.currentTimeline)}),t.forEach(s=>r.currentTimeline.mergeTimelineCollectedStyles(s)),r.transformIntoNewTimeline(i),r.previousNode=e}_visitTiming(e,r){if(e.dynamic){let t=e.strValue,i=r.params?hl(t,r.params,r.errors):t;return lf(i,r.errors)}else return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,r){let t=r.currentAnimateTimings=this._visitTiming(e.timings,r),i=r.currentTimeline;t.delay&&(r.incrementTime(t.delay),i.snapshotCurrentStyles());let o=e.style;o.type==ce.Keyframes?this.visitKeyframes(o,r):(r.incrementTime(t.duration),this.visitStyle(o,r),i.applyStylesToKeyframe()),r.currentAnimateTimings=null,r.previousNode=e}visitStyle(e,r){let t=r.currentTimeline,i=r.currentAnimateTimings;!i&&t.hasCurrentStyleProperties()&&t.forwardFrame();let o=i&&i.easing||e.easing;e.isEmptyStep?t.applyEmptyStep(o):t.setStyles(e.styles,o,r.errors,r.options),r.previousNode=e}visitKeyframes(e,r){let t=r.currentAnimateTimings,i=r.currentTimeline.duration,o=t.duration,a=r.createSubContext().currentTimeline;a.easing=t.easing,e.styles.forEach(l=>{let c=l.offset||0;a.forwardTime(c*o),a.setStyles(l.styles,l.easing,r.errors,r.options),a.applyStylesToKeyframe()}),r.currentTimeline.mergeTimelineCollectedStyles(a),r.transformIntoNewTimeline(i+o),r.previousNode=e}visitQuery(e,r){let t=r.currentTimeline.currentTime,i=e.options||{},o=i.delay?Pi(i.delay):0;o&&(r.previousNode.type===ce.Style||t==0&&r.currentTimeline.hasCurrentStyleProperties())&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=uf);let s=t,a=r.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!i.optional,r.errors);r.currentQueryTotal=a.length;let l=null;a.forEach((c,d)=>{r.currentQueryIndex=d;let u=r.createSubContext(e.options,c);o&&u.delayNextStep(o),c===r.element&&(l=u.currentTimeline),Xt(this,e.animation,u),u.currentTimeline.applyStylesToKeyframe();let f=u.currentTimeline.currentTime;s=Math.max(s,f)}),r.currentQueryIndex=0,r.currentQueryTotal=0,r.transformIntoNewTimeline(s),l&&(r.currentTimeline.mergeTimelineCollectedStyles(l),r.currentTimeline.snapshotCurrentStyles()),r.previousNode=e}visitStagger(e,r){let t=r.parentContext,i=r.currentTimeline,o=e.timings,s=Math.abs(o.duration),a=s*(r.currentQueryTotal-1),l=s*r.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":l=a-l;break;case"full":l=t.currentStaggerTime;break}let d=r.currentTimeline;l&&d.delayNextStep(l);let u=d.currentTime;Xt(this,e.animation,r),r.previousNode=e,t.currentStaggerTime=i.currentTime-u+(i.startTime-t.currentTimeline.startTime)}},uf={},kb=class n{constructor(e,r,t,i,o,s,a,l){this._driver=e,this.element=r,this.subInstructions=t,this._enterClassName=i,this._leaveClassName=o,this.errors=s,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=uf,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=l||new ff(this._driver,r,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,r){if(!e)return;let t=e,i=this.options;t.duration!=null&&(i.duration=Pi(t.duration)),t.delay!=null&&(i.delay=Pi(t.delay));let o=t.params;if(o){let s=i.params;s||(s=this.options.params={}),Object.keys(o).forEach(a=>{(!r||!s.hasOwnProperty(a))&&(s[a]=hl(o[a],s,this.errors))})}}_copyOptions(){let e={};if(this.options){let r=this.options.params;if(r){let t=e.params={};Object.keys(r).forEach(i=>{t[i]=r[i]})}}return e}createSubContext(e=null,r,t){let i=r||this.element,o=new n(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,t||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(e),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}transformIntoNewTimeline(e){return this.previousNode=uf,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,r,t){let i={duration:r!=null?r:e.duration,delay:this.currentTimeline.currentTime+(t!=null?t:0)+e.delay,easing:""},o=new Ob(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,i,e.stretchStartingKeyframe);return this.timelines.push(o),i}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,r,t,i,o,s){let a=[];if(i&&a.push(this.element),e.length>0){e=e.replace(DV,"."+this._enterClassName),e=e.replace(IV,"."+this._leaveClassName);let l=t!=1,c=this._driver.query(this.element,e,l);t!==0&&(c=t<0?c.slice(c.length+t,c.length):c.slice(0,t)),a.push(...c)}return!o&&a.length==0&&s.push(B2(r)),a}},ff=class n{constructor(e,r,t,i){this._driver=e,this.element=r,this.startTime=t,this._elementTimelineStylesLookup=i,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(r),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(r,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(e){let r=this._keyframes.size===1&&this._pendingStyles.size;this.duration||r?(this.forwardTime(this.currentTime+e),r&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,r){return this.applyStylesToKeyframe(),new n(this._driver,e,r||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+=wV,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,r){this._localTimelineStyles.set(e,r),this._globalTimelineStyles.set(e,r),this._styleSummary.set(e,{time:this.currentTime,value:r})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&this._previousKeyframe.set("easing",e);for(let[r,t]of this._globalTimelineStyles)this._backFill.set(r,t||di),this._currentKeyframe.set(r,di);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,r,t,i){var a;r&&this._previousKeyframe.set("easing",r);let o=i&&i.params||{},s=MV(e,this._globalTimelineStyles);for(let[l,c]of s){let d=hl(c,o,t);this._pendingStyles.set(l,d),this._localTimelineStyles.has(l)||this._backFill.set(l,(a=this._globalTimelineStyles.get(l))!=null?a:di),this._updateStyle(l,d)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((e,r)=>{this._currentKeyframe.set(r,e)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((e,r)=>{this._currentKeyframe.has(r)||this._currentKeyframe.set(r,e)}))}snapshotCurrentStyles(){for(let[e,r]of this._localTimelineStyles)this._pendingStyles.set(e,r),this._updateStyle(e,r)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let e=[];for(let r in this._currentKeyframe)e.push(r);return e}mergeTimelineCollectedStyles(e){e._styleSummary.forEach((r,t)=>{let i=this._styleSummary.get(t);(!i||r.time>i.time)&&this._updateStyle(t,r.value)})}buildKeyframes(){this.applyStylesToKeyframe();let e=new Set,r=new Set,t=this._keyframes.size===1&&this.duration===0,i=[];this._keyframes.forEach((a,l)=>{let c=new Map([...this._backFill,...a]);c.forEach((d,u)=>{d===Du?e.add(u):d===di&&r.add(u)}),t||c.set("offset",l/this.duration),i.push(c)});let o=[...e.values()],s=[...r.values()];if(t){let a=i[0],l=new Map(a);a.set("offset",0),l.set("offset",1),i=[a,l]}return Gb(this.element,i,o,s,this.duration,this.startTime,this.easing,!1)}},Ob=class extends ff{constructor(e,r,t,i,o,s,a=!1){super(e,r,s.delay),this.keyframes=t,this.preStyleProps=i,this.postStyleProps=o,this._stretchStartingKeyframe=a,this.timings={duration:s.duration,delay:s.delay,easing:s.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:r,duration:t,easing:i}=this.timings;if(this._stretchStartingKeyframe&&r){let o=[],s=t+r,a=r/s,l=new Map(e[0]);l.set("offset",0),o.push(l);let c=new Map(e[0]);c.set("offset",OE(a)),o.push(c);let d=e.length-1;for(let u=1;u<=d;u++){let f=new Map(e[u]),m=f.get("offset"),g=r+m*t;f.set("offset",OE(g/s)),o.push(f)}t=s,r=0,i="",e=o}return Gb(this.element,e,this.preStyleProps,this.postStyleProps,t,r,i,!0)}};function OE(n,e=3){let r=Math.pow(10,e-1);return Math.round(n*r)/r}function MV(n,e){let r=new Map,t;return n.forEach(i=>{if(i==="*"){t!=null||(t=e.keys());for(let o of t)r.set(o,di)}else for(let[o,s]of i)r.set(o,s)}),r}function RE(n,e,r,t,i,o,s,a,l,c,d,u,f){return{type:0,element:n,triggerName:e,isRemovalTransition:i,fromState:r,fromStyles:o,toState:t,toStyles:s,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:d,totalTime:u,errors:f}}var yb={},hf=class{constructor(e,r,t){this._triggerName=e,this.ast=r,this._stateStyles=t}match(e,r,t,i){return SV(this.ast.matchers,e,r,t,i)}buildStyles(e,r,t){let i=this._stateStyles.get("*");return e!==void 0&&(i=this._stateStyles.get(e==null?void 0:e.toString())||i),i?i.buildStyles(r,t):new Map}build(e,r,t,i,o,s,a,l,c,d){var st;let u=[],f=this.ast.options&&this.ast.options.params||yb,m=a&&a.params||yb,g=this.buildStyles(t,m,u),_=l&&l.params||yb,C=this.buildStyles(i,_,u),S=new Set,B=new Map,ve=new Map,q=i==="void",$e={params:ZE(_,f),delay:(st=this.ast.options)==null?void 0:st.delay},be=d?[]:YE(e,r,this.ast.animation,o,s,g,C,$e,c,u),pe=0;return be.forEach(At=>{pe=Math.max(At.duration+At.delay,pe)}),u.length?RE(r,this._triggerName,t,i,q,g,C,[],[],B,ve,pe,u):(be.forEach(At=>{let bt=At.element,Fi=Jt(B,bt,new Set);At.preStyleProps.forEach(Cr=>Fi.add(Cr));let Li=Jt(ve,bt,new Set);At.postStyleProps.forEach(Cr=>Li.add(Cr)),bt!==r&&S.add(bt)}),RE(r,this._triggerName,t,i,q,g,C,be,[...S.values()],B,ve,pe))}};function SV(n,e,r,t,i){return n.some(o=>o(e,r,t,i))}function ZE(n,e){let r=D({},e);return Object.entries(n).forEach(([t,i])=>{i!=null&&(r[t]=i)}),r}var Rb=class{constructor(e,r,t){this.styles=e,this.defaultParams=r,this.normalizer=t}buildStyles(e,r){let t=new Map,i=ZE(e,this.defaultParams);return this.styles.styles.forEach(o=>{typeof o!="string"&&o.forEach((s,a)=>{s&&(s=hl(s,i,r));let l=this.normalizer.normalizePropertyName(a,r);s=this.normalizer.normalizeStyleValue(a,l,s,r),t.set(a,s)})}),t}};function TV(n,e,r){return new Nb(n,e,r)}var Nb=class{constructor(e,r,t){this.name=e,this.ast=r,this._normalizer=t,this.transitionFactories=[],this.states=new Map,r.states.forEach(i=>{let o=i.options&&i.options.params||{};this.states.set(i.name,new Rb(i.style,o,t))}),NE(this.states,"true","1"),NE(this.states,"false","0"),r.transitions.forEach(i=>{this.transitionFactories.push(new hf(e,i,this.states))}),this.fallbackTransition=AV(e,this.states,this._normalizer)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,r,t,i){return this.transitionFactories.find(s=>s.match(e,r,t,i))||null}matchStyles(e,r,t){return this.fallbackTransition.buildStyles(e,r,t)}};function AV(n,e,r){let t=[(s,a)=>!0],i={type:ce.Sequence,steps:[],options:null},o={type:ce.Transition,animation:i,matchers:t,options:null,queryCount:0,depCount:0};return new hf(n,o,e)}function NE(n,e,r){n.has(e)?n.has(r)||n.set(r,n.get(e)):n.has(r)&&n.set(e,n.get(r))}var kV=new ml,Pb=class{constructor(e,r,t){this.bodyNode=e,this._driver=r,this._normalizer=t,this._animations=new Map,this._playersById=new Map,this.players=[]}register(e,r){let t=[],i=[],o=qE(this._driver,r,t,i);if(t.length)throw W2(t);i.length&&void 0,this._animations.set(e,o)}_buildPlayer(e,r,t){let i=e.element,o=BE(this._normalizer,e.keyframes,r,t);return this._driver.animate(i,o,e.duration,e.delay,e.easing,[],!0)}create(e,r,t={}){let i=[],o=this._animations.get(e),s,a=new Map;if(o?(s=YE(this._driver,r,o,$E,Db,new Map,new Map,t,kV,i),s.forEach(d=>{let u=Jt(a,d.element,new Map);d.postStyleProps.forEach(f=>u.set(f,null))})):(i.push(G2()),s=[]),i.length)throw q2(i);a.forEach((d,u)=>{d.forEach((f,m)=>{d.set(m,this._driver.computeStyle(u,m,di))})});let l=s.map(d=>{let u=a.get(d.element);return this._buildPlayer(d,new Map,u)}),c=wr(l);return this._playersById.set(e,c),c.onDestroy(()=>this.destroy(e)),this.players.push(c),c}destroy(e){let r=this._getPlayer(e);r.destroy(),this._playersById.delete(e);let t=this.players.indexOf(r);t>=0&&this.players.splice(t,1)}_getPlayer(e){let r=this._playersById.get(e);if(!r)throw Y2(e);return r}listen(e,r,t,i){let o=Ub(r,"","","");return Bb(this._getPlayer(e),t,o,i),()=>{}}command(e,r,t,i){if(t=="register"){this.register(e,i[0]);return}if(t=="create"){let s=i[0]||{};this.create(e,r,s);return}let o=this._getPlayer(e);switch(t){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(i[0]));break;case"destroy":this.destroy(e);break}}},PE="ng-animate-queued",OV=".ng-animate-queued",xb="ng-animate-disabled",RV=".ng-animate-disabled",NV="ng-star-inserted",PV=".ng-star-inserted",FV=[],QE={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},LV={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Fn="__ng_removed",pl=class{get params(){return this.options.params}constructor(e,r=""){this.namespaceId=r;let t=e&&e.hasOwnProperty("value"),i=t?e.value:e;if(this.value=VV(i),t){let o=e,{value:s}=o,a=_f(o,["value"]);this.options=a}else this.options={};this.options.params||(this.options.params={})}absorbOptions(e){let r=e.params;if(r){let t=this.options.params;Object.keys(r).forEach(i=>{t[i]==null&&(t[i]=r[i])})}}},fl="void",wb=new pl(fl),Fb=class{constructor(e,r,t){this.id=e,this.hostElement=r,this._engine=t,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,bn(r,this._hostClassName)}listen(e,r,t,i){if(!this._triggers.has(r))throw Z2(t,r);if(t==null||t.length==0)throw Q2(r);if(!BV(t))throw K2(t,r);let o=Jt(this._elementListeners,e,[]),s={name:r,phase:t,callback:i};o.push(s);let a=Jt(this._engine.statesByElement,e,new Map);return a.has(r)||(bn(e,tf),bn(e,tf+"-"+r),a.set(r,wb)),()=>{this._engine.afterFlush(()=>{let l=o.indexOf(s);l>=0&&o.splice(l,1),this._triggers.has(r)||a.delete(r)})}}register(e,r){return this._triggers.has(e)?!1:(this._triggers.set(e,r),!0)}_getTrigger(e){let r=this._triggers.get(e);if(!r)throw X2(e);return r}trigger(e,r,t,i=!0){let o=this._getTrigger(r),s=new gl(this.id,r,e),a=this._engine.statesByElement.get(e);a||(bn(e,tf),bn(e,tf+"-"+r),this._engine.statesByElement.set(e,a=new Map));let l=a.get(r),c=new pl(t,this.id);if(!(t&&t.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),a.set(r,c),l||(l=wb),!(c.value===fl)&&l.value===c.value){if(!HV(l.params,c.params)){let _=[],C=o.matchStyles(l.value,l.params,_),S=o.matchStyles(c.value,c.params,_);_.length?this._engine.reportError(_):this._engine.afterFlush(()=>{fo(e,C),hi(e,S)})}return}let f=Jt(this._engine.playersByElement,e,[]);f.forEach(_=>{_.namespaceId==this.id&&_.triggerName==r&&_.queued&&_.destroy()});let m=o.matchTransition(l.value,c.value,e,c.params),g=!1;if(!m){if(!i)return;m=o.fallbackTransition,g=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:r,transition:m,fromState:l,toState:c,player:s,isFallbackTransition:g}),g||(bn(e,PE),s.onStart(()=>{As(e,PE)})),s.onDone(()=>{let _=this.players.indexOf(s);_>=0&&this.players.splice(_,1);let C=this._engine.playersByElement.get(e);if(C){let S=C.indexOf(s);S>=0&&C.splice(S,1)}}),this.players.push(s),f.push(s),s}deregister(e){this._triggers.delete(e),this._engine.statesByElement.forEach(r=>r.delete(e)),this._elementListeners.forEach((r,t)=>{this._elementListeners.set(t,r.filter(i=>i.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);let r=this._engine.playersByElement.get(e);r&&(r.forEach(t=>t.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,r){let t=this._engine.driver.query(e,af,!0);t.forEach(i=>{if(i[Fn])return;let o=this._engine.fetchNamespacesByElement(i);o.size?o.forEach(s=>s.triggerLeaveAnimation(i,r,!1,!0)):this.clearElementCache(i)}),this._engine.afterFlushAnimationsDone(()=>t.forEach(i=>this.clearElementCache(i)))}triggerLeaveAnimation(e,r,t,i){let o=this._engine.statesByElement.get(e),s=new Map;if(o){let a=[];if(o.forEach((l,c)=>{if(s.set(c,l.value),this._triggers.has(c)){let d=this.trigger(e,c,fl,i);d&&a.push(d)}}),a.length)return this._engine.markElementAsRemoved(this.id,e,!0,r,s),t&&wr(a).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){let r=this._elementListeners.get(e),t=this._engine.statesByElement.get(e);if(r&&t){let i=new Set;r.forEach(o=>{let s=o.name;if(i.has(s))return;i.add(s);let l=this._triggers.get(s).fallbackTransition,c=t.get(s)||wb,d=new pl(fl),u=new gl(this.id,s,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:s,transition:l,fromState:c,toState:d,player:u,isFallbackTransition:!0})})}}removeNode(e,r){let t=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,r),this.triggerLeaveAnimation(e,r,!0))return;let i=!1;if(t.totalAnimations){let o=t.players.length?t.playersByQueriedElement.get(e):[];if(o&&o.length)i=!0;else{let s=e;for(;s=s.parentNode;)if(t.statesByElement.get(s)){i=!0;break}}}if(this.prepareLeaveAnimationListeners(e),i)t.markElementAsRemoved(this.id,e,!1,r);else{let o=e[Fn];(!o||o===QE)&&(t.afterFlush(()=>this.clearElementCache(e)),t.destroyInnerAnimations(e),t._onRemovalComplete(e,r))}}insertNode(e,r){bn(e,this._hostClassName)}drainQueuedTransitions(e){let r=[];return this._queue.forEach(t=>{let i=t.player;if(i.destroyed)return;let o=t.element,s=this._elementListeners.get(o);s&&s.forEach(a=>{if(a.name==t.triggerName){let l=Ub(o,t.triggerName,t.fromState.value,t.toState.value);l._data=e,Bb(t.player,a.phase,l,a.callback)}}),i.markedForDestroy?this._engine.afterFlush(()=>{i.destroy()}):r.push(t)}),this._queue=[],r.sort((t,i)=>{let o=t.transition.ast.depCount,s=i.transition.ast.depCount;return o==0||s==0?o-s:this._engine.driver.containsElement(t.element,i.element)?1:-1})}destroy(e){this.players.forEach(r=>r.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}},Lb=class{_onRemovalComplete(e,r){this.onRemovalComplete(e,r)}constructor(e,r,t){this.bodyNode=e,this.driver=r,this._normalizer=t,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=(i,o)=>{}}get queuedPlayers(){let e=[];return this._namespaceList.forEach(r=>{r.players.forEach(t=>{t.queued&&e.push(t)})}),e}createNamespace(e,r){let t=new Fb(e,r,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,r)?this._balanceNamespaceList(t,r):(this.newHostElements.set(r,t),this.collectEnterElement(r)),this._namespaceLookup[e]=t}_balanceNamespaceList(e,r){let t=this._namespaceList,i=this.namespacesByHostElement;if(t.length-1>=0){let s=!1,a=this.driver.getParentElement(r);for(;a;){let l=i.get(a);if(l){let c=t.indexOf(l);t.splice(c+1,0,e),s=!0;break}a=this.driver.getParentElement(a)}s||t.unshift(e)}else t.push(e);return i.set(r,e),e}register(e,r){let t=this._namespaceLookup[e];return t||(t=this.createNamespace(e,r)),t}registerTrigger(e,r,t){let i=this._namespaceLookup[e];i&&i.register(r,t)&&this.totalAnimations++}destroy(e,r){e&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let t=this._fetchNamespace(e);this.namespacesByHostElement.delete(t.hostElement);let i=this._namespaceList.indexOf(t);i>=0&&this._namespaceList.splice(i,1),t.destroy(r),delete this._namespaceLookup[e]}))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){let r=new Set,t=this.statesByElement.get(e);if(t){for(let i of t.values())if(i.namespaceId){let o=this._fetchNamespace(i.namespaceId);o&&r.add(o)}}return r}trigger(e,r,t,i){if(of(r)){let o=this._fetchNamespace(e);if(o)return o.trigger(r,t,i),!0}return!1}insertNode(e,r,t,i){if(!of(r))return;let o=r[Fn];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;let s=this.collectedLeaveElements.indexOf(r);s>=0&&this.collectedLeaveElements.splice(s,1)}if(e){let s=this._fetchNamespace(e);s&&s.insertNode(r,t)}i&&this.collectEnterElement(r)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,r){r?this.disabledNodes.has(e)||(this.disabledNodes.add(e),bn(e,xb)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),As(e,xb))}removeNode(e,r,t){if(of(r)){let i=e?this._fetchNamespace(e):null;i?i.removeNode(r,t):this.markElementAsRemoved(e,r,!1,t);let o=this.namespacesByHostElement.get(r);o&&o.id!==e&&o.removeNode(r,t)}else this._onRemovalComplete(r,t)}markElementAsRemoved(e,r,t,i,o){this.collectedLeaveElements.push(r),r[Fn]={namespaceId:e,setForRemoval:i,hasAnimation:t,removedBeforeQueried:!1,previousTriggersValues:o}}listen(e,r,t,i,o){return of(r)?this._fetchNamespace(e).listen(r,t,i,o):()=>{}}_buildInstruction(e,r,t,i,o){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,t,i,e.fromState.options,e.toState.options,r,o)}destroyInnerAnimations(e){let r=this.driver.query(e,af,!0);r.forEach(t=>this.destroyActiveAnimationsForElement(t)),this.playersByQueriedElement.size!=0&&(r=this.driver.query(e,Eb,!0),r.forEach(t=>this.finishActiveQueriedAnimationOnElement(t)))}destroyActiveAnimationsForElement(e){let r=this.playersByElement.get(e);r&&r.forEach(t=>{t.queued?t.markedForDestroy=!0:t.destroy()})}finishActiveQueriedAnimationOnElement(e){let r=this.playersByQueriedElement.get(e);r&&r.forEach(t=>t.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return wr(this.players).onDone(()=>e());e()})}processLeaveNode(e){var t;let r=e[Fn];if(r&&r.setForRemoval){if(e[Fn]=QE,r.namespaceId){this.destroyInnerAnimations(e);let i=this._fetchNamespace(r.namespaceId);i&&i.clearElementCache(e)}this._onRemovalComplete(e,r.setForRemoval)}(t=e.classList)!=null&&t.contains(xb)&&this.markElementAsDisabled(e,!1),this.driver.query(e,RV,!0).forEach(i=>{this.markElementAsDisabled(i,!1)})}flush(e=-1){let r=[];if(this.newHostElements.size&&(this.newHostElements.forEach((t,i)=>this._balanceNamespaceList(t,i)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let t=0;tt()),this._flushFns=[],this._whenQuietFns.length){let t=this._whenQuietFns;this._whenQuietFns=[],r.length?wr(r).onDone(()=>{t.forEach(i=>i())}):t.forEach(i=>i())}}reportError(e){throw J2(e)}_flushAnimations(e,r){let t=new ml,i=[],o=new Map,s=[],a=new Map,l=new Map,c=new Map,d=new Set;this.disabledNodes.forEach(U=>{d.add(U);let Y=this.driver.query(U,OV,!0);for(let Z=0;Z{let Z=$E+_++;g.set(Y,Z),U.forEach(we=>bn(we,Z))});let C=[],S=new Set,B=new Set;for(let U=0;US.add(we)):B.add(Y))}let ve=new Map,q=jE(f,Array.from(S));q.forEach((U,Y)=>{let Z=Db+_++;ve.set(Y,Z),U.forEach(we=>bn(we,Z))}),e.push(()=>{m.forEach((U,Y)=>{let Z=g.get(Y);U.forEach(we=>As(we,Z))}),q.forEach((U,Y)=>{let Z=ve.get(Y);U.forEach(we=>As(we,Z))}),C.forEach(U=>{this.processLeaveNode(U)})});let $e=[],be=[];for(let U=this._namespaceList.length-1;U>=0;U--)this._namespaceList[U].drainQueuedTransitions(r).forEach(Z=>{let we=Z.player,nt=Z.element;if($e.push(we),this.collectedEnterElements.length){let xt=nt[Fn];if(xt&&xt.setForMove){if(xt.previousTriggersValues&&xt.previousTriggersValues.has(Z.triggerName)){let Dr=xt.previousTriggersValues.get(Z.triggerName),en=this.statesByElement.get(Z.element);if(en&&en.has(Z.triggerName)){let bl=en.get(Z.triggerName);bl.value=Dr,en.set(Z.triggerName,bl)}}we.destroy();return}}let Ln=!u||!this.driver.containsElement(u,nt),Wt=ve.get(nt),ji=g.get(nt),Ke=this._buildInstruction(Z,t,ji,Wt,Ln);if(Ke.errors&&Ke.errors.length){be.push(Ke);return}if(Ln){we.onStart(()=>fo(nt,Ke.fromStyles)),we.onDestroy(()=>hi(nt,Ke.toStyles)),i.push(we);return}if(Z.isFallbackTransition){we.onStart(()=>fo(nt,Ke.fromStyles)),we.onDestroy(()=>hi(nt,Ke.toStyles)),i.push(we);return}let Qb=[];Ke.timelines.forEach(xt=>{xt.stretchStartingKeyframe=!0,this.disabledNodes.has(xt.element)||Qb.push(xt)}),Ke.timelines=Qb,t.append(nt,Ke.timelines);let cI={instruction:Ke,player:we,element:nt};s.push(cI),Ke.queriedElements.forEach(xt=>Jt(a,xt,[]).push(we)),Ke.preStyleProps.forEach((xt,Dr)=>{if(xt.size){let en=l.get(Dr);en||l.set(Dr,en=new Set),xt.forEach((bl,vf)=>en.add(vf))}}),Ke.postStyleProps.forEach((xt,Dr)=>{let en=c.get(Dr);en||c.set(Dr,en=new Set),xt.forEach((bl,vf)=>en.add(vf))})});if(be.length){let U=[];be.forEach(Y=>{U.push(eV(Y.triggerName,Y.errors))}),$e.forEach(Y=>Y.destroy()),this.reportError(U)}let pe=new Map,st=new Map;s.forEach(U=>{let Y=U.element;t.has(Y)&&(st.set(Y,Y),this._beforeAnimationBuild(U.player.namespaceId,U.instruction,pe))}),i.forEach(U=>{let Y=U.element;this._getPreviousPlayers(Y,!1,U.namespaceId,U.triggerName,null).forEach(we=>{Jt(pe,Y,[]).push(we),we.destroy()})});let At=C.filter(U=>VE(U,l,c)),bt=new Map;LE(bt,this.driver,B,c,di).forEach(U=>{VE(U,l,c)&&At.push(U)});let Li=new Map;m.forEach((U,Y)=>{LE(Li,this.driver,new Set(U),l,Du)}),At.forEach(U=>{var we,nt;let Y=bt.get(U),Z=Li.get(U);bt.set(U,new Map([...(we=Y==null?void 0:Y.entries())!=null?we:[],...(nt=Z==null?void 0:Z.entries())!=null?nt:[]]))});let Cr=[],Yb=[],Zb={};s.forEach(U=>{let{element:Y,player:Z,instruction:we}=U;if(t.has(Y)){if(d.has(Y)){Z.onDestroy(()=>hi(Y,we.toStyles)),Z.disabled=!0,Z.overrideTotalTime(we.totalTime),i.push(Z);return}let nt=Zb;if(st.size>1){let Wt=Y,ji=[];for(;Wt=Wt.parentNode;){let Ke=st.get(Wt);if(Ke){nt=Ke;break}ji.push(Wt)}ji.forEach(Ke=>st.set(Ke,nt))}let Ln=this._buildAnimation(Z.namespaceId,we,pe,o,Li,bt);if(Z.setRealPlayer(Ln),nt===Zb)Cr.push(Z);else{let Wt=this.playersByElement.get(nt);Wt&&Wt.length&&(Z.parentPlayer=wr(Wt)),i.push(Z)}}else fo(Y,we.fromStyles),Z.onDestroy(()=>hi(Y,we.toStyles)),Yb.push(Z),d.has(Y)&&i.push(Z)}),Yb.forEach(U=>{let Y=o.get(U.element);if(Y&&Y.length){let Z=wr(Y);U.setRealPlayer(Z)}}),i.forEach(U=>{U.parentPlayer?U.syncPlayerEvents(U.parentPlayer):U.destroy()});for(let U=0;U!Ln.destroyed);nt.length?UV(this,Y,nt):this.processLeaveNode(Y)}return C.length=0,Cr.forEach(U=>{this.players.push(U),U.onDone(()=>{U.destroy();let Y=this.players.indexOf(U);this.players.splice(Y,1)}),U.play()}),Cr}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,r,t,i,o){let s=[];if(r){let a=this.playersByQueriedElement.get(e);a&&(s=a)}else{let a=this.playersByElement.get(e);if(a){let l=!o||o==fl;a.forEach(c=>{c.queued||!l&&c.triggerName!=i||s.push(c)})}}return(t||i)&&(s=s.filter(a=>!(t&&t!=a.namespaceId||i&&i!=a.triggerName))),s}_beforeAnimationBuild(e,r,t){let i=r.triggerName,o=r.element,s=r.isRemovalTransition?void 0:e,a=r.isRemovalTransition?void 0:i;for(let l of r.timelines){let c=l.element,d=c!==o,u=Jt(t,c,[]);this._getPreviousPlayers(c,d,s,a,r.toState).forEach(m=>{let g=m.getRealPlayer();g.beforeDestroy&&g.beforeDestroy(),m.destroy(),u.push(m)})}fo(o,r.fromStyles)}_buildAnimation(e,r,t,i,o,s){let a=r.triggerName,l=r.element,c=[],d=new Set,u=new Set,f=r.timelines.map(g=>{let _=g.element;d.add(_);let C=_[Fn];if(C&&C.removedBeforeQueried)return new mr(g.duration,g.delay);let S=_!==l,B=zV((t.get(_)||FV).map(pe=>pe.getRealPlayer())).filter(pe=>{let st=pe;return st.element?st.element===_:!1}),ve=o.get(_),q=s.get(_),$e=BE(this._normalizer,g.keyframes,ve,q),be=this._buildPlayer(g,$e,B);if(g.subTimeline&&i&&u.add(_),S){let pe=new gl(e,a,_);pe.setRealPlayer(be),c.push(pe)}return be});c.forEach(g=>{Jt(this.playersByQueriedElement,g.element,[]).push(g),g.onDone(()=>jV(this.playersByQueriedElement,g.element,g))}),d.forEach(g=>bn(g,TE));let m=wr(f);return m.onDestroy(()=>{d.forEach(g=>As(g,TE)),hi(l,r.toStyles)}),u.forEach(g=>{Jt(i,g,[]).push(m)}),m}_buildPlayer(e,r,t){return r.length>0?this.driver.animate(e.element,r,e.duration,e.delay,e.easing,t):new mr(e.duration,e.delay)}},gl=class{constructor(e,r,t){this.namespaceId=e,this.triggerName=r,this.element=t,this._player=new mr,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(e){this._containsRealPlayer||(this._player=e,this._queuedCallbacks.forEach((r,t)=>{r.forEach(i=>Bb(e,t,void 0,i))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){let r=this._player;r.triggerCallback&&e.onStart(()=>r.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,r){Jt(this._queuedCallbacks,e,[]).push(r)}onDone(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}onStart(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}onDestroy(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}init(){this._player.init()}hasStarted(){return this.queued?!1:this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(e){this.queued||this._player.setPosition(e)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(e){let r=this._player;r.triggerCallback&&r.triggerCallback(e)}};function jV(n,e,r){let t=n.get(e);if(t){if(t.length){let i=t.indexOf(r);t.splice(i,1)}t.length==0&&n.delete(e)}return t}function VV(n){return n!=null?n:null}function of(n){return n&&n.nodeType===1}function BV(n){return n=="start"||n=="done"}function FE(n,e){let r=n.style.display;return n.style.display=e!=null?e:"none",r}function LE(n,e,r,t,i){let o=[];r.forEach(l=>o.push(FE(l)));let s=[];t.forEach((l,c)=>{let d=new Map;l.forEach(u=>{let f=e.computeStyle(c,u,i);d.set(u,f),(!f||f.length==0)&&(c[Fn]=LV,s.push(c))}),n.set(c,d)});let a=0;return r.forEach(l=>FE(l,o[a++])),s}function jE(n,e){let r=new Map;if(n.forEach(a=>r.set(a,[])),e.length==0)return r;let t=1,i=new Set(e),o=new Map;function s(a){if(!a)return t;let l=o.get(a);if(l)return l;let c=a.parentNode;return r.has(c)?l=c:i.has(c)?l=t:l=s(c),o.set(a,l),l}return e.forEach(a=>{let l=s(a);l!==t&&r.get(l).push(a)}),r}function bn(n,e){var r;(r=n.classList)==null||r.add(e)}function As(n,e){var r;(r=n.classList)==null||r.remove(e)}function UV(n,e,r){wr(r).onDone(()=>n.processLeaveNode(e))}function zV(n){let e=[];return KE(n,e),e}function KE(n,e){for(let r=0;ri.add(o)):e.set(n,t),r.delete(n),!0}var Os=class{constructor(e,r,t){this._driver=r,this._normalizer=t,this._triggerCache={},this.onRemovalComplete=(i,o)=>{},this._transitionEngine=new Lb(e.body,r,t),this._timelineEngine=new Pb(e.body,r,t),this._transitionEngine.onRemovalComplete=(i,o)=>this.onRemovalComplete(i,o)}registerTrigger(e,r,t,i,o){let s=e+"-"+i,a=this._triggerCache[s];if(!a){let l=[],c=[],d=qE(this._driver,o,l,c);if(l.length)throw H2(i,l);c.length&&void 0,a=TV(i,d,this._normalizer),this._triggerCache[s]=a}this._transitionEngine.registerTrigger(r,i,a)}register(e,r){this._transitionEngine.register(e,r)}destroy(e,r){this._transitionEngine.destroy(e,r)}onInsert(e,r,t,i){this._transitionEngine.insertNode(e,r,t,i)}onRemove(e,r,t){this._transitionEngine.removeNode(e,r,t)}disableAnimations(e,r){this._transitionEngine.markElementAsDisabled(e,r)}process(e,r,t,i){if(t.charAt(0)=="@"){let[o,s]=ME(t),a=i;this._timelineEngine.command(o,r,s,a)}else this._transitionEngine.trigger(e,r,t,i)}listen(e,r,t,i,o){if(t.charAt(0)=="@"){let[s,a]=ME(t);return this._timelineEngine.listen(s,r,a,o)}return this._transitionEngine.listen(e,r,t,i,o)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(e){this._transitionEngine.afterFlushAnimationsDone(e)}};function $V(n,e){let r=null,t=null;return Array.isArray(e)&&e.length?(r=Cb(e[0]),e.length>1&&(t=Cb(e[e.length-1]))):e instanceof Map&&(r=Cb(e)),r||t?new jb(n,r,t):null}var ks=class ks{constructor(e,r,t){this._element=e,this._startStyles=r,this._endStyles=t,this._state=0;let i=ks.initialStylesByElement.get(e);i||ks.initialStylesByElement.set(e,i=new Map),this._initialStyles=i}start(){this._state<1&&(this._startStyles&&hi(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(hi(this._element,this._initialStyles),this._endStyles&&(hi(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(ks.initialStylesByElement.delete(this._element),this._startStyles&&(fo(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(fo(this._element,this._endStyles),this._endStyles=null),hi(this._element,this._initialStyles),this._state=3)}};ks.initialStylesByElement=new WeakMap;var jb=ks;function Cb(n){let e=null;return n.forEach((r,t)=>{WV(t)&&(e=e||new Map,e.set(t,r))}),e}function WV(n){return n==="display"||n==="position"}var mf=class{constructor(e,r,t,i){this.element=e,this.keyframes=r,this.options=t,this._specialStyles=i,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=t.duration,this._delay=t.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;let e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:new Map;let r=()=>this._onFinish();this.domPlayer.addEventListener("finish",r),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",r)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(e){let r=[];return e.forEach(t=>{r.push(Object.fromEntries(t))}),r}_triggerWebAnimation(e,r,t){return e.animate(this._convertKeyframesToObject(r),t)}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(e=>e()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}setPosition(e){this.domPlayer===void 0&&this.init(),this.domPlayer.currentTime=e*this.time}getPosition(){var e;return+((e=this.domPlayer.currentTime)!=null?e:0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){let e=new Map;this.hasStarted()&&this._finalKeyframe.forEach((t,i)=>{i!=="offset"&&e.set(i,this._finished?t:Wb(this.element,i))}),this.currentSnapshot=e}triggerCallback(e){let r=e==="start"?this._onStartFns:this._onDoneFns;r.forEach(t=>t()),r.length=0}},pf=class{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}containsElement(e,r){return UE(e,r)}getParentElement(e){return zb(e)}query(e,r,t){return zE(e,r,t)}computeStyle(e,r,t){return Wb(e,r)}animate(e,r,t,i,o,s=[]){let a=i==0?"both":"forwards",l={duration:t,delay:i,fill:a};o&&(l.easing=o);let c=new Map,d=s.filter(m=>m instanceof mf);uV(t,i)&&d.forEach(m=>{m.currentSnapshot.forEach((g,_)=>c.set(_,g))});let u=lV(r).map(m=>new Map(m));u=fV(e,u,c);let f=$V(e,u);return new mf(e,u,l,f)}};var sf="@",XE="@.disabled",gf=class{constructor(e,r,t,i){this.namespaceId=e,this.delegate=r,this.engine=t,this._onDestroy=i,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(e){var r,t;(t=(r=this.delegate).destroyNode)==null||t.call(r,e)}destroy(){var e;this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),(e=this._onDestroy)==null||e.call(this)}createElement(e,r){return this.delegate.createElement(e,r)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,r){this.delegate.appendChild(e,r),this.engine.onInsert(this.namespaceId,r,e,!1)}insertBefore(e,r,t,i=!0){this.delegate.insertBefore(e,r,t),this.engine.onInsert(this.namespaceId,r,e,i)}removeChild(e,r,t){this.engine.onRemove(this.namespaceId,r,this.delegate)}selectRootElement(e,r){return this.delegate.selectRootElement(e,r)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,r,t,i){this.delegate.setAttribute(e,r,t,i)}removeAttribute(e,r,t){this.delegate.removeAttribute(e,r,t)}addClass(e,r){this.delegate.addClass(e,r)}removeClass(e,r){this.delegate.removeClass(e,r)}setStyle(e,r,t,i){this.delegate.setStyle(e,r,t,i)}removeStyle(e,r,t){this.delegate.removeStyle(e,r,t)}setProperty(e,r,t){r.charAt(0)==sf&&r==XE?this.disableAnimations(e,!!t):this.delegate.setProperty(e,r,t)}setValue(e,r){this.delegate.setValue(e,r)}listen(e,r,t){return this.delegate.listen(e,r,t)}disableAnimations(e,r){this.engine.disableAnimations(e,r)}},Vb=class extends gf{constructor(e,r,t,i,o){super(r,t,i,o),this.factory=e,this.namespaceId=r}setProperty(e,r,t){r.charAt(0)==sf?r.charAt(1)=="."&&r==XE?(t=t===void 0?!0:!!t,this.disableAnimations(e,t)):this.engine.process(this.namespaceId,e,r.slice(1),t):this.delegate.setProperty(e,r,t)}listen(e,r,t){if(r.charAt(0)==sf){let i=GV(e),o=r.slice(1),s="";return o.charAt(0)!=sf&&([o,s]=qV(o)),this.engine.listen(this.namespaceId,i,o,s,a=>{let l=a._data||-1;this.factory.scheduleListenerCallback(l,t,a)})}return this.delegate.listen(e,r,t)}};function GV(n){switch(n){case"body":return document.body;case"document":return document;case"window":return window;default:return n}}function qV(n){let e=n.indexOf("."),r=n.substring(0,e),t=n.slice(e+1);return[r,t]}var bf=class{constructor(e,r,t){this.delegate=e,this.engine=r,this._zone=t,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,r.onRemovalComplete=(i,o)=>{let s=o==null?void 0:o.parentNode(i);s&&o.removeChild(s,i)}}createRenderer(e,r){var c;let t="",i=this.delegate.createRenderer(e,r);if(!e||!((c=r==null?void 0:r.data)!=null&&c.animation)){let d=this._rendererCache,u=d.get(i);if(!u){let f=()=>d.delete(i);u=new gf(t,i,this.engine,f),d.set(i,u)}return u}let o=r.id,s=r.id+"-"+this._currentId;this._currentId++,this.engine.register(s,e);let a=d=>{Array.isArray(d)?d.forEach(a):this.engine.registerTrigger(o,s,e,d.name,d)};return r.data.animation.forEach(a),new Vb(this,s,i,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(e,r,t){if(e>=0&&er(t));return}let i=this._animationCallbacksBuffer;i.length==0&&queueMicrotask(()=>{this._zone.run(()=>{i.forEach(o=>{let[s,a]=o;s(a)}),this._animationCallbacksBuffer=[]})}),i.push([r,t])}end(){this._cdRecurDepth--,this._cdRecurDepth==0&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}};var ZV=(()=>{let e=class e extends Os{constructor(t,i,o){super(t,i,o)}ngOnDestroy(){this.flush()}};e.\u0275fac=function(i){return new(i||e)(v(W),v(ho),v(mo))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let n=e;return n})();function QV(){return new cf}function KV(n,e,r){return new bf(n,e,r)}var eI=[{provide:mo,useFactory:QV},{provide:Os,useClass:ZV},{provide:Ki,useFactory:KV,deps:[Nd,Os,k]}],JE=[{provide:ho,useFactory:()=>new pf},{provide:Ge,useValue:"BrowserAnimations"},...eI],XV=[{provide:ho,useClass:Hb},{provide:Ge,useValue:"NoopAnimations"},...eI],tI=(()=>{let e=class e{static withConfig(t){return{ngModule:e,providers:t.disableAnimations?XV:JE}}};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=V({type:e}),e.\u0275inj=L({providers:JE,imports:[Fd]});let n=e;return n})();var JV=["*",[["mat-toolbar-row"]]],eB=["*","mat-toolbar-row"],tB=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=N({type:e,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"],standalone:!0});let n=e;return n})(),nI=(()=>{let e=class e{constructor(t,i,o){this._elementRef=t,this._platform=i,this._document=o}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){this._toolbarRows.length}};e.\u0275fac=function(i){return new(i||e)(h(P),h(xe),h(W))},e.\u0275cmp=j({type:e,selectors:[["mat-toolbar"]],contentQueries:function(i,o,s){if(i&1&&tt(s,tB,5),i&2){let a;ie(a=re())&&(o._toolbarRows=a)}},hostAttrs:[1,"mat-toolbar"],hostVars:6,hostBindings:function(i,o){i&2&&(zt(o.color?"mat-"+o.color:""),ae("mat-toolbar-multiple-rows",o._toolbarRows.length>0)("mat-toolbar-single-row",o._toolbarRows.length===0))},inputs:{color:"color"},exportAs:["matToolbar"],standalone:!0,features:[Oe],ngContentSelectors:eB,decls:2,vars:0,template:function(i,o){i&1&&(Je(JV),ue(0),ue(1,1))},styles:[".mat-toolbar{background:var(--mat-toolbar-container-background-color);color:var(--mat-toolbar-container-text-color)}.mat-toolbar,.mat-toolbar h1,.mat-toolbar h2,.mat-toolbar h3,.mat-toolbar h4,.mat-toolbar h5,.mat-toolbar h6{font-family:var(--mat-toolbar-title-text-font);font-size:var(--mat-toolbar-title-text-size);line-height:var(--mat-toolbar-title-text-line-height);font-weight:var(--mat-toolbar-title-text-weight);letter-spacing:var(--mat-toolbar-title-text-tracking);margin:0}.cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.mat-toolbar .mat-form-field-underline,.mat-toolbar .mat-form-field-ripple,.mat-toolbar .mat-focused .mat-form-field-ripple{background-color:currentColor}.mat-toolbar .mat-form-field-label,.mat-toolbar .mat-focused .mat-form-field-label,.mat-toolbar .mat-select-value,.mat-toolbar .mat-select-arrow,.mat-toolbar .mat-form-field.mat-focused .mat-select-arrow{color:inherit}.mat-toolbar .mat-input-element{caret-color:currentColor}.mat-toolbar .mat-mdc-button-base.mat-mdc-button-base.mat-unthemed{--mdc-text-button-label-text-color:var(--mat-toolbar-container-text-color);--mdc-outlined-button-label-text-color:var(--mat-toolbar-container-text-color)}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap;height:var(--mat-toolbar-standard-height)}@media(max-width: 599px){.mat-toolbar-row,.mat-toolbar-single-row{height:var(--mat-toolbar-mobile-height)}}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%;min-height:var(--mat-toolbar-standard-height)}@media(max-width: 599px){.mat-toolbar-multiple-rows{min-height:var(--mat-toolbar-mobile-height)}}"],encapsulation:2,changeDetection:0});let n=e;return n})();var iI=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=V({type:e}),e.\u0275inj=L({imports:[Ae,Ae]});let n=e;return n})();var rI=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=V({type:e}),e.\u0275inj=L({providers:[{provide:lb,useValue:{floatLabel:"always"}}],imports:[xD,iI,YC,rE,uE,tE,UC,ao,LD,$D,CE]});let n=e;return n})();function iB(n,e){if(n&1){let r=Me();p(0,"button",10),z("click",function(){let i=te(r).$implicit,o=R(2);return ne(o.changeLang(i))}),w(1),b()}if(n&2){let r=e.$implicit;x(),ct(r.name)}}function rB(n,e){if(n&1){let r=Me();p(0,"button",10),z("click",function(){te(r);let i=R(2);return ne(i.admin())}),p(1,"i",24),w(2,"dashboard"),b(),p(3,"uds-translate"),w(4,"Dashboard"),b()()}}function oB(n,e){n&1&&(p(0,"button",29)(1,"i",24),w(2,"file_download"),b(),p(3,"uds-translate"),w(4,"Downloads"),b()())}function sB(n,e){if(n&1&&(p(0,"button",14),w(1),b()),n&2){R();let r=Et(8),t=R();M("matMenuTriggerFor",r),x(),ct(t.api.user.user)}}function aB(n,e){if(n&1&&(p(0,"button",26),w(1),p(2,"i",24),w(3,"arrow_drop_down"),b()()),n&2){R();let r=Et(8),t=R();M("matMenuTriggerFor",r),x(),Te("",t.api.user.user," ")}}function lB(n,e){if(n&1){let r=Me();Wm(0),p(1,"form",4),O(2,"input",5)(3,"input",6),b(),p(4,"mat-menu",null,0),F(6,iB,2,1,"button",7),b(),p(7,"mat-menu",null,1),F(9,rB,5,0,"button",8)(10,oB,5,0,"button",9),p(11,"button",10),z("click",function(){te(r);let i=R();return ne(i.logout())}),p(12,"i",11),w(13,"exit_to_app"),b(),p(14,"uds-translate"),w(15,"Logout"),b()()(),p(16,"mat-menu",12,2),F(18,sB,2,2,"button",13),p(19,"button",14),w(20),b(),p(21,"button",15)(22,"uds-translate"),w(23,"UDS Client"),b()(),p(24,"button",16)(25,"uds-translate"),w(26,"About"),b()()(),p(27,"mat-toolbar",17)(28,"button",18)(29,"div",19),O(30,"img",20),w(31),b()(),O(32,"span",21),p(33,"div",22)(34,"button",23)(35,"i",24),w(36,"file_download"),b(),p(37,"uds-translate"),w(38,"UDS Client"),b()(),p(39,"button",25)(40,"i",24),w(41,"info"),b(),p(42,"uds-translate"),w(43,"About"),b()(),p(44,"button",26),w(45),p(46,"i",24),w(47,"arrow_drop_down"),b()(),F(48,aB,4,2,"button",27),b(),p(49,"div",28)(50,"button",26)(51,"i",24),w(52,"menu"),b()()()(),Gm()}if(n&2){let r=Et(5),t=Et(17),i=R();x(),Yo("action",i.api.config.urls.change_language,ft),x(),Yo("name",i.api.csrfField),Yo("value",i.api.csrfToken),x(),Yo("value",i.lang.id),x(3),M("ngForOf",i.langs),x(3),M("ngIf",i.api.user.isStaff),x(),M("ngIf",i.api.user.isStaff),x(8),M("ngIf",i.api.user.isLogged),x(),M("matMenuTriggerFor",r),x(),Te("",i.lang.name," "),x(10),M("src",i.api.staticURL("modern/img/udsicon.png"),ft),x(),Te(" ",i.api.config.site_logo_name==="UDS"?"":i.api.config.site_logo_name," "),x(13),M("matMenuTriggerFor",r),x(),Te("",i.lang.name," "),x(3),M("ngIf",i.api.user.isLogged),x(2),M("matMenuTriggerFor",t)}}var oI=(()=>{let e=class e{constructor(t){this.api=t,this.lang={},this.langs=[],this.style="";let i=t.config.language;this.langs=[];for(let o of t.config.available_languages)o.id===i?this.lang=o:this.langs.push(o)}ngOnInit(){}changeLang(t){this.lang=t;let i=document.getElementById("id_language");i&&i.setAttribute("value",t.id);let o=document.getElementById("form_language");o&&o.submit()}admin(){this.api.gotoAdmin()}logout(){this.api.logout()}};e.\u0275fac=function(i){return new(i||e)(h(Re))},e.\u0275cmp=j({type:e,selectors:[["uds-navbar"]],decls:1,vars:1,consts:[["appMenu","matMenu"],["userMenu","matMenu"],["shrink","matMenu"],[4,"ngIf"],["id","form_language","method","post",3,"action"],["type","hidden",3,"name","value"],["id","id_language","type","hidden","name","language",3,"value"],["mat-menu-item","",3,"click",4,"ngFor","ngForOf"],["mat-menu-item","",3,"click",4,"ngIf"],["mat-menu-item","","routerLink","/downloads",4,"ngIf"],["mat-menu-item","",3,"click"],[1,"material-icons","highlight"],["x-position","before"],["mat-menu-item","",3,"matMenuTriggerFor",4,"ngIf"],["mat-menu-item","",3,"matMenuTriggerFor"],["mat-menu-item","","routerLink","/client-download"],["mat-menu-item","","routerLink","/about"],["color","primary",1,"uds-nav"],["mat-button","","routerLink","/"],[1,"logo"],["alt","Universal Desktop Services",3,"src"],[1,"fill-remaining-space"],[1,"expanded"],["mat-button","","routerLink","/client-download"],[1,"material-icons"],["mat-button","","routerLink","/about"],["mat-button","",3,"matMenuTriggerFor"],["mat-button","",3,"matMenuTriggerFor",4,"ngIf"],[1,"shrinked"],["mat-menu-item","","routerLink","/downloads"]],template:function(i,o){i&1&&F(0,lB,53,16,"ng-container",3),i&2&&M("ngIf",o.api.config.urls.launch==="")},dependencies:[It,Mt,us,Ss,Ms,Pn,nI,ui,xr,lo,Ju,He],styles:['.mat-ripple[_ngcontent-%COMP%]{overflow:hidden;position:relative}.mat-ripple[_ngcontent-%COMP%]:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded[_ngcontent-%COMP%]{overflow:visible}.mat-ripple-element[_ngcontent-%COMP%]{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0,0,.2,1);transform:scale3d(0,0,0);background-color:var(--mat-ripple-color, rgba(0, 0, 0, .1))}.cdk-high-contrast-active[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .cdk-drag-placeholder[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{display:none}.cdk-visually-hidden[_ngcontent-%COMP%]{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][_ngcontent-%COMP%] .cdk-visually-hidden[_ngcontent-%COMP%]{left:auto;right:0}.cdk-overlay-container[_ngcontent-%COMP%], .cdk-global-overlay-wrapper[_ngcontent-%COMP%]{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container[_ngcontent-%COMP%]{position:fixed;z-index:1000}.cdk-overlay-container[_ngcontent-%COMP%]:empty{display:none}.cdk-global-overlay-wrapper[_ngcontent-%COMP%]{display:flex;position:absolute;z-index:1000}.cdk-overlay-pane[_ngcontent-%COMP%]{position:absolute;pointer-events:auto;box-sizing:border-box;z-index:1000;display:flex;max-width:100%;max-height:100%}.cdk-overlay-backdrop[_ngcontent-%COMP%]{position:absolute;top:0;bottom:0;left:0;right: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[_ngcontent-%COMP%]{opacity:1}.cdk-high-contrast-active[_ngcontent-%COMP%] .cdk-overlay-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:.6}.cdk-overlay-dark-backdrop[_ngcontent-%COMP%]{background:#00000052}.cdk-overlay-transparent-backdrop[_ngcontent-%COMP%]{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation[_ngcontent-%COMP%]{transition:none}.cdk-overlay-connected-position-bounding-box[_ngcontent-%COMP%]{position:absolute;z-index:1000;display:flex;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock[_ngcontent-%COMP%]{position:fixed;width:100%;overflow-y:scroll}textarea.cdk-textarea-autosize[_ngcontent-%COMP%]{resize:none}textarea.cdk-textarea-autosize-measuring[_ngcontent-%COMP%]{padding:2px 0!important;box-sizing:content-box!important;height:auto!important;overflow:hidden!important}textarea.cdk-textarea-autosize-measuring-firefox[_ngcontent-%COMP%]{padding:2px 0!important;box-sizing:content-box!important;height:0!important}@keyframes _ngcontent-%COMP%_cdk-text-field-autofill-start{}@keyframes _ngcontent-%COMP%_cdk-text-field-autofill-end{}.cdk-text-field-autofill-monitored[_ngcontent-%COMP%]:-webkit-autofill{animation:_ngcontent-%COMP%_cdk-text-field-autofill-start 0s 1ms}.cdk-text-field-autofill-monitored[_ngcontent-%COMP%]:not(:-webkit-autofill){animation:_ngcontent-%COMP%_cdk-text-field-autofill-end 0s 1ms}.mat-focus-indicator[_ngcontent-%COMP%]{position:relative}.mat-focus-indicator[_ngcontent-%COMP%]:before{top:0;left:0;right:0;bottom: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[_ngcontent-%COMP%]:focus:before{content:""}.cdk-high-contrast-active[_ngcontent-%COMP%]{--mat-focus-indicator-display: block}.mat-mdc-focus-indicator[_ngcontent-%COMP%]{position:relative}.mat-mdc-focus-indicator[_ngcontent-%COMP%]:before{top:0;left:0;right:0;bottom: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[_ngcontent-%COMP%]:focus:before{content:""}.cdk-high-contrast-active[_ngcontent-%COMP%]{--mat-mdc-focus-indicator-display: block}.mat-app-background[_ngcontent-%COMP%]{background-color:var(--mat-app-background-color, transparent);color:var(--mat-app-text-color, inherit)}.uds-nav[_ngcontent-%COMP%]{position:fixed;top:0;z-index:1000;background-image:linear-gradient(60deg,#4b5266,#465d9c)}.fill-remaining-space[_ngcontent-%COMP%]{flex:1 1 auto}.material-icons[_ngcontent-%COMP%]{margin-right:.3rem}.logo[_ngcontent-%COMP%] > img[_ngcontent-%COMP%]{display:block;width:2rem}@media only screen and (max-width: 744px){.expanded[_ngcontent-%COMP%]{display:none;visibility:hidden}.shrinked[_ngcontent-%COMP%]{visibility:visible}}@media only screen and (min-width: 745px){.expanded[_ngcontent-%COMP%]{visibility:visible}.shrinked[_ngcontent-%COMP%]{display:none;visibility:hidden}}']});let n=e;return n})();var sI=(()=>{let e=class e{constructor(t){this.api=t}ngOnInit(){}};e.\u0275fac=function(i){return new(i||e)(h(Re))},e.\u0275cmp=j({type:e,selectors:[["uds-footer"]],decls:3,vars:2,consts:[[3,"href"]],template:function(i,o){i&1&&(p(0,"div")(1,"a",0),w(2),b()()),i&2&&(x(),M("href",o.api.config.site_copyright_link,ft),x(),ct(o.api.config.site_copyright_info))}});let n=e;return n})();var aI=(()=>{let e=class e{constructor(t){this.api=t,this.title="UDS"}get blackTheme(){return this.api.getFromStorage("blackTheme")==="true"}set blackTheme(t){this.api.putOnStorage("blackTheme",t.toString())}handleKeyboardEvent(t){t.altKey&&t.ctrlKey&&t.key==="b"&&(this.blackTheme=!this.blackTheme,this.api.switchTheme(this.blackTheme))}ngOnInit(){this.api.switchTheme(this.blackTheme),cookieconsent.initialise({palette:{popup:{background:"#343c66",text:"#cfcfe8"},button:{background:"#f71559"}},content:{message:django.gettext("We use cookies to track usage and preferences"),dismiss:django.gettext("I Understand"),link:django.gettext("Learn more")}})}};e.\u0275fac=function(i){return new(i||e)(h(Re))},e.\u0275cmp=j({type:e,selectors:[["uds-root"]],hostBindings:function(i,o){i&1&&z("keydown",function(a){return o.handleKeyboardEvent(a)},!1,e0)},decls:6,vars:0,consts:[[1,"page"],[1,"content"],[1,"footer"]],template:function(i,o){i&1&&(O(0,"uds-navbar"),p(1,"div",0)(2,"div",1),O(3,"router-outlet"),b(),p(4,"div",2),O(5,"uds-footer"),b()())},dependencies:[lg,oI,sI],styles:[".page[_ngcontent-%COMP%]{display:flex;flex-direction:column;height:100%}.footer[_ngcontent-%COMP%]{flex-shrink:0;margin:1em;height:1em;display:flex;flex-direction:row;justify-content:flex-end}.content[_ngcontent-%COMP%]{flex:1 0 auto;width:80%;margin:64px auto 0}@media only screen and (max-width: 744px){.content[_ngcontent-%COMP%]{width:100%}}"]});let n=e;return n})();var lI=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=V({type:e,bootstrap:[aI]}),e.\u0275inj=L({providers:[Re,Yu,Wx(Gx())],imports:[Fd,ow,EE,tI,rI]});let n=e;return n})();su.production&&void 0;Jx().bootstrapModule(lI).catch(n=>console.log(n)); +var dI=Object.defineProperty,uI=Object.defineProperties;var fI=Object.getOwnPropertyDescriptors;var vl=Object.getOwnPropertySymbols;var Xb=Object.prototype.hasOwnProperty,Jb=Object.prototype.propertyIsEnumerable;var Kb=(n,e,r)=>e in n?dI(n,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):n[e]=r,D=(n,e)=>{for(var r in e||(e={}))Xb.call(e,r)&&Kb(n,r,e[r]);if(vl)for(var r of vl(e))Jb.call(e,r)&&Kb(n,r,e[r]);return n},_e=(n,e)=>uI(n,fI(e));var _f=(n,e)=>{var r={};for(var t in n)Xb.call(n,t)&&e.indexOf(t)<0&&(r[t]=n[t]);if(n!=null&&vl)for(var t of vl(n))e.indexOf(t)<0&&Jb.call(n,t)&&(r[t]=n[t]);return r};var ke=(n,e,r)=>new Promise((t,i)=>{var o=l=>{try{a(r.next(l))}catch(c){i(c)}},s=l=>{try{a(r.throw(l))}catch(c){i(c)}},a=l=>l.done?t(l.value):Promise.resolve(l.value).then(o,s);a((r=r.apply(n,e)).next())});var xf=null,_l=!1,yf=1,yl=Symbol("SIGNAL");function Ee(n){let e=xf;return xf=n,e}function ev(){return xf}function hI(){return _l}var xl={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function mI(n){if(!(Ef(n)&&!n.dirty)&&!(!n.dirty&&n.lastCleanEpoch===yf)){if(!n.producerMustRecompute(n)&&!Cl(n)){n.dirty=!1,n.lastCleanEpoch=yf;return}n.producerRecomputeValue(n),n.dirty=!1,n.lastCleanEpoch=yf}}function pI(n){if(n.liveConsumerNode===void 0)return;let e=_l;_l=!0;try{for(let r of n.liveConsumerNode)r.dirty||tv(r)}finally{_l=e}}function tv(n){var e;n.dirty=!0,pI(n),(e=n.consumerMarkedDirty)==null||e.call(n,n)}function wl(n){return n&&(n.nextProducerIndex=0),Ee(n)}function Cf(n,e){if(Ee(e),!(!n||n.producerNode===void 0||n.producerIndexOfThis===void 0||n.producerLastReadVersion===void 0)){if(Ef(n))for(let r=n.nextProducerIndex;rn.nextProducerIndex;)n.producerNode.pop(),n.producerLastReadVersion.pop(),n.producerIndexOfThis.pop()}}function Cl(n){If(n);for(let e=0;e0}function If(n){var e,r,t;(e=n.producerNode)!=null||(n.producerNode=[]),(r=n.producerIndexOfThis)!=null||(n.producerIndexOfThis=[]),(t=n.producerLastReadVersion)!=null||(n.producerLastReadVersion=[])}function gI(n){var e,r;(e=n.liveConsumerNode)!=null||(n.liveConsumerNode=[]),(r=n.liveConsumerIndexOfThis)!=null||(n.liveConsumerIndexOfThis=[])}function bI(n){return n.producerNode!==void 0}function vI(){throw new Error}var _I=vI;function nv(n){_I=n}function iv(n,e,r){let t=Object.create(yI);r&&(t.consumerAllowSignalWrites=!0),t.fn=n,t.schedule=e;let i=l=>{t.cleanupFn=l};function o(l){return l.fn===null&&l.schedule===null}function s(l){o(l)||(Dl(l),l.cleanupFn(),l.fn=null,l.schedule=null,l.cleanupFn=wf)}let a=()=>{if(t.fn===null)return;if(hI())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(t.dirty=!1,t.hasRun&&!Cl(t))return;t.hasRun=!0;let l=wl(t);try{t.cleanupFn(),t.cleanupFn=wf,t.fn(i)}finally{Cf(t,l)}};return t.ref={notify:()=>tv(t),run:a,cleanup:()=>t.cleanupFn(),destroy:()=>s(t),[yl]:t},t.ref}var wf=()=>{},yI=_e(D({},xl),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:n=>{n.schedule!==null&&n.schedule(n.ref)},hasRun:!1,cleanupFn:wf});function Q(n){return typeof n=="function"}function Vi(n){let r=n(t=>{Error.call(t),t.stack=new Error().stack});return r.prototype=Object.create(Error.prototype),r.prototype.constructor=r,r}var El=Vi(n=>function(r){n(this),this.message=r?"".concat(r.length," errors occurred during unsubscription:\n").concat(r.map((t,i)=>"".concat(i+1,") ").concat(t.toString())).join("\n ")):"",this.name="UnsubscriptionError",this.errors=r});function Er(n,e){if(n){let r=n.indexOf(e);0<=r&&n.splice(r,1)}}var fe=class n{constructor(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let e;if(!this.closed){this.closed=!0;let{_parentage:r}=this;if(r)if(this._parentage=null,Array.isArray(r))for(let o of r)o.remove(this);else r.remove(this);let{initialTeardown:t}=this;if(Q(t))try{t()}catch(o){e=o instanceof El?o.errors:[o]}let{_finalizers:i}=this;if(i){this._finalizers=null;for(let o of i)try{rv(o)}catch(s){e=e!=null?e:[],s instanceof El?e=[...e,...s.errors]:e.push(s)}}if(e)throw new El(e)}}add(e){var r;if(e&&e!==this)if(this.closed)rv(e);else{if(e instanceof n){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=(r=this._finalizers)!==null&&r!==void 0?r:[]).push(e)}}_hasParent(e){let{_parentage:r}=this;return r===e||Array.isArray(r)&&r.includes(e)}_addParent(e){let{_parentage:r}=this;this._parentage=Array.isArray(r)?(r.push(e),r):r?[r,e]:e}_removeParent(e){let{_parentage:r}=this;r===e?this._parentage=null:Array.isArray(r)&&Er(r,e)}remove(e){let{_finalizers:r}=this;r&&Er(r,e),e instanceof n&&e._removeParent(this)}};fe.EMPTY=(()=>{let n=new fe;return n.closed=!0,n})();var Mf=fe.EMPTY;function Il(n){return n instanceof fe||n&&"closed"in n&&Q(n.remove)&&Q(n.add)&&Q(n.unsubscribe)}function rv(n){Q(n)?n():n.unsubscribe()}var vn={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var po={setTimeout(n,e,...r){let{delegate:t}=po;return t!=null&&t.setTimeout?t.setTimeout(n,e,...r):setTimeout(n,e,...r)},clearTimeout(n){let{delegate:e}=po;return((e==null?void 0:e.clearTimeout)||clearTimeout)(n)},delegate:void 0};function Ml(n){po.setTimeout(()=>{let{onUnhandledError:e}=vn;if(e)e(n);else throw n})}function Ir(){}var ov=Sf("C",void 0,void 0);function sv(n){return Sf("E",void 0,n)}function av(n){return Sf("N",n,void 0)}function Sf(n,e,r){return{kind:n,value:e,error:r}}var Mr=null;function go(n){if(vn.useDeprecatedSynchronousErrorHandling){let e=!Mr;if(e&&(Mr={errorThrown:!1,error:null}),n(),e){let{errorThrown:r,error:t}=Mr;if(Mr=null,r)throw t}}else n()}function lv(n){vn.useDeprecatedSynchronousErrorHandling&&Mr&&(Mr.errorThrown=!0,Mr.error=n)}var Sr=class extends fe{constructor(e){super(),this.isStopped=!1,e?(this.destination=e,Il(e)&&e.add(this)):this.destination=CI}static create(e,r,t){return new _n(e,r,t)}next(e){this.isStopped?Af(av(e),this):this._next(e)}error(e){this.isStopped?Af(sv(e),this):(this.isStopped=!0,this._error(e))}complete(){this.isStopped?Af(ov,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(e){this.destination.next(e)}_error(e){try{this.destination.error(e)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},xI=Function.prototype.bind;function Tf(n,e){return xI.call(n,e)}var kf=class{constructor(e){this.partialObserver=e}next(e){let{partialObserver:r}=this;if(r.next)try{r.next(e)}catch(t){Sl(t)}}error(e){let{partialObserver:r}=this;if(r.error)try{r.error(e)}catch(t){Sl(t)}else Sl(e)}complete(){let{partialObserver:e}=this;if(e.complete)try{e.complete()}catch(r){Sl(r)}}},_n=class extends Sr{constructor(e,r,t){super();let i;if(Q(e)||!e)i={next:e!=null?e:void 0,error:r!=null?r:void 0,complete:t!=null?t:void 0};else{let o;this&&vn.useDeprecatedNextContext?(o=Object.create(e),o.unsubscribe=()=>this.unsubscribe(),i={next:e.next&&Tf(e.next,o),error:e.error&&Tf(e.error,o),complete:e.complete&&Tf(e.complete,o)}):i=e}this.destination=new kf(i)}};function Sl(n){vn.useDeprecatedSynchronousErrorHandling?lv(n):Ml(n)}function wI(n){throw n}function Af(n,e){let{onStoppedNotification:r}=vn;r&&po.setTimeout(()=>r(n,e))}var CI={closed:!0,next:Ir,error:wI,complete:Ir};var bo=typeof Symbol=="function"&&Symbol.observable||"@@observable";function kt(n){return n}function Of(...n){return Rf(n)}function Rf(n){return n.length===0?kt:n.length===1?n[0]:function(r){return n.reduce((t,i)=>i(t),r)}}var se=(()=>{class n{constructor(r){r&&(this._subscribe=r)}lift(r){let t=new n;return t.source=this,t.operator=r,t}subscribe(r,t,i){let o=EI(r)?r:new _n(r,t,i);return go(()=>{let{operator:s,source:a}=this;o.add(s?s.call(o,a):a?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(r){try{return this._subscribe(r)}catch(t){r.error(t)}}forEach(r,t){return t=cv(t),new t((i,o)=>{let s=new _n({next:a=>{try{r(a)}catch(l){o(l),s.unsubscribe()}},error:o,complete:i});this.subscribe(s)})}_subscribe(r){var t;return(t=this.source)===null||t===void 0?void 0:t.subscribe(r)}[bo](){return this}pipe(...r){return Rf(r)(this)}toPromise(r){return r=cv(r),new r((t,i)=>{let o;this.subscribe(s=>o=s,s=>i(s),()=>t(o))})}}return n.create=e=>new n(e),n})();function cv(n){var e;return(e=n!=null?n:vn.Promise)!==null&&e!==void 0?e:Promise}function DI(n){return n&&Q(n.next)&&Q(n.error)&&Q(n.complete)}function EI(n){return n&&n instanceof Sr||DI(n)&&Il(n)}function Nf(n){return Q(n==null?void 0:n.lift)}function J(n){return e=>{if(Nf(e))return e.lift(function(r){try{return n(r,this)}catch(t){this.error(t)}});throw new TypeError("Unable to lift unknown Observable type")}}function X(n,e,r,t,i){return new Pf(n,e,r,t,i)}var Pf=class extends Sr{constructor(e,r,t,i,o,s){super(e),this.onFinalize=o,this.shouldUnsubscribe=s,this._next=r?function(a){try{r(a)}catch(l){e.error(l)}}:super._next,this._error=i?function(a){try{i(a)}catch(l){e.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=t?function(){try{t()}catch(a){e.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var e;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:r}=this;super.unsubscribe(),!r&&((e=this.onFinalize)===null||e===void 0||e.call(this))}}};function vo(){return J((n,e)=>{let r=null;n._refCount++;let t=X(e,void 0,void 0,void 0,()=>{if(!n||n._refCount<=0||0<--n._refCount){r=null;return}let i=n._connection,o=r;r=null,i&&(!o||i===o)&&i.unsubscribe(),e.unsubscribe()});n.subscribe(t),t.closed||(r=n.connect())})}var Tr=class extends se{constructor(e,r){super(),this.source=e,this.subjectFactory=r,this._subject=null,this._refCount=0,this._connection=null,Nf(e)&&(this.lift=e.lift)}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){let e=this._subject;return(!e||e.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:e}=this;this._subject=this._connection=null,e==null||e.unsubscribe()}connect(){let e=this._connection;if(!e){e=this._connection=new fe;let r=this.getSubject();e.add(this.source.subscribe(X(r,void 0,()=>{this._teardown(),r.complete()},t=>{this._teardown(),r.error(t)},()=>this._teardown()))),e.closed&&(this._connection=null,e=fe.EMPTY)}return e}refCount(){return vo()(this)}};var dv=Vi(n=>function(){n(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var A=(()=>{class n extends se{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(r){let t=new Tl(this,this);return t.operator=r,t}_throwIfClosed(){if(this.closed)throw new dv}next(r){go(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let t of this.currentObservers)t.next(r)}})}error(r){go(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=r;let{observers:t}=this;for(;t.length;)t.shift().error(r)}})}complete(){go(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:r}=this;for(;r.length;)r.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var r;return((r=this.observers)===null||r===void 0?void 0:r.length)>0}_trySubscribe(r){return this._throwIfClosed(),super._trySubscribe(r)}_subscribe(r){return this._throwIfClosed(),this._checkFinalizedStatuses(r),this._innerSubscribe(r)}_innerSubscribe(r){let{hasError:t,isStopped:i,observers:o}=this;return t||i?Mf:(this.currentObservers=null,o.push(r),new fe(()=>{this.currentObservers=null,Er(o,r)}))}_checkFinalizedStatuses(r){let{hasError:t,thrownError:i,isStopped:o}=this;t?r.error(i):o&&r.complete()}asObservable(){let r=new se;return r.source=this,r}}return n.create=(e,r)=>new Tl(e,r),n})(),Tl=class extends A{constructor(e,r){super(),this.destination=e,this.source=r}next(e){var r,t;(t=(r=this.destination)===null||r===void 0?void 0:r.next)===null||t===void 0||t.call(r,e)}error(e){var r,t;(t=(r=this.destination)===null||r===void 0?void 0:r.error)===null||t===void 0||t.call(r,e)}complete(){var e,r;(r=(e=this.destination)===null||e===void 0?void 0:e.complete)===null||r===void 0||r.call(e)}_subscribe(e){var r,t;return(t=(r=this.source)===null||r===void 0?void 0:r.subscribe(e))!==null&&t!==void 0?t:Mf}};var dt=class extends A{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){let r=super._subscribe(e);return!r.closed&&e.next(this._value),r}getValue(){let{hasError:e,thrownError:r,_value:t}=this;if(e)throw r;return this._throwIfClosed(),t}next(e){super.next(this._value=e)}};var Rs={now(){return(Rs.delegate||Date).now()},delegate:void 0};var Al=class extends A{constructor(e=1/0,r=1/0,t=Rs){super(),this._bufferSize=e,this._windowTime=r,this._timestampProvider=t,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=r===1/0,this._bufferSize=Math.max(1,e),this._windowTime=Math.max(1,r)}next(e){let{isStopped:r,_buffer:t,_infiniteTimeWindow:i,_timestampProvider:o,_windowTime:s}=this;r||(t.push(e),!i&&t.push(o.now()+s)),this._trimBuffer(),super.next(e)}_subscribe(e){this._throwIfClosed(),this._trimBuffer();let r=this._innerSubscribe(e),{_infiniteTimeWindow:t,_buffer:i}=this,o=i.slice();for(let s=0;suv(e)&&n()),e},clearImmediate(n){uv(n)}};var{setImmediate:MI,clearImmediate:SI}=fv,Ps={setImmediate(...n){let{delegate:e}=Ps;return((e==null?void 0:e.setImmediate)||MI)(...n)},clearImmediate(n){let{delegate:e}=Ps;return((e==null?void 0:e.clearImmediate)||SI)(n)},delegate:void 0};var Ol=class extends _o{constructor(e,r){super(e,r),this.scheduler=e,this.work=r}requestAsyncId(e,r,t=0){return t!==null&&t>0?super.requestAsyncId(e,r,t):(e.actions.push(this),e._scheduled||(e._scheduled=Ps.setImmediate(e.flush.bind(e,void 0))))}recycleAsyncId(e,r,t=0){var i;if(t!=null?t>0:this.delay>0)return super.recycleAsyncId(e,r,t);let{actions:o}=e;r!=null&&((i=o[o.length-1])===null||i===void 0?void 0:i.id)!==r&&(Ps.clearImmediate(r),e._scheduled===r&&(e._scheduled=void 0))}};var yo=class n{constructor(e,r=n.now){this.schedulerActionCtor=e,this.now=r}schedule(e,r=0,t){return new this.schedulerActionCtor(this,e).schedule(t,r)}};yo.now=Rs.now;var xo=class extends yo{constructor(e,r=yo.now){super(e,r),this.actions=[],this._active=!1}flush(e){let{actions:r}=this;if(this._active){r.push(e);return}let t;this._active=!0;do if(t=e.execute(e.state,e.delay))break;while(e=r.shift());if(this._active=!1,t){for(;e=r.shift();)e.unsubscribe();throw t}}};var Rl=class extends xo{flush(e){this._active=!0;let r=this._scheduled;this._scheduled=void 0;let{actions:t}=this,i;e=e||t.shift();do if(i=e.execute(e.state,e.delay))break;while((e=t[0])&&e.id===r&&t.shift());if(this._active=!1,i){for(;(e=t[0])&&e.id===r&&t.shift();)e.unsubscribe();throw i}}};var Fs=new Rl(Ol);var yn=new xo(_o),hv=yn;var ut=new se(n=>n.complete());function Nl(n){return n&&Q(n.schedule)}function jf(n){return n[n.length-1]}function Pl(n){return Q(jf(n))?n.pop():void 0}function jn(n){return Nl(jf(n))?n.pop():void 0}function mv(n,e){return typeof jf(n)=="number"?n.pop():e}function gv(n,e,r,t){function i(o){return o instanceof r?o:new r(function(s){s(o)})}return new(r||(r=Promise))(function(o,s){function a(d){try{c(t.next(d))}catch(u){s(u)}}function l(d){try{c(t.throw(d))}catch(u){s(u)}}function c(d){d.done?o(d.value):i(d.value).then(a,l)}c((t=t.apply(n,e||[])).next())})}function pv(n){var e=typeof Symbol=="function"&&Symbol.iterator,r=e&&n[e],t=0;if(r)return r.call(n);if(n&&typeof n.length=="number")return{next:function(){return n&&t>=n.length&&(n=void 0),{value:n&&n[t++],done:!n}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function Ar(n){return this instanceof Ar?(this.v=n,this):new Ar(n)}function bv(n,e,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=r.apply(n,e||[]),i,o=[];return i={},s("next"),s("throw"),s("return"),i[Symbol.asyncIterator]=function(){return this},i;function s(f){t[f]&&(i[f]=function(m){return new Promise(function(g,_){o.push([f,m,g,_])>1||a(f,m)})})}function a(f,m){try{l(t[f](m))}catch(g){u(o[0][3],g)}}function l(f){f.value instanceof Ar?Promise.resolve(f.value.v).then(c,d):u(o[0][2],f)}function c(f){a("next",f)}function d(f){a("throw",f)}function u(f,m){f(m),o.shift(),o.length&&a(o[0][0],o[0][1])}}function vv(n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=n[Symbol.asyncIterator],r;return e?e.call(n):(n=typeof pv=="function"?pv(n):n[Symbol.iterator](),r={},t("next"),t("throw"),t("return"),r[Symbol.asyncIterator]=function(){return this},r);function t(o){r[o]=n[o]&&function(s){return new Promise(function(a,l){s=n[o](s),i(a,l,s.done,s.value)})}}function i(o,s,a,l){Promise.resolve(l).then(function(c){o({value:c,done:a})},s)}}var wo=n=>n&&typeof n.length=="number"&&typeof n!="function";function Fl(n){return Q(n==null?void 0:n.then)}function Ll(n){return Q(n[bo])}function jl(n){return Symbol.asyncIterator&&Q(n==null?void 0:n[Symbol.asyncIterator])}function Vl(n){return new TypeError("You provided ".concat(n!==null&&typeof n=="object"?"an invalid object":"'".concat(n,"'")," where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable."))}function TI(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Bl=TI();function Ul(n){return Q(n==null?void 0:n[Bl])}function zl(n){return bv(this,arguments,function*(){let r=n.getReader();try{for(;;){let{value:t,done:i}=yield Ar(r.read());if(i)return yield Ar(void 0);yield yield Ar(t)}}finally{r.releaseLock()}})}function Hl(n){return Q(n==null?void 0:n.getReader)}function Se(n){if(n instanceof se)return n;if(n!=null){if(Ll(n))return AI(n);if(wo(n))return kI(n);if(Fl(n))return OI(n);if(jl(n))return _v(n);if(Ul(n))return RI(n);if(Hl(n))return NI(n)}throw Vl(n)}function AI(n){return new se(e=>{let r=n[bo]();if(Q(r.subscribe))return r.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function kI(n){return new se(e=>{for(let r=0;r{n.then(r=>{e.closed||(e.next(r),e.complete())},r=>e.error(r)).then(null,Ml)})}function RI(n){return new se(e=>{for(let r of n)if(e.next(r),e.closed)return;e.complete()})}function _v(n){return new se(e=>{PI(n,e).catch(r=>e.error(r))})}function NI(n){return _v(zl(n))}function PI(n,e){var r,t,i,o;return gv(this,void 0,void 0,function*(){try{for(r=vv(n);t=yield r.next(),!t.done;){let s=t.value;if(e.next(s),e.closed)return}}catch(s){i={error:s}}finally{try{t&&!t.done&&(o=r.return)&&(yield o.call(r))}finally{if(i)throw i.error}}e.complete()})}function wt(n,e,r,t=0,i=!1){let o=e.schedule(function(){r(),i?n.add(this.schedule(null,t)):this.unsubscribe()},t);if(n.add(o),!i)return o}function $l(n,e=0){return J((r,t)=>{r.subscribe(X(t,i=>wt(t,n,()=>t.next(i),e),()=>wt(t,n,()=>t.complete(),e),i=>wt(t,n,()=>t.error(i),e)))})}function Wl(n,e=0){return J((r,t)=>{t.add(n.schedule(()=>r.subscribe(t),e))})}function yv(n,e){return Se(n).pipe(Wl(e),$l(e))}function xv(n,e){return Se(n).pipe(Wl(e),$l(e))}function wv(n,e){return new se(r=>{let t=0;return e.schedule(function(){t===n.length?r.complete():(r.next(n[t++]),r.closed||this.schedule())})})}function Cv(n,e){return new se(r=>{let t;return wt(r,e,()=>{t=n[Bl](),wt(r,e,()=>{let i,o;try{({value:i,done:o}=t.next())}catch(s){r.error(s);return}o?r.complete():r.next(i)},0,!0)}),()=>Q(t==null?void 0:t.return)&&t.return()})}function Gl(n,e){if(!n)throw new Error("Iterable cannot be null");return new se(r=>{wt(r,e,()=>{let t=n[Symbol.asyncIterator]();wt(r,e,()=>{t.next().then(i=>{i.done?r.complete():r.next(i.value)})},0,!0)})})}function Dv(n,e){return Gl(zl(n),e)}function Ev(n,e){if(n!=null){if(Ll(n))return yv(n,e);if(wo(n))return wv(n,e);if(Fl(n))return xv(n,e);if(jl(n))return Gl(n,e);if(Ul(n))return Cv(n,e);if(Hl(n))return Dv(n,e)}throw Vl(n)}function je(n,e){return e?Ev(n,e):Se(n)}function H(...n){let e=jn(n);return je(n,e)}function Co(n,e){let r=Q(n)?n:()=>n,t=i=>i.error(r());return new se(e?i=>e.schedule(t,0,i):t)}function Ls(n){return!!n&&(n instanceof se||Q(n.lift)&&Q(n.subscribe))}var xn=Vi(n=>function(){n(this),this.name="EmptyError",this.message="no elements in sequence"});function ql(n,e){let r=typeof e=="object";return new Promise((t,i)=>{let o=new _n({next:s=>{t(s),o.unsubscribe()},error:i,complete:()=>{r?t(e.defaultValue):i(new xn)}});n.subscribe(o)})}function Yl(n){return n instanceof Date&&!isNaN(n)}var FI=Vi(n=>function(r=null){n(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=r});function Vf(n,e){let{first:r,each:t,with:i=LI,scheduler:o=e!=null?e:yn,meta:s=null}=Yl(n)?{first:n}:typeof n=="number"?{each:n}:n;if(r==null&&t==null)throw new TypeError("No timeout provided.");return J((a,l)=>{let c,d,u=null,f=0,m=g=>{d=wt(l,o,()=>{try{c.unsubscribe(),Se(i({meta:s,lastValue:u,seen:f})).subscribe(l)}catch(_){l.error(_)}},g)};c=a.subscribe(X(l,g=>{d==null||d.unsubscribe(),f++,l.next(u=g),t>0&&m(t)},void 0,void 0,()=>{d!=null&&d.closed||d==null||d.unsubscribe(),u=null})),!f&&m(r!=null?typeof r=="number"?r:+r-o.now():t)})}function LI(n){throw new FI(n)}function K(n,e){return J((r,t)=>{let i=0;r.subscribe(X(t,o=>{t.next(n.call(e,o,i++))}))})}var{isArray:jI}=Array;function VI(n,e){return jI(e)?n(...e):n(e)}function Do(n){return K(e=>VI(n,e))}var{isArray:BI}=Array,{getPrototypeOf:UI,prototype:zI,keys:HI}=Object;function Zl(n){if(n.length===1){let e=n[0];if(BI(e))return{args:e,keys:null};if($I(e)){let r=HI(e);return{args:r.map(t=>e[t]),keys:r}}}return{args:n,keys:null}}function $I(n){return n&&typeof n=="object"&&UI(n)===zI}function Ql(n,e){return n.reduce((r,t,i)=>(r[t]=e[i],r),{})}function kr(...n){let e=jn(n),r=Pl(n),{args:t,keys:i}=Zl(n);if(t.length===0)return je([],e);let o=new se(WI(t,e,i?s=>Ql(i,s):kt));return r?o.pipe(Do(r)):o}function WI(n,e,r=kt){return t=>{Iv(e,()=>{let{length:i}=n,o=new Array(i),s=i,a=i;for(let l=0;l{let c=je(n[l],e),d=!1;c.subscribe(X(t,u=>{o[l]=u,d||(d=!0,a--),a||t.next(r(o.slice()))},()=>{--s||t.complete()}))},t)},t)}}function Iv(n,e,r){n?wt(r,n,e):e()}function Mv(n,e,r,t,i,o,s,a){let l=[],c=0,d=0,u=!1,f=()=>{u&&!l.length&&!c&&e.complete()},m=_=>c{o&&e.next(_),c++;let C=!1;Se(r(_,d++)).subscribe(X(e,S=>{i==null||i(S),o?m(S):e.next(S)},()=>{C=!0},void 0,()=>{if(C)try{for(c--;l.length&&cg(S)):g(S)}f()}catch(S){e.error(S)}}))};return n.subscribe(X(e,m,()=>{u=!0,f()})),()=>{a==null||a()}}function Ze(n,e,r=1/0){return Q(e)?Ze((t,i)=>K((o,s)=>e(t,o,i,s))(Se(n(t,i))),r):(typeof e=="number"&&(r=e),J((t,i)=>Mv(t,i,n,r)))}function Bi(n=1/0){return Ze(kt,n)}function Sv(){return Bi(1)}function Vn(...n){return Sv()(je(n,jn(n)))}function Bn(n){return new se(e=>{Se(n()).subscribe(e)})}function Bf(...n){let e=Pl(n),{args:r,keys:t}=Zl(n),i=new se(o=>{let{length:s}=r;if(!s){o.complete();return}let a=new Array(s),l=s,c=s;for(let d=0;d{u||(u=!0,c--),a[d]=f},()=>l--,void 0,()=>{(!l||!u)&&(c||o.next(t?Ql(t,a):a),o.complete())}))}});return e?i.pipe(Do(e)):i}var GI=["addListener","removeListener"],qI=["addEventListener","removeEventListener"],YI=["on","off"];function mi(n,e,r,t){if(Q(r)&&(t=r,r=void 0),t)return mi(n,e,r).pipe(Do(t));let[i,o]=KI(n)?qI.map(s=>a=>n[s](e,a,r)):ZI(n)?GI.map(Tv(n,e)):QI(n)?YI.map(Tv(n,e)):[];if(!i&&wo(n))return Ze(s=>mi(s,e,r))(Se(n));if(!i)throw new TypeError("Invalid event target");return new se(s=>{let a=(...l)=>s.next(1o(a)})}function Tv(n,e){return r=>t=>n[r](e,t)}function ZI(n){return Q(n.addListener)&&Q(n.removeListener)}function QI(n){return Q(n.on)&&Q(n.off)}function KI(n){return Q(n.addEventListener)&&Q(n.removeEventListener)}function Eo(n=0,e,r=hv){let t=-1;return e!=null&&(Nl(e)?r=e:t=e),new se(i=>{let o=Yl(n)?+n-r.now():n;o<0&&(o=0);let s=0;return r.schedule(function(){i.closed||(i.next(s++),0<=t?this.schedule(void 0,t):i.complete())},o)})}function Uf(n=0,e=yn){return n<0&&(n=0),Eo(n,n,e)}function vt(...n){let e=jn(n),r=mv(n,1/0),t=n;return t.length?t.length===1?Se(t[0]):Bi(r)(je(t,e)):ut}function le(n,e){return J((r,t)=>{let i=0;r.subscribe(X(t,o=>n.call(e,o,i++)&&t.next(o)))})}function Av(n){return J((e,r)=>{let t=!1,i=null,o=null,s=!1,a=()=>{if(o==null||o.unsubscribe(),o=null,t){t=!1;let c=i;i=null,r.next(c)}s&&r.complete()},l=()=>{o=null,s&&r.complete()};e.subscribe(X(r,c=>{t=!0,i=c,o||Se(n(c)).subscribe(o=X(r,a,l))},()=>{s=!0,(!t||!o||o.closed)&&r.complete()}))})}function Kl(n,e=yn){return Av(()=>Eo(n,e))}function Ui(n){return J((e,r)=>{let t=null,i=!1,o;t=e.subscribe(X(r,void 0,void 0,s=>{o=Se(n(s,Ui(n)(e))),t?(t.unsubscribe(),t=null,o.subscribe(r)):i=!0})),i&&(t.unsubscribe(),t=null,o.subscribe(r))})}function kv(n,e,r,t,i){return(o,s)=>{let a=r,l=e,c=0;o.subscribe(X(s,d=>{let u=c++;l=a?n(l,d,u):(a=!0,d),t&&s.next(l)},i&&(()=>{a&&s.next(l),s.complete()})))}}function pi(n,e){return Q(e)?Ze(n,e,1):Ze(n,1)}function Or(n,e=yn){return J((r,t)=>{let i=null,o=null,s=null,a=()=>{if(i){i.unsubscribe(),i=null;let c=o;o=null,t.next(c)}};function l(){let c=s+n,d=e.now();if(d{o=c,s=e.now(),i||(i=e.schedule(l,n),t.add(i))},()=>{a(),t.complete()},void 0,()=>{o=i=null}))})}function zi(n){return J((e,r)=>{let t=!1;e.subscribe(X(r,i=>{t=!0,r.next(i)},()=>{t||r.next(n),r.complete()}))})}function Ve(n){return n<=0?()=>ut:J((e,r)=>{let t=0;e.subscribe(X(r,i=>{++t<=n&&(r.next(i),n<=t&&r.complete())}))})}function Ov(){return J((n,e)=>{n.subscribe(X(e,Ir))})}function js(n){return K(()=>n)}function zf(n,e){return e?r=>Vn(e.pipe(Ve(1),Ov()),r.pipe(zf(n))):Ze((r,t)=>Se(n(r,t)).pipe(Ve(1),js(r)))}function Xl(n,e=yn){let r=Eo(n,e);return zf(()=>r)}function Hi(n,e=kt){return n=n!=null?n:XI,J((r,t)=>{let i,o=!0;r.subscribe(X(t,s=>{let a=e(s);(o||!n(i,a))&&(o=!1,i=a,t.next(s))}))})}function XI(n,e){return n===e}function Jl(n=JI){return J((e,r)=>{let t=!1;e.subscribe(X(r,i=>{t=!0,r.next(i)},()=>t?r.complete():r.error(n())))})}function JI(){return new xn}function $i(n){return J((e,r)=>{try{e.subscribe(r)}finally{r.add(n)}})}function Un(n,e){let r=arguments.length>=2;return t=>t.pipe(n?le((i,o)=>n(i,o,t)):kt,Ve(1),r?zi(e):Jl(()=>new xn))}function Io(n){return n<=0?()=>ut:J((e,r)=>{let t=[];e.subscribe(X(r,i=>{t.push(i),n{for(let i of t)r.next(i);r.complete()},void 0,()=>{t=null}))})}function Hf(n,e){let r=arguments.length>=2;return t=>t.pipe(n?le((i,o)=>n(i,o,t)):kt,Io(1),r?zi(e):Jl(()=>new xn))}function $f(n,e){return J(kv(n,e,arguments.length>=2,!0))}function Rv(n={}){let{connector:e=()=>new A,resetOnError:r=!0,resetOnComplete:t=!0,resetOnRefCountZero:i=!0}=n;return o=>{let s,a,l,c=0,d=!1,u=!1,f=()=>{a==null||a.unsubscribe(),a=void 0},m=()=>{f(),s=l=void 0,d=u=!1},g=()=>{let _=s;m(),_==null||_.unsubscribe()};return J((_,C)=>{c++,!u&&!d&&f();let S=l=l!=null?l:e();C.add(()=>{c--,c===0&&!u&&!d&&(a=Wf(g,i))}),S.subscribe(C),!s&&c>0&&(s=new _n({next:B=>S.next(B),error:B=>{u=!0,f(),a=Wf(m,r,B),S.error(B)},complete:()=>{d=!0,f(),a=Wf(m,t),S.complete()}}),Se(_).subscribe(s))})(o)}}function Wf(n,e,...r){if(e===!0){n();return}if(e===!1)return;let t=new _n({next:()=>{t.unsubscribe(),n()}});return Se(e(...r)).subscribe(t)}function ec(n,e,r){let t,i=!1;return n&&typeof n=="object"?{bufferSize:t=1/0,windowTime:e=1/0,refCount:i=!1,scheduler:r}=n:t=n!=null?n:1/0,Rv({connector:()=>new Al(t,e,r),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:i})}function Vs(n){return le((e,r)=>n<=r)}function at(...n){let e=jn(n);return J((r,t)=>{(e?Vn(n,r,e):Vn(n,r)).subscribe(t)})}function it(n,e){return J((r,t)=>{let i=null,o=0,s=!1,a=()=>s&&!i&&t.complete();r.subscribe(X(t,l=>{i==null||i.unsubscribe();let c=0,d=o++;Se(n(l,d)).subscribe(i=X(t,u=>t.next(e?e(l,u,d,c++):u),()=>{i=null,a()}))},()=>{s=!0,a()}))})}function Ie(n){return J((e,r)=>{Se(n).subscribe(X(r,()=>r.complete(),Ir)),!r.closed&&e.subscribe(r)})}function Gf(n,e=!1){return J((r,t)=>{let i=0;r.subscribe(X(t,o=>{let s=n(o,i++);(s||e)&&t.next(o),!s&&t.complete()}))})}function et(n,e,r){let t=Q(n)||e||r?{next:n,error:e,complete:r}:n;return t?J((i,o)=>{var s;(s=t.subscribe)===null||s===void 0||s.call(t);let a=!0;i.subscribe(X(o,l=>{var c;(c=t.next)===null||c===void 0||c.call(t,l),o.next(l)},()=>{var l;a=!1,(l=t.complete)===null||l===void 0||l.call(t),o.complete()},l=>{var c;a=!1,(c=t.error)===null||c===void 0||c.call(t,l),o.error(l)},()=>{var l,c;a&&((l=t.unsubscribe)===null||l===void 0||l.call(t)),(c=t.finalize)===null||c===void 0||c.call(t)}))}):kt}var C_="https://g.co/ng/security#xss",T=class extends Error{constructor(e,r){super(zc(e,r)),this.code=e}};function zc(n,e){let r="NG0".concat(Math.abs(n));return"".concat(r).concat(e?": "+e:"")}function Qs(n){return{toString:n}.toString()}var tc="__parameters__";function eM(n){return function(...r){if(n){let t=n(...r);for(let i in t)this[i]=t[i]}}}function D_(n,e,r){return Qs(()=>{let t=eM(e);function i(...o){if(this instanceof i)return t.apply(this,o),this;let s=new i(...o);return a.annotation=s,a;function a(l,c,d){let u=l.hasOwnProperty(tc)?l[tc]:Object.defineProperty(l,tc,{value:[]})[tc];for(;u.length<=d;)u.push(null);return(u[d]=u[d]||[]).push(s),l}}return r&&(i.prototype=Object.create(r.prototype)),i.prototype.ngMetadataName=n,i.annotationCls=i,i})}var Rt=globalThis;function Be(n){for(let e in n)if(n[e]===Be)return e;throw Error("Could not find renamed property on target object.")}function tM(n,e){for(let r in e)e.hasOwnProperty(r)&&!n.hasOwnProperty(r)&&(n[r]=e[r])}function Ot(n){if(typeof n=="string")return n;if(Array.isArray(n))return"["+n.map(Ot).join(", ")+"]";if(n==null)return""+n;if(n.overriddenName)return"".concat(n.overriddenName);if(n.name)return"".concat(n.name);let e=n.toString();if(e==null)return""+e;let r=e.indexOf("\n");return r===-1?e:e.substring(0,r)}function oh(n,e){return n==null||n===""?e===null?"":e:e==null||e===""?n:n+" "+e}var nM=Be({__forward_ref__:Be});function _i(n){return n.__forward_ref__=_i,n.toString=function(){return Ot(this())},n}function _t(n){return E_(n)?n():n}function E_(n){return typeof n=="function"&&n.hasOwnProperty(nM)&&n.__forward_ref__===_i}function I(n){return{token:n.token,providedIn:n.providedIn||null,factory:n.factory,value:void 0}}function L(n){return{providers:n.providers||[],imports:n.imports||[]}}function Hc(n){return Nv(n,M_)||Nv(n,S_)}function I_(n){return Hc(n)!==null}function Nv(n,e){return n.hasOwnProperty(e)?n[e]:null}function iM(n){let e=n&&(n[M_]||n[S_]);return e||null}function Pv(n){return n&&(n.hasOwnProperty(Fv)||n.hasOwnProperty(rM))?n[Fv]:null}var M_=Be({\u0275prov:Be}),Fv=Be({\u0275inj:Be}),S_=Be({ngInjectableDef:Be}),rM=Be({ngInjectorDef:Be}),E=class{constructor(e,r){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,typeof r=="number"?this.__NG_ELEMENT_ID__=r:r!==void 0&&(this.\u0275prov=I({token:this,providedIn:r.providedIn||"root",factory:r.factory}))}get multi(){return this}toString(){return"InjectionToken ".concat(this._desc)}};function T_(n){return n&&!!n.\u0275providers}var oM=Be({\u0275cmp:Be}),sM=Be({\u0275dir:Be}),aM=Be({\u0275pipe:Be}),lM=Be({\u0275mod:Be}),mc=Be({\u0275fac:Be}),Bs=Be({__NG_ELEMENT_ID__:Be}),Lv=Be({__NG_ENV_ID__:Be});function $n(n){return typeof n=="string"?n:n==null?"":String(n)}function cM(n){return typeof n=="function"?n.name||n.toString():typeof n=="object"&&n!=null&&typeof n.type=="function"?n.type.name||n.type.toString():$n(n)}function dM(n,e){let r=e?". Dependency path: ".concat(e.join(" > ")," > ").concat(n):"";throw new T(-200,n)}function rm(n,e){throw new T(-201,!1)}var ye=function(n){return n[n.Default=0]="Default",n[n.Host=1]="Host",n[n.Self=2]="Self",n[n.SkipSelf=4]="SkipSelf",n[n.Optional=8]="Optional",n}(ye||{}),sh;function A_(){return sh}function Ft(n){let e=sh;return sh=n,e}function k_(n,e,r){let t=Hc(n);if(t&&t.providedIn=="root")return t.value===void 0?t.value=t.factory():t.value;if(r&ye.Optional)return null;if(e!==void 0)return e;rm(n,"Injector")}var uM={},zs=uM,ah="__NG_DI_FLAG__",pc="ngTempTokenPath",fM="ngTokenPath",hM=/\n/gm,mM="\u0275",jv="__source",Ao;function pM(){return Ao}function Wi(n){let e=Ao;return Ao=n,e}function gM(n,e=ye.Default){if(Ao===void 0)throw new T(-203,!1);return Ao===null?k_(n,void 0,e):Ao.get(n,e&ye.Optional?null:void 0,e)}function v(n,e=ye.Default){return(A_()||gM)(_t(n),e)}function y(n,e=ye.Default){return v(n,$c(e))}function $c(n){return typeof n>"u"||typeof n=="number"?n:0|(n.optional&&8)|(n.host&&1)|(n.self&&2)|(n.skipSelf&&4)}function lh(n){let e=[];for(let r=0;r ");else if(typeof e=="object"){let o=[];for(let s in e)if(e.hasOwnProperty(s)){let a=e[s];o.push(s+":"+(typeof a=="string"?JSON.stringify(a):Ot(a)))}i="{".concat(o.join(", "),"}")}return"".concat(r).concat(t?"("+t+")":"","[").concat(i,"]: ").concat(n.replace(hM,"\n "))}var Wc=O_(D_("Optional"),8);var om=O_(D_("SkipSelf"),4);function Lr(n,e){let r=n.hasOwnProperty(mc);return r?n[mc]:null}function yM(n,e,r){if(n.length!==e.length)return!1;for(let t=0;tArray.isArray(r)?sm(r,e):e(r))}function R_(n,e,r){e>=n.length?n.push(r):n.splice(e,0,r)}function gc(n,e){return e>=n.length-1?n.pop():n.splice(e,1)[0]}function wM(n,e){let r=[];for(let t=0;te;){let o=i-2;n[i]=n[o],i--}n[e]=r,n[e+1]=t}}function Gc(n,e,r){let t=Ks(n,e);return t>=0?n[t|1]=r:(t=~t,CM(n,t,e,r)),t}function qf(n,e){let r=Ks(n,e);if(r>=0)return n[r|1]}function Ks(n,e){return DM(n,e,1)}function DM(n,e,r){let t=0,i=n.length>>r;for(;i!==t;){let o=t+(i-t>>1),s=n[o<e?i=o:t=o+1}return~(i<e){s=o-1;break}}}for(;o-1){let o;for(;++io?u="":u=i[d+1].toLowerCase(),t&2&&c!==u){if(wn(t))return!1;s=!0}}}}return wn(t)||s}function wn(n){return(n&1)===0}function AM(n,e,r,t){if(e===null)return-1;let i=0;if(t||!r){let o=!1;for(;i-1)for(r++;r0?'="'+a+'"':"")+"]"}else t&8?i+="."+s:t&4&&(i+=" "+s);else i!==""&&!wn(s)&&(e+=Bv(o,i),i=""),t=s,o=o||!wn(t);r++}return i!==""&&(e+=Bv(o,i)),e}function FM(n){return n.map(PM).join(",")}function LM(n){let e=[],r=[],t=1,i=2;for(;t{var i;let e=H_(n),r=_e(D({},e),{decls:n.decls,vars:n.vars,template:n.template,consts:n.consts||null,ngContentSelectors:n.ngContentSelectors,onPush:n.changeDetection===F_.OnPush,directiveDefs:null,pipeDefs:null,dependencies:e.standalone&&n.dependencies||null,getStandaloneInjector:null,signals:(i=n.signals)!=null?i:!1,data:n.data||{},encapsulation:n.encapsulation||Wn.Emulated,styles:n.styles||Lt,_:null,schemas:n.schemas||null,tView:null,id:""});$_(r);let t=n.dependencies;return r.directiveDefs=zv(t,!1),r.pipeDefs=zv(t,!0),r.id=BM(r),r})}function jM(n){return Yi(n)||cm(n)}function VM(n){return n!==null}function V(n){return Qs(()=>({type:n.type,bootstrap:n.bootstrap||Lt,declarations:n.declarations||Lt,imports:n.imports||Lt,exports:n.exports||Lt,transitiveCompileScopes:null,schemas:n.schemas||null,id:n.id||null}))}function Uv(n,e){var t;if(n==null)return gi;let r={};for(let i in n)if(n.hasOwnProperty(i)){let o=n[i],s,a,l=Po.None;Array.isArray(o)?(l=o[0],s=o[1],a=(t=o[2])!=null?t:s):(s=o,a=o),e?(r[s]=l!==Po.None?[i,l]:i,e[s]=a):r[s]=i}return r}function N(n){return Qs(()=>{let e=H_(n);return $_(e),e})}function lm(n){return{type:n.type,name:n.name,factory:null,pure:n.pure!==!1,standalone:n.standalone===!0,onDestroy:n.type.prototype.ngOnDestroy||null}}function Yi(n){return n[oM]||null}function cm(n){return n[sM]||null}function B_(n){return n[aM]||null}function U_(n){let e=Yi(n)||cm(n)||B_(n);return e!==null?e.standalone:!1}function z_(n,e){let r=n[lM]||null;if(!r&&e===!0)throw new Error("Type ".concat(Ot(n)," does not have '\u0275mod' property."));return r}function H_(n){let e={};return{type:n.type,providersResolver:null,factory:null,hostBindings:n.hostBindings||null,hostVars:n.hostVars||0,hostAttrs:n.hostAttrs||null,contentQueries:n.contentQueries||null,declaredInputs:e,inputTransforms:null,inputConfig:n.inputs||gi,exportAs:n.exportAs||null,standalone:n.standalone===!0,signals:n.signals===!0,selectors:n.selectors||Lt,viewQuery:n.viewQuery||null,features:n.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Uv(n.inputs,e),outputs:Uv(n.outputs),debugInfo:null}}function $_(n){var e;(e=n.features)==null||e.forEach(r=>r(n))}function zv(n,e){if(!n)return null;let r=e?B_:jM;return()=>(typeof n=="function"?n():n).map(t=>r(t)).filter(VM)}function BM(n){let e=0,r=[n.selectors,n.ngContentSelectors,n.hostVars,n.hostAttrs,n.consts,n.vars,n.decls,n.encapsulation,n.standalone,n.signals,n.exportAs,JSON.stringify(n.inputs),JSON.stringify(n.outputs),Object.getOwnPropertyNames(n.type.prototype),!!n.contentQueries,!!n.viewQuery].join("|");for(let i of r)e=Math.imul(31,e)+i.charCodeAt(0)<<0;return e+=2147483648,"c"+e}function qc(n){return{\u0275providers:n}}function UM(...n){return{\u0275providers:W_(!0,n),\u0275fromNgModule:!0}}function W_(n,...e){let r=[],t=new Set,i,o=s=>{r.push(s)};return sm(e,s=>{let a=s;dh(a,o,[],t)&&(i||(i=[]),i.push(a))}),i!==void 0&&G_(i,o),r}function G_(n,e){for(let r=0;r{e(o,t)})}}function dh(n,e,r,t){if(n=_t(n),!n)return!1;let i=null,o=Pv(n),s=!o&&Yi(n);if(!o&&!s){let l=n.ngModule;if(o=Pv(l),o)i=l;else return!1}else{if(s&&!s.standalone)return!1;i=n}let a=t.has(i);if(s){if(a)return!1;if(t.add(i),s.dependencies){let l=typeof s.dependencies=="function"?s.dependencies():s.dependencies;for(let c of l)dh(c,e,r,t)}}else if(o){if(o.imports!=null&&!a){t.add(i);let c;try{sm(o.imports,d=>{dh(d,e,r,t)&&(c||(c=[]),c.push(d))})}finally{}c!==void 0&&G_(c,e)}if(!a){let c=Lr(i)||(()=>new i);e({provide:i,useFactory:c,deps:Lt},i),e({provide:P_,useValue:i,multi:!0},i),e({provide:No,useValue:()=>v(i),multi:!0},i)}let l=o.providers;if(l!=null&&!a){let c=n;dm(l,d=>{e(d,c)})}}else return!1;return i!==n&&n.providers!==void 0}function dm(n,e){for(let r of n)T_(r)&&(r=r.\u0275providers),Array.isArray(r)?dm(r,e):e(r)}var zM=Be({provide:String,useValue:Be});function q_(n){return n!==null&&typeof n=="object"&&zM in n}function HM(n){return!!(n&&n.useExisting)}function $M(n){return!!(n&&n.useFactory)}function Fo(n){return typeof n=="function"}function WM(n){return!!n.useClass}var Yc=new E(""),lc={},GM={},Yf;function um(){return Yf===void 0&&(Yf=new bc),Yf}var mt=class{},$s=class extends mt{get destroyed(){return this._destroyed}constructor(e,r,t,i){super(),this.parent=r,this.source=t,this.scopes=i,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,fh(e,s=>this.processProvider(s)),this.records.set(N_,Mo(void 0,this)),i.has("environment")&&this.records.set(mt,Mo(void 0,this));let o=this.records.get(Yc);o!=null&&typeof o.value=="string"&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(P_,Lt,ye.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;let e=Ee(null);try{for(let t of this._ngOnDestroyHooks)t.ngOnDestroy();let r=this._onDestroyHooks;this._onDestroyHooks=[];for(let t of r)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),Ee(e)}}onDestroy(e){return this.assertNotDestroyed(),this._onDestroyHooks.push(e),()=>this.removeOnDestroy(e)}runInContext(e){this.assertNotDestroyed();let r=Wi(this),t=Ft(void 0),i;try{return e()}finally{Wi(r),Ft(t)}}get(e,r=zs,t=ye.Default){if(this.assertNotDestroyed(),e.hasOwnProperty(Lv))return e[Lv](this);t=$c(t);let i,o=Wi(this),s=Ft(void 0);try{if(!(t&ye.SkipSelf)){let l=this.records.get(e);if(l===void 0){let c=KM(e)&&Hc(e);c&&this.injectableDefInScope(c)?l=Mo(uh(e),lc):l=null,this.records.set(e,l)}if(l!=null)return this.hydrate(e,l)}let a=t&ye.Self?um():this.parent;return r=t&ye.Optional&&r===zs?null:r,a.get(e,r)}catch(a){if(a.name==="NullInjectorError"){if((a[pc]=a[pc]||[]).unshift(Ot(e)),o)throw a;return vM(a,e,"R3InjectorError",this.source)}else throw a}finally{Ft(s),Wi(o)}}resolveInjectorInitializers(){let e=Ee(null),r=Wi(this),t=Ft(void 0),i;try{let o=this.get(No,Lt,ye.Self);for(let s of o)s()}finally{Wi(r),Ft(t),Ee(e)}}toString(){let e=[],r=this.records;for(let t of r.keys())e.push(Ot(t));return"R3Injector[".concat(e.join(", "),"]")}assertNotDestroyed(){if(this._destroyed)throw new T(205,!1)}processProvider(e){e=_t(e);let r=Fo(e)?e:_t(e&&e.provide),t=YM(e);if(!Fo(e)&&e.multi===!0){let i=this.records.get(r);i||(i=Mo(void 0,lc,!0),i.factory=()=>lh(i.multi),this.records.set(r,i)),r=e,i.multi.push(e)}this.records.set(r,t)}hydrate(e,r){let t=Ee(null);try{return r.value===lc&&(r.value=GM,r.value=r.factory()),typeof r.value=="object"&&r.value&&QM(r.value)&&this._ngOnDestroyHooks.add(r.value),r.value}finally{Ee(t)}}injectableDefInScope(e){if(!e.providedIn)return!1;let r=_t(e.providedIn);return typeof r=="string"?r==="any"||this.scopes.has(r):this.injectorDefTypes.has(r)}removeOnDestroy(e){let r=this._onDestroyHooks.indexOf(e);r!==-1&&this._onDestroyHooks.splice(r,1)}};function uh(n){let e=Hc(n),r=e!==null?e.factory:Lr(n);if(r!==null)return r;if(n instanceof E)throw new T(204,!1);if(n instanceof Function)return qM(n);throw new T(204,!1)}function qM(n){if(n.length>0)throw new T(204,!1);let r=iM(n);return r!==null?()=>r.factory(n):()=>new n}function YM(n){if(q_(n))return Mo(void 0,n.useValue);{let e=Y_(n);return Mo(e,lc)}}function Y_(n,e,r){let t;if(Fo(n)){let i=_t(n);return Lr(i)||uh(i)}else if(q_(n))t=()=>_t(n.useValue);else if($M(n))t=()=>n.useFactory(...lh(n.deps||[]));else if(HM(n))t=()=>v(_t(n.useExisting));else{let i=_t(n&&(n.useClass||n.provide));if(ZM(n))t=()=>new i(...lh(n.deps));else return Lr(i)||uh(i)}return t}function Mo(n,e,r=!1){return{factory:n,value:e,multi:r?[]:void 0}}function ZM(n){return!!n.deps}function QM(n){return n!==null&&typeof n=="object"&&typeof n.ngOnDestroy=="function"}function KM(n){return typeof n=="function"||typeof n=="object"&&n instanceof E}function fh(n,e){for(let r of n)Array.isArray(r)?fh(r,e):r&&T_(r)?fh(r.\u0275providers,e):e(r)}function Vt(n,e){n instanceof $s&&n.assertNotDestroyed();let r,t=Wi(n),i=Ft(void 0);try{return e()}finally{Wi(t),Ft(i)}}function Z_(){return A_()!==void 0||pM()!=null}function fm(n){if(!Z_())throw new T(-203,!1)}function XM(n){let e=Rt.ng;if(e&&e.\u0275compilerFacade)return e.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}function JM(n){return typeof n=="function"}var yi=0,de=1,ee=2,Ct=3,Dn=4,Bt=5,Ws=6,ko=7,nn=8,Lo=9,Gn=10,Qe=11,Gs=12,Hv=13,Ho=14,rn=15,jr=16,So=17,En=18,Zc=19,Q_=20,Gi=21,Oo=22,tn=23,Dt=25,K_=1;var Vr=7,vc=8,jo=9,jt=10,_c=function(n){return n[n.None=0]="None",n[n.HasTransplantedViews=2]="HasTransplantedViews",n}(_c||{});function qi(n){return Array.isArray(n)&&typeof n[K_]=="object"}function xi(n){return Array.isArray(n)&&n[K_]===!0}function hm(n){return(n.flags&4)!==0}function Qc(n){return n.componentOffset>-1}function Kc(n){return(n.flags&1)===1}function Zi(n){return!!n.template}function hh(n){return(n[ee]&512)!==0}var mh=class{constructor(e,r,t){this.previousValue=e,this.currentValue=r,this.firstChange=t}isFirstChange(){return this.firstChange}};function X_(n,e,r,t){e!==null?e.applyValueToInputSignal(e,t):n[r]=t}function We(){return J_}function J_(n){return n.type.prototype.ngOnChanges&&(n.setInput=tS),eS}We.ngInherit=!0;function eS(){let n=ty(this),e=n==null?void 0:n.current;if(e){let r=n.previous;if(r===gi)n.previous=e;else for(let t in e)r[t]=e[t];n.current=null,this.ngOnChanges(e)}}function tS(n,e,r,t,i){let o=this.declaredInputs[t],s=ty(n)||nS(n,{previous:gi,current:null}),a=s.current||(s.current={}),l=s.previous,c=l[o];a[o]=new mh(c&&c.currentValue,r,l===gi),X_(n,e,i,r)}var ey="__ngSimpleChanges__";function ty(n){return n[ey]||null}function nS(n,e){return n[ey]=e}var $v=null;var zn=function(n,e,r){$v!=null&&$v(n,e,r)},ny="svg",iS="math";function qn(n){for(;Array.isArray(n);)n=n[yi];return n}function iy(n,e){return qn(e[n])}function sn(n,e){return qn(e[n.index])}function mm(n,e){return n.data[e]}function ry(n,e){return n[e]}function Ji(n,e){let r=e[n];return qi(r)?r:r[yi]}function rS(n){return(n[ee]&4)===4}function pm(n){return(n[ee]&128)===128}function oS(n){return xi(n[Ct])}function Vo(n,e){return e==null?null:n[e]}function oy(n){n[So]=0}function sy(n){n[ee]&1024||(n[ee]|=1024,pm(n)&&Xc(n))}function sS(n,e){for(;n>0;)e=e[Ho],n--;return e}function qs(n){var e;return!!(n[ee]&9216||(e=n[tn])!=null&&e.dirty)}function ph(n){var e;(e=n[Gn].changeDetectionScheduler)==null||e.notify(7),n[ee]&64&&(n[ee]|=1024),qs(n)&&Xc(n)}function Xc(n){var r;(r=n[Gn].changeDetectionScheduler)==null||r.notify(0);let e=Br(n);for(;e!==null&&!(e[ee]&8192||(e[ee]|=8192,!pm(e)));)e=Br(e)}function ay(n,e){if((n[ee]&256)===256)throw new T(911,!1);n[Gi]===null&&(n[Gi]=[]),n[Gi].push(e)}function aS(n,e){if(n[Gi]===null)return;let r=n[Gi].indexOf(e);r!==-1&&n[Gi].splice(r,1)}function Br(n){let e=n[Ct];return xi(e)?e[Ct]:e}var he={lFrame:vy(null),bindingsEnabled:!0,skipHydrationRootTNode:null};var ly=!1;function lS(){return he.lFrame.elementDepthCount}function cS(){he.lFrame.elementDepthCount++}function dS(){he.lFrame.elementDepthCount--}function cy(){return he.bindingsEnabled}function dy(){return he.skipHydrationRootTNode!==null}function uS(n){return he.skipHydrationRootTNode===n}function fS(){he.skipHydrationRootTNode=null}function me(){return he.lFrame.lView}function Xe(){return he.lFrame.tView}function te(n){return he.lFrame.contextLView=n,n[nn]}function ne(n){return he.lFrame.contextLView=null,n}function yt(){let n=uy();for(;n!==null&&n.type===64;)n=n.parent;return n}function uy(){return he.lFrame.currentTNode}function hS(){let n=he.lFrame,e=n.currentTNode;return n.isParent?e:e.parent}function Gr(n,e){let r=he.lFrame;r.currentTNode=n,r.isParent=e}function gm(){return he.lFrame.isParent}function bm(){he.lFrame.isParent=!1}function mS(){return he.lFrame.contextLView}function fy(){return ly}function Wv(n){ly=n}function hy(){let n=he.lFrame,e=n.bindingRootIndex;return e===-1&&(e=n.bindingRootIndex=n.tView.bindingStartIndex),e}function my(){return he.lFrame.bindingIndex}function pS(n){return he.lFrame.bindingIndex=n}function $o(){return he.lFrame.bindingIndex++}function Jc(n){let e=he.lFrame,r=e.bindingIndex;return e.bindingIndex=e.bindingIndex+n,r}function gS(){return he.lFrame.inI18n}function bS(n,e){let r=he.lFrame;r.bindingIndex=r.bindingRootIndex=n,gh(e)}function vS(){return he.lFrame.currentDirectiveIndex}function gh(n){he.lFrame.currentDirectiveIndex=n}function _S(n){let e=he.lFrame.currentDirectiveIndex;return e===-1?null:n[e]}function py(){return he.lFrame.currentQueryIndex}function vm(n){he.lFrame.currentQueryIndex=n}function yS(n){let e=n[de];return e.type===2?e.declTNode:e.type===1?n[Bt]:null}function gy(n,e,r){if(r&ye.SkipSelf){let i=e,o=n;for(;i=i.parent,i===null&&!(r&ye.Host);)if(i=yS(o),i===null||(o=o[Ho],i.type&10))break;if(i===null)return!1;e=i,n=o}let t=he.lFrame=by();return t.currentTNode=e,t.lView=n,!0}function _m(n){let e=by(),r=n[de];he.lFrame=e,e.currentTNode=r.firstChild,e.lView=n,e.tView=r,e.contextLView=n,e.bindingIndex=r.bindingStartIndex,e.inI18n=!1}function by(){let n=he.lFrame,e=n===null?null:n.child;return e===null?vy(n):e}function vy(n){let e={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:n,child:null,inI18n:!1};return n!==null&&(n.child=e),e}function _y(){let n=he.lFrame;return he.lFrame=n.parent,n.currentTNode=null,n.lView=null,n}var yy=_y;function ym(){let n=_y();n.isParent=!0,n.tView=null,n.selectedIndex=-1,n.contextLView=null,n.elementDepthCount=0,n.currentDirectiveIndex=-1,n.currentNamespace=null,n.bindingRootIndex=-1,n.bindingIndex=-1,n.currentQueryIndex=0}function xS(n){return(he.lFrame.contextLView=sS(n,he.lFrame.contextLView))[nn]}function wi(){return he.lFrame.selectedIndex}function Ur(n){he.lFrame.selectedIndex=n}function Xs(){let n=he.lFrame;return mm(n.tView,n.selectedIndex)}function Zn(){he.lFrame.currentNamespace=ny}function ed(){wS()}function wS(){he.lFrame.currentNamespace=null}function CS(){return he.lFrame.currentNamespace}var xy=!0;function td(){return xy}function nd(n){xy=n}function DS(n,e,r){var s,a,l,c,d;let{ngOnChanges:t,ngOnInit:i,ngDoCheck:o}=e.type.prototype;if(t){let u=J_(e);((s=r.preOrderHooks)!=null?s:r.preOrderHooks=[]).push(n,u),((a=r.preOrderCheckHooks)!=null?a:r.preOrderCheckHooks=[]).push(n,u)}i&&((l=r.preOrderHooks)!=null?l:r.preOrderHooks=[]).push(0-n,i),o&&(((c=r.preOrderHooks)!=null?c:r.preOrderHooks=[]).push(n,o),((d=r.preOrderCheckHooks)!=null?d:r.preOrderCheckHooks=[]).push(n,o))}function id(n,e){var r,t,i,o,s,a,l;for(let c=e.directiveStart,d=e.directiveEnd;c=t)break}else e[l]<0&&(n[So]+=65536),(a>14>16&&(n[ee]&3)===e&&(n[ee]+=16384,Gv(a,o)):Gv(a,o)}var Ro=-1,zr=class{constructor(e,r,t){this.factory=e,this.resolving=!1,this.canSeeViewProviders=r,this.injectImpl=t}};function IS(n){return n instanceof zr}function MS(n){return(n.flags&8)!==0}function SS(n){return(n.flags&16)!==0}function Cy(n){return n!==Ro}function yc(n){return n&32767}function TS(n){return n>>16}function xc(n,e){let r=TS(n),t=e;for(;r>0;)t=t[Ho],r--;return t}var bh=!0;function wc(n){let e=bh;return bh=n,e}var AS=256,Dy=AS-1,Ey=5,kS=0,Hn={};function OS(n,e,r){let t;typeof r=="string"?t=r.charCodeAt(0)||0:r.hasOwnProperty(Bs)&&(t=r[Bs]),t==null&&(t=r[Bs]=kS++);let i=t&Dy,o=1<>Ey)]|=o}function Cc(n,e){let r=Iy(n,e);if(r!==-1)return r;let t=e[de];t.firstCreatePass&&(n.injectorIndex=e.length,Qf(t.data,n),Qf(e,null),Qf(t.blueprint,null));let i=xm(n,e),o=n.injectorIndex;if(Cy(i)){let s=yc(i),a=xc(i,e),l=a[de].data;for(let c=0;c<8;c++)e[o+c]=a[s+c]|l[s+c]}return e[o+8]=i,o}function Qf(n,e){n.push(0,0,0,0,0,0,0,0,e)}function Iy(n,e){return n.injectorIndex===-1||n.parent&&n.parent.injectorIndex===n.injectorIndex||e[n.injectorIndex+8]===null?-1:n.injectorIndex}function xm(n,e){if(n.parent&&n.parent.injectorIndex!==-1)return n.parent.injectorIndex;let r=0,t=null,i=e;for(;i!==null;){if(t=ky(i),t===null)return Ro;if(r++,i=i[Ho],t.injectorIndex!==-1)return t.injectorIndex|r<<16}return Ro}function vh(n,e,r){OS(n,e,r)}function RS(n,e){if(e==="class")return n.classes;if(e==="style")return n.styles;let r=n.attrs;if(r){let t=r.length,i=0;for(;i>20,u=t?a:a+d,f=i?a+d:c;for(let m=u;m=l&&g.type===r)return m}if(i){let m=s[l];if(m&&Zi(m)&&m.type===r)return l}return null}function Hr(n,e,r,t){let i=n[r],o=e.data;if(IS(i)){let s=i;s.resolving&&dM(cM(o[r]));let a=wc(s.canSeeViewProviders);s.resolving=!0;let l,c=s.injectImpl?Ft(s.injectImpl):null,d=gy(n,t,ye.Default);try{i=n[r]=s.factory(void 0,o,n,t),e.firstCreatePass&&r>=t.directiveStart&&DS(r,o[r],e)}finally{c!==null&&Ft(c),wc(a),s.resolving=!1,yy()}}return i}function PS(n){if(typeof n=="string")return n.charCodeAt(0)||0;let e=n.hasOwnProperty(Bs)?n[Bs]:void 0;return typeof e=="number"?e>=0?e&Dy:FS:e}function qv(n,e,r){let t=1<>Ey)]&t)}function Yv(n,e){return!(n&ye.Self)&&!(n&ye.Host&&e)}var Pr=class{constructor(e,r){this._tNode=e,this._lView=r}get(e,r,t){return Ty(this._tNode,this._lView,e,$c(t),r)}};function FS(){return new Pr(yt(),me())}function an(n){return Qs(()=>{let e=n.prototype.constructor,r=e[mc]||_h(e),t=Object.prototype,i=Object.getPrototypeOf(n.prototype).constructor;for(;i&&i!==t;){let o=i[mc]||_h(i);if(o&&o!==r)return o;i=Object.getPrototypeOf(i)}return o=>new o})}function _h(n){return E_(n)?()=>{let e=_h(_t(n));return e&&e()}:Lr(n)}function LS(n,e,r,t,i){let o=n,s=e;for(;o!==null&&s!==null&&s[ee]&2048&&!(s[ee]&512);){let a=Ay(o,s,r,t|ye.Self,Hn);if(a!==Hn)return a;let l=o.parent;if(!l){let c=s[Q_];if(c){let d=c.get(r,Hn,t);if(d!==Hn)return d}l=ky(s),s=s[Ho]}o=l}return i}function ky(n){let e=n[de],r=e.type;return r===2?e.declTNode:r===1?n[Bt]:null}function Qn(n){return RS(yt(),n)}function Zv(n,e=null,r=null,t){let i=Oy(n,e,r,t);return i.resolveInjectorInitializers(),i}function Oy(n,e=null,r=null,t,i=new Set){let o=[r||Lt,UM(n)];return t=t||(typeof n=="object"?void 0:Ot(n)),new $s(o,e||um(),t||null,i)}var Rr=class Rr{static create(e,r){var t;if(Array.isArray(e))return Zv({name:""},r,e,"");{let i=(t=e.name)!=null?t:"";return Zv({name:i},e.parent,e.providers,i)}}};Rr.THROW_IF_NOT_FOUND=zs,Rr.NULL=new bc,Rr.\u0275prov=I({token:Rr,providedIn:"any",factory:()=>v(N_)}),Rr.__NG_ELEMENT_ID__=-1;var Ce=Rr;var jS=new E("");jS.__NG_ELEMENT_ID__=n=>{let e=yt();if(e===null)throw new T(204,!1);if(e.type&2)return e.value;if(n&ye.Optional)return null;throw new T(204,!1)};var VS="ngOriginalError";function Kf(n){return n[VS]}var In=class{constructor(){this._console=console}handleError(e){let r=this._findOriginalError(e);this._console.error("ERROR",e),r&&this._console.error("ORIGINAL ERROR",r)}_findOriginalError(e){let r=e&&Kf(e);for(;r&&Kf(r);)r=Kf(r);return r||null}},Ry=new E("",{providedIn:"root",factory:()=>y(In).handleError.bind(void 0)}),Js=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=BS,e.__NG_ENV_ID__=t=>t;let n=e;return n})(),yh=class extends Js{constructor(e){super(),this._lView=e}onDestroy(e){return ay(this._lView,e),()=>aS(this._lView,e)}};function BS(){return new yh(me())}function US(){return Wo(yt(),me())}function Wo(n,e){return new P(sn(n,e))}var P=(()=>{let e=class e{constructor(t){this.nativeElement=t}};e.__NG_ELEMENT_ID__=US;let n=e;return n})();function zS(n){return n instanceof P?n.nativeElement:n}var Kn=(()=>{let e=class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new dt(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);let t=this.taskId++;return this.pendingTasks.add(t),t}remove(t){this.pendingTasks.delete(t),this.pendingTasks.size===0&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}};e.\u0275prov=I({token:e,providedIn:"root",factory:()=>new e});let n=e;return n})();var xh=class extends A{constructor(e=!1){var r,t;super(),this.destroyRef=void 0,this.pendingTasks=void 0,this.__isAsync=e,Z_()&&(this.destroyRef=(r=y(Js,{optional:!0}))!=null?r:void 0,this.pendingTasks=(t=y(Kn,{optional:!0}))!=null?t:void 0)}emit(e){let r=Ee(null);try{super.next(e)}finally{Ee(r)}}subscribe(e,r,t){var l,c,d;let i=e,o=r||(()=>null),s=t;if(e&&typeof e=="object"){let u=e;i=(l=u.next)==null?void 0:l.bind(u),o=(c=u.error)==null?void 0:c.bind(u),s=(d=u.complete)==null?void 0:d.bind(u)}this.__isAsync&&(o=this.wrapInTimeout(o),i&&(i=this.wrapInTimeout(i)),s&&(s=this.wrapInTimeout(s)));let a=super.subscribe({next:i,error:o,complete:s});return e instanceof fe&&e.add(a),a}wrapInTimeout(e){return r=>{var i;let t=(i=this.pendingTasks)==null?void 0:i.add();setTimeout(()=>{var o;e(r),t!==void 0&&((o=this.pendingTasks)==null||o.remove(t))})}}},$=xh;function HS(){return this._results[Symbol.iterator]()}var Yn=class n{get changes(){var e;return(e=this._changes)!=null?e:this._changes=new $}constructor(e=!1){this._emitDistinctChangesOnly=e,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;let r=n.prototype;r[Symbol.iterator]||(r[Symbol.iterator]=HS)}get(e){return this._results[e]}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,r){return this._results.reduce(e,r)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e,r){this.dirty=!1;let t=xM(e);(this._changesDetected=!yM(this._results,t,r))&&(this._results=t,this.length=t.length,this.last=t[this.length-1],this.first=t[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}onDirty(e){this._onDirty=e}setDirty(){var e;this.dirty=!0,(e=this._onDirty)==null||e.call(this)}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}};function Ny(n){return(n.flags&128)===128}var Py=new Map,$S=0;function WS(){return $S++}function GS(n){Py.set(n[Zc],n)}function qS(n){Py.delete(n[Zc])}var Qv="__ngContext__";function Qi(n,e){qi(e)?(n[Qv]=e[Zc],GS(e)):n[Qv]=e}function Fy(n){return jy(n[Gs])}function Ly(n){return jy(n[Dn])}function jy(n){for(;n!==null&&!xi(n);)n=n[Dn];return n}var wh;function Vy(n){wh=n}function By(){if(wh!==void 0)return wh;if(typeof document<"u")return document;throw new T(210,!1)}var Go=new E("",{providedIn:"root",factory:()=>YS}),YS="ng",wm=new E(""),ln=new E("",{providedIn:"platform",factory:()=>"unknown"});var Ge=new E(""),ea=new E("",{providedIn:"root",factory:()=>{var n,e;return((e=(n=By().body)==null?void 0:n.querySelector("[ngCspNonce]"))==null?void 0:e.getAttribute("ngCspNonce"))||null}});var ZS="h",QS="b";var KS=()=>null;function Cm(n,e,r=!1){return KS(n,e,r)}var Uy=!1,XS=new E("",{providedIn:"root",factory:()=>Uy});var nc;function JS(){if(nc===void 0&&(nc=null,Rt.trustedTypes))try{nc=Rt.trustedTypes.createPolicy("angular",{createHTML:n=>n,createScript:n=>n,createScriptURL:n=>n})}catch{}return nc}function rd(n){var e;return((e=JS())==null?void 0:e.createHTML(n))||n}var ic;function zy(){if(ic===void 0&&(ic=null,Rt.trustedTypes))try{ic=Rt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:n=>n,createScript:n=>n,createScriptURL:n=>n})}catch{}return ic}function Kv(n){var e;return((e=zy())==null?void 0:e.createHTML(n))||n}function Xv(n){var e;return((e=zy())==null?void 0:e.createScriptURL(n))||n}var bi=class{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return"SafeValue must use [property]=binding: ".concat(this.changingThisBreaksApplicationSecurity)+" (see ".concat(C_,")")}},Ch=class extends bi{getTypeName(){return"HTML"}},Dh=class extends bi{getTypeName(){return"Style"}},Eh=class extends bi{getTypeName(){return"Script"}},Ih=class extends bi{getTypeName(){return"URL"}},Mh=class extends bi{getTypeName(){return"ResourceURL"}};function cn(n){return n instanceof bi?n.changingThisBreaksApplicationSecurity:n}function Ci(n,e){let r=eT(n);if(r!=null&&r!==e){if(r==="ResourceURL"&&e==="URL")return!0;throw new Error("Required a safe ".concat(e,", got a ").concat(r," (see ").concat(C_,")"))}return r===e}function eT(n){return n instanceof bi&&n.getTypeName()||null}function Hy(n){return new Ch(n)}function $y(n){return new Dh(n)}function Wy(n){return new Eh(n)}function Gy(n){return new Ih(n)}function qy(n){return new Mh(n)}function tT(n){let e=new Th(n);return nT()?new Sh(e):e}var Sh=class{constructor(e){this.inertDocumentHelper=e}getInertBodyElement(e){e=""+e;try{let r=new window.DOMParser().parseFromString(rd(e),"text/html").body;return r===null?this.inertDocumentHelper.getInertBodyElement(e):(r.removeChild(r.firstChild),r)}catch{return null}}},Th=class{constructor(e){this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(e){let r=this.inertDocument.createElement("template");return r.innerHTML=rd(e),r}};function nT(){try{return!!new window.DOMParser().parseFromString(rd(""),"text/html")}catch{return!1}}var iT=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function od(n){return n=String(n),n.match(iT)?n:"unsafe:"+n}function Di(n){let e={};for(let r of n.split(","))e[r]=!0;return e}function ta(...n){let e={};for(let r of n)for(let t in r)r.hasOwnProperty(t)&&(e[t]=!0);return e}var Yy=Di("area,br,col,hr,img,wbr"),Zy=Di("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Qy=Di("rp,rt"),rT=ta(Qy,Zy),oT=ta(Zy,Di("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),sT=ta(Qy,Di("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),Jv=ta(Yy,oT,sT,rT),Ky=Di("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),aT=Di("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),lT=Di("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext"),cT=ta(Ky,aT,lT),dT=Di("script,style,template"),Ah=class{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(e){let r=e.firstChild,t=!0,i=[];for(;r;){if(r.nodeType===Node.ELEMENT_NODE?t=this.startElement(r):r.nodeType===Node.TEXT_NODE?this.chars(r.nodeValue):this.sanitizedSomething=!0,t&&r.firstChild){i.push(r),r=hT(r);continue}for(;r;){r.nodeType===Node.ELEMENT_NODE&&this.endElement(r);let o=fT(r);if(o){r=o;break}r=i.pop()}}return this.buf.join("")}startElement(e){let r=e_(e).toLowerCase();if(!Jv.hasOwnProperty(r))return this.sanitizedSomething=!0,!dT.hasOwnProperty(r);this.buf.push("<"),this.buf.push(r);let t=e.attributes;for(let i=0;i"),!0}endElement(e){let r=e_(e).toLowerCase();Jv.hasOwnProperty(r)&&!Yy.hasOwnProperty(r)&&(this.buf.push(""))}chars(e){this.buf.push(t_(e))}};function uT(n,e){return(n.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function fT(n){let e=n.nextSibling;if(e&&n!==e.previousSibling)throw Xy(e);return e}function hT(n){let e=n.firstChild;if(e&&uT(n,e))throw Xy(e);return e}function e_(n){let e=n.nodeName;return typeof e=="string"?e:"FORM"}function Xy(n){return new Error("Failed to sanitize html because the element is clobbered: ".concat(n.outerHTML))}var mT=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,pT=/([^\#-~ |!])/g;function t_(n){return n.replace(/&/g,"&").replace(mT,function(e){let r=e.charCodeAt(0),t=e.charCodeAt(1);return"&#"+((r-55296)*1024+(t-56320)+65536)+";"}).replace(pT,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(//g,">")}var rc;function Dm(n,e){let r=null;try{rc=rc||tT(n);let t=e?String(e):"";r=rc.getInertBodyElement(t);let i=5,o=t;do{if(i===0)throw new Error("Failed to sanitize html because the input is unstable");i--,t=o,o=r.innerHTML,r=rc.getInertBodyElement(t)}while(t!==o);let a=new Ah().sanitizeChildren(n_(r)||r);return rd(a)}finally{if(r){let t=n_(r)||r;for(;t.firstChild;)t.removeChild(t.firstChild)}}}function n_(n){return"content"in n&&gT(n)?n.content:null}function gT(n){return n.nodeType===Node.ELEMENT_NODE&&n.nodeName==="TEMPLATE"}var Sn=function(n){return n[n.NONE=0]="NONE",n[n.HTML=1]="HTML",n[n.STYLE=2]="STYLE",n[n.SCRIPT=3]="SCRIPT",n[n.URL=4]="URL",n[n.RESOURCE_URL=5]="RESOURCE_URL",n}(Sn||{});function Xn(n){let e=Em();return e?Kv(e.sanitize(Sn.HTML,n)||""):Ci(n,"HTML")?Kv(cn(n)):Dm(By(),$n(n))}function ft(n){let e=Em();return e?e.sanitize(Sn.URL,n)||"":Ci(n,"URL")?cn(n):od($n(n))}function bT(n){let e=Em();if(e)return Xv(e.sanitize(Sn.RESOURCE_URL,n)||"");if(Ci(n,"ResourceURL"))return Xv(cn(n));throw new T(904,!1)}function vT(n,e){return e==="src"&&(n==="embed"||n==="frame"||n==="iframe"||n==="media"||n==="script")||e==="href"&&(n==="base"||n==="link")?bT:ft}function Jy(n,e,r){return vT(e,r)(n)}function Em(){let n=me();return n&&n[Gn].sanitizer}var _T=/^>|^->||--!>|)/g,xT="\u200B$1\u200B";function wT(n){return n.replace(_T,e=>e.replace(yT,xT))}function e0(n){return n.ownerDocument}function t0(n){return n instanceof Function?n():n}function n0(n){return(n!=null?n:y(Ce)).get(ln)==="browser"}var vi=function(n){return n[n.Important=1]="Important",n[n.DashCase=2]="DashCase",n}(vi||{}),CT;function Im(n,e){return CT(n,e)}function To(n,e,r,t,i){if(t!=null){let o,s=!1;xi(t)?o=t:qi(t)&&(s=!0,t=t[yi]);let a=qn(t);n===0&&r!==null?i==null?a0(e,r,a):Ec(e,r,a,i||null,!0):n===1&&r!==null?Ec(e,r,a,i||null,!0):n===2?jT(e,a,s):n===3&&e.destroyNode(a),o!=null&&BT(e,n,o,r,i)}}function DT(n,e){return n.createText(e)}function ET(n,e,r){n.setValue(e,r)}function IT(n,e){return n.createComment(wT(e))}function i0(n,e,r){return n.createElement(e,r)}function MT(n,e){r0(n,e),e[yi]=null,e[Bt]=null}function ST(n,e,r,t,i,o){t[yi]=i,t[Bt]=e,ad(n,t,r,1,i,o)}function r0(n,e){var r;(r=e[Gn].changeDetectionScheduler)==null||r.notify(8),ad(n,e,e[Qe],2,null,null)}function TT(n){let e=n[Gs];if(!e)return Xf(n[de],n);for(;e;){let r=null;if(qi(e))r=e[Gs];else{let t=e[jt];t&&(r=t)}if(!r){for(;e&&!e[Dn]&&e!==n;)qi(e)&&Xf(e[de],e),e=e[Ct];e===null&&(e=n),qi(e)&&Xf(e[de],e),r=e&&e[Dn]}e=r}}function AT(n,e,r,t){let i=jt+t,o=r.length;t>0&&(r[i-1][Dn]=e),t0&&(n[r-1][Dn]=t[Dn]);let o=gc(n,jt+e);MT(t[de],t);let s=o[En];s!==null&&s.detachView(o[de]),t[Ct]=null,t[Dn]=null,t[ee]&=-129}return t}function Sm(n,e){if(!(e[ee]&256)){let r=e[Qe];r.destroyNode&&ad(n,e,r,3,null,null),TT(e)}}function Xf(n,e){if(e[ee]&256)return;let r=Ee(null);try{e[ee]&=-129,e[ee]|=256,e[tn]&&Dl(e[tn]),OT(n,e),kT(n,e),e[de].type===1&&e[Qe].destroy();let t=e[jr];if(t!==null&&xi(e[Ct])){t!==e[Ct]&&Mm(t,e);let i=e[En];i!==null&&i.detachView(n)}qS(e)}finally{Ee(r)}}function kT(n,e){let r=n.cleanup,t=e[ko];if(r!==null)for(let o=0;o=0?t[s]():t[-s].unsubscribe(),o+=2}else{let s=t[r[o+1]];r[o].call(s)}t!==null&&(e[ko]=null);let i=e[Gi];if(i!==null){e[Gi]=null;for(let o=0;o-1){let{encapsulation:o}=n.data[t.directiveStart+i];if(o===Wn.None||o===Wn.Emulated)return null}return sn(t,r)}}function Ec(n,e,r,t,i){n.insertBefore(e,r,t,i)}function a0(n,e,r){n.appendChild(e,r)}function i_(n,e,r,t,i){t!==null?Ec(n,e,r,t,i):a0(n,e,r)}function NT(n,e,r,t){n.removeChild(e,r,t)}function Tm(n,e){return n.parentNode(e)}function PT(n,e){return n.nextSibling(e)}function l0(n,e,r){return LT(n,e,r)}function FT(n,e,r){return n.type&40?sn(n,r):null}var LT=FT,r_;function sd(n,e,r,t){let i=s0(n,t,e),o=e[Qe],s=t.parent||e[Bt],a=l0(s,t,e);if(i!=null)if(Array.isArray(r))for(let l=0;lDt&&h0(n,e,Dt,!1),zn(s?2:0,i),r(t,i)}finally{Ur(o),zn(s?3:1,i)}}function km(n,e,r){if(hm(e)){let t=Ee(null);try{let i=e.directiveStart,o=e.directiveEnd;for(let s=i;snull;function ZT(n,e,r,t){let i=w0(e);i.push(r),n.firstCreatePass&&C0(n).push(t,i.length-1)}function QT(n,e,r,t,i,o){let s=e?e.injectorIndex:-1,a=0;return dy()&&(a|=128),{type:r,index:t,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:i,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function o_(n,e,r,t,i){for(let o in e){if(!e.hasOwnProperty(o))continue;let s=e[o];if(s===void 0)continue;t!=null||(t={});let a,l=Po.None;Array.isArray(s)?(a=s[0],l=s[1]):a=s;let c=o;if(i!==null){if(!i.hasOwnProperty(o))continue;c=i[o]}n===0?s_(t,r,c,a,l):s_(t,r,c,a)}return t}function s_(n,e,r,t,i){let o;n.hasOwnProperty(r)?(o=n[r]).push(e,t):o=n[r]=[e,t],i!==void 0&&o.push(i)}function KT(n,e,r){let t=e.directiveStart,i=e.directiveEnd,o=n.data,s=e.attrs,a=[],l=null,c=null;for(let d=t;d0;){let r=n[--e];if(typeof r=="number"&&r<0)return r}return 0}function nA(n,e,r,t){let i=r.directiveStart,o=r.directiveEnd;Qc(r)&&cA(e,r,n.data[i+r.componentOffset]),n.firstCreatePass||Cc(r,e),Qi(t,e);let s=r.initialInputs;for(let a=i;a{Xc(n.lView)},consumerOnSignalRead(){this.lView[tn]=this}});function DA(n){var r;let e=(r=n[tn])!=null?r:Object.create(EA);return e.lView=n,e}var EA=_e(D({},xl),{consumerIsAlwaysLive:!0,consumerMarkedDirty:n=>{let e=Br(n.lView);for(;e&&!I0(e[de]);)e=Br(e);e&&sy(e)},consumerOnSignalRead(){this.lView[tn]=this}});function I0(n){return n.type!==2}var IA=100;function M0(n,e=!0,r=0){var s,a,l;let t=n[Gn],i=t.rendererFactory,o=!1;o||(s=i.begin)==null||s.call(i);try{MA(n,r)}catch(c){throw e&&D0(n,c),c}finally{o||((a=i.end)==null||a.call(i),(l=t.inlineEffectRunner)==null||l.flush())}}function MA(n,e){let r=fy();try{Wv(!0),Nh(n,e);let t=0;for(;qs(n);){if(t===IA)throw new T(103,!1);t++,Nh(n,1)}}finally{Wv(r)}}function SA(n,e,r,t){var d;let i=e[ee];if((i&256)===256)return;let o=!1,s=!1;!o&&((d=e[Gn].inlineEffectRunner)==null||d.flush()),_m(e);let a=!0,l=null,c=null;o||(I0(n)?(c=yA(e),l=wl(c)):ev()===null?(a=!1,c=DA(e),l=wl(c)):e[tn]&&(Dl(e[tn]),e[tn]=null));try{oy(e),pS(n.bindingStartIndex),r!==null&&g0(n,e,r,2,t);let u=(i&3)===3;if(!o)if(u){let g=n.preOrderCheckHooks;g!==null&&cc(e,g,null)}else{let g=n.preOrderHooks;g!==null&&dc(e,g,0,null),Zf(e,0)}if(s||TA(e),S0(e,0),n.contentQueries!==null&&x0(n,e),!o)if(u){let g=n.contentCheckHooks;g!==null&&cc(e,g)}else{let g=n.contentHooks;g!==null&&dc(e,g,1),Zf(e,1)}HT(n,e);let f=n.components;f!==null&&A0(e,f,0);let m=n.viewQuery;if(m!==null&&Rh(2,m,t),!o)if(u){let g=n.viewCheckHooks;g!==null&&cc(e,g)}else{let g=n.viewHooks;g!==null&&dc(e,g,2),Zf(e,2)}if(n.firstUpdatePass===!0&&(n.firstUpdatePass=!1),e[Oo]){for(let g of e[Oo])g();e[Oo]=null}o||(e[ee]&=-73)}catch(u){throw o||Xc(e),u}finally{c!==null&&(Cf(c,l),a&&wA(c)),ym()}}function S0(n,e){for(let r=Fy(n);r!==null;r=Ly(r))for(let t=jt;t-1&&(Dc(e,t),gc(r,t))}this._attachedToViewContainer=!1}Sm(this._lView[de],this._lView)}onDestroy(e){ay(this._lView,e)}markForCheck(){Um(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[ee]&=-129}reattach(){ph(this._lView),this._lView[ee]|=128}detectChanges(){this._lView[ee]|=1024,M0(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new T(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let e=hh(this._lView),r=this._lView[jr];r!==null&&!e&&Mm(r,this._lView),r0(this._lView[de],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new T(902,!1);this._appRef=e;let r=hh(this._lView),t=this._lView[jr];t!==null&&!r&&o0(t,this._lView),ph(this._lView)}},pt=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=RA;let n=e;return n})(),kA=pt,OA=class extends kA{constructor(e,r,t){super(),this._declarationLView=e,this._declarationTContainer=r,this.elementRef=t}get ssrId(){var e;return((e=this._declarationTContainer.tView)==null?void 0:e.ssrId)||null}createEmbeddedView(e,r){return this.createEmbeddedViewImpl(e,r)}createEmbeddedViewImpl(e,r,t){let i=Vm(this._declarationLView,this._declarationTContainer,e,{embeddedViewInjector:r,dehydratedView:t});return new $r(i)}};function RA(){return ud(yt(),me())}function ud(n,e){return n.type&4?new OA(e,n,Wo(n,e)):null}var v8=new RegExp("^(\\d+)*(".concat(QS,"|").concat(ZS,")*(.*)"));var NA=()=>null;function Sc(n,e){return NA(n,e)}var Bo=class{},k0=new E("",{providedIn:"root",factory:()=>!1});var O0=new E(""),Ph=class{},Tc=class{};function PA(n){let e=Error("No component factory found for ".concat(Ot(n),"."));return e[FA]=n,e}var FA="ngComponent";var Fh=class{resolveComponentFactory(e){throw PA(e)}},ep=class ep{};ep.NULL=new Fh;var Mn=ep,Ki=class{},er=(()=>{let e=class e{constructor(){this.destroyNode=null}};e.__NG_ELEMENT_ID__=()=>LA();let n=e;return n})();function LA(){let n=me(),e=yt(),r=Ji(e.index,n);return(qi(r)?r:n)[Qe]}var jA=(()=>{let e=class e{};e.\u0275prov=I({token:e,providedIn:"root",factory:()=>null});let n=e;return n})(),Jf={};var a_=new Set;function tr(n){var e;a_.has(n)||(a_.add(n),(e=performance==null?void 0:performance.mark)==null||e.call(performance,"mark_feature_usage",{detail:{feature:n}}))}function R0(n){let e=!0;return setTimeout(()=>{e&&(e=!1,n())}),typeof Rt.requestAnimationFrame=="function"&&Rt.requestAnimationFrame(()=>{e&&(e=!1,n())}),()=>{e=!1}}function l_(n){let e=!0;return queueMicrotask(()=>{e&&n()}),()=>{e=!1}}function c_(...n){}var k=class n{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:r=!1,shouldCoalesceRunChangeDetection:t=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new $(!1),this.onMicrotaskEmpty=new $(!1),this.onStable=new $(!1),this.onError=new $(!1),typeof Zone>"u")throw new T(908,!1);Zone.assertZonePatched();let i=this;i._nesting=0,i._outer=i._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(i._inner=i._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(i._inner=i._inner.fork(Zone.longStackTraceZoneSpec)),i.shouldCoalesceEventChangeDetection=!t&&r,i.shouldCoalesceRunChangeDetection=t,i.callbackScheduled=!1,UA(i)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get("isAngularZone")===!0}static assertInAngularZone(){if(!n.isInAngularZone())throw new T(909,!1)}static assertNotInAngularZone(){if(n.isInAngularZone())throw new T(909,!1)}run(e,r,t){return this._inner.run(e,r,t)}runTask(e,r,t,i){let o=this._inner,s=o.scheduleEventTask("NgZoneEvent: "+i,e,VA,c_,c_);try{return o.runTask(s,r,t)}finally{o.cancelTask(s)}}runGuarded(e,r,t){return this._inner.runGuarded(e,r,t)}runOutsideAngular(e){return this._outer.run(e)}},VA={};function zm(n){if(n._nesting==0&&!n.hasPendingMicrotasks&&!n.isStable)try{n._nesting++,n.onMicrotaskEmpty.emit(null)}finally{if(n._nesting--,!n.hasPendingMicrotasks)try{n.runOutsideAngular(()=>n.onStable.emit(null))}finally{n.isStable=!0}}}function BA(n){n.isCheckStableRunning||n.callbackScheduled||(n.callbackScheduled=!0,Zone.root.run(()=>{R0(()=>{n.callbackScheduled=!1,Lh(n),n.isCheckStableRunning=!0,zm(n),n.isCheckStableRunning=!1})}),Lh(n))}function UA(n){let e=()=>{BA(n)};n._inner=n._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(r,t,i,o,s,a)=>{if(zA(a))return r.invokeTask(i,o,s,a);try{return d_(n),r.invokeTask(i,o,s,a)}finally{(n.shouldCoalesceEventChangeDetection&&o.type==="eventTask"||n.shouldCoalesceRunChangeDetection)&&e(),u_(n)}},onInvoke:(r,t,i,o,s,a,l)=>{try{return d_(n),r.invoke(i,o,s,a,l)}finally{n.shouldCoalesceRunChangeDetection&&!n.callbackScheduled&&!HA(a)&&e(),u_(n)}},onHasTask:(r,t,i,o)=>{r.hasTask(i,o),t===i&&(o.change=="microTask"?(n._hasPendingMicrotasks=o.microTask,Lh(n),zm(n)):o.change=="macroTask"&&(n.hasPendingMacrotasks=o.macroTask))},onHandleError:(r,t,i,o)=>(r.handleError(i,o),n.runOutsideAngular(()=>n.onError.emit(o)),!1)})}function Lh(n){n._hasPendingMicrotasks||(n.shouldCoalesceEventChangeDetection||n.shouldCoalesceRunChangeDetection)&&n.callbackScheduled===!0?n.hasPendingMicrotasks=!0:n.hasPendingMicrotasks=!1}function d_(n){n._nesting++,n.isStable&&(n.isStable=!1,n.onUnstable.emit(null))}function u_(n){n._nesting--,zm(n)}var Ac=class{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new $,this.onMicrotaskEmpty=new $,this.onStable=new $,this.onError=new $}run(e,r,t){return e.apply(r,t)}runGuarded(e,r,t){return e.apply(r,t)}runOutsideAngular(e){return e()}runTask(e,r,t,i){return e.apply(r,t)}};function zA(n){return N0(n,"__ignore_ng_zone__")}function HA(n){return N0(n,"__scheduler_tick__")}function N0(n,e){var r,t;return!Array.isArray(n)||n.length!==1?!1:((t=(r=n[0])==null?void 0:r.data)==null?void 0:t[e])===!0}function $A(n="zone.js",e){return n==="noop"?new Ac:n==="zone.js"?new k(e):n}var Nr=function(n){return n[n.EarlyRead=0]="EarlyRead",n[n.Write=1]="Write",n[n.MixedReadWrite=2]="MixedReadWrite",n[n.Read=3]="Read",n}(Nr||{}),P0={destroy(){}};function ia(n,e){var c,d,u;!e&&fm(ia);let r=(c=e==null?void 0:e.injector)!=null?c:y(Ce);if(!n0(r))return P0;tr("NgAfterRender");let t=r.get(fd),i=(d=t.handler)!=null?d:t.handler=new Oc,o=(u=e==null?void 0:e.phase)!=null?u:Nr.MixedReadWrite,s=()=>{i.unregister(l),a()},a=r.get(Js).onDestroy(s),l=Vt(r,()=>new kc(o,n));return i.register(l),{destroy:s}}function Ut(n,e){var c,d,u;!e&&fm(Ut);let r=(c=e==null?void 0:e.injector)!=null?c:y(Ce);if(!n0(r))return P0;tr("NgAfterNextRender");let t=r.get(fd),i=(d=t.handler)!=null?d:t.handler=new Oc,o=(u=e==null?void 0:e.phase)!=null?u:Nr.MixedReadWrite,s=()=>{i.unregister(l),a()},a=r.get(Js).onDestroy(s),l=Vt(r,()=>new kc(o,()=>{s(),n()}));return i.register(l),{destroy:s}}var kc=class{constructor(e,r){var t;this.phase=e,this.callbackFn=r,this.zone=y(k),this.errorHandler=y(In,{optional:!0}),(t=y(Bo,{optional:!0}))==null||t.notify(6)}invoke(){var e;try{this.zone.runOutsideAngular(this.callbackFn)}catch(r){(e=this.errorHandler)==null||e.handleError(r)}}},Oc=class{constructor(){this.executingCallbacks=!1,this.buckets={[Nr.EarlyRead]:new Set,[Nr.Write]:new Set,[Nr.MixedReadWrite]:new Set,[Nr.Read]:new Set},this.deferredCallbacks=new Set}register(e){(this.executingCallbacks?this.deferredCallbacks:this.buckets[e.phase]).add(e)}unregister(e){this.buckets[e.phase].delete(e),this.deferredCallbacks.delete(e)}execute(){this.executingCallbacks=!0;for(let e of Object.values(this.buckets))for(let r of e)r.invoke();this.executingCallbacks=!1;for(let e of this.deferredCallbacks)this.buckets[e.phase].add(e);this.deferredCallbacks.clear()}destroy(){for(let e of Object.values(this.buckets))e.clear();this.deferredCallbacks.clear()}},fd=(()=>{let e=class e{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){var t;this.executeInternalCallbacks(),(t=this.handler)==null||t.execute()}executeInternalCallbacks(){let t=[...this.internalCallbacks];this.internalCallbacks.length=0;for(let i of t)i()}ngOnDestroy(){var t;(t=this.handler)==null||t.destroy(),this.handler=null,this.internalCallbacks.length=0}};e.\u0275prov=I({token:e,providedIn:"root",factory:()=>new e});let n=e;return n})();function Rc(n,e,r){let t=r?n.styles:null,i=r?n.classes:null,o=0;if(e!==null)for(let s=0;s0&&u0(n,r,o.join(" "))}}function KA(n,e,r){let t=n.projection=[];for(let i=0;i{let e=class e{};e.__NG_ELEMENT_ID__=JA;let n=e;return n})();function JA(){let n=yt();return L0(n,me())}var ek=lt,F0=class extends ek{constructor(e,r,t){super(),this._lContainer=e,this._hostTNode=r,this._hostLView=t}get element(){return Wo(this._hostTNode,this._hostLView)}get injector(){return new Pr(this._hostTNode,this._hostLView)}get parentInjector(){let e=xm(this._hostTNode,this._hostLView);if(Cy(e)){let r=xc(e,this._hostLView),t=yc(e),i=r[de].data[t+8];return new Pr(i,r)}else return new Pr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){let r=h_(this._lContainer);return r!==null&&r[e]||null}get length(){return this._lContainer.length-jt}createEmbeddedView(e,r,t){let i,o;typeof t=="number"?i=t:t!=null&&(i=t.index,o=t.injector);let s=Sc(this._lContainer,e.ssrId),a=e.createEmbeddedViewImpl(r||{},o,s);return this.insertImpl(a,i,Ic(this._hostTNode,s)),a}createComponent(e,r,t,i,o){var g,_,C;let s=e&&!JM(e),a;if(s)a=r;else{let S=r||{};a=S.index,t=S.injector,i=S.projectableNodes,o=S.environmentInjector||S.ngModuleRef}let l=s?e:new Uo(Yi(e)),c=t||this.parentInjector;if(!o&&l.ngModule==null){let B=(s?c:this.parentInjector).get(mt,null);B&&(o=B)}let d=Yi((g=l.componentType)!=null?g:{}),u=Sc(this._lContainer,(_=d==null?void 0:d.id)!=null?_:null),f=(C=u==null?void 0:u.firstChild)!=null?C:null,m=l.create(c,i,f,o);return this.insertImpl(m.hostView,a,Ic(this._hostTNode,u)),m}insert(e,r){return this.insertImpl(e,r,!0)}insertImpl(e,r,t){let i=e._lView;if(oS(i)){let a=this.indexOf(e);if(a!==-1)this.detach(a);else{let l=i[Ct],c=new F0(l,l[Bt],l[Ct]);c.detach(c.indexOf(e))}}let o=this._adjustIndex(r),s=this._lContainer;return Bm(s,i,o,t),e.attachToViewContainerRef(),R_(eh(s),o,e),e}move(e,r){return this.insert(e,r)}indexOf(e){let r=h_(this._lContainer);return r!==null?r.indexOf(e):-1}remove(e){let r=this._adjustIndex(e,-1),t=Dc(this._lContainer,r);t&&(gc(eh(this._lContainer),r),Sm(t[de],t))}detach(e){let r=this._adjustIndex(e,-1),t=Dc(this._lContainer,r);return t&&gc(eh(this._lContainer),r)!=null?new $r(t):null}_adjustIndex(e,r=0){return e==null?this.length+r:e}};function h_(n){return n[vc]}function eh(n){return n[vc]||(n[vc]=[])}function L0(n,e){let r,t=e[n.index];return xi(t)?r=t:(r=y0(t,e,null,n),e[n.index]=r,dd(e,r)),nk(r,e,n,t),new F0(r,n,e)}function tk(n,e){let r=n[Qe],t=r.createComment(""),i=sn(e,n),o=Tm(r,i);return Ec(r,o,t,PT(r,i),!1),t}var nk=ok,ik=()=>!1;function rk(n,e,r){return ik(n,e,r)}function ok(n,e,r,t){if(n[Vr])return;let i;r.type&8?i=qn(t):i=tk(e,r),n[Vr]=i}var Bh=class n{constructor(e){this.queryList=e,this.matches=null}clone(){return new n(this.queryList)}setDirty(){this.queryList.setDirty()}},Uh=class n{constructor(e=[]){this.queries=e}createEmbeddedView(e){let r=e.queries;if(r!==null){let t=e.contentQueries!==null?e.contentQueries[0]:r.length,i=[];for(let o=0;o0)t.push(s[a/2]);else{let c=o[a+1],d=e[-l];for(let u=jt;ue.trim())}function B0(n,e,r){n.queries===null&&(n.queries=new zh),n.queries.track(new Hh(e,r))}function mk(n,e){let r=n.contentQueries||(n.contentQueries=[]),t=r.length?r[r.length-1]:-1;e!==t&&r.push(n.queries.length-1,e)}function Hm(n,e){return n.queries.getByIndex(e)}function pk(n,e){let r=n[de],t=Hm(r,e);return t.crossesNgTemplate?$h(r,n,e,[]):j0(r,n,t,e)}function hd(n){return typeof n=="function"&&n[yl]!==void 0}function U0(n){return hd(n)&&typeof n.set=="function"}function gk(n){let e=[],r=new Map;function t(i){let o=r.get(i);if(!o){let s=n(i);r.set(i,o=s.then(yk))}return o}return Fc.forEach((i,o)=>{var c,d;let s=[];i.templateUrl&&s.push(t(i.templateUrl).then(u=>{i.template=u}));let a=typeof i.styles=="string"?[i.styles]:i.styles||[];if(i.styles=a,i.styleUrl&&((c=i.styleUrls)!=null&&c.length))throw new Error("@Component cannot define both `styleUrl` and `styleUrls`. Use `styleUrl` if the component has one stylesheet, or `styleUrls` if it has multiple");if((d=i.styleUrls)!=null&&d.length){let u=i.styles.length,f=i.styleUrls;i.styleUrls.forEach((m,g)=>{a.push(""),s.push(t(m).then(_=>{a[u+g]=_,f.splice(f.indexOf(m),1),f.length==0&&(i.styleUrls=void 0)}))})}else i.styleUrl&&s.push(t(i.styleUrl).then(u=>{a.push(u),i.styleUrl=void 0}));let l=Promise.all(s).then(()=>xk(o));e.push(l)}),vk(),Promise.all(e).then(()=>{})}var Fc=new Map,bk=new Set;function vk(){let n=Fc;return Fc=new Map,n}function _k(){return Fc.size===0}function yk(n){return typeof n=="string"?n:n.text()}function xk(n){bk.delete(n)}function wk(n){return Object.getPrototypeOf(n.prototype).constructor}function Ue(n){let e=wk(n.type),r=!0,t=[n];for(;e;){let i;if(Zi(n))i=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new T(903,!1);i=e.\u0275dir}if(i){if(r){t.push(i);let s=n;s.inputs=oc(n.inputs),s.inputTransforms=oc(n.inputTransforms),s.declaredInputs=oc(n.declaredInputs),s.outputs=oc(n.outputs);let a=i.hostBindings;a&&Mk(n,a);let l=i.viewQuery,c=i.contentQueries;if(l&&Ek(n,l),c&&Ik(n,c),Ck(n,i),tM(n.outputs,i.outputs),Zi(i)&&i.data.animation){let d=n.data;d.animation=(d.animation||[]).concat(i.data.animation)}}let o=i.features;if(o)for(let s=0;s=0;t--){let i=n[t];i.hostVars=e+=i.hostVars,i.hostAttrs=Hs(i.hostAttrs,r=Hs(r,i.hostAttrs))}}function oc(n){return n===gi?{}:n===Lt?[]:n}function Ek(n,e){let r=n.viewQuery;r?n.viewQuery=(t,i)=>{e(t,i),r(t,i)}:n.viewQuery=e}function Ik(n,e){let r=n.contentQueries;r?n.contentQueries=(t,i,o)=>{e(t,i,o),r(t,i,o)}:n.contentQueries=e}function Mk(n,e){let r=n.hostBindings;r?n.hostBindings=(t,i)=>{e(t,i),r(t,i)}:n.hostBindings=e}function z0(n){let e=r=>{let t=(Array.isArray(n)?n:n()).map(i=>typeof i=="function"?{directive:_t(i),inputs:gi,outputs:gi}:{directive:_t(i.directive),inputs:m_(i.inputs),outputs:m_(i.outputs)});r.hostDirectives===null?(r.findHostDirectiveDefs=H0,r.hostDirectives=t):r.hostDirectives.unshift(...t)};return e.ngInherit=!0,e}function H0(n,e,r){if(n.hostDirectives!==null)for(let t of n.hostDirectives){let i=cm(t.directive);Sk(i.declaredInputs,t.inputs),H0(i,e,r),r.set(i,t),e.push(i)}}function m_(n){if(n===void 0||n.length===0)return gi;let e={};for(let r=0;rr()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}},jc=class extends Ys{constructor(e){super(),this.moduleType=e}create(e){return new Lc(this.moduleType,e,[])}};function Tk(n,e,r){return new Lc(n,e,r)}var Wh=class extends Xi{constructor(e){super(),this.componentFactoryResolver=new Nc(this),this.instance=null;let r=new $s([...e.providers,{provide:Xi,useValue:this},{provide:Mn,useValue:this.componentFactoryResolver}],e.parent||um(),e.debugName,new Set(["environment"]));this.injector=r,e.runEnvironmentInitializers&&r.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}};function md(n,e,r=null){return new Wh({providers:n,parent:e,debugName:r,runEnvironmentInitializers:!0}).injector}function $0(n){return kk(n)?Array.isArray(n)||!(n instanceof Map)&&Symbol.iterator in n:!1}function Ak(n,e){if(Array.isArray(n))for(let r=0;r>17&32767}function jk(n){return(n&2)==2}function Vk(n,e){return n&131071|e<<17}function Gh(n){return n|2}function zo(n){return(n&131068)>>2}function th(n,e){return n&-131069|e<<2}function Bk(n){return(n&1)===1}function qh(n){return n|1}function Uk(n,e,r,t,i,o){let s=o?e.classBindings:e.styleBindings,a=Wr(s),l=zo(s);n[t]=r;let c=!1,d;if(Array.isArray(r)){let u=r;d=u[1],(d===null||Ks(u,d)>0)&&(c=!0)}else d=r;if(i)if(l!==0){let f=Wr(n[a+1]);n[t+1]=sc(f,a),f!==0&&(n[f+1]=th(n[f+1],t)),n[a+1]=Vk(n[a+1],t)}else n[t+1]=sc(a,0),a!==0&&(n[a+1]=th(n[a+1],t)),a=t;else n[t+1]=sc(l,0),a===0?a=t:n[l+1]=th(n[l+1],t),l=t;c&&(n[t+1]=Gh(n[t+1])),p_(n,d,t,!0),p_(n,d,t,!1),zk(e,d,n,t,o),s=sc(a,l),o?e.classBindings=s:e.styleBindings=s}function zk(n,e,r,t,i){let o=i?n.residualClasses:n.residualStyles;o!=null&&typeof e=="string"&&Ks(o,e)>=0&&(r[t+1]=qh(r[t+1]))}function p_(n,e,r,t){let i=n[r+1],o=e===null,s=t?Wr(i):zo(i),a=!1;for(;s!==0&&(a===!1||o);){let l=n[s],c=n[s+1];Hk(l,e)&&(a=!0,n[s+1]=t?qh(c):Gh(c)),s=t?Wr(c):zo(c)}a&&(n[r+1]=t?Gh(i):qh(i))}function Hk(n,e){return n===null||e==null||(Array.isArray(n)?n[1]:n)===e?!0:Array.isArray(n)&&typeof e=="string"?Ks(n,e)>=0:!1}var Cn={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function $k(n){return n.substring(Cn.key,Cn.keyEnd)}function Wk(n){return Gk(n),Z0(n,Q0(n,0,Cn.textEnd))}function Z0(n,e){let r=Cn.textEnd;return r===e?-1:(e=Cn.keyEnd=qk(n,Cn.key=e,r),Q0(n,e,r))}function Gk(n){Cn.key=0,Cn.keyEnd=0,Cn.value=0,Cn.valueEnd=0,Cn.textEnd=n.length}function Q0(n,e,r){for(;e32;)e++;return e}function M(n,e,r){let t=me(),i=$o();if(on(t,i,e)){let o=Xe(),s=Xs();cd(o,s,t,n,e,t[Qe],r,!1)}return M}function Yh(n,e,r,t,i){let o=e.inputs,s=i?"class":"style";Fm(n,r,o[s],s,t)}function qr(n,e,r){return X0(n,e,r,!1),qr}function ae(n,e){return X0(n,e,null,!0),ae}function zt(n){J0(Jk,K0,n,!0)}function K0(n,e){for(let r=Wk(e);r>=0;r=Z0(e,r))Gc(n,$k(e),!0)}function X0(n,e,r,t){let i=me(),o=Xe(),s=Jc(2);if(o.firstUpdatePass&&tx(o,n,s,t),e!==Nt&&on(i,s,e)){let a=o.data[wi()];nx(o,a,i,i[Qe],n,i[s+1]=t1(e,r),t,s)}}function J0(n,e,r,t){let i=Xe(),o=Jc(2);i.firstUpdatePass&&tx(i,null,o,t);let s=me();if(r!==Nt&&on(s,o,r)){let a=i.data[wi()];if(ix(a,t)&&!ex(i,o)){let l=t?a.classesWithoutHost:a.stylesWithoutHost;l!==null&&(r=oh(l,r||"")),Yh(i,a,s,r,t)}else e1(i,a,s,s[Qe],s[o+1],s[o+1]=Xk(n,e,r),t,o)}}function ex(n,e){return e>=n.expandoStartIndex}function tx(n,e,r,t){let i=n.data;if(i[r+1]===null){let o=i[wi()],s=ex(n,r);ix(o,t)&&e===null&&!s&&(e=!1),e=Yk(i,o,e,t),Uk(i,o,e,r,s,t)}}function Yk(n,e,r,t){let i=_S(n),o=t?e.residualClasses:e.residualStyles;if(i===null)(t?e.classBindings:e.styleBindings)===0&&(r=nh(null,n,e,r,t),r=Zs(r,e.attrs,t),o=null);else{let s=e.directiveStylingLast;if(s===-1||n[s]!==i)if(r=nh(i,n,e,r,t),o===null){let l=Zk(n,e,t);l!==void 0&&Array.isArray(l)&&(l=nh(null,n,e,l[1],t),l=Zs(l,e.attrs,t),Qk(n,e,t,l))}else o=Kk(n,e,t)}return o!==void 0&&(t?e.residualClasses=o:e.residualStyles=o),r}function Zk(n,e,r){let t=r?e.classBindings:e.styleBindings;if(zo(t)!==0)return n[Wr(t)]}function Qk(n,e,r,t){let i=r?e.classBindings:e.styleBindings;n[Wr(i)]=t}function Kk(n,e,r){let t,i=e.directiveEnd;for(let o=1+e.directiveStylingLast;o0;){let l=n[i],c=Array.isArray(l),d=c?l[1]:l,u=d===null,f=r[i+1];f===Nt&&(f=u?Lt:void 0);let m=u?qf(f,t):d===t?f:void 0;if(c&&!Vc(m)&&(m=qf(l,t)),Vc(m)&&(a=m,s))return a;let g=n[i+1];i=s?Wr(g):zo(g)}if(e!==null){let l=o?e.residualClasses:e.residualStyles;l!=null&&(a=qf(l,t))}return a}function Vc(n){return n!==void 0}function t1(n,e){return n==null||n===""||(typeof e=="string"?n=n+e:typeof n=="object"&&(n=Ot(cn(n)))),n}function ix(n,e){return(n.flags&(e?8:16))!==0}function rx(n,e,r){let t=me(),i=$m(t,n,e,r);J0(Gc,K0,i,!0)}function qe(n,e){tr("NgControlFlow");let r=me(),t=$o(),i=r[t]!==Nt?r[t]:-1,o=i!==-1?b_(r,Dt+i):void 0,s=0;if(on(r,t,n)){let a=Ee(null);try{if(o!==void 0&&vA(o,s),n!==-1){let l=Dt+n,c=b_(r,l),d=n1(r[de],l),u=Sc(c,d.tView.ssrId),f=Vm(r,d,e,{dehydratedView:u});Bm(c,f,s,Ic(d,u))}}finally{Ee(a)}}else if(o!==void 0){let a=bA(o,s);a!==void 0&&(a[nn]=e)}}function b_(n,e){return n[e]}function n1(n,e){return mm(n,e)}function i1(n,e,r,t,i,o){let s=e.consts,a=Vo(s,i),l=qo(e,n,2,t,a);return Pm(e,r,l,Vo(s,o)),l.attrs!==null&&Rc(l,l.attrs,!1),l.mergedAttrs!==null&&Rc(l,l.mergedAttrs,!0),e.queries!==null&&e.queries.elementStart(e,l),l}function p(n,e,r,t){let i=me(),o=Xe(),s=Dt+n,a=i[Qe],l=o.firstCreatePass?i1(s,o,i,e,r,t):o.data[s],c=r1(o,i,l,a,e,n);i[s]=c;let d=Kc(l);return Gr(l,!0),f0(a,c,l),!Ok(l)&&td()&&sd(o,i,c,l),lS()===0&&Qi(c,i),cS(),d&&(Om(o,i,l),km(o,l,i)),t!==null&&Rm(i,l),p}function b(){let n=yt();gm()?bm():(n=n.parent,Gr(n,!1));let e=n;uS(e)&&fS(),dS();let r=Xe();return r.firstCreatePass&&(id(r,n),hm(n)&&r.queries.elementEnd(n)),e.classesWithoutHost!=null&&MS(e)&&Yh(r,e,me(),e.classesWithoutHost,!0),e.stylesWithoutHost!=null&&SS(e)&&Yh(r,e,me(),e.stylesWithoutHost,!1),b}function O(n,e,r,t){return p(n,e,r,t),b(),O}var r1=(n,e,r,t,i,o)=>(nd(!0),i0(t,i,CS()));function o1(n,e,r,t,i){let o=e.consts,s=Vo(o,t),a=qo(e,n,8,"ng-container",s);s!==null&&Rc(a,s,!0);let l=Vo(o,i);return Pm(e,r,a,l),e.queries!==null&&e.queries.elementStart(e,a),a}function Wm(n,e,r){let t=me(),i=Xe(),o=n+Dt,s=i.firstCreatePass?o1(o,i,t,e,r):i.data[o];Gr(s,!0);let a=s1(i,t,s,n);return t[o]=a,td()&&sd(i,t,a,s),Qi(a,t),Kc(s)&&(Om(i,t,s),km(i,s,t)),r!=null&&Rm(t,s),Wm}function Gm(){let n=yt(),e=Xe();return gm()?bm():(n=n.parent,Gr(n,!1)),e.firstCreatePass&&(id(e,n),hm(n)&&e.queries.elementEnd(n)),Gm}var s1=(n,e,r,t)=>(nd(!0),IT(e[Qe],""));function Me(){return me()}function dn(n,e,r){let t=me(),i=$o();if(on(t,i,e)){let o=Xe(),s=Xs();cd(o,s,t,n,e,t[Qe],r,!0)}return dn}var Bc="en-US";var a1=Bc;function l1(n){typeof n=="string"&&(a1=n.toLowerCase().replace(/_/g,"-"))}var c1=(n,e,r)=>{};function z(n,e,r,t){let i=me(),o=Xe(),s=yt();return ox(o,i,i[Qe],s,n,e,t),z}function d1(n,e,r,t){let i=n.cleanup;if(i!=null)for(let o=0;ol?a[l]:null}typeof s=="string"&&(o+=2)}return null}function ox(n,e,r,t,i,o,s){let a=Kc(t),c=n.firstCreatePass&&C0(n),d=e[nn],u=w0(e),f=!0;if(t.type&3||s){let _=sn(t,e),C=s?s(_):_,S=u.length,B=s?q=>s(qn(q[t.index])):t.index,ve=null;if(!s&&a&&(ve=d1(n,e,i,t.index)),ve!==null){let q=ve.__ngLastListenerFn__||ve;q.__ngNextListenerFn__=o,ve.__ngLastListenerFn__=o,f=!1}else{o=__(t,e,d,o),c1(_,i,o);let q=r.listen(C,i,o);u.push(o,q),c&&c.push(i,B,S,S+1)}}else o=__(t,e,d,o);let m=t.outputs,g;if(f&&m!==null&&(g=m[i])){let _=g.length;if(_)for(let C=0;C<_;C+=2){let S=g[C],B=g[C+1],$e=e[S][B].subscribe(o),be=u.length;u.push(o,$e),c&&c.push(i,t.index,be,-(be+1))}}}function v_(n,e,r,t){let i=Ee(null);try{return zn(6,e,r),r(t)!==!1}catch(o){return D0(n,o),!1}finally{zn(7,e,r),Ee(i)}}function __(n,e,r,t){return function i(o){if(o===Function)return t;let s=n.componentOffset>-1?Ji(n.index,e):e;Um(s,5);let a=v_(e,r,t,o),l=i.__ngNextListenerFn__;for(;l;)a=v_(e,r,l,o)&&a,l=l.__ngNextListenerFn__;return a}}function R(n=1){return xS(n)}function u1(n,e){let r=null,t=kM(n);for(let i=0;i=n.data.length&&(n.data[r]=null,n.blueprint[r]=null),e[r]=t}function Et(n){let e=mS();return ry(e,Dt+n)}function w(n,e=""){let r=me(),t=Xe(),i=n+Dt,o=t.firstCreatePass?qo(t,i,1,e,null):t.data[i],s=m1(t,r,o,e,n);r[i]=s,td()&&sd(t,r,s,o),Gr(o,!1)}var m1=(n,e,r,t,i)=>(nd(!0),DT(e[Qe],t));function ct(n){return Te("",n,""),ct}function Te(n,e,r){let t=me(),i=$m(t,n,e,r);return i!==Nt&&Lm(t,wi(),i),Te}function qm(n,e,r,t,i){let o=me(),s=Fk(o,n,e,r,t,i);return s!==Nt&&Lm(o,wi(),s),qm}function Ym(n,e,r,t,i,o,s){let a=me(),l=Lk(a,n,e,r,t,i,o,s);return l!==Nt&&Lm(a,wi(),l),Ym}function ra(n,e,r){U0(e)&&(e=e());let t=me(),i=$o();if(on(t,i,e)){let o=Xe(),s=Xs();cd(o,s,t,n,e,t[Qe],r,!1)}return ra}function pd(n,e){let r=U0(n);return r&&n.set(e),r}function oa(n,e){let r=me(),t=Xe(),i=yt();return ox(t,r,r[Qe],i,n,e),oa}function p1(n,e,r){let t=Xe();if(t.firstCreatePass){let i=Zi(n);Zh(r,t.data,t.blueprint,i,!0),Zh(e,t.data,t.blueprint,i,!1)}}function Zh(n,e,r,t,i){if(n=_t(n),Array.isArray(n))for(let o=0;o>20;if(Fo(n)||!n.multi){let m=new zr(c,i,h),g=rh(l,e,i?d:d+f,u);g===-1?(vh(Cc(a,s),o,l),ih(o,n,e.length),e.push(l),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),r.push(m),s.push(m)):(r[g]=m,s[g]=m)}else{let m=rh(l,e,d+f,u),g=rh(l,e,d,d+f),_=m>=0&&r[m],C=g>=0&&r[g];if(i&&!C||!i&&!_){vh(Cc(a,s),o,l);let S=v1(i?b1:g1,r.length,i,t,c);!i&&C&&(r[g].providerFactory=S),ih(o,n,e.length,0),e.push(l),a.directiveStart++,a.directiveEnd++,i&&(a.providerIndexes+=1048576),r.push(S),s.push(S)}else{let S=ax(r[i?g:m],c,!i&&t);ih(o,n,m>-1?m:g,S)}!i&&t&&C&&r[g].componentProviders++}}}function ih(n,e,r,t){let i=Fo(e),o=WM(e);if(i||o){let l=(o?_t(e.useClass):e).prototype.ngOnDestroy;if(l){let c=n.destroyHooks||(n.destroyHooks=[]);if(!i&&e.multi){let d=c.indexOf(r);d===-1?c.push(r,[t,l]):c[d+1].push(t,l)}else c.push(r,l)}}}function ax(n,e,r){return r&&n.componentProviders++,n.multi.push(e)-1}function rh(n,e,r,t){for(let i=r;i{r.providersResolver=(t,i)=>p1(t,i?i(n):n,e)}}var _1=(()=>{let e=class e{constructor(t){this._injector=t,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(t){if(!t.standalone)return null;if(!this.cachedInjectors.has(t)){let i=W_(!1,t.type),o=i.length>0?md([i],this._injector,"Standalone[".concat(t.type.name,"]")):null;this.cachedInjectors.set(t,o)}return this.cachedInjectors.get(t)}ngOnDestroy(){try{for(let t of this.cachedInjectors.values())t!==null&&t.destroy()}finally{this.cachedInjectors.clear()}}};e.\u0275prov=I({token:e,providedIn:"environment",factory:()=>new e(v(mt))});let n=e;return n})();function Oe(n){tr("NgStandalone"),n.getStandaloneInjector=e=>e.get(_1).getOrCreateStandaloneInjector(n)}function Zm(n,e,r,t,i,o){return x1(me(),hy(),n,e,r,t,i,o)}function lx(n,e){let r=n[e];return r===Nt?void 0:r}function y1(n,e,r,t,i,o){let s=e+r;return on(n,s,i)?W0(n,s+1,o?t.call(o,i):t(i)):lx(n,s+1)}function x1(n,e,r,t,i,o,s,a){let l=e+r;return q0(n,l,i,o,s)?W0(n,l+3,a?t.call(a,i,o,s):t(i,o,s)):lx(n,l+3)}function Jn(n,e){var l;let r=Xe(),t,i=n+Dt;r.firstCreatePass?(t=w1(e,r.pipeRegistry),r.data[i]=t,t.onDestroy&&((l=r.destroyHooks)!=null?l:r.destroyHooks=[]).push(i,t.onDestroy)):t=r.data[i];let o=t.factory||(t.factory=Lr(t.type,!0)),s,a=Ft(h);try{let c=wc(!1),d=o();return wc(c),h1(r,me(),i,d),d}finally{Ft(a)}}function w1(n,e){if(e)for(let r=e.length-1;r>=0;r--){let t=e[r];if(n===t.name)return t}}function ei(n,e,r){let t=n+Dt,i=me(),o=ry(i,t);return C1(i,t)?y1(i,hy(),e,o.transform,r,o):o.transform(r)}function C1(n,e){return n[de].data[e].pure}function cx(n,e){return ud(n,e)}var ac=null;function D1(n){ac!==null&&(n.defaultEncapsulation!==ac.defaultEncapsulation||n.preserveWhitespaces!==ac.preserveWhitespaces)||(ac=n)}var gd=(()=>{let e=class e{log(t){console.log(t)}warn(t){console.warn(t)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"platform"});let n=e;return n})();var Qm=new E(""),sa=new E(""),bd=(()=>{let e=class e{constructor(t,i,o){this._ngZone=t,this.registry=i,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,Us||(E1(o),o.addToWindow(i)),this._watchAngularEvents(),t.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{k.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}isStable(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;this._callbacks.length!==0;){let t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb()}});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(i=>i.updateCb&&i.updateCb(t)?(clearTimeout(i.timeoutId),!1):!0)}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,i,o){let s=-1;i&&i>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(a=>a.timeoutId!==s),t()},i)),this._callbacks.push({doneCb:t,timeoutId:s,updateCb:o})}whenStable(t,i,o){if(o&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(t,i,o),this._runCallbacksIfReady()}registerApplication(t){this.registry.registerApplication(t,this)}unregisterApplication(t){this.registry.unregisterApplication(t)}findProviders(t,i,o){return[]}};e.\u0275fac=function(i){return new(i||e)(v(k),v(vd),v(sa))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let n=e;return n})(),vd=(()=>{let e=class e{constructor(){this._applications=new Map}registerApplication(t,i){this._applications.set(t,i)}unregisterApplication(t){this._applications.delete(t)}unregisterAllApplications(){this._applications.clear()}getTestability(t){return this._applications.get(t)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(t,i=!0){var o;return(o=Us==null?void 0:Us.findTestabilityInTree(this,t,i))!=null?o:null}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"platform"});let n=e;return n})();function E1(n){Us=n}var Us;function Yr(n){return!!n&&typeof n.then=="function"}function dx(n){return!!n&&typeof n.subscribe=="function"}var _d=new E(""),ux=(()=>{let e=class e{constructor(){var t;this.initialized=!1,this.done=!1,this.donePromise=new Promise((i,o)=>{this.resolve=i,this.reject=o}),this.appInits=(t=y(_d,{optional:!0}))!=null?t:[]}runInitializers(){if(this.initialized)return;let t=[];for(let o of this.appInits){let s=o();if(Yr(s))t.push(s);else if(dx(s)){let a=new Promise((l,c)=>{s.subscribe({complete:l,error:c})});t.push(a)}}let i=()=>{this.done=!0,this.resolve()};Promise.all(t).then(()=>{i()}).catch(o=>{this.reject(o)}),t.length===0&&i(),this.initialized=!0}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})(),yd=new E("");function I1(){nv(()=>{throw new T(600,!1)})}function M1(n){return n.isBoundToModule}var S1=10;function T1(n,e,r){try{let t=r();return Yr(t)?t.catch(i=>{throw e.runOutsideAngular(()=>n.handleError(i)),i}):t}catch(t){throw e.runOutsideAngular(()=>n.handleError(t)),t}}function fx(n,e){return Array.isArray(e)?e.reduce(fx,n):D(D({},n),e)}var Tn=(()=>{let e=class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=y(Ry),this.afterRenderEffectManager=y(fd),this.zonelessEnabled=y(k0),this.externalTestViews=new Set,this.beforeRender=new A,this.afterTick=new A,this.componentTypes=[],this.components=[],this.isStable=y(Kn).hasPendingTasks.pipe(K(t=>!t)),this._injector=y(mt)}get allViews(){return[...this.externalTestViews.keys(),...this._views]}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(t,i){let o=t instanceof Tc;if(!this._injector.get(ux).done){let m=!o&&U_(t),g=!1;throw new T(405,g)}let a;o?a=t:a=this._injector.get(Mn).resolveComponentFactory(t),this.componentTypes.push(a.componentType);let l=M1(a)?void 0:this._injector.get(Xi),c=i||a.selector,d=a.create(Ce.NULL,[],c,l),u=d.location.nativeElement,f=d.injector.get(Qm,null);return f==null||f.registerApplication(u),d.onDestroy(()=>{this.detachView(d.hostView),hc(this.components,d),f==null||f.unregisterApplication(u)}),this._loadComponent(d),d}tick(){this._tick(!0)}_tick(t){if(this._runningTick)throw new T(101,!1);let i=Ee(null);try{this._runningTick=!0,this.detectChangesInAttachedViews(t)}catch(o){this.internalErrorHandler(o)}finally{this._runningTick=!1,Ee(i),this.afterTick.next()}}detectChangesInAttachedViews(t){var a,l;let i=null;this._injector.destroyed||(i=this._injector.get(Ki,null,{optional:!0}));let o=0,s=this.afterRenderEffectManager;for(;oqs(d))&&(s.execute(),!this.allViews.some(({_lView:d})=>qs(d))))break}}attachView(t){let i=t;this._views.push(i),i.attachToAppRef(this)}detachView(t){let i=t;hc(this._views,i),i.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t);let i=this._injector.get(yd,[]);[...this._bootstrapListeners,...i].forEach(o=>o(t))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(t=>t()),this._views.slice().forEach(t=>t.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(t){return this._destroyListeners.push(t),()=>hc(this._destroyListeners,t)}destroy(){if(this._destroyed)throw new T(406,!1);let t=this._injector;t.destroy&&!t.destroyed&&t.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();function hc(n,e){let r=n.indexOf(e);r>-1&&n.splice(r,1)}function A1(n,e,r,t){if(!r&&!qs(n))return;M0(n,e,r&&!t?0:1)}var Kh=class{constructor(e,r){this.ngModuleFactory=e,this.componentFactories=r}},xd=(()=>{let e=class e{compileModuleSync(t){return new jc(t)}compileModuleAsync(t){return Promise.resolve(this.compileModuleSync(t))}compileModuleAndAllComponentsSync(t){let i=this.compileModuleSync(t),o=z_(t),s=t0(o.declarations).reduce((a,l)=>{let c=Yi(l);return c&&a.push(new Uo(c)),a},[]);return new Kh(i,s)}compileModuleAndAllComponentsAsync(t){return Promise.resolve(this.compileModuleAndAllComponentsSync(t))}clearCache(){}clearCacheFor(t){}getModuleId(t){}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})(),k1=new E("");function O1(n,e,r){let t=new jc(r);return Promise.resolve(t)}function y_(n){for(let e=n.length-1;e>=0;e--)if(n[e]!==void 0)return n[e]}var R1=(()=>{let e=class e{constructor(){this.zone=y(k),this.changeDetectionScheduler=y(Bo),this.applicationRef=y(Tn)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.changeDetectionScheduler.runningTick||this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){var t;(t=this._onMicrotaskEmptySubscription)==null||t.unsubscribe()}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();function N1({ngZoneFactory:n,ignoreChangesOutsideZone:e}){return n!=null||(n=()=>new k(hx())),[{provide:k,useFactory:n},{provide:No,multi:!0,useFactory:()=>{let r=y(R1,{optional:!0});return()=>r.initialize()}},{provide:No,multi:!0,useFactory:()=>{let r=y(F1);return()=>{r.initialize()}}},{provide:Ry,useFactory:P1},e===!0?{provide:O0,useValue:!0}:[]]}function P1(){let n=y(k),e=y(In);return r=>n.runOutsideAngular(()=>e.handleError(r))}function hx(n){var e,r;return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:(e=n==null?void 0:n.eventCoalescing)!=null?e:!1,shouldCoalesceRunChangeDetection:(r=n==null?void 0:n.runCoalescing)!=null?r:!1}}var F1=(()=>{let e=class e{constructor(){this.subscription=new fe,this.initialized=!1,this.zone=y(k),this.pendingTasks=y(Kn)}initialize(){if(this.initialized)return;this.initialized=!0;let t=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(t=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{k.assertNotInAngularZone(),queueMicrotask(()=>{t!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(t),t=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{k.assertInAngularZone(),t!=null||(t=this.pendingTasks.add())}))}ngOnDestroy(){this.subscription.unsubscribe()}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();var L1=(()=>{let e=class e{constructor(){var t;this.appRef=y(Tn),this.taskService=y(Kn),this.ngZone=y(k),this.zonelessEnabled=y(k0),this.disableScheduling=(t=y(O0,{optional:!0}))!=null?t:!1,this.zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run,this.schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}],this.subscriptions=new fe,this.cancelScheduledCallback=null,this.shouldRefreshViews=!1,this.useMicrotaskScheduler=!1,this.runningTick=!1,this.pendingRenderTaskId=null,this.subscriptions.add(this.appRef.afterTick.subscribe(()=>{this.runningTick||this.cleanup()})),this.subscriptions.add(this.ngZone.onUnstable.subscribe(()=>{this.runningTick||this.cleanup()})),this.disableScheduling||(this.disableScheduling=!this.zonelessEnabled&&(this.ngZone instanceof Ac||!this.zoneIsDefined))}notify(t){if(!this.zonelessEnabled&&t===5)return;switch(t){case 3:case 2:case 0:case 4:case 5:case 1:{this.shouldRefreshViews=!0;break}case 8:case 7:case 6:case 9:default:}if(!this.shouldScheduleTick())return;let i=this.useMicrotaskScheduler?l_:R0;this.pendingRenderTaskId=this.taskService.add(),this.zoneIsDefined?Zone.root.run(()=>{this.cancelScheduledCallback=i(()=>{this.tick(this.shouldRefreshViews)})}):this.cancelScheduledCallback=i(()=>{this.tick(this.shouldRefreshViews)})}shouldScheduleTick(){return!(this.disableScheduling||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&k.isInAngularZone())}tick(t){if(this.runningTick||this.appRef.destroyed)return;let i=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick(t)},void 0,this.schedulerTickApplyArgs)}catch(o){throw this.taskService.remove(i),o}finally{this.cleanup()}this.useMicrotaskScheduler=!0,l_(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(i)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){var t;if(this.shouldRefreshViews=!1,this.runningTick=!1,(t=this.cancelScheduledCallback)==null||t.call(this),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let i=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(i)}}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();function j1(){return typeof $localize<"u"&&$localize.locale||Bc}var wd=new E("",{providedIn:"root",factory:()=>y(wd,ye.Optional|ye.SkipSelf)||j1()});var mx=new E(""),px=(()=>{let e=class e{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,i){let o=$A(i==null?void 0:i.ngZone,hx({eventCoalescing:i==null?void 0:i.ngZoneEventCoalescing,runCoalescing:i==null?void 0:i.ngZoneRunCoalescing}));return o.run(()=>{let s=i==null?void 0:i.ignoreChangesOutsideZone,a=Tk(t.moduleType,this.injector,[...N1({ngZoneFactory:()=>o,ignoreChangesOutsideZone:s}),{provide:Bo,useExisting:L1}]),l=a.injector.get(In,null);return o.runOutsideAngular(()=>{let c=o.onError.subscribe({next:d=>{l.handleError(d)}});a.onDestroy(()=>{hc(this._modules,a),c.unsubscribe()})}),T1(l,o,()=>{let c=a.injector.get(ux);return c.runInitializers(),c.donePromise.then(()=>{let d=a.injector.get(wd,Bc);return l1(d||Bc),this._moduleDoBootstrap(a),a})})})}bootstrapModule(t,i=[]){let o=fx({},i);return O1(this.injector,o,t).then(s=>this.bootstrapModuleFactory(s,o))}_moduleDoBootstrap(t){let i=t.injector.get(Tn);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(o=>i.bootstrap(o));else if(t.instance.ngDoBootstrap)t.instance.ngDoBootstrap(i);else throw new T(-403,!1);this._modules.push(t)}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new T(404,!1);this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i());let t=this._injector.get(mx,null);t&&(t.forEach(i=>i()),t.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}};e.\u0275fac=function(i){return new(i||e)(v(Ce))},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"platform"});let n=e;return n})(),Fr=null,gx=new E("");function V1(n){if(Fr&&!Fr.get(gx,!1))throw new T(400,!1);I1(),Fr=n;let e=n.get(px);return z1(n),e}function Km(n,e,r=[]){let t="Platform: ".concat(e),i=new E(t);return(o=[])=>{let s=bx();if(!s||s.injector.get(gx,!1)){let a=[...r,...o,{provide:i,useValue:!0}];n?n(a):V1(B1(a,t))}return U1(i)}}function B1(n=[],e){return Ce.create({name:e,providers:[{provide:Yc,useValue:"platform"},{provide:mx,useValue:new Set([()=>Fr=null])},...n]})}function U1(n){let e=bx();if(!e)throw new T(401,!1);return e}function bx(){var n;return(n=Fr==null?void 0:Fr.get(px))!=null?n:null}function z1(n){let e=n.get(wm,null);e==null||e.forEach(r=>r())}var Ne=(()=>{let e=class e{};e.__NG_ELEMENT_ID__=H1;let n=e;return n})();function H1(n){return $1(yt(),me(),(n&16)===16)}function $1(n,e,r){if(Qc(n)&&!r){let t=Ji(n.index,e);return new $r(t,t)}else if(n.type&47){let t=e[rn];return new $r(t,e)}return null}var Xh=class{constructor(){}supports(e){return $0(e)}create(e){return new Jh(e)}},W1=(n,e)=>e,Jh=class{constructor(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||W1}forEachItem(e){let r;for(r=this._itHead;r!==null;r=r._next)e(r)}forEachOperation(e){let r=this._itHead,t=this._removalsHead,i=0,o=null;for(;r||t;){let s=!t||r&&r.currentIndex{s=this._trackByFn(i,a),r===null||!Object.is(r.trackById,s)?(r=this._mismatch(r,a,s,i),t=!0):(t&&(r=this._verifyReinsertion(r,a,s,i)),Object.is(r.item,a)||this._addIdentityChange(r,a)),r=r._next,i++}),this.length=i;return this._truncate(r),this.collection=e,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let e;for(e=this._previousItHead=this._itHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;e!==null;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;e!==null;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,r,t,i){let o;return e===null?o=this._itTail:(o=e._prev,this._remove(e)),e=this._unlinkedRecords===null?null:this._unlinkedRecords.get(t,null),e!==null?(Object.is(e.item,r)||this._addIdentityChange(e,r),this._reinsertAfter(e,o,i)):(e=this._linkedRecords===null?null:this._linkedRecords.get(t,i),e!==null?(Object.is(e.item,r)||this._addIdentityChange(e,r),this._moveAfter(e,o,i)):e=this._addAfter(new em(r,t),o,i)),e}_verifyReinsertion(e,r,t,i){let o=this._unlinkedRecords===null?null:this._unlinkedRecords.get(t,null);return o!==null?e=this._reinsertAfter(o,e._prev,i):e.currentIndex!=i&&(e.currentIndex=i,this._addToMoves(e,i)),e}_truncate(e){for(;e!==null;){let r=e._next;this._addToRemovals(this._unlink(e)),e=r}this._unlinkedRecords!==null&&this._unlinkedRecords.clear(),this._additionsTail!==null&&(this._additionsTail._nextAdded=null),this._movesTail!==null&&(this._movesTail._nextMoved=null),this._itTail!==null&&(this._itTail._next=null),this._removalsTail!==null&&(this._removalsTail._nextRemoved=null),this._identityChangesTail!==null&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(e,r,t){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(e);let i=e._prevRemoved,o=e._nextRemoved;return i===null?this._removalsHead=o:i._nextRemoved=o,o===null?this._removalsTail=i:o._prevRemoved=i,this._insertAfter(e,r,t),this._addToMoves(e,t),e}_moveAfter(e,r,t){return this._unlink(e),this._insertAfter(e,r,t),this._addToMoves(e,t),e}_addAfter(e,r,t){return this._insertAfter(e,r,t),this._additionsTail===null?this._additionsTail=this._additionsHead=e:this._additionsTail=this._additionsTail._nextAdded=e,e}_insertAfter(e,r,t){let i=r===null?this._itHead:r._next;return e._next=i,e._prev=r,i===null?this._itTail=e:i._prev=e,r===null?this._itHead=e:r._next=e,this._linkedRecords===null&&(this._linkedRecords=new Uc),this._linkedRecords.put(e),e.currentIndex=t,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){this._linkedRecords!==null&&this._linkedRecords.remove(e);let r=e._prev,t=e._next;return r===null?this._itHead=t:r._next=t,t===null?this._itTail=r:t._prev=r,e}_addToMoves(e,r){return e.previousIndex===r||(this._movesTail===null?this._movesTail=this._movesHead=e:this._movesTail=this._movesTail._nextMoved=e),e}_addToRemovals(e){return this._unlinkedRecords===null&&(this._unlinkedRecords=new Uc),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,r){return e.item=r,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=e:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=e,e}},em=class{constructor(e,r){this.item=e,this.trackById=r,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}},tm=class{constructor(){this._head=null,this._tail=null}add(e){this._head===null?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,r){let t;for(t=this._head;t!==null;t=t._nextDup)if((r===null||r<=t.currentIndex)&&Object.is(t.trackById,e))return t;return null}remove(e){let r=e._prevDup,t=e._nextDup;return r===null?this._head=t:r._nextDup=t,t===null?this._tail=r:t._prevDup=r,this._head===null}},Uc=class{constructor(){this.map=new Map}put(e){let r=e.trackById,t=this.map.get(r);t||(t=new tm,this.map.set(r,t)),t.add(e)}get(e,r){let t=e,i=this.map.get(t);return i?i.get(e,r):null}remove(e){let r=e.trackById;return this.map.get(r).remove(e)&&this.map.delete(r),e}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function x_(n,e,r){let t=n.previousIndex;if(t===null)return t;let i=0;return r&&t{let e=class e{constructor(t){this.factories=t}static create(t,i){if(i!=null){let o=i.factories.slice();t=t.concat(o)}return new e(t)}static extend(t){return{provide:e,useFactory:i=>e.create(t,i||w_()),deps:[[e,new om,new Wc]]}}find(t){let i=this.factories.find(o=>o.supports(t));if(i!=null)return i;throw new T(901,!1)}};e.\u0275prov=I({token:e,providedIn:"root",factory:w_});let n=e;return n})();var vx=Km(null,"core",[]),_x=(()=>{let e=class e{constructor(t){}};e.\u0275fac=function(i){return new(i||e)(v(Tn))},e.\u0275mod=V({type:e}),e.\u0275inj=L({});let n=e;return n})();function oe(n){return typeof n=="boolean"?n:n!=null&&n!=="false"}function ti(n,e=NaN){return!isNaN(parseFloat(n))&&!isNaN(Number(n))?Number(n):e}function Xm(n){let e=Ee(null);try{return n()}finally{Ee(e)}}var G1=new E("",{providedIn:"root",factory:()=>y(q1)}),q1=(()=>{let e=class e{};e.\u0275prov=I({token:e,providedIn:"root",factory:()=>new nm});let n=e;return n})(),nm=class{constructor(){this.queuedEffectCount=0,this.queues=new Map,this.pendingTasks=y(Kn),this.taskId=null}scheduleEffect(e){if(this.enqueue(e),this.taskId===null){let r=this.taskId=this.pendingTasks.add();queueMicrotask(()=>{this.flush(),this.pendingTasks.remove(r),this.taskId=null})}}enqueue(e){let r=e.creationZone;this.queues.has(r)||this.queues.set(r,new Set);let t=this.queues.get(r);t.has(e)||(this.queuedEffectCount++,t.add(e))}flush(){for(;this.queuedEffectCount>0;)for(let[e,r]of this.queues)e===null?this.flushQueue(r):e.run(()=>this.flushQueue(r))}flushQueue(e){for(let r of e)e.delete(r),this.queuedEffectCount--,r.run()}},im=class{constructor(e,r,t,i,o,s){this.scheduler=e,this.effectFn=r,this.creationZone=t,this.injector=o,this.watcher=iv(a=>this.runEffect(a),()=>this.schedule(),s),this.unregisterOnDestroy=i==null?void 0:i.onDestroy(()=>this.destroy())}runEffect(e){try{this.effectFn(e)}catch(r){let t=this.injector.get(In,null,{optional:!0});t==null||t.handleError(r)}}run(){this.watcher.run()}schedule(){this.scheduler.scheduleEffect(this)}destroy(){var e;this.watcher.destroy(),(e=this.unregisterOnDestroy)==null||e.call(this)}};function Jm(n,e){var s,a,l,c;tr("NgSignals"),!(e!=null&&e.injector)&&fm(Jm);let r=(s=e==null?void 0:e.injector)!=null?s:y(Ce),t=(e==null?void 0:e.manualCleanup)!==!0?r.get(Js):null,i=new im(r.get(G1),n,typeof Zone>"u"?null:Zone.current,t,r,(a=e==null?void 0:e.allowSignalWrites)!=null?a:!1),o=r.get(Ne,null,{optional:!0});return!o||!(o._lView[ee]&8)?i.watcher.notify():((c=(l=o._lView)[Oo])!=null?c:l[Oo]=[]).push(i.watcher.notify),i}function yx(n){let e=Yi(n);if(!e)return null;let r=new Uo(e);return{get selector(){return r.selector},get type(){return r.componentType},get inputs(){return r.inputs},get outputs(){return r.outputs},get ngContentSelectors(){return r.ngContentSelectors},get isStandalone(){return e.standalone},get isSignal(){return e.signals}}}var Dd=null;function ni(){return Dd}function Ix(n){Dd!=null||(Dd=n)}var Ed=class{};var W=new E(""),sp=(()=>{let e=class e{historyGo(t){throw new Error("")}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=I({token:e,factory:()=>y(Y1),providedIn:"platform"});let n=e;return n})(),Mx=new E(""),Y1=(()=>{let e=class e extends sp{constructor(){super(),this._doc=y(W),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return ni().getBaseHref(this._doc)}onPopState(t){let i=ni().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",t,!1),()=>i.removeEventListener("popstate",t)}onHashChange(t){let i=ni().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",t,!1),()=>i.removeEventListener("hashchange",t)}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(t){this._location.pathname=t}pushState(t,i,o){this._history.pushState(t,i,o)}replaceState(t,i,o){this._history.replaceState(t,i,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(t=0){this._history.go(t)}getState(){return this._history.state}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=I({token:e,factory:()=>new e,providedIn:"platform"});let n=e;return n})();function ap(n,e){if(n.length==0)return e;if(e.length==0)return n;let r=0;return n.endsWith("/")&&r++,e.startsWith("/")&&r++,r==2?n+e.substring(1):r==1?n+e:n+"/"+e}function xx(n){let e=n.match(/#|\?|$/),r=e&&e.index||n.length,t=r-(n[r-1]==="/"?1:0);return n.slice(0,t)+n.slice(r)}function Ei(n){return n&&n[0]!=="?"?"?"+n:n}var Ii=(()=>{let e=class e{historyGo(t){throw new Error("")}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=I({token:e,factory:()=>y(lp),providedIn:"root"});let n=e;return n})(),Sx=new E(""),lp=(()=>{let e=class e extends Ii{constructor(t,i){var o,s,a;super(),this._platformLocation=t,this._removeListenerFns=[],this._baseHref=(a=(s=i!=null?i:this._platformLocation.getBaseHrefFromDOM())!=null?s:(o=y(W).location)==null?void 0:o.origin)!=null?a:""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return ap(this._baseHref,t)}path(t=!1){let i=this._platformLocation.pathname+Ei(this._platformLocation.search),o=this._platformLocation.hash;return o&&t?"".concat(i).concat(o):i}pushState(t,i,o,s){let a=this.prepareExternalUrl(o+Ei(s));this._platformLocation.pushState(t,i,a)}replaceState(t,i,o,s){let a=this.prepareExternalUrl(o+Ei(s));this._platformLocation.replaceState(t,i,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){var i,o;(o=(i=this._platformLocation).historyGo)==null||o.call(i,t)}};e.\u0275fac=function(i){return new(i||e)(v(sp),v(Sx,8))},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})(),Tx=(()=>{let e=class e extends Ii{constructor(t,i){super(),this._platformLocation=t,this._baseHref="",this._removeListenerFns=[],i!=null&&(this._baseHref=i)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}path(t=!1){var o;let i=(o=this._platformLocation.hash)!=null?o:"#";return i.length>0?i.substring(1):i}prepareExternalUrl(t){let i=ap(this._baseHref,t);return i.length>0?"#"+i:i}pushState(t,i,o,s){let a=this.prepareExternalUrl(o+Ei(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.pushState(t,i,a)}replaceState(t,i,o,s){let a=this.prepareExternalUrl(o+Ei(s));a.length==0&&(a=this._platformLocation.pathname),this._platformLocation.replaceState(t,i,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){var i,o;(o=(i=this._platformLocation).historyGo)==null||o.call(i,t)}};e.\u0275fac=function(i){return new(i||e)(v(sp),v(Sx,8))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let n=e;return n})(),ii=(()=>{let e=class e{constructor(t){this._subject=new $,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=t;let i=this._locationStrategy.getBaseHref();this._basePath=K1(xx(wx(i))),this._locationStrategy.onPopState(o=>{this._subject.emit({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){var t;(t=this._urlChangeSubscription)==null||t.unsubscribe(),this._urlChangeListeners=[]}path(t=!1){return this.normalize(this._locationStrategy.path(t))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(t,i=""){return this.path()==this.normalize(t+Ei(i))}normalize(t){return e.stripTrailingSlash(Q1(this._basePath,wx(t)))}prepareExternalUrl(t){return t&&t[0]!=="/"&&(t="/"+t),this._locationStrategy.prepareExternalUrl(t)}go(t,i="",o=null){this._locationStrategy.pushState(o,"",t,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+Ei(i)),o)}replaceState(t,i="",o=null){this._locationStrategy.replaceState(o,"",t,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+Ei(i)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(t=0){var i,o;(o=(i=this._locationStrategy).historyGo)==null||o.call(i,t)}onUrlChange(t){var i;return this._urlChangeListeners.push(t),(i=this._urlChangeSubscription)!=null||(this._urlChangeSubscription=this.subscribe(o=>{this._notifyUrlChangeListeners(o.url,o.state)})),()=>{var s;let o=this._urlChangeListeners.indexOf(t);this._urlChangeListeners.splice(o,1),this._urlChangeListeners.length===0&&((s=this._urlChangeSubscription)==null||s.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(t="",i){this._urlChangeListeners.forEach(o=>o(t,i))}subscribe(t,i,o){return this._subject.subscribe({next:t,error:i,complete:o})}};e.normalizeQueryParams=Ei,e.joinWithSlash=ap,e.stripTrailingSlash=xx,e.\u0275fac=function(i){return new(i||e)(v(Ii))},e.\u0275prov=I({token:e,factory:()=>Z1(),providedIn:"root"});let n=e;return n})();function Z1(){return new ii(v(Ii))}function Q1(n,e){if(!n||!e.startsWith(n))return e;let r=e.substring(n.length);return r===""||["/",";","?","#"].includes(r[0])?r:e}function wx(n){return n.replace(/\/index.html$/,"")}function K1(n){if(new RegExp("^(https?:)?//").test(n)){let[,r]=n.split(/\/\/[^\/]+/);return r}return n}function Md(n,e){e=encodeURIComponent(e);for(let r of n.split(";")){let t=r.indexOf("="),[i,o]=t==-1?[r,""]:[r.slice(0,t),r.slice(t+1)];if(i.trim()===e)return decodeURIComponent(o)}return null}var tp=/\s+/,Cx=[],Qo=(()=>{let e=class e{constructor(t,i){this._ngEl=t,this._renderer=i,this.initialClasses=Cx,this.stateMap=new Map}set klass(t){this.initialClasses=t!=null?t.trim().split(tp):Cx}set ngClass(t){this.rawClass=typeof t=="string"?t.trim().split(tp):t}ngDoCheck(){for(let i of this.initialClasses)this._updateState(i,!0);let t=this.rawClass;if(Array.isArray(t)||t instanceof Set)for(let i of t)this._updateState(i,!0);else if(t!=null)for(let i of Object.keys(t))this._updateState(i,!!t[i]);this._applyStateDiff()}_updateState(t,i){let o=this.stateMap.get(t);o!==void 0?(o.enabled!==i&&(o.changed=!0,o.enabled=i),o.touched=!0):this.stateMap.set(t,{enabled:i,changed:!0,touched:!0})}_applyStateDiff(){for(let t of this.stateMap){let i=t[0],o=t[1];o.changed?(this._toggleClass(i,o.enabled),o.changed=!1):o.touched||(o.enabled&&this._toggleClass(i,!1),this.stateMap.delete(i)),o.touched=!1}}_toggleClass(t,i){t=t.trim(),t.length>0&&t.split(tp).forEach(o=>{i?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}};e.\u0275fac=function(i){return new(i||e)(h(P),h(er))},e.\u0275dir=N({type:e,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"},standalone:!0});let n=e;return n})();var np=class{constructor(e,r,t,i){this.$implicit=e,this.ngForOf=r,this.index=t,this.count=i}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},It=(()=>{let e=class e{set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}constructor(t,i,o){this._viewContainer=t,this._template=i,this._differs=o,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let t=this._ngForOf;if(!this._differ&&t)if(0)try{}catch{}else this._differ=this._differs.find(t).create(this.ngForTrackBy)}if(this._differ){let t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){let i=this._viewContainer;t.forEachOperation((o,s,a)=>{if(o.previousIndex==null)i.createEmbeddedView(this._template,new np(o.item,this._ngForOf,-1,-1),a===null?void 0:a);else if(a==null)i.remove(s===null?void 0:s);else if(s!==null){let l=i.get(s);i.move(l,a),Dx(l,o)}});for(let o=0,s=i.length;o{let s=i.get(o.currentIndex);Dx(s,o)})}static ngTemplateContextGuard(t,i){return!0}};e.\u0275fac=function(i){return new(i||e)(h(lt),h(pt),h(Cd))},e.\u0275dir=N({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0});let n=e;return n})();function Dx(n,e){n.context.$implicit=e.item}var Mt=(()=>{let e=class e{constructor(t,i){this._viewContainer=t,this._context=new ip,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=i}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){Ex("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){Ex("ngIfElse",t),this._elseTemplateRef=t,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(t,i){return!0}};e.\u0275fac=function(i){return new(i||e)(h(lt),h(pt))},e.\u0275dir=N({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0});let n=e;return n})(),ip=class{constructor(){this.$implicit=null,this.ngIf=null}};function Ex(n,e){if(!!!(!e||e.createEmbeddedView))throw new Error("".concat(n," must be a TemplateRef, but received '").concat(Ot(e),"'."))}var Ax=(()=>{let e=class e{constructor(t){this._viewContainerRef=t,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(t){var i;if(this._shouldRecreateView(t)){let o=this._viewContainerRef;if(this._viewRef&&o.remove(o.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let s=this._createContextForwardProxy();this._viewRef=o.createEmbeddedView(this.ngTemplateOutlet,s,{injector:(i=this.ngTemplateOutletInjector)!=null?i:void 0})}}_shouldRecreateView(t){return!!t.ngTemplateOutlet||!!t.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(t,i,o)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,i,o):!1,get:(t,i,o)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,i,o)}})}};e.\u0275fac=function(i){return new(i||e)(h(lt))},e.\u0275dir=N({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[We]});let n=e;return n})();var ri=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=V({type:e}),e.\u0275inj=L({});let n=e;return n})(),cp="browser",X1="server";function dp(n){return n===cp}function Sd(n){return n===X1}var kx=(()=>{let e=class e{};e.\u0275prov=I({token:e,providedIn:"root",factory:()=>dp(y(ln))?new rp(y(W),window):new op});let n=e;return n})(),rp=class{constructor(e,r){this.document=e,this.window=r,this.offset=()=>[0,0]}setOffset(e){Array.isArray(e)?this.offset=()=>e:this.offset=e}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(e){this.window.scrollTo(e[0],e[1])}scrollToAnchor(e){let r=J1(this.document,e);r&&(this.scrollToElement(r),r.focus())}setHistoryScrollRestoration(e){this.window.history.scrollRestoration=e}scrollToElement(e){let r=e.getBoundingClientRect(),t=r.left+this.window.pageXOffset,i=r.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(t-o[0],i-o[1])}};function J1(n,e){let r=n.getElementById(e)||n.getElementsByName(e)[0];if(r)return r;if(typeof n.createTreeWalker=="function"&&n.body&&typeof n.body.attachShadow=="function"){let t=n.createTreeWalker(n.body,NodeFilter.SHOW_ELEMENT),i=t.currentNode;for(;i;){let o=i.shadowRoot;if(o){let s=o.getElementById(e)||o.querySelector('[name="'.concat(e,'"]'));if(s)return s}i=t.nextNode()}}return null}var op=class{setOffset(e){}getScrollPosition(){return[0,0]}scrollToPosition(e){}scrollToAnchor(e){}setHistoryScrollRestoration(e){}},Zo=class{};var la=class{},Ad=class{},Mi=class n{constructor(e){this.normalizedNames=new Map,this.lazyUpdate=null,e?typeof e=="string"?this.lazyInit=()=>{this.headers=new Map,e.split("\n").forEach(r=>{let t=r.indexOf(":");if(t>0){let i=r.slice(0,t),o=i.toLowerCase(),s=r.slice(t+1).trim();this.maybeSetNormalizedName(i,o),this.headers.has(o)?this.headers.get(o).push(s):this.headers.set(o,[s])}})}:typeof Headers<"u"&&e instanceof Headers?(this.headers=new Map,e.forEach((r,t)=>{this.setHeaderEntries(t,r)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(e).forEach(([r,t])=>{this.setHeaderEntries(r,t)})}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();let r=this.headers.get(e.toLowerCase());return r&&r.length>0?r[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,r){return this.clone({name:e,value:r,op:"a"})}set(e,r){return this.clone({name:e,value:r,op:"s"})}delete(e,r){return this.clone({name:e,value:r,op:"d"})}maybeSetNormalizedName(e,r){this.normalizedNames.has(r)||this.normalizedNames.set(r,e)}init(){this.lazyInit&&(this.lazyInit instanceof n?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(e=>this.applyUpdate(e)),this.lazyUpdate=null))}copyFrom(e){e.init(),Array.from(e.headers.keys()).forEach(r=>{this.headers.set(r,e.headers.get(r)),this.normalizedNames.set(r,e.normalizedNames.get(r))})}clone(e){let r=new n;return r.lazyInit=this.lazyInit&&this.lazyInit instanceof n?this.lazyInit:this,r.lazyUpdate=(this.lazyUpdate||[]).concat([e]),r}applyUpdate(e){let r=e.name.toLowerCase();switch(e.op){case"a":case"s":let t=e.value;if(typeof t=="string"&&(t=[t]),t.length===0)return;this.maybeSetNormalizedName(e.name,r);let i=(e.op==="a"?this.headers.get(r):void 0)||[];i.push(...t),this.headers.set(r,i);break;case"d":let o=e.value;if(!o)this.headers.delete(r),this.normalizedNames.delete(r);else{let s=this.headers.get(r);if(!s)return;s=s.filter(a=>o.indexOf(a)===-1),s.length===0?(this.headers.delete(r),this.normalizedNames.delete(r)):this.headers.set(r,s)}break}}setHeaderEntries(e,r){let t=(Array.isArray(r)?r:[r]).map(o=>o.toString()),i=e.toLowerCase();this.headers.set(i,t),this.maybeSetNormalizedName(e,i)}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(r=>e(this.normalizedNames.get(r),this.headers.get(r)))}};var fp=class{encodeKey(e){return Ox(e)}encodeValue(e){return Ox(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}};function eO(n,e){let r=new Map;return n.length>0&&n.replace(/^\?/,"").split("&").forEach(i=>{let o=i.indexOf("="),[s,a]=o==-1?[e.decodeKey(i),""]:[e.decodeKey(i.slice(0,o)),e.decodeValue(i.slice(o+1))],l=r.get(s)||[];l.push(a),r.set(s,l)}),r}var tO=/%(\d[a-f0-9])/gi,nO={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Ox(n){return encodeURIComponent(n).replace(tO,(e,r)=>{var t;return(t=nO[r])!=null?t:e})}function Td(n){return"".concat(n)}var ir=class n{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new fp,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=eO(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(r=>{let t=e.fromObject[r],i=Array.isArray(t)?t.map(Td):[Td(t)];this.map.set(r,i)})):this.map=null}has(e){return this.init(),this.map.has(e)}get(e){this.init();let r=this.map.get(e);return r?r[0]:null}getAll(e){return this.init(),this.map.get(e)||null}keys(){return this.init(),Array.from(this.map.keys())}append(e,r){return this.clone({param:e,value:r,op:"a"})}appendAll(e){let r=[];return Object.keys(e).forEach(t=>{let i=e[t];Array.isArray(i)?i.forEach(o=>{r.push({param:t,value:o,op:"a"})}):r.push({param:t,value:i,op:"a"})}),this.clone(r)}set(e,r){return this.clone({param:e,value:r,op:"s"})}delete(e,r){return this.clone({param:e,value:r,op:"d"})}toString(){return this.init(),this.keys().map(e=>{let r=this.encoder.encodeKey(e);return this.map.get(e).map(t=>r+"="+this.encoder.encodeValue(t)).join("&")}).filter(e=>e!=="").join("&")}clone(e){let r=new n({encoder:this.encoder});return r.cloneFrom=this.cloneFrom||this,r.updates=(this.updates||[]).concat(e),r}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(e=>this.map.set(e,this.cloneFrom.map.get(e))),this.updates.forEach(e=>{switch(e.op){case"a":case"s":let r=(e.op==="a"?this.map.get(e.param):void 0)||[];r.push(Td(e.value)),this.map.set(e.param,r);break;case"d":if(e.value!==void 0){let t=this.map.get(e.param)||[],i=t.indexOf(Td(e.value));i!==-1&&t.splice(i,1),t.length>0?this.map.set(e.param,t):this.map.delete(e.param)}else{this.map.delete(e.param);break}}}),this.cloneFrom=this.updates=null)}};var hp=class{constructor(){this.map=new Map}set(e,r){return this.map.set(e,r),this}get(e){return this.map.has(e)||this.map.set(e,e.defaultValue()),this.map.get(e)}delete(e){return this.map.delete(e),this}has(e){return this.map.has(e)}keys(){return this.map.keys()}};function iO(n){switch(n){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function Rx(n){return typeof ArrayBuffer<"u"&&n instanceof ArrayBuffer}function Nx(n){return typeof Blob<"u"&&n instanceof Blob}function Px(n){return typeof FormData<"u"&&n instanceof FormData}function rO(n){return typeof URLSearchParams<"u"&&n instanceof URLSearchParams}var aa=class n{constructor(e,r,t,i){var s,a;this.url=r,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase();let o;if(iO(this.method)||i?(this.body=t!==void 0?t:null,o=i):o=t,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),this.transferCache=o.transferCache),(s=this.headers)!=null||(this.headers=new Mi),(a=this.context)!=null||(this.context=new hp),!this.params)this.params=new ir,this.urlWithParams=r;else{let l=this.params.toString();if(l.length===0)this.urlWithParams=r;else{let c=r.indexOf("?"),d=c===-1?"?":cC.set(S,e.setHeaders[S]),c)),e.setParams&&(d=Object.keys(e.setParams).reduce((C,S)=>C.set(S,e.setParams[S]),d)),new n(r,t,s,{params:d,headers:c,context:u,reportProgress:l,responseType:i,withCredentials:a,transferCache:o})}},rr=function(n){return n[n.Sent=0]="Sent",n[n.UploadProgress=1]="UploadProgress",n[n.ResponseHeader=2]="ResponseHeader",n[n.DownloadProgress=3]="DownloadProgress",n[n.Response=4]="Response",n[n.User=5]="User",n}(rr||{}),ca=class{constructor(e,r=200,t="OK"){this.headers=e.headers||new Mi,this.status=e.status!==void 0?e.status:r,this.statusText=e.statusText||t,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}},kd=class n extends ca{constructor(e={}){super(e),this.type=rr.ResponseHeader}clone(e={}){return new n({headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},da=class n extends ca{constructor(e={}){super(e),this.type=rr.Response,this.body=e.body!==void 0?e.body:null}clone(e={}){return new n({body:e.body!==void 0?e.body:this.body,headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},nr=class extends ca{constructor(e){super(e,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.status>=200&&this.status<300?this.message="Http failure during parsing for ".concat(e.url||"(unknown url)"):this.message="Http failure response for ".concat(e.url||"(unknown url)",": ").concat(e.status," ").concat(e.statusText),this.error=e.error||null}},Bx=200,oO=204;function up(n,e){return{body:e,headers:n.headers,context:n.context,observe:n.observe,params:n.params,reportProgress:n.reportProgress,responseType:n.responseType,withCredentials:n.withCredentials,transferCache:n.transferCache}}var gp=(()=>{let e=class e{constructor(t){this.handler=t}request(t,i,o={}){let s;if(t instanceof aa)s=t;else{let c;o.headers instanceof Mi?c=o.headers:c=new Mi(o.headers);let d;o.params&&(o.params instanceof ir?d=o.params:d=new ir({fromObject:o.params})),s=new aa(t,i,o.body!==void 0?o.body:null,{headers:c,context:o.context,params:d,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache})}let a=H(s).pipe(pi(c=>this.handler.handle(c)));if(t instanceof aa||o.observe==="events")return a;let l=a.pipe(le(c=>c instanceof da));switch(o.observe||"body"){case"body":switch(s.responseType){case"arraybuffer":return l.pipe(K(c=>{if(c.body!==null&&!(c.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return c.body}));case"blob":return l.pipe(K(c=>{if(c.body!==null&&!(c.body instanceof Blob))throw new Error("Response is not a Blob.");return c.body}));case"text":return l.pipe(K(c=>{if(c.body!==null&&typeof c.body!="string")throw new Error("Response is not a string.");return c.body}));case"json":default:return l.pipe(K(c=>c.body))}case"response":return l;default:throw new Error("Unreachable: unhandled observe type ".concat(o.observe,"}"))}}delete(t,i={}){return this.request("DELETE",t,i)}get(t,i={}){return this.request("GET",t,i)}head(t,i={}){return this.request("HEAD",t,i)}jsonp(t,i){return this.request("JSONP",t,{params:new ir().append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,i={}){return this.request("OPTIONS",t,i)}patch(t,i,o={}){return this.request("PATCH",t,up(o,i))}post(t,i,o={}){return this.request("POST",t,up(o,i))}put(t,i,o={}){return this.request("PUT",t,up(o,i))}};e.\u0275fac=function(i){return new(i||e)(v(la))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let n=e;return n})(),sO=/^\)\]\}',?\n/,aO="X-Request-URL";function Fx(n){if(n.url)return n.url;let e=aO.toLocaleLowerCase();return n.headers.get(e)}var lO=(()=>{let e=class e{constructor(){var t,i;this.fetchImpl=(i=(t=y(mp,{optional:!0}))==null?void 0:t.fetch)!=null?i:fetch.bind(globalThis),this.ngZone=y(k)}handle(t){return new se(i=>{let o=new AbortController;return this.doRequest(t,o.signal,i).then(pp,s=>i.error(new nr({error:s}))),()=>o.abort()})}doRequest(t,i,o){return ke(this,null,function*(){var g,_,C,S;let s=this.createRequestInit(t),a;try{let B=this.fetchImpl(t.urlWithParams,D({signal:i},s));cO(B),o.next({type:rr.Sent}),a=yield B}catch(B){o.error(new nr({error:B,status:(g=B.status)!=null?g:0,statusText:B.statusText,url:t.urlWithParams,headers:B.headers}));return}let l=new Mi(a.headers),c=a.statusText,d=(_=Fx(a))!=null?_:t.urlWithParams,u=a.status,f=null;if(t.reportProgress&&o.next(new kd({headers:l,status:u,statusText:c,url:d})),a.body){let B=a.headers.get("content-length"),ve=[],q=a.body.getReader(),$e=0,be,pe,st=typeof Zone<"u"&&Zone.current;yield this.ngZone.runOutsideAngular(()=>ke(this,null,function*(){for(;;){let{done:bt,value:Fi}=yield q.read();if(bt)break;if(ve.push(Fi),$e+=Fi.length,t.reportProgress){pe=t.responseType==="text"?(pe!=null?pe:"")+(be!=null?be:be=new TextDecoder).decode(Fi,{stream:!0}):void 0;let Li=()=>o.next({type:rr.DownloadProgress,total:B?+B:void 0,loaded:$e,partialText:pe});st?st.run(Li):Li()}}}));let At=this.concatChunks(ve,$e);try{let bt=(C=a.headers.get("Content-Type"))!=null?C:"";f=this.parseBody(t,At,bt)}catch(bt){o.error(new nr({error:bt,headers:new Mi(a.headers),status:a.status,statusText:a.statusText,url:(S=Fx(a))!=null?S:t.urlWithParams}));return}}u===0&&(u=f?Bx:0),u>=200&&u<300?(o.next(new da({body:f,headers:l,status:u,statusText:c,url:d})),o.complete()):o.error(new nr({error:f,headers:l,status:u,statusText:c,url:d}))})}parseBody(t,i,o){switch(t.responseType){case"json":let s=new TextDecoder().decode(i).replace(sO,"");return s===""?null:JSON.parse(s);case"text":return new TextDecoder().decode(i);case"blob":return new Blob([i],{type:o});case"arraybuffer":return i.buffer}}createRequestInit(t){var s;let i={},o=t.withCredentials?"include":void 0;if(t.headers.forEach((a,l)=>i[a]=l.join(",")),(s=i.Accept)!=null||(i.Accept="application/json, text/plain, */*"),!i["Content-Type"]){let a=t.detectContentTypeHeader();a!==null&&(i["Content-Type"]=a)}return{body:t.serializeBody(),method:t.method,headers:i,credentials:o}}concatChunks(t,i){let o=new Uint8Array(i),s=0;for(let a of t)o.set(a,s),s+=a.length;return o}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac});let n=e;return n})(),mp=class{};function pp(){}function cO(n){n.then(pp,pp)}function Ux(n,e){return e(n)}function dO(n,e){return(r,t)=>e.intercept(r,{handle:i=>n(i,t)})}function uO(n,e,r){return(t,i)=>Vt(r,()=>e(t,o=>n(o,i)))}var fO=new E(""),bp=new E(""),hO=new E(""),zx=new E("",{providedIn:"root",factory:()=>!0});function mO(){let n=null;return(e,r)=>{var o;n===null&&(n=((o=y(fO,{optional:!0}))!=null?o:[]).reduceRight(dO,Ux));let t=y(Kn);if(y(zx)){let s=t.add();return n(e,r).pipe($i(()=>t.remove(s)))}else return n(e,r)}}var Lx=(()=>{let e=class e extends la{constructor(t,i){super(),this.backend=t,this.injector=i,this.chain=null,this.pendingTasks=y(Kn),this.contributeToStability=y(zx)}handle(t){if(this.chain===null){let i=Array.from(new Set([...this.injector.get(bp),...this.injector.get(hO,[])]));this.chain=i.reduceRight((o,s)=>uO(o,s,this.injector),Ux)}if(this.contributeToStability){let i=this.pendingTasks.add();return this.chain(t,o=>this.backend.handle(o)).pipe($i(()=>this.pendingTasks.remove(i)))}else return this.chain(t,i=>this.backend.handle(i))}};e.\u0275fac=function(i){return new(i||e)(v(Ad),v(mt))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let n=e;return n})();var pO=/^\)\]\}',?\n/;function gO(n){return"responseURL"in n&&n.responseURL?n.responseURL:/^X-Request-URL:/m.test(n.getAllResponseHeaders())?n.getResponseHeader("X-Request-URL"):null}var jx=(()=>{let e=class e{constructor(t){this.xhrFactory=t}handle(t){if(t.method==="JSONP")throw new T(-2800,!1);let i=this.xhrFactory;return(i.\u0275loadImpl?je(i.\u0275loadImpl()):H(null)).pipe(it(()=>new se(s=>{let a=i.build();if(a.open(t.method,t.urlWithParams),t.withCredentials&&(a.withCredentials=!0),t.headers.forEach((C,S)=>a.setRequestHeader(C,S.join(","))),t.headers.has("Accept")||a.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){let C=t.detectContentTypeHeader();C!==null&&a.setRequestHeader("Content-Type",C)}if(t.responseType){let C=t.responseType.toLowerCase();a.responseType=C!=="json"?C:"text"}let l=t.serializeBody(),c=null,d=()=>{if(c!==null)return c;let C=a.statusText||"OK",S=new Mi(a.getAllResponseHeaders()),B=gO(a)||t.url;return c=new kd({headers:S,status:a.status,statusText:C,url:B}),c},u=()=>{let{headers:C,status:S,statusText:B,url:ve}=d(),q=null;S!==oO&&(q=typeof a.response>"u"?a.responseText:a.response),S===0&&(S=q?Bx:0);let $e=S>=200&&S<300;if(t.responseType==="json"&&typeof q=="string"){let be=q;q=q.replace(pO,"");try{q=q!==""?JSON.parse(q):null}catch(pe){q=be,$e&&($e=!1,q={error:pe,text:q})}}$e?(s.next(new da({body:q,headers:C,status:S,statusText:B,url:ve||void 0})),s.complete()):s.error(new nr({error:q,headers:C,status:S,statusText:B,url:ve||void 0}))},f=C=>{let{url:S}=d(),B=new nr({error:C,status:a.status||0,statusText:a.statusText||"Unknown Error",url:S||void 0});s.error(B)},m=!1,g=C=>{m||(s.next(d()),m=!0);let S={type:rr.DownloadProgress,loaded:C.loaded};C.lengthComputable&&(S.total=C.total),t.responseType==="text"&&a.responseText&&(S.partialText=a.responseText),s.next(S)},_=C=>{let S={type:rr.UploadProgress,loaded:C.loaded};C.lengthComputable&&(S.total=C.total),s.next(S)};return a.addEventListener("load",u),a.addEventListener("error",f),a.addEventListener("timeout",f),a.addEventListener("abort",f),t.reportProgress&&(a.addEventListener("progress",g),l!==null&&a.upload&&a.upload.addEventListener("progress",_)),a.send(l),s.next({type:rr.Sent}),()=>{a.removeEventListener("error",f),a.removeEventListener("abort",f),a.removeEventListener("load",u),a.removeEventListener("timeout",f),t.reportProgress&&(a.removeEventListener("progress",g),l!==null&&a.upload&&a.upload.removeEventListener("progress",_)),a.readyState!==a.DONE&&a.abort()}})))}};e.\u0275fac=function(i){return new(i||e)(v(Zo))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let n=e;return n})(),Hx=new E(""),bO="XSRF-TOKEN",vO=new E("",{providedIn:"root",factory:()=>bO}),_O="X-XSRF-TOKEN",yO=new E("",{providedIn:"root",factory:()=>_O}),Od=class{},xO=(()=>{let e=class e{constructor(t,i,o){this.doc=t,this.platform=i,this.cookieName=o,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if(this.platform==="server")return null;let t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=Md(t,this.cookieName),this.lastCookieString=t),this.lastToken}};e.\u0275fac=function(i){return new(i||e)(v(W),v(ln),v(vO))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let n=e;return n})();function wO(n,e){let r=n.url.toLowerCase();if(!y(Hx)||n.method==="GET"||n.method==="HEAD"||r.startsWith("http://")||r.startsWith("https://"))return e(n);let t=y(Od).getToken(),i=y(yO);return t!=null&&!n.headers.has(i)&&(n=n.clone({headers:n.headers.set(i,t)})),e(n)}var $x=function(n){return n[n.Interceptors=0]="Interceptors",n[n.LegacyInterceptors=1]="LegacyInterceptors",n[n.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",n[n.NoXsrfProtection=3]="NoXsrfProtection",n[n.JsonpSupport=4]="JsonpSupport",n[n.RequestsMadeViaParent=5]="RequestsMadeViaParent",n[n.Fetch=6]="Fetch",n}($x||{});function CO(n,e){return{\u0275kind:n,\u0275providers:e}}function Wx(...n){let e=[gp,jx,Lx,{provide:la,useExisting:Lx},{provide:Ad,useFactory:()=>{var r;return(r=y(lO,{optional:!0}))!=null?r:y(jx)}},{provide:bp,useValue:wO,multi:!0},{provide:Hx,useValue:!0},{provide:Od,useClass:xO}];for(let r of n)e.push(...r.\u0275providers);return qc(e)}var Vx=new E("");function Gx(){return CO($x.LegacyInterceptors,[{provide:Vx,useFactory:mO},{provide:bp,useExisting:Vx,multi:!0}])}var yp=class extends Ed{constructor(){super(...arguments),this.supportsDOMEvents=!0}},xp=class n extends yp{static makeCurrent(){Ix(new n)}onAndCancel(e,r,t){return e.addEventListener(r,t),()=>{e.removeEventListener(r,t)}}dispatchEvent(e,r){e.dispatchEvent(r)}remove(e){e.parentNode&&e.parentNode.removeChild(e)}createElement(e,r){return r=r||this.getDefaultDocument(),r.createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,r){return r==="window"?window:r==="document"?e:r==="body"?e.body:null}getBaseHref(e){let r=EO();return r==null?null:IO(r)}resetBaseElement(){ua=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return Md(document.cookie,e)}},ua=null;function EO(){return ua=ua||document.querySelector("base"),ua?ua.getAttribute("href"):null}function IO(n){return new URL(n,document.baseURI).pathname}var wp=class{addToWindow(e){Rt.getAngularTestability=(t,i=!0)=>{let o=e.findTestabilityInTree(t,i);if(o==null)throw new T(5103,!1);return o},Rt.getAllAngularTestabilities=()=>e.getAllTestabilities(),Rt.getAllAngularRootElements=()=>e.getAllRootElements();let r=t=>{let i=Rt.getAllAngularTestabilities(),o=i.length,s=function(){o--,o==0&&t()};i.forEach(a=>{a.whenStable(s)})};Rt.frameworkStabilizers||(Rt.frameworkStabilizers=[]),Rt.frameworkStabilizers.push(r)}findTestabilityInTree(e,r,t){if(r==null)return null;let i=e.getTestability(r);return i!=null?i:t?ni().isShadowRoot(r)?this.findTestabilityInTree(e,r.host,!0):this.findTestabilityInTree(e,r.parentElement,!0):null}},MO=(()=>{let e=class e{build(){return new XMLHttpRequest}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac});let n=e;return n})(),Cp=new E(""),Zx=(()=>{let e=class e{constructor(t,i){this._zone=i,this._eventNameToPlugin=new Map,t.forEach(o=>{o.manager=this}),this._plugins=t.slice().reverse()}addEventListener(t,i,o){return this._findPluginFor(i).addEventListener(t,i,o)}getZone(){return this._zone}_findPluginFor(t){let i=this._eventNameToPlugin.get(t);if(i)return i;if(i=this._plugins.find(s=>s.supports(t)),!i)throw new T(5101,!1);return this._eventNameToPlugin.set(t,i),i}};e.\u0275fac=function(i){return new(i||e)(v(Cp),v(k))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let n=e;return n})(),Rd=class{constructor(e){this._doc=e}},vp="ng-app-id",Qx=(()=>{let e=class e{constructor(t,i,o,s={}){this.doc=t,this.appId=i,this.nonce=o,this.platformId=s,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=Sd(s),this.resetHostNodes()}addStyles(t){for(let i of t)this.changeUsageCount(i,1)===1&&this.onStyleAdded(i)}removeStyles(t){for(let i of t)this.changeUsageCount(i,-1)<=0&&this.onStyleRemoved(i)}ngOnDestroy(){let t=this.styleNodesInDOM;t&&(t.forEach(i=>i.remove()),t.clear());for(let i of this.getAllStyles())this.onStyleRemoved(i);this.resetHostNodes()}addHost(t){this.hostNodes.add(t);for(let i of this.getAllStyles())this.addStyleToHost(t,i)}removeHost(t){this.hostNodes.delete(t)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(t){for(let i of this.hostNodes)this.addStyleToHost(i,t)}onStyleRemoved(t){var o,s;let i=this.styleRef;(s=(o=i.get(t))==null?void 0:o.elements)==null||s.forEach(a=>a.remove()),i.delete(t)}collectServerRenderedStyles(){var i;let t=(i=this.doc.head)==null?void 0:i.querySelectorAll("style[".concat(vp,'="').concat(this.appId,'"]'));if(t!=null&&t.length){let o=new Map;return t.forEach(s=>{s.textContent!=null&&o.set(s.textContent,s)}),o}return null}changeUsageCount(t,i){let o=this.styleRef;if(o.has(t)){let s=o.get(t);return s.usage+=i,s.usage}return o.set(t,{usage:i,elements:[]}),i}getStyleElement(t,i){let o=this.styleNodesInDOM,s=o==null?void 0:o.get(i);if((s==null?void 0:s.parentNode)===t)return o.delete(i),s.removeAttribute(vp),s;{let a=this.doc.createElement("style");return this.nonce&&a.setAttribute("nonce",this.nonce),a.textContent=i,this.platformIsServer&&a.setAttribute(vp,this.appId),t.appendChild(a),a}}addStyleToHost(t,i){var l;let o=this.getStyleElement(t,i),s=this.styleRef,a=(l=s.get(i))==null?void 0:l.elements;a?a.push(o):s.set(i,{elements:[o],usage:1})}resetHostNodes(){let t=this.hostNodes;t.clear(),t.add(this.doc.head)}};e.\u0275fac=function(i){return new(i||e)(v(W),v(Go),v(ea,8),v(ln))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let n=e;return n})(),_p={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},Ep=/%COMP%/g,Kx="%COMP%",SO="_nghost-".concat(Kx),TO="_ngcontent-".concat(Kx),AO=!0,kO=new E("",{providedIn:"root",factory:()=>AO});function OO(n){return TO.replace(Ep,n)}function RO(n){return SO.replace(Ep,n)}function Xx(n,e){return e.map(r=>r.replace(Ep,n))}var Nd=(()=>{let e=class e{constructor(t,i,o,s,a,l,c,d=null){this.eventManager=t,this.sharedStylesHost=i,this.appId=o,this.removeStylesOnCompDestroy=s,this.doc=a,this.platformId=l,this.ngZone=c,this.nonce=d,this.rendererByCompId=new Map,this.platformIsServer=Sd(l),this.defaultRenderer=new fa(t,a,c,this.platformIsServer)}createRenderer(t,i){if(!t||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===Wn.ShadowDom&&(i=_e(D({},i),{encapsulation:Wn.Emulated}));let o=this.getOrCreateRenderer(t,i);return o instanceof Pd?o.applyToHost(t):o instanceof ha&&o.applyStyles(),o}getOrCreateRenderer(t,i){let o=this.rendererByCompId,s=o.get(i.id);if(!s){let a=this.doc,l=this.ngZone,c=this.eventManager,d=this.sharedStylesHost,u=this.removeStylesOnCompDestroy,f=this.platformIsServer;switch(i.encapsulation){case Wn.Emulated:s=new Pd(c,d,i,this.appId,u,a,l,f);break;case Wn.ShadowDom:return new Dp(c,d,t,i,a,l,this.nonce,f);default:s=new ha(c,d,i,u,a,l,f);break}o.set(i.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}};e.\u0275fac=function(i){return new(i||e)(v(Zx),v(Qx),v(Go),v(kO),v(W),v(ln),v(k),v(ea))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let n=e;return n})(),fa=class{constructor(e,r,t,i){this.eventManager=e,this.doc=r,this.ngZone=t,this.platformIsServer=i,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(e,r){return r?this.doc.createElementNS(_p[r]||r,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,r){(qx(e)?e.content:e).appendChild(r)}insertBefore(e,r,t){e&&(qx(e)?e.content:e).insertBefore(r,t)}removeChild(e,r){e&&e.removeChild(r)}selectRootElement(e,r){let t=typeof e=="string"?this.doc.querySelector(e):e;if(!t)throw new T(-5104,!1);return r||(t.textContent=""),t}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,r,t,i){if(i){r=i+":"+r;let o=_p[i];o?e.setAttributeNS(o,r,t):e.setAttribute(r,t)}else e.setAttribute(r,t)}removeAttribute(e,r,t){if(t){let i=_p[t];i?e.removeAttributeNS(i,r):e.removeAttribute("".concat(t,":").concat(r))}else e.removeAttribute(r)}addClass(e,r){e.classList.add(r)}removeClass(e,r){e.classList.remove(r)}setStyle(e,r,t,i){i&(vi.DashCase|vi.Important)?e.style.setProperty(r,t,i&vi.Important?"important":""):e.style[r]=t}removeStyle(e,r,t){t&vi.DashCase?e.style.removeProperty(r):e.style[r]=""}setProperty(e,r,t){e!=null&&(e[r]=t)}setValue(e,r){e.nodeValue=r}listen(e,r,t){if(typeof e=="string"&&(e=ni().getGlobalEventTarget(this.doc,e),!e))throw new Error("Unsupported event target ".concat(e," for event ").concat(r));return this.eventManager.addEventListener(e,r,this.decoratePreventDefault(t))}decoratePreventDefault(e){return r=>{if(r==="__ngUnwrap__")return e;(this.platformIsServer?this.ngZone.runGuarded(()=>e(r)):e(r))===!1&&r.preventDefault()}}};function qx(n){return n.tagName==="TEMPLATE"&&n.content!==void 0}var Dp=class extends fa{constructor(e,r,t,i,o,s,a,l){super(e,o,s,l),this.sharedStylesHost=r,this.hostEl=t,this.shadowRoot=t.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let c=Xx(i.id,i.styles);for(let d of c){let u=document.createElement("style");a&&u.setAttribute("nonce",a),u.textContent=d,this.shadowRoot.appendChild(u)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,r){return super.appendChild(this.nodeOrShadowRoot(e),r)}insertBefore(e,r,t){return super.insertBefore(this.nodeOrShadowRoot(e),r,t)}removeChild(e,r){return super.removeChild(this.nodeOrShadowRoot(e),r)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},ha=class extends fa{constructor(e,r,t,i,o,s,a,l){super(e,o,s,a),this.sharedStylesHost=r,this.removeStylesOnCompDestroy=i,this.styles=l?Xx(l,t.styles):t.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},Pd=class extends ha{constructor(e,r,t,i,o,s,a,l){let c=i+"-"+t.id;super(e,r,t,o,s,a,l,c),this.contentAttr=OO(c),this.hostAttr=RO(c)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,r){let t=super.createElement(e,r);return super.setAttribute(t,this.contentAttr,""),t}},NO=(()=>{let e=class e extends Rd{constructor(t){super(t)}supports(t){return!0}addEventListener(t,i,o){return t.addEventListener(i,o,!1),()=>this.removeEventListener(t,i,o)}removeEventListener(t,i,o){return t.removeEventListener(i,o)}};e.\u0275fac=function(i){return new(i||e)(v(W))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let n=e;return n})(),Yx=["alt","control","meta","shift"],PO={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},FO={alt:n=>n.altKey,control:n=>n.ctrlKey,meta:n=>n.metaKey,shift:n=>n.shiftKey},LO=(()=>{let e=class e extends Rd{constructor(t){super(t)}supports(t){return e.parseEventName(t)!=null}addEventListener(t,i,o){let s=e.parseEventName(i),a=e.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>ni().onAndCancel(t,s.domEventName,a))}static parseEventName(t){let i=t.toLowerCase().split("."),o=i.shift();if(i.length===0||!(o==="keydown"||o==="keyup"))return null;let s=e._normalizeKey(i.pop()),a="",l=i.indexOf("code");if(l>-1&&(i.splice(l,1),a="code."),Yx.forEach(d=>{let u=i.indexOf(d);u>-1&&(i.splice(u,1),a+=d+".")}),a+=s,i.length!=0||s.length===0)return null;let c={};return c.domEventName=o,c.fullKey=a,c}static matchEventFullKeyCode(t,i){let o=PO[t.key]||t.key,s="";return i.indexOf("code.")>-1&&(o=t.code,s="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),Yx.forEach(a=>{if(a!==o){let l=FO[a];l(t)&&(s+=a+".")}}),s+=o,s===i)}static eventCallback(t,i,o){return s=>{e.matchEventFullKeyCode(s,t)&&o.runGuarded(()=>i(s))}}static _normalizeKey(t){return t==="esc"?"escape":t}};e.\u0275fac=function(i){return new(i||e)(v(W))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let n=e;return n})();function jO(){xp.makeCurrent()}function VO(){return new In}function BO(){return Vy(document),document}var UO=[{provide:ln,useValue:cp},{provide:wm,useValue:jO,multi:!0},{provide:W,useFactory:BO,deps:[]}],Jx=Km(vx,"browser",UO),zO=new E(""),HO=[{provide:sa,useClass:wp,deps:[]},{provide:Qm,useClass:bd,deps:[k,vd,sa]},{provide:bd,useClass:bd,deps:[k,vd,sa]}],$O=[{provide:Yc,useValue:"root"},{provide:In,useFactory:VO,deps:[]},{provide:Cp,useClass:NO,multi:!0,deps:[W,k,ln]},{provide:Cp,useClass:LO,multi:!0,deps:[W]},Nd,Qx,Zx,{provide:Ki,useExisting:Nd},{provide:Zo,useClass:MO,deps:[]},[]],Fd=(()=>{let e=class e{constructor(t){}static withServerTransition(t){return{ngModule:e,providers:[{provide:Go,useValue:t.appId}]}}};e.\u0275fac=function(i){return new(i||e)(v(zO,12))},e.\u0275mod=V({type:e}),e.\u0275inj=L({providers:[...$O,...HO],imports:[ri,_x]});let n=e;return n})();var ew=(()=>{let e=class e{constructor(t){this._doc=t}getTitle(){return this._doc.title}setTitle(t){this._doc.title=t||""}};e.\u0275fac=function(i){return new(i||e)(v(W))},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();var Ip=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=I({token:e,factory:function(i){let o=null;return i?o=new(i||e):o=v(WO),o},providedIn:"root"});let n=e;return n})(),WO=(()=>{let e=class e extends Ip{constructor(t){super(),this._doc=t}sanitize(t,i){if(i==null)return null;switch(t){case Sn.NONE:return i;case Sn.HTML:return Ci(i,"HTML")?cn(i):Dm(this._doc,String(i)).toString();case Sn.STYLE:return Ci(i,"Style")?cn(i):i;case Sn.SCRIPT:if(Ci(i,"Script"))return cn(i);throw new T(5200,!1);case Sn.URL:return Ci(i,"URL")?cn(i):od(String(i));case Sn.RESOURCE_URL:if(Ci(i,"ResourceURL"))return cn(i);throw new T(5201,!1);default:throw new T(5202,!1)}}bypassSecurityTrustHtml(t){return Hy(t)}bypassSecurityTrustStyle(t){return $y(t)}bypassSecurityTrustScript(t){return Wy(t)}bypassSecurityTrustUrl(t){return Gy(t)}bypassSecurityTrustResourceUrl(t){return qy(t)}};e.\u0275fac=function(i){return new(i||e)(v(W))},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();function oi(n){return n!=null&&"".concat(n)!=="false"}function Si(n,e=0){return GO(n)?Number(n):e}function GO(n){return!isNaN(parseFloat(n))&&!isNaN(Number(n))}function Ko(n){return Array.isArray(n)?n:[n]}function rt(n){return n==null?"":typeof n=="string"?n:"".concat(n,"px")}function un(n){return n instanceof P?n.nativeElement:n}var Tp;try{Tp=typeof Intl<"u"&&Intl.v8BreakIterator}catch{Tp=!1}var xe=(()=>{let e=class e{constructor(t){this._platformId=t,this.isBrowser=this._platformId?dp(this._platformId):typeof document=="object"&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!!(window.chrome||Tp)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}};e.\u0275fac=function(i){return new(i||e)(v(ln))},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();var Xo,tw=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function Ap(){if(Xo)return Xo;if(typeof document!="object"||!document)return Xo=new Set(tw),Xo;let n=document.createElement("input");return Xo=new Set(tw.filter(e=>(n.setAttribute("type",e),n.type===e))),Xo}var ma;function qO(){if(ma==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>ma=!0}))}finally{ma=ma||!1}return ma}function fn(n){return qO()?n:!!n.capture}var An=function(n){return n[n.NORMAL=0]="NORMAL",n[n.NEGATED=1]="NEGATED",n[n.INVERTED=2]="INVERTED",n}(An||{}),Ld,Zr;function jd(){if(Zr==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return Zr=!1,Zr;if("scrollBehavior"in document.documentElement.style)Zr=!0;else{let n=Element.prototype.scrollTo;n?Zr=!/\{\s*\[native code\]\s*\}/.test(n.toString()):Zr=!1}}return Zr}function Jo(){if(typeof document!="object"||!document)return An.NORMAL;if(Ld==null){let n=document.createElement("div"),e=n.style;n.dir="rtl",e.width="1px",e.overflow="auto",e.visibility="hidden",e.pointerEvents="none",e.position="absolute";let r=document.createElement("div"),t=r.style;t.width="2px",t.height="1px",n.appendChild(r),document.body.appendChild(n),Ld=An.NORMAL,n.scrollLeft===0&&(n.scrollLeft=1,Ld=n.scrollLeft===0?An.NEGATED:An.INVERTED),n.remove()}return Ld}var Sp;function YO(){if(Sp==null){let n=typeof document<"u"?document.head:null;Sp=!!(n&&(n.createShadowRoot||n.attachShadow))}return Sp}function nw(n){if(YO()){let e=n.getRootNode?n.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&e instanceof ShadowRoot)return e}return null}function pa(){let n=typeof document<"u"&&document?document.activeElement:null;for(;n&&n.shadowRoot;){let e=n.shadowRoot.activeElement;if(e===n)break;n=e}return n}function Gt(n){return n.composedPath?n.composedPath()[0]:n.target}function ga(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}var ow=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=V({type:e}),e.\u0275inj=L({});let n=e;return n})(),iw=new Set,Qr,ZO=(()=>{let e=class e{constructor(t,i){this._platform=t,this._nonce=i,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):KO}matchMedia(t){return(this._platform.WEBKIT||this._platform.BLINK)&&QO(t,this._nonce),this._matchMedia(t)}};e.\u0275fac=function(i){return new(i||e)(v(xe),v(ea,8))},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();function QO(n,e){if(!iw.has(n))try{Qr||(Qr=document.createElement("style"),e&&Qr.setAttribute("nonce",e),Qr.setAttribute("type","text/css"),document.head.appendChild(Qr)),Qr.sheet&&(Qr.sheet.insertRule("@media ".concat(n," {body{ }}"),0),iw.add(n))}catch(r){console.error(r)}}function KO(n){return{matches:n==="all"||n==="",media:n,addListener:()=>{},removeListener:()=>{}}}var sw=(()=>{let e=class e{constructor(t,i){this._mediaMatcher=t,this._zone=i,this._queries=new Map,this._destroySubject=new A}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(t){return rw(Ko(t)).some(o=>this._registerQuery(o).mql.matches)}observe(t){let o=rw(Ko(t)).map(a=>this._registerQuery(a).observable),s=kr(o);return s=Vn(s.pipe(Ve(1)),s.pipe(Vs(1),Or(0))),s.pipe(K(a=>{let l={matches:!1,breakpoints:{}};return a.forEach(({matches:c,query:d})=>{l.matches=l.matches||c,l.breakpoints[d]=c}),l}))}_registerQuery(t){if(this._queries.has(t))return this._queries.get(t);let i=this._mediaMatcher.matchMedia(t),s={observable:new se(a=>{let l=c=>this._zone.run(()=>a.next(c));return i.addListener(l),()=>{i.removeListener(l)}}).pipe(at(i),K(({matches:a})=>({query:t,matches:a})),Ie(this._destroySubject)),mql:i};return this._queries.set(t,s),s}};e.\u0275fac=function(i){return new(i||e)(v(ZO),v(k))},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();function rw(n){return n.map(e=>e.split(",")).reduce((e,r)=>e.concat(r)).map(e=>e.trim())}var ge="primary",ka=Symbol("RouteTitle"),Pp=class{constructor(e){this.params=e||{}}has(e){return Object.prototype.hasOwnProperty.call(this.params,e)}get(e){if(this.has(e)){let r=this.params[e];return Array.isArray(r)?r[0]:r}return null}getAll(e){if(this.has(e)){let r=this.params[e];return Array.isArray(r)?r:[r]}return[]}get keys(){return Object.keys(this.params)}};function os(n){return new Pp(n)}function XO(n,e,r){let t=r.path.split("/");if(t.length>n.length||r.pathMatch==="full"&&(e.hasChildren()||t.lengtht[o]===i)}else return n===e}function vw(n){return n.length>0?n[n.length-1]:null}function ar(n){return Ls(n)?n:Yr(n)?je(Promise.resolve(n)):H(n)}var eR={exact:yw,subset:xw},_w={exact:tR,subset:nR,ignored:()=>!0};function aw(n,e,r){return eR[r.paths](n.root,e.root,r.matrixParams)&&_w[r.queryParams](n.queryParams,e.queryParams)&&!(r.fragment==="exact"&&n.fragment!==e.fragment)}function tR(n,e){return si(n,e)}function yw(n,e,r){if(!Xr(n.segments,e.segments)||!Ud(n.segments,e.segments,r)||n.numberOfChildren!==e.numberOfChildren)return!1;for(let t in e.children)if(!n.children[t]||!yw(n.children[t],e.children[t],r))return!1;return!0}function nR(n,e){return Object.keys(e).length<=Object.keys(n).length&&Object.keys(e).every(r=>bw(n[r],e[r]))}function xw(n,e,r){return ww(n,e,e.segments,r)}function ww(n,e,r,t){if(n.segments.length>r.length){let i=n.segments.slice(0,r.length);return!(!Xr(i,r)||e.hasChildren()||!Ud(i,r,t))}else if(n.segments.length===r.length){if(!Xr(n.segments,r)||!Ud(n.segments,r,t))return!1;for(let i in e.children)if(!n.children[i]||!xw(n.children[i],e.children[i],t))return!1;return!0}else{let i=r.slice(0,n.segments.length),o=r.slice(n.segments.length);return!Xr(n.segments,i)||!Ud(n.segments,i,t)||!n.children[ge]?!1:ww(n.children[ge],e,o,t)}}function Ud(n,e,r){return e.every((t,i)=>_w[r](n[i].parameters,t.parameters))}var or=class{constructor(e=new Pe([],{}),r={},t=null){this.root=e,this.queryParams=r,this.fragment=t}get queryParamMap(){var e;return(e=this._queryParamMap)!=null||(this._queryParamMap=os(this.queryParams)),this._queryParamMap}toString(){return oR.serialize(this)}},Pe=class{constructor(e,r){this.segments=e,this.children=r,this.parent=null,Object.values(r).forEach(t=>t.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return zd(this)}},Kr=class{constructor(e,r){this.path=e,this.parameters=r}get parameterMap(){var e;return(e=this._parameterMap)!=null||(this._parameterMap=os(this.parameters)),this._parameterMap}toString(){return Dw(this)}};function iR(n,e){return Xr(n,e)&&n.every((r,t)=>si(r.parameters,e[t].parameters))}function Xr(n,e){return n.length!==e.length?!1:n.every((r,t)=>r.path===e[t].path)}function rR(n,e){let r=[];return Object.entries(n.children).forEach(([t,i])=>{t===ge&&(r=r.concat(e(i,t)))}),Object.entries(n.children).forEach(([t,i])=>{t!==ge&&(r=r.concat(e(i,t)))}),r}var Oa=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=I({token:e,factory:()=>new ss,providedIn:"root"});let n=e;return n})(),ss=class{parse(e){let r=new jp(e);return new or(r.parseRootSegment(),r.parseQueryParams(),r.parseFragment())}serialize(e){let r="/".concat(ba(e.root,!0)),t=lR(e.queryParams),i=typeof e.fragment=="string"?"#".concat(sR(e.fragment)):"";return"".concat(r).concat(t).concat(i)}},oR=new ss;function zd(n){return n.segments.map(e=>Dw(e)).join("/")}function ba(n,e){if(!n.hasChildren())return zd(n);if(e){let r=n.children[ge]?ba(n.children[ge],!1):"",t=[];return Object.entries(n.children).forEach(([i,o])=>{i!==ge&&t.push("".concat(i,":").concat(ba(o,!1)))}),t.length>0?"".concat(r,"(").concat(t.join("//"),")"):r}else{let r=rR(n,(t,i)=>i===ge?[ba(n.children[ge],!1)]:["".concat(i,":").concat(ba(t,!1))]);return Object.keys(n.children).length===1&&n.children[ge]!=null?"".concat(zd(n),"/").concat(r[0]):"".concat(zd(n),"/(").concat(r.join("//"),")")}}function Cw(n){return encodeURIComponent(n).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Vd(n){return Cw(n).replace(/%3B/gi,";")}function sR(n){return encodeURI(n)}function Lp(n){return Cw(n).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Hd(n){return decodeURIComponent(n)}function lw(n){return Hd(n.replace(/\+/g,"%20"))}function Dw(n){return"".concat(Lp(n.path)).concat(aR(n.parameters))}function aR(n){return Object.entries(n).map(([e,r])=>";".concat(Lp(e),"=").concat(Lp(r))).join("")}function lR(n){let e=Object.entries(n).map(([r,t])=>Array.isArray(t)?t.map(i=>"".concat(Vd(r),"=").concat(Vd(i))).join("&"):"".concat(Vd(r),"=").concat(Vd(t))).filter(r=>r);return e.length?"?".concat(e.join("&")):""}var cR=/^[^\/()?;#]+/;function kp(n){let e=n.match(cR);return e?e[0]:""}var dR=/^[^\/()?;=#]+/;function uR(n){let e=n.match(dR);return e?e[0]:""}var fR=/^[^=?&#]+/;function hR(n){let e=n.match(fR);return e?e[0]:""}var mR=/^[^&#]+/;function pR(n){let e=n.match(mR);return e?e[0]:""}var jp=class{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new Pe([],{}):new Pe([],this.parseChildren())}parseQueryParams(){let e={};if(this.consumeOptional("?"))do this.parseQueryParam(e);while(this.consumeOptional("&"));return e}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let r={};this.peekStartsWith("/(")&&(this.capture("/"),r=this.parseParens(!0));let t={};return this.peekStartsWith("(")&&(t=this.parseParens(!1)),(e.length>0||Object.keys(r).length>0)&&(t[ge]=new Pe(e,r)),t}parseSegment(){let e=kp(this.remaining);if(e===""&&this.peekStartsWith(";"))throw new T(4009,!1);return this.capture(e),new Kr(Hd(e),this.parseMatrixParams())}parseMatrixParams(){let e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){let r=uR(this.remaining);if(!r)return;this.capture(r);let t="";if(this.consumeOptional("=")){let i=kp(this.remaining);i&&(t=i,this.capture(t))}e[Hd(r)]=Hd(t)}parseQueryParam(e){let r=hR(this.remaining);if(!r)return;this.capture(r);let t="";if(this.consumeOptional("=")){let s=pR(this.remaining);s&&(t=s,this.capture(t))}let i=lw(r),o=lw(t);if(e.hasOwnProperty(i)){let s=e[i];Array.isArray(s)||(s=[s],e[i]=s),s.push(o)}else e[i]=o}parseParens(e){let r={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let t=kp(this.remaining),i=this.remaining[t.length];if(i!=="/"&&i!==")"&&i!==";")throw new T(4010,!1);let o;t.indexOf(":")>-1?(o=t.slice(0,t.indexOf(":")),this.capture(o),this.capture(":")):e&&(o=ge);let s=this.parseChildren();r[o]=Object.keys(s).length===1?s[ge]:new Pe([],s),this.consumeOptional("//")}return r}peekStartsWith(e){return this.remaining.startsWith(e)}consumeOptional(e){return this.peekStartsWith(e)?(this.remaining=this.remaining.substring(e.length),!0):!1}capture(e){if(!this.consumeOptional(e))throw new T(4011,!1)}};function Ew(n){return n.segments.length>0?new Pe([],{[ge]:n}):n}function Iw(n){let e={};for(let[t,i]of Object.entries(n.children)){let o=Iw(i);if(t===ge&&o.segments.length===0&&o.hasChildren())for(let[s,a]of Object.entries(o.children))e[s]=a;else(o.segments.length>0||o.hasChildren())&&(e[t]=o)}let r=new Pe(n.segments,e);return gR(r)}function gR(n){if(n.numberOfChildren===1&&n.children[ge]){let e=n.children[ge];return new Pe(n.segments.concat(e.segments),e.children)}return n}function Ca(n){return n instanceof or}function bR(n,e,r=null,t=null){let i=Mw(n);return Sw(i,e,r,t)}function Mw(n){let e;function r(o){let s={};for(let l of o.children){let c=r(l);s[l.outlet]=c}let a=new Pe(o.url,s);return o===n&&(e=a),a}let t=r(n.root),i=Ew(t);return e!=null?e:i}function Sw(n,e,r,t){let i=n;for(;i.parent;)i=i.parent;if(e.length===0)return Op(i,i,i,r,t);let o=vR(e);if(o.toRoot())return Op(i,i,new Pe([],{}),r,t);let s=_R(o,i,n),a=s.processChildren?ya(s.segmentGroup,s.index,o.commands):Aw(s.segmentGroup,s.index,o.commands);return Op(i,s.segmentGroup,a,r,t)}function $d(n){return typeof n=="object"&&n!=null&&!n.outlets&&!n.segmentPath}function Da(n){return typeof n=="object"&&n!=null&&n.outlets}function Op(n,e,r,t,i){let o={};t&&Object.entries(t).forEach(([l,c])=>{o[l]=Array.isArray(c)?c.map(d=>"".concat(d)):"".concat(c)});let s;n===e?s=r:s=Tw(n,e,r);let a=Ew(Iw(s));return new or(a,o,i)}function Tw(n,e,r){let t={};return Object.entries(n.children).forEach(([i,o])=>{o===e?t[i]=r:t[i]=Tw(o,e,r)}),new Pe(n.segments,t)}var Wd=class{constructor(e,r,t){if(this.isAbsolute=e,this.numberOfDoubleDots=r,this.commands=t,e&&t.length>0&&$d(t[0]))throw new T(4003,!1);let i=t.find(Da);if(i&&i!==vw(t))throw new T(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function vR(n){if(typeof n[0]=="string"&&n.length===1&&n[0]==="/")return new Wd(!0,0,n);let e=0,r=!1,t=n.reduce((i,o,s)=>{if(typeof o=="object"&&o!=null){if(o.outlets){let a={};return Object.entries(o.outlets).forEach(([l,c])=>{a[l]=typeof c=="string"?c.split("/"):c}),[...i,{outlets:a}]}if(o.segmentPath)return[...i,o.segmentPath]}return typeof o!="string"?[...i,o]:s===0?(o.split("/").forEach((a,l)=>{l==0&&a==="."||(l==0&&a===""?r=!0:a===".."?e++:a!=""&&i.push(a))}),i):[...i,o]},[]);return new Wd(r,e,t)}var ns=class{constructor(e,r,t){this.segmentGroup=e,this.processChildren=r,this.index=t}};function _R(n,e,r){if(n.isAbsolute)return new ns(e,!0,0);if(!r)return new ns(e,!1,NaN);if(r.parent===null)return new ns(r,!0,0);let t=$d(n.commands[0])?0:1,i=r.segments.length-1+t;return yR(r,i,n.numberOfDoubleDots)}function yR(n,e,r){let t=n,i=e,o=r;for(;o>i;){if(o-=i,t=t.parent,!t)throw new T(4005,!1);i=t.segments.length}return new ns(t,!1,i-o)}function xR(n){return Da(n[0])?n[0].outlets:{[ge]:n}}function Aw(n,e,r){if(n!=null||(n=new Pe([],{})),n.segments.length===0&&n.hasChildren())return ya(n,e,r);let t=wR(n,e,r),i=r.slice(t.commandIndex);if(t.match&&t.pathIndexo!==ge)&&n.children[ge]&&n.numberOfChildren===1&&n.children[ge].segments.length===0){let o=ya(n.children[ge],e,r);return new Pe(n.segments,o.children)}return Object.entries(t).forEach(([o,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(i[o]=Aw(n.children[o],e,s))}),Object.entries(n.children).forEach(([o,s])=>{t[o]===void 0&&(i[o]=s)}),new Pe(n.segments,i)}}function wR(n,e,r){let t=0,i=e,o={match:!1,pathIndex:0,commandIndex:0};for(;i=r.length)return o;let s=n.segments[i],a=r[t];if(Da(a))break;let l="".concat(a),c=t0&&l===void 0)break;if(l&&c&&typeof c=="object"&&c.outlets===void 0){if(!dw(l,c,s))return o;t+=2}else{if(!dw(l,{},s))return o;t++}i++}return{match:!0,pathIndex:i,commandIndex:t}}function Vp(n,e,r){let t=n.segments.slice(0,e),i=0;for(;i{typeof t=="string"&&(t=[t]),t!==null&&(e[r]=Vp(new Pe([],{}),0,t))}),e}function cw(n){let e={};return Object.entries(n).forEach(([r,t])=>e[r]="".concat(t)),e}function dw(n,e,r){return n==r.path&&si(e,r.parameters)}var xa="imperative",gt=function(n){return n[n.NavigationStart=0]="NavigationStart",n[n.NavigationEnd=1]="NavigationEnd",n[n.NavigationCancel=2]="NavigationCancel",n[n.NavigationError=3]="NavigationError",n[n.RoutesRecognized=4]="RoutesRecognized",n[n.ResolveStart=5]="ResolveStart",n[n.ResolveEnd=6]="ResolveEnd",n[n.GuardsCheckStart=7]="GuardsCheckStart",n[n.GuardsCheckEnd=8]="GuardsCheckEnd",n[n.RouteConfigLoadStart=9]="RouteConfigLoadStart",n[n.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",n[n.ChildActivationStart=11]="ChildActivationStart",n[n.ChildActivationEnd=12]="ChildActivationEnd",n[n.ActivationStart=13]="ActivationStart",n[n.ActivationEnd=14]="ActivationEnd",n[n.Scroll=15]="Scroll",n[n.NavigationSkipped=16]="NavigationSkipped",n}(gt||{}),hn=class{constructor(e,r){this.id=e,this.url=r}},as=class extends hn{constructor(e,r,t="imperative",i=null){super(e,r),this.type=gt.NavigationStart,this.navigationTrigger=t,this.restoredState=i}toString(){return"NavigationStart(id: ".concat(this.id,", url: '").concat(this.url,"')")}},ai=class extends hn{constructor(e,r,t){super(e,r),this.urlAfterRedirects=t,this.type=gt.NavigationEnd}toString(){return"NavigationEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"')")}},Yt=function(n){return n[n.Redirect=0]="Redirect",n[n.SupersededByNewNavigation=1]="SupersededByNewNavigation",n[n.NoDataFromResolver=2]="NoDataFromResolver",n[n.GuardRejected=3]="GuardRejected",n}(Yt||{}),Gd=function(n){return n[n.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",n[n.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",n}(Gd||{}),Ti=class extends hn{constructor(e,r,t,i){super(e,r),this.reason=t,this.code=i,this.type=gt.NavigationCancel}toString(){return"NavigationCancel(id: ".concat(this.id,", url: '").concat(this.url,"')")}},sr=class extends hn{constructor(e,r,t,i){super(e,r),this.reason=t,this.code=i,this.type=gt.NavigationSkipped}},Ea=class extends hn{constructor(e,r,t,i){super(e,r),this.error=t,this.target=i,this.type=gt.NavigationError}toString(){return"NavigationError(id: ".concat(this.id,", url: '").concat(this.url,"', error: ").concat(this.error,")")}},qd=class extends hn{constructor(e,r,t,i){super(e,r),this.urlAfterRedirects=t,this.state=i,this.type=gt.RoutesRecognized}toString(){return"RoutesRecognized(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}},Bp=class extends hn{constructor(e,r,t,i){super(e,r),this.urlAfterRedirects=t,this.state=i,this.type=gt.GuardsCheckStart}toString(){return"GuardsCheckStart(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}},Up=class extends hn{constructor(e,r,t,i,o){super(e,r),this.urlAfterRedirects=t,this.state=i,this.shouldActivate=o,this.type=gt.GuardsCheckEnd}toString(){return"GuardsCheckEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,", shouldActivate: ").concat(this.shouldActivate,")")}},zp=class extends hn{constructor(e,r,t,i){super(e,r),this.urlAfterRedirects=t,this.state=i,this.type=gt.ResolveStart}toString(){return"ResolveStart(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}},Hp=class extends hn{constructor(e,r,t,i){super(e,r),this.urlAfterRedirects=t,this.state=i,this.type=gt.ResolveEnd}toString(){return"ResolveEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}},$p=class{constructor(e){this.route=e,this.type=gt.RouteConfigLoadStart}toString(){return"RouteConfigLoadStart(path: ".concat(this.route.path,")")}},Wp=class{constructor(e){this.route=e,this.type=gt.RouteConfigLoadEnd}toString(){return"RouteConfigLoadEnd(path: ".concat(this.route.path,")")}},Gp=class{constructor(e){this.snapshot=e,this.type=gt.ChildActivationStart}toString(){let e=this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"";return"ChildActivationStart(path: '".concat(e,"')")}},qp=class{constructor(e){this.snapshot=e,this.type=gt.ChildActivationEnd}toString(){let e=this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"";return"ChildActivationEnd(path: '".concat(e,"')")}},Yp=class{constructor(e){this.snapshot=e,this.type=gt.ActivationStart}toString(){let e=this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"";return"ActivationStart(path: '".concat(e,"')")}},Zp=class{constructor(e){this.snapshot=e,this.type=gt.ActivationEnd}toString(){let e=this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"";return"ActivationEnd(path: '".concat(e,"')")}},Yd=class{constructor(e,r,t){this.routerEvent=e,this.position=r,this.anchor=t,this.type=gt.Scroll}toString(){let e=this.position?"".concat(this.position[0],", ").concat(this.position[1]):null;return"Scroll(anchor: '".concat(this.anchor,"', position: '").concat(e,"')")}},Ia=class{},ls=class{constructor(e,r){this.url=e,this.navigationBehaviorOptions=r}};var Qp=class{constructor(e){this.injector=e,this.outlet=null,this.route=null,this.children=new Ra(this.injector),this.attachRef=null}},Ra=(()=>{let e=class e{constructor(t){this.parentInjector=t,this.contexts=new Map}onChildOutletCreated(t,i){let o=this.getOrCreateContext(t);o.outlet=i,this.contexts.set(t,o)}onChildOutletDestroyed(t){let i=this.getContext(t);i&&(i.outlet=null,i.attachRef=null)}onOutletDeactivated(){let t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let i=this.getContext(t);return i||(i=new Qp(this.parentInjector),this.contexts.set(t,i)),i}getContext(t){return this.contexts.get(t)||null}};e.\u0275fac=function(i){return new(i||e)(v(mt))},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})(),Zd=class{constructor(e){this._root=e}get root(){return this._root.value}parent(e){let r=this.pathFromRoot(e);return r.length>1?r[r.length-2]:null}children(e){let r=Kp(e,this._root);return r?r.children.map(t=>t.value):[]}firstChild(e){let r=Kp(e,this._root);return r&&r.children.length>0?r.children[0].value:null}siblings(e){let r=Xp(e,this._root);return r.length<2?[]:r[r.length-2].children.map(i=>i.value).filter(i=>i!==e)}pathFromRoot(e){return Xp(e,this._root).map(r=>r.value)}};function Kp(n,e){if(n===e.value)return e;for(let r of e.children){let t=Kp(n,r);if(t)return t}return null}function Xp(n,e){if(n===e.value)return[e];for(let r of e.children){let t=Xp(n,r);if(t.length)return t.unshift(e),t}return[]}var qt=class{constructor(e,r){this.value=e,this.children=r}toString(){return"TreeNode(".concat(this.value,")")}};function ts(n){let e={};return n&&n.children.forEach(r=>e[r.value.outlet]=r),e}var Qd=class extends Zd{constructor(e,r){super(e),this.snapshot=r,ag(this,e)}toString(){return this.snapshot.toString()}};function kw(n){let e=DR(n),r=new dt([new Kr("",{})]),t=new dt({}),i=new dt({}),o=new dt({}),s=new dt(""),a=new Ai(r,t,o,s,i,ge,n,e.root);return a.snapshot=e.root,new Qd(new qt(a,[]),e)}function DR(n){let e={},r={},t={},i="",o=new is([],e,t,i,r,ge,n,null,{});return new Xd("",new qt(o,[]))}var Ai=class{constructor(e,r,t,i,o,s,a,l){var c,d;this.urlSubject=e,this.paramsSubject=r,this.queryParamsSubject=t,this.fragmentSubject=i,this.dataSubject=o,this.outlet=s,this.component=a,this._futureSnapshot=l,this.title=(d=(c=this.dataSubject)==null?void 0:c.pipe(K(u=>u[ka])))!=null?d:H(void 0),this.url=e,this.params=r,this.queryParams=t,this.fragment=i,this.data=o}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){var e;return(e=this._paramMap)!=null||(this._paramMap=this.params.pipe(K(r=>os(r)))),this._paramMap}get queryParamMap(){var e;return(e=this._queryParamMap)!=null||(this._queryParamMap=this.queryParams.pipe(K(r=>os(r)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():"Future(".concat(this._futureSnapshot,")")}};function Kd(n,e,r="emptyOnly"){var o,s;let t,{routeConfig:i}=n;return e!==null&&(r==="always"||(i==null?void 0:i.path)===""||!e.component&&!((o=e.routeConfig)!=null&&o.loadComponent))?t={params:D(D({},e.params),n.params),data:D(D({},e.data),n.data),resolve:D(D(D(D({},n.data),e.data),i==null?void 0:i.data),n._resolvedData)}:t={params:D({},n.params),data:D({},n.data),resolve:D(D({},n.data),(s=n._resolvedData)!=null?s:{})},i&&Rw(i)&&(t.resolve[ka]=i.title),t}var is=class{get title(){var e;return(e=this.data)==null?void 0:e[ka]}constructor(e,r,t,i,o,s,a,l,c){this.url=e,this.params=r,this.queryParams=t,this.fragment=i,this.data=o,this.outlet=s,this.component=a,this.routeConfig=l,this._resolve=c}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){var e;return(e=this._paramMap)!=null||(this._paramMap=os(this.params)),this._paramMap}get queryParamMap(){var e;return(e=this._queryParamMap)!=null||(this._queryParamMap=os(this.queryParams)),this._queryParamMap}toString(){let e=this.url.map(t=>t.toString()).join("/"),r=this.routeConfig?this.routeConfig.path:"";return"Route(url:'".concat(e,"', path:'").concat(r,"')")}},Xd=class extends Zd{constructor(e,r){super(r),this.url=e,ag(this,r)}toString(){return Ow(this._root)}};function ag(n,e){e.value._routerState=n,e.children.forEach(r=>ag(n,r))}function Ow(n){let e=n.children.length>0?" { ".concat(n.children.map(Ow).join(", ")," } "):"";return"".concat(n.value).concat(e)}function Rp(n){if(n.snapshot){let e=n.snapshot,r=n._futureSnapshot;n.snapshot=r,si(e.queryParams,r.queryParams)||n.queryParamsSubject.next(r.queryParams),e.fragment!==r.fragment&&n.fragmentSubject.next(r.fragment),si(e.params,r.params)||n.paramsSubject.next(r.params),JO(e.url,r.url)||n.urlSubject.next(r.url),si(e.data,r.data)||n.dataSubject.next(r.data)}else n.snapshot=n._futureSnapshot,n.dataSubject.next(n._futureSnapshot.data)}function Jp(n,e){let r=si(n.params,e.params)&&iR(n.url,e.url),t=!n.parent!=!e.parent;return r&&!t&&(!n.parent||Jp(n.parent,e.parent))}function Rw(n){return typeof n.title=="string"||n.title===null}var lg=(()=>{let e=class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=ge,this.activateEvents=new $,this.deactivateEvents=new $,this.attachEvents=new $,this.detachEvents=new $,this.parentContexts=y(Ra),this.location=y(lt),this.changeDetector=y(Ne),this.inputBinder=y(iu,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(t){if(t.name){let{firstChange:i,previousValue:o}=t.name;if(i)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),this.initializeOutletWithName()}}ngOnDestroy(){var t;this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),(t=this.inputBinder)==null||t.unsubscribeFromRouteData(this)}isTrackedInParentContexts(t){var i;return((i=this.parentContexts.getContext(t))==null?void 0:i.outlet)===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let t=this.parentContexts.getContext(this.name);t!=null&&t.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new T(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new T(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new T(4012,!1);this.location.detach();let t=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(t.instance),t}attach(t,i){var o;this.activated=t,this._activatedRoute=i,this.location.insert(t.hostView),(o=this.inputBinder)==null||o.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(t.instance)}deactivate(){if(this.activated){let t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,i){var d;if(this.isActivated)throw new T(4013,!1);this._activatedRoute=t;let o=this.location,a=t.snapshot.component,l=this.parentContexts.getOrCreateContext(this.name).children,c=new eg(t,l,o.injector);this.activated=o.createComponent(a,{index:o.length,injector:c,environmentInjector:i}),this.changeDetector.markForCheck(),(d=this.inputBinder)==null||d.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=N({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[We]});let n=e;return n})(),eg=class n{__ngOutletInjector(e){return new n(this.route,this.childContexts,e)}constructor(e,r,t){this.route=e,this.childContexts=r,this.parent=t}get(e,r){return e===Ai?this.route:e===Ra?this.childContexts:this.parent.get(e,r)}},iu=new E(""),uw=(()=>{let e=class e{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(t){this.unsubscribeFromRouteData(t),this.subscribeToRouteData(t)}unsubscribeFromRouteData(t){var i;(i=this.outletDataSubscriptions.get(t))==null||i.unsubscribe(),this.outletDataSubscriptions.delete(t)}subscribeToRouteData(t){let{activatedRoute:i}=t,o=kr([i.queryParams,i.params,i.data]).pipe(it(([s,a,l],c)=>(l=D(D(D({},s),a),l),c===0?H(l):Promise.resolve(l)))).subscribe(s=>{if(!t.isActivated||!t.activatedComponentRef||t.activatedRoute!==i||i.component===null){this.unsubscribeFromRouteData(t);return}let a=yx(i.component);if(!a){this.unsubscribeFromRouteData(t);return}for(let{templateName:l}of a.inputs)t.activatedComponentRef.setInput(l,s[l])});this.outletDataSubscriptions.set(t,o)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac});let n=e;return n})();function ER(n,e,r){let t=Ma(n,e._root,r?r._root:void 0);return new Qd(t,e)}function Ma(n,e,r){if(r&&n.shouldReuseRoute(e.value,r.value.snapshot)){let t=r.value;t._futureSnapshot=e.value;let i=IR(n,e,r);return new qt(t,i)}else{if(n.shouldAttach(e.value)){let o=n.retrieve(e.value);if(o!==null){let s=o.route;return s.value._futureSnapshot=e.value,s.children=e.children.map(a=>Ma(n,a)),s}}let t=MR(e.value),i=e.children.map(o=>Ma(n,o));return new qt(t,i)}}function IR(n,e,r){return e.children.map(t=>{for(let i of r.children)if(n.shouldReuseRoute(t.value,i.value.snapshot))return Ma(n,t,i);return Ma(n,t)})}function MR(n){return new Ai(new dt(n.url),new dt(n.params),new dt(n.queryParams),new dt(n.fragment),new dt(n.data),n.outlet,n.component,n)}var Sa=class{constructor(e,r){this.redirectTo=e,this.navigationBehaviorOptions=r}},Nw="ngNavigationCancelingError";function Jd(n,e){let{redirectTo:r,navigationBehaviorOptions:t}=Ca(e)?{redirectTo:e,navigationBehaviorOptions:void 0}:e,i=Pw(!1,Yt.Redirect);return i.url=r,i.navigationBehaviorOptions=t,i}function Pw(n,e){let r=new Error("NavigationCancelingError: ".concat(n||""));return r[Nw]=!0,r.cancellationCode=e,r}function SR(n){return Fw(n)&&Ca(n.url)}function Fw(n){return!!n&&n[Nw]}var TR=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=j({type:e,selectors:[["ng-component"]],standalone:!0,features:[Oe],decls:1,vars:0,template:function(i,o){i&1&&O(0,"router-outlet")},dependencies:[lg],encapsulation:2});let n=e;return n})();function AR(n,e){var r;return n.providers&&!n._injector&&(n._injector=md(n.providers,e,"Route: ".concat(n.path))),(r=n._injector)!=null?r:e}function cg(n){let e=n.children&&n.children.map(cg),r=e?_e(D({},n),{children:e}):D({},n);return!r.component&&!r.loadComponent&&(e||r.loadChildren)&&r.outlet&&r.outlet!==ge&&(r.component=TR),r}function On(n){return n.outlet||ge}function kR(n,e){let r=n.filter(t=>On(t)===e);return r.push(...n.filter(t=>On(t)!==e)),r}function Na(n){var e;if(!n)return null;if((e=n.routeConfig)!=null&&e._injector)return n.routeConfig._injector;for(let r=n.parent;r;r=r.parent){let t=r.routeConfig;if(t!=null&&t._loadedInjector)return t._loadedInjector;if(t!=null&&t._injector)return t._injector}return null}var OR=(n,e,r,t)=>K(i=>(new tg(e,i.targetRouterState,i.currentRouterState,r,t).activate(n),i)),tg=class{constructor(e,r,t,i,o){this.routeReuseStrategy=e,this.futureState=r,this.currState=t,this.forwardEvent=i,this.inputBindingEnabled=o}activate(e){let r=this.futureState._root,t=this.currState?this.currState._root:null;this.deactivateChildRoutes(r,t,e),Rp(this.futureState.root),this.activateChildRoutes(r,t,e)}deactivateChildRoutes(e,r,t){let i=ts(r);e.children.forEach(o=>{let s=o.value.outlet;this.deactivateRoutes(o,i[s],t),delete i[s]}),Object.values(i).forEach(o=>{this.deactivateRouteAndItsChildren(o,t)})}deactivateRoutes(e,r,t){let i=e.value,o=r?r.value:null;if(i===o)if(i.component){let s=t.getContext(i.outlet);s&&this.deactivateChildRoutes(e,r,s.children)}else this.deactivateChildRoutes(e,r,t);else o&&this.deactivateRouteAndItsChildren(r,t)}deactivateRouteAndItsChildren(e,r){e.value.component&&this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,r):this.deactivateRouteAndOutlet(e,r)}detachAndStoreRouteSubtree(e,r){let t=r.getContext(e.value.outlet),i=t&&e.value.component?t.children:r,o=ts(e);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);if(t&&t.outlet){let s=t.outlet.detach(),a=t.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:s,route:e,contexts:a})}}deactivateRouteAndOutlet(e,r){let t=r.getContext(e.value.outlet),i=t&&e.value.component?t.children:r,o=ts(e);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);t&&(t.outlet&&(t.outlet.deactivate(),t.children.onOutletDeactivated()),t.attachRef=null,t.route=null)}activateChildRoutes(e,r,t){let i=ts(r);e.children.forEach(o=>{this.activateRoutes(o,i[o.value.outlet],t),this.forwardEvent(new Zp(o.value.snapshot))}),e.children.length&&this.forwardEvent(new qp(e.value.snapshot))}activateRoutes(e,r,t){let i=e.value,o=r?r.value:null;if(Rp(i),i===o)if(i.component){let s=t.getOrCreateContext(i.outlet);this.activateChildRoutes(e,r,s.children)}else this.activateChildRoutes(e,r,t);else if(i.component){let s=t.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){let a=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),Rp(a.route.value),this.activateChildRoutes(e,null,s.children)}else{let a=Na(i.snapshot);s.attachRef=null,s.route=i,s.injector=a!=null?a:s.injector,s.outlet&&s.outlet.activateWith(i,s.injector),this.activateChildRoutes(e,null,s.children)}}else this.activateChildRoutes(e,null,t)}},eu=class{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}},rs=class{constructor(e,r){this.component=e,this.route=r}};function RR(n,e,r){let t=n._root,i=e?e._root:null;return va(t,i,r,[t.value])}function NR(n){let e=n.routeConfig?n.routeConfig.canActivateChild:null;return!e||e.length===0?null:{node:n,guards:e}}function ds(n,e){let r=Symbol(),t=e.get(n,r);return t===r?typeof n=="function"&&!I_(n)?n:e.get(n):t}function va(n,e,r,t,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=ts(e);return n.children.forEach(s=>{PR(s,o[s.value.outlet],r,t.concat([s.value]),i),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,a])=>wa(a,r.getContext(s),i)),i}function PR(n,e,r,t,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=n.value,s=e?e.value:null,a=r?r.getContext(n.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){let l=FR(s,o,o.routeConfig.runGuardsAndResolvers);l?i.canActivateChecks.push(new eu(t)):(o.data=s.data,o._resolvedData=s._resolvedData),o.component?va(n,e,a?a.children:null,t,i):va(n,e,r,t,i),l&&a&&a.outlet&&a.outlet.isActivated&&i.canDeactivateChecks.push(new rs(a.outlet.component,s))}else s&&wa(e,a,i),i.canActivateChecks.push(new eu(t)),o.component?va(n,null,a?a.children:null,t,i):va(n,null,r,t,i);return i}function FR(n,e,r){if(typeof r=="function")return r(n,e);switch(r){case"pathParamsChange":return!Xr(n.url,e.url);case"pathParamsOrQueryParamsChange":return!Xr(n.url,e.url)||!si(n.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Jp(n,e)||!si(n.queryParams,e.queryParams);case"paramsChange":default:return!Jp(n,e)}}function wa(n,e,r){let t=ts(n),i=n.value;Object.entries(t).forEach(([o,s])=>{i.component?e?wa(s,e.children.getContext(o),r):wa(s,null,r):wa(s,e,r)}),i.component?e&&e.outlet&&e.outlet.isActivated?r.canDeactivateChecks.push(new rs(e.outlet.component,i)):r.canDeactivateChecks.push(new rs(null,i)):r.canDeactivateChecks.push(new rs(null,i))}function Pa(n){return typeof n=="function"}function LR(n){return typeof n=="boolean"}function jR(n){return n&&Pa(n.canLoad)}function VR(n){return n&&Pa(n.canActivate)}function BR(n){return n&&Pa(n.canActivateChild)}function UR(n){return n&&Pa(n.canDeactivate)}function zR(n){return n&&Pa(n.canMatch)}function Lw(n){return n instanceof xn||(n==null?void 0:n.name)==="EmptyError"}var Bd=Symbol("INITIAL_VALUE");function cs(){return it(n=>kr(n.map(e=>e.pipe(Ve(1),at(Bd)))).pipe(K(e=>{for(let r of e)if(r!==!0){if(r===Bd)return Bd;if(r===!1||HR(r))return r}return!0}),le(e=>e!==Bd),Ve(1)))}function HR(n){return Ca(n)||n instanceof Sa}function $R(n,e){return Ze(r=>{let{targetSnapshot:t,currentSnapshot:i,guards:{canActivateChecks:o,canDeactivateChecks:s}}=r;return s.length===0&&o.length===0?H(_e(D({},r),{guardsResult:!0})):WR(s,t,i,n).pipe(Ze(a=>a&&LR(a)?GR(t,o,n,e):H(a)),K(a=>_e(D({},r),{guardsResult:a})))})}function WR(n,e,r,t){return je(n).pipe(Ze(i=>KR(i.component,i.route,r,e,t)),Un(i=>i!==!0,!0))}function GR(n,e,r,t){return je(e).pipe(pi(i=>Vn(YR(i.route.parent,t),qR(i.route,t),QR(n,i.path,r),ZR(n,i.route,r))),Un(i=>i!==!0,!0))}function qR(n,e){return n!==null&&e&&e(new Yp(n)),H(!0)}function YR(n,e){return n!==null&&e&&e(new Gp(n)),H(!0)}function ZR(n,e,r){let t=e.routeConfig?e.routeConfig.canActivate:null;if(!t||t.length===0)return H(!0);let i=t.map(o=>Bn(()=>{var c;let s=(c=Na(e))!=null?c:r,a=ds(o,s),l=VR(a)?a.canActivate(e,n):Vt(s,()=>a(e,n));return ar(l).pipe(Un())}));return H(i).pipe(cs())}function QR(n,e,r){let t=e[e.length-1],o=e.slice(0,e.length-1).reverse().map(s=>NR(s)).filter(s=>s!==null).map(s=>Bn(()=>{let a=s.guards.map(l=>{var f;let c=(f=Na(s.node))!=null?f:r,d=ds(l,c),u=BR(d)?d.canActivateChild(t,n):Vt(c,()=>d(t,n));return ar(u).pipe(Un())});return H(a).pipe(cs())}));return H(o).pipe(cs())}function KR(n,e,r,t,i){let o=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!o||o.length===0)return H(!0);let s=o.map(a=>{var u;let l=(u=Na(e))!=null?u:i,c=ds(a,l),d=UR(c)?c.canDeactivate(n,e,r,t):Vt(l,()=>c(n,e,r,t));return ar(d).pipe(Un())});return H(s).pipe(cs())}function XR(n,e,r,t){let i=e.canLoad;if(i===void 0||i.length===0)return H(!0);let o=i.map(s=>{let a=ds(s,n),l=jR(a)?a.canLoad(e,r):Vt(n,()=>a(e,r));return ar(l)});return H(o).pipe(cs(),jw(t))}function jw(n){return Of(et(e=>{if(typeof e!="boolean")throw Jd(n,e)}),K(e=>e===!0))}function JR(n,e,r,t){let i=e.canMatch;if(!i||i.length===0)return H(!0);let o=i.map(s=>{let a=ds(s,n),l=zR(a)?a.canMatch(e,r):Vt(n,()=>a(e,r));return ar(l)});return H(o).pipe(cs(),jw(t))}var Ta=class{constructor(e){this.segmentGroup=e||null}},Aa=class extends Error{constructor(e){super(),this.urlTree=e}};function es(n){return Co(new Ta(n))}function eN(n){return Co(new T(4e3,!1))}function tN(n){return Co(Pw(!1,Yt.GuardRejected))}var ng=class{constructor(e,r){this.urlSerializer=e,this.urlTree=r}lineralizeSegments(e,r){let t=[],i=r.root;for(;;){if(t=t.concat(i.segments),i.numberOfChildren===0)return H(t);if(i.numberOfChildren>1||!i.children[ge])return eN("".concat(e.redirectTo));i=i.children[ge]}}applyRedirectCommands(e,r,t,i,o){if(typeof r!="string"){let a=r,{queryParams:l,fragment:c,routeConfig:d,url:u,outlet:f,params:m,data:g,title:_}=i,C=Vt(o,()=>a({params:m,data:g,queryParams:l,fragment:c,routeConfig:d,url:u,outlet:f,title:_}));if(C instanceof or)throw new Aa(C);r=C}let s=this.applyRedirectCreateUrlTree(r,this.urlSerializer.parse(r),e,t);if(r[0]==="/")throw new Aa(s);return s}applyRedirectCreateUrlTree(e,r,t,i){let o=this.createSegmentGroup(e,r.root,t,i);return new or(o,this.createQueryParams(r.queryParams,this.urlTree.queryParams),r.fragment)}createQueryParams(e,r){let t={};return Object.entries(e).forEach(([i,o])=>{if(typeof o=="string"&&o[0]===":"){let a=o.substring(1);t[i]=r[a]}else t[i]=o}),t}createSegmentGroup(e,r,t,i){let o=this.createSegments(e,r.segments,t,i),s={};return Object.entries(r.children).forEach(([a,l])=>{s[a]=this.createSegmentGroup(e,l,t,i)}),new Pe(o,s)}createSegments(e,r,t,i){return r.map(o=>o.path[0]===":"?this.findPosParam(e,o,i):this.findOrReturn(o,t))}findPosParam(e,r,t){let i=t[r.path.substring(1)];if(!i)throw new T(4001,!1);return i}findOrReturn(e,r){let t=0;for(let i of r){if(i.path===e.path)return r.splice(t),i;t++}return e}},ig={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function nN(n,e,r,t,i){let o=dg(n,e,r);return o.matched?(t=AR(e,t),JR(t,e,r,i).pipe(K(s=>s===!0?o:D({},ig)))):H(o)}function dg(n,e,r){var a,l;if(e.path==="**")return iN(r);if(e.path==="")return e.pathMatch==="full"&&(n.hasChildren()||r.length>0)?D({},ig):{matched:!0,consumedSegments:[],remainingSegments:r,parameters:{},positionalParamSegments:{}};let i=(e.matcher||XO)(r,n,e);if(!i)return D({},ig);let o={};Object.entries((a=i.posParams)!=null?a:{}).forEach(([c,d])=>{o[c]=d.path});let s=i.consumed.length>0?D(D({},o),i.consumed[i.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:i.consumed,remainingSegments:r.slice(i.consumed.length),parameters:s,positionalParamSegments:(l=i.posParams)!=null?l:{}}}function iN(n){return{matched:!0,parameters:n.length>0?vw(n).parameters:{},consumedSegments:n,remainingSegments:[],positionalParamSegments:{}}}function fw(n,e,r,t){return r.length>0&&sN(n,r,t)?{segmentGroup:new Pe(e,oN(t,new Pe(r,n.children))),slicedSegments:[]}:r.length===0&&aN(n,r,t)?{segmentGroup:new Pe(n.segments,rN(n,r,t,n.children)),slicedSegments:r}:{segmentGroup:new Pe(n.segments,n.children),slicedSegments:r}}function rN(n,e,r,t){let i={};for(let o of r)if(ru(n,e,o)&&!t[On(o)]){let s=new Pe([],{});i[On(o)]=s}return D(D({},t),i)}function oN(n,e){let r={};r[ge]=e;for(let t of n)if(t.path===""&&On(t)!==ge){let i=new Pe([],{});r[On(t)]=i}return r}function sN(n,e,r){return r.some(t=>ru(n,e,t)&&On(t)!==ge)}function aN(n,e,r){return r.some(t=>ru(n,e,t))}function ru(n,e,r){return(n.hasChildren()||e.length>0)&&r.pathMatch==="full"?!1:r.path===""}function lN(n,e,r,t){return On(n)!==t&&(t===ge||!ru(e,r,n))?!1:dg(e,n,r).matched}function cN(n,e,r){return e.length===0&&!n.children[r]}var rg=class{};function dN(n,e,r,t,i,o,s="emptyOnly"){return new og(n,e,r,t,i,s,o).recognize()}var uN=31,og=class{constructor(e,r,t,i,o,s,a){this.injector=e,this.configLoader=r,this.rootComponentType=t,this.config=i,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new ng(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(e){return new T(4002,"'".concat(e.segmentGroup,"'"))}recognize(){let e=fw(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(e).pipe(K(({children:r,rootSnapshot:t})=>{let i=new qt(t,r),o=new Xd("",i),s=bR(t,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),{state:o,tree:s}}))}match(e){let r=new is([],Object.freeze({}),Object.freeze(D({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),ge,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,e,ge,r).pipe(K(t=>({children:t,rootSnapshot:r})),Ui(t=>{if(t instanceof Aa)return this.urlTree=t.urlTree,this.match(t.urlTree.root);throw t instanceof Ta?this.noMatchError(t):t}))}processSegmentGroup(e,r,t,i,o){return t.segments.length===0&&t.hasChildren()?this.processChildren(e,r,t,o):this.processSegment(e,r,t,t.segments,i,!0,o).pipe(K(s=>s instanceof qt?[s]:[]))}processChildren(e,r,t,i){let o=[];for(let s of Object.keys(t.children))s==="primary"?o.unshift(s):o.push(s);return je(o).pipe(pi(s=>{let a=t.children[s],l=kR(r,s);return this.processSegmentGroup(e,l,a,s,i)}),$f((s,a)=>(s.push(...a),s)),zi(null),Hf(),Ze(s=>{if(s===null)return es(t);let a=Vw(s);return fN(a),H(a)}))}processSegment(e,r,t,i,o,s,a){return je(r).pipe(pi(l=>{var c;return this.processSegmentAgainstRoute((c=l._injector)!=null?c:e,r,l,t,i,o,s,a).pipe(Ui(d=>{if(d instanceof Ta)return H(null);throw d}))}),Un(l=>!!l),Ui(l=>{if(Lw(l))return cN(t,i,o)?H(new rg):es(t);throw l}))}processSegmentAgainstRoute(e,r,t,i,o,s,a,l){return lN(t,i,o,s)?t.redirectTo===void 0?this.matchSegmentAgainstRoute(e,i,t,o,s,l):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(e,i,r,t,o,s,l):es(i):es(i)}expandSegmentAgainstRouteUsingRedirect(e,r,t,i,o,s,a){var C,S;let{matched:l,parameters:c,consumedSegments:d,positionalParamSegments:u,remainingSegments:f}=dg(r,i,o);if(!l)return es(r);typeof i.redirectTo=="string"&&i.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>uN&&(this.allowRedirects=!1));let m=new is(o,c,Object.freeze(D({},this.urlTree.queryParams)),this.urlTree.fragment,hw(i),On(i),(S=(C=i.component)!=null?C:i._loadedComponent)!=null?S:null,i,mw(i)),g=Kd(m,a,this.paramsInheritanceStrategy);m.params=Object.freeze(g.params),m.data=Object.freeze(g.data);let _=this.applyRedirects.applyRedirectCommands(d,i.redirectTo,u,m,e);return this.applyRedirects.lineralizeSegments(i,_).pipe(Ze(B=>this.processSegment(e,t,r,B.concat(f),s,!1,a)))}matchSegmentAgainstRoute(e,r,t,i,o,s){let a=nN(r,t,i,e,this.urlSerializer);return t.path==="**"&&(r.children={}),a.pipe(it(l=>{var c;return l.matched?(e=(c=t._injector)!=null?c:e,this.getChildConfig(e,t,i).pipe(it(({routes:d})=>{var q,$e,be;let u=(q=t._loadedInjector)!=null?q:e,{parameters:f,consumedSegments:m,remainingSegments:g}=l,_=new is(m,f,Object.freeze(D({},this.urlTree.queryParams)),this.urlTree.fragment,hw(t),On(t),(be=($e=t.component)!=null?$e:t._loadedComponent)!=null?be:null,t,mw(t)),C=Kd(_,s,this.paramsInheritanceStrategy);_.params=Object.freeze(C.params),_.data=Object.freeze(C.data);let{segmentGroup:S,slicedSegments:B}=fw(r,m,g,d);if(B.length===0&&S.hasChildren())return this.processChildren(u,d,S,_).pipe(K(pe=>new qt(_,pe)));if(d.length===0&&B.length===0)return H(new qt(_,[]));let ve=On(t)===o;return this.processSegment(u,d,S,B,ve?ge:o,!0,_).pipe(K(pe=>new qt(_,pe instanceof qt?[pe]:[])))}))):es(r)}))}getChildConfig(e,r,t){return r.children?H({routes:r.children,injector:e}):r.loadChildren?r._loadedRoutes!==void 0?H({routes:r._loadedRoutes,injector:r._loadedInjector}):XR(e,r,t,this.urlSerializer).pipe(Ze(i=>i?this.configLoader.loadChildren(e,r).pipe(et(o=>{r._loadedRoutes=o.routes,r._loadedInjector=o.injector})):tN(r))):H({routes:[],injector:e})}};function fN(n){n.sort((e,r)=>e.value.outlet===ge?-1:r.value.outlet===ge?1:e.value.outlet.localeCompare(r.value.outlet))}function hN(n){let e=n.value.routeConfig;return e&&e.path===""}function Vw(n){let e=[],r=new Set;for(let t of n){if(!hN(t)){e.push(t);continue}let i=e.find(o=>t.value.routeConfig===o.value.routeConfig);i!==void 0?(i.children.push(...t.children),r.add(i)):e.push(t)}for(let t of r){let i=Vw(t.children);e.push(new qt(t.value,i))}return e.filter(t=>!r.has(t))}function hw(n){return n.data||{}}function mw(n){return n.resolve||{}}function mN(n,e,r,t,i,o){return Ze(s=>dN(n,e,r,t,s.extractedUrl,i,o).pipe(K(({state:a,tree:l})=>_e(D({},s),{targetSnapshot:a,urlAfterRedirects:l}))))}function pN(n,e){return Ze(r=>{let{targetSnapshot:t,guards:{canActivateChecks:i}}=r;if(!i.length)return H(r);let o=new Set(i.map(l=>l.route)),s=new Set;for(let l of o)if(!s.has(l))for(let c of Bw(l))s.add(c);let a=0;return je(s).pipe(pi(l=>o.has(l)?gN(l,t,n,e):(l.data=Kd(l,l.parent,n).resolve,H(void 0))),et(()=>a++),Io(1),Ze(l=>a===s.size?H(r):ut))})}function Bw(n){let e=n.children.map(r=>Bw(r)).flat();return[n,...e]}function gN(n,e,r,t){let i=n.routeConfig,o=n._resolve;return(i==null?void 0:i.title)!==void 0&&!Rw(i)&&(o[ka]=i.title),bN(o,n,e,t).pipe(K(s=>(n._resolvedData=s,n.data=Kd(n,n.parent,r).resolve,null)))}function bN(n,e,r,t){let i=Fp(n);if(i.length===0)return H({});let o={};return je(i).pipe(Ze(s=>vN(n[s],e,r,t).pipe(Un(),et(a=>{if(a instanceof Sa)throw Jd(new ss,a);o[s]=a}))),Io(1),js(o),Ui(s=>Lw(s)?ut:Co(s)))}function vN(n,e,r,t){var a;let i=(a=Na(e))!=null?a:t,o=ds(n,i),s=o.resolve?o.resolve(e,r):Vt(i,()=>o(e,r));return ar(s)}function Np(n){return it(e=>{let r=n(e);return r?je(r).pipe(K(()=>e)):H(e)})}var Uw=(()=>{let e=class e{buildTitle(t){var s;let i,o=t.root;for(;o!==void 0;)i=(s=this.getResolvedTitleForRoute(o))!=null?s:i,o=o.children.find(a=>a.outlet===ge);return i}getResolvedTitleForRoute(t){return t.data[ka]}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=I({token:e,factory:()=>y(_N),providedIn:"root"});let n=e;return n})(),_N=(()=>{let e=class e extends Uw{constructor(t){super(),this.title=t}updateTitle(t){let i=this.buildTitle(t);i!==void 0&&this.title.setTitle(i)}};e.\u0275fac=function(i){return new(i||e)(v(ew))},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})(),Fa=new E("",{providedIn:"root",factory:()=>({})}),tu=new E(""),ug=(()=>{let e=class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=y(xd)}loadComponent(t){if(this.componentLoaders.get(t))return this.componentLoaders.get(t);if(t._loadedComponent)return H(t._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(t);let i=ar(t.loadComponent()).pipe(K(zw),et(s=>{this.onLoadEndListener&&this.onLoadEndListener(t),t._loadedComponent=s}),$i(()=>{this.componentLoaders.delete(t)})),o=new Tr(i,()=>new A).pipe(vo());return this.componentLoaders.set(t,o),o}loadChildren(t,i){if(this.childrenLoaders.get(i))return this.childrenLoaders.get(i);if(i._loadedRoutes)return H({routes:i._loadedRoutes,injector:i._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(i);let s=yN(i,this.compiler,t,this.onLoadEndListener).pipe($i(()=>{this.childrenLoaders.delete(i)})),a=new Tr(s,()=>new A).pipe(vo());return this.childrenLoaders.set(i,a),a}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();function yN(n,e,r,t){return ar(n.loadChildren()).pipe(K(zw),Ze(i=>i instanceof Ys||Array.isArray(i)?H(i):je(e.compileModuleAsync(i))),K(i=>{t&&t(n);let o,s,a=!1;return Array.isArray(i)?(s=i,a=!0):(o=i.create(r).injector,s=o.get(tu,[],{optional:!0,self:!0}).flat()),{routes:s.map(cg),injector:o}}))}function xN(n){return n&&typeof n=="object"&&"default"in n}function zw(n){return xN(n)?n.default:n}var fg=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=I({token:e,factory:()=>y(wN),providedIn:"root"});let n=e;return n})(),wN=(()=>{let e=class e{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,i){return t}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})(),Hw=new E(""),$w=new E("");function CN(n,e,r){let t=n.get($w),i=n.get(W);return n.get(k).runOutsideAngular(()=>{if(!i.startViewTransition||t.skipNextTransition)return t.skipNextTransition=!1,new Promise(c=>setTimeout(c));let o,s=new Promise(c=>{o=c}),a=i.startViewTransition(()=>(o(),DN(n))),{onViewTransitionCreated:l}=t;return l&&Vt(n,()=>l({transition:a,from:e,to:r})),s})}function DN(n){return new Promise(e=>{Ut(e,{injector:n})})}var EN=new E(""),hg=(()=>{let e=class e{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new A,this.transitionAbortSubject=new A,this.configLoader=y(ug),this.environmentInjector=y(mt),this.urlSerializer=y(Oa),this.rootContexts=y(Ra),this.location=y(ii),this.inputBindingEnabled=y(iu,{optional:!0})!==null,this.titleStrategy=y(Uw),this.options=y(Fa,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=y(fg),this.createViewTransition=y(Hw,{optional:!0}),this.navigationErrorHandler=y(EN,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>H(void 0),this.rootComponentType=null;let t=o=>this.events.next(new $p(o)),i=o=>this.events.next(new Wp(o));this.configLoader.onLoadEndListener=i,this.configLoader.onLoadStartListener=t}complete(){var t;(t=this.transitions)==null||t.complete()}handleNavigationRequest(t){var o;let i=++this.navigationId;(o=this.transitions)==null||o.next(_e(D(D({},this.transitions.value),t),{id:i}))}setupNavigations(t,i,o){return this.transitions=new dt({id:0,currentUrlTree:i,currentRawUrl:i,extractedUrl:this.urlHandlingStrategy.extract(i),urlAfterRedirects:this.urlHandlingStrategy.extract(i),rawUrl:i,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:xa,restoredState:null,currentSnapshot:o.snapshot,targetSnapshot:null,currentRouterState:o,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(le(s=>s.id!==0),K(s=>_e(D({},s),{extractedUrl:this.urlHandlingStrategy.extract(s.rawUrl)})),it(s=>{let a=!1,l=!1;return H(s).pipe(it(c=>{var f;if(this.navigationId>s.id)return this.cancelNavigationTransition(s,"",Yt.SupersededByNewNavigation),ut;this.currentTransition=s,this.currentNavigation={id:c.id,initialUrl:c.rawUrl,extractedUrl:c.extractedUrl,trigger:c.source,extras:c.extras,previousNavigation:this.lastSuccessfulNavigation?_e(D({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let d=!t.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),u=(f=c.extras.onSameUrlNavigation)!=null?f:t.onSameUrlNavigation;if(!d&&u!=="reload"){let m="";return this.events.next(new sr(c.id,this.urlSerializer.serialize(c.rawUrl),m,Gd.IgnoredSameUrlNavigation)),c.resolve(!1),ut}if(this.urlHandlingStrategy.shouldProcessUrl(c.rawUrl))return H(c).pipe(it(m=>{var _,C;let g=(_=this.transitions)==null?void 0:_.getValue();return this.events.next(new as(m.id,this.urlSerializer.serialize(m.extractedUrl),m.source,m.restoredState)),g!==((C=this.transitions)==null?void 0:C.getValue())?ut:Promise.resolve(m)}),mN(this.environmentInjector,this.configLoader,this.rootComponentType,t.config,this.urlSerializer,this.paramsInheritanceStrategy),et(m=>{s.targetSnapshot=m.targetSnapshot,s.urlAfterRedirects=m.urlAfterRedirects,this.currentNavigation=_e(D({},this.currentNavigation),{finalUrl:m.urlAfterRedirects});let g=new qd(m.id,this.urlSerializer.serialize(m.extractedUrl),this.urlSerializer.serialize(m.urlAfterRedirects),m.targetSnapshot);this.events.next(g)}));if(d&&this.urlHandlingStrategy.shouldProcessUrl(c.currentRawUrl)){let{id:m,extractedUrl:g,source:_,restoredState:C,extras:S}=c,B=new as(m,this.urlSerializer.serialize(g),_,C);this.events.next(B);let ve=kw(this.rootComponentType).snapshot;return this.currentTransition=s=_e(D({},c),{targetSnapshot:ve,urlAfterRedirects:g,extras:_e(D({},S),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=g,H(s)}else{let m="";return this.events.next(new sr(c.id,this.urlSerializer.serialize(c.extractedUrl),m,Gd.IgnoredByUrlHandlingStrategy)),c.resolve(!1),ut}}),et(c=>{let d=new Bp(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(d)}),K(c=>(this.currentTransition=s=_e(D({},c),{guards:RR(c.targetSnapshot,c.currentSnapshot,this.rootContexts)}),s)),$R(this.environmentInjector,c=>this.events.next(c)),et(c=>{if(s.guardsResult=c.guardsResult,c.guardsResult&&typeof c.guardsResult!="boolean")throw Jd(this.urlSerializer,c.guardsResult);let d=new Up(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot,!!c.guardsResult);this.events.next(d)}),le(c=>c.guardsResult?!0:(this.cancelNavigationTransition(c,"",Yt.GuardRejected),!1)),Np(c=>{if(c.guards.canActivateChecks.length)return H(c).pipe(et(d=>{let u=new zp(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot);this.events.next(u)}),it(d=>{let u=!1;return H(d).pipe(pN(this.paramsInheritanceStrategy,this.environmentInjector),et({next:()=>u=!0,complete:()=>{u||this.cancelNavigationTransition(d,"",Yt.NoDataFromResolver)}}))}),et(d=>{let u=new Hp(d.id,this.urlSerializer.serialize(d.extractedUrl),this.urlSerializer.serialize(d.urlAfterRedirects),d.targetSnapshot);this.events.next(u)}))}),Np(c=>{let d=u=>{var m;let f=[];(m=u.routeConfig)!=null&&m.loadComponent&&!u.routeConfig._loadedComponent&&f.push(this.configLoader.loadComponent(u.routeConfig).pipe(et(g=>{u.component=g}),K(()=>{})));for(let g of u.children)f.push(...d(g));return f};return kr(d(c.targetSnapshot.root)).pipe(zi(null),Ve(1))}),Np(()=>this.afterPreactivation()),it(()=>{var f;let{currentSnapshot:c,targetSnapshot:d}=s,u=(f=this.createViewTransition)==null?void 0:f.call(this,this.environmentInjector,c.root,d.root);return u?je(u).pipe(K(()=>s)):H(s)}),K(c=>{let d=ER(t.routeReuseStrategy,c.targetSnapshot,c.currentRouterState);return this.currentTransition=s=_e(D({},c),{targetRouterState:d}),this.currentNavigation.targetRouterState=d,s}),et(()=>{this.events.next(new Ia)}),OR(this.rootContexts,t.routeReuseStrategy,c=>this.events.next(c),this.inputBindingEnabled),Ve(1),et({next:c=>{var d;a=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new ai(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects))),(d=this.titleStrategy)==null||d.updateTitle(c.targetRouterState.snapshot),c.resolve(!0)},complete:()=>{a=!0}}),Ie(this.transitionAbortSubject.pipe(et(c=>{throw c}))),$i(()=>{var c;!a&&!l&&this.cancelNavigationTransition(s,"",Yt.SupersededByNewNavigation),((c=this.currentTransition)==null?void 0:c.id)===s.id&&(this.currentNavigation=null,this.currentTransition=null)}),Ui(c=>{var d;if(l=!0,Fw(c))this.events.next(new Ti(s.id,this.urlSerializer.serialize(s.extractedUrl),c.message,c.cancellationCode)),SR(c)?this.events.next(new ls(c.url,c.navigationBehaviorOptions)):s.resolve(!1);else{let u=new Ea(s.id,this.urlSerializer.serialize(s.extractedUrl),c,(d=s.targetSnapshot)!=null?d:void 0);try{let f=Vt(this.environmentInjector,()=>{var m;return(m=this.navigationErrorHandler)==null?void 0:m.call(this,u)});if(f instanceof Sa){let{message:m,cancellationCode:g}=Jd(this.urlSerializer,f);this.events.next(new Ti(s.id,this.urlSerializer.serialize(s.extractedUrl),m,g)),this.events.next(new ls(f.redirectTo,f.navigationBehaviorOptions))}else{this.events.next(u);let m=t.errorHandler(c);s.resolve(!!m)}}catch(f){this.options.resolveNavigationPromiseOnError?s.resolve(!1):s.reject(f)}}return ut}))}))}cancelNavigationTransition(t,i,o){let s=new Ti(t.id,this.urlSerializer.serialize(t.extractedUrl),i,o);this.events.next(s),t.resolve(!1)}isUpdatingInternalState(){var t,i;return((t=this.currentTransition)==null?void 0:t.extractedUrl.toString())!==((i=this.currentTransition)==null?void 0:i.currentUrlTree.toString())}isUpdatedBrowserUrl(){var i,o;return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==((i=this.currentTransition)==null?void 0:i.extractedUrl.toString())&&!((o=this.currentTransition)!=null&&o.extras.skipLocationChange)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();function IN(n){return n!==xa}var MN=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=I({token:e,factory:()=>y(SN),providedIn:"root"});let n=e;return n})(),sg=class{shouldDetach(e){return!1}store(e,r){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,r){return e.routeConfig===r.routeConfig}},SN=(()=>{let e=class e extends sg{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=an(e)))(o||e)}})(),e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})(),Ww=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=I({token:e,factory:()=>y(TN),providedIn:"root"});let n=e;return n})(),TN=(()=>{let e=class e extends Ww{constructor(){super(...arguments),this.location=y(ii),this.urlSerializer=y(Oa),this.options=y(Fa,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=y(fg),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new or,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=kw(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){var t,i;return this.canceledNavigationResolution!=="computed"?this.currentPageId:(i=(t=this.restoredState())==null?void 0:t.\u0275routerPageId)!=null?i:this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(t){return this.location.subscribe(i=>{i.type==="popstate"&&t(i.url,i.state)})}handleRouterEvent(t,i){if(t instanceof as)this.stateMemento=this.createStateMemento();else if(t instanceof sr)this.rawUrlTree=i.initialUrl;else if(t instanceof qd){if(this.urlUpdateStrategy==="eager"&&!i.extras.skipLocationChange){let o=this.urlHandlingStrategy.merge(i.finalUrl,i.initialUrl);this.setBrowserUrl(o,i)}}else t instanceof Ia?(this.currentUrlTree=i.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(i.finalUrl,i.initialUrl),this.routerState=i.targetRouterState,this.urlUpdateStrategy==="deferred"&&(i.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,i))):t instanceof Ti&&(t.code===Yt.GuardRejected||t.code===Yt.NoDataFromResolver)?this.restoreHistory(i):t instanceof Ea?this.restoreHistory(i,!0):t instanceof ai&&(this.lastSuccessfulId=t.id,this.currentPageId=this.browserPageId)}setBrowserUrl(t,i){let o=this.urlSerializer.serialize(t);if(this.location.isCurrentPathEqualTo(o)||i.extras.replaceUrl){let s=this.browserPageId,a=D(D({},i.extras.state),this.generateNgRouterState(i.id,s));this.location.replaceState(o,"",a)}else{let s=D(D({},i.extras.state),this.generateNgRouterState(i.id,this.browserPageId+1));this.location.go(o,"",s)}}restoreHistory(t,i=!1){if(this.canceledNavigationResolution==="computed"){let o=this.browserPageId,s=this.currentPageId-o;s!==0?this.location.historyGo(s):this.currentUrlTree===t.finalUrl&&s===0&&(this.resetState(t),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(i&&this.resetState(t),this.resetUrlToCurrentUrlTree())}resetState(t){var i;this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,(i=t.finalUrl)!=null?i:this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(t,i){return this.canceledNavigationResolution==="computed"?{navigationId:t,\u0275routerPageId:i}:{navigationId:t}}};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=an(e)))(o||e)}})(),e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})(),_a=function(n){return n[n.COMPLETE=0]="COMPLETE",n[n.FAILED=1]="FAILED",n[n.REDIRECTING=2]="REDIRECTING",n}(_a||{});function Gw(n,e){n.events.pipe(le(r=>r instanceof ai||r instanceof Ti||r instanceof Ea||r instanceof sr),K(r=>r instanceof ai||r instanceof sr?_a.COMPLETE:(r instanceof Ti?r.code===Yt.Redirect||r.code===Yt.SupersededByNewNavigation:!1)?_a.REDIRECTING:_a.FAILED),le(r=>r!==_a.REDIRECTING),Ve(1)).subscribe(()=>{e()})}function AN(n){throw n}var kN={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},ON={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},li=(()=>{let e=class e{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){var t,i;this.disposed=!1,this.console=y(gd),this.stateManager=y(Ww),this.options=y(Fa,{optional:!0})||{},this.pendingTasks=y(Kn),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=y(hg),this.urlSerializer=y(Oa),this.location=y(ii),this.urlHandlingStrategy=y(fg),this._events=new A,this.errorHandler=this.options.errorHandler||AN,this.navigated=!1,this.routeReuseStrategy=y(MN),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=(i=(t=y(tu,{optional:!0}))==null?void 0:t.flat())!=null?i:[],this.componentInputBindingEnabled=!!y(iu,{optional:!0}),this.eventsSubscription=new fe,this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:o=>{this.console.warn(o)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){let t=this.navigationTransitions.events.subscribe(i=>{try{let o=this.navigationTransitions.currentTransition,s=this.navigationTransitions.currentNavigation;if(o!==null&&s!==null){if(this.stateManager.handleRouterEvent(i,s),i instanceof Ti&&i.code!==Yt.Redirect&&i.code!==Yt.SupersededByNewNavigation)this.navigated=!0;else if(i instanceof ai)this.navigated=!0;else if(i instanceof ls){let a=i.navigationBehaviorOptions,l=this.urlHandlingStrategy.merge(i.url,o.currentRawUrl),c=D({info:o.extras.info,skipLocationChange:o.extras.skipLocationChange,replaceUrl:o.extras.replaceUrl||this.urlUpdateStrategy==="eager"||IN(o.source)},a);this.scheduleNavigation(l,xa,null,c,{resolve:o.resolve,reject:o.reject,promise:o.promise})}}NN(i)&&this._events.next(i)}catch(o){this.navigationTransitions.transitionAbortSubject.next(o)}});this.eventsSubscription.add(t)}resetRootComponentType(t){this.routerState.root.component=t,this.navigationTransitions.rootComponentType=t}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),xa,this.stateManager.restoredState())}setUpLocationChangeListener(){var t;(t=this.nonRouterCurrentEntryChangeSubscription)!=null||(this.nonRouterCurrentEntryChangeSubscription=this.stateManager.registerNonRouterCurrentEntryChangeListener((i,o)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(i,"popstate",o)},0)}))}navigateToSyncWithBrowser(t,i,o){let s={replaceUrl:!0},a=o!=null&&o.navigationId?o:null;if(o){let c=D({},o);delete c.navigationId,delete c.\u0275routerPageId,Object.keys(c).length!==0&&(s.state=c)}let l=this.parseUrl(t);this.scheduleNavigation(l,i,a,s)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(t){this.config=t.map(cg),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(t,i={}){let{relativeTo:o,queryParams:s,fragment:a,queryParamsHandling:l,preserveFragment:c}=i,d=c?this.currentUrlTree.fragment:a,u=null;switch(l){case"merge":u=D(D({},this.currentUrlTree.queryParams),s);break;case"preserve":u=this.currentUrlTree.queryParams;break;default:u=s||null}u!==null&&(u=this.removeEmptyProps(u));let f;try{let m=o?o.snapshot:this.routerState.snapshot.root;f=Mw(m)}catch{(typeof t[0]!="string"||t[0][0]!=="/")&&(t=[]),f=this.currentUrlTree.root}return Sw(f,t,u,d!=null?d:null)}navigateByUrl(t,i={skipLocationChange:!1}){let o=Ca(t)?t:this.parseUrl(t),s=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(s,xa,null,i)}navigate(t,i={skipLocationChange:!1}){return RN(t),this.navigateByUrl(this.createUrlTree(t,i),i)}serializeUrl(t){return this.urlSerializer.serialize(t)}parseUrl(t){try{return this.urlSerializer.parse(t)}catch{return this.urlSerializer.parse("/")}}isActive(t,i){let o;if(i===!0?o=D({},kN):i===!1?o=D({},ON):o=i,Ca(t))return aw(this.currentUrlTree,t,o);let s=this.parseUrl(t);return aw(this.currentUrlTree,s,o)}removeEmptyProps(t){return Object.entries(t).reduce((i,[o,s])=>(s!=null&&(i[o]=s),i),{})}scheduleNavigation(t,i,o,s,a){if(this.disposed)return Promise.resolve(!1);let l,c,d;a?(l=a.resolve,c=a.reject,d=a.promise):d=new Promise((f,m)=>{l=f,c=m});let u=this.pendingTasks.add();return Gw(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(u))}),this.navigationTransitions.handleNavigationRequest({source:i,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:t,extras:s,resolve:l,reject:c,promise:d,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),d.catch(f=>Promise.reject(f))}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();function RN(n){for(let e=0;e{let e=class e{constructor(t,i,o,s,a,l){var d;this.router=t,this.route=i,this.tabIndexAttribute=o,this.renderer=s,this.el=a,this.locationStrategy=l,this.href=null,this.commands=null,this.onChanges=new A,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;let c=(d=a.nativeElement.tagName)==null?void 0:d.toLowerCase();this.isAnchorElement=c==="a"||c==="area",this.isAnchorElement?this.subscription=t.events.subscribe(u=>{u instanceof ai&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(t){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",t)}ngOnChanges(t){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(t){t!=null?(this.commands=Array.isArray(t)?t:[t],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(t,i,o,s,a){let l=this.urlTree;if(l===null||this.isAnchorElement&&(t!==0||i||o||s||a||typeof this.target=="string"&&this.target!="_self"))return!0;let c={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(l,c),!this.isAnchorElement}ngOnDestroy(){var t;(t=this.subscription)==null||t.unsubscribe()}updateHref(){var o;let t=this.urlTree;this.href=t!==null&&this.locationStrategy?(o=this.locationStrategy)==null?void 0:o.prepareExternalUrl(this.router.serializeUrl(t)):null;let i=this.href===null?null:Jy(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",i)}applyAttributeValue(t,i){let o=this.renderer,s=this.el.nativeElement;i!==null?o.setAttribute(s,t,i):o.removeAttribute(s,t)}get urlTree(){return this.commands===null?null:this.router.createUrlTree(this.commands,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}};e.\u0275fac=function(i){return new(i||e)(h(li),h(Ai),Qn("tabindex"),h(er),h(P),h(Ii))},e.\u0275dir=N({type:e,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(i,o){i&1&&z("click",function(a){return o.onClick(a.button,a.ctrlKey,a.shiftKey,a.altKey,a.metaKey)}),i&2&&De("target",o.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",oe],skipLocationChange:[2,"skipLocationChange","skipLocationChange",oe],replaceUrl:[2,"replaceUrl","replaceUrl",oe],routerLink:"routerLink"},standalone:!0,features:[Le,We]});let n=e;return n})();var nu=class{};var PN=(()=>{let e=class e{constructor(t,i,o,s,a){this.router=t,this.injector=o,this.preloadingStrategy=s,this.loader=a}setUpPreloading(){this.subscription=this.router.events.pipe(le(t=>t instanceof ai),pi(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(t,i){var s,a,l;let o=[];for(let c of i){c.providers&&!c._injector&&(c._injector=md(c.providers,t,"Route: ".concat(c.path)));let d=(s=c._injector)!=null?s:t,u=(a=c._loadedInjector)!=null?a:d;(c.loadChildren&&!c._loadedRoutes&&c.canLoad===void 0||c.loadComponent&&!c._loadedComponent)&&o.push(this.preloadConfig(d,c)),(c.children||c._loadedRoutes)&&o.push(this.processRoutes(u,(l=c.children)!=null?l:c._loadedRoutes))}return je(o).pipe(Bi())}preloadConfig(t,i){return this.preloadingStrategy.preload(i,()=>{let o;i.loadChildren&&i.canLoad===void 0?o=this.loader.loadChildren(t,i):o=H(null);let s=o.pipe(Ze(a=>{var l;return a===null?H(void 0):(i._loadedRoutes=a.routes,i._loadedInjector=a.injector,this.processRoutes((l=a.injector)!=null?l:t,a.routes))}));if(i.loadComponent&&!i._loadedComponent){let a=this.loader.loadComponent(i);return je([s,a]).pipe(Bi())}else return s})}};e.\u0275fac=function(i){return new(i||e)(v(li),v(xd),v(mt),v(nu),v(ug))},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})(),qw=new E(""),FN=(()=>{let e=class e{constructor(t,i,o,s,a={}){this.urlSerializer=t,this.transitions=i,this.viewportScroller=o,this.zone=s,this.options=a,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},this.environmentInjector=y(mt),a.scrollPositionRestoration||(a.scrollPositionRestoration="disabled"),a.anchorScrolling||(a.anchorScrolling="disabled")}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(t=>{t instanceof as?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof ai?(this.lastId=t.id,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.urlAfterRedirects).fragment)):t instanceof sr&&t.code===Gd.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(t=>{t instanceof Yd&&(t.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(t.position):t.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(t.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(t,i){this.zone.runOutsideAngular(()=>ke(this,null,function*(){yield new Promise(o=>{setTimeout(()=>{o()}),Ut(()=>{o()},{injector:this.environmentInjector})}),this.zone.run(()=>{this.transitions.events.next(new Yd(t,this.lastSource==="popstate"?this.store[this.restoredId]:null,i))})}))}ngOnDestroy(){var t,i;(t=this.routerEventsSubscription)==null||t.unsubscribe(),(i=this.scrollEventsSubscription)==null||i.unsubscribe()}};e.\u0275fac=function(i){na()},e.\u0275prov=I({token:e,factory:e.\u0275fac});let n=e;return n})();function LN(n){return n.routerState.root}function La(n,e){return{\u0275kind:n,\u0275providers:e}}function jN(){let n=y(Ce);return e=>{var o,s;let r=n.get(Tn);if(e!==r.components[0])return;let t=n.get(li),i=n.get(Yw);n.get(mg)===1&&t.initialNavigation(),(o=n.get(Zw,null,ye.Optional))==null||o.setUpPreloading(),(s=n.get(qw,null,ye.Optional))==null||s.init(),t.resetRootComponentType(r.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}var Yw=new E("",{factory:()=>new A}),mg=new E("",{providedIn:"root",factory:()=>1});function VN(){return La(2,[{provide:mg,useValue:0},{provide:_d,multi:!0,deps:[Ce],useFactory:e=>{let r=e.get(Mx,Promise.resolve());return()=>r.then(()=>new Promise(t=>{let i=e.get(li),o=e.get(Yw);Gw(i,()=>{t(!0)}),e.get(hg).afterPreactivation=()=>(t(!0),o.closed?H(void 0):o),i.initialNavigation()}))}}])}function BN(){return La(3,[{provide:_d,multi:!0,useFactory:()=>{let e=y(li);return()=>{e.setUpLocationChangeListener()}}},{provide:mg,useValue:2}])}var Zw=new E("");function UN(n){return La(0,[{provide:Zw,useExisting:PN},{provide:nu,useExisting:n}])}function zN(){return La(8,[uw,{provide:iu,useExisting:uw}])}function HN(n){let e=[{provide:Hw,useValue:CN},{provide:$w,useValue:D({skipNextTransition:!!(n!=null&&n.skipInitialTransition)},n)}];return La(9,e)}var pw=new E("ROUTER_FORROOT_GUARD"),$N=[ii,{provide:Oa,useClass:ss},li,Ra,{provide:Ai,useFactory:LN,deps:[li]},ug,[]],pg=(()=>{let e=class e{constructor(t){}static forRoot(t,i){return{ngModule:e,providers:[$N,[],{provide:tu,multi:!0,useValue:t},{provide:pw,useFactory:YN,deps:[[li,new Wc,new om]]},{provide:Fa,useValue:i||{}},i!=null&&i.useHash?GN():qN(),WN(),i!=null&&i.preloadingStrategy?UN(i.preloadingStrategy).\u0275providers:[],i!=null&&i.initialNavigation?ZN(i):[],i!=null&&i.bindToComponentInputs?zN().\u0275providers:[],i!=null&&i.enableViewTransitions?HN().\u0275providers:[],QN()]}}static forChild(t){return{ngModule:e,providers:[{provide:tu,multi:!0,useValue:t}]}}};e.\u0275fac=function(i){return new(i||e)(v(pw,8))},e.\u0275mod=V({type:e}),e.\u0275inj=L({});let n=e;return n})();function WN(){return{provide:qw,useFactory:()=>{let n=y(kx),e=y(k),r=y(Fa),t=y(hg),i=y(Oa);return r.scrollOffset&&n.setOffset(r.scrollOffset),new FN(i,t,n,e,r)}}}function GN(){return{provide:Ii,useClass:Tx}}function qN(){return{provide:Ii,useClass:lp}}function YN(n){return"guarded"}function ZN(n){return[n.initialNavigation==="disabled"?BN().\u0275providers:[],n.initialNavigation==="enabledBlocking"?VN().\u0275providers:[]]}var gw=new E("");function QN(){return[{provide:gw,useFactory:jN},{provide:yd,multi:!0,useExisting:gw}]}var ou=class{constructor(e){this.user=e.user,this.role=e.role,this.admin=e.admin}get isStaff(){return this.role==="staff"||this.role==="admin"}get isAdmin(){return this.role==="admin"}get isLogged(){return this.user!=null}get isRestricted(){return this.role==="restricted"}};var Qw;var $t=(n,e)=>{let r;if(n instanceof Promise)r=n;else if(n instanceof Va)r=n;else{if(e)return ql(n.pipe(Vf(e)));r=ql(n)}return r},Va=class{constructor(){this[Qw]="Future",this.resolve=()=>{},this.reject=()=>{},this.promise=new Promise((e,r)=>{this.resolve=e,this.reject=r})}then(e,r){return this.promise.then(e,r)}catch(e){return this.promise.catch(e)}finally(e){return this.promise.finally(e)}};Qw=Symbol.toStringTag;var Kw=(()=>{let e=class e{constructor(t){this.api=t,this.delay=t.config.launcher_wait_time}launchURL(t){return ke(this,null,function*(){t.substring(0,7)==="udsa://"?yield this.processUDSUrl(t):yield this.processExternalUrl(t)})}showAlert(t,i,o){return ke(this,null,function*(){return this.api.gui.alert(django.gettext("Launching service"),'

'+t+'

'+i+"

",o)})}launchUDSUrl(t){this.api.download(t)}processUDSUrl(t){return ke(this,null,function*(){let i=t.split("//")[1].split("/");if(i.length!==2){yield this.notifyError(django.gettext("Invalid UDS URL"));return}let o=i[0],s=i[1],a=yield this.showAlert(django.gettext("Please wait until the service is launched."),django.gettext("Remember that you will need the UDS client on your platform to access the service."),0),l=!1;$t(a.afterClosed()).then(()=>l=!0);let c=-1;try{let d=yield this.api.enabler(o,s);if(d.error)throw d.error;if(d.url.startsWith("/")){a.close(),yield this.launchURL(d.url);return}for(window.location.protocol==="https:"&&(d.url=d.url.replace("uds://","udss://")),this.launchUDSUrl(d.url);!l;){let u=yield this.api.status(o,s);if(c>0&&Date.now()-c>this.delay*5&&(a.componentInstance.data.title=django.gettext("Service ready")+" - "+django.gettext("UDS Client not launching"),a.componentInstance.data.body=''+django.gettext("It seems that you don't have UDS Client installed. Please, install it from here:")+' '+django.gettext("UDS Client Download")+""),u.status==="ready")c===-1&&(c=Date.now(),a.componentInstance.data.title=django.gettext("Service ready"),a.componentInstance.data.body=django.gettext("Launching UDS Client, almost done."));else if(u.status==="accessed"){a.close(),l=!0;continue}else if(u.status!=="running"){a.close(),yield this.notifyError(u.status),l=!0;continue}yield this.api.sleep(1e3)}}catch(d){a.close(),yield this.notifyError(d)}})}processExternalUrl(t){return ke(this,null,function*(){let i=yield this.showAlert(django.gettext("Please wait until the service is launched."),django.gettext("Remember that you will need the UDS client on your platform to access the service."),0),o=!1;$t(i.afterClosed()).then(()=>o=!0);try{for(;!o;){let s=yield this.api.transportUrl(t);if(s.url){i.close();let a=yield this.processCredentials(s);a!==null&&(yield this.api.updateTransportTicket(a.ticket,a.scrambler,a.username,a.password,a.domain)),this.openWindow(s.url),o=!0}else s.running||(i.close(),yield this.notifyError(),o=!0)}yield this.api.sleep(1e3)}catch(s){i.close(),yield this.notifyError(s)}})}processCredentials(t){return ke(this,null,function*(){let i=t.url||"";if(i.indexOf("&creds=")!==-1){let o=i.split("&creds=")[1],s="",a="";t.url=i.split("&creds=")[0];let l=i.split("data=")[1].split("&")[0].split("."),c=l[0],d=l[1];o.indexOf("@")!==-1?(s=o.split("@")[0],a=o.split("@")[1]):s=o;let u=yield this.api.gui.askCredentials(s,a);if(u.success===!1)throw new Error("User canceled credentials dialog");return{ticket:c,scrambler:d,username:u.username,password:u.password,domain:u.domain}}return null})}openWindow(t){let i="__global__";if(t.indexOf("o_s_w=")!==-1){let o=/(.*)[&?]o_s_w=.*/.exec(t);i="__same__",t=o[1]}else if(t.indexOf("o_n_w=")!==-1){let o=/(.*)[&?]o_n_w=([a-zA-Z0-9._-]*)/.exec(t);o&&(i=o[2],t=o[1])}if(i==="__same__")window.location.href=t;else{e.transportsWindow[i]&&e.transportsWindow[i].close();let o=window.open(t,"uds_trans_"+i);o&&(e.transportsWindow[i]=o)}}notifyError(t){return ke(this,null,function*(){let i=django.gettext("Error communicating with your service. Please, retry again.");typeof t=="string"?i=t:t instanceof Error?i=t.message:t.status===403&&(i=django.gettext("Your session has expired. Please, login again")),yield this.showAlert(django.gettext("Error"),i,5e3),t.status===403&&this.api.logout()})}};e.transportsWindow={};let n=e;return n})();var su={production:!0};var KN=new E("cdk-dir-doc",{providedIn:"root",factory:XN});function XN(){return y(W)}var JN=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function eP(n){let e=(n==null?void 0:n.toLowerCase())||"";return e==="auto"&&typeof navigator<"u"&&(navigator!=null&&navigator.language)?JN.test(navigator.language)?"rtl":"ltr":e==="rtl"?"rtl":"ltr"}var St=(()=>{let e=class e{constructor(t){if(this.value="ltr",this.change=new $,t){let i=t.body?t.body.dir:null,o=t.documentElement?t.documentElement.dir:null;this.value=eP(i||o||"ltr")}}ngOnDestroy(){this.change.complete()}};e.\u0275fac=function(i){return new(i||e)(v(KN,8))},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();var lr=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=V({type:e}),e.\u0275inj=L({});let n=e;return n})();var au=class{get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}constructor(e=!1,r,t=!0,i){this._multiple=e,this._emitChanges=t,this.compareWith=i,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new A,r&&r.length&&(e?r.forEach(o=>this._markSelected(o)):this._markSelected(r[0]),this._selectedToEmit.length=0)}select(...e){this._verifyValueAssignment(e),e.forEach(t=>this._markSelected(t));let r=this._hasQueuedChanges();return this._emitChangeEvent(),r}deselect(...e){this._verifyValueAssignment(e),e.forEach(t=>this._unmarkSelected(t));let r=this._hasQueuedChanges();return this._emitChangeEvent(),r}setSelection(...e){this._verifyValueAssignment(e);let r=this.selected,t=new Set(e);e.forEach(o=>this._markSelected(o)),r.filter(o=>!t.has(this._getConcreteValue(o,t))).forEach(o=>this._unmarkSelected(o));let i=this._hasQueuedChanges();return this._emitChangeEvent(),i}toggle(e){return this.isSelected(e)?this.deselect(e):this.select(e)}clear(e=!0){this._unmarkAll();let r=this._hasQueuedChanges();return e&&this._emitChangeEvent(),r}isSelected(e){return this._selection.has(this._getConcreteValue(e))}isEmpty(){return this._selection.size===0}hasValue(){return!this.isEmpty()}sort(e){this._multiple&&this.selected&&this._selected.sort(e)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(e){e=this._getConcreteValue(e),this.isSelected(e)||(this._multiple||this._unmarkAll(),this.isSelected(e)||this._selection.add(e),this._emitChanges&&this._selectedToEmit.push(e))}_unmarkSelected(e){e=this._getConcreteValue(e),this.isSelected(e)&&(this._selection.delete(e),this._emitChanges&&this._deselectedToEmit.push(e))}_unmarkAll(){this.isEmpty()||this._selection.forEach(e=>this._unmarkSelected(e))}_verifyValueAssignment(e){e.length>1&&this._multiple}_hasQueuedChanges(){return!!(this._deselectedToEmit.length||this._selectedToEmit.length)}_getConcreteValue(e,r){if(this.compareWith){r=r!=null?r:this._selection;for(let t of r)if(this.compareWith(e,t))return t;return e}else return e}};var lu=(()=>{let e=class e{constructor(){this._listeners=[]}notify(t,i){for(let o of this._listeners)o(t,i)}listen(t){return this._listeners.push(t),()=>{this._listeners=this._listeners.filter(i=>t!==i)}}ngOnDestroy(){this._listeners=[]}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();var tP=20,hs=(()=>{let e=class e{constructor(t,i,o){this._ngZone=t,this._platform=i,this._scrolled=new A,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=o}register(t){this.scrollContainers.has(t)||this.scrollContainers.set(t,t.elementScrolled().subscribe(()=>this._scrolled.next(t)))}deregister(t){let i=this.scrollContainers.get(t);i&&(i.unsubscribe(),this.scrollContainers.delete(t))}scrolled(t=tP){return this._platform.isBrowser?new se(i=>{this._globalSubscription||this._addGlobalListener();let o=t>0?this._scrolled.pipe(Kl(t)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{o.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):H()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((t,i)=>this.deregister(i)),this._scrolled.complete()}ancestorScrolled(t,i){let o=this.getAncestorScrollContainers(t);return this.scrolled(i).pipe(le(s=>!s||o.indexOf(s)>-1))}getAncestorScrollContainers(t){let i=[];return this.scrollContainers.forEach((o,s)=>{this._scrollableContainsElement(s,t)&&i.push(s)}),i}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(t,i){let o=un(i),s=t.getElementRef().nativeElement;do if(o==s)return!0;while(o=o.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{let t=this._getWindow();return mi(t.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}};e.\u0275fac=function(i){return new(i||e)(v(k),v(xe),v(W,8))},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})(),gg=(()=>{let e=class e{constructor(t,i,o,s){this.elementRef=t,this.scrollDispatcher=i,this.ngZone=o,this.dir=s,this._destroyed=new A,this._elementScrolled=new se(a=>this.ngZone.runOutsideAngular(()=>mi(this.elementRef.nativeElement,"scroll").pipe(Ie(this._destroyed)).subscribe(a)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(t){let i=this.elementRef.nativeElement,o=this.dir&&this.dir.value=="rtl";t.left==null&&(t.left=o?t.end:t.start),t.right==null&&(t.right=o?t.start:t.end),t.bottom!=null&&(t.top=i.scrollHeight-i.clientHeight-t.bottom),o&&Jo()!=An.NORMAL?(t.left!=null&&(t.right=i.scrollWidth-i.clientWidth-t.left),Jo()==An.INVERTED?t.left=t.right:Jo()==An.NEGATED&&(t.left=t.right?-t.right:t.right)):t.right!=null&&(t.left=i.scrollWidth-i.clientWidth-t.right),this._applyScrollToOptions(t)}_applyScrollToOptions(t){let i=this.elementRef.nativeElement;jd()?i.scrollTo(t):(t.top!=null&&(i.scrollTop=t.top),t.left!=null&&(i.scrollLeft=t.left))}measureScrollOffset(t){let i="left",o="right",s=this.elementRef.nativeElement;if(t=="top")return s.scrollTop;if(t=="bottom")return s.scrollHeight-s.clientHeight-s.scrollTop;let a=this.dir&&this.dir.value=="rtl";return t=="start"?t=a?o:i:t=="end"&&(t=a?i:o),a&&Jo()==An.INVERTED?t==i?s.scrollWidth-s.clientWidth-s.scrollLeft:s.scrollLeft:a&&Jo()==An.NEGATED?t==i?s.scrollLeft+s.scrollWidth-s.clientWidth:-s.scrollLeft:t==i?s.scrollLeft:s.scrollWidth-s.clientWidth-s.scrollLeft}};e.\u0275fac=function(i){return new(i||e)(h(P),h(hs),h(k),h(St,8))},e.\u0275dir=N({type:e,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]],standalone:!0});let n=e;return n})(),nP=20,ms=(()=>{let e=class e{constructor(t,i,o){this._platform=t,this._change=new A,this._changeListener=s=>{this._change.next(s)},this._document=o,i.runOutsideAngular(()=>{if(t.isBrowser){let s=this._getWindow();s.addEventListener("resize",this._changeListener),s.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){let t=this._getWindow();t.removeEventListener("resize",this._changeListener),t.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();let t={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),t}getViewportRect(){let t=this.getViewportScrollPosition(),{width:i,height:o}=this.getViewportSize();return{top:t.top,left:t.left,bottom:t.top+o,right:t.left+i,height:o,width:i}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let t=this._document,i=this._getWindow(),o=t.documentElement,s=o.getBoundingClientRect(),a=-s.top||t.body.scrollTop||i.scrollY||o.scrollTop||0,l=-s.left||t.body.scrollLeft||i.scrollX||o.scrollLeft||0;return{top:a,left:l}}change(t=nP){return t>0?this._change.pipe(Kl(t)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let t=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:t.innerWidth,height:t.innerHeight}:{width:0,height:0}}};e.\u0275fac=function(i){return new(i||e)(v(xe),v(k),v(W,8))},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();var cr=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=V({type:e}),e.\u0275inj=L({});let n=e;return n})(),bg=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=V({type:e}),e.\u0275inj=L({imports:[lr,cr,lr,cr]});let n=e;return n})();var Ba=class{attach(e){return this._attachedHost=e,e.attach(this)}detach(){let e=this._attachedHost;e!=null&&(this._attachedHost=null,e.detach())}get isAttached(){return this._attachedHost!=null}setAttachedHost(e){this._attachedHost=e}},dr=class extends Ba{constructor(e,r,t,i,o){super(),this.component=e,this.viewContainerRef=r,this.injector=t,this.componentFactoryResolver=i,this.projectableNodes=o}},Rn=class extends Ba{constructor(e,r,t,i){super(),this.templateRef=e,this.viewContainerRef=r,this.context=t,this.injector=i}get origin(){return this.templateRef.elementRef}attach(e,r=this.context){return this.context=r,super.attach(e)}detach(){return this.context=void 0,super.detach()}},_g=class extends Ba{constructor(e){super(),this.element=e instanceof P?e.nativeElement:e}},ps=class{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(e){if(e instanceof dr)return this._attachedPortal=e,this.attachComponentPortal(e);if(e instanceof Rn)return this._attachedPortal=e,this.attachTemplatePortal(e);if(this.attachDomPortal&&e instanceof _g)return this._attachedPortal=e,this.attachDomPortal(e)}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(e){this._disposeFn=e}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}};var Ua=class extends ps{constructor(e,r,t,i,o){super(),this.outletElement=e,this._componentFactoryResolver=r,this._appRef=t,this._defaultInjector=i,this.attachDomPortal=s=>{this._document;let a=s.element;a.parentNode;let l=this._document.createComment("dom-portal");a.parentNode.insertBefore(l,a),this.outletElement.appendChild(a),this._attachedPortal=s,super.setDisposeFn(()=>{l.parentNode&&l.parentNode.replaceChild(a,l)})},this._document=o}attachComponentPortal(e){let t=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),i;return e.viewContainerRef?(i=e.viewContainerRef.createComponent(t,e.viewContainerRef.length,e.injector||e.viewContainerRef.injector,e.projectableNodes||void 0),this.setDisposeFn(()=>i.destroy())):(i=t.create(e.injector||this._defaultInjector||Ce.NULL),this._appRef.attachView(i.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(i.hostView),i.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(i)),this._attachedPortal=e,i}attachTemplatePortal(e){let r=e.viewContainerRef,t=r.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return t.rootNodes.forEach(i=>this.outletElement.appendChild(i)),t.detectChanges(),this.setDisposeFn(()=>{let i=r.indexOf(t);i!==-1&&r.remove(i)}),this._attachedPortal=e,t}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(e){return e.hostView.rootNodes[0]}};var Jr=(()=>{let e=class e extends ps{constructor(t,i,o){super(),this._componentFactoryResolver=t,this._viewContainerRef=i,this._isInitialized=!1,this.attached=new $,this.attachDomPortal=s=>{this._document;let a=s.element;a.parentNode;let l=this._document.createComment("dom-portal");s.setAttachedHost(this),a.parentNode.insertBefore(l,a),this._getRootNode().appendChild(a),this._attachedPortal=s,super.setDisposeFn(()=>{l.parentNode&&l.parentNode.replaceChild(a,l)})},this._document=o}get portal(){return this._attachedPortal}set portal(t){this.hasAttached()&&!t&&!this._isInitialized||(this.hasAttached()&&super.detach(),t&&super.attach(t),this._attachedPortal=t||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(t){t.setAttachedHost(this);let i=t.viewContainerRef!=null?t.viewContainerRef:this._viewContainerRef,s=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component),a=i.createComponent(s,i.length,t.injector||i.injector,t.projectableNodes||void 0);return i!==this._viewContainerRef&&this._getRootNode().appendChild(a.hostView.rootNodes[0]),super.setDisposeFn(()=>a.destroy()),this._attachedPortal=t,this._attachedRef=a,this.attached.emit(a),a}attachTemplatePortal(t){t.setAttachedHost(this);let i=this._viewContainerRef.createEmbeddedView(t.templateRef,t.context,{injector:t.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=t,this._attachedRef=i,this.attached.emit(i),i}_getRootNode(){let t=this._viewContainerRef.element.nativeElement;return t.nodeType===t.ELEMENT_NODE?t:t.parentNode}};e.\u0275fac=function(i){return new(i||e)(h(Mn),h(lt),h(W))},e.\u0275dir=N({type:e,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],standalone:!0,features:[Ue]});let n=e;return n})();var ki=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=V({type:e}),e.\u0275inj=L({});let n=e;return n})();function ht(n,...e){return e.length?e.some(r=>n[r]):n.altKey||n.shiftKey||n.ctrlKey||n.metaKey}var Jw=jd(),yg=class{constructor(e,r){this._viewportRuler=e,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=r}attach(){}enable(){if(this._canBeEnabled()){let e=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=e.style.left||"",this._previousHTMLStyles.top=e.style.top||"",e.style.left=rt(-this._previousScrollPosition.left),e.style.top=rt(-this._previousScrollPosition.top),e.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){let e=this._document.documentElement,r=this._document.body,t=e.style,i=r.style,o=t.scrollBehavior||"",s=i.scrollBehavior||"";this._isEnabled=!1,t.left=this._previousHTMLStyles.left,t.top=this._previousHTMLStyles.top,e.classList.remove("cdk-global-scrollblock"),Jw&&(t.scrollBehavior=i.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),Jw&&(t.scrollBehavior=o,i.scrollBehavior=s)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;let r=this._document.body,t=this._viewportRuler.getViewportSize();return r.scrollHeight>t.height||r.scrollWidth>t.width}};var xg=class{constructor(e,r,t,i){this._scrollDispatcher=e,this._ngZone=r,this._viewportRuler=t,this._config=i,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(e){this._overlayRef,this._overlayRef=e}enable(){if(this._scrollSubscription)return;let e=this._scrollDispatcher.scrolled(0).pipe(le(r=>!r||!this._overlayRef.overlayElement.contains(r.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=e.subscribe(()=>{let r=this._viewportRuler.getViewportScrollPosition().top;Math.abs(r-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=e.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}},cu=class{enable(){}disable(){}attach(){}};function wg(n,e){return e.some(r=>{let t=n.bottomr.bottom,o=n.rightr.right;return t||i||o||s})}function eC(n,e){return e.some(r=>{let t=n.topr.bottom,o=n.leftr.right;return t||i||o||s})}var Cg=class{constructor(e,r,t,i){this._scrollDispatcher=e,this._viewportRuler=r,this._ngZone=t,this._config=i,this._scrollSubscription=null}attach(e){this._overlayRef,this._overlayRef=e}enable(){if(!this._scrollSubscription){let e=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(e).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){let r=this._overlayRef.overlayElement.getBoundingClientRect(),{width:t,height:i}=this._viewportRuler.getViewportSize();wg(r,[{width:t,height:i,bottom:i,right:t,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}},iP=(()=>{let e=class e{constructor(t,i,o,s){this._scrollDispatcher=t,this._viewportRuler=i,this._ngZone=o,this.noop=()=>new cu,this.close=a=>new xg(this._scrollDispatcher,this._ngZone,this._viewportRuler,a),this.block=()=>new yg(this._viewportRuler,this._document),this.reposition=a=>new Cg(this._scrollDispatcher,this._viewportRuler,this._ngZone,a),this._document=s}};e.\u0275fac=function(i){return new(i||e)(v(hs),v(ms),v(k),v(W))},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})(),ur=class{constructor(e){if(this.scrollStrategy=new cu,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,e){let r=Object.keys(e);for(let t of r)e[t]!==void 0&&(this[t]=e[t])}}};var Dg=class{constructor(e,r){this.connectionPair=e,this.scrollableViewProperties=r}};var oC=(()=>{let e=class e{constructor(t){this._attachedOverlays=[],this._document=t}ngOnDestroy(){this.detach()}add(t){this.remove(t),this._attachedOverlays.push(t)}remove(t){let i=this._attachedOverlays.indexOf(t);i>-1&&this._attachedOverlays.splice(i,1),this._attachedOverlays.length===0&&this.detach()}};e.\u0275fac=function(i){return new(i||e)(v(W))},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})(),rP=(()=>{let e=class e extends oC{constructor(t,i){super(t),this._ngZone=i,this._keydownListener=o=>{let s=this._attachedOverlays;for(let a=s.length-1;a>-1;a--)if(s[a]._keydownEvents.observers.length>0){let l=s[a]._keydownEvents;this._ngZone?this._ngZone.run(()=>l.next(o)):l.next(o);break}}}add(t){super.add(t),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}};e.\u0275fac=function(i){return new(i||e)(v(W),v(k,8))},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})(),oP=(()=>{let e=class e extends oC{constructor(t,i,o){super(t),this._platform=i,this._ngZone=o,this._cursorStyleIsSet=!1,this._pointerDownListener=s=>{this._pointerDownEventTarget=Gt(s)},this._clickListener=s=>{let a=Gt(s),l=s.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:a;this._pointerDownEventTarget=null;let c=this._attachedOverlays.slice();for(let d=c.length-1;d>-1;d--){let u=c[d];if(u._outsidePointerEvents.observers.length<1||!u.hasAttached())continue;if(u.overlayElement.contains(a)||u.overlayElement.contains(l))break;let f=u._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>f.next(s)):f.next(s)}}}add(t){if(super.add(t),!this._isAttached){let 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){let t=this._document.body;t.removeEventListener("pointerdown",this._pointerDownListener,!0),t.removeEventListener("click",this._clickListener,!0),t.removeEventListener("auxclick",this._clickListener,!0),t.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(t.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(t){t.addEventListener("pointerdown",this._pointerDownListener,!0),t.addEventListener("click",this._clickListener,!0),t.addEventListener("auxclick",this._clickListener,!0),t.addEventListener("contextmenu",this._clickListener,!0)}};e.\u0275fac=function(i){return new(i||e)(v(W),v(xe),v(k,8))},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})(),gs=(()=>{let e=class e{constructor(t,i){this._platform=i,this._document=t}ngOnDestroy(){var t;(t=this._containerElement)==null||t.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let t="cdk-overlay-container";if(this._platform.isBrowser||ga()){let o=this._document.querySelectorAll(".".concat(t,'[platform="server"], ')+".".concat(t,'[platform="test"]'));for(let s=0;sthis._backdropClick.next(f),this._backdropTransitionendHandler=f=>{this._disposeBackdrop(f.target)},this._keydownEvents=new A,this._outsidePointerEvents=new A,this._renders=new A,i.scrollStrategy&&(this._scrollStrategy=i.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=i.positionStrategy,this._afterRenderRef=Xm(()=>ia(()=>{this._renders.next()},{injector:this._injector}))}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(e){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);let r=this._portalOutlet.attach(e);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),Ut(()=>{this.hasAttached()&&this.updatePosition()},{injector:this._injector}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),typeof(r==null?void 0:r.onDestroy)=="function"&&r.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),r}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();let e=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenEmpty(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),e}dispose(){var r;let e=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),(r=this._host)==null||r.remove(),this._previousHostParent=this._pane=this._host=null,e&&this._detachments.next(),this._detachments.complete(),this._afterRenderRef.destroy(),this._renders.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(e){e!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=e,this.hasAttached()&&(e.attach(this),this.updatePosition()))}updateSize(e){this._config=D(D({},this._config),e),this._updateElementSize()}setDirection(e){this._config=_e(D({},this._config),{direction:e}),this._updateElementDirection()}addPanelClass(e){this._pane&&this._toggleClasses(this._pane,e,!0)}removePanelClass(e){this._pane&&this._toggleClasses(this._pane,e,!1)}getDirection(){let e=this._config.direction;return e?typeof e=="string"?e:e.value:"ltr"}updateScrollStrategy(e){e!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=e,this.hasAttached()&&(e.attach(this),e.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;let e=this._pane.style;e.width=rt(this._config.width),e.height=rt(this._config.height),e.minWidth=rt(this._config.minWidth),e.minHeight=rt(this._config.minHeight),e.maxWidth=rt(this._config.maxWidth),e.maxHeight=rt(this._config.maxHeight)}_togglePointerEvents(e){this._pane.style.pointerEvents=e?"":"none"}_attachBackdrop(){let e="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(e)})}):this._backdropElement.classList.add(e)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){let e=this._backdropElement;if(e){if(this._animationsDisabled){this._disposeBackdrop(e);return}e.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{e.addEventListener("transitionend",this._backdropTransitionendHandler)}),e.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(e)},500))}}_toggleClasses(e,r,t){let i=Ko(r||[]).filter(o=>!!o);i.length&&(t?e.classList.add(...i):e.classList.remove(...i))}_detachContentWhenEmpty(){this._ngZone.runOutsideAngular(()=>{let e=this._renders.pipe(Ie(vt(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||this._pane.children.length===0)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),e.unsubscribe())})})}_disposeScrollStrategy(){let e=this._scrollStrategy;e&&(e.disable(),e.detach&&e.detach())}_disposeBackdrop(e){e&&(e.removeEventListener("click",this._backdropClickHandler),e.removeEventListener("transitionend",this._backdropTransitionendHandler),e.remove(),this._backdropElement===e&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}},tC="cdk-overlay-connected-position-bounding-box",sP=/([A-Za-z%]+)$/,Eg=class{get positions(){return this._preferredPositions}constructor(e,r,t,i,o){this._viewportRuler=r,this._document=t,this._platform=i,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 A,this._resizeSubscription=fe.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(e)}attach(e){this._overlayRef&&this._overlayRef,this._validatePositions(),e.hostElement.classList.add(tC),this._overlayRef=e,this._boundingBox=e.hostElement,this._pane=e.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition){this.reapplyLastPosition();return}this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let e=this._originRect,r=this._overlayRect,t=this._viewportRect,i=this._containerRect,o=[],s;for(let a of this._preferredPositions){let l=this._getOriginPoint(e,i,a),c=this._getOverlayPoint(l,r,a),d=this._getOverlayFit(c,r,t,a);if(d.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(a,l);return}if(this._canFitWithFlexibleDimensions(d,c,t)){o.push({position:a,origin:l,overlayRect:r,boundingBoxRect:this._calculateBoundingBoxRect(l,a)});continue}(!s||s.overlayFit.visibleAreal&&(l=d,a=c)}this._isPushed=!1,this._applyPosition(a.position,a.origin);return}if(this._canPush){this._isPushed=!0,this._applyPosition(s.position,s.originPoint);return}this._applyPosition(s.position,s.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&eo(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(tC),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;let e=this._lastPosition;if(e){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let r=this._getOriginPoint(this._originRect,this._containerRect,e);this._applyPosition(e,r)}else this.apply()}withScrollableContainers(e){return this._scrollables=e,this}withPositions(e){return this._preferredPositions=e,e.indexOf(this._lastPosition)===-1&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(e){return this._viewportMargin=e,this}withFlexibleDimensions(e=!0){return this._hasFlexibleDimensions=e,this}withGrowAfterOpen(e=!0){return this._growAfterOpen=e,this}withPush(e=!0){return this._canPush=e,this}withLockedPosition(e=!0){return this._positionLocked=e,this}setOrigin(e){return this._origin=e,this}withDefaultOffsetX(e){return this._offsetX=e,this}withDefaultOffsetY(e){return this._offsetY=e,this}withTransformOriginOn(e){return this._transformOriginSelector=e,this}_getOriginPoint(e,r,t){let i;if(t.originX=="center")i=e.left+e.width/2;else{let s=this._isRtl()?e.right:e.left,a=this._isRtl()?e.left:e.right;i=t.originX=="start"?s:a}r.left<0&&(i-=r.left);let o;return t.originY=="center"?o=e.top+e.height/2:o=t.originY=="top"?e.top:e.bottom,r.top<0&&(o-=r.top),{x:i,y:o}}_getOverlayPoint(e,r,t){let i;t.overlayX=="center"?i=-r.width/2:t.overlayX==="start"?i=this._isRtl()?-r.width:0:i=this._isRtl()?0:-r.width;let o;return t.overlayY=="center"?o=-r.height/2:o=t.overlayY=="top"?0:-r.height,{x:e.x+i,y:e.y+o}}_getOverlayFit(e,r,t,i){let o=iC(r),{x:s,y:a}=e,l=this._getOffset(i,"x"),c=this._getOffset(i,"y");l&&(s+=l),c&&(a+=c);let d=0-s,u=s+o.width-t.width,f=0-a,m=a+o.height-t.height,g=this._subtractOverflows(o.width,d,u),_=this._subtractOverflows(o.height,f,m),C=g*_;return{visibleArea:C,isCompletelyWithinViewport:o.width*o.height===C,fitsInViewportVertically:_===o.height,fitsInViewportHorizontally:g==o.width}}_canFitWithFlexibleDimensions(e,r,t){if(this._hasFlexibleDimensions){let i=t.bottom-r.y,o=t.right-r.x,s=nC(this._overlayRef.getConfig().minHeight),a=nC(this._overlayRef.getConfig().minWidth),l=e.fitsInViewportVertically||s!=null&&s<=i,c=e.fitsInViewportHorizontally||a!=null&&a<=o;return l&&c}return!1}_pushOverlayOnScreen(e,r,t){if(this._previousPushAmount&&this._positionLocked)return{x:e.x+this._previousPushAmount.x,y:e.y+this._previousPushAmount.y};let i=iC(r),o=this._viewportRect,s=Math.max(e.x+i.width-o.width,0),a=Math.max(e.y+i.height-o.height,0),l=Math.max(o.top-t.top-e.y,0),c=Math.max(o.left-t.left-e.x,0),d=0,u=0;return i.width<=o.width?d=c||-s:d=e.xg&&!this._isInitialRender&&!this._growAfterOpen&&(s=e.y-g/2)}let l=r.overlayX==="start"&&!i||r.overlayX==="end"&&i,c=r.overlayX==="end"&&!i||r.overlayX==="start"&&i,d,u,f;if(c)f=t.width-e.x+this._viewportMargin*2,d=e.x-this._viewportMargin;else if(l)u=e.x,d=t.right-e.x;else{let m=Math.min(t.right-e.x+t.left,e.x),g=this._lastBoundingBoxSize.width;d=m*2,u=e.x-m,d>g&&!this._isInitialRender&&!this._growAfterOpen&&(u=e.x-g/2)}return{top:s,left:u,bottom:a,right:f,width:d,height:o}}_setBoundingBoxStyles(e,r){let t=this._calculateBoundingBoxRect(e,r);!this._isInitialRender&&!this._growAfterOpen&&(t.height=Math.min(t.height,this._lastBoundingBoxSize.height),t.width=Math.min(t.width,this._lastBoundingBoxSize.width));let i={};if(this._hasExactPosition())i.top=i.left="0",i.bottom=i.right=i.maxHeight=i.maxWidth="",i.width=i.height="100%";else{let o=this._overlayRef.getConfig().maxHeight,s=this._overlayRef.getConfig().maxWidth;i.height=rt(t.height),i.top=rt(t.top),i.bottom=rt(t.bottom),i.width=rt(t.width),i.left=rt(t.left),i.right=rt(t.right),r.overlayX==="center"?i.alignItems="center":i.alignItems=r.overlayX==="end"?"flex-end":"flex-start",r.overlayY==="center"?i.justifyContent="center":i.justifyContent=r.overlayY==="bottom"?"flex-end":"flex-start",o&&(i.maxHeight=rt(o)),s&&(i.maxWidth=rt(s))}this._lastBoundingBoxSize=t,eo(this._boundingBox.style,i)}_resetBoundingBoxStyles(){eo(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){eo(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(e,r){let t={},i=this._hasExactPosition(),o=this._hasFlexibleDimensions,s=this._overlayRef.getConfig();if(i){let d=this._viewportRuler.getViewportScrollPosition();eo(t,this._getExactOverlayY(r,e,d)),eo(t,this._getExactOverlayX(r,e,d))}else t.position="static";let a="",l=this._getOffset(r,"x"),c=this._getOffset(r,"y");l&&(a+="translateX(".concat(l,"px) ")),c&&(a+="translateY(".concat(c,"px)")),t.transform=a.trim(),s.maxHeight&&(i?t.maxHeight=rt(s.maxHeight):o&&(t.maxHeight="")),s.maxWidth&&(i?t.maxWidth=rt(s.maxWidth):o&&(t.maxWidth="")),eo(this._pane.style,t)}_getExactOverlayY(e,r,t){let i={top:"",bottom:""},o=this._getOverlayPoint(r,this._overlayRect,e);if(this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,t)),e.overlayY==="bottom"){let s=this._document.documentElement.clientHeight;i.bottom="".concat(s-(o.y+this._overlayRect.height),"px")}else i.top=rt(o.y);return i}_getExactOverlayX(e,r,t){let i={left:"",right:""},o=this._getOverlayPoint(r,this._overlayRect,e);this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,t));let s;if(this._isRtl()?s=e.overlayX==="end"?"left":"right":s=e.overlayX==="end"?"right":"left",s==="right"){let a=this._document.documentElement.clientWidth;i.right="".concat(a-(o.x+this._overlayRect.width),"px")}else i.left=rt(o.x);return i}_getScrollVisibility(){let e=this._getOriginRect(),r=this._pane.getBoundingClientRect(),t=this._scrollables.map(i=>i.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:eC(e,t),isOriginOutsideView:wg(e,t),isOverlayClipped:eC(r,t),isOverlayOutsideView:wg(r,t)}}_subtractOverflows(e,...r){return r.reduce((t,i)=>t-Math.max(i,0),e)}_getNarrowedViewportRect(){let e=this._document.documentElement.clientWidth,r=this._document.documentElement.clientHeight,t=this._viewportRuler.getViewportScrollPosition();return{top:t.top+this._viewportMargin,left:t.left+this._viewportMargin,right:t.left+e-this._viewportMargin,bottom:t.top+r-this._viewportMargin,width:e-2*this._viewportMargin,height:r-2*this._viewportMargin}}_isRtl(){return this._overlayRef.getDirection()==="rtl"}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(e,r){return r==="x"?e.offsetX==null?this._offsetX:e.offsetX:e.offsetY==null?this._offsetY:e.offsetY}_validatePositions(){}_addPanelClasses(e){this._pane&&Ko(e).forEach(r=>{r!==""&&this._appliedPanelClasses.indexOf(r)===-1&&(this._appliedPanelClasses.push(r),this._pane.classList.add(r))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(e=>{this._pane.classList.remove(e)}),this._appliedPanelClasses=[])}_getOriginRect(){let e=this._origin;if(e instanceof P)return e.nativeElement.getBoundingClientRect();if(e instanceof Element)return e.getBoundingClientRect();let r=e.width||0,t=e.height||0;return{top:e.y,bottom:e.y+t,left:e.x,right:e.x+r,height:t,width:r}}};function eo(n,e){for(let r in e)e.hasOwnProperty(r)&&(n[r]=e[r]);return n}function nC(n){if(typeof n!="number"&&n!=null){let[e,r]=n.split(sP);return!r||r==="px"?parseFloat(e):null}return n||null}function iC(n){return{top:Math.floor(n.top),right:Math.floor(n.right),bottom:Math.floor(n.bottom),left:Math.floor(n.left),width:Math.floor(n.width),height:Math.floor(n.height)}}function aP(n,e){return n===e?!0:n.isOriginClipped===e.isOriginClipped&&n.isOriginOutsideView===e.isOriginOutsideView&&n.isOverlayClipped===e.isOverlayClipped&&n.isOverlayOutsideView===e.isOverlayOutsideView}var rC="cdk-global-overlay-wrapper",Ig=class{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(e){let r=e.getConfig();this._overlayRef=e,this._width&&!r.width&&e.updateSize({width:this._width}),this._height&&!r.height&&e.updateSize({height:this._height}),e.hostElement.classList.add(rC),this._isDisposed=!1}top(e=""){return this._bottomOffset="",this._topOffset=e,this._alignItems="flex-start",this}left(e=""){return this._xOffset=e,this._xPosition="left",this}bottom(e=""){return this._topOffset="",this._bottomOffset=e,this._alignItems="flex-end",this}right(e=""){return this._xOffset=e,this._xPosition="right",this}start(e=""){return this._xOffset=e,this._xPosition="start",this}end(e=""){return this._xOffset=e,this._xPosition="end",this}width(e=""){return this._overlayRef?this._overlayRef.updateSize({width:e}):this._width=e,this}height(e=""){return this._overlayRef?this._overlayRef.updateSize({height:e}):this._height=e,this}centerHorizontally(e=""){return this.left(e),this._xPosition="center",this}centerVertically(e=""){return this.top(e),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;let e=this._overlayRef.overlayElement.style,r=this._overlayRef.hostElement.style,t=this._overlayRef.getConfig(),{width:i,height:o,maxWidth:s,maxHeight:a}=t,l=(i==="100%"||i==="100vw")&&(!s||s==="100%"||s==="100vw"),c=(o==="100%"||o==="100vh")&&(!a||a==="100%"||a==="100vh"),d=this._xPosition,u=this._xOffset,f=this._overlayRef.getConfig().direction==="rtl",m="",g="",_="";l?_="flex-start":d==="center"?(_="center",f?g=u:m=u):f?d==="left"||d==="end"?(_="flex-end",m=u):(d==="right"||d==="start")&&(_="flex-start",g=u):d==="left"||d==="start"?(_="flex-start",m=u):(d==="right"||d==="end")&&(_="flex-end",g=u),e.position=this._cssPosition,e.marginLeft=l?"0":m,e.marginTop=c?"0":this._topOffset,e.marginBottom=this._bottomOffset,e.marginRight=l?"0":g,r.justifyContent=_,r.alignItems=c?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;let e=this._overlayRef.overlayElement.style,r=this._overlayRef.hostElement,t=r.style;r.classList.remove(rC),t.justifyContent=t.alignItems=e.marginTop=e.marginBottom=e.marginLeft=e.marginRight=e.position="",this._overlayRef=null,this._isDisposed=!0}},lP=(()=>{let e=class e{constructor(t,i,o,s){this._viewportRuler=t,this._document=i,this._platform=o,this._overlayContainer=s}global(){return new Ig}flexibleConnectedTo(t){return new Eg(t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}};e.\u0275fac=function(i){return new(i||e)(v(ms),v(W),v(xe),v(gs))},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})(),cP=0,Ye=(()=>{let e=class e{constructor(t,i,o,s,a,l,c,d,u,f,m,g){this.scrollStrategies=t,this._overlayContainer=i,this._componentFactoryResolver=o,this._positionBuilder=s,this._keyboardDispatcher=a,this._injector=l,this._ngZone=c,this._document=d,this._directionality=u,this._location=f,this._outsideClickDispatcher=m,this._animationsModuleType=g}create(t){let i=this._createHostElement(),o=this._createPaneElement(i),s=this._createPortalOutlet(o),a=new ur(t);return a.direction=a.direction||this._directionality.value,new Oi(s,i,o,a,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,this._animationsModuleType==="NoopAnimations",this._injector.get(mt))}position(){return this._positionBuilder}_createPaneElement(t){let i=this._document.createElement("div");return i.id="cdk-overlay-".concat(cP++),i.classList.add("cdk-overlay-pane"),t.appendChild(i),i}_createHostElement(){let t=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(t),t}_createPortalOutlet(t){return this._appRef||(this._appRef=this._injector.get(Tn)),new Ua(t,this._componentFactoryResolver,this._appRef,this._injector,this._document)}};e.\u0275fac=function(i){return new(i||e)(v(iP),v(gs),v(Mn),v(lP),v(rP),v(Ce),v(k),v(W),v(St),v(ii),v(oP),v(Ge,8))},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})(),dP=[{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"}],sC=new E("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let n=y(Ye);return()=>n.scrollStrategies.reposition()}}),za=(()=>{let e=class e{constructor(t){this.elementRef=t}};e.\u0275fac=function(i){return new(i||e)(h(P))},e.\u0275dir=N({type:e,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0});let n=e;return n})(),Mg=(()=>{let e=class e{get offsetX(){return this._offsetX}set offsetX(t){this._offsetX=t,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(t){this._offsetY=t,this._position&&this._updatePositionStrategy(this._position)}get disposeOnNavigation(){return this._disposeOnNavigation}set disposeOnNavigation(t){this._disposeOnNavigation=t}constructor(t,i,o,s,a){this._overlay=t,this._dir=a,this._backdropSubscription=fe.EMPTY,this._attachSubscription=fe.EMPTY,this._detachSubscription=fe.EMPTY,this._positionSubscription=fe.EMPTY,this._disposeOnNavigation=!1,this._ngZone=y(k),this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.hasBackdrop=!1,this.lockPosition=!1,this.flexibleDimensions=!1,this.growAfterOpen=!1,this.push=!1,this.backdropClick=new $,this.positionChange=new $,this.attach=new $,this.detach=new $,this.overlayKeydown=new $,this.overlayOutsideClick=new $,this._templatePortal=new Rn(i,o),this._scrollStrategyFactory=s,this.scrollStrategy=this._scrollStrategyFactory()}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(t){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),t.origin&&this.open&&this._position.apply()),t.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=dP);let t=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=t.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=t.detachments().subscribe(()=>this.detach.emit()),t.keydownEvents().subscribe(i=>{this.overlayKeydown.next(i),i.keyCode===27&&!this.disableClose&&!ht(i)&&(i.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(i=>{let o=this._getOriginElement(),s=Gt(i);(!o||o!==s&&!o.contains(s))&&this.overlayOutsideClick.next(i)})}_buildConfig(){let t=this._position=this.positionStrategy||this._createPositionStrategy(),i=new ur({direction:this._dir,positionStrategy:t,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation});return(this.width||this.width===0)&&(i.width=this.width),(this.height||this.height===0)&&(i.height=this.height),(this.minWidth||this.minWidth===0)&&(i.minWidth=this.minWidth),(this.minHeight||this.minHeight===0)&&(i.minHeight=this.minHeight),this.backdropClass&&(i.backdropClass=this.backdropClass),this.panelClass&&(i.panelClass=this.panelClass),i}_updatePositionStrategy(t){let i=this.positions.map(o=>({originX:o.originX,originY:o.originY,overlayX:o.overlayX,overlayY:o.overlayY,offsetX:o.offsetX||this.offsetX,offsetY:o.offsetY||this.offsetY,panelClass:o.panelClass||void 0}));return t.setOrigin(this._getOrigin()).withPositions(i).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){let t=this._overlay.position().flexibleConnectedTo(this._getOrigin());return this._updatePositionStrategy(t),t}_getOrigin(){return this.origin instanceof za?this.origin.elementRef:this.origin}_getOriginElement(){return this.origin instanceof za?this.origin.elementRef.nativeElement:this.origin instanceof P?this.origin.nativeElement:typeof Element<"u"&&this.origin instanceof Element?this.origin:null}_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(t=>{this.backdropClick.emit(t)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(Gf(()=>this.positionChange.observers.length>0)).subscribe(t=>{this._ngZone.run(()=>this.positionChange.emit(t)),this.positionChange.observers.length===0&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}};e.\u0275fac=function(i){return new(i||e)(h(Ye),h(pt),h(lt),h(sC),h(St,8))},e.\u0275dir=N({type:e,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:[0,"cdkConnectedOverlayOrigin","origin"],positions:[0,"cdkConnectedOverlayPositions","positions"],positionStrategy:[0,"cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:[0,"cdkConnectedOverlayOffsetX","offsetX"],offsetY:[0,"cdkConnectedOverlayOffsetY","offsetY"],width:[0,"cdkConnectedOverlayWidth","width"],height:[0,"cdkConnectedOverlayHeight","height"],minWidth:[0,"cdkConnectedOverlayMinWidth","minWidth"],minHeight:[0,"cdkConnectedOverlayMinHeight","minHeight"],backdropClass:[0,"cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:[0,"cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:[0,"cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:[0,"cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:[0,"cdkConnectedOverlayOpen","open"],disableClose:[0,"cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:[0,"cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:[2,"cdkConnectedOverlayHasBackdrop","hasBackdrop",oe],lockPosition:[2,"cdkConnectedOverlayLockPosition","lockPosition",oe],flexibleDimensions:[2,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",oe],growAfterOpen:[2,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",oe],push:[2,"cdkConnectedOverlayPush","push",oe],disposeOnNavigation:[2,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",oe]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[Le,We]});let n=e;return n})();function uP(n){return()=>n.scrollStrategies.reposition()}var fP={provide:sC,deps:[Ye],useFactory:uP},ci=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=V({type:e}),e.\u0275inj=L({providers:[Ye,fP],imports:[lr,ki,bg,bg]});let n=e;return n})();var hP=(()=>{let e=class e{create(t){return typeof MutationObserver>"u"?null:new MutationObserver(t)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();var uu=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=V({type:e}),e.\u0275inj=L({providers:[hP]});let n=e;return n})();var uC=" ";function Rg(n,e,r){let t=pu(n,e);r=r.trim(),!t.some(i=>i.trim()===r)&&(t.push(r),n.setAttribute(e,t.join(uC)))}function vu(n,e,r){let t=pu(n,e);r=r.trim();let i=t.filter(o=>o!==r);i.length?n.setAttribute(e,i.join(uC)):n.removeAttribute(e)}function pu(n,e){var t;let r=n.getAttribute(e);return(t=r==null?void 0:r.match(/\S+/g))!=null?t:[]}var fC="cdk-describedby-message",fu="cdk-describedby-host",Ag=0,hC=(()=>{let e=class e{constructor(t,i){this._platform=i,this._messageRegistry=new Map,this._messagesContainer=null,this._id="".concat(Ag++),this._document=t,this._id=y(Go)+"-"+Ag++}describe(t,i,o){if(!this._canBeDescribed(t,i))return;let s=Sg(i,o);typeof i!="string"?(aC(i,this._id),this._messageRegistry.set(s,{messageElement:i,referenceCount:0})):this._messageRegistry.has(s)||this._createMessageElement(i,o),this._isElementDescribedByMessage(t,s)||this._addMessageReference(t,s)}removeDescription(t,i,o){var a;if(!i||!this._isElementNode(t))return;let s=Sg(i,o);if(this._isElementDescribedByMessage(t,s)&&this._removeMessageReference(t,s),typeof i=="string"){let l=this._messageRegistry.get(s);l&&l.referenceCount===0&&this._deleteMessageElement(s)}((a=this._messagesContainer)==null?void 0:a.childNodes.length)===0&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){var i;let t=this._document.querySelectorAll("[".concat(fu,'="').concat(this._id,'"]'));for(let o=0;oo.indexOf(fC)!=0);t.setAttribute("aria-describedby",i.join(" "))}_addMessageReference(t,i){let o=this._messageRegistry.get(i);Rg(t,"aria-describedby",o.messageElement.id),t.setAttribute(fu,this._id),o.referenceCount++}_removeMessageReference(t,i){let o=this._messageRegistry.get(i);o.referenceCount--,vu(t,"aria-describedby",o.messageElement.id),t.removeAttribute(fu)}_isElementDescribedByMessage(t,i){let o=pu(t,"aria-describedby"),s=this._messageRegistry.get(i),a=s&&s.messageElement.id;return!!a&&o.indexOf(a)!=-1}_canBeDescribed(t,i){if(!this._isElementNode(t))return!1;if(i&&typeof i=="object")return!0;let o=i==null?"":"".concat(i).trim(),s=t.getAttribute("aria-label");return o?!s||s.trim()!==o:!1}_isElementNode(t){return t.nodeType===this._document.ELEMENT_NODE}};e.\u0275fac=function(i){return new(i||e)(v(W),v(xe))},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();function Sg(n,e){return typeof n=="string"?"".concat(e||"","/").concat(n):n}function aC(n,e){n.id||(n.id="".concat(fC,"-").concat(e,"-").concat(Ag++))}var gu=class{constructor(e,r){this._items=e,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new A,this._typeaheadSubscription=fe.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=t=>t.disabled,this._pressedLetters=[],this.tabOut=new A,this.change=new A,e instanceof Yn?this._itemChangesSubscription=e.changes.subscribe(t=>this._itemsChanged(t.toArray())):hd(e)&&(this._effectRef=Jm(()=>this._itemsChanged(e()),{injector:r}))}skipPredicate(e){return this._skipPredicateFn=e,this}withWrap(e=!0){return this._wrap=e,this}withVerticalOrientation(e=!0){return this._vertical=e,this}withHorizontalOrientation(e){return this._horizontal=e,this}withAllowedModifierKeys(e){return this._allowedModifierKeys=e,this}withTypeAhead(e=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(et(r=>this._pressedLetters.push(r)),Or(e),le(()=>this._pressedLetters.length>0),K(()=>this._pressedLetters.join(""))).subscribe(r=>{let t=this._getItemsArray();for(let i=1;i!e[o]||this._allowedModifierKeys.indexOf(o)>-1);switch(r){case 9:this.tabOut.next();return;case 40:if(this._vertical&&i){this.setNextItemActive();break}else return;case 38:if(this._vertical&&i){this.setPreviousItemActive();break}else return;case 39:if(this._horizontal&&i){this._horizontal==="rtl"?this.setPreviousItemActive():this.setNextItemActive();break}else return;case 37:if(this._horizontal&&i){this._horizontal==="rtl"?this.setNextItemActive():this.setPreviousItemActive();break}else return;case 36:if(this._homeAndEnd&&i){this.setFirstItemActive();break}else return;case 35:if(this._homeAndEnd&&i){this.setLastItemActive();break}else return;case 33:if(this._pageUpAndDown.enabled&&i){let o=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(o>0?o:0,1);break}else return;case 34:if(this._pageUpAndDown.enabled&&i){let o=this._activeItemIndex+this._pageUpAndDown.delta,s=this._getItemsArray().length;this._setActiveItemByIndex(o=65&&r<=90||r>=48&&r<=57)&&this._letterKeyStream.next(String.fromCharCode(r)));return}this._pressedLetters=[],e.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._getItemsArray().length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(e){let r=this._getItemsArray(),t=typeof e=="number"?e:r.indexOf(e),i=r[t];this._activeItem=i==null?null:i,this._activeItemIndex=t}destroy(){var e,r;this._typeaheadSubscription.unsubscribe(),(e=this._itemChangesSubscription)==null||e.unsubscribe(),(r=this._effectRef)==null||r.destroy(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(e){this._wrap?this._setActiveInWrapMode(e):this._setActiveInDefaultMode(e)}_setActiveInWrapMode(e){let r=this._getItemsArray();for(let t=1;t<=r.length;t++){let i=(this._activeItemIndex+e*t+r.length)%r.length,o=r[i];if(!this._skipPredicateFn(o)){this.setActiveItem(i);return}}}_setActiveInDefaultMode(e){this._setActiveItemByIndex(this._activeItemIndex+e,e)}_setActiveItemByIndex(e,r){let t=this._getItemsArray();if(t[e]){for(;this._skipPredicateFn(t[e]);)if(e+=r,!t[e])return;this.setActiveItem(e)}}_getItemsArray(){return hd(this._items)?this._items():this._items instanceof Yn?this._items.toArray():this._items}_itemsChanged(e){if(this._activeItem){let r=e.indexOf(this._activeItem);r>-1&&r!==this._activeItemIndex&&(this._activeItemIndex=r)}}},bu=class extends gu{setActiveItem(e){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(e),this.activeItem&&this.activeItem.setActiveStyles()}},vs=class extends gu{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(e){return this._origin=e,this}setActiveItem(e){super.setActiveItem(e),this.activeItem&&this.activeItem.focus(this._origin)}};var Ha=(()=>{let e=class e{constructor(t){this._platform=t}isDisabled(t){return t.hasAttribute("disabled")}isVisible(t){return SP(t)&&getComputedStyle(t).visibility==="visible"}isTabbable(t){if(!this._platform.isBrowser)return!1;let i=MP(FP(t));if(i&&(lC(i)===-1||!this.isVisible(i)))return!1;let o=t.nodeName.toLowerCase(),s=lC(t);return t.hasAttribute("contenteditable")?s!==-1:o==="iframe"||o==="object"||this._platform.WEBKIT&&this._platform.IOS&&!NP(t)?!1:o==="audio"?t.hasAttribute("controls")?s!==-1:!1:o==="video"?s===-1?!1:s!==null?!0:this._platform.FIREFOX||t.hasAttribute("controls"):t.tabIndex>=0}isFocusable(t,i){return PP(t)&&!this.isDisabled(t)&&((i==null?void 0:i.ignoreVisibility)||this.isVisible(t))}};e.\u0275fac=function(i){return new(i||e)(v(xe))},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();function MP(n){try{return n.frameElement}catch{return null}}function SP(n){return!!(n.offsetWidth||n.offsetHeight||typeof n.getClientRects=="function"&&n.getClientRects().length)}function TP(n){let e=n.nodeName.toLowerCase();return e==="input"||e==="select"||e==="button"||e==="textarea"}function AP(n){return OP(n)&&n.type=="hidden"}function kP(n){return RP(n)&&n.hasAttribute("href")}function OP(n){return n.nodeName.toLowerCase()=="input"}function RP(n){return n.nodeName.toLowerCase()=="a"}function mC(n){if(!n.hasAttribute("tabindex")||n.tabIndex===void 0)return!1;let e=n.getAttribute("tabindex");return!!(e&&!isNaN(parseInt(e,10)))}function lC(n){if(!mC(n))return null;let e=parseInt(n.getAttribute("tabindex")||"",10);return isNaN(e)?-1:e}function NP(n){let e=n.nodeName.toLowerCase(),r=e==="input"&&n.type;return r==="text"||r==="password"||e==="select"||e==="textarea"}function PP(n){return AP(n)?!1:TP(n)||kP(n)||n.hasAttribute("contenteditable")||mC(n)}function FP(n){return n.ownerDocument&&n.ownerDocument.defaultView||window}var kg=class{get enabled(){return this._enabled}set enabled(e){this._enabled=e,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}constructor(e,r,t,i,o=!1,s){this._element=e,this._checker=r,this._ngZone=t,this._document=i,this._injector=s,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,o||this.attachAnchors()}destroy(){let e=this._startAnchor,r=this._endAnchor;e&&(e.removeEventListener("focus",this.startAnchorListener),e.remove()),r&&(r.removeEventListener("focus",this.endAnchorListener),r.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return this._hasAttached?!0:(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(e){return new Promise(r=>{this._executeOnStable(()=>r(this.focusInitialElement(e)))})}focusFirstTabbableElementWhenReady(e){return new Promise(r=>{this._executeOnStable(()=>r(this.focusFirstTabbableElement(e)))})}focusLastTabbableElementWhenReady(e){return new Promise(r=>{this._executeOnStable(()=>r(this.focusLastTabbableElement(e)))})}_getRegionBoundary(e){let r=this._element.querySelectorAll("[cdk-focus-region-".concat(e,"], ")+"[cdkFocusRegion".concat(e,"], ")+"[cdk-focus-".concat(e,"]"));return e=="start"?r.length?r[0]:this._getFirstTabbableElement(this._element):r.length?r[r.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(e){let r=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(r){if(!this._checker.isFocusable(r)){let t=this._getFirstTabbableElement(r);return t==null||t.focus(e),!!t}return r.focus(e),!0}return this.focusFirstTabbableElement(e)}focusFirstTabbableElement(e){let r=this._getRegionBoundary("start");return r&&r.focus(e),!!r}focusLastTabbableElement(e){let r=this._getRegionBoundary("end");return r&&r.focus(e),!!r}hasAttached(){return this._hasAttached}_getFirstTabbableElement(e){if(this._checker.isFocusable(e)&&this._checker.isTabbable(e))return e;let r=e.children;for(let t=0;t=0;t--){let i=r[t].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(r[t]):null;if(i)return i}return null}_createAnchor(){let e=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,e),e.classList.add("cdk-visually-hidden"),e.classList.add("cdk-focus-trap-anchor"),e.setAttribute("aria-hidden","true"),e}_toggleAnchorTabIndex(e,r){e?r.setAttribute("tabindex","0"):r.removeAttribute("tabindex")}toggleAnchors(e){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}_executeOnStable(e){this._ngZone.isStable?this._injector?Ut(e,{injector:this._injector}):e():this._ngZone.onStable.pipe(Ve(1)).subscribe(e)}},_u=(()=>{let e=class e{constructor(t,i,o){this._checker=t,this._ngZone=i,this._injector=y(Ce),this._document=o}create(t,i=!1){return new kg(t,this._checker,this._ngZone,this._document,i,this._injector)}};e.\u0275fac=function(i){return new(i||e)(v(Ha),v(k),v(W))},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();function $a(n){return n.buttons===0||n.detail===0}function Wa(n){let e=n.touches&&n.touches[0]||n.changedTouches&&n.changedTouches[0];return!!e&&e.identifier===-1&&(e.radiusX==null||e.radiusX===1)&&(e.radiusY==null||e.radiusY===1)}var LP=new E("cdk-input-modality-detector-options"),jP={ignoreKeys:[18,17,224,91,16]},pC=650,bs=fn({passive:!0,capture:!0}),VP=(()=>{let e=class e{get mostRecentModality(){return this._modality.value}constructor(t,i,o,s){this._platform=t,this._mostRecentTarget=null,this._modality=new dt(null),this._lastTouchMs=0,this._onKeydown=a=>{var l,c;(c=(l=this._options)==null?void 0:l.ignoreKeys)!=null&&c.some(d=>d===a.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=Gt(a))},this._onMousedown=a=>{Date.now()-this._lastTouchMs{if(Wa(a)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=Gt(a)},this._options=D(D({},jP),s),this.modalityDetected=this._modality.pipe(Vs(1)),this.modalityChanged=this.modalityDetected.pipe(Hi()),t.isBrowser&&i.runOutsideAngular(()=>{o.addEventListener("keydown",this._onKeydown,bs),o.addEventListener("mousedown",this._onMousedown,bs),o.addEventListener("touchstart",this._onTouchstart,bs)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,bs),document.removeEventListener("mousedown",this._onMousedown,bs),document.removeEventListener("touchstart",this._onTouchstart,bs))}};e.\u0275fac=function(i){return new(i||e)(v(xe),v(k),v(W),v(LP,8))},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})(),BP=new E("liveAnnouncerElement",{providedIn:"root",factory:UP});function UP(){return null}var zP=new E("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),HP=0,gC=(()=>{let e=class e{constructor(t,i,o,s){this._ngZone=i,this._defaultOptions=s,this._document=o,this._liveElement=t||this._createLiveElement()}announce(t,...i){let o=this._defaultOptions,s,a;return i.length===1&&typeof i[0]=="number"?a=i[0]:[s,a]=i,this.clear(),clearTimeout(this._previousTimeout),s||(s=o&&o.politeness?o.politeness:"polite"),a==null&&o&&(a=o.duration),this._liveElement.setAttribute("aria-live",s),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(l=>this._currentResolve=l)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{var l;this._liveElement.textContent=t,typeof a=="number"&&(this._previousTimeout=setTimeout(()=>this.clear(),a)),(l=this._currentResolve)==null||l.call(this),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){var t,i;clearTimeout(this._previousTimeout),(t=this._liveElement)==null||t.remove(),this._liveElement=null,(i=this._currentResolve)==null||i.call(this),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){let t="cdk-live-announcer-element",i=this._document.getElementsByClassName(t),o=this._document.createElement("div");for(let s=0;s .cdk-overlay-container [aria-modal="true"]');for(let o=0;o{let e=class e{constructor(t,i,o,s,a){this._ngZone=t,this._platform=i,this._inputModalityDetector=o,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new A,this._rootNodeFocusAndBlurListener=l=>{let c=Gt(l);for(let d=c;d;d=d.parentElement)l.type==="focus"?this._onFocus(l,d):this._onBlur(l,d)},this._document=s,this._detectionMode=(a==null?void 0:a.detectionMode)||mu.IMMEDIATE}monitor(t,i=!1){let o=un(t);if(!this._platform.isBrowser||o.nodeType!==1)return H();let s=nw(o)||this._getDocument(),a=this._elementInfo.get(o);if(a)return i&&(a.checkChildren=!0),a.subject;let l={checkChildren:i,subject:new A,rootNode:s};return this._elementInfo.set(o,l),this._registerGlobalListeners(l),l.subject}stopMonitoring(t){let i=un(t),o=this._elementInfo.get(i);o&&(o.subject.complete(),this._setClasses(i),this._elementInfo.delete(i),this._removeGlobalListeners(o))}focusVia(t,i,o){let s=un(t),a=this._getDocument().activeElement;s===a?this._getClosestElementsInfo(s).forEach(([l,c])=>this._originChanged(l,i,c)):(this._setOrigin(i),typeof s.focus=="function"&&s.focus(o))}ngOnDestroy(){this._elementInfo.forEach((t,i)=>this.stopMonitoring(i))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(t){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(t)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:t&&this._isLastInteractionFromInputLabel(t)?"mouse":"program"}_shouldBeAttributedToTouch(t){return this._detectionMode===mu.EVENTUAL||!!(t!=null&&t.contains(this._inputModalityDetector._mostRecentTarget))}_setClasses(t,i){t.classList.toggle("cdk-focused",!!i),t.classList.toggle("cdk-touch-focused",i==="touch"),t.classList.toggle("cdk-keyboard-focused",i==="keyboard"),t.classList.toggle("cdk-mouse-focused",i==="mouse"),t.classList.toggle("cdk-program-focused",i==="program")}_setOrigin(t,i=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=t,this._originFromTouchInteraction=t==="touch"&&i,this._detectionMode===mu.IMMEDIATE){clearTimeout(this._originTimeoutId);let o=this._originFromTouchInteraction?pC:1;this._originTimeoutId=setTimeout(()=>this._origin=null,o)}})}_onFocus(t,i){let o=this._elementInfo.get(i),s=Gt(t);!o||!o.checkChildren&&i!==s||this._originChanged(i,this._getFocusOrigin(s),o)}_onBlur(t,i){let o=this._elementInfo.get(i);!o||o.checkChildren&&t.relatedTarget instanceof Node&&i.contains(t.relatedTarget)||(this._setClasses(i),this._emitOrigin(o,null))}_emitOrigin(t,i){t.subject.observers.length&&this._ngZone.run(()=>t.subject.next(i))}_registerGlobalListeners(t){if(!this._platform.isBrowser)return;let i=t.rootNode,o=this._rootNodeFocusListenerCount.get(i)||0;o||this._ngZone.runOutsideAngular(()=>{i.addEventListener("focus",this._rootNodeFocusAndBlurListener,hu),i.addEventListener("blur",this._rootNodeFocusAndBlurListener,hu)}),this._rootNodeFocusListenerCount.set(i,o+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(Ie(this._stopInputModalityDetector)).subscribe(s=>{this._setOrigin(s,!0)}))}_removeGlobalListeners(t){let i=t.rootNode;if(this._rootNodeFocusListenerCount.has(i)){let o=this._rootNodeFocusListenerCount.get(i);o>1?this._rootNodeFocusListenerCount.set(i,o-1):(i.removeEventListener("focus",this._rootNodeFocusAndBlurListener,hu),i.removeEventListener("blur",this._rootNodeFocusAndBlurListener,hu),this._rootNodeFocusListenerCount.delete(i))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(t,i,o){this._setClasses(t,i),this._emitOrigin(o,i),this._lastFocusOrigin=i}_getClosestElementsInfo(t){let i=[];return this._elementInfo.forEach((o,s)=>{(s===t||o.checkChildren&&s.contains(t))&&i.push([s,o])}),i}_isLastInteractionFromInputLabel(t){let{_mostRecentTarget:i,mostRecentModality:o}=this._inputModalityDetector;if(o!=="mouse"||!i||i===t||t.nodeName!=="INPUT"&&t.nodeName!=="TEXTAREA"||t.disabled)return!1;let s=t.labels;if(s){for(let a=0;a{let e=class e{constructor(t,i){this._platform=t,this._document=i,this._breakpointSubscription=y(sw).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return to.NONE;let t=this._document.createElement("div");t.style.backgroundColor="rgb(1,2,3)",t.style.position="absolute",this._document.body.appendChild(t);let i=this._document.defaultView||window,o=i&&i.getComputedStyle?i.getComputedStyle(t):null,s=(o&&o.backgroundColor||"").replace(/ /g,"");switch(t.remove(),s){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return to.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return to.BLACK_ON_WHITE}return to.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let t=this._document.body.classList;t.remove(Tg,cC,dC),this._hasCheckedHighContrastMode=!0;let i=this.getHighContrastMode();i===to.BLACK_ON_WHITE?t.add(Tg,cC):i===to.WHITE_ON_BLACK&&t.add(Tg,dC)}}};e.\u0275fac=function(i){return new(i||e)(v(xe),v(W))},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})(),yu=(()=>{let e=class e{constructor(t){t._applyBodyHighContrastModeCssClasses()}};e.\u0275fac=function(i){return new(i||e)(v(Ng))},e.\u0275mod=V({type:e}),e.\u0275inj=L({imports:[uu]});let n=e;return n})();function WP(n,e){}var io=class{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0,this.closeOnDestroy=!0,this.closeOnOverlayDetachments=!0}};var Fg=(()=>{let e=class e extends ps{constructor(t,i,o,s,a,l,c,d){super(),this._elementRef=t,this._focusTrapFactory=i,this._config=s,this._interactivityChecker=a,this._ngZone=l,this._overlayRef=c,this._focusMonitor=d,this._platform=y(xe),this._focusTrap=null,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this._ariaLabelledByQueue=[],this._changeDetectorRef=y(Ne),this._injector=y(Ce),this._isDestroyed=!1,this.attachDomPortal=u=>{this._portalOutlet.hasAttached();let f=this._portalOutlet.attachDomPortal(u);return this._contentAttached(),f},this._document=o,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_addAriaLabelledBy(t){this._ariaLabelledByQueue.push(t),this._changeDetectorRef.markForCheck()}_removeAriaLabelledBy(t){let i=this._ariaLabelledByQueue.indexOf(t);i>-1&&(this._ariaLabelledByQueue.splice(i,1),this._changeDetectorRef.markForCheck())}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._isDestroyed=!0,this._restoreFocus()}attachComponentPortal(t){this._portalOutlet.hasAttached();let i=this._portalOutlet.attachComponentPortal(t);return this._contentAttached(),i}attachTemplatePortal(t){this._portalOutlet.hasAttached();let i=this._portalOutlet.attachTemplatePortal(t);return this._contentAttached(),i}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(t,i){this._interactivityChecker.isFocusable(t)||(t.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{let o=()=>{t.removeEventListener("blur",o),t.removeEventListener("mousedown",o),t.removeAttribute("tabindex")};t.addEventListener("blur",o),t.addEventListener("mousedown",o)})),t.focus(i)}_focusByCssSelector(t,i){let o=this._elementRef.nativeElement.querySelector(t);o&&this._forceFocus(o,i)}_trapFocus(){this._isDestroyed||Ut(()=>{var i;let t=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||t.focus();break;case!0:case"first-tabbable":((i=this._focusTrap)==null?void 0:i.focusInitialElement())||this._focusDialogContainer();break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus);break}},{injector:this._injector})}_restoreFocus(){let t=this._config.restoreFocus,i=null;if(typeof t=="string"?i=this._document.querySelector(t):typeof t=="boolean"?i=t?this._elementFocusedBeforeDialogWasOpened:null:t&&(i=t),this._config.restoreFocus&&i&&typeof i.focus=="function"){let o=pa(),s=this._elementRef.nativeElement;(!o||o===this._document.body||o===s||s.contains(o))&&(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(){let t=this._elementRef.nativeElement,i=pa();return t===i||t.contains(i)}_initializeFocusTrap(){this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=pa()))}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}};e.\u0275fac=function(i){return new(i||e)(h(P),h(_u),h(W,8),h(io),h(Ha),h(k),h(Oi),h(Zt))},e.\u0275cmp=j({type:e,selectors:[["cdk-dialog-container"]],viewQuery:function(i,o){if(i&1&&Fe(Jr,7),i&2){let s;ie(s=re())&&(o._portalOutlet=s.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(i,o){i&2&&De("id",o._config.id||null)("role",o._config.role)("aria-modal",o._config.ariaModal)("aria-labelledby",o._config.ariaLabel?null:o._ariaLabelledByQueue[0])("aria-label",o._config.ariaLabel)("aria-describedby",o._config.ariaDescribedBy||null)},standalone:!0,features:[Ue,Oe],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(i,o){i&1&&F(0,WP,0,0,"ng-template",0)},dependencies:[Jr],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2});let n=e;return n})(),Ga=class{constructor(e,r){this.overlayRef=e,this.config=r,this.closed=new A,this.disableClose=r.disableClose,this.backdropClick=e.backdropClick(),this.keydownEvents=e.keydownEvents(),this.outsidePointerEvents=e.outsidePointerEvents(),this.id=r.id,this.keydownEvents.subscribe(t=>{t.keyCode===27&&!this.disableClose&&!ht(t)&&(t.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})}),this._detachSubscription=e.detachments().subscribe(()=>{r.closeOnOverlayDetachments!==!1&&this.close()})}close(e,r){if(this.containerInstance){let t=this.closed;this.containerInstance._closeInteractionType=(r==null?void 0:r.focusOrigin)||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),t.next(e),t.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(e="",r=""){return this.overlayRef.updateSize({width:e,height:r}),this}addPanelClass(e){return this.overlayRef.addPanelClass(e),this}removePanelClass(e){return this.overlayRef.removePanelClass(e),this}},GP=new E("DialogScrollStrategy",{providedIn:"root",factory:()=>{let n=y(Ye);return()=>n.scrollStrategies.block()}}),qP=new E("DialogData"),YP=new E("DefaultDialogConfig");var ZP=0,Lg=(()=>{let e=class e{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}constructor(t,i,o,s,a,l){this._overlay=t,this._injector=i,this._defaultOptions=o,this._parentDialog=s,this._overlayContainer=a,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new A,this._afterOpenedAtThisLevel=new A,this._ariaHiddenElements=new Map,this.afterAllClosed=Bn(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(at(void 0))),this._scrollStrategy=l}open(t,i){let o=this._defaultOptions||new io;i=D(D({},o),i),i.id=i.id||"cdk-dialog-".concat(ZP++),i.id&&this.getDialogById(i.id);let s=this._getOverlayConfig(i),a=this._overlay.create(s),l=new Ga(a,i),c=this._attachContainer(a,l,i);return l.containerInstance=c,this._attachDialogContent(t,l,c,i),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(l),l.closed.subscribe(()=>this._removeOpenDialog(l,!0)),this.afterOpened.next(l),l}closeAll(){Pg(this.openDialogs,t=>t.close())}getDialogById(t){return this.openDialogs.find(i=>i.id===t)}ngOnDestroy(){Pg(this._openDialogsAtThisLevel,t=>{t.config.closeOnDestroy===!1&&this._removeOpenDialog(t,!1)}),Pg(this._openDialogsAtThisLevel,t=>t.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(t){let i=new ur({positionStrategy:t.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:t.scrollStrategy||this._scrollStrategy(),panelClass:t.panelClass,hasBackdrop:t.hasBackdrop,direction:t.direction,minWidth:t.minWidth,minHeight:t.minHeight,maxWidth:t.maxWidth,maxHeight:t.maxHeight,width:t.width,height:t.height,disposeOnNavigation:t.closeOnNavigation});return t.backdropClass&&(i.backdropClass=t.backdropClass),i}_attachContainer(t,i,o){var u;let s=o.injector||((u=o.viewContainerRef)==null?void 0:u.injector),a=[{provide:io,useValue:o},{provide:Ga,useValue:i},{provide:Oi,useValue:t}],l;o.container?typeof o.container=="function"?l=o.container:(l=o.container.type,a.push(...o.container.providers(o))):l=Fg;let c=new dr(l,o.viewContainerRef,Ce.create({parent:s||this._injector,providers:a}),o.componentFactoryResolver);return t.attach(c).instance}_attachDialogContent(t,i,o,s){if(t instanceof pt){let a=this._createInjector(s,i,o,void 0),l={$implicit:s.data,dialogRef:i};s.templateContext&&(l=D(D({},l),typeof s.templateContext=="function"?s.templateContext():s.templateContext)),o.attachTemplatePortal(new Rn(t,null,l,a))}else{let a=this._createInjector(s,i,o,this._injector),l=o.attachComponentPortal(new dr(t,s.viewContainerRef,a,s.componentFactoryResolver));i.componentRef=l,i.componentInstance=l.instance}}_createInjector(t,i,o,s){var c;let a=t.injector||((c=t.viewContainerRef)==null?void 0:c.injector),l=[{provide:qP,useValue:t.data},{provide:Ga,useValue:i}];return t.providers&&(typeof t.providers=="function"?l.push(...t.providers(i,t,o)):l.push(...t.providers)),t.direction&&(!a||!a.get(St,null,{optional:!0}))&&l.push({provide:St,useValue:{value:t.direction,change:H()}}),Ce.create({parent:a||s,providers:l})}_removeOpenDialog(t,i){let o=this.openDialogs.indexOf(t);o>-1&&(this.openDialogs.splice(o,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((s,a)=>{s?a.setAttribute("aria-hidden",s):a.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),i&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){let t=this._overlayContainer.getContainerElement();if(t.parentElement){let i=t.parentElement.children;for(let o=i.length-1;o>-1;o--){let s=i[o];s!==t&&s.nodeName!=="SCRIPT"&&s.nodeName!=="STYLE"&&!s.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(s,s.getAttribute("aria-hidden")),s.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){let t=this._parentDialog;return t?t._getAfterAllClosed():this._afterAllClosedAtThisLevel}};e.\u0275fac=function(i){return new(i||e)(v(Ye),v(Ce),v(YP,8),v(e,12),v(gs),v(GP))},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();function Pg(n,e){let r=n.length;for(;r--;)e(n[r])}var bC=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=V({type:e}),e.\u0275inj=L({providers:[Lg],imports:[ci,ki,yu,ki]});let n=e;return n})();var QP=["text"],KP=[[["mat-icon"]],"*"],XP=["mat-icon","*"];function JP(n,e){if(n&1&&O(0,"mat-pseudo-checkbox",1),n&2){let r=R();M("disabled",r.disabled)("state",r.selected?"checked":"unchecked")}}function eF(n,e){if(n&1&&O(0,"mat-pseudo-checkbox",3),n&2){let r=R();M("disabled",r.disabled)}}function tF(n,e){if(n&1&&(p(0,"span",4),w(1),b()),n&2){let r=R();x(),Te("(",r.group.label,")")}}var nF=["mat-internal-form-field",""],iF=["*"];function rF(){return!0}var oF=new E("mat-sanity-checks",{providedIn:"root",factory:rF}),Ae=(()=>{let e=class e{constructor(t,i,o){this._sanityChecks=i,this._document=o,this._hasDoneGlobalChecks=!1,t._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(t){return ga()?!1:typeof this._sanityChecks=="boolean"?this._sanityChecks:!!this._sanityChecks[t]}};e.\u0275fac=function(i){return new(i||e)(v(Ng),v(oF,8),v(W))},e.\u0275mod=V({type:e}),e.\u0275inj=L({imports:[lr,lr]});let n=e;return n})();var Cs=class{constructor(e,r,t,i,o){this._defaultMatcher=e,this.ngControl=r,this._parentFormGroup=t,this._parentForm=i,this._stateChanges=o,this.errorState=!1}updateErrorState(){var s;let e=this.errorState,r=this._parentFormGroup||this._parentForm,t=this.matcher||this._defaultMatcher,i=this.ngControl?this.ngControl.control:null,o=(s=t==null?void 0:t.isErrorState(i,r))!=null?s:!1;o!==e&&(this.errorState=o,this._stateChanges.next())}};var wu=(()=>{let e=class e{isErrorState(t,i){return!!(t&&t.invalid&&(t.touched||i&&i.submitted))}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();var mn=function(n){return n[n.FADING_IN=0]="FADING_IN",n[n.VISIBLE=1]="VISIBLE",n[n.FADING_OUT=2]="FADING_OUT",n[n.HIDDEN=3]="HIDDEN",n}(mn||{}),Bg=class{constructor(e,r,t,i=!1){this._renderer=e,this.element=r,this.config=t,this._animationForciblyDisabledThroughCss=i,this.state=mn.HIDDEN}fadeOut(){this._renderer.fadeOutRipple(this)}},vC=fn({passive:!0,capture:!0}),Ug=class{constructor(){this._events=new Map,this._delegateEventHandler=e=>{var t;let r=Gt(e);r&&((t=this._events.get(e.type))==null||t.forEach((i,o)=>{(o===r||o.contains(r))&&i.forEach(s=>s.handleEvent(e))}))}}addHandler(e,r,t,i){let o=this._events.get(r);if(o){let s=o.get(t);s?s.add(i):o.set(t,new Set([i]))}else this._events.set(r,new Map([[t,new Set([i])]])),e.runOutsideAngular(()=>{document.addEventListener(r,this._delegateEventHandler,vC)})}removeHandler(e,r,t){let i=this._events.get(e);if(!i)return;let o=i.get(r);o&&(o.delete(t),o.size===0&&i.delete(r),i.size===0&&(this._events.delete(e),document.removeEventListener(e,this._delegateEventHandler,vC)))}},_C={enterDuration:225,exitDuration:150},sF=800,yC=fn({passive:!0,capture:!0}),xC=["mousedown","touchstart"],wC=["mouseup","mouseleave","touchend","touchcancel"],qa=class qa{constructor(e,r,t,i){this._target=e,this._ngZone=r,this._platform=i,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,i.isBrowser&&(this._containerElement=un(t))}fadeInRipple(e,r,t={}){let i=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o=D(D({},_C),t.animation);t.centered&&(e=i.left+i.width/2,r=i.top+i.height/2);let s=t.radius||aF(e,r,i),a=e-i.left,l=r-i.top,c=o.enterDuration,d=document.createElement("div");d.classList.add("mat-ripple-element"),d.style.left="".concat(a-s,"px"),d.style.top="".concat(l-s,"px"),d.style.height="".concat(s*2,"px"),d.style.width="".concat(s*2,"px"),t.color!=null&&(d.style.backgroundColor=t.color),d.style.transitionDuration="".concat(c,"ms"),this._containerElement.appendChild(d);let u=window.getComputedStyle(d),f=u.transitionProperty,m=u.transitionDuration,g=f==="none"||m==="0s"||m==="0s, 0s"||i.width===0&&i.height===0,_=new Bg(this,d,t,g);d.style.transform="scale3d(1, 1, 1)",_.state=mn.FADING_IN,t.persistent||(this._mostRecentTransientRipple=_);let C=null;return!g&&(c||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let S=()=>this._finishRippleTransition(_),B=()=>this._destroyRipple(_);d.addEventListener("transitionend",S),d.addEventListener("transitioncancel",B),C={onTransitionEnd:S,onTransitionCancel:B}}),this._activeRipples.set(_,C),(g||!c)&&this._finishRippleTransition(_),_}fadeOutRipple(e){if(e.state===mn.FADING_OUT||e.state===mn.HIDDEN)return;let r=e.element,t=D(D({},_C),e.config.animation);r.style.transitionDuration="".concat(t.exitDuration,"ms"),r.style.opacity="0",e.state=mn.FADING_OUT,(e._animationForciblyDisabledThroughCss||!t.exitDuration)&&this._finishRippleTransition(e)}fadeOutAll(){this._getActiveRipples().forEach(e=>e.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(e=>{e.config.persistent||e.fadeOut()})}setupTriggerEvents(e){let r=un(e);!this._platform.isBrowser||!r||r===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=r,xC.forEach(t=>{qa._eventManager.addHandler(this._ngZone,t,r,this)}))}handleEvent(e){e.type==="mousedown"?this._onMousedown(e):e.type==="touchstart"?this._onTouchStart(e):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{wC.forEach(r=>{this._triggerElement.addEventListener(r,this,yC)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(e){e.state===mn.FADING_IN?this._startFadeOutTransition(e):e.state===mn.FADING_OUT&&this._destroyRipple(e)}_startFadeOutTransition(e){let r=e===this._mostRecentTransientRipple,{persistent:t}=e.config;e.state=mn.VISIBLE,!t&&(!r||!this._isPointerDown)&&e.fadeOut()}_destroyRipple(e){var t;let r=(t=this._activeRipples.get(e))!=null?t:null;this._activeRipples.delete(e),this._activeRipples.size||(this._containerRect=null),e===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),e.state=mn.HIDDEN,r!==null&&(e.element.removeEventListener("transitionend",r.onTransitionEnd),e.element.removeEventListener("transitioncancel",r.onTransitionCancel)),e.element.remove()}_onMousedown(e){let r=$a(e),t=this._lastTouchStartEvent&&Date.now(){let r=e.state===mn.VISIBLE||e.config.terminateOnPointerUp&&e.state===mn.FADING_IN;!e.config.persistent&&r&&e.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let e=this._triggerElement;e&&(xC.forEach(r=>qa._eventManager.removeHandler(r,e,this)),this._pointerUpEventsRegistered&&(wC.forEach(r=>e.removeEventListener(r,this,yC)),this._pointerUpEventsRegistered=!1))}};qa._eventManager=new Ug;var zg=qa;function aF(n,e,r){let t=Math.max(Math.abs(n-r.left),Math.abs(n-r.right)),i=Math.max(Math.abs(e-r.top),Math.abs(e-r.bottom));return Math.sqrt(t*t+i*i)}var IC=new E("mat-ripple-global-options"),ro=(()=>{let e=class e{get disabled(){return this._disabled}set disabled(t){t&&this.fadeOutAllNonPersistent(),this._disabled=t,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(t){this._trigger=t,this._setupTriggerEventsIfEnabled()}constructor(t,i,o,s,a){this._elementRef=t,this._animationMode=a,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=s||{},this._rippleRenderer=new zg(this,i,t,o)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:D(D(D({},this._globalOptions.animation),this._animationMode==="NoopAnimations"?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(t,i=0,o){return typeof t=="number"?this._rippleRenderer.fadeInRipple(t,i,D(D({},this.rippleConfig),o)):this._rippleRenderer.fadeInRipple(0,0,D(D({},this.rippleConfig),t))}};e.\u0275fac=function(i){return new(i||e)(h(P),h(k),h(xe),h(IC,8),h(Ge,8))},e.\u0275dir=N({type:e,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(i,o){i&2&&ae("mat-ripple-unbounded",o.unbounded)},inputs:{color:[0,"matRippleColor","color"],unbounded:[0,"matRippleUnbounded","unbounded"],centered:[0,"matRippleCentered","centered"],radius:[0,"matRippleRadius","radius"],animation:[0,"matRippleAnimation","animation"],disabled:[0,"matRippleDisabled","disabled"],trigger:[0,"matRippleTrigger","trigger"]},exportAs:["matRipple"],standalone:!0});let n=e;return n})(),Ya=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=V({type:e}),e.\u0275inj=L({imports:[Ae,Ae]});let n=e;return n})(),lF=(()=>{let e=class e{constructor(t){this._animationMode=t,this.state="unchecked",this.disabled=!1,this.appearance="full"}};e.\u0275fac=function(i){return new(i||e)(h(Ge,8))},e.\u0275cmp=j({type:e,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(i,o){i&2&&ae("mat-pseudo-checkbox-indeterminate",o.state==="indeterminate")("mat-pseudo-checkbox-checked",o.state==="checked")("mat-pseudo-checkbox-disabled",o.disabled)("mat-pseudo-checkbox-minimal",o.appearance==="minimal")("mat-pseudo-checkbox-full",o.appearance==="full")("_mat-animation-noopable",o._animationMode==="NoopAnimations")},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},standalone:!0,features:[Oe],decls:0,vars:0,template:function(i,o){},styles:['.mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-minimal-pseudo-checkbox-selected-checkmark-color)}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color)}.mat-pseudo-checkbox-full{border-color:var(--mat-full-pseudo-checkbox-unselected-icon-color);border-width:2px;border-style:solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled{border-color:var(--mat-full-pseudo-checkbox-disabled-unselected-icon-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{background-color:var(--mat-full-pseudo-checkbox-selected-icon-color);border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-full-pseudo-checkbox-selected-checkmark-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background-color:var(--mat-full-pseudo-checkbox-disabled-selected-icon-color)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-full-pseudo-checkbox-disabled-selected-checkmark-color)}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}'],encapsulation:2,changeDetection:0});let n=e;return n})(),cF=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=V({type:e}),e.\u0275inj=L({imports:[Ae]});let n=e;return n})(),$g=new E("MAT_OPTION_PARENT_COMPONENT");var Wg=new E("MatOptgroup");var dF=0,Hg=class{constructor(e,r=!1){this.source=e,this.isUserInput=r}},Cu=(()=>{let e=class e{get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(t){this._disabled=t}get disableRipple(){return!!(this._parent&&this._parent.disableRipple)}get hideSingleSelectionIndicator(){return!!(this._parent&&this._parent.hideSingleSelectionIndicator)}constructor(t,i,o,s){this._element=t,this._changeDetectorRef=i,this._parent=o,this.group=s,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-".concat(dF++),this.onSelectionChange=new $,this._stateChanges=new A}get active(){return this._active}get viewValue(){var t;return(((t=this._text)==null?void 0:t.nativeElement.textContent)||"").trim()}select(t=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),t&&this._emitSelectionChangeEvent())}deselect(t=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),t&&this._emitSelectionChangeEvent())}focus(t,i){let o=this._getHostElement();typeof o.focus=="function"&&o.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(t){(t.keyCode===13||t.keyCode===32)&&!ht(t)&&(this._selectViaInteraction(),t.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=this.multiple?!this._selected:!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){let t=this.viewValue;t!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=t)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(t=!1){this.onSelectionChange.emit(new Hg(this,t))}};e.\u0275fac=function(i){return new(i||e)(h(P),h(Ne),h($g,8),h(Wg,8))},e.\u0275cmp=j({type:e,selectors:[["mat-option"]],viewQuery:function(i,o){if(i&1&&Fe(QP,7),i&2){let s;ie(s=re())&&(o._text=s.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(i,o){i&1&&z("click",function(){return o._selectViaInteraction()})("keydown",function(a){return o._handleKeydown(a)}),i&2&&(dn("id",o.id),De("aria-selected",o.selected)("aria-disabled",o.disabled.toString()),ae("mdc-list-item--selected",o.selected)("mat-mdc-option-multiple",o.multiple)("mat-mdc-option-active",o.active)("mdc-list-item--disabled",o.disabled))},inputs:{value:"value",id:"id",disabled:[2,"disabled","disabled",oe]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],standalone:!0,features:[Le,Oe],ngContentSelectors:XP,decls:8,vars:5,consts:[["text",""],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],[1,"mdc-list-item__primary-text"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled"]],template:function(i,o){i&1&&(Je(KP),F(0,JP,1,2,"mat-pseudo-checkbox",1),ue(1),p(2,"span",2,0),ue(4,1),b(),F(5,eF,1,1,"mat-pseudo-checkbox",3)(6,tF,2,1,"span",4),O(7,"div",5)),i&2&&(qe(o.multiple?0:-1),x(5),qe(!o.multiple&&o.selected&&!o.hideSingleSelectionIndicator?5:-1),x(),qe(o.group&&o.group._inert?6:-1),x(),M("matRippleTrigger",o._getHostElement())("matRippleDisabled",o.disabled||o.disableRipple))},dependencies:[lF,ro],styles:['.mat-mdc-option{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--mat-option-label-text-color);font-family:var(--mat-option-label-text-font);line-height:var(--mat-option-label-text-line-height);font-size:var(--mat-option-label-text-size);letter-spacing:var(--mat-option-label-text-tracking);font-weight:var(--mat-option-label-text-weight);min-height:48px}.mat-mdc-option:focus{outline:none}[dir=rtl] .mat-mdc-option,.mat-mdc-option[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:var(--mat-option-hover-state-layer-color)}.mat-mdc-option:focus.mdc-list-item,.mat-mdc-option.mat-mdc-option-active.mdc-list-item{background-color:var(--mat-option-focus-state-layer-color)}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled) .mdc-list-item__primary-text{color:var(--mat-option-selected-state-label-text-color)}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple){background-color:var(--mat-option-selected-state-layer-color)}.mat-mdc-option.mdc-list-item{align-items:center;background:rgba(0,0,0,0)}.mat-mdc-option.mdc-list-item--disabled{cursor:default;pointer-events:none}.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox,.mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text,.mat-mdc-option.mdc-list-item--disabled>mat-icon{opacity:.38}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}.cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{right:auto;left:16px}.mat-mdc-option-multiple{--mdc-list-list-item-selected-container-color:var(--mdc-list-list-item-container-color, transparent)}.mat-mdc-option-active .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0});let n=e;return n})();function MC(n,e,r){if(r.length){let t=e.toArray(),i=r.toArray(),o=0;for(let s=0;sr+t?Math.max(0,n-t+e):r}var Gg=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=V({type:e}),e.\u0275inj=L({imports:[Ya,Ae,cF]});let n=e;return n})(),CC={capture:!0},DC=["focus","mousedown","mouseenter","touchstart"],jg="mat-ripple-loader-uninitialized",Vg="mat-ripple-loader-class-name",EC="mat-ripple-loader-centered",xu="mat-ripple-loader-disabled",TC=(()=>{let e=class e{constructor(){this._document=y(W,{optional:!0}),this._animationMode=y(Ge,{optional:!0}),this._globalRippleOptions=y(IC,{optional:!0}),this._platform=y(xe),this._ngZone=y(k),this._hosts=new Map,this._onInteraction=t=>{var o,s;let i=Gt(t);if(i instanceof HTMLElement){let a=i.closest("[".concat(jg,'="').concat((s=(o=this._globalRippleOptions)==null?void 0:o.namespace)!=null?s:"",'"]'));a&&this._createRipple(a)}},this._ngZone.runOutsideAngular(()=>{var t;for(let i of DC)(t=this._document)==null||t.addEventListener(i,this._onInteraction,CC)})}ngOnDestroy(){var i;let t=this._hosts.keys();for(let o of t)this.destroyRipple(o);for(let o of DC)(i=this._document)==null||i.removeEventListener(o,this._onInteraction,CC)}configureRipple(t,i){var o,s;t.setAttribute(jg,(s=(o=this._globalRippleOptions)==null?void 0:o.namespace)!=null?s:""),(i.className||!t.hasAttribute(Vg))&&t.setAttribute(Vg,i.className||""),i.centered&&t.setAttribute(EC,""),i.disabled&&t.setAttribute(xu,"")}getRipple(t){return this._hosts.get(t)||this._createRipple(t)}setDisabled(t,i){let o=this._hosts.get(t);if(o){o.disabled=i;return}i?t.setAttribute(xu,""):t.removeAttribute(xu)}_createRipple(t){var a;if(!this._document)return;let i=this._hosts.get(t);if(i)return i;(a=t.querySelector(".mat-ripple"))==null||a.remove();let o=this._document.createElement("span");o.classList.add("mat-ripple",t.getAttribute(Vg)),t.append(o);let s=new ro(new P(o),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return s._isInitialized=!0,s.trigger=t,s.centered=t.hasAttribute(EC),s.disabled=t.hasAttribute(xu),this.attachRipple(t,s),s}attachRipple(t,i){t.removeAttribute(jg),this._hosts.set(t,i)}destroyRipple(t){let i=this._hosts.get(t);i&&(i.ngOnDestroy(),this._hosts.delete(t))}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})(),AC=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=j({type:e,selectors:[["div","mat-internal-form-field",""]],hostAttrs:[1,"mdc-form-field","mat-internal-form-field"],hostVars:2,hostBindings:function(i,o){i&2&&ae("mdc-form-field--align-end",o.labelPosition==="before")},inputs:{labelPosition:"labelPosition"},standalone:!0,features:[Oe],attrs:nF,ngContentSelectors:iF,decls:1,vars:0,template:function(i,o){i&1&&(Je(),ue(0))},styles:[".mdc-form-field{display:inline-flex;align-items:center;vertical-align:middle}.mdc-form-field[hidden]{display:none}.mdc-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{margin-left:auto;margin-right:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{padding-left:0;padding-right:4px}.mdc-form-field--nowrap>label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{margin-left:0;margin-right:auto}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{padding-left:4px;padding-right:0}.mdc-form-field--space-between{justify-content:space-between}.mdc-form-field--space-between>label{margin:0}[dir=rtl] .mdc-form-field--space-between>label,.mdc-form-field--space-between>label[dir=rtl]{margin:0}.mat-internal-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}"],encapsulation:2,changeDetection:0});let n=e;return n})();var ce=function(n){return n[n.State=0]="State",n[n.Transition=1]="Transition",n[n.Sequence=2]="Sequence",n[n.Group=3]="Group",n[n.Animate=4]="Animate",n[n.Keyframes=5]="Keyframes",n[n.Style=6]="Style",n[n.Trigger=7]="Trigger",n[n.Reference=8]="Reference",n[n.AnimateChild=9]="AnimateChild",n[n.AnimateRef=10]="AnimateRef",n[n.Query=11]="Query",n[n.Stagger=12]="Stagger",n}(ce||{}),di="*";function Nn(n,e){return{type:ce.Trigger,name:n,definitions:e,options:{}}}function pn(n,e=null){return{type:ce.Animate,styles:e,timings:n}}function kC(n,e=null){return{type:ce.Sequence,steps:n,options:e}}function ot(n){return{type:ce.Style,styles:n,offset:null}}function gn(n,e,r){return{type:ce.State,name:n,styles:e,options:r}}function Qt(n,e,r=null){return{type:ce.Transition,expr:n,animation:e,options:r}}function OC(n=null){return{type:ce.AnimateChild,options:n}}function RC(n,e,r=null){return{type:ce.Query,selector:n,animation:e,options:r}}var mr=class{constructor(e=0,r=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=e+r}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(e){this._position=this.totalTime?e*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(e){let r=e=="start"?this._onStartFns:this._onDoneFns;r.forEach(t=>t()),r.length=0}},Za=class{constructor(e){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=e;let r=0,t=0,i=0,o=this.players.length;o==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++r==o&&this._onFinish()}),s.onDestroy(()=>{++t==o&&this._onDestroy()}),s.onStart(()=>{++i==o&&this._onStart()})}),this.totalTime=this.players.reduce((s,a)=>Math.max(s,a.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this.players.forEach(e=>e.init())}onStart(e){this._onStartFns.push(e)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(e=>e()),this._onStartFns=[])}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(e=>e.play())}pause(){this.players.forEach(e=>e.pause())}restart(){this.players.forEach(e=>e.restart())}finish(){this._onFinish(),this.players.forEach(e=>e.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(e=>e.destroy()),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this.players.forEach(e=>e.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(e){let r=e*this.totalTime;this.players.forEach(t=>{let i=t.totalTime?Math.min(1,r/t.totalTime):1;t.setPosition(i)})}getPosition(){let e=this.players.reduce((r,t)=>r===null||t.totalTime>r.totalTime?t:r,null);return e!=null?e.getPosition():0}beforeDestroy(){this.players.forEach(e=>{e.beforeDestroy&&e.beforeDestroy()})}triggerCallback(e){let r=e=="start"?this._onStartFns:this._onDoneFns;r.forEach(t=>t()),r.length=0}},Du="!";function uF(n,e){}var Qa=class{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.delayFocusTrap=!0,this.closeOnNavigation=!0}},Yg="mdc-dialog--open",NC="mdc-dialog--opening",PC="mdc-dialog--closing",fF=150,hF=75,mF=(()=>{let e=class e extends Fg{constructor(t,i,o,s,a,l,c,d,u){var f,m;super(t,i,o,s,a,l,c,u),this._animationMode=d,this._animationStateChanged=new $,this._animationsEnabled=this._animationMode!=="NoopAnimations",this._actionSectionCount=0,this._hostElement=this._elementRef.nativeElement,this._enterAnimationDuration=this._animationsEnabled?(f=LC(this._config.enterAnimationDuration))!=null?f:fF:0,this._exitAnimationDuration=this._animationsEnabled?(m=LC(this._config.exitAnimationDuration))!=null?m:hF:0,this._animationTimer=null,this._finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._enterAnimationDuration)},this._finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._exitAnimationDuration})}}_contentAttached(){super._contentAttached(),this._startOpenAnimation()}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._enterAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(FC,"".concat(this._enterAnimationDuration,"ms")),this._requestAnimationFrame(()=>this._hostElement.classList.add(NC,Yg)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(Yg),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(Yg),this._animationsEnabled?(this._hostElement.style.setProperty(FC,"".concat(this._exitAnimationDuration,"ms")),this._requestAnimationFrame(()=>this._hostElement.classList.add(PC)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_updateActionSectionCount(t){this._actionSectionCount+=t,this._changeDetectorRef.markForCheck()}_clearAnimationClasses(){this._hostElement.classList.remove(NC,PC)}_waitForAnimationToComplete(t,i){this._animationTimer!==null&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(i,t)}_requestAnimationFrame(t){this._ngZone.runOutsideAngular(()=>{typeof requestAnimationFrame=="function"?requestAnimationFrame(t):t()})}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(t){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:t})}ngOnDestroy(){super.ngOnDestroy(),this._animationTimer!==null&&clearTimeout(this._animationTimer)}attachComponentPortal(t){let i=super.attachComponentPortal(t);return i.location.nativeElement.classList.add("mat-mdc-dialog-component-host"),i}};e.\u0275fac=function(i){return new(i||e)(h(P),h(_u),h(W,8),h(Qa),h(Ha),h(k),h(Oi),h(Ge,8),h(Zt))},e.\u0275cmp=j({type:e,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:10,hostBindings:function(i,o){i&2&&(dn("id",o._config.id),De("aria-modal",o._config.ariaModal)("role",o._config.role)("aria-labelledby",o._config.ariaLabel?null:o._ariaLabelledByQueue[0])("aria-label",o._config.ariaLabel)("aria-describedby",o._config.ariaDescribedBy||null),ae("_mat-animation-noopable",!o._animationsEnabled)("mat-mdc-dialog-container-with-actions",o._actionSectionCount>0))},standalone:!0,features:[Ue,Oe],decls:3,vars:0,consts:[[1,"mat-mdc-dialog-inner-container","mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(i,o){i&1&&(p(0,"div",0)(1,"div",1),F(2,uF,0,0,"ng-template",2),b()())},dependencies:[Jr],styles:['.mat-mdc-dialog-container{width:100%;height:100%;display:block;box-sizing:border-box;max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit;outline:0}.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-max-width, 80vw);min-width:var(--mat-dialog-container-min-width, 0)}@media(max-width: 599px){.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-small-max-width, 80vw)}}.mat-mdc-dialog-inner-container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;opacity:0;transition:opacity linear var(--mat-dialog-transition-duration, 0ms);max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mdc-dialog--closing .mat-mdc-dialog-inner-container{transition:opacity 75ms linear;transform:none}.mdc-dialog--open .mat-mdc-dialog-inner-container{opacity:1}._mat-animation-noopable .mat-mdc-dialog-inner-container{transition:none}.mat-mdc-dialog-surface{display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;width:100%;height:100%;position:relative;overflow-y:auto;outline:0;transform:scale(0.8);transition:transform var(--mat-dialog-transition-duration, 0ms) cubic-bezier(0, 0, 0.2, 1);max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit;box-shadow:var(--mat-dialog-container-elevation-shadow, 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12));border-radius:var(--mdc-dialog-container-shape, 4px);background-color:var(--mdc-dialog-container-color, white)}[dir=rtl] .mat-mdc-dialog-surface{text-align:right}.mdc-dialog--open .mat-mdc-dialog-surface,.mdc-dialog--closing .mat-mdc-dialog-surface{transform:none}._mat-animation-noopable .mat-mdc-dialog-surface{transition:none}.mat-mdc-dialog-surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mat-mdc-dialog-title{display:block;margin-top:0;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:var(--mat-dialog-headline-padding, 0 24px 9px)}.mat-mdc-dialog-title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mat-mdc-dialog-title{text-align:right}.mat-mdc-dialog-container .mat-mdc-dialog-title{color:var(--mdc-dialog-subhead-color, rgba(0, 0, 0, 0.87));font-family:var(--mdc-dialog-subhead-font, Roboto, sans-serif);line-height:var(--mdc-dialog-subhead-line-height, 1.5rem);font-size:var(--mdc-dialog-subhead-size, 1rem);font-weight:var(--mdc-dialog-subhead-weight, 400);letter-spacing:var(--mdc-dialog-subhead-tracking, 0.03125em)}.mat-mdc-dialog-content{display:block;flex-grow:1;box-sizing:border-box;margin:0;overflow:auto;max-height:65vh}.mat-mdc-dialog-content>:first-child{margin-top:0}.mat-mdc-dialog-content>:last-child{margin-bottom:0}.mat-mdc-dialog-container .mat-mdc-dialog-content{color:var(--mdc-dialog-supporting-text-color, rgba(0, 0, 0, 0.6));font-family:var(--mdc-dialog-supporting-text-font, Roboto, sans-serif);line-height:var(--mdc-dialog-supporting-text-line-height, 1.5rem);font-size:var(--mdc-dialog-supporting-text-size, 1rem);font-weight:var(--mdc-dialog-supporting-text-weight, 400);letter-spacing:var(--mdc-dialog-supporting-text-tracking, 0.03125em)}.mat-mdc-dialog-container .mat-mdc-dialog-content{padding:var(--mat-dialog-content-padding, 20px 24px)}.mat-mdc-dialog-container-with-actions .mat-mdc-dialog-content{padding:var(--mat-dialog-with-actions-content-padding, 20px 24px)}.mat-mdc-dialog-container .mat-mdc-dialog-title+.mat-mdc-dialog-content{padding-top:0}.mat-mdc-dialog-actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid rgba(0,0,0,0);padding:var(--mat-dialog-actions-padding, 8px);justify-content:var(--mat-dialog-actions-alignment, start)}.cdk-high-contrast-active .mat-mdc-dialog-actions{border-top-color:CanvasText}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-start,.mat-mdc-dialog-actions[align=start]{justify-content:start}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center,.mat-mdc-dialog-actions[align=center]{justify-content:center}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end,.mat-mdc-dialog-actions[align=end]{justify-content:flex-end}.mat-mdc-dialog-actions .mat-button-base+.mat-button-base,.mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-mdc-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}.mat-mdc-dialog-component-host{display:contents}'],encapsulation:2});let n=e;return n})(),FC="--mat-dialog-transition-duration";function LC(n){return n==null?null:typeof n=="number"?n:n.endsWith("ms")?Si(n.substring(0,n.length-2)):n.endsWith("s")?Si(n.substring(0,n.length-1))*1e3:n==="0"?0:null}var Eu=function(n){return n[n.OPEN=0]="OPEN",n[n.CLOSING=1]="CLOSING",n[n.CLOSED=2]="CLOSED",n}(Eu||{}),oo=class{constructor(e,r,t){this._ref=e,this._containerInstance=t,this._afterOpened=new A,this._beforeClosed=new A,this._state=Eu.OPEN,this.disableClose=r.disableClose,this.id=e.id,e.addPanelClass("mat-mdc-dialog-panel"),t._animationStateChanged.pipe(le(i=>i.state==="opened"),Ve(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),t._animationStateChanged.pipe(le(i=>i.state==="closed"),Ve(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),e.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),vt(this.backdropClick(),this.keydownEvents().pipe(le(i=>i.keyCode===27&&!this.disableClose&&!ht(i)))).subscribe(i=>{this.disableClose||(i.preventDefault(),jC(this,i.type==="keydown"?"keyboard":"mouse"))})}close(e){this._result=e,this._containerInstance._animationStateChanged.pipe(le(r=>r.state==="closing"),Ve(1)).subscribe(r=>{this._beforeClosed.next(e),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),r.totalTime+100)}),this._state=Eu.CLOSING,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(e){let r=this._ref.config.positionStrategy;return e&&(e.left||e.right)?e.left?r.left(e.left):r.right(e.right):r.centerHorizontally(),e&&(e.top||e.bottom)?e.top?r.top(e.top):r.bottom(e.bottom):r.centerVertically(),this._ref.updatePosition(),this}updateSize(e="",r=""){return this._ref.updateSize(e,r),this}addPanelClass(e){return this._ref.addPanelClass(e),this}removePanelClass(e){return this._ref.removePanelClass(e),this}getState(){return this._state}_finishDialogClose(){this._state=Eu.CLOSED,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}};function jC(n,e,r){return n._closeInteractionType=e,n.close(r)}var Ka=new E("MatMdcDialogData"),pF=new E("mat-mdc-dialog-default-options"),gF=new E("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:()=>{let n=y(Ye);return()=>n.scrollStrategies.block()}});var bF=0,Xa=(()=>{let e=class e{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){let t=this._parentDialog;return t?t._getAfterAllClosed():this._afterAllClosedAtThisLevel}constructor(t,i,o,s,a,l,c,d){this._overlay=t,this._defaultOptions=s,this._scrollStrategy=a,this._parentDialog=l,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new A,this._afterOpenedAtThisLevel=new A,this.dialogConfigClass=Qa,this.afterAllClosed=Bn(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(at(void 0))),this._dialog=i.get(Lg),this._dialogRefConstructor=oo,this._dialogContainerType=mF,this._dialogDataToken=Ka}open(t,i){let o;i=D(D({},this._defaultOptions||new Qa),i),i.id=i.id||"mat-mdc-dialog-".concat(bF++),i.scrollStrategy=i.scrollStrategy||this._scrollStrategy();let s=this._dialog.open(t,_e(D({},i),{positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:i},{provide:io,useValue:i}]},templateContext:()=>({dialogRef:o}),providers:(a,l,c)=>(o=new this._dialogRefConstructor(a,i,c),o.updatePosition(i==null?void 0:i.position),[{provide:this._dialogContainerType,useValue:c},{provide:this._dialogDataToken,useValue:l.data},{provide:this._dialogRefConstructor,useValue:o}])}));return o.componentRef=s.componentRef,o.componentInstance=s.componentInstance,this.openDialogs.push(o),this.afterOpened.next(o),o.afterClosed().subscribe(()=>{let a=this.openDialogs.indexOf(o);a>-1&&(this.openDialogs.splice(a,1),this.openDialogs.length||this._getAfterAllClosed().next())}),o}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(t){return this.openDialogs.find(i=>i.id===t)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(t){let i=t.length;for(;i--;)t[i].close()}};e.\u0275fac=function(i){return new(i||e)(v(Ye),v(Ce),v(ii,8),v(pF,8),v(gF),v(e,12),v(gs),v(Ge,8))},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})(),vF=0,Iu=(()=>{let e=class e{constructor(t,i,o){this.dialogRef=t,this._elementRef=i,this._dialog=o,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=BC(this._elementRef,this._dialog.openDialogs))}ngOnChanges(t){let i=t._matDialogClose||t._matDialogCloseResult;i&&(this.dialogResult=i.currentValue)}_onButtonClick(t){jC(this.dialogRef,t.screenX===0&&t.screenY===0?"keyboard":"mouse",this.dialogResult)}};e.\u0275fac=function(i){return new(i||e)(h(oo,8),h(P),h(Xa))},e.\u0275dir=N({type:e,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(i,o){i&1&&z("click",function(a){return o._onButtonClick(a)}),i&2&&De("aria-label",o.ariaLabel||null)("type",o.type)},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],type:"type",dialogResult:[0,"mat-dialog-close","dialogResult"],_matDialogClose:[0,"matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],standalone:!0,features:[We]});let n=e;return n})(),VC=(()=>{let e=class e{constructor(t,i,o){this._dialogRef=t,this._elementRef=i,this._dialog=o}ngOnInit(){this._dialogRef||(this._dialogRef=BC(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{this._onAdd()})}ngOnDestroy(){var i;((i=this._dialogRef)==null?void 0:i._containerInstance)&&Promise.resolve().then(()=>{this._onRemove()})}};e.\u0275fac=function(i){return new(i||e)(h(oo,8),h(P),h(Xa))},e.\u0275dir=N({type:e,standalone:!0});let n=e;return n})(),Mu=(()=>{let e=class e extends VC{constructor(){super(...arguments),this.id="mat-mdc-dialog-title-".concat(vF++)}_onAdd(){var t,i;(i=(t=this._dialogRef._containerInstance)==null?void 0:t._addAriaLabelledBy)==null||i.call(t,this.id)}_onRemove(){var t,i,o;(o=(i=(t=this._dialogRef)==null?void 0:t._containerInstance)==null?void 0:i._removeAriaLabelledBy)==null||o.call(i,this.id)}};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=an(e)))(o||e)}})(),e.\u0275dir=N({type:e,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-mdc-dialog-title","mdc-dialog__title"],hostVars:1,hostBindings:function(i,o){i&2&&dn("id",o.id)},inputs:{id:"id"},exportAs:["matDialogTitle"],standalone:!0,features:[Ue]});let n=e;return n})(),Su=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=N({type:e,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"],standalone:!0,features:[z0([gg])]});let n=e;return n})(),Tu=(()=>{let e=class e extends VC{_onAdd(){var t,i;(i=(t=this._dialogRef._containerInstance)==null?void 0:t._updateActionSectionCount)==null||i.call(t,1)}_onRemove(){var t,i;(i=(t=this._dialogRef._containerInstance)==null?void 0:t._updateActionSectionCount)==null||i.call(t,-1)}};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=an(e)))(o||e)}})(),e.\u0275dir=N({type:e,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-mdc-dialog-actions","mdc-dialog__actions"],hostVars:6,hostBindings:function(i,o){i&2&&ae("mat-mdc-dialog-actions-align-start",o.align==="start")("mat-mdc-dialog-actions-align-center",o.align==="center")("mat-mdc-dialog-actions-align-end",o.align==="end")},inputs:{align:"align"},standalone:!0,features:[Ue]});let n=e;return n})();function BC(n,e){let r=n.nativeElement.parentElement;for(;r&&!r.classList.contains("mat-mdc-dialog-container");)r=r.parentElement;return r?e.find(t=>t.id===r.id):null}var UC=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=V({type:e}),e.\u0275inj=L({providers:[Xa],imports:[bC,ci,ki,Ae,Ae]});let n=e;return n})();var zC=["mat-button",""],HC=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],$C=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],_F='.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px);display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{font-family:var(--mdc-text-button-label-text-font);font-size:var(--mdc-text-button-label-text-size);letter-spacing:var(--mdc-text-button-label-text-tracking);font-weight:var(--mdc-text-button-label-text-weight);text-transform:var(--mdc-text-button-label-text-transform);height:var(--mdc-text-button-container-height);border-radius:var(--mdc-text-button-container-shape);padding:0 var(--mat-text-button-horizontal-padding, 8px)}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape)}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-text-button-with-icon-horizontal-padding, 8px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color)}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color)}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-state-layer-color)}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity)}.mat-mdc-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-focus-state-layer-opacity)}.mat-mdc-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity)}.mat-mdc-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-text-button-touch-target-display)}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-unelevated-button{font-family:var(--mdc-filled-button-label-text-font);font-size:var(--mdc-filled-button-label-text-size);letter-spacing:var(--mdc-filled-button-label-text-tracking);font-weight:var(--mdc-filled-button-label-text-weight);text-transform:var(--mdc-filled-button-label-text-transform);height:var(--mdc-filled-button-container-height);border-radius:var(--mdc-filled-button-container-shape);padding:0 var(--mat-filled-button-horizontal-padding, 16px)}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color)}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape)}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color)}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color)}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-state-layer-color)}.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity)}.mat-mdc-unelevated-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-focus-state-layer-opacity)}.mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity)}.mat-mdc-unelevated-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-filled-button-touch-target-display)}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color);background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{font-family:var(--mdc-protected-button-label-text-font);font-size:var(--mdc-protected-button-label-text-size);letter-spacing:var(--mdc-protected-button-label-text-tracking);font-weight:var(--mdc-protected-button-label-text-weight);text-transform:var(--mdc-protected-button-label-text-transform);height:var(--mdc-protected-button-container-height);border-radius:var(--mdc-protected-button-container-shape);padding:0 var(--mat-protected-button-horizontal-padding, 16px);box-shadow:var(--mdc-protected-button-container-elevation-shadow)}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color)}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape)}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color)}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color)}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-state-layer-color)}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity)}.mat-mdc-raised-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-focus-state-layer-opacity)}.mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity)}.mat-mdc-raised-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-protected-button-touch-target-display)}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow)}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow)}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow)}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color);background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation-shadow)}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{font-family:var(--mdc-outlined-button-label-text-font);font-size:var(--mdc-outlined-button-label-text-size);letter-spacing:var(--mdc-outlined-button-label-text-tracking);font-weight:var(--mdc-outlined-button-label-text-weight);text-transform:var(--mdc-outlined-button-label-text-transform);height:var(--mdc-outlined-button-container-height);border-radius:var(--mdc-outlined-button-container-shape);padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width);padding:0 var(--mat-outlined-button-horizontal-padding, 15px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color)}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape)}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color)}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width))}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color)}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color)}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-state-layer-color)}.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity)}.mat-mdc-outlined-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-focus-state-layer-opacity)}.mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity)}.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-outlined-button-touch-target-display)}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color);border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button-base{text-decoration:none}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px)*-1)}',WC=".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}";var yF=["mat-icon-button",""],xF=["*"];var wF=new E("MAT_BUTTON_CONFIG");var CF=[{attribute:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{attribute:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{attribute:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{attribute:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{attribute:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab"]},{attribute:"mat-mini-fab",mdcClasses:["mdc-fab","mdc-fab--mini","mat-mdc-mini-fab"]},{attribute:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],Qg=(()=>{let e=class e{get ripple(){var t;return(t=this._rippleLoader)==null?void 0:t.getRipple(this._elementRef.nativeElement)}set ripple(t){var i;(i=this._rippleLoader)==null||i.attachRipple(this._elementRef.nativeElement,t)}get disableRipple(){return this._disableRipple}set disableRipple(t){this._disableRipple=t,this._updateRippleDisabled()}get disabled(){return this._disabled}set disabled(t){this._disabled=t,this._updateRippleDisabled()}constructor(t,i,o,s){var d,u;this._elementRef=t,this._platform=i,this._ngZone=o,this._animationMode=s,this._focusMonitor=y(Zt),this._rippleLoader=y(TC),this._isFab=!1,this._disableRipple=!1,this._disabled=!1;let a=y(wF,{optional:!0}),l=t.nativeElement,c=l.classList;this.disabledInteractive=(d=a==null?void 0:a.disabledInteractive)!=null?d:!1,(u=this._rippleLoader)==null||u.configureRipple(l,{className:"mat-mdc-button-ripple"});for(let{attribute:f,mdcClasses:m}of CF)l.hasAttribute(f)&&c.add(...m)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){var t;this._focusMonitor.stopMonitoring(this._elementRef),(t=this._rippleLoader)==null||t.destroyRipple(this._elementRef.nativeElement)}focus(t="program",i){t?this._focusMonitor.focusVia(this._elementRef.nativeElement,t,i):this._elementRef.nativeElement.focus(i)}_getAriaDisabled(){return this.ariaDisabled!=null?this.ariaDisabled:this.disabled&&this.disabledInteractive?!0:null}_getDisabledAttribute(){return this.disabledInteractive||!this.disabled?null:!0}_updateRippleDisabled(){var t;(t=this._rippleLoader)==null||t.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}};e.\u0275fac=function(i){na()},e.\u0275dir=N({type:e,inputs:{color:"color",disableRipple:[2,"disableRipple","disableRipple",oe],disabled:[2,"disabled","disabled",oe],ariaDisabled:[2,"aria-disabled","ariaDisabled",oe],disabledInteractive:[2,"disabledInteractive","disabledInteractive",oe]},features:[Le]});let n=e;return n})();var DF=(()=>{let e=class e extends Qg{constructor(t,i,o,s){super(t,i,o,s),this._haltDisabledEvents=a=>{this.disabled&&(a.preventDefault(),a.stopImmediatePropagation())}}ngOnInit(){this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)})}ngOnDestroy(){super.ngOnDestroy(),this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)}_getAriaDisabled(){return this.ariaDisabled==null?this.disabled:this.ariaDisabled}};e.\u0275fac=function(i){na()},e.\u0275dir=N({type:e,inputs:{tabIndex:[2,"tabIndex","tabIndex",t=>t==null?void 0:ti(t)]},features:[Le,Ue]});let n=e;return n})(),ui=(()=>{let e=class e extends Qg{constructor(t,i,o,s){super(t,i,o,s)}};e.\u0275fac=function(i){return new(i||e)(h(P),h(xe),h(k),h(Ge,8))},e.\u0275cmp=j({type:e,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:14,hostBindings:function(i,o){i&2&&(De("disabled",o._getDisabledAttribute())("aria-disabled",o._getAriaDisabled()),zt(o.color?"mat-"+o.color:""),ae("mat-mdc-button-disabled",o.disabled)("mat-mdc-button-disabled-interactive",o.disabledInteractive)("_mat-animation-noopable",o._animationMode==="NoopAnimations")("mat-unthemed",!o.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[Ue,Oe],attrs:zC,ngContentSelectors:$C,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(i,o){i&1&&(Je(HC),O(0,"span",0),ue(1),p(2,"span",1),ue(3,1),b(),ue(4,2),O(5,"span",2)(6,"span",3)),i&2&&ae("mdc-button__ripple",!o._isFab)("mdc-fab__ripple",o._isFab)},styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px);display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{font-family:var(--mdc-text-button-label-text-font);font-size:var(--mdc-text-button-label-text-size);letter-spacing:var(--mdc-text-button-label-text-tracking);font-weight:var(--mdc-text-button-label-text-weight);text-transform:var(--mdc-text-button-label-text-transform);height:var(--mdc-text-button-container-height);border-radius:var(--mdc-text-button-container-shape);padding:0 var(--mat-text-button-horizontal-padding, 8px)}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape)}.mat-mdc-button:has(.material-icons,mat-icon,[matButtonIcon]){padding:0 var(--mat-text-button-with-icon-horizontal-padding, 8px)}.mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}[dir=rtl] .mat-mdc-button>.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}.mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-offset, 0);margin-left:var(--mat-text-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon{margin-right:var(--mat-text-button-icon-spacing, 8px);margin-left:var(--mat-text-button-icon-offset, 0)}.mat-mdc-button .mat-ripple-element{background-color:var(--mat-text-button-ripple-color)}.mat-mdc-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-state-layer-color)}.mat-mdc-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-text-button-disabled-state-layer-color)}.mat-mdc-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-hover-state-layer-opacity)}.mat-mdc-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-focus-state-layer-opacity)}.mat-mdc-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-text-button-pressed-state-layer-opacity)}.mat-mdc-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-text-button-touch-target-display)}.mat-mdc-button[disabled],.mat-mdc-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-text-button-disabled-label-text-color)}.mat-mdc-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-unelevated-button{font-family:var(--mdc-filled-button-label-text-font);font-size:var(--mdc-filled-button-label-text-size);letter-spacing:var(--mdc-filled-button-label-text-tracking);font-weight:var(--mdc-filled-button-label-text-weight);text-transform:var(--mdc-filled-button-label-text-transform);height:var(--mdc-filled-button-container-height);border-radius:var(--mdc-filled-button-container-shape);padding:0 var(--mat-filled-button-horizontal-padding, 16px)}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color)}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape)}.mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-offset, -4px);margin-left:var(--mat-filled-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon{margin-right:var(--mat-filled-button-icon-spacing, 8px);margin-left:var(--mat-filled-button-icon-offset, -4px)}.mat-mdc-unelevated-button .mat-ripple-element{background-color:var(--mat-filled-button-ripple-color)}.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-state-layer-color)}.mat-mdc-unelevated-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-filled-button-disabled-state-layer-color)}.mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-hover-state-layer-opacity)}.mat-mdc-unelevated-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-focus-state-layer-opacity)}.mat-mdc-unelevated-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-filled-button-pressed-state-layer-opacity)}.mat-mdc-unelevated-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-filled-button-touch-target-display)}.mat-mdc-unelevated-button[disabled],.mat-mdc-unelevated-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-filled-button-disabled-label-text-color);background-color:var(--mdc-filled-button-disabled-container-color)}.mat-mdc-unelevated-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-raised-button{font-family:var(--mdc-protected-button-label-text-font);font-size:var(--mdc-protected-button-label-text-size);letter-spacing:var(--mdc-protected-button-label-text-tracking);font-weight:var(--mdc-protected-button-label-text-weight);text-transform:var(--mdc-protected-button-label-text-transform);height:var(--mdc-protected-button-container-height);border-radius:var(--mdc-protected-button-container-shape);padding:0 var(--mat-protected-button-horizontal-padding, 16px);box-shadow:var(--mdc-protected-button-container-elevation-shadow)}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color)}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape)}.mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-raised-button>.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}.mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-offset, -4px);margin-left:var(--mat-protected-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon{margin-right:var(--mat-protected-button-icon-spacing, 8px);margin-left:var(--mat-protected-button-icon-offset, -4px)}.mat-mdc-raised-button .mat-ripple-element{background-color:var(--mat-protected-button-ripple-color)}.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-state-layer-color)}.mat-mdc-raised-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-protected-button-disabled-state-layer-color)}.mat-mdc-raised-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-hover-state-layer-opacity)}.mat-mdc-raised-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-focus-state-layer-opacity)}.mat-mdc-raised-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-protected-button-pressed-state-layer-opacity)}.mat-mdc-raised-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-protected-button-touch-target-display)}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation-shadow)}.mat-mdc-raised-button:focus{box-shadow:var(--mdc-protected-button-focus-container-elevation-shadow)}.mat-mdc-raised-button:active,.mat-mdc-raised-button:focus:active{box-shadow:var(--mdc-protected-button-pressed-container-elevation-shadow)}.mat-mdc-raised-button[disabled],.mat-mdc-raised-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-protected-button-disabled-label-text-color);background-color:var(--mdc-protected-button-disabled-container-color)}.mat-mdc-raised-button[disabled].mat-mdc-button-disabled,.mat-mdc-raised-button.mat-mdc-button-disabled.mat-mdc-button-disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation-shadow)}.mat-mdc-raised-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-outlined-button{font-family:var(--mdc-outlined-button-label-text-font);font-size:var(--mdc-outlined-button-label-text-size);letter-spacing:var(--mdc-outlined-button-label-text-tracking);font-weight:var(--mdc-outlined-button-label-text-weight);text-transform:var(--mdc-outlined-button-label-text-transform);height:var(--mdc-outlined-button-container-height);border-radius:var(--mdc-outlined-button-container-shape);padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width);padding:0 var(--mat-outlined-button-horizontal-padding, 15px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color)}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape)}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color)}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width))}.mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}[dir=rtl] .mat-mdc-outlined-button>.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-offset, -4px);margin-left:var(--mat-outlined-button-icon-spacing, 8px)}[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-right:var(--mat-outlined-button-icon-spacing, 8px);margin-left:var(--mat-outlined-button-icon-offset, -4px)}.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-outlined-button-ripple-color)}.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-state-layer-color)}.mat-mdc-outlined-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-outlined-button-disabled-state-layer-color)}.mat-mdc-outlined-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-hover-state-layer-opacity)}.mat-mdc-outlined-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-focus-state-layer-opacity)}.mat-mdc-outlined-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-outlined-button-pressed-state-layer-opacity)}.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%);display:var(--mat-outlined-button-touch-target-display)}.mat-mdc-outlined-button[disabled],.mat-mdc-outlined-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-outlined-button-disabled-label-text-color);border-color:var(--mdc-outlined-button-disabled-outline-color)}.mat-mdc-outlined-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-button-base{text-decoration:none}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px)*-1)}',".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0});let n=e;return n})(),GC=(()=>{let e=class e extends DF{constructor(t,i,o,s){super(t,i,o,s)}};e.\u0275fac=function(i){return new(i||e)(h(P),h(xe),h(k),h(Ge,8))},e.\u0275cmp=j({type:e,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostVars:15,hostBindings:function(i,o){i&2&&(De("disabled",o._getDisabledAttribute())("tabindex",o.disabled&&!o.disabledInteractive?-1:o.tabIndex)("aria-disabled",o._getDisabledAttribute()),zt(o.color?"mat-"+o.color:""),ae("mat-mdc-button-disabled",o.disabled)("mat-mdc-button-disabled-interactive",o.disabledInteractive)("_mat-animation-noopable",o._animationMode==="NoopAnimations")("mat-unthemed",!o.color)("mat-mdc-button-base",!0))},exportAs:["matButton","matAnchor"],standalone:!0,features:[Ue,Oe],attrs:zC,ngContentSelectors:$C,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(i,o){i&1&&(Je(HC),O(0,"span",0),ue(1),p(2,"span",1),ue(3,1),b(),ue(4,2),O(5,"span",2)(6,"span",3)),i&2&&ae("mdc-button__ripple",!o._isFab)("mdc-fab__ripple",o._isFab)},styles:[_F,WC],encapsulation:2,changeDetection:0});let n=e;return n})();var qC=(()=>{let e=class e extends Qg{constructor(t,i,o,s){super(t,i,o,s),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}};e.\u0275fac=function(i){return new(i||e)(h(P),h(xe),h(k),h(Ge,8))},e.\u0275cmp=j({type:e,selectors:[["button","mat-icon-button",""]],hostVars:14,hostBindings:function(i,o){i&2&&(De("disabled",o._getDisabledAttribute())("aria-disabled",o._getAriaDisabled()),zt(o.color?"mat-"+o.color:""),ae("mat-mdc-button-disabled",o.disabled)("mat-mdc-button-disabled-interactive",o.disabledInteractive)("_mat-animation-noopable",o._animationMode==="NoopAnimations")("mat-unthemed",!o.color)("mat-mdc-button-base",!0))},exportAs:["matButton"],standalone:!0,features:[Ue,Oe],attrs:yF,ngContentSelectors:xF,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(i,o){i&1&&(Je(),O(0,"span",0),ue(1),O(2,"span",1)(3,"span",2))},styles:['.mdc-icon-button{display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;user-select:none;z-index:0;overflow:visible}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}@media screen and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{display:block}}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button[hidden]{display:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%;display:none}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring{border-color:CanvasText}}.mdc-icon-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring::after{border-color:CanvasText}}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}.mdc-icon-button__link{height:100%;left:0;outline:none;position:absolute;top:0;width:100%}.mat-mdc-icon-button{color:var(--mdc-icon-button-icon-color)}.mat-mdc-icon-button .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button svg,.mat-mdc-icon-button img{width:var(--mdc-icon-button-icon-size);height:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button:disabled{color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button{border-radius:50%;flex-shrink:0;text-align:center;width:var(--mdc-icon-button-state-layer-size, 48px);height:var(--mdc-icon-button-state-layer-size, 48px);padding:calc(calc(var(--mdc-icon-button-state-layer-size, 48px) - var(--mdc-icon-button-icon-size, 24px)) / 2);font-size:var(--mdc-icon-button-icon-size);-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button svg{vertical-align:baseline}.mat-mdc-icon-button[disabled],.mat-mdc-icon-button.mat-mdc-button-disabled{cursor:default;pointer-events:none;color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button.mat-mdc-button-disabled-interactive{pointer-events:auto}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0}.mat-mdc-icon-button .mdc-button__label{z-index:1}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-icon-button-ripple-color)}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-state-layer-color)}.mat-mdc-icon-button.mat-mdc-button-disabled .mat-mdc-button-persistent-ripple::before{background-color:var(--mat-icon-button-disabled-state-layer-color)}.mat-mdc-icon-button:hover .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-hover-state-layer-opacity)}.mat-mdc-icon-button.cdk-program-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.cdk-keyboard-focused .mat-mdc-button-persistent-ripple::before,.mat-mdc-icon-button.mat-mdc-button-disabled-interactive:focus .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-focus-state-layer-opacity)}.mat-mdc-icon-button:active .mat-mdc-button-persistent-ripple::before{opacity:var(--mat-icon-button-pressed-state-layer-opacity)}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%);display:var(--mat-icon-button-touch-target-display)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',WC],encapsulation:2,changeDetection:0});let n=e;return n})();var YC=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=V({type:e}),e.\u0275inj=L({imports:[Ae,Ya,Ae]});let n=e;return n})();var He=(()=>{let e=class e{constructor(t){this.el=t}ngOnInit(){this.el.nativeElement.innerHTML=django.gettext(this.el.nativeElement.innerHTML.trim())}};e.\u0275fac=function(i){return new(i||e)(h(P))},e.\u0275dir=N({type:e,selectors:[["uds-translate"]]});let n=e;return n})();var pr=(()=>{let e=class e{constructor(t){this.sanitizer=t}transform(t,i){return t=t.replace(/<\s*script\s*/gi,""),t=t.replace(/onclick|onmouseover|onmouseout|onmousemove|onmouseenter|onmouseleave|onmouseup|onmousedown|onkeyup|onkeydown|onkeypress|onkeydown|onkeypress|onkeyup|onchange|onfocus|onblur|onload|onunload|onabort|onerror|onresize|onscroll/gi,""),t=t.replace(/javascript\s*\:/gi,""),this.sanitizer.bypassSecurityTrustHtml(t)}};e.\u0275fac=function(i){return new(i||e)(h(Ip,16))},e.\u0275pipe=lm({name:"safeHtml",type:e,pure:!0});let n=e;return n})();function EF(n,e){if(n&1){let r=Me();p(0,"button",3),z("click",function(){te(r);let i=R();return ne(i.resolveAndClose(!1))}),p(1,"uds-translate"),w(2,"Close"),b(),w(3),b()}if(n&2){let r=R();x(3),ct(r.extra)}}function IF(n,e){if(n&1){let r=Me();p(0,"button",3),z("click",function(){te(r);let i=R();return ne(i.resolveAndClose(!0))}),p(1,"uds-translate"),w(2,"Yes"),b()()}}function MF(n,e){if(n&1){let r=Me();p(0,"button",3),z("click",function(){te(r);let i=R();return ne(i.resolveAndClose(!1))}),p(1,"uds-translate"),w(2,"No"),b()()}}var Ja=function(n){return n[n.alert=0]="alert",n[n.yesno=1]="yesno",n[n.credentials=2]="credentials",n}(Ja||{}),Kg=(()=>{let e=class e{constructor(t,i){this.dialogRef=t,this.data=i,this.extra="",this.yesno=new Va}resolveAndClose(t){this.yesno.resolve(t),this.close()}close(){this.dialogRef.close()}setExtra(t){this.extra=" ("+Math.floor(t/1e3)+" "+django.gettext("seconds")+") "}initAlert(){return ke(this,null,function*(){let t=this.data.autoclose||0;t>0&&(this.dialogRef.afterClosed().subscribe(i=>{this.close()}),this.setExtra(t),Uf(1e3).subscribe(i=>{let o=t-(i+1)*1e3;this.setExtra(o),o<=0&&this.close()}))})}ngOnInit(){this.data.type===Ja.alert&&this.initAlert()}};e.\u0275fac=function(i){return new(i||e)(h(oo),h(Ka))},e.\u0275cmp=j({type:e,selectors:[["uds-modal"]],decls:8,vars:9,consts:[["mat-dialog-title","",3,"innerHtml"],[3,"innerHTML"],["mat-raised-button","","mat-dialog-close","",3,"click",4,"ngIf"],["mat-raised-button","","mat-dialog-close","",3,"click"]],template:function(i,o){i&1&&(O(0,"h4",0),Jn(1,"safeHtml"),O(2,"mat-dialog-content",1),Jn(3,"safeHtml"),p(4,"mat-dialog-actions"),F(5,EF,4,1,"button",2)(6,IF,3,0,"button",2)(7,MF,3,0,"button",2),b()),i&2&&(M("innerHtml",ei(1,5,o.data.title),Xn),x(2),M("innerHTML",ei(3,7,o.data.body),Xn),x(3),M("ngIf",o.data.type===0),x(),M("ngIf",o.data.type===1),x(),M("ngIf",o.data.type===1))},dependencies:[Mt,ui,Iu,Mu,Tu,Su,He,pr],styles:[".uds-modal-footer[_ngcontent-%COMP%]{display:flex;justify-content:left}.mat-mdc-dialog-actions[_ngcontent-%COMP%]{justify-content:flex-end}"]});let n=e;return n})();var nD=(()=>{let e=class e{constructor(t,i){this._renderer=t,this._elementRef=i,this.onChange=o=>{},this.onTouched=()=>{}}setProperty(t,i){this._renderer.setProperty(this._elementRef.nativeElement,t,i)}registerOnTouched(t){this.onTouched=t}registerOnChange(t){this.onChange=t}setDisabledState(t){this.setProperty("disabled",t)}};e.\u0275fac=function(i){return new(i||e)(h(er),h(P))},e.\u0275dir=N({type:e});let n=e;return n})(),SF=(()=>{let e=class e extends nD{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=an(e)))(o||e)}})(),e.\u0275dir=N({type:e,features:[Ue]});let n=e;return n})(),Uu=new E("");var TF={provide:Uu,useExisting:_i(()=>zu),multi:!0};function AF(){let n=ni()?ni().getUserAgent():"";return/android (\d+)/.test(n.toLowerCase())}var kF=new E(""),zu=(()=>{let e=class e extends nD{constructor(t,i,o){super(t,i),this._compositionMode=o,this._composing=!1,this._compositionMode==null&&(this._compositionMode=!AF())}writeValue(t){let i=t==null?"":t;this.setProperty("value",i)}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}};e.\u0275fac=function(i){return new(i||e)(h(er),h(P),h(kF,8))},e.\u0275dir=N({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(i,o){i&1&&z("input",function(a){return o._handleInput(a.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(a){return o._compositionEnd(a.target.value)})},features:[ze([TF]),Ue]});let n=e;return n})();function gr(n){return n==null||(typeof n=="string"||Array.isArray(n))&&n.length===0}function iD(n){return n!=null&&typeof n.length=="number"}var ol=new E(""),tb=new E(""),OF=/^(?=.{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])?)*$/,Is=class{static min(e){return RF(e)}static max(e){return NF(e)}static required(e){return PF(e)}static requiredTrue(e){return FF(e)}static email(e){return LF(e)}static minLength(e){return jF(e)}static maxLength(e){return VF(e)}static pattern(e){return BF(e)}static nullValidator(e){return rD(e)}static compose(e){return dD(e)}static composeAsync(e){return uD(e)}};function RF(n){return e=>{if(gr(e.value)||gr(n))return null;let r=parseFloat(e.value);return!isNaN(r)&&r{if(gr(e.value)||gr(n))return null;let r=parseFloat(e.value);return!isNaN(r)&&r>n?{max:{max:n,actual:e.value}}:null}}function PF(n){return gr(n.value)?{required:!0}:null}function FF(n){return n.value===!0?null:{required:!0}}function LF(n){return gr(n.value)||OF.test(n.value)?null:{email:!0}}function jF(n){return e=>gr(e.value)||!iD(e.value)?null:e.value.lengthiD(e.value)&&e.value.length>n?{maxlength:{requiredLength:n,actualLength:e.value.length}}:null}function BF(n){if(!n)return rD;let e,r;return typeof n=="string"?(r="",n.charAt(0)!=="^"&&(r+="^"),r+=n,n.charAt(n.length-1)!=="$"&&(r+="$"),e=new RegExp(r)):(r=n.toString(),e=n),t=>{if(gr(t.value))return null;let i=t.value;return e.test(i)?null:{pattern:{requiredPattern:r,actualValue:i}}}}function rD(n){return null}function oD(n){return n!=null}function sD(n){return Yr(n)?je(n):n}function aD(n){let e={};return n.forEach(r=>{e=r!=null?D(D({},e),r):e}),Object.keys(e).length===0?null:e}function lD(n,e){return e.map(r=>r(n))}function UF(n){return!n.validate}function cD(n){return n.map(e=>UF(e)?e:r=>e.validate(r))}function dD(n){if(!n)return null;let e=n.filter(oD);return e.length==0?null:function(r){return aD(lD(r,e))}}function nb(n){return n!=null?dD(cD(n)):null}function uD(n){if(!n)return null;let e=n.filter(oD);return e.length==0?null:function(r){let t=lD(r,e).map(sD);return Bf(t).pipe(K(aD))}}function ib(n){return n!=null?uD(cD(n)):null}function ZC(n,e){return n===null?[e]:Array.isArray(n)?[...n,e]:[n,e]}function fD(n){return n._rawValidators}function hD(n){return n._rawAsyncValidators}function Xg(n){return n?Array.isArray(n)?n:[n]:[]}function Ou(n,e){return Array.isArray(n)?n.includes(e):n===e}function QC(n,e){let r=Xg(e);return Xg(n).forEach(i=>{Ou(r,i)||r.push(i)}),r}function KC(n,e){return Xg(e).filter(r=>!Ou(n,r))}var Ru=class{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(e){this._rawValidators=e||[],this._composedValidatorFn=nb(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=ib(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(e){this._onDestroyCallbacks.push(e)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(e=>e()),this._onDestroyCallbacks=[]}reset(e=void 0){this.control&&this.control.reset(e)}hasError(e,r){return this.control?this.control.hasError(e,r):!1}getError(e,r){return this.control?this.control.getError(e,r):null}},br=class extends Ru{get formDirective(){return null}get path(){return null}},Ni=class extends Ru{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}},Nu=class{constructor(e){this._cd=e}get isTouched(){var e,r;return!!((r=(e=this._cd)==null?void 0:e.control)!=null&&r.touched)}get isUntouched(){var e,r;return!!((r=(e=this._cd)==null?void 0:e.control)!=null&&r.untouched)}get isPristine(){var e,r;return!!((r=(e=this._cd)==null?void 0:e.control)!=null&&r.pristine)}get isDirty(){var e,r;return!!((r=(e=this._cd)==null?void 0:e.control)!=null&&r.dirty)}get isValid(){var e,r;return!!((r=(e=this._cd)==null?void 0:e.control)!=null&&r.valid)}get isInvalid(){var e,r;return!!((r=(e=this._cd)==null?void 0:e.control)!=null&&r.invalid)}get isPending(){var e,r;return!!((r=(e=this._cd)==null?void 0:e.control)!=null&&r.pending)}get isSubmitted(){var e;return!!((e=this._cd)!=null&&e.submitted)}},zF={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"},Kq=_e(D({},zF),{"[class.ng-submitted]":"isSubmitted"}),mD=(()=>{let e=class e extends Nu{constructor(t){super(t)}};e.\u0275fac=function(i){return new(i||e)(h(Ni,2))},e.\u0275dir=N({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,o){i&2&&ae("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)},features:[Ue]});let n=e;return n})(),Ms=(()=>{let e=class e extends Nu{constructor(t){super(t)}};e.\u0275fac=function(i){return new(i||e)(h(br,10))},e.\u0275dir=N({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(i,o){i&2&&ae("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)("ng-submitted",o.isSubmitted)},features:[Ue]});let n=e;return n})();var el="VALID",ku="INVALID",Ds="PENDING",tl="DISABLED",vr=class{},Pu=class extends vr{constructor(e,r){super(),this.value=e,this.source=r}},il=class extends vr{constructor(e,r){super(),this.pristine=e,this.source=r}},rl=class extends vr{constructor(e,r){super(),this.touched=e,this.source=r}},Es=class extends vr{constructor(e,r){super(),this.status=e,this.source=r}},Jg=class extends vr{constructor(e){super(),this.source=e}},eb=class extends vr{constructor(e){super(),this.source=e}};function pD(n){return(Hu(n)?n.validators:n)||null}function HF(n){return Array.isArray(n)?nb(n):n||null}function gD(n,e){return(Hu(e)?e.asyncValidators:n)||null}function $F(n){return Array.isArray(n)?ib(n):n||null}function Hu(n){return n!=null&&!Array.isArray(n)&&typeof n=="object"}function WF(n,e,r){let t=n.controls;if(!(e?Object.keys(t):t).length)throw new T(1e3,"");if(!t[r])throw new T(1001,"")}function GF(n,e,r){n._forEachChild((t,i)=>{if(r[i]===void 0)throw new T(1002,"")})}var Fu=class{constructor(e,r){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=null,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._events=new A,this.events=this._events.asObservable(),this._onDisabledChange=[],this._assignValidators(e),this._assignAsyncValidators(r)}get validator(){return this._composedValidatorFn}set validator(e){this._rawValidators=this._composedValidatorFn=e}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}get parent(){return this._parent}get valid(){return this.status===el}get invalid(){return this.status===ku}get pending(){return this.status==Ds}get disabled(){return this.status===tl}get enabled(){return this.status!==tl}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(e){this._assignValidators(e)}setAsyncValidators(e){this._assignAsyncValidators(e)}addValidators(e){this.setValidators(QC(e,this._rawValidators))}addAsyncValidators(e){this.setAsyncValidators(QC(e,this._rawAsyncValidators))}removeValidators(e){this.setValidators(KC(e,this._rawValidators))}removeAsyncValidators(e){this.setAsyncValidators(KC(e,this._rawAsyncValidators))}hasValidator(e){return Ou(this._rawValidators,e)}hasAsyncValidator(e){return Ou(this._rawAsyncValidators,e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){var i;let r=this.touched===!1;this.touched=!0;let t=(i=e.sourceControl)!=null?i:this;this._parent&&!e.onlySelf&&this._parent.markAsTouched(_e(D({},e),{sourceControl:t})),r&&e.emitEvent!==!1&&this._events.next(new rl(!0,t))}markAllAsTouched(e={}){this.markAsTouched({onlySelf:!0,emitEvent:e.emitEvent,sourceControl:this}),this._forEachChild(r=>r.markAllAsTouched(e))}markAsUntouched(e={}){var i;let r=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let t=(i=e.sourceControl)!=null?i:this;this._forEachChild(o=>{o.markAsUntouched({onlySelf:!0,emitEvent:e.emitEvent,sourceControl:t})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e,t),r&&e.emitEvent!==!1&&this._events.next(new rl(!1,t))}markAsDirty(e={}){var i;let r=this.pristine===!0;this.pristine=!1;let t=(i=e.sourceControl)!=null?i:this;this._parent&&!e.onlySelf&&this._parent.markAsDirty(_e(D({},e),{sourceControl:t})),r&&e.emitEvent!==!1&&this._events.next(new il(!1,t))}markAsPristine(e={}){var i;let r=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let t=(i=e.sourceControl)!=null?i:this;this._forEachChild(o=>{o.markAsPristine({onlySelf:!0,emitEvent:e.emitEvent})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e,t),r&&e.emitEvent!==!1&&this._events.next(new il(!0,t))}markAsPending(e={}){var t;this.status=Ds;let r=(t=e.sourceControl)!=null?t:this;e.emitEvent!==!1&&(this._events.next(new Es(this.status,r)),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.markAsPending(_e(D({},e),{sourceControl:r}))}disable(e={}){var i;let r=this._parentMarkedDirty(e.onlySelf);this.status=tl,this.errors=null,this._forEachChild(o=>{o.disable(_e(D({},e),{onlySelf:!0}))}),this._updateValue();let t=(i=e.sourceControl)!=null?i:this;e.emitEvent!==!1&&(this._events.next(new Pu(this.value,t)),this._events.next(new Es(this.status,t)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(_e(D({},e),{skipPristineCheck:r}),this),this._onDisabledChange.forEach(o=>o(!0))}enable(e={}){let r=this._parentMarkedDirty(e.onlySelf);this.status=el,this._forEachChild(t=>{t.enable(_e(D({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(_e(D({},e),{skipPristineCheck:r}),this),this._onDisabledChange.forEach(t=>t(!1))}_updateAncestors(e,r){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine({},r),this._parent._updateTouched({},r))}setParent(e){this._parent=e}getRawValue(){return this.value}updateValueAndValidity(e={}){var t;if(this._setInitialStatus(),this._updateValue(),this.enabled){let i=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===el||this.status===Ds)&&this._runAsyncValidator(i,e.emitEvent)}let r=(t=e.sourceControl)!=null?t:this;e.emitEvent!==!1&&(this._events.next(new Pu(this.value,r)),this._events.next(new Es(this.status,r)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(_e(D({},e),{sourceControl:r}))}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(r=>r._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?tl:el}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e,r){if(this.asyncValidator){this.status=Ds,this._hasOwnPendingAsyncValidator={emitEvent:r!==!1};let t=sD(this.asyncValidator(this));this._asyncValidationSubscription=t.subscribe(i=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(i,{emitEvent:r,shouldHaveEmitted:e})})}}_cancelExistingSubscription(){var e,r;if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let t=(r=(e=this._hasOwnPendingAsyncValidator)==null?void 0:e.emitEvent)!=null?r:!1;return this._hasOwnPendingAsyncValidator=null,t}return!1}setErrors(e,r={}){this.errors=e,this._updateControlsErrors(r.emitEvent!==!1,this,r.shouldHaveEmitted)}get(e){let r=e;return r==null||(Array.isArray(r)||(r=r.split(".")),r.length===0)?null:r.reduce((t,i)=>t&&t._find(i),this)}getError(e,r){let t=r?this.get(r):this;return t&&t.errors?t.errors[e]:null}hasError(e,r){return!!this.getError(e,r)}get root(){let e=this;for(;e._parent;)e=e._parent;return e}_updateControlsErrors(e,r,t){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),(e||t)&&this._events.next(new Es(this.status,r)),this._parent&&this._parent._updateControlsErrors(e,r,t)}_initObservables(){this.valueChanges=new $,this.statusChanges=new $}_calculateStatus(){return this._allControlsDisabled()?tl:this.errors?ku:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Ds)?Ds:this._anyControlsHaveStatus(ku)?ku:el}_anyControlsHaveStatus(e){return this._anyControls(r=>r.status===e)}_anyControlsDirty(){return this._anyControls(e=>e.dirty)}_anyControlsTouched(){return this._anyControls(e=>e.touched)}_updatePristine(e,r){let t=!this._anyControlsDirty(),i=this.pristine!==t;this.pristine=t,this._parent&&!e.onlySelf&&this._parent._updatePristine(e,r),i&&this._events.next(new il(this.pristine,r))}_updateTouched(e={},r){this.touched=this._anyControlsTouched(),this._events.next(new rl(this.touched,r)),this._parent&&!e.onlySelf&&this._parent._updateTouched(e,r)}_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){Hu(e)&&e.updateOn!=null&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){let r=this._parent&&this._parent.dirty;return!e&&!!r&&!this._parent._anyControlsDirty()}_find(e){return null}_assignValidators(e){this._rawValidators=Array.isArray(e)?e.slice():e,this._composedValidatorFn=HF(this._rawValidators)}_assignAsyncValidators(e){this._rawAsyncValidators=Array.isArray(e)?e.slice():e,this._composedAsyncValidatorFn=$F(this._rawAsyncValidators)}},Lu=class extends Fu{constructor(e,r,t){super(pD(r),gD(t,r)),this.controls=e,this._initObservables(),this._setUpdateStrategy(r),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(e,r){return this.controls[e]?this.controls[e]:(this.controls[e]=r,r.setParent(this),r._registerOnCollectionChange(this._onCollectionChange),r)}addControl(e,r,t={}){this.registerControl(e,r),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}removeControl(e,r={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}setControl(e,r,t={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],r&&this.registerControl(e,r),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}contains(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}setValue(e,r={}){GF(this,!0,e),Object.keys(e).forEach(t=>{WF(this,!0,t),this.controls[t].setValue(e[t],{onlySelf:!0,emitEvent:r.emitEvent})}),this.updateValueAndValidity(r)}patchValue(e,r={}){e!=null&&(Object.keys(e).forEach(t=>{let i=this.controls[t];i&&i.patchValue(e[t],{onlySelf:!0,emitEvent:r.emitEvent})}),this.updateValueAndValidity(r))}reset(e={},r={}){this._forEachChild((t,i)=>{t.reset(e?e[i]:null,{onlySelf:!0,emitEvent:r.emitEvent})}),this._updatePristine(r,this),this._updateTouched(r,this),this.updateValueAndValidity(r)}getRawValue(){return this._reduceChildren({},(e,r,t)=>(e[t]=r.getRawValue(),e))}_syncPendingControls(){let e=this._reduceChildren(!1,(r,t)=>t._syncPendingControls()?!0:r);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_forEachChild(e){Object.keys(this.controls).forEach(r=>{let t=this.controls[r];t&&e(t,r)})}_setUpControls(){this._forEachChild(e=>{e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(e){for(let[r,t]of Object.entries(this.controls))if(this.contains(r)&&e(t))return!0;return!1}_reduceValue(){let e={};return this._reduceChildren(e,(r,t,i)=>((t.enabled||this.disabled)&&(r[i]=t.value),r))}_reduceChildren(e,r){let t=e;return this._forEachChild((i,o)=>{t=r(t,i,o)}),t}_allControlsDisabled(){for(let e of Object.keys(this.controls))if(this.controls[e].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(e){return this.controls.hasOwnProperty(e)?this.controls[e]:null}};var $u=new E("CallSetDisabledState",{providedIn:"root",factory:()=>rb}),rb="always";function qF(n,e){return[...e.path,n]}function ju(n,e,r=rb){var t,i;ob(n,e),e.valueAccessor.writeValue(n.value),(n.disabled||r==="always")&&((i=(t=e.valueAccessor).setDisabledState)==null||i.call(t,n.disabled)),ZF(n,e),KF(n,e),QF(n,e),YF(n,e)}function XC(n,e,r=!0){let t=()=>{};e.valueAccessor&&(e.valueAccessor.registerOnChange(t),e.valueAccessor.registerOnTouched(t)),Bu(n,e),n&&(e._invokeOnDestroyCallbacks(),n._registerOnCollectionChange(()=>{}))}function Vu(n,e){n.forEach(r=>{r.registerOnValidatorChange&&r.registerOnValidatorChange(e)})}function YF(n,e){if(e.valueAccessor.setDisabledState){let r=t=>{e.valueAccessor.setDisabledState(t)};n.registerOnDisabledChange(r),e._registerOnDestroy(()=>{n._unregisterOnDisabledChange(r)})}}function ob(n,e){let r=fD(n);e.validator!==null?n.setValidators(ZC(r,e.validator)):typeof r=="function"&&n.setValidators([r]);let t=hD(n);e.asyncValidator!==null?n.setAsyncValidators(ZC(t,e.asyncValidator)):typeof t=="function"&&n.setAsyncValidators([t]);let i=()=>n.updateValueAndValidity();Vu(e._rawValidators,i),Vu(e._rawAsyncValidators,i)}function Bu(n,e){let r=!1;if(n!==null){if(e.validator!==null){let i=fD(n);if(Array.isArray(i)&&i.length>0){let o=i.filter(s=>s!==e.validator);o.length!==i.length&&(r=!0,n.setValidators(o))}}if(e.asyncValidator!==null){let i=hD(n);if(Array.isArray(i)&&i.length>0){let o=i.filter(s=>s!==e.asyncValidator);o.length!==i.length&&(r=!0,n.setAsyncValidators(o))}}}let t=()=>{};return Vu(e._rawValidators,t),Vu(e._rawAsyncValidators,t),r}function ZF(n,e){e.valueAccessor.registerOnChange(r=>{n._pendingValue=r,n._pendingChange=!0,n._pendingDirty=!0,n.updateOn==="change"&&bD(n,e)})}function QF(n,e){e.valueAccessor.registerOnTouched(()=>{n._pendingTouched=!0,n.updateOn==="blur"&&n._pendingChange&&bD(n,e),n.updateOn!=="submit"&&n.markAsTouched()})}function bD(n,e){n._pendingDirty&&n.markAsDirty(),n.setValue(n._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(n._pendingValue),n._pendingChange=!1}function KF(n,e){let r=(t,i)=>{e.valueAccessor.writeValue(t),i&&e.viewToModelUpdate(t)};n.registerOnChange(r),e._registerOnDestroy(()=>{n._unregisterOnChange(r)})}function vD(n,e){n==null,ob(n,e)}function XF(n,e){return Bu(n,e)}function JF(n,e){if(!n.hasOwnProperty("model"))return!1;let r=n.model;return r.isFirstChange()?!0:!Object.is(e,r.currentValue)}function eL(n){return Object.getPrototypeOf(n.constructor)===SF}function _D(n,e){n._syncPendingControls(),e.forEach(r=>{let t=r.control;t.updateOn==="submit"&&t._pendingChange&&(r.viewToModelUpdate(t._pendingValue),t._pendingChange=!1)})}function tL(n,e){if(!e)return null;Array.isArray(e);let r,t,i;return e.forEach(o=>{o.constructor===zu?r=o:eL(o)?t=o:i=o}),i||t||r||null}function nL(n,e){let r=n.indexOf(e);r>-1&&n.splice(r,1)}var iL={provide:br,useExisting:_i(()=>Pn)},nl=Promise.resolve(),Pn=(()=>{let e=class e extends br{constructor(t,i,o){super(),this.callSetDisabledState=o,this.submitted=!1,this._directives=new Set,this.ngSubmit=new $,this.form=new Lu({},nb(t),ib(i))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(t){nl.then(()=>{let i=this._findContainer(t.path);t.control=i.registerControl(t.name,t.control),ju(t.control,t,this.callSetDisabledState),t.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(t)})}getControl(t){return this.form.get(t.path)}removeControl(t){nl.then(()=>{let i=this._findContainer(t.path);i&&i.removeControl(t.name),this._directives.delete(t)})}addFormGroup(t){nl.then(()=>{let i=this._findContainer(t.path),o=new Lu({});vD(o,t),i.registerControl(t.name,o),o.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(t){nl.then(()=>{let i=this._findContainer(t.path);i&&i.removeControl(t.name)})}getFormGroup(t){return this.form.get(t.path)}updateModel(t,i){nl.then(()=>{this.form.get(t.path).setValue(i)})}setValue(t){this.control.setValue(t)}onSubmit(t){var i;return this.submitted=!0,_D(this.form,this._directives),this.ngSubmit.emit(t),((i=t==null?void 0:t.target)==null?void 0:i.method)==="dialog"}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this.submitted=!1}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(t){return t.pop(),t.length?this.form.get(t):this.form}};e.\u0275fac=function(i){return new(i||e)(h(ol,10),h(tb,10),h($u,8))},e.\u0275dir=N({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(i,o){i&1&&z("submit",function(a){return o.onSubmit(a)})("reset",function(){return o.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[ze([iL]),Ue]});let n=e;return n})();function JC(n,e){let r=n.indexOf(e);r>-1&&n.splice(r,1)}function eD(n){return typeof n=="object"&&n!==null&&Object.keys(n).length===2&&"value"in n&&"disabled"in n}var yD=class extends Fu{constructor(e=null,r,t){super(pD(r),gD(t,r)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(e),this._setUpdateStrategy(r),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Hu(r)&&(r.nonNullable||r.initialValueIsDefault)&&(eD(e)?this.defaultValue=e.value:this.defaultValue=e)}setValue(e,r={}){this.value=this._pendingValue=e,this._onChange.length&&r.emitModelToViewChange!==!1&&this._onChange.forEach(t=>t(this.value,r.emitViewToModelChange!==!1)),this.updateValueAndValidity(r)}patchValue(e,r={}){this.setValue(e,r)}reset(e=this.defaultValue,r={}){this._applyFormState(e),this.markAsPristine(r),this.markAsUntouched(r),this.setValue(this.value,r),this._pendingChange=!1}_updateValue(){}_anyControls(e){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(e){this._onChange.push(e)}_unregisterOnChange(e){JC(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){JC(this._onDisabledChange,e)}_forEachChild(e){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(e){eD(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}};var rL=n=>n instanceof yD;var oL={provide:Ni,useExisting:_i(()=>sb)},tD=Promise.resolve(),sb=(()=>{let e=class e extends Ni{constructor(t,i,o,s,a,l){super(),this._changeDetectorRef=a,this.callSetDisabledState=l,this.control=new yD,this._registered=!1,this.name="",this.update=new $,this._parent=t,this._setValidators(i),this._setAsyncValidators(o),this.valueAccessor=tL(this,s)}ngOnChanges(t){if(this._checkForErrors(),!this._registered||"name"in t){if(this._registered&&(this._checkName(),this.formDirective)){let i=t.name.previousValue;this.formDirective.removeControl({name:i,path:this._getPath(i)})}this._setUpControl()}"isDisabled"in t&&this._updateDisabled(t),JF(t,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(t){this.viewModel=t,this.update.emit(t)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){ju(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(t){tD.then(()=>{var i;this.control.setValue(t,{emitViewToModelChange:!1}),(i=this._changeDetectorRef)==null||i.markForCheck()})}_updateDisabled(t){let i=t.isDisabled.currentValue,o=i!==0&&oe(i);tD.then(()=>{var s;o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),(s=this._changeDetectorRef)==null||s.markForCheck()})}_getPath(t){return this._parent?qF(t,this._parent):[t]}};e.\u0275fac=function(i){return new(i||e)(h(br,9),h(ol,10),h(tb,10),h(Uu,10),h(Ne,8),h($u,8))},e.\u0275dir=N({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[ze([oL]),Ue,We]});let n=e;return n})(),Ss=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=N({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]});let n=e;return n})();var sL={provide:br,useExisting:_i(()=>sl)},sl=(()=>{let e=class e extends br{constructor(t,i,o){super(),this.callSetDisabledState=o,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new $,this._setValidators(t),this._setAsyncValidators(i)}ngOnChanges(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Bu(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(t){let i=this.form.get(t.path);return ju(i,t,this.callSetDisabledState),i.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),i}getControl(t){return this.form.get(t.path)}removeControl(t){XC(t.control||null,t,!1),nL(this.directives,t)}addFormGroup(t){this._setUpFormContainer(t)}removeFormGroup(t){this._cleanUpFormContainer(t)}getFormGroup(t){return this.form.get(t.path)}addFormArray(t){this._setUpFormContainer(t)}removeFormArray(t){this._cleanUpFormContainer(t)}getFormArray(t){return this.form.get(t.path)}updateModel(t,i){this.form.get(t.path).setValue(i)}onSubmit(t){var i;return this.submitted=!0,_D(this.form,this.directives),this.ngSubmit.emit(t),this.form._events.next(new Jg(this.control)),((i=t==null?void 0:t.target)==null?void 0:i.method)==="dialog"}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this.submitted=!1,this.form._events.next(new eb(this.form))}_updateDomValue(){this.directives.forEach(t=>{let i=t.control,o=this.form.get(t.path);i!==o&&(XC(i||null,t),rL(o)&&(ju(o,t,this.callSetDisabledState),t.control=o))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(t){let i=this.form.get(t.path);vD(i,t),i.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(t){if(this.form){let i=this.form.get(t.path);i&&XF(i,t)&&i.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){ob(this.form,this),this._oldForm&&Bu(this._oldForm,this)}_checkFormPresent(){this.form}};e.\u0275fac=function(i){return new(i||e)(h(ol,10),h(tb,10),h($u,8))},e.\u0275dir=N({type:e,selectors:[["","formGroup",""]],hostBindings:function(i,o){i&1&&z("submit",function(a){return o.onSubmit(a)})("reset",function(){return o.onReset()})},inputs:{form:[0,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[ze([sL]),Ue,We]});let n=e;return n})();var aL=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=V({type:e}),e.\u0275inj=L({});let n=e;return n})();var xD=(()=>{let e=class e{static withConfig(t){var i;return{ngModule:e,providers:[{provide:$u,useValue:(i=t.callSetDisabledState)!=null?i:rb}]}}};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=V({type:e}),e.\u0275inj=L({imports:[aL]});let n=e;return n})();var ab=class{constructor(e){this._box=e,this._destroyed=new A,this._resizeSubject=new A,this._elementObservables=new Map,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(r=>this._resizeSubject.next(r)))}observe(e){return this._elementObservables.has(e)||this._elementObservables.set(e,new se(r=>{var i;let t=this._resizeSubject.subscribe(r);return(i=this._resizeObserver)==null||i.observe(e,{box:this._box}),()=>{var o;(o=this._resizeObserver)==null||o.unobserve(e),t.unsubscribe(),this._elementObservables.delete(e)}}).pipe(le(r=>r.some(t=>t.target===e)),ec({bufferSize:1,refCount:!0}),Ie(this._destroyed))),this._elementObservables.get(e)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}},wD=(()=>{let e=class e{constructor(){this._observers=new Map,this._ngZone=y(k),typeof ResizeObserver<"u"}ngOnDestroy(){for(let[,t]of this._observers)t.destroy();this._observers.clear(),typeof ResizeObserver<"u"}observe(t,i){let o=(i==null?void 0:i.box)||"content-box";return this._observers.has(o)||this._observers.set(o,new ab(o)),this._observers.get(o).observe(t)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();var lL=["notch"],cL=["matFormFieldNotchedOutline",""],dL=["*"],uL=["textField"],fL=["iconPrefixContainer"],hL=["textPrefixContainer"],mL=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],pL=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];function gL(n,e){n&1&&O(0,"span",19)}function bL(n,e){if(n&1&&(p(0,"label",18),ue(1,1),F(2,gL,1,0,"span",19),b()),n&2){let r=R(2);M("floating",r._shouldLabelFloat())("monitorResize",r._hasOutline())("id",r._labelId),De("for",r._control.disableAutomaticLabeling?null:r._control.id),x(2),qe(!r.hideRequiredMarker&&r._control.required?2:-1)}}function vL(n,e){if(n&1&&F(0,bL,3,5,"label",18),n&2){let r=R();qe(r._hasFloatingLabel()?0:-1)}}function _L(n,e){n&1&&O(0,"div",5)}function yL(n,e){}function xL(n,e){if(n&1&&F(0,yL,0,0,"ng-template",11),n&2){R(2);let r=Et(1);M("ngTemplateOutlet",r)}}function wL(n,e){if(n&1&&(p(0,"div",7),F(1,xL,1,1,null,11),b()),n&2){let r=R();M("matFormFieldNotchedOutlineOpen",r._shouldLabelFloat()),x(),qe(r._forceDisplayInfixLabel()?-1:1)}}function CL(n,e){n&1&&(p(0,"div",8,2),ue(2,2),b())}function DL(n,e){n&1&&(p(0,"div",9,3),ue(2,3),b())}function EL(n,e){}function IL(n,e){if(n&1&&F(0,EL,0,0,"ng-template",11),n&2){R();let r=Et(1);M("ngTemplateOutlet",r)}}function ML(n,e){n&1&&(p(0,"div",12),ue(1,4),b())}function SL(n,e){n&1&&(p(0,"div",13),ue(1,5),b())}function TL(n,e){n&1&&O(0,"div",14)}function AL(n,e){if(n&1&&(p(0,"div",16),ue(1,6),b()),n&2){let r=R();M("@transitionMessages",r._subscriptAnimationState)}}function kL(n,e){if(n&1&&(p(0,"mat-hint",20),w(1),b()),n&2){let r=R(2);M("id",r._hintLabelId),x(),ct(r.hintLabel)}}function OL(n,e){if(n&1&&(p(0,"div",17),F(1,kL,2,2,"mat-hint",20),ue(2,7),O(3,"div",21),ue(4,8),b()),n&2){let r=R();M("@transitionMessages",r._subscriptAnimationState),x(),qe(r.hintLabel?1:-1)}}var fi=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=N({type:e,selectors:[["mat-label"]],standalone:!0});let n=e;return n})();var RL=new E("MatError");var NL=0,CD=(()=>{let e=class e{constructor(){this.align="start",this.id="mat-mdc-hint-".concat(NL++)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=N({type:e,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(i,o){i&2&&(dn("id",o.id),De("align",null),ae("mat-mdc-form-field-hint-end",o.align==="end"))},inputs:{align:"align",id:"id"},standalone:!0});let n=e;return n})(),PL=new E("MatPrefix");var kD=new E("MatSuffix"),OD=(()=>{let e=class e{constructor(){this._isText=!1}set _isTextSelector(t){this._isText=!0}};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=N({type:e,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:[0,"matTextSuffix","_isTextSelector"]},standalone:!0,features:[ze([{provide:kD,useExisting:e}])]});let n=e;return n})(),RD=new E("FloatingLabelParent"),DD=(()=>{let e=class e{get floating(){return this._floating}set floating(t){this._floating=t,this.monitorResize&&this._handleResize()}get monitorResize(){return this._monitorResize}set monitorResize(t){this._monitorResize=t,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}constructor(t){this._elementRef=t,this._floating=!1,this._monitorResize=!1,this._resizeObserver=y(wD),this._ngZone=y(k),this._parent=y(RD),this._resizeSubscription=new fe}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return FL(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}_handleResize(){setTimeout(()=>this._parent._handleLabelResized())}_subscribeToResize(){this._resizeSubscription.unsubscribe(),this._ngZone.runOutsideAngular(()=>{this._resizeSubscription=this._resizeObserver.observe(this._elementRef.nativeElement,{box:"border-box"}).subscribe(()=>this._handleResize())})}};e.\u0275fac=function(i){return new(i||e)(h(P))},e.\u0275dir=N({type:e,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(i,o){i&2&&ae("mdc-floating-label--float-above",o.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"},standalone:!0});let n=e;return n})();function FL(n){let e=n;if(e.offsetParent!==null)return e.scrollWidth;let r=e.cloneNode(!0);r.style.setProperty("position","absolute"),r.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(r);let t=r.scrollWidth;return r.remove(),t}var ED="mdc-line-ripple--active",Wu="mdc-line-ripple--deactivating",ID=(()=>{let e=class e{constructor(t,i){this._elementRef=t,this._handleTransitionEnd=o=>{let s=this._elementRef.nativeElement.classList,a=s.contains(Wu);o.propertyName==="opacity"&&a&&s.remove(ED,Wu)},i.runOutsideAngular(()=>{t.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){let t=this._elementRef.nativeElement.classList;t.remove(Wu),t.add(ED)}deactivate(){this._elementRef.nativeElement.classList.add(Wu)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}};e.\u0275fac=function(i){return new(i||e)(h(P),h(k))},e.\u0275dir=N({type:e,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"],standalone:!0});let n=e;return n})(),MD=(()=>{let e=class e{constructor(t,i){this._elementRef=t,this._ngZone=i,this.open=!1}ngAfterViewInit(){let t=this._elementRef.nativeElement.querySelector(".mdc-floating-label");t?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),typeof requestAnimationFrame=="function"&&(t.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>t.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(t){!this.open||!t?this._notch.nativeElement.style.width="":this._notch.nativeElement.style.width="calc(".concat(t,"px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)")}};e.\u0275fac=function(i){return new(i||e)(h(P),h(k))},e.\u0275cmp=j({type:e,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(i,o){if(i&1&&Fe(lL,5),i&2){let s;ie(s=re())&&(o._notch=s.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(i,o){i&2&&ae("mdc-notched-outline--notched",o.open)},inputs:{open:[0,"matFormFieldNotchedOutlineOpen","open"]},standalone:!0,features:[Oe],attrs:cL,ngContentSelectors:dL,decls:5,vars:0,consts:[["notch",""],[1,"mdc-notched-outline__leading"],[1,"mdc-notched-outline__notch"],[1,"mdc-notched-outline__trailing"]],template:function(i,o){i&1&&(Je(),O(0,"div",1),p(1,"div",2,0),ue(3),b(),O(4,"div",3))},encapsulation:2,changeDetection:0});let n=e;return n})(),LL={transitionMessages:Nn("transitionMessages",[gn("enter",ot({opacity:1,transform:"translateY(0%)"})),Qt("void => enter",[ot({opacity:0,transform:"translateY(-5px)"}),pn("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},al=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=N({type:e});let n=e;return n})();var ll=new E("MatFormField"),lb=new E("MAT_FORM_FIELD_DEFAULT_OPTIONS"),SD=0,TD="fill",jL="auto",AD="fixed",VL="translateY(-50%)",_r=(()=>{let e=class e{get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(t){this._hideRequiredMarker=oi(t)}get floatLabel(){var t;return this._floatLabel||((t=this._defaults)==null?void 0:t.floatLabel)||jL}set floatLabel(t){t!==this._floatLabel&&(this._floatLabel=t,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(t){var s;let i=this._appearance,o=t||((s=this._defaults)==null?void 0:s.appearance)||TD;this._appearance=o,this._appearance==="outline"&&this._appearance!==i&&(this._needsOutlineLabelOffsetUpdate=!0)}get subscriptSizing(){var t;return this._subscriptSizing||((t=this._defaults)==null?void 0:t.subscriptSizing)||AD}set subscriptSizing(t){var i;this._subscriptSizing=t||((i=this._defaults)==null?void 0:i.subscriptSizing)||AD}get hintLabel(){return this._hintLabel}set hintLabel(t){this._hintLabel=t,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(t){this._explicitFormFieldControl=t}constructor(t,i,o,s,a,l,c,d){this._elementRef=t,this._changeDetectorRef=i,this._dir=s,this._platform=a,this._defaults=l,this._animationMode=c,this._hideRequiredMarker=!1,this.color="primary",this._appearance=TD,this._subscriptSizing=null,this._hintLabel="",this._hasIconPrefix=!1,this._hasTextPrefix=!1,this._hasIconSuffix=!1,this._hasTextSuffix=!1,this._labelId="mat-mdc-form-field-label-".concat(SD++),this._hintLabelId="mat-mdc-hint-".concat(SD++),this._subscriptAnimationState="",this._destroyed=new A,this._isFocused=null,this._needsOutlineLabelOffsetUpdate=!1,this._injector=y(Ce),l&&(l.appearance&&(this.appearance=l.appearance),this._hideRequiredMarker=!!(l!=null&&l.hideRequiredMarker),l.color&&(this.color=l.color))}ngAfterViewInit(){this._updateFocusState(),this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeControl(),this._initializeSubscript(),this._initializePrefixAndSuffix(),this._initializeOutlineLabelOffsetSubscriptions()}ngAfterContentChecked(){this._assertFormFieldControl()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(){let t=this._control;t.controlType&&this._elementRef.nativeElement.classList.add("mat-mdc-form-field-type-".concat(t.controlType)),t.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),t.ngControl&&t.ngControl.valueChanges&&t.ngControl.valueChanges.pipe(Ie(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck())}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(t=>!t._isText),this._hasTextPrefix=!!this._prefixChildren.find(t=>t._isText),this._hasIconSuffix=!!this._suffixChildren.find(t=>!t._isText),this._hasTextSuffix=!!this._suffixChildren.find(t=>t._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),vt(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){this._control}_updateFocusState(){var t,i,o;this._control.focused&&!this._isFocused?(this._isFocused=!0,(t=this._lineRipple)==null||t.activate()):!this._control.focused&&(this._isFocused||this._isFocused===null)&&(this._isFocused=!1,(i=this._lineRipple)==null||i.deactivate()),(o=this._textField)==null||o.nativeElement.classList.toggle("mdc-text-field--focused",this._control.focused)}_initializeOutlineLabelOffsetSubscriptions(){this._prefixChildren.changes.subscribe(()=>this._needsOutlineLabelOffsetUpdate=!0),ia(()=>{this._needsOutlineLabelOffsetUpdate&&(this._needsOutlineLabelOffsetUpdate=!1,this._updateOutlineLabelOffset())},{injector:this._injector}),this._dir.change.pipe(Ie(this._destroyed)).subscribe(()=>this._needsOutlineLabelOffsetUpdate=!0)}_shouldAlwaysFloat(){return this.floatLabel==="always"}_hasOutline(){return this.appearance==="outline"}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel(){return!!this._labelChildNonStatic||!!this._labelChildStatic}_shouldLabelFloat(){return this._control.shouldLabelFloat||this._shouldAlwaysFloat()}_shouldForward(t){let i=this._control?this._control.ngControl:null;return i&&i[t]}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_handleLabelResized(){this._refreshOutlineNotchWidth()}_refreshOutlineNotchWidth(){var t,i;!this._hasOutline()||!this._floatingLabel||!this._shouldLabelFloat()?(t=this._notchedOutline)==null||t._setNotchWidth(0):(i=this._notchedOutline)==null||i._setNotchWidth(this._floatingLabel.getWidth())}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){this._hintChildren}_syncDescribedByIds(){if(this._control){let t=[];if(this._control.userAriaDescribedBy&&typeof this._control.userAriaDescribedBy=="string"&&t.push(...this._control.userAriaDescribedBy.split(" ")),this._getDisplayedMessages()==="hint"){let i=this._hintChildren?this._hintChildren.find(s=>s.align==="start"):null,o=this._hintChildren?this._hintChildren.find(s=>s.align==="end"):null;i?t.push(i.id):this._hintLabel&&t.push(this._hintLabelId),o&&t.push(o.id)}else this._errorChildren&&t.push(...this._errorChildren.map(i=>i.id));this._control.setDescribedByIds(t)}}_updateOutlineLabelOffset(){var f,m,g,_;if(!this._hasOutline()||!this._floatingLabel)return;let t=this._floatingLabel.element;if(!(this._iconPrefixContainer||this._textPrefixContainer)){t.style.transform="";return}if(!this._isAttachedToDom()){this._needsOutlineLabelOffsetUpdate=!0;return}let i=(f=this._iconPrefixContainer)==null?void 0:f.nativeElement,o=(m=this._textPrefixContainer)==null?void 0:m.nativeElement,s=(g=i==null?void 0:i.getBoundingClientRect().width)!=null?g:0,a=(_=o==null?void 0:o.getBoundingClientRect().width)!=null?_:0,l=this._dir.value==="rtl"?"-1":"1",c="".concat(s+a,"px"),u="calc(".concat(l," * (").concat(c," + ").concat("var(--mat-mdc-form-field-label-offset-x, 0px)","))");t.style.transform="var(\n --mat-mdc-form-field-label-transform,\n ".concat(VL," translateX(").concat(u,")\n )")}_isAttachedToDom(){let t=this._elementRef.nativeElement;if(t.getRootNode){let i=t.getRootNode();return i&&i!==t}return document.documentElement.contains(t)}};e.\u0275fac=function(i){return new(i||e)(h(P),h(Ne),h(k),h(St),h(xe),h(lb,8),h(Ge,8),h(W))},e.\u0275cmp=j({type:e,selectors:[["mat-form-field"]],contentQueries:function(i,o,s){if(i&1&&(tt(s,fi,5),tt(s,fi,7),tt(s,al,5),tt(s,PL,5),tt(s,kD,5),tt(s,RL,5),tt(s,CD,5)),i&2){let a;ie(a=re())&&(o._labelChildNonStatic=a.first),ie(a=re())&&(o._labelChildStatic=a.first),ie(a=re())&&(o._formFieldControl=a.first),ie(a=re())&&(o._prefixChildren=a),ie(a=re())&&(o._suffixChildren=a),ie(a=re())&&(o._errorChildren=a),ie(a=re())&&(o._hintChildren=a)}},viewQuery:function(i,o){if(i&1&&(Fe(uL,5),Fe(fL,5),Fe(hL,5),Fe(DD,5),Fe(MD,5),Fe(ID,5)),i&2){let s;ie(s=re())&&(o._textField=s.first),ie(s=re())&&(o._iconPrefixContainer=s.first),ie(s=re())&&(o._textPrefixContainer=s.first),ie(s=re())&&(o._floatingLabel=s.first),ie(s=re())&&(o._notchedOutline=s.first),ie(s=re())&&(o._lineRipple=s.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(i,o){i&2&&ae("mat-mdc-form-field-label-always-float",o._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",o._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",o._hasIconSuffix)("mat-form-field-invalid",o._control.errorState)("mat-form-field-disabled",o._control.disabled)("mat-form-field-autofilled",o._control.autofilled)("mat-form-field-no-animations",o._animationMode==="NoopAnimations")("mat-form-field-appearance-fill",o.appearance=="fill")("mat-form-field-appearance-outline",o.appearance=="outline")("mat-form-field-hide-placeholder",o._hasFloatingLabel()&&!o._shouldLabelFloat())("mat-focused",o._control.focused)("mat-primary",o.color!=="accent"&&o.color!=="warn")("mat-accent",o.color==="accent")("mat-warn",o.color==="warn")("ng-untouched",o._shouldForward("untouched"))("ng-touched",o._shouldForward("touched"))("ng-pristine",o._shouldForward("pristine"))("ng-dirty",o._shouldForward("dirty"))("ng-valid",o._shouldForward("valid"))("ng-invalid",o._shouldForward("invalid"))("ng-pending",o._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],standalone:!0,features:[ze([{provide:ll,useExisting:e},{provide:RD,useExisting:e}]),Oe],ngContentSelectors:pL,decls:18,vars:21,consts:[["labelTemplate",""],["textField",""],["iconPrefixContainer",""],["textPrefixContainer",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],[1,"mat-mdc-form-field-focus-overlay"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],[1,"mat-mdc-form-field-icon-prefix"],[1,"mat-mdc-form-field-text-prefix"],[1,"mat-mdc-form-field-infix"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],[1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align"],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[3,"id"],[1,"mat-mdc-form-field-hint-spacer"]],template:function(i,o){if(i&1){let s=Me();Je(mL),F(0,vL,1,1,"ng-template",null,0,cx),p(2,"div",4,1),z("click",function(l){return te(s),ne(o._control.onContainerClick(l))}),F(4,_L,1,0,"div",5),p(5,"div",6),F(6,wL,2,2,"div",7)(7,CL,3,0,"div",8)(8,DL,3,0,"div",9),p(9,"div",10),F(10,IL,1,1,null,11),ue(11),b(),F(12,ML,2,0,"div",12)(13,SL,2,0,"div",13),b(),F(14,TL,1,0,"div",14),b(),p(15,"div",15),F(16,AL,2,1,"div",16)(17,OL,5,2,"div",17),b()}if(i&2){let s;x(2),ae("mdc-text-field--filled",!o._hasOutline())("mdc-text-field--outlined",o._hasOutline())("mdc-text-field--no-label",!o._hasFloatingLabel())("mdc-text-field--disabled",o._control.disabled)("mdc-text-field--invalid",o._control.errorState),x(2),qe(!o._hasOutline()&&!o._control.disabled?4:-1),x(2),qe(o._hasOutline()?6:-1),x(),qe(o._hasIconPrefix?7:-1),x(),qe(o._hasTextPrefix?8:-1),x(2),qe(!o._hasOutline()||o._forceDisplayInfixLabel()?10:-1),x(2),qe(o._hasTextSuffix?12:-1),x(),qe(o._hasIconSuffix?13:-1),x(),qe(o._hasOutline()?-1:14),x(),ae("mat-mdc-form-field-subscript-dynamic-size",o.subscriptSizing==="dynamic"),x(),qe((s=o._getDisplayedMessages())==="error"?16:s==="hint"?17:-1)}},dependencies:[DD,MD,Ax,ID,CD],styles:['.mdc-text-field{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:0;border-bottom-left-radius:0;display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-text-field__input{height:28px;width:100%;min-width:0;border:none;border-radius:0;background:none;appearance:none;padding:0}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}@media all{.mdc-text-field__input::placeholder{opacity:0}}@media all{.mdc-text-field__input:-ms-input-placeholder{opacity:0}}@media all{.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}}@media all{.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}}.mdc-text-field__affix{height:28px;opacity:0;white-space:nowrap}.mdc-text-field--label-floating .mdc-text-field__affix,.mdc-text-field--no-label .mdc-text-field__affix{opacity:1}@supports(-webkit-hyphens: none){.mdc-text-field--outlined .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field__affix--prefix,.mdc-text-field__affix--prefix[dir=rtl]{padding-left:2px;padding-right:0}.mdc-text-field--end-aligned .mdc-text-field__affix--prefix{padding-left:0;padding-right:12px}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--end-aligned .mdc-text-field__affix--prefix[dir=rtl]{padding-left:12px;padding-right:0}.mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field__affix--suffix,.mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:12px}.mdc-text-field--end-aligned .mdc-text-field__affix--suffix{padding-left:2px;padding-right:0}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--end-aligned .mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:2px}.mdc-text-field--filled{height:56px}.mdc-text-field--filled::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}.mdc-text-field--filled .mdc-floating-label{left:16px;right:initial}[dir=rtl] .mdc-text-field--filled .mdc-floating-label,.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:16px}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled.mdc-text-field--no-label::before{display:none}@supports(-webkit-hyphens: none){.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field--outlined{height:56px;overflow:visible}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--outlined .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px,var(--mdc-shape-small, 4px))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px,var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px,var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px,var(--mdc-shape-small, 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px,var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:initial}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:4px}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mdc-text-field--textarea{flex-direction:column;align-items:center;width:auto;height:auto;padding:0}.mdc-text-field--textarea .mdc-floating-label{top:19px}.mdc-text-field--textarea .mdc-floating-label:not(.mdc-floating-label--float-above){transform:none}.mdc-text-field--textarea .mdc-text-field__input{flex-grow:1;height:auto;min-height:1.5rem;overflow-x:hidden;overflow-y:auto;box-sizing:border-box;resize:none;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--filled::before{display:none}.mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-10.25px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--filled .mdc-text-field__input{margin-top:23px;margin-bottom:9px}.mdc-text-field--textarea.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-27.25px) scale(1)}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-24.75px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label{top:18px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field__input{margin-bottom:2px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter{align-self:flex-end;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::after{display:inline-block;width:0;height:16px;content:"";vertical-align:-16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::before{display:none}.mdc-text-field__resizer{align-self:stretch;display:inline-flex;flex-direction:column;flex-grow:1;max-height:100%;max-width:100%;min-height:56px;min-width:fit-content;min-width:-moz-available;min-width:-webkit-fill-available;overflow:hidden;resize:both}.mdc-text-field--filled .mdc-text-field__resizer{transform:translateY(-1px)}.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateY(1px)}.mdc-text-field--outlined .mdc-text-field__resizer{transform:translateX(-1px) translateY(-1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer,.mdc-text-field--outlined .mdc-text-field__resizer[dir=rtl]{transform:translateX(1px) translateY(-1px)}.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateX(1px) translateY(1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input[dir=rtl],.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter[dir=rtl]{transform:translateX(-1px) translateY(1px)}.mdc-text-field--with-leading-icon{padding-left:0;padding-right:16px}[dir=rtl] .mdc-text-field--with-leading-icon,.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:16px;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 48px);left:48px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:48px}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 64px/0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label{left:36px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:36px}.mdc-text-field--with-leading-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) translateX(-32px) scale(1)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-37.25px) translateX(32px) scale(1)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) translateX(-32px) scale(0.75)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl],.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-34.75px) translateX(32px) scale(0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--with-trailing-icon{padding-left:16px;padding-right:0}[dir=rtl] .mdc-text-field--with-trailing-icon,.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0;padding-right:16px}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 64px)}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 64px/0.75)}.mdc-text-field--with-trailing-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 96px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 96px/0.75)}.mdc-text-field-helper-line{display:flex;justify-content:space-between;box-sizing:border-box}.mdc-text-field+.mdc-text-field-helper-line{padding-right:16px;padding-left:16px}.mdc-form-field>.mdc-text-field+label{align-self:flex-start}.mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--focused .mdc-notched-outline__trailing{border-width:2px}.mdc-text-field--focused+.mdc-text-field-helper-line .mdc-text-field-helper-text:not(.mdc-text-field-helper-text--validation-msg){opacity:1}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-text-field--focused.mdc-text-field--outlined.mdc-text-field--textarea .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg{opacity:1}.mdc-text-field--disabled{pointer-events:none}@media screen and (forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--disabled .mdc-floating-label{cursor:default}.mdc-text-field--disabled.mdc-text-field--filled .mdc-text-field__ripple{display:none}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--end-aligned .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--end-aligned .mdc-text-field__input[dir=rtl]{text-align:left}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix{direction:ltr}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--leading,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--leading{order:1}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{order:2}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input{order:3}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{order:4}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--trailing,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--trailing{order:5}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--prefix{padding-right:12px}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--suffix{padding-left:2px}.mdc-floating-label{position:absolute;left:0;-webkit-transform-origin:left top;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label,.mdc-floating-label[dir=rtl]{right:0;left:auto;-webkit-transform-origin:right top;transform-origin:right top;text-align:right}.mdc-floating-label--float-above{cursor:auto}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0px;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after,.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)[dir=rtl]::after{margin-left:0;margin-right:1px}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline,.mdc-notched-outline[dir=rtl]{text-align:right}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{box-sizing:border-box;height:100%;pointer-events:none}.mdc-notched-outline__trailing{flex-grow:1}.mdc-notched-outline__notch{flex:0 0 auto;width:auto}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch,.mdc-notched-outline--notched .mdc-notched-outline__notch[dir=rtl]{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{z-index:1}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{border-top:1px solid;border-bottom:1px solid}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;width:12px}[dir=rtl] .mdc-notched-outline__leading,.mdc-notched-outline__leading[dir=rtl]{border-left:none;border-right:1px solid}.mdc-notched-outline__trailing{border-left:none;border-right:1px solid}[dir=rtl] .mdc-notched-outline__trailing,.mdc-notched-outline__trailing[dir=rtl]{border-left:1px solid;border-right:none}.mdc-notched-outline__notch{max-width:calc(100% - 12px*2)}.mdc-line-ripple::before{border-bottom-width:1px}.mdc-line-ripple::after{border-bottom-width:2px}.mdc-text-field--filled{border-top-left-radius:var(--mdc-filled-text-field-container-shape);border-top-right-radius:var(--mdc-filled-text-field-container-shape);border-bottom-right-radius:0;border-bottom-left-radius:0}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-caret-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-error-caret-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-filled-text-field-input-text-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-filled-text-field-disabled-input-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-label-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-focus-label-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-hover-label-text-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-disabled-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-focus-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-hover-label-text-color)}.mdc-text-field--filled .mdc-floating-label{font-family:var(--mdc-filled-text-field-label-text-font);font-size:var(--mdc-filled-text-field-label-text-size);font-weight:var(--mdc-filled-text-field-label-text-weight);letter-spacing:var(--mdc-filled-text-field-label-text-tracking)}@media all{.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}}@media all{.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--mdc-filled-text-field-container-color)}.mdc-text-field--filled.mdc-text-field--disabled{background-color:var(--mdc-filled-text-field-disabled-container-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-hover-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-focus-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-disabled-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-hover-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-error-focus-active-indicator-color)}.mdc-text-field--filled .mdc-line-ripple::before{border-bottom-width:var(--mdc-filled-text-field-active-indicator-height)}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-width:var(--mdc-filled-text-field-focus-active-indicator-height)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-caret-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-error-caret-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-outlined-text-field-input-text-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-outlined-text-field-disabled-input-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-label-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-focus-label-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-hover-label-text-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-disabled-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-focus-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-hover-label-text-color)}.mdc-text-field--outlined .mdc-floating-label{font-family:var(--mdc-outlined-text-field-label-text-font);font-size:var(--mdc-outlined-text-field-label-text-size);font-weight:var(--mdc-outlined-text-field-label-text-weight);letter-spacing:var(--mdc-outlined-text-field-label-text-tracking)}@media all{.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color)}}@media all{.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color)}}.mdc-text-field--outlined.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(.75*var(--mdc-outlined-text-field-label-text-size))}.mdc-text-field--outlined.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mdc-outlined-text-field-label-text-size)}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:var(--mdc-outlined-text-field-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mdc-outlined-text-field-container-shape))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px,var(--mdc-outlined-text-field-container-shape))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:var(--mdc-outlined-text-field-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px,var(--mdc-outlined-text-field-container-shape))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-hover-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-focus-outline-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-disabled-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-hover-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-focus-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__trailing{border-width:var(--mdc-outlined-text-field-outline-width)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__trailing{border-width:var(--mdc-outlined-text-field-focus-outline-width)}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;line-height:normal;pointer-events:all;will-change:auto}.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-floating-label.mdc-floating-label{cursor:inherit}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto;will-change:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-form-field-disabled .mdc-text-field__input::placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-text-field-wrapper::before{content:none}.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:1px solid rgba(0,0,0,0)}[dir=rtl] .mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:none;border-right:1px solid rgba(0,0,0,0)}.mat-mdc-form-field-infix{min-height:var(--mat-form-field-container-height);padding-top:var(--mat-form-field-filled-with-label-container-padding-top);padding-bottom:var(--mat-form-field-filled-with-label-container-padding-bottom)}.mdc-text-field--outlined .mat-mdc-form-field-infix,.mdc-text-field--no-label .mat-mdc-form-field-infix{padding-top:var(--mat-form-field-container-vertical-padding);padding-bottom:var(--mat-form-field-container-vertical-padding)}.mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:calc(var(--mat-form-field-container-height)/2)}.mdc-text-field--filled .mat-mdc-floating-label{display:var(--mat-form-field-filled-label-display, block)}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{--mat-mdc-form-field-label-transform: translateY(calc(calc(6.75px + var(--mat-form-field-container-height) / 2) * -1)) scale(var(--mat-mdc-form-field-floating-label-scale, 0.75));transform:var(--mat-mdc-form-field-label-transform)}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block;color:var(--mat-form-field-error-text-color)}.mat-mdc-form-field-subscript-wrapper,.mat-mdc-form-field-bottom-align::before{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-subscript-text-font);line-height:var(--mat-form-field-subscript-text-line-height);font-size:var(--mat-form-field-subscript-text-size);letter-spacing:var(--mat-form-field-subscript-text-tracking);font-weight:var(--mat-form-field-subscript-text-weight)}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none;background-color:var(--mat-form-field-state-layer-color)}.mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-hover-state-layer-opacity)}.mat-mdc-form-field.mat-focused .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-focus-state-layer-opacity)}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option{color:var(--mat-form-field-select-option-text-color)}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option:disabled{color:var(--mat-form-field-select-disabled-option-text-color)}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none;color:var(--mat-form-field-enabled-select-arrow-color)}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select.mat-focused .mat-mdc-form-field-infix::after{color:var(--mat-form-field-focus-select-arrow-color)}.mat-mdc-form-field-type-mat-native-select.mat-form-field-disabled .mat-mdc-form-field-infix::after{color:var(--mat-form-field-disabled-select-arrow-color)}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}.cdk-high-contrast-active .mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}.mat-mdc-form-field-input-control[type=date],.mat-mdc-form-field-input-control[type=datetime],.mat-mdc-form-field-input-control[type=datetime-local],.mat-mdc-form-field-input-control[type=month],.mat-mdc-form-field-input-control[type=week],.mat-mdc-form-field-input-control[type=time]{line-height:1}.mat-mdc-form-field-input-control::-webkit-datetime-edit{line-height:1;padding:0;margin-bottom:-2px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-container-text-font);line-height:var(--mat-form-field-container-text-line-height);font-size:var(--mat-form-field-container-text-size);letter-spacing:var(--mat-form-field-container-text-tracking);font-weight:var(--mat-form-field-container-text-weight)}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field .mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(var(--mat-form-field-outlined-label-text-populated-size)*var(--mat-mdc-form-field-floating-label-scale))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mat-form-field-outlined-label-text-populated-size)}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%;z-index:0}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto;position:relative;z-index:1}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:0 12px;box-sizing:content-box}.mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-leading-icon-color)}.mat-form-field-disabled .mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-disabled-leading-icon-color)}.mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-trailing-icon-color)}.mat-form-field-disabled .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-disabled-trailing-icon-color)}.mat-form-field-invalid .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-trailing-icon-color)}.mat-form-field-invalid:not(.mat-focused):not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-hover-trailing-icon-color)}.mat-form-field-invalid.mat-focused .mat-mdc-text-field-wrapper .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-focus-trailing-icon-color)}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__affix{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled.mdc-ripple-upgraded--background-focused .mdc-text-field__ripple::before,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea{transition:none}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-filled 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-filled{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon{0%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}[dir=rtl] .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined[dir=rtl] .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon-rtl{0%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-standard 250ms 1}@keyframes mdc-floating-label-shake-float-above-standard{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-notched-outline .mdc-floating-label{max-width:calc(100% + 1px)}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(133.3333333333% + 1px)}'],encapsulation:2,data:{animation:[LL.transitionMessages]},changeDetection:0});let n=e;return n})(),ao=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=V({type:e}),e.\u0275inj=L({imports:[Ae,ri,uu,Ae]});let n=e;return n})();var ND=fn({passive:!0}),PD=(()=>{let e=class e{constructor(t,i){this._platform=t,this._ngZone=i,this._monitoredElements=new Map}monitor(t){if(!this._platform.isBrowser)return ut;let i=un(t),o=this._monitoredElements.get(i);if(o)return o.subject;let s=new A,a="cdk-text-field-autofilled",l=c=>{c.animationName==="cdk-text-field-autofill-start"&&!i.classList.contains(a)?(i.classList.add(a),this._ngZone.run(()=>s.next({target:c.target,isAutofilled:!0}))):c.animationName==="cdk-text-field-autofill-end"&&i.classList.contains(a)&&(i.classList.remove(a),this._ngZone.run(()=>s.next({target:c.target,isAutofilled:!1})))};return this._ngZone.runOutsideAngular(()=>{i.addEventListener("animationstart",l,ND),i.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(i,{subject:s,unlisten:()=>{i.removeEventListener("animationstart",l,ND)}}),s}stopMonitoring(t){let i=un(t),o=this._monitoredElements.get(i);o&&(o.unlisten(),o.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((t,i)=>this.stopMonitoring(i))}};e.\u0275fac=function(i){return new(i||e)(v(xe),v(k))},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();var FD=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=V({type:e}),e.\u0275inj=L({});let n=e;return n})();var UL=new E("MAT_INPUT_VALUE_ACCESSOR"),zL=["button","checkbox","file","hidden","image","radio","range","reset","submit"],HL=0,yr=(()=>{let e=class e{get disabled(){return this._disabled}set disabled(t){this._disabled=oi(t),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(t){this._id=t||this._uid}get required(){var t,i,o,s;return(s=(o=this._required)!=null?o:(i=(t=this.ngControl)==null?void 0:t.control)==null?void 0:i.hasValidator(Is.required))!=null?s:!1}set required(t){this._required=oi(t)}get type(){return this._type}set type(t){this._type=t||"text",this._validateType(),!this._isTextarea&&Ap().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(t){this._errorStateTracker.matcher=t}get value(){return this._inputValueAccessor.value}set value(t){t!==this.value&&(this._inputValueAccessor.value=t,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(t){this._readonly=oi(t)}get errorState(){return this._errorStateTracker.errorState}set errorState(t){this._errorStateTracker.errorState=t}constructor(t,i,o,s,a,l,c,d,u,f){this._elementRef=t,this._platform=i,this.ngControl=o,this._autofillMonitor=d,this._formField=f,this._uid="mat-input-".concat(HL++),this.focused=!1,this.stateChanges=new A,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(_=>Ap().has(_)),this._iOSKeyupListener=_=>{let C=_.target;!C.value&&C.selectionStart===0&&C.selectionEnd===0&&(C.setSelectionRange(1,1),C.setSelectionRange(0,0))};let m=this._elementRef.nativeElement,g=m.nodeName.toLowerCase();this._inputValueAccessor=c||m,this._previousNativeValue=this.value,this.id=this.id,i.IOS&&u.runOutsideAngular(()=>{t.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._errorStateTracker=new Cs(l,o,a,s,this.stateChanges),this._isServer=!this._platform.isBrowser,this._isNativeSelect=g==="select",this._isTextarea=g==="textarea",this._isInFormField=!!f,this._isNativeSelect&&(this.controlType=m.multiple?"mat-native-select-multiple":"mat-native-select")}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(t=>{this.autofilled=t.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.ngControl.disabled!==null&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(t){this._elementRef.nativeElement.focus(t)}updateErrorState(){this._errorStateTracker.updateErrorState()}_focusChanged(t){t!==this.focused&&(this.focused=t,this.stateChanges.next())}_onInput(){}_dirtyCheckNativeValue(){let t=this._elementRef.nativeElement.value;this._previousNativeValue!==t&&(this._previousNativeValue=t,this.stateChanges.next())}_dirtyCheckPlaceholder(){let t=this._getPlaceholder();if(t!==this._previousPlaceholder){let i=this._elementRef.nativeElement;this._previousPlaceholder=t,t?i.setAttribute("placeholder",t):i.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){zL.indexOf(this._type)>-1}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let t=this._elementRef.nativeElement.validity;return t&&t.badInput}get empty(){return!this._isNeverEmpty()&&!this._elementRef.nativeElement.value&&!this._isBadInput()&&!this.autofilled}get shouldLabelFloat(){if(this._isNativeSelect){let t=this._elementRef.nativeElement,i=t.options[0];return this.focused||t.multiple||!this.empty||!!(t.selectedIndex>-1&&i&&i.label)}else return this.focused||!this.empty}setDescribedByIds(t){t.length?this._elementRef.nativeElement.setAttribute("aria-describedby",t.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){let t=this._elementRef.nativeElement;return this._isNativeSelect&&(t.multiple||t.size>1)}};e.\u0275fac=function(i){return new(i||e)(h(P),h(xe),h(Ni,10),h(Pn,8),h(sl,8),h(wu),h(UL,10),h(PD),h(k),h(ll,8))},e.\u0275dir=N({type:e,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:18,hostBindings:function(i,o){i&1&&z("focus",function(){return o._focusChanged(!0)})("blur",function(){return o._focusChanged(!1)})("input",function(){return o._onInput()}),i&2&&(dn("id",o.id)("disabled",o.disabled)("required",o.required),De("name",o.name||null)("readonly",o.readonly&&!o._isNativeSelect||null)("aria-invalid",o.empty&&o.required?null:o.errorState)("aria-required",o.required)("id",o.id),ae("mat-input-server",o._isServer)("mat-mdc-form-field-textarea-control",o._isInFormField&&o._isTextarea)("mat-mdc-form-field-input-control",o._isInFormField)("mdc-text-field__input",o._isInFormField)("mat-mdc-native-select-inline",o._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],standalone:!0,features:[ze([{provide:al,useExisting:e}]),We]});let n=e;return n})(),LD=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=V({type:e}),e.\u0275inj=L({imports:[Ae,ao,ao,FD,Ae]});let n=e;return n})();var $L=(n,e,r)=>({username:n,domain:e,password:r,success:!1}),WL=(n,e,r)=>({username:n,domain:e,password:r,success:!0}),jD=(()=>{let e=class e{constructor(t){this.data=t,this.labels={username:django.gettext("Username"),password:django.gettext("Password"),domain:django.gettext("Domain")},this.username=t.username,this.domain=t.domain,this.password=""}};e.\u0275fac=function(i){return new(i||e)(h(Ka))},e.\u0275cmp=j({type:e,selectors:[["uds-credentials-modal"]],decls:21,vars:19,consts:[["mat-dialog-title",""],["matInput","",3,"ngModelChange","placeholder","ngModel"],["matInput","","type","password",3,"ngModelChange","placeholder","ngModel"],["mat-button","",3,"mat-dialog-close"]],template:function(i,o){i&1&&(p(0,"h2",0)(1,"uds-translate"),w(2,"Please, enter access credentials"),b()(),p(3,"mat-dialog-content")(4,"mat-form-field")(5,"mat-label"),w(6),b(),p(7,"input",1),oa("ngModelChange",function(a){return pd(o.username,a)||(o.username=a),a}),b()(),p(8,"mat-form-field")(9,"mat-label"),w(10),b(),p(11,"input",2),oa("ngModelChange",function(a){return pd(o.password,a)||(o.password=a),a}),b()(),p(12,"mat-form-field")(13,"mat-label"),w(14),b(),p(15,"input",1),oa("ngModelChange",function(a){return pd(o.domain,a)||(o.domain=a),a}),b()()(),p(16,"mat-dialog-actions")(17,"button",3),w(18,"Cancel"),b(),p(19,"button",3),w(20,"Accept"),b()()),i&2&&(x(6),Te(" ",o.labels.username," "),x(),M("placeholder",o.labels.username),ra("ngModel",o.username),x(3),Te(" ",o.labels.password," "),x(),M("placeholder",o.labels.password),ra("ngModel",o.password),x(3),Te(" ",o.labels.domain," "),x(),M("placeholder",o.labels.domain),ra("ngModel",o.domain),x(2),M("mat-dialog-close",Zm(11,$L,o.username,o.domain,o.password)),x(2),M("mat-dialog-close",Zm(15,WL,o.username,o.domain,o.password)))},dependencies:[zu,mD,sb,ui,Iu,Mu,Tu,Su,_r,fi,yr,He],styles:[".mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}"]});let n=e;return n})();var Yu=(()=>{let e=class e{constructor(t){this.dialog=t}alert(t,i,o=0){return ke(this,null,function*(){let s=window.innerWidth<800?"80%":"40%";return this.dialog.open(Kg,{width:s,data:{title:t,body:i,autoclose:o,type:Ja.alert},disableClose:!0})})}yesno(t,i){let o=window.innerWidth<800?"80%":"40%";return this.dialog.open(Kg,{width:o,data:{title:t,body:i,type:Ja.yesno},disableClose:!0}).componentInstance.yesno}askCredentials(t,i){let o=this.dialog.open(jD,{data:{username:t,domain:i}});return $t(o.afterClosed())}};e.\u0275fac=function(i){return new(i||e)(v(Xa))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let n=e;return n})();var VD="dark-theme",BD="light-theme";var qL=eval,Re=(()=>{let e=class e{constructor(t,i,o){this.http=t,this.gui=i,this.router=o,this.transportsWindow=null,this.user=new ou(udsData.profile),this.plugin=new Kw(this)}get config(){return udsData.config}get csrfField(){return csrf.csrfField}get csrfToken(){return csrf.csrfToken}get staffInfo(){return udsData.info}get plugins(){return udsData.plugins}get actors(){return udsData.actors}get errors(){return udsData.errors}enabler(t,i){return ke(this,null,function*(){let o=this.config.urls.enabler.replace("param1",t).replace("param2",i);return $t(this.http.get(o))})}status(t,i){return ke(this,null,function*(){let o=this.config.urls.status.replace("param1",t).replace("param2",i);return $t(this.http.get(o))})}action(t,i){return ke(this,null,function*(){let o=this.config.urls.action.replace("param1",i).replace("param2",t);return $t(this.http.get(o))})}transportUrl(t){return ke(this,null,function*(){return $t(this.http.get(t))})}updateTransportTicket(t,i,o,s,a){return ke(this,null,function*(){let l=this.config.urls.update_transport_ticket.replace("param1",t).replace("param2",i);return $t(this.http.post(l,{username:o,password:s,domain:a}))})}galleryImageURL(t){return this.config.urls.gallery_image.replace("param1",t)}transportIconURL(t){return this.config.urls.transport_icon.replace("param1",t)}staticURL(t){return su.production?this.config.urls.static+t:"/static/"+t}getServicesInformation(){return ke(this,null,function*(){return $t(this.http.get(this.config.urls.services))})}getErrorInformation(t){return ke(this,null,function*(){return $t(this.http.get(this.config.urls.error.replace("9999",t)))})}executeCustomJSForServiceLaunch(){udsData.custom_js_for_service_launch!==void 0&&this.eval(udsData.custom_js_for_service_launch)}gotoAdmin(){window.location.href=this.config.urls.admin}logout(){window.location.href=this.config.urls.logout}download(t){return ke(this,null,function*(){let i=document.getElementById("download");i||(i=document.createElement("iframe"),i.id="download",i.style.display="none",document.body.appendChild(i)),i.src=t,i.onload=()=>{alert("Error downloading file. Please try again later.")}})}sleep(t){return new Promise(i=>setTimeout(i,t))}launchURL(t){this.plugin.launchURL(t)}getAuthCustomJavascript(t){return ke(this,null,function*(){return $t(this.http.get(this.config.urls.custom_auth+t,{responseType:"text"}))})}switchTheme(t){let i=document.getElementsByTagName("html")[0];[VD,BD].forEach(o=>{i.classList.contains(o)&&i.classList.remove(o)}),i.classList.add(t?VD:BD)}putOnStorage(t,i){typeof Storage!==void 0&&sessionStorage.setItem(t,i)}getFromStorage(t){return typeof Storage!==void 0?sessionStorage.getItem(t):null}eval(t){qL(t)}};e.\u0275fac=function(i){return new(i||e)(v(gp),v(Yu),v(li))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let n=e;return n})();var cb=(()=>{let e=class e{constructor(t){this.api=t}canActivate(t,i){return this.api.user.isLogged?!0:(this.api.router.navigate(["login"]),!1)}};e.\u0275fac=function(i){return new(i||e)(v(Re))},e.\u0275prov=I({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();var YL=["trigger"],ZL=["panel"],QL=[[["mat-select-trigger"]],"*"],KL=["mat-select-trigger","*"];function XL(n,e){if(n&1&&(p(0,"span",4),w(1),b()),n&2){let r=R();x(),ct(r.placeholder)}}function JL(n,e){n&1&&ue(0)}function ej(n,e){if(n&1&&(p(0,"span",11),w(1),b()),n&2){let r=R(2);x(),ct(r.triggerValue)}}function tj(n,e){if(n&1&&(p(0,"span",5),F(1,JL,1,0)(2,ej,2,1,"span",11),b()),n&2){let r=R();x(),qe(r.customTrigger?1:2)}}function nj(n,e){if(n&1){let r=Me();p(0,"div",12,1),z("@transformPanel.done",function(i){te(r);let o=R();return ne(o._panelDoneAnimatingStream.next(i.toState))})("keydown",function(i){te(r);let o=R();return ne(o._handleKeydown(i))}),ue(2,1),b()}if(n&2){let r=R();rx("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",r._getPanelTheme(),""),M("ngClass",r.panelClass)("@transformPanel","showing"),De("id",r.id+"-panel")("aria-multiselectable",r.multiple)("aria-label",r.ariaLabel||null)("aria-labelledby",r._getPanelAriaLabelledby())}}var ij={transformPanelWrap:Nn("transformPanelWrap",[Qt("* => void",RC("@transformPanel",[OC()],{optional:!0}))]),transformPanel:Nn("transformPanel",[gn("void",ot({opacity:0,transform:"scale(1, 0.8)"})),Qt("void => showing",pn("120ms cubic-bezier(0, 0, 0.2, 1)",ot({opacity:1,transform:"scale(1, 1)"}))),Qt("* => void",pn("100ms linear",ot({opacity:0})))])};var UD=0,zD=new E("mat-select-scroll-strategy",{providedIn:"root",factory:()=>{let n=y(Ye);return()=>n.scrollStrategies.reposition()}});function rj(n){return()=>n.scrollStrategies.reposition()}var oj=new E("MAT_SELECT_CONFIG"),sj={provide:zD,deps:[Ye],useFactory:rj},aj=new E("MatSelectTrigger"),db=class{constructor(e,r){this.source=e,this.value=r}},HD=(()=>{let e=class e{_scrollOptionIntoView(t){let i=this.options.toArray()[t];if(i){let o=this.panel.nativeElement,s=MC(t,this.options,this.optionGroups),a=i._getHostElement();t===0&&s===1?o.scrollTop=0:o.scrollTop=SC(a.offsetTop,a.offsetHeight,o.scrollTop,o.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(t){return new db(this,t)}get focused(){return this._focused||this._panelOpen}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(t){this._hideSingleSelectionIndicator=t,this._syncParentProperties()}get placeholder(){return this._placeholder}set placeholder(t){this._placeholder=t,this.stateChanges.next()}get required(){var t,i,o,s;return(s=(o=this._required)!=null?o:(i=(t=this.ngControl)==null?void 0:t.control)==null?void 0:i.hasValidator(Is.required))!=null?s:!1}set required(t){this._required=t,this.stateChanges.next()}get multiple(){return this._multiple}set multiple(t){this._selectionModel,this._multiple=t}get compareWith(){return this._compareWith}set compareWith(t){this._compareWith=t,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(t){this._assignValue(t)&&this._onChange(t)}get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(t){this._errorStateTracker.matcher=t}get id(){return this._id}set id(t){this._id=t||this._uid,this.stateChanges.next()}get errorState(){return this._errorStateTracker.errorState}set errorState(t){this._errorStateTracker.errorState=t}constructor(t,i,o,s,a,l,c,d,u,f,m,g,_,C){var S,B,ve,q,$e;this._viewportRuler=t,this._changeDetectorRef=i,this._elementRef=a,this._dir=l,this._parentFormField=u,this.ngControl=f,this._liveAnnouncer=_,this._defaultOptions=C,this._positions=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"}],this._panelOpen=!1,this._compareWith=(be,pe)=>be===pe,this._uid="mat-select-".concat(UD++),this._triggerAriaLabelledBy=null,this._destroy=new A,this.stateChanges=new A,this.disableAutomaticLabeling=!0,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-".concat(UD++),this._panelDoneAnimatingStream=new A,this._overlayPanelClass=((S=this._defaultOptions)==null?void 0:S.overlayPanelClass)||"",this._focused=!1,this.controlType="mat-select",this.disabled=!1,this.disableRipple=!1,this.tabIndex=0,this._hideSingleSelectionIndicator=(ve=(B=this._defaultOptions)==null?void 0:B.hideSingleSelectionIndicator)!=null?ve:!1,this._multiple=!1,this.disableOptionCentering=($e=(q=this._defaultOptions)==null?void 0:q.disableOptionCentering)!=null?$e:!1,this.ariaLabel="",this.panelWidth=this._defaultOptions&&typeof this._defaultOptions.panelWidth<"u"?this._defaultOptions.panelWidth:"auto",this._initialized=new A,this.optionSelectionChanges=Bn(()=>{let be=this.options;return be?be.changes.pipe(at(be),it(()=>vt(...be.map(pe=>pe.onSelectionChange)))):this._initialized.pipe(it(()=>this.optionSelectionChanges))}),this.openedChange=new $,this._openedStream=this.openedChange.pipe(le(be=>be),K(()=>{})),this._closedStream=this.openedChange.pipe(le(be=>!be),K(()=>{})),this.selectionChange=new $,this.valueChange=new $,this._trackedModal=null,this._skipPredicate=be=>this.panelOpen?!1:be.disabled,this.ngControl&&(this.ngControl.valueAccessor=this),(C==null?void 0:C.typeaheadDebounceInterval)!=null&&(this.typeaheadDebounceInterval=C.typeaheadDebounceInterval),this._errorStateTracker=new Cs(s,f,d,c,this.stateChanges),this._scrollStrategyFactory=g,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(m)||0,this.id=this.id}ngOnInit(){this._selectionModel=new au(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(Hi(),Ie(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen)),this._viewportRuler.change().pipe(Ie(this._destroy)).subscribe(()=>{this.panelOpen&&(this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._changeDetectorRef.detectChanges())})}ngAfterContentInit(){this._initialized.next(),this._initialized.complete(),this._initKeyManager(),this._selectionModel.changed.pipe(Ie(this._destroy)).subscribe(t=>{t.added.forEach(i=>i.select()),t.removed.forEach(i=>i.deselect())}),this.options.changes.pipe(at(null),Ie(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){let t=this._getTriggerAriaLabelledby(),i=this.ngControl;if(t!==this._triggerAriaLabelledBy){let o=this._elementRef.nativeElement;this._triggerAriaLabelledBy=t,t?o.setAttribute("aria-labelledby",t):o.removeAttribute("aria-labelledby")}i&&(this._previousControl!==i.control&&(this._previousControl!==void 0&&i.disabled!==null&&i.disabled!==this.disabled&&(this.disabled=i.disabled),this._previousControl=i.control),this.updateErrorState())}ngOnChanges(t){(t.disabled||t.userAriaDescribedBy)&&this.stateChanges.next(),t.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this.typeaheadDebounceInterval)}ngOnDestroy(){var t;(t=this._keyManager)==null||t.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete(),this._clearFromModal()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin()),this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._applyModalPanelOwnership(),this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_applyModalPanelOwnership(){let t=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!t)return;let i="".concat(this.id,"-panel");this._trackedModal&&vu(this._trackedModal,"aria-owns",i),Rg(t,"aria-owns",i),this._trackedModal=t}_clearFromModal(){if(!this._trackedModal)return;let t="".concat(this.id,"-panel");vu(this._trackedModal,"aria-owns",t),this._trackedModal=null}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched(),this.stateChanges.next())}writeValue(t){this._assignValue(t)}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){var t,i;return this.multiple?((t=this._selectionModel)==null?void 0:t.selected)||[]:(i=this._selectionModel)==null?void 0:i.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){let t=this._selectionModel.selected.map(i=>i.viewValue);return this._isRtl()&&t.reverse(),t.join(", ")}return this._selectionModel.selected[0].viewValue}updateErrorState(){this._errorStateTracker.updateErrorState()}_isRtl(){return this._dir?this._dir.value==="rtl":!1}_handleKeydown(t){this.disabled||(this.panelOpen?this._handleOpenKeydown(t):this._handleClosedKeydown(t))}_handleClosedKeydown(t){let i=t.keyCode,o=i===40||i===38||i===37||i===39,s=i===13||i===32,a=this._keyManager;if(!a.isTyping()&&s&&!ht(t)||(this.multiple||t.altKey)&&o)t.preventDefault(),this.open();else if(!this.multiple){let l=this.selected;a.onKeydown(t);let c=this.selected;c&&l!==c&&this._liveAnnouncer.announce(c.viewValue,1e4)}}_handleOpenKeydown(t){let i=this._keyManager,o=t.keyCode,s=o===40||o===38,a=i.isTyping();if(s&&t.altKey)t.preventDefault(),this.close();else if(!a&&(o===13||o===32)&&i.activeItem&&!ht(t))t.preventDefault(),i.activeItem._selectViaInteraction();else if(!a&&this._multiple&&o===65&&t.ctrlKey){t.preventDefault();let l=this.options.some(c=>!c.disabled&&!c.selected);this.options.forEach(c=>{c.disabled||(l?c.select():c.deselect())})}else{let l=i.activeItemIndex;i.onKeydown(t),this._multiple&&s&&t.shiftKey&&i.activeItem&&i.activeItemIndex!==l&&i.activeItem._selectViaInteraction()}}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){var t;this._focused=!1,(t=this._keyManager)==null||t.cancelTypeahead(),!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe(Ve(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}_getPanelTheme(){return this._parentFormField?"mat-".concat(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(t){if(this.options.forEach(i=>i.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&t)Array.isArray(t),t.forEach(i=>this._selectOptionByValue(i)),this._sortValues();else{let i=this._selectOptionByValue(t);i?this._keyManager.updateActiveItem(i):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(t){let i=this.options.find(o=>{if(this._selectionModel.isSelected(o))return!1;try{return o.value!=null&&this._compareWith(o.value,t)}catch{return!1}});return i&&this._selectionModel.select(i),i}_assignValue(t){return t!==this._value||this._multiple&&Array.isArray(t)?(this.options&&this._setSelectionByValue(t),this._value=t,!0):!1}_getOverlayWidth(t){return this.panelWidth==="auto"?(t instanceof za?t.elementRef:t||this._elementRef).nativeElement.getBoundingClientRect().width:this.panelWidth===null?"":this.panelWidth}_syncParentProperties(){if(this.options)for(let t of this.options)t._changeDetectorRef.markForCheck()}_initKeyManager(){this._keyManager=new bu(this.options).withTypeAhead(this.typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withPageUpDown().withAllowedModifierKeys(["shiftKey"]).skipPredicate(this._skipPredicate),this._keyManager.tabOut.subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){let t=vt(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(Ie(t)).subscribe(i=>{this._onSelect(i.source,i.isUserInput),i.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),vt(...this.options.map(i=>i._stateChanges)).pipe(Ie(t)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(t,i){let o=this._selectionModel.isSelected(t);t.value==null&&!this._multiple?(t.deselect(),this._selectionModel.clear(),this.value!=null&&this._propagateChanges(t.value)):(o!==t.selected&&(t.selected?this._selectionModel.select(t):this._selectionModel.deselect(t)),i&&this._keyManager.setActiveItem(t),this.multiple&&(this._sortValues(),i&&this.focus())),o!==this._selectionModel.isSelected(t)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){let t=this.options.toArray();this._selectionModel.sort((i,o)=>this.sortComparator?this.sortComparator(i,o,t):t.indexOf(i)-t.indexOf(o)),this.stateChanges.next()}}_propagateChanges(t){let i;this.multiple?i=this.selected.map(o=>o.value):i=this.selected?this.selected.value:t,this._value=i,this.valueChange.emit(i),this._onChange(i),this.selectionChange.emit(this._getChangeEvent(i)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let t=-1;for(let i=0;i0}focus(t){this._elementRef.nativeElement.focus(t)}_getPanelAriaLabelledby(){var o;if(this.ariaLabel)return null;let t=(o=this._parentFormField)==null?void 0:o.getLabelId(),i=t?t+" ":"";return this.ariaLabelledby?i+this.ariaLabelledby:t}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){var o;if(this.ariaLabel)return null;let t=(o=this._parentFormField)==null?void 0:o.getLabelId(),i=(t?t+" ":"")+this._valueId;return this.ariaLabelledby&&(i+=" "+this.ariaLabelledby),i}_panelDoneAnimating(t){this.openedChange.emit(t)}setDescribedByIds(t){t.length?this._elementRef.nativeElement.setAttribute("aria-describedby",t.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}};e.\u0275fac=function(i){return new(i||e)(h(ms),h(Ne),h(k),h(wu),h(P),h(St,8),h(Pn,8),h(sl,8),h(ll,8),h(Ni,10),Qn("tabindex"),h(zD),h(gC),h(oj,8))},e.\u0275cmp=j({type:e,selectors:[["mat-select"]],contentQueries:function(i,o,s){if(i&1&&(tt(s,aj,5),tt(s,Cu,5),tt(s,Wg,5)),i&2){let a;ie(a=re())&&(o.customTrigger=a.first),ie(a=re())&&(o.options=a),ie(a=re())&&(o.optionGroups=a)}},viewQuery:function(i,o){if(i&1&&(Fe(YL,5),Fe(ZL,5),Fe(Mg,5)),i&2){let s;ie(s=re())&&(o.trigger=s.first),ie(s=re())&&(o.panel=s.first),ie(s=re())&&(o._overlayDir=s.first)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:19,hostBindings:function(i,o){i&1&&z("keydown",function(a){return o._handleKeydown(a)})("focus",function(){return o._onFocus()})("blur",function(){return o._onBlur()}),i&2&&(De("id",o.id)("tabindex",o.disabled?-1:o.tabIndex)("aria-controls",o.panelOpen?o.id+"-panel":null)("aria-expanded",o.panelOpen)("aria-label",o.ariaLabel||null)("aria-required",o.required.toString())("aria-disabled",o.disabled.toString())("aria-invalid",o.errorState)("aria-activedescendant",o._getAriaActiveDescendant()),ae("mat-mdc-select-disabled",o.disabled)("mat-mdc-select-invalid",o.errorState)("mat-mdc-select-required",o.required)("mat-mdc-select-empty",o.empty)("mat-mdc-select-multiple",o.multiple))},inputs:{userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",disabled:[2,"disabled","disabled",oe],disableRipple:[2,"disableRipple","disableRipple",oe],tabIndex:[2,"tabIndex","tabIndex",t=>t==null?0:ti(t)],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",oe],placeholder:"placeholder",required:[2,"required","required",oe],multiple:[2,"multiple","multiple",oe],disableOptionCentering:[2,"disableOptionCentering","disableOptionCentering",oe],compareWith:"compareWith",value:"value",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:[2,"typeaheadDebounceInterval","typeaheadDebounceInterval",ti],sortComparator:"sortComparator",id:"id",panelWidth:"panelWidth"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],standalone:!0,features:[ze([{provide:al,useExisting:e},{provide:$g,useExisting:e}]),Le,We,Oe],ngContentSelectors:KL,decls:11,vars:8,consts:[["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],["panel",""],["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],[1,"mat-mdc-select-value"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],[1,"mat-mdc-select-value-text"],[1,"mat-mdc-select-arrow-wrapper"],[1,"mat-mdc-select-arrow"],["viewBox","0 0 24 24","width","24px","height","24px","focusable","false","aria-hidden","true"],["d","M7 10l5 5 5-5z"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"backdropClick","attach","detach","cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",3,"keydown","ngClass"]],template:function(i,o){if(i&1){let s=Me();Je(QL),p(0,"div",2,0),z("click",function(){return te(s),ne(o.open())}),p(3,"div",3),F(4,XL,2,1,"span",4)(5,tj,3,1,"span",5),b(),p(6,"div",6)(7,"div",7),Zn(),p(8,"svg",8),O(9,"path",9),b()()()(),F(10,nj,3,9,"ng-template",10),z("backdropClick",function(){return te(s),ne(o.close())})("attach",function(){return te(s),ne(o._onAttached())})("detach",function(){return te(s),ne(o.close())})}if(i&2){let s=Et(1);x(3),De("id",o._valueId),x(),qe(o.empty?4:5),x(6),M("cdkConnectedOverlayPanelClass",o._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",o._scrollStrategy)("cdkConnectedOverlayOrigin",o._preferredOverlayOrigin||s)("cdkConnectedOverlayOpen",o.panelOpen)("cdkConnectedOverlayPositions",o._positions)("cdkConnectedOverlayWidth",o._overlayWidth)}},dependencies:[za,Mg,Qo],styles:['.mat-mdc-select{display:inline-block;width:100%;outline:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-select-enabled-trigger-text-color);font-family:var(--mat-select-trigger-text-font);line-height:var(--mat-select-trigger-text-line-height);font-size:var(--mat-select-trigger-text-size);font-weight:var(--mat-select-trigger-text-weight);letter-spacing:var(--mat-select-trigger-text-tracking)}div.mat-mdc-select-panel{box-shadow:var(--mat-select-container-elevation-shadow)}.mat-mdc-select-disabled{color:var(--mat-select-disabled-trigger-text-color)}.mat-mdc-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-mdc-select-disabled .mat-mdc-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-mdc-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-mdc-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-mdc-select-arrow-wrapper{height:24px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper{transform:none}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-invalid .mat-mdc-select-arrow,.mat-form-field-invalid:not(.mat-form-field-disabled) .mat-mdc-form-field-infix::after{color:var(--mat-select-invalid-arrow-color)}.mat-mdc-select-arrow{width:10px;height:5px;position:relative;color:var(--mat-select-enabled-arrow-color)}.mat-mdc-form-field.mat-focused .mat-mdc-select-arrow{color:var(--mat-select-focused-arrow-color)}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-disabled .mat-mdc-select-arrow{color:var(--mat-select-disabled-arrow-color)}.mat-mdc-select-arrow svg{fill:currentColor;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:CanvasText}.mat-mdc-select-disabled .cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:GrayText}div.mat-mdc-select-panel{width:100%;max-height:275px;outline:0;overflow:auto;padding:8px 0;border-radius:4px;box-sizing:border-box;position:static;background-color:var(--mat-select-panel-background-color)}.cdk-high-contrast-active div.mat-mdc-select-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-select-panel-above) div.mat-mdc-select-panel{border-top-left-radius:0;border-top-right-radius:0;transform-origin:top center}.mat-mdc-select-panel-above div.mat-mdc-select-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:bottom center}div.mat-mdc-select-panel .mat-mdc-option{--mdc-list-list-item-container-color: var(--mat-select-panel-background-color)}.mat-mdc-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);color:var(--mat-select-placeholder-text-color)}._mat-animation-noopable .mat-mdc-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-mdc-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-mdc-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper{cursor:pointer}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mat-mdc-floating-label{max-width:calc(100% - 18px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 24px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-text-field--label-floating .mdc-notched-outline__notch{max-width:calc(100% - 24px)}.mat-mdc-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}.mat-form-field-appearance-fill .mat-mdc-select-arrow-wrapper{transform:var(--mat-select-arrow-transform)}'],encapsulation:2,data:{animation:[ij.transformPanel]},changeDetection:0});let n=e;return n})();var $D=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=V({type:e}),e.\u0275inj=L({providers:[sj],imports:[ri,ci,Gg,Ae,cr,ao,Gg,Ae]});let n=e;return n})();function cj(n,e){if(n&1&&(p(0,"mat-option",19),w(1),b()),n&2){let r=e.$implicit;M("value",r.id),x(),Te(" ",r.name," ")}}function dj(n,e){if(n&1){let r=Me();p(0,"div",9)(1,"mat-form-field",16)(2,"mat-label")(3,"uds-translate"),w(4,"Authenticator"),b()(),p(5,"mat-select",17),z("selectionChange",function(i){te(r);let o=R();return ne(o.changeAuth(i.value))}),F(6,cj,2,2,"mat-option",18),b()()()}if(n&2){let r=R();x(5),M("value",r.auths[0].id),x(),M("ngForOf",r.auths)}}var ub=(()=>{let e=class e{constructor(t){this.api=t,this.auth={},this.title="UDS Enterprise",this.title=t.config.site_name,this.auths=t.config.authenticators.slice(0),this.auths.sort((i,o)=>i.priority-o.priority)}ngOnInit(){let t=document.getElementById("loginform");t.action=this.api.config.urls.login;let i=document.getElementById("token");i.name=this.api.csrfField;let o=document.cookie.split(";").find(s=>s.trim().startsWith("csrftoken="))||"=";i.value=o.split("=")[1],this.auth=document.getElementById("authenticator"),this.auths.length>0&&(this.auth.value=this.auths[0].id,this.changeAuth(this.auth.value)),this.api.errors.length>0&&this.api.gui.alert(django.gettext("Errors found"),"
"+this.api.errors.join("
")+"
")}changeAuth(t){this.auth.value=t;let i=o=>{this.api.eval(o)};for(let o of this.auths)o.id===t&&o.is_custom&&(document.getElementsByClassName("login-form")[0].setAttribute("style","display: none;"),this.api.getAuthCustomJavascript(o.id).then(s=>i(s)))}launch(){return document.getElementById("loginform").submit(),!0}};e.\u0275fac=function(i){return new(i||e)(h(Re))},e.\u0275cmp=j({type:e,selectors:[["uds-login"]],decls:29,vars:6,consts:[["id","loginform","method","post",3,"ngSubmit"],["name","","id","token","value","","type","hidden"],["name","logouturl","id","id_logouturl","value","","type","hidden"],["name","authenticator","id","authenticator","value","","type","hidden"],[1,"login-container"],[1,"login-brand"],[3,"src"],[1,"login-info"],[1,"login-form"],[1,"login-field"],["matInput","","id","id_user","name","user","value","","required","","autofocus",""],["matInput","","id","id_password","type","password","name","password","data-eye","",1,"form-control"],["class","login-field",4,"ngIf"],[1,"login-button"],["mat-stroked-button","","color","primary","type","submit"],[1,"site-info",3,"innerHTML"],["appaerance","standard"],[3,"selectionChange","value"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(i,o){i&1&&(p(0,"form",0),z("ngSubmit",function(){return o.launch()}),O(1,"input",1)(2,"input",2)(3,"input",3),p(4,"div",4)(5,"div",5),O(6,"img",6),b(),p(7,"div",7),w(8),b(),p(9,"div",8)(10,"div",9)(11,"mat-form-field")(12,"mat-label")(13,"uds-translate"),w(14,"Username"),b()(),O(15,"input",10),b()(),p(16,"div",9)(17,"mat-form-field")(18,"mat-label")(19,"uds-translate"),w(20,"Password"),b()(),O(21,"input",11),b()(),F(22,dj,7,2,"div",12),p(23,"div",13)(24,"button",14)(25,"uds-translate"),w(26,"Login"),b()()()(),O(27,"div",15),Jn(28,"safeHtml"),b()()),i&2&&(x(6),M("src",o.api.staticURL("modern/img/login-img.png"),ft),x(2),Te(" ",o.title," "),x(14),M("ngIf",o.auths.length>1),x(5),M("innerHTML",ei(28,4,o.api.config.site_information),Xn))},dependencies:[It,Mt,Ss,Ms,Pn,ui,_r,fi,yr,HD,Cu,He,pr],styles:[".login-container[_ngcontent-%COMP%]{display:flex;flex-flow:column wrap;justify-content:center;align-items:center}.login-brand[_ngcontent-%COMP%]{margin:1rem 0 0}.login-info[_ngcontent-%COMP%]{margin:1rem 0}.login-form[_ngcontent-%COMP%]{margin:0 1rem 2rem 0;min-width:32em;padding:1rem;-moz-box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.12),0 1px 5px 0 rgba(0,0,0,.2);box-shadow:0 2px 2px #00000024,0 3px 1px -2px #0000001f,0 1px 5px #0003;transition:all .3s cubic-bezier(.25,.8,.25,1);flex:1 0 auto;justify-content:center;flex-flow:column wrap;align-items:center;display:flex}.login-field[_ngcontent-%COMP%]{width:80%;margin:.5rem}.login-button[_ngcontent-%COMP%]{margin:2rem}.mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}@media only screen and (max-width: 744px){.login-form[_ngcontent-%COMP%]{min-width:80%}}"]});let n=e;return n})();function uj(n,e){if(n&1){let r=Me();p(0,"div",6),z("click",function(){let i=te(r).$implicit,o=R();return ne(o.api.download(i.url))}),p(1,"div",7),O(2,"img",8),b(),p(3,"div",9),w(4),b(),p(5,"div",10),w(6),b()()}if(n&2){let r=e.$implicit,t=R();zt(t.css(r)),x(2),M("src",t.img(r.name),ft),x(2),Ym(" ",t.legacy(r)," ",r.name," (",r.url.split(".").pop(),") "),x(2),Te(" ",r.description," ")}}var WD=(()=>{let e=class e{constructor(t){this.api=t}ngOnInit(){}img(t){return this.api.staticURL("modern/img/"+t+".png")}css(t){let i=["plugin"];return t.legacy&&i.push("legacy"),i}legacy(t){return t.legacy?"Legacy":""}};e.\u0275fac=function(i){return new(i||e)(h(Re))},e.\u0275cmp=j({type:e,selectors:[["uds-client-download"]],decls:13,vars:1,consts:[[1,"plugins-container"],[1,"banner"],[1,"banner-text"],[1,"plugins"],[3,"class","click",4,"ngFor","ngForOf"],[1,"info"],[3,"click"],[1,"image"],[3,"src"],[1,"platform"],[1,"description"]],template:function(i,o){i&1&&(p(0,"div",0)(1,"div",1)(2,"div",2)(3,"h1")(4,"uds-translate"),w(5,"UDS Client"),b()()()(),p(6,"div",3),F(7,uj,7,7,"div",4),b(),p(8,"div",5)(9,"ul")(10,"li")(11,"uds-translate"),w(12,"Download UDS client for your platform"),b()()()()()),i&2&&(x(7),M("ngForOf",o.api.plugins))},dependencies:[It,He],styles:[".plugins-container[_ngcontent-%COMP%]{margin:0 2%}.banner[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-bottom:2rem}.banner-text[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:3rem;text-align:center}.banner-text[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:1rem}.plugins[_ngcontent-%COMP%]{display:flex;flex-flow:row wrap;justify-content:center}.plugin[_ngcontent-%COMP%]{margin:0 1rem 2rem 0;padding:1rem;border-radius:1rem;box-shadow:0 1rem 2rem #00000040,0 10px 10px #00000038;transition:all .3s cubic-bezier(.25,.8,.25,1);flex:1 0 15%}.plugin.legacy[_ngcontent-%COMP%]{background-color:#d3d3d3;flex:1 0 19%;max-width:20%}.plugin.legacy[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:5rem}.plugin[_ngcontent-%COMP%]:hover{cursor:pointer;box-shadow:0 .1rem .2rem #00000040,0 10px 10px #00000038;background-color:#0000001a}.image[_ngcontent-%COMP%]{display:flex;justify-content:center}.platform[_ngcontent-%COMP%]{text-align:center;font-size:2rem}.description[_ngcontent-%COMP%]{display:flex;text-align:center;justify-content:center;margin-top:.5rem} .dark-theme uds-client-download{color:#fff!important} .dark-theme .plugin.legacy{background-color:#a9a9a9} .dark-theme .plugin:hover{background-color:#ffffff1a}"]});let n=e;return n})();function fj(n,e){if(n&1){let r=Me();p(0,"div",6),z("click",function(){let i=te(r).$implicit,o=R();return ne(o.api.download(i.url))}),p(1,"div",7),O(2,"img",8),b(),O(3,"div",9),Jn(4,"safeHtml"),O(5,"div",10),Jn(6,"safeHtml"),b()}if(n&2){let r=e.$implicit,t=R();zt(t.css(r.name)),x(2),M("src",t.img(r.name),ft),x(),M("innerHTML",ei(4,5,r.name),Xn),x(2),M("innerHTML",ei(6,7,r.description),Xn)}}var GD=(()=>{let e=class e{constructor(t){this.api=t,this.actors=[]}ngOnInit(){this.actors=[];let t=[];for(let i of this.api.actors)i.name.includes("legacy")?t.push(i):this.actors.push(i);for(let i of t)this.actors.push(i)}img(t){let i=(t.split(".").pop()||"").toLowerCase(),o="Linux";return i==="exe"?o="Windows":i==="pkg"&&(o="MacOS"),this.api.staticURL("modern/img/"+o+".png")}css(t){let i=["actor"];return t.toLowerCase().includes("legacy")&&i.push("legacy"),i}};e.\u0275fac=function(i){return new(i||e)(h(Re))},e.\u0275cmp=j({type:e,selectors:[["uds-downloads"]],decls:16,vars:1,consts:[[1,"actors-container"],[1,"banner"],[1,"banner-text"],[1,"actors"],[3,"class","click",4,"ngFor","ngForOf"],[1,"info"],[3,"click"],[1,"image"],[3,"src"],[1,"name",3,"innerHTML"],[1,"description",3,"innerHTML"]],template:function(i,o){i&1&&(p(0,"div",0)(1,"div",1)(2,"div",2)(3,"h1")(4,"uds-translate"),w(5,"Downloads"),b()()()(),p(6,"div",3),F(7,fj,7,9,"div",4),b(),p(8,"div",5)(9,"ul")(10,"li")(11,"uds-translate"),w(12,"Always download the UDS actor matching your platform"),b()(),p(13,"li")(14,"uds-translate"),w(15,"Legacy actors are only provided for old operating system support. Try to avoid them."),b()()()()()),i&2&&(x(7),M("ngForOf",o.actors))},dependencies:[It,He,pr],styles:[".actors-container[_ngcontent-%COMP%]{display:flex;flex-flow:column;margin:0 2%}.banner[_ngcontent-%COMP%]{display:flex;justify-content:center}.banner-text[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:2em;text-align:center}.actors[_ngcontent-%COMP%]{display:flex;flex-flow:row wrap;justify-content:space-around;align-content:center;margin:auto}.actor[_ngcontent-%COMP%]{border:1px solid;margin-top:1rem;padding:1em;border-radius:1rem;box-shadow:0 1rem 2rem #00000040,0 10px 10px #00000038;transition:all .3s cubic-bezier(.25,.8,.25,1);flex:1 0 34%;margin-right:1em}.actor.legacy[_ngcontent-%COMP%]{background-color:#d3d3d3;max-width:50%}.actor[_ngcontent-%COMP%]:hover{cursor:pointer;box-shadow:0 .1rem .2rem #00000040,0 10px 10px #00000038;background-color:#0000001a}.image[_ngcontent-%COMP%]{display:block;float:left;padding-right:1rem;height:100%}.image[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:4rem}.name[_ngcontent-%COMP%]{font-size:1.5em;margin-bottom:1em;font-weight:700;overflow:hidden} .dark-theme uds-downloads{color:#fff!important} .dark-theme .actor.legacy{background-color:#464646}"]});let n=e;return n})();var hj=0,fb=new E("CdkAccordion"),qD=(()=>{let e=class e{constructor(){this._stateChanges=new A,this._openCloseAllActions=new A,this.id="cdk-accordion-".concat(hj++),this.multi=!1}openAll(){this.multi&&this._openCloseAllActions.next(!0)}closeAll(){this._openCloseAllActions.next(!1)}ngOnChanges(t){this._stateChanges.next(t)}ngOnDestroy(){this._stateChanges.complete(),this._openCloseAllActions.complete()}};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=N({type:e,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:[2,"multi","multi",oe]},exportAs:["cdkAccordion"],standalone:!0,features:[ze([{provide:fb,useExisting:e}]),Le,We]});let n=e;return n})(),mj=0,YD=(()=>{let e=class e{get expanded(){return this._expanded}set expanded(t){if(this._expanded!==t){if(this._expanded=t,this.expandedChange.emit(t),t){this.opened.emit();let i=this.accordion?this.accordion.id:this.id;this._expansionDispatcher.notify(this.id,i)}else this.closed.emit();this._changeDetectorRef.markForCheck()}}constructor(t,i,o){this.accordion=t,this._changeDetectorRef=i,this._expansionDispatcher=o,this._openCloseAllSubscription=fe.EMPTY,this.closed=new $,this.opened=new $,this.destroyed=new $,this.expandedChange=new $,this.id="cdk-accordion-child-".concat(mj++),this._expanded=!1,this.disabled=!1,this._removeUniqueSelectionListener=()=>{},this._removeUniqueSelectionListener=o.listen((s,a)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===a&&this.id!==s&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}ngOnDestroy(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()}toggle(){this.disabled||(this.expanded=!this.expanded)}close(){this.disabled||(this.expanded=!1)}open(){this.disabled||(this.expanded=!0)}_subscribeToOpenCloseAllActions(){return this.accordion._openCloseAllActions.subscribe(t=>{this.disabled||(this.expanded=t)})}};e.\u0275fac=function(i){return new(i||e)(h(fb,12),h(Ne),h(lu))},e.\u0275dir=N({type:e,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:[2,"expanded","expanded",oe],disabled:[2,"disabled","disabled",oe]},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],standalone:!0,features:[ze([{provide:fb,useValue:void 0}]),Le]});let n=e;return n})(),ZD=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=V({type:e}),e.\u0275inj=L({});let n=e;return n})();var pj=["body"],gj=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],bj=["mat-expansion-panel-header","*","mat-action-row"];function vj(n,e){}var _j=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],yj=["mat-panel-title","mat-panel-description","*"];function xj(n,e){if(n&1&&(p(0,"span",1),Zn(),p(1,"svg",2),O(2,"path",3),b()()),n&2){let r=R();M("@indicatorRotate",r._getExpandedState())}}var hb=new E("MAT_ACCORDION"),QD="225ms cubic-bezier(0.4,0.0,0.2,1)",XD={indicatorRotate:Nn("indicatorRotate",[gn("collapsed, void",ot({transform:"rotate(0deg)"})),gn("expanded",ot({transform:"rotate(180deg)"})),Qt("expanded <=> collapsed, void => collapsed",pn(QD))]),bodyExpansion:Nn("bodyExpansion",[gn("collapsed, void",ot({height:"0px",visibility:"hidden"})),gn("expanded",ot({height:"*",visibility:""})),Qt("expanded <=> collapsed, void => collapsed",pn(QD))])},JD=new E("MAT_EXPANSION_PANEL"),wj=(()=>{let e=class e{constructor(t,i){this._template=t,this._expansionPanel=i}};e.\u0275fac=function(i){return new(i||e)(h(pt),h(JD,8))},e.\u0275dir=N({type:e,selectors:[["ng-template","matExpansionPanelContent",""]],standalone:!0});let n=e;return n})(),Cj=0,eE=new E("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS"),cl=(()=>{let e=class e extends YD{get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(t){this._hideToggle=t}get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(t){this._togglePosition=t}constructor(t,i,o,s,a,l,c){super(t,i,o),this._viewContainerRef=s,this._animationMode=l,this._hideToggle=!1,this.afterExpand=new $,this.afterCollapse=new $,this._inputChanges=new A,this._headerId="mat-expansion-panel-header-".concat(Cj++),this.accordion=t,this._document=a,this._animationsDisabled=l==="NoopAnimations",c&&(this.hideToggle=c.hideToggle)}_hasSpacing(){return this.accordion?this.expanded&&this.accordion.displayMode==="default":!1}_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(at(null),le(()=>this.expanded&&!this._portal),Ve(1)).subscribe(()=>{this._portal=new Rn(this._lazyContent._template,this._viewContainerRef)})}ngOnChanges(t){this._inputChanges.next(t)}ngOnDestroy(){super.ngOnDestroy(),this._inputChanges.complete()}_containsFocus(){if(this._body){let t=this._document.activeElement,i=this._body.nativeElement;return t===i||i.contains(t)}return!1}_animationStarted(t){var i;!KD(t)&&!this._animationsDisabled&&this._body&&((i=this._body)==null||i.nativeElement.setAttribute("inert",""))}_animationDone(t){KD(t)||(t.toState==="expanded"?this.afterExpand.emit():t.toState==="collapsed"&&this.afterCollapse.emit(),!this._animationsDisabled&&this._body&&this._body.nativeElement.removeAttribute("inert"))}};e.\u0275fac=function(i){return new(i||e)(h(hb,12),h(Ne),h(lu),h(lt),h(W),h(Ge,8),h(eE,8))},e.\u0275cmp=j({type:e,selectors:[["mat-expansion-panel"]],contentQueries:function(i,o,s){if(i&1&&tt(s,wj,5),i&2){let a;ie(a=re())&&(o._lazyContent=a.first)}},viewQuery:function(i,o){if(i&1&&Fe(pj,5),i&2){let s;ie(s=re())&&(o._body=s.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(i,o){i&2&&ae("mat-expanded",o.expanded)("_mat-animation-noopable",o._animationsDisabled)("mat-expansion-panel-spacing",o._hasSpacing())},inputs:{hideToggle:[2,"hideToggle","hideToggle",oe],togglePosition:"togglePosition"},outputs:{afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],standalone:!0,features:[ze([{provide:hb,useValue:void 0},{provide:JD,useExisting:e}]),Le,Ue,We,Oe],ngContentSelectors:bj,decls:7,vars:4,consts:[["body",""],["role","region",1,"mat-expansion-panel-content",3,"id"],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(i,o){if(i&1){let s=Me();Je(gj),ue(0),p(1,"div",1,0),z("@bodyExpansion.start",function(l){return te(s),ne(o._animationStarted(l))})("@bodyExpansion.done",function(l){return te(s),ne(o._animationDone(l))}),p(3,"div",2),ue(4,1),F(5,vj,0,0,"ng-template",3),b(),ue(6,2),b()}i&2&&(x(),M("@bodyExpansion",o._getExpandedState())("id",o.id),De("aria-labelledby",o._headerId),x(4),M("cdkPortalOutlet",o._portal))},dependencies:[Jr],styles:['.mat-expansion-panel{box-sizing:content-box;display:block;margin:0;overflow:hidden;transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);position:relative;background:var(--mat-expansion-container-background-color);color:var(--mat-expansion-container-text-color);border-radius:var(--mat-expansion-container-shape)}.mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12)}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:var(--mat-expansion-container-shape);border-top-left-radius:var(--mat-expansion-container-shape)}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:var(--mat-expansion-container-shape);border-bottom-left-radius:var(--mat-expansion-container-shape)}.cdk-high-contrast-active .mat-expansion-panel{outline:solid 1px}.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel,.mat-expansion-panel._mat-animation-noopable{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible;font-family:var(--mat-expansion-container-text-font);font-size:var(--mat-expansion-container-text-size);font-weight:var(--mat-expansion-container-text-weight);line-height:var(--mat-expansion-container-text-line-height);letter-spacing:var(--mat-expansion-container-text-tracking)}.mat-expansion-panel-content[style*="visibility: hidden"] *{visibility:hidden !important}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px;border-top-color:var(--mat-expansion-actions-divider-color)}.mat-action-row .mat-button-base,.mat-action-row .mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row .mat-button-base,[dir=rtl] .mat-action-row .mat-mdc-button-base{margin-left:0;margin-right:8px}'],encapsulation:2,data:{animation:[XD.bodyExpansion]},changeDetection:0});let n=e;return n})();function KD(n){return n.fromState==="void"}var dl=(()=>{let e=class e{constructor(t,i,o,s,a,l,c){this.panel=t,this._element=i,this._focusMonitor=o,this._changeDetectorRef=s,this._animationMode=l,this._parentChangeSubscription=fe.EMPTY,this.tabIndex=0;let d=t.accordion?t.accordion._stateChanges.pipe(le(u=>!!(u.hideToggle||u.togglePosition))):ut;this.tabIndex=parseInt(c||"")||0,this._parentChangeSubscription=vt(t.opened,t.closed,d,t._inputChanges.pipe(le(u=>!!(u.hideToggle||u.disabled||u.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),t.closed.pipe(le(()=>t._containsFocus())).subscribe(()=>o.focusVia(i,"program")),a&&(this.expandedHeight=a.expandedHeight,this.collapsedHeight=a.collapsedHeight)}get disabled(){return this.panel.disabled}_toggle(){this.disabled||this.panel.toggle()}_isExpanded(){return this.panel.expanded}_getExpandedState(){return this.panel._getExpandedState()}_getPanelId(){return this.panel.id}_getTogglePosition(){return this.panel.togglePosition}_showToggle(){return!this.panel.hideToggle&&!this.panel.disabled}_getHeaderHeight(){let t=this._isExpanded();return t&&this.expandedHeight?this.expandedHeight:!t&&this.collapsedHeight?this.collapsedHeight:null}_keydown(t){switch(t.keyCode){case 32:case 13:ht(t)||(t.preventDefault(),this._toggle());break;default:this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(t);return}}focus(t,i){t?this._focusMonitor.focusVia(this._element,t,i):this._element.nativeElement.focus(i)}ngAfterViewInit(){this._focusMonitor.monitor(this._element).subscribe(t=>{t&&this.panel.accordion&&this.panel.accordion._handleHeaderFocus(this)})}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}};e.\u0275fac=function(i){return new(i||e)(h(cl,1),h(P),h(Zt),h(Ne),h(eE,8),h(Ge,8),Qn("tabindex"))},e.\u0275cmp=j({type:e,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(i,o){i&1&&z("click",function(){return o._toggle()})("keydown",function(a){return o._keydown(a)}),i&2&&(De("id",o.panel._headerId)("tabindex",o.disabled?-1:o.tabIndex)("aria-controls",o._getPanelId())("aria-expanded",o._isExpanded())("aria-disabled",o.panel.disabled),qr("height",o._getHeaderHeight()),ae("mat-expanded",o._isExpanded())("mat-expansion-toggle-indicator-after",o._getTogglePosition()==="after")("mat-expansion-toggle-indicator-before",o._getTogglePosition()==="before")("_mat-animation-noopable",o._animationMode==="NoopAnimations"))},inputs:{expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight",tabIndex:[2,"tabIndex","tabIndex",t=>t==null?0:ti(t)]},standalone:!0,features:[Le,Oe],ngContentSelectors:yj,decls:5,vars:3,consts:[[1,"mat-content"],[1,"mat-expansion-indicator"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 -960 960 960","aria-hidden","true","focusable","false"],["d","M480-345 240-585l56-56 184 184 184-184 56 56-240 240Z"]],template:function(i,o){i&1&&(Je(_j),p(0,"span",0),ue(1),ue(2,1),ue(3,2),b(),F(4,xj,3,1,"span",1)),i&2&&(ae("mat-content-hide-toggle",!o._showToggle()),x(4),qe(o._showToggle()?4:-1))},styles:['.mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit;transition:height 225ms cubic-bezier(0.4, 0, 0.2, 1);height:var(--mat-expansion-header-collapsed-state-height);font-family:var(--mat-expansion-header-text-font);font-size:var(--mat-expansion-header-text-size);font-weight:var(--mat-expansion-header-text-weight);line-height:var(--mat-expansion-header-text-line-height);letter-spacing:var(--mat-expansion-header-text-tracking)}.mat-expansion-panel-header.mat-expanded{height:var(--mat-expansion-header-expanded-state-height)}.mat-expansion-panel-header[aria-disabled=true]{color:var(--mat-expansion-header-disabled-state-text-color)}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]):hover{background:var(--mat-expansion-header-hover-state-layer-color)}@media(hover: none){.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]):hover{background:var(--mat-expansion-container-background-color)}}.mat-expansion-panel .mat-expansion-panel-header:not([aria-disabled=true]).cdk-keyboard-focused,.mat-expansion-panel .mat-expansion-panel-header:not([aria-disabled=true]).cdk-program-focused{background:var(--mat-expansion-header-focus-state-layer-color)}.mat-expansion-panel-header._mat-animation-noopable{transition:none}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:none}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-content.mat-content-hide-toggle{margin-right:8px}[dir=rtl] .mat-content.mat-content-hide-toggle{margin-right:0;margin-left:8px}.mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-left:24px;margin-right:0}[dir=rtl] .mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-right:24px;margin-left:0}.mat-expansion-panel-header-title{color:var(--mat-expansion-header-text-color)}.mat-expansion-panel-header-title,.mat-expansion-panel-header-description{display:flex;flex-grow:1;flex-basis:0;margin-right:16px;align-items:center}[dir=rtl] .mat-expansion-panel-header-title,[dir=rtl] .mat-expansion-panel-header-description{margin-right:0;margin-left:16px}.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-title,.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-description{color:inherit}.mat-expansion-panel-header-description{flex-grow:2;color:var(--mat-expansion-header-description-color)}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:"";display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle;color:var(--mat-expansion-header-indicator-color);display:inline-block;display:var(--mat-expansion-legacy-header-indicator-display, inline-block)}.mat-expansion-indicator svg{width:24px;height:24px;margin:0 -8px;vertical-align:middle;fill:var(--mat-expansion-header-indicator-color);display:none;display:var(--mat-expansion-header-indicator-display, none)}.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:[XD.indicatorRotate]},changeDetection:0});let n=e;return n})(),Zu=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=N({type:e,selectors:[["mat-panel-description"]],hostAttrs:[1,"mat-expansion-panel-header-description"],standalone:!0});let n=e;return n})(),Qu=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=N({type:e,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"],standalone:!0});let n=e;return n})(),Ku=(()=>{let e=class e extends qD{constructor(){super(...arguments),this._ownHeaders=new Yn,this.hideToggle=!1,this.displayMode="default",this.togglePosition="after"}ngAfterContentInit(){this._headers.changes.pipe(at(this._headers)).subscribe(t=>{this._ownHeaders.reset(t.filter(i=>i.panel.accordion===this)),this._ownHeaders.notifyOnChanges()}),this._keyManager=new vs(this._ownHeaders).withWrap().withHomeAndEnd()}_handleHeaderKeydown(t){this._keyManager.onKeydown(t)}_handleHeaderFocus(t){this._keyManager.updateActiveItem(t)}ngOnDestroy(){var t;super.ngOnDestroy(),(t=this._keyManager)==null||t.destroy(),this._ownHeaders.destroy()}};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=an(e)))(o||e)}})(),e.\u0275dir=N({type:e,selectors:[["mat-accordion"]],contentQueries:function(i,o,s){if(i&1&&tt(s,dl,5),i&2){let a;ie(a=re())&&(o._headers=a)}},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(i,o){i&2&&ae("mat-accordion-multi",o.multi)},inputs:{hideToggle:[2,"hideToggle","hideToggle",oe],displayMode:"displayMode",togglePosition:"togglePosition"},exportAs:["matAccordion"],standalone:!0,features:[ze([{provide:hb,useExisting:e}]),Le,Ue]});let n=e;return n})(),tE=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=V({type:e}),e.\u0275inj=L({imports:[Ae,ZD,ki]});let n=e;return n})();var Dj=["mat-menu-item",""],Ej=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],Ij=["mat-icon, [matMenuItemIcon]","*"];function Mj(n,e){n&1&&(Zn(),p(0,"svg",2),O(1,"polygon",3),b())}var Sj=["*"];function Tj(n,e){if(n&1){let r=Me();p(0,"div",0),z("keydown",function(i){te(r);let o=R();return ne(o._handleKeydown(i))})("click",function(){te(r);let i=R();return ne(i.closed.emit("click"))})("@transformMenu.start",function(i){te(r);let o=R();return ne(o._onAnimationStart(i))})("@transformMenu.done",function(i){te(r);let o=R();return ne(o._onAnimationDone(i))}),p(1,"div",1),ue(2),b()()}if(n&2){let r=R();zt(r._classList),M("id",r.panelId)("@transformMenu",r._panelAnimationState),De("aria-label",r.ariaLabel||null)("aria-labelledby",r.ariaLabelledby||null)("aria-describedby",r.ariaDescribedby||null)}}var pb=new E("MAT_MENU_PANEL"),lo=(()=>{let e=class e{constructor(t,i,o,s,a){var l;this._elementRef=t,this._document=i,this._focusMonitor=o,this._parentMenu=s,this._changeDetectorRef=a,this.role="menuitem",this.disabled=!1,this.disableRipple=!1,this._hovered=new A,this._focused=new A,this._highlighted=!1,this._triggersSubmenu=!1,(l=s==null?void 0:s.addItem)==null||l.call(s,this)}focus(t,i){this._focusMonitor&&t?this._focusMonitor.focusVia(this._getHostElement(),t,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(t){this.disabled&&(t.preventDefault(),t.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){var o;let t=this._elementRef.nativeElement.cloneNode(!0),i=t.querySelectorAll("mat-icon, .material-icons");for(let s=0;s enter",pn("120ms cubic-bezier(0, 0, 0.2, 1)",ot({opacity:1,transform:"scale(1)"}))),Qt("* => void",pn("100ms 25ms linear",ot({opacity:0})))]),fadeInItems:Nn("fadeInItems",[gn("showing",ot({opacity:1})),Qt("void => *",[ot({opacity:0}),pn("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},LY=Xu.fadeInItems,jY=Xu.transformMenu,kj=0,Oj=new E("mat-menu-default-options",{providedIn:"root",factory:Rj});function Rj(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}var xr=(()=>{let e=class e{get xPosition(){return this._xPosition}set xPosition(t){this._xPosition=t,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(t){this._yPosition=t,this.setPositionClasses()}set panelClass(t){let i=this._previousPanelClass,o=D({},this._classList);i&&i.length&&i.split(" ").forEach(s=>{o[s]=!1}),this._previousPanelClass=t,t&&t.length&&(t.split(" ").forEach(s=>{o[s]=!0}),this._elementRef.nativeElement.className=""),this._classList=o}get classList(){return this.panelClass}set classList(t){this.panelClass=t}constructor(t,i,o,s){this._elementRef=t,this._changeDetectorRef=s,this._elevationPrefix="mat-elevation-z",this._baseElevation=8,this._directDescendantItems=new Yn,this._classList={},this._panelAnimationState="void",this._animationDone=new A,this.closed=new $,this.close=this.closed,this.panelId="mat-menu-panel-".concat(kj++),this._injector=y(Ce),this.overlayPanelClass=o.overlayPanelClass||"",this._xPosition=o.xPosition,this._yPosition=o.yPosition,this.backdropClass=o.backdropClass,this.overlapTrigger=o.overlapTrigger,this.hasBackdrop=o.hasBackdrop}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new vs(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe(at(this._directDescendantItems),it(t=>vt(...t.map(i=>i._focused)))).subscribe(t=>this._keyManager.updateActiveItem(t)),this._directDescendantItems.changes.subscribe(t=>{var o;let i=this._keyManager;if(this._panelAnimationState==="enter"&&((o=i.activeItem)!=null&&o._hasFocus())){let s=t.toArray(),a=Math.max(0,Math.min(s.length-1,i.activeItemIndex||0));s[a]&&!s[a].disabled?i.setActiveItem(a):i.setNextItemActive()}})}ngOnDestroy(){var t,i;(t=this._keyManager)==null||t.destroy(),this._directDescendantItems.destroy(),this.closed.complete(),(i=this._firstItemFocusRef)==null||i.destroy()}_hovered(){return this._directDescendantItems.changes.pipe(at(this._directDescendantItems),it(i=>vt(...i.map(o=>o._hovered))))}addItem(t){}removeItem(t){}_handleKeydown(t){let i=t.keyCode,o=this._keyManager;switch(i){case 27:ht(t)||(t.preventDefault(),this.closed.emit("keydown"));break;case 37:this.parentMenu&&this.direction==="ltr"&&this.closed.emit("keydown");break;case 39:this.parentMenu&&this.direction==="rtl"&&this.closed.emit("keydown");break;default:(i===38||i===40)&&o.setFocusOrigin("keyboard"),o.onKeydown(t);return}t.stopPropagation()}focusFirstItem(t="program"){var i;(i=this._firstItemFocusRef)==null||i.destroy(),this._firstItemFocusRef=Ut(()=>{let o=null;if(this._directDescendantItems.length&&(o=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!o||!o.contains(document.activeElement)){let s=this._keyManager;s.setFocusOrigin(t).setFirstItemActive(),!s.activeItem&&o&&o.focus()}},{injector:this._injector})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(t){let i=Math.min(this._baseElevation+t,24),o="".concat(this._elevationPrefix).concat(i),s=Object.keys(this._classList).find(a=>a.startsWith(this._elevationPrefix));if(!s||s===this._previousElevation){let a=D({},this._classList);this._previousElevation&&(a[this._previousElevation]=!1),a[o]=!0,this._previousElevation=o,this._classList=a}}setPositionClasses(t=this.xPosition,i=this.yPosition){var o;this._classList=_e(D({},this._classList),{"mat-menu-before":t==="before","mat-menu-after":t==="after","mat-menu-above":i==="above","mat-menu-below":i==="below"}),(o=this._changeDetectorRef)==null||o.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(t){this._animationDone.next(t),this._isAnimating=!1}_onAnimationStart(t){this._isAnimating=!0,t.toState==="enter"&&this._keyManager.activeItemIndex===0&&(t.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe(at(this._allItems)).subscribe(t=>{this._directDescendantItems.reset(t.filter(i=>i._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}};e.\u0275fac=function(i){return new(i||e)(h(P),h(k),h(Oj),h(Ne))},e.\u0275cmp=j({type:e,selectors:[["mat-menu"]],contentQueries:function(i,o,s){if(i&1&&(tt(s,Aj,5),tt(s,lo,5),tt(s,lo,4)),i&2){let a;ie(a=re())&&(o.lazyContent=a.first),ie(a=re())&&(o._allItems=a),ie(a=re())&&(o.items=a)}},viewQuery:function(i,o){if(i&1&&Fe(pt,5),i&2){let s;ie(s=re())&&(o.templateRef=s.first)}},hostVars:3,hostBindings:function(i,o){i&2&&De("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},inputs:{backdropClass:"backdropClass",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:[2,"overlapTrigger","overlapTrigger",oe],hasBackdrop:[2,"hasBackdrop","hasBackdrop",t=>t==null?null:oe(t)],panelClass:[0,"class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"},exportAs:["matMenu"],standalone:!0,features:[ze([{provide:pb,useExisting:e}]),Le,Oe],ngContentSelectors:Sj,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-mdc-menu-panel","mat-mdc-elevation-specific",3,"keydown","click","id"],[1,"mat-mdc-menu-content"]],template:function(i,o){i&1&&(Je(),F(0,Tj,3,7,"ng-template"))},styles:['mat-menu{display:none}.mat-mdc-menu-content{margin:0;padding:8px 0;list-style-type:none}.mat-mdc-menu-content:focus{outline:none}.mat-mdc-menu-content,.mat-mdc-menu-content .mat-mdc-menu-item .mat-mdc-menu-item-text{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;flex:1;white-space:normal;font-family:var(--mat-menu-item-label-text-font);line-height:var(--mat-menu-item-label-text-line-height);font-size:var(--mat-menu-item-label-text-size);letter-spacing:var(--mat-menu-item-label-text-tracking);font-weight:var(--mat-menu-item-label-text-weight)}.mat-mdc-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;box-sizing:border-box;outline:0;border-radius:var(--mat-menu-container-shape);background-color:var(--mat-menu-container-color);will-change:transform,opacity}.mat-mdc-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-mdc-menu-panel{outline:solid 1px}.mat-mdc-menu-panel .mat-divider{color:var(--mat-menu-divider-color);margin-bottom:var(--mat-menu-divider-bottom-spacing);margin-top:var(--mat-menu-divider-top-spacing)}.mat-mdc-menu-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:var(--mat-menu-item-leading-spacing);padding-right:var(--mat-menu-item-trailing-spacing);-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);cursor:pointer;width:100%;text-align:left;box-sizing:border-box;color:inherit;font-size:inherit;background:none;text-decoration:none;margin:0;align-items:center;min-height:48px}.mat-mdc-menu-item:focus{outline:none}[dir=rtl] .mat-mdc-menu-item,.mat-mdc-menu-item[dir=rtl]{padding-left:var(--mat-menu-item-trailing-spacing);padding-right:var(--mat-menu-item-leading-spacing)}.mat-mdc-menu-item:has(.material-icons,mat-icon,[matButtonIcon]){padding-left:var(--mat-menu-item-with-icon-leading-spacing);padding-right:var(--mat-menu-item-with-icon-trailing-spacing)}[dir=rtl] .mat-mdc-menu-item:has(.material-icons,mat-icon,[matButtonIcon]),.mat-mdc-menu-item:has(.material-icons,mat-icon,[matButtonIcon])[dir=rtl]{padding-left:var(--mat-menu-item-with-icon-trailing-spacing);padding-right:var(--mat-menu-item-with-icon-leading-spacing)}.mat-mdc-menu-item::-moz-focus-inner{border:0}.mat-mdc-menu-item,.mat-mdc-menu-item:visited,.mat-mdc-menu-item:link{color:var(--mat-menu-item-label-text-color)}.mat-mdc-menu-item .mat-icon-no-color,.mat-mdc-menu-item .mat-mdc-menu-submenu-icon{color:var(--mat-menu-item-icon-color)}.mat-mdc-menu-item[disabled]{cursor:default;opacity:.38}.mat-mdc-menu-item[disabled]::after{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.mat-mdc-menu-item .mat-icon{flex-shrink:0;margin-right:var(--mat-menu-item-spacing);height:var(--mat-menu-item-icon-size);width:var(--mat-menu-item-icon-size)}[dir=rtl] .mat-mdc-menu-item{text-align:right}[dir=rtl] .mat-mdc-menu-item .mat-icon{margin-right:0;margin-left:var(--mat-menu-item-spacing)}.mat-mdc-menu-item:not([disabled]):hover{background-color:var(--mat-menu-item-hover-state-layer-color)}.mat-mdc-menu-item:not([disabled]).cdk-program-focused,.mat-mdc-menu-item:not([disabled]).cdk-keyboard-focused,.mat-mdc-menu-item:not([disabled]).mat-mdc-menu-item-highlighted{background-color:var(--mat-menu-item-focus-state-layer-color)}.cdk-high-contrast-active .mat-mdc-menu-item{margin-top:1px}.mat-mdc-menu-submenu-icon{width:var(--mat-menu-item-icon-size);height:10px;fill:currentColor;padding-left:var(--mat-menu-item-spacing)}[dir=rtl] .mat-mdc-menu-submenu-icon{padding-right:var(--mat-menu-item-spacing);padding-left:0}[dir=rtl] .mat-mdc-menu-submenu-icon polygon{transform:scaleX(-1)}.cdk-high-contrast-active .mat-mdc-menu-submenu-icon{fill:CanvasText}.mat-mdc-menu-item .mat-mdc-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}'],encapsulation:2,data:{animation:[Xu.transformMenu,Xu.fadeInItems]},changeDetection:0});let n=e;return n})(),iE=new E("mat-menu-scroll-strategy",{providedIn:"root",factory:()=>{let n=y(Ye);return()=>n.scrollStrategies.reposition()}});function Nj(n){return()=>n.scrollStrategies.reposition()}var Pj={provide:iE,deps:[Ye],useFactory:Nj},nE=fn({passive:!0});var Ju=(()=>{let e=class e{get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(t){this.menu=t}get menu(){return this._menu}set menu(t){var i;t!==this._menu&&(this._menu=t,this._menuCloseSubscription.unsubscribe(),t&&(this._parentMaterialMenu,this._menuCloseSubscription=t.close.subscribe(o=>{this._destroyMenu(o),(o==="click"||o==="tab")&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(o)})),(i=this._menuItemInstance)==null||i._setTriggersSubmenu(this.triggersSubmenu()))}constructor(t,i,o,s,a,l,c,d,u){this._overlay=t,this._element=i,this._viewContainerRef=o,this._menuItemInstance=l,this._dir=c,this._focusMonitor=d,this._ngZone=u,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=fe.EMPTY,this._hoverSubscription=fe.EMPTY,this._menuCloseSubscription=fe.EMPTY,this._changeDetectorRef=y(Ne),this._handleTouchStart=f=>{Wa(f)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new $,this.onMenuOpen=this.menuOpened,this.menuClosed=new $,this.onMenuClose=this.menuClosed,this._scrollStrategy=s,this._parentMaterialMenu=a instanceof xr?a:void 0,i.nativeElement.addEventListener("touchstart",this._handleTouchStart,nE)}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,nE),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}triggersSubmenu(){return!!(this._menuItemInstance&&this._parentMaterialMenu&&this.menu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){let t=this.menu;if(this._menuOpen||!t)return;let i=this._createOverlay(t),o=i.getConfig(),s=o.positionStrategy;this._setPosition(t,s),o.hasBackdrop=t.hasBackdrop==null?!this.triggersSubmenu():t.hasBackdrop,i.attach(this._getPortal(t)),t.lazyContent&&t.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(t),t instanceof xr&&(t._startAnimation(),t._directDescendantItems.changes.pipe(Ie(t.close)).subscribe(()=>{s.withLockedPosition(!1).reapplyLastPosition(),s.withLockedPosition(!0)}))}closeMenu(){var t;(t=this.menu)==null||t.close.emit()}focus(t,i){this._focusMonitor&&t?this._focusMonitor.focusVia(this._element,t,i):this._element.nativeElement.focus(i)}updatePosition(){var t;(t=this._overlayRef)==null||t.updatePosition()}_destroyMenu(t){var o;if(!this._overlayRef||!this.menuOpen)return;let i=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&(t==="keydown"||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,i instanceof xr?(i._resetAnimation(),i.lazyContent?i._animationDone.pipe(le(s=>s.toState==="void"),Ve(1),Ie(i.lazyContent._attached)).subscribe({next:()=>i.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),(o=i==null?void 0:i.lazyContent)==null||o.detach())}_initMenu(t){t.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,t.direction=this.dir,this._setMenuElevation(t),t.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(t){if(t.setElevation){let i=0,o=t.parentMenu;for(;o;)i++,o=o.parentMenu;t.setElevation(i)}}_setIsMenuOpen(t){t!==this._menuOpen&&(this._menuOpen=t,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(t),this._changeDetectorRef.markForCheck())}_createOverlay(t){if(!this._overlayRef){let i=this._getOverlayConfig(t);this._subscribeToPositions(t,i.positionStrategy),this._overlayRef=this._overlay.create(i),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(t){return new ur({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:t.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:t.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(t,i){t.setPositionClasses&&i.positionChanges.subscribe(o=>{let s=o.connectionPair.overlayX==="start"?"after":"before",a=o.connectionPair.overlayY==="top"?"below":"above";this._ngZone?this._ngZone.run(()=>t.setPositionClasses(s,a)):t.setPositionClasses(s,a)})}_setPosition(t,i){let[o,s]=t.xPosition==="before"?["end","start"]:["start","end"],[a,l]=t.yPosition==="above"?["bottom","top"]:["top","bottom"],[c,d]=[a,l],[u,f]=[o,s],m=0;if(this.triggersSubmenu()){if(f=o=t.xPosition==="before"?"start":"end",s=u=o==="end"?"start":"end",this._parentMaterialMenu){if(this._parentInnerPadding==null){let g=this._parentMaterialMenu.items.first;this._parentInnerPadding=g?g._getHostElement().offsetTop:0}m=a==="bottom"?this._parentInnerPadding:-this._parentInnerPadding}}else t.overlapTrigger||(c=a==="top"?"bottom":"top",d=l==="top"?"bottom":"top");i.withPositions([{originX:o,originY:c,overlayX:u,overlayY:a,offsetY:m},{originX:s,originY:c,overlayX:f,overlayY:a,offsetY:m},{originX:o,originY:d,overlayX:u,overlayY:l,offsetY:-m},{originX:s,originY:d,overlayX:f,overlayY:l,offsetY:-m}])}_menuClosingActions(){let t=this._overlayRef.backdropClick(),i=this._overlayRef.detachments(),o=this._parentMaterialMenu?this._parentMaterialMenu.closed:H(),s=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe(le(a=>a!==this._menuItemInstance),le(()=>this._menuOpen)):H();return vt(t,o,s,i)}_handleMousedown(t){$a(t)||(this._openedBy=t.button===0?"mouse":void 0,this.triggersSubmenu()&&t.preventDefault())}_handleKeydown(t){let i=t.keyCode;(i===13||i===32)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(i===39&&this.dir==="ltr"||i===37&&this.dir==="rtl")&&(this._openedBy="keyboard",this.openMenu())}_handleClick(t){this.triggersSubmenu()?(t.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe(le(t=>t===this._menuItemInstance&&!t.disabled),Xl(0,Fs)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof xr&&this.menu._isAnimating?this.menu._animationDone.pipe(Ve(1),Xl(0,Fs),Ie(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(t){return(!this._portal||this._portal.templateRef!==t.templateRef)&&(this._portal=new Rn(t.templateRef,this._viewContainerRef)),this._portal}};e.\u0275fac=function(i){return new(i||e)(h(Ye),h(P),h(lt),h(iE),h(pb,8),h(lo,10),h(St,8),h(Zt),h(k))},e.\u0275dir=N({type:e,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-mdc-menu-trigger"],hostVars:3,hostBindings:function(i,o){i&1&&z("click",function(a){return o._handleClick(a)})("mousedown",function(a){return o._handleMousedown(a)})("keydown",function(a){return o._handleKeydown(a)}),i&2&&De("aria-haspopup",o.menu?"menu":null)("aria-expanded",o.menuOpen)("aria-controls",o.menuOpen?o.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:[0,"mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:[0,"matMenuTriggerFor","menu"],menuData:[0,"matMenuTriggerData","menuData"],restoreFocus:[0,"matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"},exportAs:["matMenuTrigger"],standalone:!0});let n=e;return n})(),rE=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=V({type:e}),e.\u0275inj=L({providers:[Pj],imports:[ri,Ya,Ae,ci,cr,Ae]});let n=e;return n})();var Fj=["tooltip"],lE=20;var cE=new E("mat-tooltip-scroll-strategy",{providedIn:"root",factory:()=>{let n=y(Ye);return()=>n.scrollStrategies.reposition({scrollThrottle:lE})}});function Lj(n){return()=>n.scrollStrategies.reposition({scrollThrottle:lE})}var jj={provide:cE,deps:[Ye],useFactory:Lj};function Vj(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}var Bj=new E("mat-tooltip-default-options",{providedIn:"root",factory:Vj});var sE="tooltip-panel",aE=fn({passive:!0}),Uj=8,zj=8,Hj=24,$j=200,dE=(()=>{let e=class e{get position(){return this._position}set position(t){var i;t!==this._position&&(this._position=t,this._overlayRef&&(this._updatePosition(this._overlayRef),(i=this._tooltipInstance)==null||i.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(t){this._positionAtOrigin=oi(t),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(t){this._disabled=oi(t),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(t){this._showDelay=Si(t)}get hideDelay(){return this._hideDelay}set hideDelay(t){this._hideDelay=Si(t),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(t){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=t!=null?String(t).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(t){this._tooltipClass=t,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}constructor(t,i,o,s,a,l,c,d,u,f,m,g){this._overlay=t,this._elementRef=i,this._scrollDispatcher=o,this._viewContainerRef=s,this._ngZone=a,this._platform=l,this._ariaDescriber=c,this._focusMonitor=d,this._dir=f,this._defaultOptions=m,this._position="below",this._positionAtOrigin=!1,this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._tooltipComponent=Wj,this._viewportMargin=8,this._cssClassPrefix="mat-mdc",this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new A,this._injector=y(Ce),this._scrollStrategy=u,this._document=g,m&&(this._showDelay=m.showDelay,this._hideDelay=m.hideDelay,m.position&&(this.position=m.position),m.positionAtOrigin&&(this.positionAtOrigin=m.positionAtOrigin),m.touchGestures&&(this.touchGestures=m.touchGestures)),f.change.pipe(Ie(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)}),this._viewportMargin=Uj}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(Ie(this._destroyed)).subscribe(t=>{t?t==="keyboard"&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){let t=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([i,o])=>{t.removeEventListener(i,o,aE)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(t,this.message,"tooltip"),this._focusMonitor.stopMonitoring(t)}show(t=this.showDelay,i){var a;if(this.disabled||!this.message||this._isTooltipVisible()){(a=this._tooltipInstance)==null||a._cancelPendingAnimations();return}let o=this._createOverlay(i);this._detach(),this._portal=this._portal||new dr(this._tooltipComponent,this._viewContainerRef);let s=this._tooltipInstance=o.attach(this._portal).instance;s._triggerElement=this._elementRef.nativeElement,s._mouseLeaveHideDelay=this._hideDelay,s.afterHidden().pipe(Ie(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),s.show(t)}hide(t=this.hideDelay){let i=this._tooltipInstance;i&&(i.isVisible()?i.hide(t):(i._cancelPendingAnimations(),this._detach()))}toggle(t){this._isTooltipVisible()?this.hide():this.show(void 0,t)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(t){var s;if(this._overlayRef){let a=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!t)&&a._origin instanceof P)return this._overlayRef;this._detach()}let i=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),o=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin?t||this._elementRef:this._elementRef).withTransformOriginOn(".".concat(this._cssClassPrefix,"-tooltip")).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(i);return o.positionChanges.pipe(Ie(this._destroyed)).subscribe(a=>{this._updateCurrentPositionClass(a.connectionPair),this._tooltipInstance&&a.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:o,panelClass:"".concat(this._cssClassPrefix,"-").concat(sE),scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(Ie(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(Ie(this._destroyed)).subscribe(()=>{var a;return(a=this._tooltipInstance)==null?void 0:a._handleBodyInteraction()}),this._overlayRef.keydownEvents().pipe(Ie(this._destroyed)).subscribe(a=>{this._isTooltipVisible()&&a.keyCode===27&&!ht(a)&&(a.preventDefault(),a.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),(s=this._defaultOptions)!=null&&s.disableTooltipInteractivity&&this._overlayRef.addPanelClass("".concat(this._cssClassPrefix,"-tooltip-panel-non-interactive")),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(t){let i=t.getConfig().positionStrategy,o=this._getOrigin(),s=this._getOverlayPosition();i.withPositions([this._addOffset(D(D({},o.main),s.main)),this._addOffset(D(D({},o.fallback),s.fallback))])}_addOffset(t){let i=zj,o=!this._dir||this._dir.value=="ltr";return t.originY==="top"?t.offsetY=-i:t.originY==="bottom"?t.offsetY=i:t.originX==="start"?t.offsetX=o?-i:i:t.originX==="end"&&(t.offsetX=o?i:-i),t}_getOrigin(){let t=!this._dir||this._dir.value=="ltr",i=this.position,o;i=="above"||i=="below"?o={originX:"center",originY:i=="above"?"top":"bottom"}:i=="before"||i=="left"&&t||i=="right"&&!t?o={originX:"start",originY:"center"}:(i=="after"||i=="right"&&t||i=="left"&&!t)&&(o={originX:"end",originY:"center"});let{x:s,y:a}=this._invertPosition(o.originX,o.originY);return{main:o,fallback:{originX:s,originY:a}}}_getOverlayPosition(){let t=!this._dir||this._dir.value=="ltr",i=this.position,o;i=="above"?o={overlayX:"center",overlayY:"bottom"}:i=="below"?o={overlayX:"center",overlayY:"top"}:i=="before"||i=="left"&&t||i=="right"&&!t?o={overlayX:"end",overlayY:"center"}:(i=="after"||i=="right"&&t||i=="left"&&!t)&&(o={overlayX:"start",overlayY:"center"});let{x:s,y:a}=this._invertPosition(o.overlayX,o.overlayY);return{main:o,fallback:{overlayX:s,overlayY:a}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),Ut(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()},{injector:this._injector}))}_setTooltipClass(t){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=t,this._tooltipInstance._markForCheck())}_invertPosition(t,i){return this.position==="above"||this.position==="below"?i==="top"?i="bottom":i==="bottom"&&(i="top"):t==="end"?t="start":t==="start"&&(t="end"),{x:t,y:i}}_updateCurrentPositionClass(t){let{overlayY:i,originX:o,originY:s}=t,a;if(i==="center"?this._dir&&this._dir.value==="rtl"?a=o==="end"?"left":"right":a=o==="start"?"left":"right":a=i==="bottom"&&s==="top"?"above":"below",a!==this._currentPosition){let l=this._overlayRef;if(l){let c="".concat(this._cssClassPrefix,"-").concat(sE,"-");l.removePanelClass(c+this._currentPosition),l.addPanelClass(c+a)}this._currentPosition=a}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",t=>{this._setupPointerExitEventsIfNeeded();let i;t.x!==void 0&&t.y!==void 0&&(i=t),this.show(void 0,i)}]):this.touchGestures!=="off"&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",t=>{var a,l;let i=(a=t.targetTouches)==null?void 0:a[0],o=i?{x:i.clientX,y:i.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout);let s=500;this._touchstartTimeout=setTimeout(()=>this.show(void 0,o),(l=this._defaultOptions.touchLongPressShowDelay)!=null?l:s)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;let t=[];if(this._platformSupportsMouseEvents())t.push(["mouseleave",i=>{var s;let o=i.relatedTarget;(!o||!((s=this._overlayRef)!=null&&s.overlayElement.contains(o)))&&this.hide()}],["wheel",i=>this._wheelListener(i)]);else if(this.touchGestures!=="off"){this._disableNativeGesturesIfNecessary();let i=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};t.push(["touchend",i],["touchcancel",i])}this._addListeners(t),this._passiveListeners.push(...t)}_addListeners(t){t.forEach(([i,o])=>{this._elementRef.nativeElement.addEventListener(i,o,aE)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(t){if(this._isTooltipVisible()){let i=this._document.elementFromPoint(t.clientX,t.clientY),o=this._elementRef.nativeElement;i!==o&&!o.contains(i)&&this.hide()}}_disableNativeGesturesIfNecessary(){let t=this.touchGestures;if(t!=="off"){let i=this._elementRef.nativeElement,o=i.style;(t==="on"||i.nodeName!=="INPUT"&&i.nodeName!=="TEXTAREA")&&(o.userSelect=o.msUserSelect=o.webkitUserSelect=o.MozUserSelect="none"),(t==="on"||!i.draggable)&&(o.webkitUserDrag="none"),o.touchAction="none",o.webkitTapHighlightColor="transparent"}}};e.\u0275fac=function(i){return new(i||e)(h(Ye),h(P),h(hs),h(lt),h(k),h(xe),h(hC),h(Zt),h(cE),h(St),h(Bj,8),h(W))},e.\u0275dir=N({type:e,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(i,o){i&2&&ae("mat-mdc-tooltip-disabled",o.disabled)},inputs:{position:[0,"matTooltipPosition","position"],positionAtOrigin:[0,"matTooltipPositionAtOrigin","positionAtOrigin"],disabled:[0,"matTooltipDisabled","disabled"],showDelay:[0,"matTooltipShowDelay","showDelay"],hideDelay:[0,"matTooltipHideDelay","hideDelay"],touchGestures:[0,"matTooltipTouchGestures","touchGestures"],message:[0,"matTooltip","message"],tooltipClass:[0,"matTooltipClass","tooltipClass"]},exportAs:["matTooltip"],standalone:!0});let n=e;return n})(),Wj=(()=>{let e=class e{constructor(t,i,o){this._changeDetectorRef=t,this._elementRef=i,this._isMultiline=!1,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new A,this._showAnimation="mat-mdc-tooltip-show",this._hideAnimation="mat-mdc-tooltip-hide",this._animationsDisabled=o==="NoopAnimations"}show(t){this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},t)}hide(t){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},t)}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:t}){(!t||!this._triggerElement.contains(t))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){let t=this._elementRef.nativeElement.getBoundingClientRect();return t.height>Hj&&t.width>=$j}_handleAnimationEnd({animationName:t}){(t===this._showAnimation||t===this._hideAnimation)&&this._finalizeAnimation(t===this._showAnimation)}_cancelPendingAnimations(){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(t){t?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(t){let i=this._tooltip.nativeElement,o=this._showAnimation,s=this._hideAnimation;if(i.classList.remove(t?s:o),i.classList.add(t?o:s),this._isVisible!==t&&(this._isVisible=t,this._changeDetectorRef.markForCheck()),t&&!this._animationsDisabled&&typeof getComputedStyle=="function"){let a=getComputedStyle(i);(a.getPropertyValue("animation-duration")==="0s"||a.getPropertyValue("animation-name")==="none")&&(this._animationsDisabled=!0)}t&&this._onShow(),this._animationsDisabled&&(i.classList.add("_mat-animation-noopable"),this._finalizeAnimation(t))}};e.\u0275fac=function(i){return new(i||e)(h(Ne),h(P),h(Ge,8))},e.\u0275cmp=j({type:e,selectors:[["mat-tooltip-component"]],viewQuery:function(i,o){if(i&1&&Fe(Fj,7),i&2){let s;ie(s=re())&&(o._tooltip=s.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(i,o){i&1&&z("mouseleave",function(a){return o._handleMouseLeave(a)}),i&2&&qr("zoom",o.isVisible()?1:null)},standalone:!0,features:[Oe],decls:4,vars:4,consts:[["tooltip",""],[1,"mdc-tooltip","mdc-tooltip--shown","mat-mdc-tooltip",3,"animationend","ngClass"],[1,"mdc-tooltip__surface","mdc-tooltip__surface-animation"]],template:function(i,o){if(i&1){let s=Me();p(0,"div",1,0),z("animationend",function(l){return te(s),ne(o._handleAnimationEnd(l))}),p(2,"div",2),w(3),b()()}i&2&&(ae("mdc-tooltip--multiline",o._isMultiline),M("ngClass",o.tooltipClass),x(3),ct(o.message))},dependencies:[Qo],styles:['.mdc-tooltip__surface{word-break:break-all;word-break:var(--mdc-tooltip-word-break, normal);overflow-wrap:anywhere}.mdc-tooltip--showing-transition .mdc-tooltip__surface-animation{transition:opacity 150ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-tooltip--hide-transition .mdc-tooltip__surface-animation{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-tooltip{position:fixed;display:none;z-index:9}.mdc-tooltip-wrapper--rich{position:relative}.mdc-tooltip--shown,.mdc-tooltip--showing,.mdc-tooltip--hide{display:inline-flex}.mdc-tooltip--shown.mdc-tooltip--rich,.mdc-tooltip--showing.mdc-tooltip--rich,.mdc-tooltip--hide.mdc-tooltip--rich{display:inline-block;left:-320px;position:absolute}.mdc-tooltip__surface{line-height:16px;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center}.mdc-tooltip__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-tooltip__surface::before{border-color:CanvasText}}.mdc-tooltip--rich .mdc-tooltip__surface{align-items:flex-start;display:flex;flex-direction:column;min-height:24px;min-width:40px;max-width:320px;position:relative}.mdc-tooltip--multiline .mdc-tooltip__surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mdc-tooltip__surface,.mdc-tooltip--multiline .mdc-tooltip__surface[dir=rtl]{text-align:right}.mdc-tooltip__surface .mdc-tooltip__title{margin:0 8px}.mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(200px - 2*8px);margin:8px;text-align:left}[dir=rtl] .mdc-tooltip__surface .mdc-tooltip__content,.mdc-tooltip__surface .mdc-tooltip__content[dir=rtl]{text-align:right}.mdc-tooltip--rich .mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(320px - 2*8px);align-self:stretch}.mdc-tooltip__surface .mdc-tooltip__content-link{text-decoration:none}.mdc-tooltip--rich-actions,.mdc-tooltip__content,.mdc-tooltip__title{z-index:1}.mdc-tooltip__surface-animation{opacity:0;transform:scale(0.8);will-change:transform,opacity}.mdc-tooltip--shown .mdc-tooltip__surface-animation{transform:scale(1);opacity:1}.mdc-tooltip--hide .mdc-tooltip__surface-animation{transform:scale(1)}.mdc-tooltip__caret-surface-top,.mdc-tooltip__caret-surface-bottom{position:absolute;height:24px;width:24px;transform:rotate(35deg) skewY(20deg) scaleX(0.9396926208)}.mdc-tooltip__caret-surface-top .mdc-elevation-overlay,.mdc-tooltip__caret-surface-bottom .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-tooltip__caret-surface-bottom{box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);outline:1px solid rgba(0,0,0,0);z-index:-1}@media screen and (forced-colors: active){.mdc-tooltip__caret-surface-bottom{outline-color:CanvasText}}.mat-mdc-tooltip .mdc-tooltip__surface{background-color:var(--mdc-plain-tooltip-container-color)}.mat-mdc-tooltip .mdc-tooltip__surface{border-radius:var(--mdc-plain-tooltip-container-shape)}.mat-mdc-tooltip .mdc-tooltip__caret-surface-top,.mat-mdc-tooltip .mdc-tooltip__caret-surface-bottom{border-radius:var(--mdc-plain-tooltip-container-shape)}.mat-mdc-tooltip .mdc-tooltip__surface{color:var(--mdc-plain-tooltip-supporting-text-color)}.mat-mdc-tooltip .mdc-tooltip__surface{font-family:var(--mdc-plain-tooltip-supporting-text-font);line-height:var(--mdc-plain-tooltip-supporting-text-line-height);font-size:var(--mdc-plain-tooltip-supporting-text-size);font-weight:var(--mdc-plain-tooltip-supporting-text-weight);letter-spacing:var(--mdc-plain-tooltip-supporting-text-tracking)}.mat-mdc-tooltip{position:relative;transform:scale(0)}.mat-mdc-tooltip::before{content:"";top:0;right:0;bottom:0;left:0;z-index:-1;position:absolute}.mat-mdc-tooltip-panel-below .mat-mdc-tooltip::before{top:-8px}.mat-mdc-tooltip-panel-above .mat-mdc-tooltip::before{bottom:-8px}.mat-mdc-tooltip-panel-right .mat-mdc-tooltip::before{left:-8px}.mat-mdc-tooltip-panel-left .mat-mdc-tooltip::before{right:-8px}.mat-mdc-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.mat-mdc-tooltip-panel.mat-mdc-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-mdc-tooltip-show{0%{opacity:0;transform:scale(0.8)}100%{opacity:1;transform:scale(1)}}@keyframes mat-mdc-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(0.8)}}.mat-mdc-tooltip-show{animation:mat-mdc-tooltip-show 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-mdc-tooltip-hide{animation:mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards}'],encapsulation:2,changeDetection:0});let n=e;return n})();var uE=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=V({type:e}),e.\u0275inj=L({providers:[jj],imports:[yu,ri,ci,Ae,Ae,cr]});let n=e;return n})();function qj(n,e){if(n&1){let r=Me();p(0,"button",14),z("click",function(){let i=te(r).$implicit,o=R(2);return ne(o.launch(i))}),p(1,"div",15),O(2,"img",9),w(3),b()()}if(n&2){let r=e.$implicit,t=R(2);x(2),M("src",t.getTransportIcon(r.id),ft),x(),Te(" ",r.name," ")}}function Yj(n,e){if(n&1){let r=Me();p(0,"button",14),z("click",function(){te(r);let i=R(2);return ne(i.action("release"))}),p(1,"i",16),w(2,"delete"),b(),p(3,"uds-translate"),w(4," Release service"),b()()}}function Zj(n,e){if(n&1){let r=Me();p(0,"button",14),z("click",function(){te(r);let i=R(2);return ne(i.action("reset"))}),p(1,"i",16),w(2,"refresh"),b(),p(3,"uds-translate"),w(4," Reset service"),b()()}}function Qj(n,e){if(n&1&&(p(0,"button",17)(1,"uds-translate"),w(2,"Connections"),b()()),n&2){R();let r=Et(2);M("matMenuTriggerFor",r)}}function Kj(n,e){if(n&1&&(p(0,"button",17)(1,"uds-translate"),w(2,"Actions"),b()()),n&2){R();let r=Et(5);M("matMenuTriggerFor",r)}}function Xj(n,e){if(n&1&&(p(0,"button",18)(1,"i",16),w(2,"menu"),b()()),n&2){R();let r=Et(9);M("matMenuTriggerFor",r)}}function Jj(n,e){if(n&1){let r=Me();p(0,"div")(1,"mat-menu",null,0),F(3,qj,4,2,"button",4),b(),p(4,"mat-menu",null,1),F(6,Yj,5,0,"button",5)(7,Zj,5,0,"button",5),b(),p(8,"mat-menu",null,2),F(10,Qj,3,1,"button",6)(11,Kj,3,1,"button",6),b(),p(12,"div",7)(13,"div",8),z("click",function(){te(r);let i=R();return ne(i.launch(null))}),O(14,"img",9),b(),p(15,"div",10)(16,"span",11),w(17),b()(),p(18,"div",12),F(19,Xj,3,1,"button",13),b()()()}if(n&2){let r=R();x(3),M("ngForOf",r.service.transports),x(3),M("ngIf",r.service.allow_users_remove),x(),M("ngIf",r.service.allow_users_reset),x(3),M("ngIf",r.showTransportsMenu()),x(),M("ngIf",r.hasActions()),x(),M("ngClass",r.serviceClass)("matTooltipDisabled",r.serviceTooltip==="")("matTooltip",r.serviceTooltip),x(2),M("src",r.serviceImage,ft),x(2),M("ngClass",r.serviceNameClass),x(),ct(r.serviceName),x(2),M("ngIf",r.hasMenu())}}var fE=32,hE=(()=>{let e=class e{constructor(t){this.api=t,this.service={}}get serviceImage(){return this.api.galleryImageURL(this.service.imageId)}get serviceName(){let t=this.service.visual_name;return t.length>fE&&(t=t.substring(0,fE-3)+"..."),t}get serviceTooltip(){return this.service.to_be_replaced!==null?this.service.to_be_replaced_text:this.service.maintenance?django.gettext("Service is in maintenance"):this.service.not_accesible?this.service.custom_calendar_text:this.serviceName!==this.service.name?this.service.name:""}get serviceClass(){let t=["service"];return this.service.to_be_replaced!=null?t.push("tobereplaced"):this.service.maintenance?t.push("maintenance"):this.service.not_accesible?t.push("forbidden"):this.service.in_use&&t.push("inuse"),t.length>1&&t.push("alert"),t}get serviceNameClass(){let t=[],i=Math.min(Math.floor((this.service.visual_name.length-1)/4)*4,28);return i>=16&&t.push("small-"+i.toString()),t}ngOnInit(){}getTransportIcon(t){return this.api.transportIconURL(t)}hasActions(){return this.service.allow_users_remove||this.service.allow_users_reset}showTransportsMenu(){return this.service.transports.length>1&&this.service.show_transports}hasMenu(){return this.service.maintenance===!1&&this.service.not_accesible===!1&&(this.hasActions()||this.showTransportsMenu())}notifyNotLaunching(t){this.api.gui.alert('

'+django.gettext("Launcher")+"

",t)}launch(t){return ke(this,null,function*(){if(this.service.maintenance)this.notifyNotLaunching(django.gettext("Service is in maintenance and cannot be launched"));else if(this.service.not_accesible){let i=this.service.custom_calendar_text||this.api.config.messages.calendarDenied;this.notifyNotLaunching('

'+django.gettext("This service is currently not accesible due to schedule restrictions.")+'

'+i+'

')}else{if((t===null||this.service.show_transports===!1)&&(t=this.service.transports[0]),this.service.custom_message_text!==null&&this.service.custom_message_text!==void 0){if((yield this.api.gui.yesno(django.gettext("Service message"),this.service.custom_message_text+"

"+django.gettext('Press "Yes" to continue, or "No" to cancel')+"

"))===!1)return;console.debug("Launching service with transport",t)}this.api.executeCustomJSForServiceLaunch(),this.api.launchURL(t.link)}})}action(t){return ke(this,null,function*(){let i=(t==="release"?django.gettext("Release service: "):django.gettext("Reset service: "))+" "+this.serviceName,o=t==="release"?django.gettext("Service released"):django.gettext("Service reseted");(yield this.api.gui.yesno(i,django.gettext("Are you sure?")))!==!1&&this.api.action(t,this.service.id).then(s=>{s&&this.api.gui.alert(i,o)})})}};e.\u0275fac=function(i){return new(i||e)(h(Re))},e.\u0275cmp=j({type:e,selectors:[["uds-service"]],inputs:{service:"service"},decls:1,vars:1,consts:[["transports",""],["actions",""],["menu",""],[4,"ngIf"],["mat-menu-item","",3,"click",4,"ngFor","ngForOf"],["mat-menu-item","",3,"click",4,"ngIf"],["mat-menu-item","",3,"matMenuTriggerFor",4,"ngIf"],["matTooltipShowDelay","1000","matTooltipPosition","above",3,"ngClass","matTooltipDisabled","matTooltip"],[1,"icon",3,"click"],[3,"src"],[1,"name"],[3,"ngClass"],[1,"menu"],["mat-icon-button","","class","service-menu",3,"matMenuTriggerFor",4,"ngIf"],["mat-menu-item","",3,"click"],[1,"transport-item"],[1,"material-icons"],["mat-menu-item","",3,"matMenuTriggerFor"],["mat-icon-button","",1,"service-menu",3,"matMenuTriggerFor"]],template:function(i,o){i&1&&F(0,Jj,20,12,"div",3),i&2&&M("ngIf",o.service.transports.length>0)},dependencies:[Qo,It,Mt,qC,xr,lo,Ju,dE,He],styles:['.service[_ngcontent-%COMP%]{width:10rem;margin:0 1rem 2rem 0;padding:.5rem 0 1rem;border-radius:1rem;box-shadow:0 12px 18px #00000040,0 10px 10px #00000038;transition:all .3s cubic-bezier(.25,.8,.25,1);border:1px;border-style:solid;border-color:#00000038;display:flex;flex:1;align-items:center;justify-content:flex-start;flex-flow:column wrap;position:relative}.service-menu[_ngcontent-%COMP%]{border-radius:.6rem!important}.service[_ngcontent-%COMP%]:hover{box-shadow:0 2px 3px #00000040,0 10px 10px #00000038}.icon[_ngcontent-%COMP%]{cursor:pointer;display:flex;justify-content:center;transition:all .3s cubic-bezier(.25,.8,.25,1);width:6rem;height:6rem;margin:.5rem}.service[_ngcontent-%COMP%]:not(.forbidden):not(.maintenance):hover .icon[_ngcontent-%COMP%]{transition:all .3s cubic-bezier(.25,.8,.25,1);width:7rem;height:7rem;margin:0}.icon[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%;height:100%;overflow:hidden}.forbidden[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%] img[_ngcontent-%COMP%], .maintenance[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{opacity:.5;z-index:10}.tobereplaced[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{opacity:.7;z-index:10}.name[_ngcontent-%COMP%]{margin-top:.5em;font-size:1.05rem;width:calc(100% - 1em);display:flex;flex:1 0 auto;flex-flow:row;align-items:center;justify-content:center;padding:0 .5em;overflow:hidden;height:2.4em;text-align:center}.small-16[_ngcontent-%COMP%]{font-size:1.05rem}.small-20[_ngcontent-%COMP%]{font-size:1rem}.small-24[_ngcontent-%COMP%]{font-size:.95rem}.small-28[_ngcontent-%COMP%]{font-size:.9rem}.menu[_ngcontent-%COMP%]{position:absolute;top:2px;right:2px}.menu[_ngcontent-%COMP%] .mat-mdc-icon-button[_ngcontent-%COMP%]{cursor:pointer;background-color:#fffc}.menu[_ngcontent-%COMP%] .mat-mdc-icon-button[_ngcontent-%COMP%]:hover{box-shadow:0 2px 3px #00000040,0 10px 10px #00000038;transition:all .3s cubic-bezier(.25,.8,.25,1)}.transport-item[_ngcontent-%COMP%]{display:flex;align-items:center}.transport-item[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:2em;margin-right:.4em}.alert[_ngcontent-%COMP%]:before{position:absolute;top:1rem;left:1rem;font-size:8rem;font-weight:500;font-family:Material Icons;font-weight:400;font-style:normal;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;-moz-font-feature-settings:"liga";font-feature-settings:"liga";text-shadow:0 6px 8px rgba(0,0,0,.25),0 10px 10px rgba(0,0,0,.22);z-index:1}.forbidden[_ngcontent-%COMP%]:before{color:#fc0000;content:"update"}.maintenance[_ngcontent-%COMP%]:before{color:#fcb900;content:"build"}.tobereplaced[_ngcontent-%COMP%]:before{color:#fc0000;content:"delete_forever"} .dark-theme .menu .mat-mdc-icon-button{background-color:#0003!important}']});let n=e;return n})();function t2(n,e){if(n&1&&O(0,"uds-service",8),n&2){let r=e.$implicit;M("service",r)}}function n2(n,e){if(n&1&&(p(0,"mat-expansion-panel",1)(1,"mat-expansion-panel-header",2)(2,"mat-panel-title")(3,"div",3),O(4,"img",4),w(5),b()(),p(6,"mat-panel-description",5),w(7),b()(),p(8,"div",6),F(9,t2,1,1,"uds-service",7),b()()),n&2){let r=R();M("expanded",r.expanded),x(),M("collapsedHeight","3rem")("expandedHeight","5rem"),x(3),M("src",r.groupImage,ft),x(),Te(" ",r.group.name,""),x(2),Te(" ",r.group.comments," "),x(2),M("ngForOf",r.sortedServices)}}var mE=(()=>{let e=class e{constructor(t){this.api=t,this.services=[],this.group={},this.expanded=!1}get groupImage(){return this.api.galleryImageURL(this.group.imageUuid)}get hasVisibleServices(){return this.services.length>0}get sortedServices(){return this.services.sort((t,i)=>t.name>i.name?1:t.name{let e=class e{constructor(t){this.api=t}ngOnInit(){}};e.\u0275fac=function(i){return new(i||e)(h(Re))},e.\u0275cmp=j({type:e,selectors:[["uds-staff-info"]],decls:1,vars:1,consts:[["class","staff-info",4,"ngIf"],[1,"staff-info"],[1,"staff-panel"],[4,"ngIf"],[4,"ngFor","ngForOf"]],template:function(i,o){i&1&&F(0,a2,38,4,"div",0),i&2&&M("ngIf",o.api.staffInfo)},dependencies:[It,Mt,Ku,cl,dl,Qu,Zu,He],styles:[".staff-info[_ngcontent-%COMP%]{margin-top:1rem;padding:1rem;background-color:#ebebeb}.staff-info[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{text-align:center}.staff-panel[_ngcontent-%COMP%]{background-color:#d4d4d4} .dark-theme .staff-info{margin-top:1rem;padding:1rem;background-color:#0f0f0f} .dark-theme .staff-panel{background-color:#2b2b2b}"]});let n=e;return n})();var c2=["input"],gE=(()=>{let e=class e{constructor(){this.updateEvent=new $,this.input=void 0}ngAfterViewInit(){if(this.input===void 0)throw new Error("input atrribute is not provided");let t=this.input;mi(t.nativeElement,"keyup").pipe(le(Boolean),Or(600),Hi(),et(()=>this.update(t.nativeElement.value))).subscribe()}update(t){this.updateEvent.emit(t.toLowerCase())}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=j({type:e,selectors:[["uds-filter"]],viewQuery:function(i,o){if(i&1&&Fe(c2,7),i&2){let s;ie(s=re())&&(o.input=s.first)}},outputs:{updateEvent:"updateEvent"},decls:9,vars:0,consts:[["input",""],[1,"filter"],["floatLabel","auto",1,"nav-input-field"],["matInput","","type","text"],["matSuffix","",1,"material-icons"]],template:function(i,o){i&1&&(p(0,"div",1)(1,"mat-form-field",2)(2,"mat-label")(3,"uds-translate"),w(4,"Filter"),b()(),O(5,"input",3,0),p(7,"i",4),w(8,"search"),b()()())},dependencies:[_r,fi,OD,yr,He],styles:[".filter[_ngcontent-%COMP%]{margin-top:.5rem;display:flex;justify-content:flex-end;font-size:.8rem}"]});let n=e;return n})();function u2(n,e){if(n&1){let r=Me();p(0,"uds-filter",3),z("updateEvent",function(i){te(r);let o=R();return ne(o.update(i))}),b()}}function f2(n,e){if(n&1&&O(0,"uds-services-group",4),n&2){let r=e.$implicit,t=e.index;M("services",r.services)("group",r.group)("expanded",t===0)}}function h2(n,e){if(n&1){let r=Me();p(0,"uds-filter",3),z("updateEvent",function(i){te(r);let o=R();return ne(o.update(i))}),b()}}var gb=class{constructor(e){this.group=e,this.services=[]}},bE=(()=>{let e=class e{constructor(t){this.api=t,this.servicesInformation={autorun:!1,ip:"",nets:"",services:[],transports:""},this.group=[]}update(t){this.updateServices(t)}ngOnInit(){this.api.config.urls.launch?this.api.logout():this.loadServices()}autorun(){if(this.servicesInformation.autorun&&this.servicesInformation.services.length===1)if(this.servicesInformation.services[0].maintenance)this.api.gui.alert(django.gettext("Warning"),django.gettext("Service is in maintenance and cannot be executed"));else return this.api.executeCustomJSForServiceLaunch(),this.api.launchURL(this.servicesInformation.services[0].transports[0].link),!0;return!1}loadServices(){this.api.user.isRestricted&&this.api.logout(),this.api.getServicesInformation().then(t=>{this.servicesInformation=t,this.autorun(),this.updateServices()})}updateServices(t=""){this.group=[];let i=null;this.servicesInformation.services.filter(o=>!t||o.visual_name.toLowerCase().includes(t)||o.group.name.toLowerCase().includes(t)).sort((o,s)=>o.group.priority!==s.group.priority?o.group.priority-s.group.priority:o.group.id>s.group.id?1:o.group.id{(i===null||o.group.id!==i.group.id)&&(i!==null&&this.group.push(i),i=new gb(o.group)),i.services.push(o)}),i!==null&&this.group.push(i)}};e.\u0275fac=function(i){return new(i||e)(h(Re))},e.\u0275cmp=j({type:e,selectors:[["uds-services-page"]],decls:6,vars:3,consts:[[3,"updateEvent",4,"ngIf"],[1,"services-groups"],[3,"services","group","expanded",4,"ngFor","ngForOf"],[3,"updateEvent"],[3,"services","group","expanded"]],template:function(i,o){i&1&&(F(0,u2,1,0,"uds-filter",0),p(1,"div",1)(2,"mat-accordion"),F(3,f2,1,3,"uds-services-group",2),b()(),F(4,h2,1,0,"uds-filter",0),O(5,"uds-staff-info")),i&2&&(M("ngIf",o.servicesInformation.services.length>=o.api.config.min_for_filter&&o.api.config.site_filter_on_top),x(3),M("ngForOf",o.group),x(),M("ngIf",o.servicesInformation.services.length>=o.api.config.min_for_filter&&!o.api.config.site_filter_on_top))},dependencies:[It,Mt,Ku,mE,pE,gE],styles:[".services-groups[_ngcontent-%COMP%]{padding-top:1rem}"]});let n=e;return n})();var vE=(()=>{let e=class e{constructor(t,i){this.api=t,this.route=i,this.error="",this.returnUrl="/"}ngOnInit(){return ke(this,null,function*(){yield this.getError()})}getError(){return ke(this,null,function*(){let t=this.route.snapshot.paramMap.get("id")||"-1";t==="19"&&(this.returnUrl="/mfa"),this.error=(yield this.api.getErrorInformation(t)).error})}};e.\u0275fac=function(i){return new(i||e)(h(Re),h(Ai))},e.\u0275cmp=j({type:e,selectors:[["uds-error"]],decls:14,vars:2,consts:[[1,"error-container"],[1,"graph"],["viewBox","0 0 55 41","xmlns","http://www.w3.org/2000/svg",1,"bird"],["d","M35.5 5L54.7.6H32.3L35.5 5zM12.4 40.8l10.3-10.1-6.2-6.7-4.1 16.8zM33.8 5.3L30.5.8l-5.4 4 8.7.5zM20.8 4.6L8.8 0l1.9 4.1 10.1.5zM0 5l15.2 15.4 7.5-14.2L0 5zM34.2 6.8l-9.9-.5-8 15.2 7.4 8.1 8-7.9 2.5-14.9z"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 32 32",1,"gears"],["d","M29.18 19.07c-1.678-2.908-.668-6.634 2.256-8.328L28.29 5.295c-.897.527-1.942.83-3.057.83-3.36 0-6.085-2.743-6.085-6.126h-6.29c.01 1.043-.25 2.102-.81 3.07-1.68 2.907-5.41 3.896-8.34 2.21L.566 10.727c.905.515 1.69 1.268 2.246 2.234 1.677 2.904.673 6.624-2.24 8.32l3.145 5.447c.895-.522 1.935-.82 3.044-.82 3.35 0 6.066 2.725 6.083 6.092h6.29c-.004-1.035.258-2.08.81-3.04 1.676-2.902 5.4-3.893 8.325-2.218l3.145-5.447c-.9-.515-1.678-1.266-2.232-2.226zM16 22.48c-3.578 0-6.48-2.902-6.48-6.48S12.423 9.52 16 9.52c3.578 0 6.48 2.902 6.48 6.48s-2.902 6.48-6.48 6.48z"],[1,"title"],[1,"description"],["mat-raised-button","","color","warn",3,"routerLink"]],template:function(i,o){i&1&&(p(0,"div",0)(1,"div",1),Zn(),p(2,"svg",2),O(3,"path",3),b(),p(4,"svg",4),O(5,"path",5),b()(),ed(),p(6,"h1",6)(7,"uds-translate"),w(8,"An error has occurred"),b()(),p(9,"p",7),w(10),b(),p(11,"a",8)(12,"uds-translate"),w(13,"Return"),b()()()),i&2&&(x(10),Te(" ",o.error," "),x(),M("routerLink",o.returnUrl))},dependencies:[us,GC,He],styles:[".error-container[_ngcontent-%COMP%]{margin-top:3rem;text-align:center;position:relative}.title[_ngcontent-%COMP%]{display:block;font-size:2rem;font-weight:lighter;text-align:center}.description[_ngcontent-%COMP%]{font-size:1.2rem;font-weight:lighter}.graph[_ngcontent-%COMP%]{position:relative}.gears[_ngcontent-%COMP%]{width:10rem;height:10rem;fill:#6aafe6;transition:easeInOutQuint();animation:_ngcontent-%COMP%_CogAnimation 5s infinite}.bird[_ngcontent-%COMP%]{position:absolute;width:3rem;height:3rem;fill:#30a9de;left:50%;top:50%;transform:translate(-50%,-50%)}@keyframes _ngcontent-%COMP%_CogAnimation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}"]});let n=e;return n})();var _E=(()=>{let e=class e{constructor(t){this.api=t,this.year=new Date().getFullYear()}ngOnInit(){this.year<2021&&(this.year=2021)}};e.\u0275fac=function(i){return new(i||e)(h(Re))},e.\u0275cmp=j({type:e,selectors:[["uds-about"]],decls:46,vars:3,consts:[[1,"about"],["rel","noopener noreferrer","href","http://www.udsenterprise.com","target","_blank"],["rel","noopener noreferrer","href","https://github.com/dkmstr/openuds","target","_blank"],[1,"components"],["rel","noopener noreferrer","href","https://www.python.org/","target","_blank"],["rel","noopener noreferrer","href","https://www.typescriptlang.org/","target","_blank"],["rel","noopener noreferrer","href","https://www.djangoproject.com/","target","_blank"],["rel","noopener noreferrer","href","https://angular.io","target","_blank"],["rel","noopener noreferrer","href","https://guac-dev.org/","target","_blank"],["rel","noopener noreferrer","href","https://weasyprint.org/","target","_blank"],["rel","noopener noreferrer","href","https://kde-look.org/content/show.php/Crystal+Project?content=60475)","target","_blank"],["rel","noopener noreferrer","href","https://github.com/NitruxSA/flattr-icons","target","_blank"]],template:function(i,o){i&1&&(p(0,"div",0)(1,"h1"),w(2),b(),p(3,"h3")(4,"a",1),w(5),b()(),p(6,"h4")(7,"uds-translate"),w(8,"You can access UDS Open Source code at"),b(),w(9,"\xA0"),p(10,"a",2),w(11,"OpenUDS github repository"),b()(),p(12,"div",3)(13,"h2")(14,"uds-translate"),w(15,"UDS has been developed using these components:"),b()(),p(16,"ul")(17,"li")(18,"a",4),w(19,"Python"),b()(),p(20,"li")(21,"a",5),w(22,"TypeScript"),b()(),p(23,"li")(24,"a",6),w(25,"Django"),b()(),p(26,"li")(27,"a",7),w(28,"Angular"),b()(),p(29,"li")(30,"a",8),w(31,"Guacamole"),b()(),p(32,"li")(33,"a",9),w(34,"weasyprint"),b()(),p(35,"li")(36,"a",10),w(37,"Crystal project icons"),b()(),p(38,"li")(39,"a",11),w(40,"Flattr Icons"),b()()(),p(41,"p")(42,"small"),w(43,"* "),p(44,"uds-translate"),w(45,"If you find that we missed any component, please let us know"),b()()()()()),i&2&&(x(2),qm("Universal Desktop Services ",o.api.config.version," build ",o.api.config.version_stamp,""),x(3),Te(" \xA9 2012-",o.year," Virtual Cable S.L.U."))},dependencies:[He],styles:["[_nghost-%COMP%]{display:flex;flex-flow:column;justify-content:center;align-items:center}.about[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{text-align:center}.about[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{text-align:center;font-size:1em;font-weight:400}.about[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{text-align:center}ul[_ngcontent-%COMP%]{padding:0}ul[_ngcontent-%COMP%]{list-style:none}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{display:block;text-decoration:none;color:#000;background-color:#fff;line-height:30px;border-bottom-style:solid;border-bottom-width:1px;border-bottom-color:#ccc;padding-left:10px;cursor:pointer}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{color:#3e6b2d}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{margin-right:10px} .dark-theme .about{color:#fff!important} .dark-theme ul li a{color:#fff!important;background-color:inherit!important} .dark-theme ul li a:hover{color:#3e6b2d!important}"]});let n=e;return n})();var yE=(()=>{let e=class e{constructor(t){this.api=t}ngOnInit(){this.api.config.urls.launch&&this.api.launchURL(this.api.config.urls.launch)}};e.\u0275fac=function(i){return new(i||e)(h(Re))},e.\u0275cmp=j({type:e,selectors:[["uds-launcher"]],decls:24,vars:0,consts:[[1,"launcher"],[1,"launcher-box"],["routerLink","/client-download"]],template:function(i,o){i&1&&(p(0,"div",0)(1,"div",1)(2,"h1")(3,"uds-translate"),w(4,"UDS Service launcher"),b()(),p(5,"h4")(6,"uds-translate"),w(7,"The service you have requested is being launched."),b()(),p(8,"h5")(9,"uds-translate"),w(10,"Please, note that reloading this page will not work."),b()(),p(11,"h5")(12,"uds-translate"),w(13,"To relaunch service, you will have to do it from origin."),b()(),p(14,"h6")(15,"uds-translate"),w(16,"If the service does not launchs automatically, probably you dont have the UDS Client installed"),b()(),p(17,"h6")(18,"uds-translate"),w(19,"You can obtain it from the"),b(),w(20,"\xA0"),p(21,"a",2)(22,"uds-translate"),w(23,"UDS Client download page"),b()()()()())},dependencies:[us,He],styles:[".launcher[_ngcontent-%COMP%]{justify-content:center;display:flex;margin-top:1rem;font-size:larger}.launcher-box[_ngcontent-%COMP%]{box-shadow:0 12px 18px #00000040,0 10px 10px #00000038;transition:all .3s cubic-bezier(.25,.8,.25,1);border:1px;border-style:solid;border-radius:.5rem;border-color:#00000038;padding:1rem}.launcher-box[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], h4[_ngcontent-%COMP%]{text-align:center}.launcher-box[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], h6[_ngcontent-%COMP%]{margin-top:.6rem;margin-bottom:.6rem;font-weight:400}"]});let n=e;return n})();var m2=["input"],p2=["label"],g2=["*"],b2=new E("mat-checkbox-default-options",{providedIn:"root",factory:wE});function wE(){return{color:"accent",clickAction:"check-indeterminate"}}var Tt=function(n){return n[n.Init=0]="Init",n[n.Checked=1]="Checked",n[n.Unchecked=2]="Unchecked",n[n.Indeterminate=3]="Indeterminate",n}(Tt||{}),v2={provide:Uu,useExisting:_i(()=>ef),multi:!0},bb=class{},_2=0,xE=wE(),ef=(()=>{let e=class e{focus(){this._inputElement.nativeElement.focus()}_createChangeEvent(t){let i=new bb;return i.source=this,i.checked=t,i}_getAnimationTargetElement(){var t;return(t=this._inputElement)==null?void 0:t.nativeElement}get inputId(){return"".concat(this.id||this._uniqueId,"-input")}constructor(t,i,o,s,a,l){this._elementRef=t,this._changeDetectorRef=i,this._ngZone=o,this._animationMode=a,this._options=l,this._animationClasses={uncheckedToChecked:"mdc-checkbox--anim-unchecked-checked",uncheckedToIndeterminate:"mdc-checkbox--anim-unchecked-indeterminate",checkedToUnchecked:"mdc-checkbox--anim-checked-unchecked",checkedToIndeterminate:"mdc-checkbox--anim-checked-indeterminate",indeterminateToChecked:"mdc-checkbox--anim-indeterminate-checked",indeterminateToUnchecked:"mdc-checkbox--anim-indeterminate-unchecked"},this.ariaLabel="",this.ariaLabelledby=null,this.labelPosition="after",this.name=null,this.change=new $,this.indeterminateChange=new $,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=Tt.Init,this._controlValueAccessorChangeFn=()=>{},this._validatorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||xE,this.color=this._options.color||xE.color,this.tabIndex=parseInt(s)||0,this.id=this._uniqueId="mat-mdc-checkbox-".concat(++_2)}ngOnChanges(t){t.required&&this._validatorChangeFn()}ngAfterViewInit(){this._syncIndeterminate(this._indeterminate)}get checked(){return this._checked}set checked(t){t!=this.checked&&(this._checked=t,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(t){t!==this.disabled&&(this._disabled=t,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(t){let i=t!=this._indeterminate;this._indeterminate=t,i&&(this._indeterminate?this._transitionCheckState(Tt.Indeterminate):this._transitionCheckState(this.checked?Tt.Checked:Tt.Unchecked),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(t){this.checked=!!t}registerOnChange(t){this._controlValueAccessorChangeFn=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t}validate(t){return this.required&&t.value!==!0?{required:!0}:null}registerOnValidatorChange(t){this._validatorChangeFn=t}_transitionCheckState(t){let i=this._currentCheckState,o=this._getAnimationTargetElement();if(!(i===t||!o)&&(this._currentAnimationClass&&o.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(i,t),this._currentCheckState=t,this._currentAnimationClass.length>0)){o.classList.add(this._currentAnimationClass);let s=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{o.classList.remove(s)},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(){var i;let t=(i=this._options)==null?void 0:i.clickAction;!this.disabled&&t!=="noop"?(this.indeterminate&&t!=="check"&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this._checked=!this._checked,this._transitionCheckState(this._checked?Tt.Checked:Tt.Unchecked),this._emitChangeEvent()):!this.disabled&&t==="noop"&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate)}_onInteractionEvent(t){t.stopPropagation()}_onBlur(){Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}_getAnimationClassForCheckStateTransition(t,i){if(this._animationMode==="NoopAnimations")return"";switch(t){case Tt.Init:if(i===Tt.Checked)return this._animationClasses.uncheckedToChecked;if(i==Tt.Indeterminate)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case Tt.Unchecked:return i===Tt.Checked?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case Tt.Checked:return i===Tt.Unchecked?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case Tt.Indeterminate:return i===Tt.Checked?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""}_syncIndeterminate(t){let i=this._inputElement;i&&(i.nativeElement.indeterminate=t)}_onInputClick(){this._handleInputClick()}_onTouchTargetClick(){this._handleInputClick(),this.disabled||this._inputElement.nativeElement.focus()}_preventBubblingFromLabel(t){t.target&&this._labelElement.nativeElement.contains(t.target)&&t.stopPropagation()}};e.\u0275fac=function(i){return new(i||e)(h(P),h(Ne),h(k),Qn("tabindex"),h(Ge,8),h(b2,8))},e.\u0275cmp=j({type:e,selectors:[["mat-checkbox"]],viewQuery:function(i,o){if(i&1&&(Fe(m2,5),Fe(p2,5),Fe(ro,5)),i&2){let s;ie(s=re())&&(o._inputElement=s.first),ie(s=re())&&(o._labelElement=s.first),ie(s=re())&&(o.ripple=s.first)}},hostAttrs:[1,"mat-mdc-checkbox"],hostVars:14,hostBindings:function(i,o){i&2&&(dn("id",o.id),De("tabindex",null)("aria-label",null)("aria-labelledby",null),zt(o.color?"mat-"+o.color:"mat-accent"),ae("_mat-animation-noopable",o._animationMode==="NoopAnimations")("mdc-checkbox--disabled",o.disabled)("mat-mdc-checkbox-disabled",o.disabled)("mat-mdc-checkbox-checked",o.checked))},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],id:"id",required:[2,"required","required",oe],labelPosition:"labelPosition",name:"name",value:"value",disableRipple:[2,"disableRipple","disableRipple",oe],tabIndex:[2,"tabIndex","tabIndex",t=>t==null?void 0:ti(t)],color:"color",checked:[2,"checked","checked",oe],disabled:[2,"disabled","disabled",oe],indeterminate:[2,"indeterminate","indeterminate",oe]},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],standalone:!0,features:[ze([v2,{provide:ol,useExisting:e,multi:!0}]),Le,We,Oe],ngContentSelectors:g2,decls:15,vars:19,consts:[["checkbox",""],["input",""],["label",""],["mat-internal-form-field","",3,"click","labelPosition"],[1,"mdc-checkbox"],[1,"mat-mdc-checkbox-touch-target",3,"click"],["type","checkbox",1,"mdc-checkbox__native-control",3,"blur","click","change","checked","indeterminate","disabled","id","required","tabIndex"],[1,"mdc-checkbox__ripple"],[1,"mdc-checkbox__background"],["focusable","false","viewBox","0 0 24 24","aria-hidden","true",1,"mdc-checkbox__checkmark"],["fill","none","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-checkbox__checkmark-path"],[1,"mdc-checkbox__mixedmark"],["mat-ripple","",1,"mat-mdc-checkbox-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-label",3,"for"]],template:function(i,o){if(i&1){let s=Me();Je(),p(0,"div",3),z("click",function(l){return te(s),ne(o._preventBubblingFromLabel(l))}),p(1,"div",4,0)(3,"div",5),z("click",function(){return te(s),ne(o._onTouchTargetClick())}),b(),p(4,"input",6,1),z("blur",function(){return te(s),ne(o._onBlur())})("click",function(){return te(s),ne(o._onInputClick())})("change",function(l){return te(s),ne(o._onInteractionEvent(l))}),b(),O(6,"div",7),p(7,"div",8),Zn(),p(8,"svg",9),O(9,"path",10),b(),ed(),O(10,"div",11),b(),O(11,"div",12),b(),p(12,"label",13,2),ue(14),b()()}if(i&2){let s=Et(2);M("labelPosition",o.labelPosition),x(4),ae("mdc-checkbox--selected",o.checked),M("checked",o.checked)("indeterminate",o.indeterminate)("disabled",o.disabled)("id",o.inputId)("required",o.required)("tabIndex",o.disabled?-1:o.tabIndex),De("aria-label",o.ariaLabel||null)("aria-labelledby",o.ariaLabelledby)("aria-describedby",o.ariaDescribedby)("aria-checked",o.indeterminate?"mixed":null)("name",o.name)("value",o.value),x(7),M("matRippleTrigger",s)("matRippleDisabled",o.disableRipple||o.disabled)("matRippleCentered",!0),x(),M("for",o.inputId)}},dependencies:[ro,AC],styles:['.mdc-checkbox{display:inline-block;position:relative;flex:0 0 18px;box-sizing:content-box;width:18px;height:18px;line-height:0;white-space:nowrap;cursor:pointer;vertical-align:bottom;padding:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px)/2);margin:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px))/2)}.mdc-checkbox:hover .mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-hover-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-hover-state-layer-color)}.mdc-checkbox:hover .mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-hover-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-focus-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-focus-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-focus-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-pressed-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color)}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-hover-state-layer-opacity);background-color:var(--mdc-checkbox-selected-hover-state-layer-color)}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-hover-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-focus-state-layer-opacity);background-color:var(--mdc-checkbox-selected-focus-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-focus-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-pressed-state-layer-opacity);background-color:var(--mdc-checkbox-selected-pressed-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-pressed-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit;width:var(--mdc-checkbox-state-layer-size, 40px);height:var(--mdc-checkbox-state-layer-size, 40px);top:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px))/2);right:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px))/2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px))/2)}.mdc-checkbox--disabled{cursor:default;pointer-events:none}.mdc-checkbox__background{display:inline-flex;position:absolute;align-items:center;justify-content:center;box-sizing:border-box;width:18px;height:18px;border:2px solid currentColor;border-radius:2px;background-color:rgba(0,0,0,0);pointer-events:none;will-change:background-color,border-color;transition:background-color 90ms cubic-bezier(0.4, 0, 0.6, 1),border-color 90ms cubic-bezier(0.4, 0, 0.6, 1);border-color:var(--mdc-checkbox-unselected-icon-color);top:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px)/2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px)/2)}.mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-icon-color);background-color:var(--mdc-checkbox-selected-icon-color)}.mdc-checkbox--disabled .mdc-checkbox__background{border-color:var(--mdc-checkbox-disabled-unselected-icon-color)}.mdc-checkbox__native-control:disabled:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:disabled:indeterminate~.mdc-checkbox__background{background-color:var(--mdc-checkbox-disabled-selected-icon-color);border-color:rgba(0,0,0,0)}.mdc-checkbox:hover .mdc-checkbox__native-control:not(:checked)~.mdc-checkbox__background,.mdc-checkbox:hover .mdc-checkbox__native-control:not(:indeterminate)~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-hover-icon-color);background-color:rgba(0,0,0,0)}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox:hover .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-hover-icon-color);background-color:var(--mdc-checkbox-selected-hover-icon-color)}.mdc-checkbox__native-control:focus:focus:not(:checked)~.mdc-checkbox__background,.mdc-checkbox__native-control:focus:focus:not(:indeterminate)~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-focus-icon-color)}.mdc-checkbox__native-control:focus:focus:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:focus:focus:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-focus-icon-color);background-color:var(--mdc-checkbox-selected-focus-icon-color)}.mdc-checkbox__checkmark{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;opacity:0;transition:opacity 180ms cubic-bezier(0.4, 0, 0.6, 1);color:var(--mdc-checkbox-selected-checkmark-color)}.mdc-checkbox--disabled .mdc-checkbox__checkmark{color:var(--mdc-checkbox-disabled-selected-checkmark-color)}.mdc-checkbox__checkmark-path{transition:stroke-dashoffset 180ms cubic-bezier(0.4, 0, 0.6, 1);stroke:currentColor;stroke-width:3.12px;stroke-dashoffset:29.7833385;stroke-dasharray:29.7833385}.mdc-checkbox__mixedmark{width:100%;height:0;transform:scaleX(0) rotate(0deg);border-width:1px;border-style:solid;opacity:0;transition:opacity 90ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms cubic-bezier(0.4, 0, 0.6, 1);border-color:var(--mdc-checkbox-selected-checkmark-color)}.cdk-high-contrast-active .mdc-checkbox__mixedmark{margin:0 1px}.mdc-checkbox--disabled .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-disabled-selected-checkmark-color)}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__background,.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__background,.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__background,.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__background{animation-duration:180ms;animation-timing-function:linear}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-unchecked-checked-checkmark-path 180ms linear;transition:none}.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear;transition:none}.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-checked-unchecked-checkmark-path 90ms linear;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__checkmark{animation:mdc-checkbox-checked-indeterminate-checkmark 90ms linear;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-checked-indeterminate-mixedmark 90ms linear;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__checkmark{animation:mdc-checkbox-indeterminate-checked-checkmark 500ms linear;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-checked-mixedmark 500ms linear;transition:none}.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-unchecked-mixedmark 300ms linear;transition:none}.mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background{transition:border-color 90ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms cubic-bezier(0, 0, 0.2, 1)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark-path{stroke-dashoffset:0}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark{transition:opacity 180ms cubic-bezier(0, 0, 0.2, 1),transform 180ms cubic-bezier(0, 0, 0.2, 1);opacity:1}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(-45deg)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark{transform:rotate(45deg);opacity:0;transition:opacity 90ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(0deg);opacity:1}@keyframes mdc-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:29.7833385}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 1)}100%{stroke-dashoffset:0}}@keyframes mdc-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 mdc-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);opacity:1;stroke-dashoffset:0}to{opacity:0;stroke-dashoffset:-29.7833385}}@keyframes mdc-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(45deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(45deg);opacity:0}to{transform:rotate(360deg);opacity:1}}@keyframes mdc-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(-45deg);opacity:0}to{transform:rotate(0deg);opacity:1}}@keyframes mdc-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(315deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;transform:scaleX(1);opacity:1}32.8%,100%{transform:scaleX(0);opacity:0}}.mat-mdc-checkbox{display:inline-block;position:relative;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-checkbox._mat-animation-noopable .mdc-checkbox *,.mat-mdc-checkbox._mat-animation-noopable .mdc-checkbox *::before{transition:none !important;animation:none !important}.mat-mdc-checkbox .mdc-checkbox__background{-webkit-print-color-adjust:exact;color-adjust:exact}.mat-mdc-checkbox label{cursor:pointer}.mat-mdc-checkbox .mat-internal-form-field{color:var(--mat-checkbox-label-text-color);font-family:var(--mat-checkbox-label-text-font);line-height:var(--mat-checkbox-label-text-line-height);font-size:var(--mat-checkbox-label-text-size);letter-spacing:var(--mat-checkbox-label-text-tracking);font-weight:var(--mat-checkbox-label-text-weight)}.mat-mdc-checkbox.mat-mdc-checkbox-disabled label{cursor:default;color:var(--mat-checkbox-disabled-label-color)}.mat-mdc-checkbox label:empty{display:none}.cdk-high-contrast-active .mat-mdc-checkbox.mat-mdc-checkbox-disabled{opacity:.5}.cdk-high-contrast-active .mat-mdc-checkbox .mdc-checkbox__checkmark{--mdc-checkbox-selected-checkmark-color: CanvasText;--mdc-checkbox-disabled-selected-checkmark-color: CanvasText}.mat-mdc-checkbox .mdc-checkbox__ripple{opacity:0}.mat-mdc-checkbox-ripple,.mdc-checkbox__ripple{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-checkbox-ripple:not(:empty),.mdc-checkbox__ripple:not(:empty){transform:translateZ(0)}.mat-mdc-checkbox-ripple .mat-ripple-element{opacity:.1}.mat-mdc-checkbox-touch-target{position:absolute;top:50%;left:50%;height:48px;width:48px;transform:translate(-50%, -50%);display:var(--mat-checkbox-touch-target-display)}.mat-mdc-checkbox-ripple::before{border-radius:50%}.mdc-checkbox__native-control:focus~.mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0});let n=e;return n})();var CE=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=V({type:e}),e.\u0275inj=L({imports:[ef,Ae,Ae]});let n=e;return n})();function x2(n,e){if(n&1&&(p(0,"div",6)(1,"mat-checkbox",14)(2,"uds-translate"),w(3,"Remember me for"),b(),w(4),b()()),n&2){let r=R();x(4),Te(" ",r.api.config.mfa.remember_device," ")}}function w2(n,e){n&1&&O(0,"input",15)}var DE=(()=>{let e=class e{constructor(t){this.api=t}ngOnInit(){let t=document.getElementById("mfaform");t.action=this.api.config.urls.mfa,this.api.user.isLogged&&this.api.router.navigate(["/"]),this.api.errors.length>0&&this.api.gui.alert(django.gettext("Errors found"),"
"+this.api.errors.join("
")+"
")}launch(){return document.getElementById("mfaform").submit(),!0}};e.\u0275fac=function(i){return new(i||e)(h(Re))},e.\u0275cmp=j({type:e,selectors:[["uds-mfa"]],decls:22,vars:7,consts:[["id","mfaform","method","post",3,"ngSubmit"],[1,"mfa-container"],[1,"mfa-brand"],[3,"src"],[1,"mfa-info"],[1,"mfa-form"],[1,"mfa-field"],["matInput","","id","code","name","code","value","","required","","autofocus",""],["class","mfa-field",4,"ngIf"],["type","hidden","name","remember","value","0",4,"ngIf"],[1,"mfa-button"],["mat-stroked-button","","color","primary","type","submit"],[1,"mfa-html-container"],[1,"mfa-html",3,"innerHtml"],["id","remember","name","remember"],["type","hidden","name","remember","value","0"]],template:function(i,o){i&1&&(p(0,"form",0),z("ngSubmit",function(){return o.launch()}),p(1,"div",1)(2,"div",2),O(3,"img",3),b(),p(4,"div",4)(5,"uds-translate"),w(6,"Login Verification"),b()(),p(7,"div",5)(8,"div",6)(9,"mat-form-field")(10,"mat-label"),w(11),b(),O(12,"input",7),b()(),F(13,x2,5,1,"div",8)(14,w2,1,0,"input",9),p(15,"div",10)(16,"button",11)(17,"uds-translate"),w(18,"Submit"),b()()()()()(),p(19,"div",12),O(20,"div",13),Jn(21,"safeHtml"),b()),i&2&&(x(3),M("src",o.api.staticURL("modern/img/login-img.png"),ft),x(8),Te(" ",o.api.config.mfa.label," "),x(2),M("ngIf",o.api.config.mfa.remember_device!==""),x(),M("ngIf",o.api.config.mfa.remember_device===""),x(6),M("innerHtml",ei(21,5,o.api.config.mfa.html),Xn))},dependencies:[Mt,Ss,Ms,Pn,ui,_r,fi,yr,ef,He,pr],styles:[".mfa-container[_ngcontent-%COMP%]{display:flex;flex-flow:column wrap;justify-content:center;align-items:center}.mfa-form[_ngcontent-%COMP%]{margin:0 1rem 2rem 0;min-width:32em;padding:1rem;-moz-box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.12),0 1px 5px 0 rgba(0,0,0,.2);box-shadow:0 2px 2px #00000024,0 3px 1px -2px #0000001f,0 1px 5px #0003;transition:all .3s cubic-bezier(.25,.8,.25,1);flex:1 0 auto;justify-content:center;flex-flow:column wrap;align-items:center;display:flex}.mfa-field[_ngcontent-%COMP%]{width:80%;margin:.5rem}.mfa-button[_ngcontent-%COMP%]{margin:2rem}.mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}.mfa-info[_ngcontent-%COMP%]{margin:1rem}.mfa-html-container[_ngcontent-%COMP%]{display:flex;flex-flow:column wrap;justify-content:center;align-items:center;margin:1rem}@media only screen and (max-width: 744px){.mfa-form[_ngcontent-%COMP%]{min-width:80%}}"]});let n=e;return n})();var C2=[{path:"",redirectTo:"services",pathMatch:"full"},{path:"services",component:bE,canActivate:[cb]},{path:"login",component:ub},{path:"login/:id",component:ub},{path:"mfa",component:DE},{path:"client-download",component:WD},{path:"downloads",component:GD,canActivate:[cb]},{path:"error/:id",component:vE},{path:"about",component:_E},{path:"ticket/launcher",component:yE},{path:"**",redirectTo:"services"}],EE=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=V({type:e}),e.\u0275inj=L({imports:[pg.forRoot(C2,{}),pg]});let n=e;return n})();function IE(n){return new T(3e3,!1)}function D2(){return new T(3100,!1)}function E2(){return new T(3101,!1)}function I2(n){return new T(3001,!1)}function M2(n){return new T(3003,!1)}function S2(n){return new T(3004,!1)}function T2(n,e){return new T(3005,!1)}function A2(){return new T(3006,!1)}function k2(){return new T(3007,!1)}function O2(n,e){return new T(3008,!1)}function R2(n){return new T(3002,!1)}function N2(n,e,r,t,i){return new T(3010,!1)}function P2(){return new T(3011,!1)}function F2(){return new T(3012,!1)}function L2(){return new T(3200,!1)}function j2(){return new T(3202,!1)}function V2(){return new T(3013,!1)}function B2(n){return new T(3014,!1)}function U2(n){return new T(3015,!1)}function z2(n){return new T(3016,!1)}function H2(n,e){return new T(3404,!1)}function $2(n){return new T(3502,!1)}function W2(n){return new T(3503,!1)}function G2(){return new T(3300,!1)}function q2(n){return new T(3504,!1)}function Y2(n){return new T(3301,!1)}function Z2(n,e){return new T(3302,!1)}function Q2(n){return new T(3303,!1)}function K2(n,e){return new T(3400,!1)}function X2(n){return new T(3401,!1)}function J2(n){return new T(3402,!1)}function eV(n,e){return new T(3505,!1)}function wr(n){switch(n.length){case 0:return new mr;case 1:return n[0];default:return new Za(n)}}function BE(n,e,r=new Map,t=new Map){let i=[],o=[],s=-1,a=null;if(e.forEach(l=>{let c=l.get("offset"),d=c==s,u=d&&a||new Map;l.forEach((f,m)=>{let g=m,_=f;if(m!=="offset")switch(g=n.normalizePropertyName(g,i),_){case Du:_=r.get(m);break;case di:_=t.get(m);break;default:_=n.normalizeStyleValue(m,g,_,i);break}u.set(g,_)}),d||o.push(u),a=u,s=c}),i.length)throw $2(i);return o}function Bb(n,e,r,t){switch(e){case"start":n.onStart(()=>t(r&&vb(r,"start",n)));break;case"done":n.onDone(()=>t(r&&vb(r,"done",n)));break;case"destroy":n.onDestroy(()=>t(r&&vb(r,"destroy",n)));break}}function vb(n,e,r){let t=r.totalTime,i=!!r.disabled,o=Ub(n.element,n.triggerName,n.fromState,n.toState,e||n.phaseName,t==null?n.totalTime:t,i),s=n._data;return s!=null&&(o._data=s),o}function Ub(n,e,r,t,i="",o=0,s){return{element:n,triggerName:e,fromState:r,toState:t,phaseName:i,totalTime:o,disabled:!!s}}function Jt(n,e,r){let t=n.get(e);return t||n.set(e,t=r),t}function ME(n){let e=n.indexOf(":"),r=n.substring(1,e),t=n.slice(e+1);return[r,t]}var tV=typeof document>"u"?null:document.documentElement;function zb(n){let e=n.parentNode||n.host||null;return e===tV?null:e}function nV(n){return n.substring(1,6)=="ebkit"}var co=null,SE=!1;function iV(n){co||(co=rV()||{},SE=co.style?"WebkitAppearance"in co.style:!1);let e=!0;return co.style&&!nV(n)&&(e=n in co.style,!e&&SE&&(e="Webkit"+n.charAt(0).toUpperCase()+n.slice(1)in co.style)),e}function rV(){return typeof document<"u"?document.body:null}function UE(n,e){for(;e;){if(e===n)return!0;e=zb(e)}return!1}function zE(n,e,r){if(r)return Array.from(n.querySelectorAll(e));let t=n.querySelector(e);return t?[t]:[]}var Hb=(()=>{let e=class e{validateStyleProperty(t){return iV(t)}containsElement(t,i){return UE(t,i)}getParentElement(t){return zb(t)}query(t,i,o){return zE(t,i,o)}computeStyle(t,i,o){return o||""}animate(t,i,o,s,a,l=[],c){return new mr(o,s)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=I({token:e,factory:e.\u0275fac});let n=e;return n})(),qb=class qb{};qb.NOOP=new Hb;var ho=qb,mo=class{};var oV=1e3,HE="{{",sV="}}",$E="ng-enter",Db="ng-leave",tf="ng-trigger",af=".ng-trigger",TE="ng-animating",Eb=".ng-animating";function Pi(n){if(typeof n=="number")return n;let e=n.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:Ib(parseFloat(e[1]),e[2])}function Ib(n,e){switch(e){case"s":return n*oV;default:return n}}function lf(n,e,r){return n.hasOwnProperty("duration")?n:aV(n,e,r)}function aV(n,e,r){let t=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,i,o=0,s="";if(typeof n=="string"){let a=n.match(t);if(a===null)return e.push(IE(n)),{duration:0,delay:0,easing:""};i=Ib(parseFloat(a[1]),a[2]);let l=a[3];l!=null&&(o=Ib(parseFloat(l),a[4]));let c=a[5];c&&(s=c)}else i=n;if(!r){let a=!1,l=e.length;i<0&&(e.push(D2()),a=!0),o<0&&(e.push(E2()),a=!0),a&&e.splice(l,0,IE(n))}return{duration:i,delay:o,easing:s}}function lV(n){return n.length?n[0]instanceof Map?n:n.map(e=>new Map(Object.entries(e))):[]}function hi(n,e,r){e.forEach((t,i)=>{let o=$b(i);r&&!r.has(i)&&r.set(i,n.style[o]),n.style[o]=t})}function fo(n,e){e.forEach((r,t)=>{let i=$b(t);n.style[i]=""})}function ul(n){return Array.isArray(n)?n.length==1?n[0]:kC(n):n}function cV(n,e,r){let t=e.params||{},i=WE(n);i.length&&i.forEach(o=>{t.hasOwnProperty(o)||r.push(I2(o))})}var Mb=new RegExp("".concat(HE,"\\s*(.+?)\\s*").concat(sV),"g");function WE(n){let e=[];if(typeof n=="string"){let r;for(;r=Mb.exec(n);)e.push(r[1]);Mb.lastIndex=0}return e}function hl(n,e,r){let t="".concat(n),i=t.replace(Mb,(o,s)=>{let a=e[s];return a==null&&(r.push(M2(s)),a=""),a.toString()});return i==t?n:i}var dV=/-+([a-z0-9])/g;function $b(n){return n.replace(dV,(...e)=>e[1].toUpperCase())}function uV(n,e){return n===0||e===0}function fV(n,e,r){if(r.size&&e.length){let t=e[0],i=[];if(r.forEach((o,s)=>{t.has(s)||i.push(s),t.set(s,o)}),i.length)for(let o=1;os.set(a,Wb(n,a)))}}return e}function Xt(n,e,r){switch(e.type){case ce.Trigger:return n.visitTrigger(e,r);case ce.State:return n.visitState(e,r);case ce.Transition:return n.visitTransition(e,r);case ce.Sequence:return n.visitSequence(e,r);case ce.Group:return n.visitGroup(e,r);case ce.Animate:return n.visitAnimate(e,r);case ce.Keyframes:return n.visitKeyframes(e,r);case ce.Style:return n.visitStyle(e,r);case ce.Reference:return n.visitReference(e,r);case ce.AnimateChild:return n.visitAnimateChild(e,r);case ce.AnimateRef:return n.visitAnimateRef(e,r);case ce.Query:return n.visitQuery(e,r);case ce.Stagger:return n.visitStagger(e,r);default:throw S2(e.type)}}function Wb(n,e){return window.getComputedStyle(n)[e]}var hV=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"]),cf=class extends mo{normalizePropertyName(e,r){return $b(e)}normalizeStyleValue(e,r,t,i){let o="",s=t.toString().trim();if(hV.has(r)&&t!==0&&t!=="0")if(typeof t=="number")o="px";else{let a=t.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&a[1].length==0&&i.push(T2(e,t))}return s+o}};var df="*";function mV(n,e){let r=[];return typeof n=="string"?n.split(/\s*,\s*/).forEach(t=>pV(t,r,e)):r.push(n),r}function pV(n,e,r){if(n[0]==":"){let l=gV(n,r);if(typeof l=="function"){e.push(l);return}n=l}let t=n.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(t==null||t.length<4)return r.push(U2(n)),e;let i=t[1],o=t[2],s=t[3];e.push(AE(i,s));let a=i==df&&s==df;o[0]=="<"&&!a&&e.push(AE(s,i))}function gV(n,e){switch(n){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(r,t)=>parseFloat(t)>parseFloat(r);case":decrement":return(r,t)=>parseFloat(t) *"}}var nf=new Set(["true","1"]),rf=new Set(["false","0"]);function AE(n,e){let r=nf.has(n)||rf.has(n),t=nf.has(e)||rf.has(e);return(i,o)=>{let s=n==df||n==i,a=e==df||e==o;return!s&&r&&typeof i=="boolean"&&(s=i?nf.has(n):rf.has(n)),!a&&t&&typeof o=="boolean"&&(a=o?nf.has(e):rf.has(e)),s&&a}}var GE=":self",bV=new RegExp("s*".concat(GE,"s*,?"),"g");function qE(n,e,r,t){return new Sb(n).build(e,r,t)}var kE="",Sb=class{constructor(e){this._driver=e}build(e,r,t){let i=new Tb(r);return this._resetContextStyleTimingState(i),Xt(this,ul(e),i)}_resetContextStyleTimingState(e){e.currentQuerySelector=kE,e.collectedStyles=new Map,e.collectedStyles.set(kE,new Map),e.currentTime=0}visitTrigger(e,r){let t=r.queryCount=0,i=r.depCount=0,o=[],s=[];return e.name.charAt(0)=="@"&&r.errors.push(A2()),e.definitions.forEach(a=>{if(this._resetContextStyleTimingState(r),a.type==ce.State){let l=a,c=l.name;c.toString().split(/\s*,\s*/).forEach(d=>{l.name=d,o.push(this.visitState(l,r))}),l.name=c}else if(a.type==ce.Transition){let l=this.visitTransition(a,r);t+=l.queryCount,i+=l.depCount,s.push(l)}else r.errors.push(k2())}),{type:ce.Trigger,name:e.name,states:o,transitions:s,queryCount:t,depCount:i,options:null}}visitState(e,r){let t=this.visitStyle(e.styles,r),i=e.options&&e.options.params||null;if(t.containsDynamicStyles){let o=new Set,s=i||{};t.styles.forEach(a=>{a instanceof Map&&a.forEach(l=>{WE(l).forEach(c=>{s.hasOwnProperty(c)||o.add(c)})})}),o.size&&r.errors.push(O2(e.name,[...o.values()]))}return{type:ce.State,name:e.name,style:t,options:i?{params:i}:null}}visitTransition(e,r){r.queryCount=0,r.depCount=0;let t=Xt(this,ul(e.animation),r),i=mV(e.expr,r.errors);return{type:ce.Transition,matchers:i,animation:t,queryCount:r.queryCount,depCount:r.depCount,options:uo(e.options)}}visitSequence(e,r){return{type:ce.Sequence,steps:e.steps.map(t=>Xt(this,t,r)),options:uo(e.options)}}visitGroup(e,r){let t=r.currentTime,i=0,o=e.steps.map(s=>{r.currentTime=t;let a=Xt(this,s,r);return i=Math.max(i,r.currentTime),a});return r.currentTime=i,{type:ce.Group,steps:o,options:uo(e.options)}}visitAnimate(e,r){let t=xV(e.timings,r.errors);r.currentAnimateTimings=t;let i,o=e.styles?e.styles:ot({});if(o.type==ce.Keyframes)i=this.visitKeyframes(o,r);else{let s=e.styles,a=!1;if(!s){a=!0;let c={};t.easing&&(c.easing=t.easing),s=ot(c)}r.currentTime+=t.duration+t.delay;let l=this.visitStyle(s,r);l.isEmptyStep=a,i=l}return r.currentAnimateTimings=null,{type:ce.Animate,timings:t,style:i,options:null}}visitStyle(e,r){let t=this._makeStyleAst(e,r);return this._validateStyleAst(t,r),t}_makeStyleAst(e,r){let t=[],i=Array.isArray(e.styles)?e.styles:[e.styles];for(let a of i)typeof a=="string"?a===di?t.push(a):r.errors.push(R2(a)):t.push(new Map(Object.entries(a)));let o=!1,s=null;return t.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(HE)>=0){o=!0;break}}}),{type:ce.Style,styles:t,easing:s,offset:e.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(e,r){let t=r.currentAnimateTimings,i=r.currentTime,o=r.currentTime;t&&o>0&&(o-=t.duration+t.delay),e.styles.forEach(s=>{typeof s!="string"&&s.forEach((a,l)=>{let c=r.collectedStyles.get(r.currentQuerySelector),d=c.get(l),u=!0;d&&(o!=i&&o>=d.startTime&&i<=d.endTime&&(r.errors.push(N2(l,d.startTime,d.endTime,o,i)),u=!1),o=d.startTime),u&&c.set(l,{startTime:o,endTime:i}),r.options&&cV(a,r.options,r.errors)})})}visitKeyframes(e,r){let t={type:ce.Keyframes,styles:[],options:null};if(!r.currentAnimateTimings)return r.errors.push(P2()),t;let i=1,o=0,s=[],a=!1,l=!1,c=0,d=e.steps.map(S=>{let B=this._makeStyleAst(S,r),ve=B.offset!=null?B.offset:yV(B.styles),q=0;return ve!=null&&(o++,q=B.offset=ve),l=l||q<0||q>1,a=a||q0&&o{let ve=f>0?B==m?1:f*B:s[B],q=ve*C;r.currentTime=g+_.delay+q,_.duration=q,this._validateStyleAst(S,r),S.offset=ve,t.styles.push(S)}),t}visitReference(e,r){return{type:ce.Reference,animation:Xt(this,ul(e.animation),r),options:uo(e.options)}}visitAnimateChild(e,r){return r.depCount++,{type:ce.AnimateChild,options:uo(e.options)}}visitAnimateRef(e,r){return{type:ce.AnimateRef,animation:this.visitReference(e.animation,r),options:uo(e.options)}}visitQuery(e,r){let t=r.currentQuerySelector,i=e.options||{};r.queryCount++,r.currentQuery=e;let[o,s]=vV(e.selector);r.currentQuerySelector=t.length?t+" "+o:o,Jt(r.collectedStyles,r.currentQuerySelector,new Map);let a=Xt(this,ul(e.animation),r);return r.currentQuery=null,r.currentQuerySelector=t,{type:ce.Query,selector:o,limit:i.limit||0,optional:!!i.optional,includeSelf:s,animation:a,originalSelector:e.selector,options:uo(e.options)}}visitStagger(e,r){r.currentQuery||r.errors.push(V2());let t=e.timings==="full"?{duration:0,delay:0,easing:"full"}:lf(e.timings,r.errors,!0);return{type:ce.Stagger,animation:Xt(this,ul(e.animation),r),timings:t,options:null}}};function vV(n){let e=!!n.split(/\s*,\s*/).find(r=>r==GE);return e&&(n=n.replace(bV,"")),n=n.replace(/@\*/g,af).replace(/@\w+/g,r=>af+"-"+r.slice(1)).replace(/:animating/g,Eb),[n,e]}function _V(n){return n?D({},n):null}var Tb=class{constructor(e){this.errors=e,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}};function yV(n){if(typeof n=="string")return null;let e=null;if(Array.isArray(n))n.forEach(r=>{if(r instanceof Map&&r.has("offset")){let t=r;e=parseFloat(t.get("offset")),t.delete("offset")}});else if(n instanceof Map&&n.has("offset")){let r=n;e=parseFloat(r.get("offset")),r.delete("offset")}return e}function xV(n,e){if(n.hasOwnProperty("duration"))return n;if(typeof n=="number"){let o=lf(n,e).duration;return _b(o,0,"")}let r=n;if(r.split(/\s+/).some(o=>o.charAt(0)=="{"&&o.charAt(1)=="{")){let o=_b(0,0,"");return o.dynamic=!0,o.strValue=r,o}let i=lf(r,e);return _b(i.duration,i.delay,i.easing)}function uo(n){return n?(n=D({},n),n.params&&(n.params=_V(n.params))):n={},n}function _b(n,e,r){return{duration:n,delay:e,easing:r}}function Gb(n,e,r,t,i,o,s=null,a=!1){return{type:1,element:n,keyframes:e,preStyleProps:r,postStyleProps:t,duration:i,delay:o,totalTime:i+o,easing:s,subTimeline:a}}var ml=class{constructor(){this._map=new Map}get(e){return this._map.get(e)||[]}append(e,r){let t=this._map.get(e);t||this._map.set(e,t=[]),t.push(...r)}has(e){return this._map.has(e)}clear(){this._map.clear()}},wV=1,CV=":enter",DV=new RegExp(CV,"g"),EV=":leave",IV=new RegExp(EV,"g");function YE(n,e,r,t,i,o=new Map,s=new Map,a,l,c=[]){return new Ab().buildKeyframes(n,e,r,t,i,o,s,a,l,c)}var Ab=class{buildKeyframes(e,r,t,i,o,s,a,l,c,d=[]){c=c||new ml;let u=new kb(e,r,c,i,o,d,[]);u.options=l;let f=l.delay?Pi(l.delay):0;u.currentTimeline.delayNextStep(f),u.currentTimeline.setStyles([s],null,u.errors,l),Xt(this,t,u);let m=u.timelines.filter(g=>g.containsAnimation());if(m.length&&a.size){let g;for(let _=m.length-1;_>=0;_--){let C=m[_];if(C.element===r){g=C;break}}g&&!g.allowOnlyTimelineStyles()&&g.setStyles([a],null,u.errors,l)}return m.length?m.map(g=>g.buildKeyframes()):[Gb(r,[],[],[],0,f,"",!1)]}visitTrigger(e,r){}visitState(e,r){}visitTransition(e,r){}visitAnimateChild(e,r){let t=r.subInstructions.get(r.element);if(t){let i=r.createSubContext(e.options),o=r.currentTimeline.currentTime,s=this._visitSubInstructions(t,i,i.options);o!=s&&r.transformIntoNewTimeline(s)}r.previousNode=e}visitAnimateRef(e,r){let t=r.createSubContext(e.options);t.transformIntoNewTimeline(),this._applyAnimationRefDelays([e.options,e.animation.options],r,t),this.visitReference(e.animation,t),r.transformIntoNewTimeline(t.currentTimeline.currentTime),r.previousNode=e}_applyAnimationRefDelays(e,r,t){var i;for(let o of e){let s=o==null?void 0:o.delay;if(s){let a=typeof s=="number"?s:Pi(hl(s,(i=o==null?void 0:o.params)!=null?i:{},r.errors));t.delayNextStep(a)}}}_visitSubInstructions(e,r,t){let o=r.currentTimeline.currentTime,s=t.duration!=null?Pi(t.duration):null,a=t.delay!=null?Pi(t.delay):null;return s!==0&&e.forEach(l=>{let c=r.appendInstructionToTimeline(l,s,a);o=Math.max(o,c.duration+c.delay)}),o}visitReference(e,r){r.updateOptions(e.options,!0),Xt(this,e.animation,r),r.previousNode=e}visitSequence(e,r){let t=r.subContextCount,i=r,o=e.options;if(o&&(o.params||o.delay)&&(i=r.createSubContext(o),i.transformIntoNewTimeline(),o.delay!=null)){i.previousNode.type==ce.Style&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=uf);let s=Pi(o.delay);i.delayNextStep(s)}e.steps.length&&(e.steps.forEach(s=>Xt(this,s,i)),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>t&&i.transformIntoNewTimeline()),r.previousNode=e}visitGroup(e,r){let t=[],i=r.currentTimeline.currentTime,o=e.options&&e.options.delay?Pi(e.options.delay):0;e.steps.forEach(s=>{let a=r.createSubContext(e.options);o&&a.delayNextStep(o),Xt(this,s,a),i=Math.max(i,a.currentTimeline.currentTime),t.push(a.currentTimeline)}),t.forEach(s=>r.currentTimeline.mergeTimelineCollectedStyles(s)),r.transformIntoNewTimeline(i),r.previousNode=e}_visitTiming(e,r){if(e.dynamic){let t=e.strValue,i=r.params?hl(t,r.params,r.errors):t;return lf(i,r.errors)}else return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,r){let t=r.currentAnimateTimings=this._visitTiming(e.timings,r),i=r.currentTimeline;t.delay&&(r.incrementTime(t.delay),i.snapshotCurrentStyles());let o=e.style;o.type==ce.Keyframes?this.visitKeyframes(o,r):(r.incrementTime(t.duration),this.visitStyle(o,r),i.applyStylesToKeyframe()),r.currentAnimateTimings=null,r.previousNode=e}visitStyle(e,r){let t=r.currentTimeline,i=r.currentAnimateTimings;!i&&t.hasCurrentStyleProperties()&&t.forwardFrame();let o=i&&i.easing||e.easing;e.isEmptyStep?t.applyEmptyStep(o):t.setStyles(e.styles,o,r.errors,r.options),r.previousNode=e}visitKeyframes(e,r){let t=r.currentAnimateTimings,i=r.currentTimeline.duration,o=t.duration,a=r.createSubContext().currentTimeline;a.easing=t.easing,e.styles.forEach(l=>{let c=l.offset||0;a.forwardTime(c*o),a.setStyles(l.styles,l.easing,r.errors,r.options),a.applyStylesToKeyframe()}),r.currentTimeline.mergeTimelineCollectedStyles(a),r.transformIntoNewTimeline(i+o),r.previousNode=e}visitQuery(e,r){let t=r.currentTimeline.currentTime,i=e.options||{},o=i.delay?Pi(i.delay):0;o&&(r.previousNode.type===ce.Style||t==0&&r.currentTimeline.hasCurrentStyleProperties())&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=uf);let s=t,a=r.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!i.optional,r.errors);r.currentQueryTotal=a.length;let l=null;a.forEach((c,d)=>{r.currentQueryIndex=d;let u=r.createSubContext(e.options,c);o&&u.delayNextStep(o),c===r.element&&(l=u.currentTimeline),Xt(this,e.animation,u),u.currentTimeline.applyStylesToKeyframe();let f=u.currentTimeline.currentTime;s=Math.max(s,f)}),r.currentQueryIndex=0,r.currentQueryTotal=0,r.transformIntoNewTimeline(s),l&&(r.currentTimeline.mergeTimelineCollectedStyles(l),r.currentTimeline.snapshotCurrentStyles()),r.previousNode=e}visitStagger(e,r){let t=r.parentContext,i=r.currentTimeline,o=e.timings,s=Math.abs(o.duration),a=s*(r.currentQueryTotal-1),l=s*r.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":l=a-l;break;case"full":l=t.currentStaggerTime;break}let d=r.currentTimeline;l&&d.delayNextStep(l);let u=d.currentTime;Xt(this,e.animation,r),r.previousNode=e,t.currentStaggerTime=i.currentTime-u+(i.startTime-t.currentTimeline.startTime)}},uf={},kb=class n{constructor(e,r,t,i,o,s,a,l){this._driver=e,this.element=r,this.subInstructions=t,this._enterClassName=i,this._leaveClassName=o,this.errors=s,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=uf,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=l||new ff(this._driver,r,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,r){if(!e)return;let t=e,i=this.options;t.duration!=null&&(i.duration=Pi(t.duration)),t.delay!=null&&(i.delay=Pi(t.delay));let o=t.params;if(o){let s=i.params;s||(s=this.options.params={}),Object.keys(o).forEach(a=>{(!r||!s.hasOwnProperty(a))&&(s[a]=hl(o[a],s,this.errors))})}}_copyOptions(){let e={};if(this.options){let r=this.options.params;if(r){let t=e.params={};Object.keys(r).forEach(i=>{t[i]=r[i]})}}return e}createSubContext(e=null,r,t){let i=r||this.element,o=new n(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,t||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(e),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}transformIntoNewTimeline(e){return this.previousNode=uf,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,r,t){let i={duration:r!=null?r:e.duration,delay:this.currentTimeline.currentTime+(t!=null?t:0)+e.delay,easing:""},o=new Ob(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,i,e.stretchStartingKeyframe);return this.timelines.push(o),i}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,r,t,i,o,s){let a=[];if(i&&a.push(this.element),e.length>0){e=e.replace(DV,"."+this._enterClassName),e=e.replace(IV,"."+this._leaveClassName);let l=t!=1,c=this._driver.query(this.element,e,l);t!==0&&(c=t<0?c.slice(c.length+t,c.length):c.slice(0,t)),a.push(...c)}return!o&&a.length==0&&s.push(B2(r)),a}},ff=class n{constructor(e,r,t,i){this._driver=e,this.element=r,this.startTime=t,this._elementTimelineStylesLookup=i,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(r),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(r,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(e){let r=this._keyframes.size===1&&this._pendingStyles.size;this.duration||r?(this.forwardTime(this.currentTime+e),r&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,r){return this.applyStylesToKeyframe(),new n(this._driver,e,r||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+=wV,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,r){this._localTimelineStyles.set(e,r),this._globalTimelineStyles.set(e,r),this._styleSummary.set(e,{time:this.currentTime,value:r})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&this._previousKeyframe.set("easing",e);for(let[r,t]of this._globalTimelineStyles)this._backFill.set(r,t||di),this._currentKeyframe.set(r,di);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,r,t,i){var a;r&&this._previousKeyframe.set("easing",r);let o=i&&i.params||{},s=MV(e,this._globalTimelineStyles);for(let[l,c]of s){let d=hl(c,o,t);this._pendingStyles.set(l,d),this._localTimelineStyles.has(l)||this._backFill.set(l,(a=this._globalTimelineStyles.get(l))!=null?a:di),this._updateStyle(l,d)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((e,r)=>{this._currentKeyframe.set(r,e)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((e,r)=>{this._currentKeyframe.has(r)||this._currentKeyframe.set(r,e)}))}snapshotCurrentStyles(){for(let[e,r]of this._localTimelineStyles)this._pendingStyles.set(e,r),this._updateStyle(e,r)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let e=[];for(let r in this._currentKeyframe)e.push(r);return e}mergeTimelineCollectedStyles(e){e._styleSummary.forEach((r,t)=>{let i=this._styleSummary.get(t);(!i||r.time>i.time)&&this._updateStyle(t,r.value)})}buildKeyframes(){this.applyStylesToKeyframe();let e=new Set,r=new Set,t=this._keyframes.size===1&&this.duration===0,i=[];this._keyframes.forEach((a,l)=>{let c=new Map([...this._backFill,...a]);c.forEach((d,u)=>{d===Du?e.add(u):d===di&&r.add(u)}),t||c.set("offset",l/this.duration),i.push(c)});let o=[...e.values()],s=[...r.values()];if(t){let a=i[0],l=new Map(a);a.set("offset",0),l.set("offset",1),i=[a,l]}return Gb(this.element,i,o,s,this.duration,this.startTime,this.easing,!1)}},Ob=class extends ff{constructor(e,r,t,i,o,s,a=!1){super(e,r,s.delay),this.keyframes=t,this.preStyleProps=i,this.postStyleProps=o,this._stretchStartingKeyframe=a,this.timings={duration:s.duration,delay:s.delay,easing:s.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:r,duration:t,easing:i}=this.timings;if(this._stretchStartingKeyframe&&r){let o=[],s=t+r,a=r/s,l=new Map(e[0]);l.set("offset",0),o.push(l);let c=new Map(e[0]);c.set("offset",OE(a)),o.push(c);let d=e.length-1;for(let u=1;u<=d;u++){let f=new Map(e[u]),m=f.get("offset"),g=r+m*t;f.set("offset",OE(g/s)),o.push(f)}t=s,r=0,i="",e=o}return Gb(this.element,e,this.preStyleProps,this.postStyleProps,t,r,i,!0)}};function OE(n,e=3){let r=Math.pow(10,e-1);return Math.round(n*r)/r}function MV(n,e){let r=new Map,t;return n.forEach(i=>{if(i==="*"){t!=null||(t=e.keys());for(let o of t)r.set(o,di)}else for(let[o,s]of i)r.set(o,s)}),r}function RE(n,e,r,t,i,o,s,a,l,c,d,u,f){return{type:0,element:n,triggerName:e,isRemovalTransition:i,fromState:r,fromStyles:o,toState:t,toStyles:s,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:d,totalTime:u,errors:f}}var yb={},hf=class{constructor(e,r,t){this._triggerName=e,this.ast=r,this._stateStyles=t}match(e,r,t,i){return SV(this.ast.matchers,e,r,t,i)}buildStyles(e,r,t){let i=this._stateStyles.get("*");return e!==void 0&&(i=this._stateStyles.get(e==null?void 0:e.toString())||i),i?i.buildStyles(r,t):new Map}build(e,r,t,i,o,s,a,l,c,d){var st;let u=[],f=this.ast.options&&this.ast.options.params||yb,m=a&&a.params||yb,g=this.buildStyles(t,m,u),_=l&&l.params||yb,C=this.buildStyles(i,_,u),S=new Set,B=new Map,ve=new Map,q=i==="void",$e={params:ZE(_,f),delay:(st=this.ast.options)==null?void 0:st.delay},be=d?[]:YE(e,r,this.ast.animation,o,s,g,C,$e,c,u),pe=0;return be.forEach(At=>{pe=Math.max(At.duration+At.delay,pe)}),u.length?RE(r,this._triggerName,t,i,q,g,C,[],[],B,ve,pe,u):(be.forEach(At=>{let bt=At.element,Fi=Jt(B,bt,new Set);At.preStyleProps.forEach(Cr=>Fi.add(Cr));let Li=Jt(ve,bt,new Set);At.postStyleProps.forEach(Cr=>Li.add(Cr)),bt!==r&&S.add(bt)}),RE(r,this._triggerName,t,i,q,g,C,be,[...S.values()],B,ve,pe))}};function SV(n,e,r,t,i){return n.some(o=>o(e,r,t,i))}function ZE(n,e){let r=D({},e);return Object.entries(n).forEach(([t,i])=>{i!=null&&(r[t]=i)}),r}var Rb=class{constructor(e,r,t){this.styles=e,this.defaultParams=r,this.normalizer=t}buildStyles(e,r){let t=new Map,i=ZE(e,this.defaultParams);return this.styles.styles.forEach(o=>{typeof o!="string"&&o.forEach((s,a)=>{s&&(s=hl(s,i,r));let l=this.normalizer.normalizePropertyName(a,r);s=this.normalizer.normalizeStyleValue(a,l,s,r),t.set(a,s)})}),t}};function TV(n,e,r){return new Nb(n,e,r)}var Nb=class{constructor(e,r,t){this.name=e,this.ast=r,this._normalizer=t,this.transitionFactories=[],this.states=new Map,r.states.forEach(i=>{let o=i.options&&i.options.params||{};this.states.set(i.name,new Rb(i.style,o,t))}),NE(this.states,"true","1"),NE(this.states,"false","0"),r.transitions.forEach(i=>{this.transitionFactories.push(new hf(e,i,this.states))}),this.fallbackTransition=AV(e,this.states,this._normalizer)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,r,t,i){return this.transitionFactories.find(s=>s.match(e,r,t,i))||null}matchStyles(e,r,t){return this.fallbackTransition.buildStyles(e,r,t)}};function AV(n,e,r){let t=[(s,a)=>!0],i={type:ce.Sequence,steps:[],options:null},o={type:ce.Transition,animation:i,matchers:t,options:null,queryCount:0,depCount:0};return new hf(n,o,e)}function NE(n,e,r){n.has(e)?n.has(r)||n.set(r,n.get(e)):n.has(r)&&n.set(e,n.get(r))}var kV=new ml,Pb=class{constructor(e,r,t){this.bodyNode=e,this._driver=r,this._normalizer=t,this._animations=new Map,this._playersById=new Map,this.players=[]}register(e,r){let t=[],i=[],o=qE(this._driver,r,t,i);if(t.length)throw W2(t);i.length&&void 0,this._animations.set(e,o)}_buildPlayer(e,r,t){let i=e.element,o=BE(this._normalizer,e.keyframes,r,t);return this._driver.animate(i,o,e.duration,e.delay,e.easing,[],!0)}create(e,r,t={}){let i=[],o=this._animations.get(e),s,a=new Map;if(o?(s=YE(this._driver,r,o,$E,Db,new Map,new Map,t,kV,i),s.forEach(d=>{let u=Jt(a,d.element,new Map);d.postStyleProps.forEach(f=>u.set(f,null))})):(i.push(G2()),s=[]),i.length)throw q2(i);a.forEach((d,u)=>{d.forEach((f,m)=>{d.set(m,this._driver.computeStyle(u,m,di))})});let l=s.map(d=>{let u=a.get(d.element);return this._buildPlayer(d,new Map,u)}),c=wr(l);return this._playersById.set(e,c),c.onDestroy(()=>this.destroy(e)),this.players.push(c),c}destroy(e){let r=this._getPlayer(e);r.destroy(),this._playersById.delete(e);let t=this.players.indexOf(r);t>=0&&this.players.splice(t,1)}_getPlayer(e){let r=this._playersById.get(e);if(!r)throw Y2(e);return r}listen(e,r,t,i){let o=Ub(r,"","","");return Bb(this._getPlayer(e),t,o,i),()=>{}}command(e,r,t,i){if(t=="register"){this.register(e,i[0]);return}if(t=="create"){let s=i[0]||{};this.create(e,r,s);return}let o=this._getPlayer(e);switch(t){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(i[0]));break;case"destroy":this.destroy(e);break}}},PE="ng-animate-queued",OV=".ng-animate-queued",xb="ng-animate-disabled",RV=".ng-animate-disabled",NV="ng-star-inserted",PV=".ng-star-inserted",FV=[],QE={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},LV={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Fn="__ng_removed",pl=class{get params(){return this.options.params}constructor(e,r=""){this.namespaceId=r;let t=e&&e.hasOwnProperty("value"),i=t?e.value:e;if(this.value=VV(i),t){let o=e,{value:s}=o,a=_f(o,["value"]);this.options=a}else this.options={};this.options.params||(this.options.params={})}absorbOptions(e){let r=e.params;if(r){let t=this.options.params;Object.keys(r).forEach(i=>{t[i]==null&&(t[i]=r[i])})}}},fl="void",wb=new pl(fl),Fb=class{constructor(e,r,t){this.id=e,this.hostElement=r,this._engine=t,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,bn(r,this._hostClassName)}listen(e,r,t,i){if(!this._triggers.has(r))throw Z2(t,r);if(t==null||t.length==0)throw Q2(r);if(!BV(t))throw K2(t,r);let o=Jt(this._elementListeners,e,[]),s={name:r,phase:t,callback:i};o.push(s);let a=Jt(this._engine.statesByElement,e,new Map);return a.has(r)||(bn(e,tf),bn(e,tf+"-"+r),a.set(r,wb)),()=>{this._engine.afterFlush(()=>{let l=o.indexOf(s);l>=0&&o.splice(l,1),this._triggers.has(r)||a.delete(r)})}}register(e,r){return this._triggers.has(e)?!1:(this._triggers.set(e,r),!0)}_getTrigger(e){let r=this._triggers.get(e);if(!r)throw X2(e);return r}trigger(e,r,t,i=!0){let o=this._getTrigger(r),s=new gl(this.id,r,e),a=this._engine.statesByElement.get(e);a||(bn(e,tf),bn(e,tf+"-"+r),this._engine.statesByElement.set(e,a=new Map));let l=a.get(r),c=new pl(t,this.id);if(!(t&&t.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),a.set(r,c),l||(l=wb),!(c.value===fl)&&l.value===c.value){if(!HV(l.params,c.params)){let _=[],C=o.matchStyles(l.value,l.params,_),S=o.matchStyles(c.value,c.params,_);_.length?this._engine.reportError(_):this._engine.afterFlush(()=>{fo(e,C),hi(e,S)})}return}let f=Jt(this._engine.playersByElement,e,[]);f.forEach(_=>{_.namespaceId==this.id&&_.triggerName==r&&_.queued&&_.destroy()});let m=o.matchTransition(l.value,c.value,e,c.params),g=!1;if(!m){if(!i)return;m=o.fallbackTransition,g=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:r,transition:m,fromState:l,toState:c,player:s,isFallbackTransition:g}),g||(bn(e,PE),s.onStart(()=>{As(e,PE)})),s.onDone(()=>{let _=this.players.indexOf(s);_>=0&&this.players.splice(_,1);let C=this._engine.playersByElement.get(e);if(C){let S=C.indexOf(s);S>=0&&C.splice(S,1)}}),this.players.push(s),f.push(s),s}deregister(e){this._triggers.delete(e),this._engine.statesByElement.forEach(r=>r.delete(e)),this._elementListeners.forEach((r,t)=>{this._elementListeners.set(t,r.filter(i=>i.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);let r=this._engine.playersByElement.get(e);r&&(r.forEach(t=>t.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,r){let t=this._engine.driver.query(e,af,!0);t.forEach(i=>{if(i[Fn])return;let o=this._engine.fetchNamespacesByElement(i);o.size?o.forEach(s=>s.triggerLeaveAnimation(i,r,!1,!0)):this.clearElementCache(i)}),this._engine.afterFlushAnimationsDone(()=>t.forEach(i=>this.clearElementCache(i)))}triggerLeaveAnimation(e,r,t,i){let o=this._engine.statesByElement.get(e),s=new Map;if(o){let a=[];if(o.forEach((l,c)=>{if(s.set(c,l.value),this._triggers.has(c)){let d=this.trigger(e,c,fl,i);d&&a.push(d)}}),a.length)return this._engine.markElementAsRemoved(this.id,e,!0,r,s),t&&wr(a).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){let r=this._elementListeners.get(e),t=this._engine.statesByElement.get(e);if(r&&t){let i=new Set;r.forEach(o=>{let s=o.name;if(i.has(s))return;i.add(s);let l=this._triggers.get(s).fallbackTransition,c=t.get(s)||wb,d=new pl(fl),u=new gl(this.id,s,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:s,transition:l,fromState:c,toState:d,player:u,isFallbackTransition:!0})})}}removeNode(e,r){let t=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,r),this.triggerLeaveAnimation(e,r,!0))return;let i=!1;if(t.totalAnimations){let o=t.players.length?t.playersByQueriedElement.get(e):[];if(o&&o.length)i=!0;else{let s=e;for(;s=s.parentNode;)if(t.statesByElement.get(s)){i=!0;break}}}if(this.prepareLeaveAnimationListeners(e),i)t.markElementAsRemoved(this.id,e,!1,r);else{let o=e[Fn];(!o||o===QE)&&(t.afterFlush(()=>this.clearElementCache(e)),t.destroyInnerAnimations(e),t._onRemovalComplete(e,r))}}insertNode(e,r){bn(e,this._hostClassName)}drainQueuedTransitions(e){let r=[];return this._queue.forEach(t=>{let i=t.player;if(i.destroyed)return;let o=t.element,s=this._elementListeners.get(o);s&&s.forEach(a=>{if(a.name==t.triggerName){let l=Ub(o,t.triggerName,t.fromState.value,t.toState.value);l._data=e,Bb(t.player,a.phase,l,a.callback)}}),i.markedForDestroy?this._engine.afterFlush(()=>{i.destroy()}):r.push(t)}),this._queue=[],r.sort((t,i)=>{let o=t.transition.ast.depCount,s=i.transition.ast.depCount;return o==0||s==0?o-s:this._engine.driver.containsElement(t.element,i.element)?1:-1})}destroy(e){this.players.forEach(r=>r.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}},Lb=class{_onRemovalComplete(e,r){this.onRemovalComplete(e,r)}constructor(e,r,t){this.bodyNode=e,this.driver=r,this._normalizer=t,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=(i,o)=>{}}get queuedPlayers(){let e=[];return this._namespaceList.forEach(r=>{r.players.forEach(t=>{t.queued&&e.push(t)})}),e}createNamespace(e,r){let t=new Fb(e,r,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,r)?this._balanceNamespaceList(t,r):(this.newHostElements.set(r,t),this.collectEnterElement(r)),this._namespaceLookup[e]=t}_balanceNamespaceList(e,r){let t=this._namespaceList,i=this.namespacesByHostElement;if(t.length-1>=0){let s=!1,a=this.driver.getParentElement(r);for(;a;){let l=i.get(a);if(l){let c=t.indexOf(l);t.splice(c+1,0,e),s=!0;break}a=this.driver.getParentElement(a)}s||t.unshift(e)}else t.push(e);return i.set(r,e),e}register(e,r){let t=this._namespaceLookup[e];return t||(t=this.createNamespace(e,r)),t}registerTrigger(e,r,t){let i=this._namespaceLookup[e];i&&i.register(r,t)&&this.totalAnimations++}destroy(e,r){e&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let t=this._fetchNamespace(e);this.namespacesByHostElement.delete(t.hostElement);let i=this._namespaceList.indexOf(t);i>=0&&this._namespaceList.splice(i,1),t.destroy(r),delete this._namespaceLookup[e]}))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){let r=new Set,t=this.statesByElement.get(e);if(t){for(let i of t.values())if(i.namespaceId){let o=this._fetchNamespace(i.namespaceId);o&&r.add(o)}}return r}trigger(e,r,t,i){if(of(r)){let o=this._fetchNamespace(e);if(o)return o.trigger(r,t,i),!0}return!1}insertNode(e,r,t,i){if(!of(r))return;let o=r[Fn];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;let s=this.collectedLeaveElements.indexOf(r);s>=0&&this.collectedLeaveElements.splice(s,1)}if(e){let s=this._fetchNamespace(e);s&&s.insertNode(r,t)}i&&this.collectEnterElement(r)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,r){r?this.disabledNodes.has(e)||(this.disabledNodes.add(e),bn(e,xb)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),As(e,xb))}removeNode(e,r,t){if(of(r)){let i=e?this._fetchNamespace(e):null;i?i.removeNode(r,t):this.markElementAsRemoved(e,r,!1,t);let o=this.namespacesByHostElement.get(r);o&&o.id!==e&&o.removeNode(r,t)}else this._onRemovalComplete(r,t)}markElementAsRemoved(e,r,t,i,o){this.collectedLeaveElements.push(r),r[Fn]={namespaceId:e,setForRemoval:i,hasAnimation:t,removedBeforeQueried:!1,previousTriggersValues:o}}listen(e,r,t,i,o){return of(r)?this._fetchNamespace(e).listen(r,t,i,o):()=>{}}_buildInstruction(e,r,t,i,o){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,t,i,e.fromState.options,e.toState.options,r,o)}destroyInnerAnimations(e){let r=this.driver.query(e,af,!0);r.forEach(t=>this.destroyActiveAnimationsForElement(t)),this.playersByQueriedElement.size!=0&&(r=this.driver.query(e,Eb,!0),r.forEach(t=>this.finishActiveQueriedAnimationOnElement(t)))}destroyActiveAnimationsForElement(e){let r=this.playersByElement.get(e);r&&r.forEach(t=>{t.queued?t.markedForDestroy=!0:t.destroy()})}finishActiveQueriedAnimationOnElement(e){let r=this.playersByQueriedElement.get(e);r&&r.forEach(t=>t.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return wr(this.players).onDone(()=>e());e()})}processLeaveNode(e){var t;let r=e[Fn];if(r&&r.setForRemoval){if(e[Fn]=QE,r.namespaceId){this.destroyInnerAnimations(e);let i=this._fetchNamespace(r.namespaceId);i&&i.clearElementCache(e)}this._onRemovalComplete(e,r.setForRemoval)}(t=e.classList)!=null&&t.contains(xb)&&this.markElementAsDisabled(e,!1),this.driver.query(e,RV,!0).forEach(i=>{this.markElementAsDisabled(i,!1)})}flush(e=-1){let r=[];if(this.newHostElements.size&&(this.newHostElements.forEach((t,i)=>this._balanceNamespaceList(t,i)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let t=0;tt()),this._flushFns=[],this._whenQuietFns.length){let t=this._whenQuietFns;this._whenQuietFns=[],r.length?wr(r).onDone(()=>{t.forEach(i=>i())}):t.forEach(i=>i())}}reportError(e){throw J2(e)}_flushAnimations(e,r){let t=new ml,i=[],o=new Map,s=[],a=new Map,l=new Map,c=new Map,d=new Set;this.disabledNodes.forEach(U=>{d.add(U);let Y=this.driver.query(U,OV,!0);for(let Z=0;Z{let Z=$E+_++;g.set(Y,Z),U.forEach(we=>bn(we,Z))});let C=[],S=new Set,B=new Set;for(let U=0;US.add(we)):B.add(Y))}let ve=new Map,q=jE(f,Array.from(S));q.forEach((U,Y)=>{let Z=Db+_++;ve.set(Y,Z),U.forEach(we=>bn(we,Z))}),e.push(()=>{m.forEach((U,Y)=>{let Z=g.get(Y);U.forEach(we=>As(we,Z))}),q.forEach((U,Y)=>{let Z=ve.get(Y);U.forEach(we=>As(we,Z))}),C.forEach(U=>{this.processLeaveNode(U)})});let $e=[],be=[];for(let U=this._namespaceList.length-1;U>=0;U--)this._namespaceList[U].drainQueuedTransitions(r).forEach(Z=>{let we=Z.player,nt=Z.element;if($e.push(we),this.collectedEnterElements.length){let xt=nt[Fn];if(xt&&xt.setForMove){if(xt.previousTriggersValues&&xt.previousTriggersValues.has(Z.triggerName)){let Dr=xt.previousTriggersValues.get(Z.triggerName),en=this.statesByElement.get(Z.element);if(en&&en.has(Z.triggerName)){let bl=en.get(Z.triggerName);bl.value=Dr,en.set(Z.triggerName,bl)}}we.destroy();return}}let Ln=!u||!this.driver.containsElement(u,nt),Wt=ve.get(nt),ji=g.get(nt),Ke=this._buildInstruction(Z,t,ji,Wt,Ln);if(Ke.errors&&Ke.errors.length){be.push(Ke);return}if(Ln){we.onStart(()=>fo(nt,Ke.fromStyles)),we.onDestroy(()=>hi(nt,Ke.toStyles)),i.push(we);return}if(Z.isFallbackTransition){we.onStart(()=>fo(nt,Ke.fromStyles)),we.onDestroy(()=>hi(nt,Ke.toStyles)),i.push(we);return}let Qb=[];Ke.timelines.forEach(xt=>{xt.stretchStartingKeyframe=!0,this.disabledNodes.has(xt.element)||Qb.push(xt)}),Ke.timelines=Qb,t.append(nt,Ke.timelines);let cI={instruction:Ke,player:we,element:nt};s.push(cI),Ke.queriedElements.forEach(xt=>Jt(a,xt,[]).push(we)),Ke.preStyleProps.forEach((xt,Dr)=>{if(xt.size){let en=l.get(Dr);en||l.set(Dr,en=new Set),xt.forEach((bl,vf)=>en.add(vf))}}),Ke.postStyleProps.forEach((xt,Dr)=>{let en=c.get(Dr);en||c.set(Dr,en=new Set),xt.forEach((bl,vf)=>en.add(vf))})});if(be.length){let U=[];be.forEach(Y=>{U.push(eV(Y.triggerName,Y.errors))}),$e.forEach(Y=>Y.destroy()),this.reportError(U)}let pe=new Map,st=new Map;s.forEach(U=>{let Y=U.element;t.has(Y)&&(st.set(Y,Y),this._beforeAnimationBuild(U.player.namespaceId,U.instruction,pe))}),i.forEach(U=>{let Y=U.element;this._getPreviousPlayers(Y,!1,U.namespaceId,U.triggerName,null).forEach(we=>{Jt(pe,Y,[]).push(we),we.destroy()})});let At=C.filter(U=>VE(U,l,c)),bt=new Map;LE(bt,this.driver,B,c,di).forEach(U=>{VE(U,l,c)&&At.push(U)});let Li=new Map;m.forEach((U,Y)=>{LE(Li,this.driver,new Set(U),l,Du)}),At.forEach(U=>{var we,nt;let Y=bt.get(U),Z=Li.get(U);bt.set(U,new Map([...(we=Y==null?void 0:Y.entries())!=null?we:[],...(nt=Z==null?void 0:Z.entries())!=null?nt:[]]))});let Cr=[],Yb=[],Zb={};s.forEach(U=>{let{element:Y,player:Z,instruction:we}=U;if(t.has(Y)){if(d.has(Y)){Z.onDestroy(()=>hi(Y,we.toStyles)),Z.disabled=!0,Z.overrideTotalTime(we.totalTime),i.push(Z);return}let nt=Zb;if(st.size>1){let Wt=Y,ji=[];for(;Wt=Wt.parentNode;){let Ke=st.get(Wt);if(Ke){nt=Ke;break}ji.push(Wt)}ji.forEach(Ke=>st.set(Ke,nt))}let Ln=this._buildAnimation(Z.namespaceId,we,pe,o,Li,bt);if(Z.setRealPlayer(Ln),nt===Zb)Cr.push(Z);else{let Wt=this.playersByElement.get(nt);Wt&&Wt.length&&(Z.parentPlayer=wr(Wt)),i.push(Z)}}else fo(Y,we.fromStyles),Z.onDestroy(()=>hi(Y,we.toStyles)),Yb.push(Z),d.has(Y)&&i.push(Z)}),Yb.forEach(U=>{let Y=o.get(U.element);if(Y&&Y.length){let Z=wr(Y);U.setRealPlayer(Z)}}),i.forEach(U=>{U.parentPlayer?U.syncPlayerEvents(U.parentPlayer):U.destroy()});for(let U=0;U!Ln.destroyed);nt.length?UV(this,Y,nt):this.processLeaveNode(Y)}return C.length=0,Cr.forEach(U=>{this.players.push(U),U.onDone(()=>{U.destroy();let Y=this.players.indexOf(U);this.players.splice(Y,1)}),U.play()}),Cr}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,r,t,i,o){let s=[];if(r){let a=this.playersByQueriedElement.get(e);a&&(s=a)}else{let a=this.playersByElement.get(e);if(a){let l=!o||o==fl;a.forEach(c=>{c.queued||!l&&c.triggerName!=i||s.push(c)})}}return(t||i)&&(s=s.filter(a=>!(t&&t!=a.namespaceId||i&&i!=a.triggerName))),s}_beforeAnimationBuild(e,r,t){let i=r.triggerName,o=r.element,s=r.isRemovalTransition?void 0:e,a=r.isRemovalTransition?void 0:i;for(let l of r.timelines){let c=l.element,d=c!==o,u=Jt(t,c,[]);this._getPreviousPlayers(c,d,s,a,r.toState).forEach(m=>{let g=m.getRealPlayer();g.beforeDestroy&&g.beforeDestroy(),m.destroy(),u.push(m)})}fo(o,r.fromStyles)}_buildAnimation(e,r,t,i,o,s){let a=r.triggerName,l=r.element,c=[],d=new Set,u=new Set,f=r.timelines.map(g=>{let _=g.element;d.add(_);let C=_[Fn];if(C&&C.removedBeforeQueried)return new mr(g.duration,g.delay);let S=_!==l,B=zV((t.get(_)||FV).map(pe=>pe.getRealPlayer())).filter(pe=>{let st=pe;return st.element?st.element===_:!1}),ve=o.get(_),q=s.get(_),$e=BE(this._normalizer,g.keyframes,ve,q),be=this._buildPlayer(g,$e,B);if(g.subTimeline&&i&&u.add(_),S){let pe=new gl(e,a,_);pe.setRealPlayer(be),c.push(pe)}return be});c.forEach(g=>{Jt(this.playersByQueriedElement,g.element,[]).push(g),g.onDone(()=>jV(this.playersByQueriedElement,g.element,g))}),d.forEach(g=>bn(g,TE));let m=wr(f);return m.onDestroy(()=>{d.forEach(g=>As(g,TE)),hi(l,r.toStyles)}),u.forEach(g=>{Jt(i,g,[]).push(m)}),m}_buildPlayer(e,r,t){return r.length>0?this.driver.animate(e.element,r,e.duration,e.delay,e.easing,t):new mr(e.duration,e.delay)}},gl=class{constructor(e,r,t){this.namespaceId=e,this.triggerName=r,this.element=t,this._player=new mr,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(e){this._containsRealPlayer||(this._player=e,this._queuedCallbacks.forEach((r,t)=>{r.forEach(i=>Bb(e,t,void 0,i))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){let r=this._player;r.triggerCallback&&e.onStart(()=>r.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,r){Jt(this._queuedCallbacks,e,[]).push(r)}onDone(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}onStart(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}onDestroy(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}init(){this._player.init()}hasStarted(){return this.queued?!1:this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(e){this.queued||this._player.setPosition(e)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(e){let r=this._player;r.triggerCallback&&r.triggerCallback(e)}};function jV(n,e,r){let t=n.get(e);if(t){if(t.length){let i=t.indexOf(r);t.splice(i,1)}t.length==0&&n.delete(e)}return t}function VV(n){return n!=null?n:null}function of(n){return n&&n.nodeType===1}function BV(n){return n=="start"||n=="done"}function FE(n,e){let r=n.style.display;return n.style.display=e!=null?e:"none",r}function LE(n,e,r,t,i){let o=[];r.forEach(l=>o.push(FE(l)));let s=[];t.forEach((l,c)=>{let d=new Map;l.forEach(u=>{let f=e.computeStyle(c,u,i);d.set(u,f),(!f||f.length==0)&&(c[Fn]=LV,s.push(c))}),n.set(c,d)});let a=0;return r.forEach(l=>FE(l,o[a++])),s}function jE(n,e){let r=new Map;if(n.forEach(a=>r.set(a,[])),e.length==0)return r;let t=1,i=new Set(e),o=new Map;function s(a){if(!a)return t;let l=o.get(a);if(l)return l;let c=a.parentNode;return r.has(c)?l=c:i.has(c)?l=t:l=s(c),o.set(a,l),l}return e.forEach(a=>{let l=s(a);l!==t&&r.get(l).push(a)}),r}function bn(n,e){var r;(r=n.classList)==null||r.add(e)}function As(n,e){var r;(r=n.classList)==null||r.remove(e)}function UV(n,e,r){wr(r).onDone(()=>n.processLeaveNode(e))}function zV(n){let e=[];return KE(n,e),e}function KE(n,e){for(let r=0;ri.add(o)):e.set(n,t),r.delete(n),!0}var Os=class{constructor(e,r,t){this._driver=r,this._normalizer=t,this._triggerCache={},this.onRemovalComplete=(i,o)=>{},this._transitionEngine=new Lb(e.body,r,t),this._timelineEngine=new Pb(e.body,r,t),this._transitionEngine.onRemovalComplete=(i,o)=>this.onRemovalComplete(i,o)}registerTrigger(e,r,t,i,o){let s=e+"-"+i,a=this._triggerCache[s];if(!a){let l=[],c=[],d=qE(this._driver,o,l,c);if(l.length)throw H2(i,l);c.length&&void 0,a=TV(i,d,this._normalizer),this._triggerCache[s]=a}this._transitionEngine.registerTrigger(r,i,a)}register(e,r){this._transitionEngine.register(e,r)}destroy(e,r){this._transitionEngine.destroy(e,r)}onInsert(e,r,t,i){this._transitionEngine.insertNode(e,r,t,i)}onRemove(e,r,t){this._transitionEngine.removeNode(e,r,t)}disableAnimations(e,r){this._transitionEngine.markElementAsDisabled(e,r)}process(e,r,t,i){if(t.charAt(0)=="@"){let[o,s]=ME(t),a=i;this._timelineEngine.command(o,r,s,a)}else this._transitionEngine.trigger(e,r,t,i)}listen(e,r,t,i,o){if(t.charAt(0)=="@"){let[s,a]=ME(t);return this._timelineEngine.listen(s,r,a,o)}return this._transitionEngine.listen(e,r,t,i,o)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(e){this._transitionEngine.afterFlushAnimationsDone(e)}};function $V(n,e){let r=null,t=null;return Array.isArray(e)&&e.length?(r=Cb(e[0]),e.length>1&&(t=Cb(e[e.length-1]))):e instanceof Map&&(r=Cb(e)),r||t?new jb(n,r,t):null}var ks=class ks{constructor(e,r,t){this._element=e,this._startStyles=r,this._endStyles=t,this._state=0;let i=ks.initialStylesByElement.get(e);i||ks.initialStylesByElement.set(e,i=new Map),this._initialStyles=i}start(){this._state<1&&(this._startStyles&&hi(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(hi(this._element,this._initialStyles),this._endStyles&&(hi(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(ks.initialStylesByElement.delete(this._element),this._startStyles&&(fo(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(fo(this._element,this._endStyles),this._endStyles=null),hi(this._element,this._initialStyles),this._state=3)}};ks.initialStylesByElement=new WeakMap;var jb=ks;function Cb(n){let e=null;return n.forEach((r,t)=>{WV(t)&&(e=e||new Map,e.set(t,r))}),e}function WV(n){return n==="display"||n==="position"}var mf=class{constructor(e,r,t,i){this.element=e,this.keyframes=r,this.options=t,this._specialStyles=i,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=t.duration,this._delay=t.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;let e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:new Map;let r=()=>this._onFinish();this.domPlayer.addEventListener("finish",r),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",r)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(e){let r=[];return e.forEach(t=>{r.push(Object.fromEntries(t))}),r}_triggerWebAnimation(e,r,t){return e.animate(this._convertKeyframesToObject(r),t)}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(e=>e()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}setPosition(e){this.domPlayer===void 0&&this.init(),this.domPlayer.currentTime=e*this.time}getPosition(){var e;return+((e=this.domPlayer.currentTime)!=null?e:0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){let e=new Map;this.hasStarted()&&this._finalKeyframe.forEach((t,i)=>{i!=="offset"&&e.set(i,this._finished?t:Wb(this.element,i))}),this.currentSnapshot=e}triggerCallback(e){let r=e==="start"?this._onStartFns:this._onDoneFns;r.forEach(t=>t()),r.length=0}},pf=class{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}containsElement(e,r){return UE(e,r)}getParentElement(e){return zb(e)}query(e,r,t){return zE(e,r,t)}computeStyle(e,r,t){return Wb(e,r)}animate(e,r,t,i,o,s=[]){let a=i==0?"both":"forwards",l={duration:t,delay:i,fill:a};o&&(l.easing=o);let c=new Map,d=s.filter(m=>m instanceof mf);uV(t,i)&&d.forEach(m=>{m.currentSnapshot.forEach((g,_)=>c.set(_,g))});let u=lV(r).map(m=>new Map(m));u=fV(e,u,c);let f=$V(e,u);return new mf(e,u,l,f)}};var sf="@",XE="@.disabled",gf=class{constructor(e,r,t,i){this.namespaceId=e,this.delegate=r,this.engine=t,this._onDestroy=i,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(e){var r,t;(t=(r=this.delegate).destroyNode)==null||t.call(r,e)}destroy(){var e;this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),(e=this._onDestroy)==null||e.call(this)}createElement(e,r){return this.delegate.createElement(e,r)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,r){this.delegate.appendChild(e,r),this.engine.onInsert(this.namespaceId,r,e,!1)}insertBefore(e,r,t,i=!0){this.delegate.insertBefore(e,r,t),this.engine.onInsert(this.namespaceId,r,e,i)}removeChild(e,r,t){this.engine.onRemove(this.namespaceId,r,this.delegate)}selectRootElement(e,r){return this.delegate.selectRootElement(e,r)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,r,t,i){this.delegate.setAttribute(e,r,t,i)}removeAttribute(e,r,t){this.delegate.removeAttribute(e,r,t)}addClass(e,r){this.delegate.addClass(e,r)}removeClass(e,r){this.delegate.removeClass(e,r)}setStyle(e,r,t,i){this.delegate.setStyle(e,r,t,i)}removeStyle(e,r,t){this.delegate.removeStyle(e,r,t)}setProperty(e,r,t){r.charAt(0)==sf&&r==XE?this.disableAnimations(e,!!t):this.delegate.setProperty(e,r,t)}setValue(e,r){this.delegate.setValue(e,r)}listen(e,r,t){return this.delegate.listen(e,r,t)}disableAnimations(e,r){this.engine.disableAnimations(e,r)}},Vb=class extends gf{constructor(e,r,t,i,o){super(r,t,i,o),this.factory=e,this.namespaceId=r}setProperty(e,r,t){r.charAt(0)==sf?r.charAt(1)=="."&&r==XE?(t=t===void 0?!0:!!t,this.disableAnimations(e,t)):this.engine.process(this.namespaceId,e,r.slice(1),t):this.delegate.setProperty(e,r,t)}listen(e,r,t){if(r.charAt(0)==sf){let i=GV(e),o=r.slice(1),s="";return o.charAt(0)!=sf&&([o,s]=qV(o)),this.engine.listen(this.namespaceId,i,o,s,a=>{let l=a._data||-1;this.factory.scheduleListenerCallback(l,t,a)})}return this.delegate.listen(e,r,t)}};function GV(n){switch(n){case"body":return document.body;case"document":return document;case"window":return window;default:return n}}function qV(n){let e=n.indexOf("."),r=n.substring(0,e),t=n.slice(e+1);return[r,t]}var bf=class{constructor(e,r,t){this.delegate=e,this.engine=r,this._zone=t,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,r.onRemovalComplete=(i,o)=>{let s=o==null?void 0:o.parentNode(i);s&&o.removeChild(s,i)}}createRenderer(e,r){var c;let t="",i=this.delegate.createRenderer(e,r);if(!e||!((c=r==null?void 0:r.data)!=null&&c.animation)){let d=this._rendererCache,u=d.get(i);if(!u){let f=()=>d.delete(i);u=new gf(t,i,this.engine,f),d.set(i,u)}return u}let o=r.id,s=r.id+"-"+this._currentId;this._currentId++,this.engine.register(s,e);let a=d=>{Array.isArray(d)?d.forEach(a):this.engine.registerTrigger(o,s,e,d.name,d)};return r.data.animation.forEach(a),new Vb(this,s,i,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(e,r,t){if(e>=0&&er(t));return}let i=this._animationCallbacksBuffer;i.length==0&&queueMicrotask(()=>{this._zone.run(()=>{i.forEach(o=>{let[s,a]=o;s(a)}),this._animationCallbacksBuffer=[]})}),i.push([r,t])}end(){this._cdRecurDepth--,this._cdRecurDepth==0&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}};var ZV=(()=>{let e=class e extends Os{constructor(t,i,o){super(t,i,o)}ngOnDestroy(){this.flush()}};e.\u0275fac=function(i){return new(i||e)(v(W),v(ho),v(mo))},e.\u0275prov=I({token:e,factory:e.\u0275fac});let n=e;return n})();function QV(){return new cf}function KV(n,e,r){return new bf(n,e,r)}var eI=[{provide:mo,useFactory:QV},{provide:Os,useClass:ZV},{provide:Ki,useFactory:KV,deps:[Nd,Os,k]}],JE=[{provide:ho,useFactory:()=>new pf},{provide:Ge,useValue:"BrowserAnimations"},...eI],XV=[{provide:ho,useClass:Hb},{provide:Ge,useValue:"NoopAnimations"},...eI],tI=(()=>{let e=class e{static withConfig(t){return{ngModule:e,providers:t.disableAnimations?XV:JE}}};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=V({type:e}),e.\u0275inj=L({providers:JE,imports:[Fd]});let n=e;return n})();var JV=["*",[["mat-toolbar-row"]]],eB=["*","mat-toolbar-row"],tB=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275dir=N({type:e,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"],standalone:!0});let n=e;return n})(),nI=(()=>{let e=class e{constructor(t,i,o){this._elementRef=t,this._platform=i,this._document=o}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){this._toolbarRows.length}};e.\u0275fac=function(i){return new(i||e)(h(P),h(xe),h(W))},e.\u0275cmp=j({type:e,selectors:[["mat-toolbar"]],contentQueries:function(i,o,s){if(i&1&&tt(s,tB,5),i&2){let a;ie(a=re())&&(o._toolbarRows=a)}},hostAttrs:[1,"mat-toolbar"],hostVars:6,hostBindings:function(i,o){i&2&&(zt(o.color?"mat-"+o.color:""),ae("mat-toolbar-multiple-rows",o._toolbarRows.length>0)("mat-toolbar-single-row",o._toolbarRows.length===0))},inputs:{color:"color"},exportAs:["matToolbar"],standalone:!0,features:[Oe],ngContentSelectors:eB,decls:2,vars:0,template:function(i,o){i&1&&(Je(JV),ue(0),ue(1,1))},styles:[".mat-toolbar{background:var(--mat-toolbar-container-background-color);color:var(--mat-toolbar-container-text-color)}.mat-toolbar,.mat-toolbar h1,.mat-toolbar h2,.mat-toolbar h3,.mat-toolbar h4,.mat-toolbar h5,.mat-toolbar h6{font-family:var(--mat-toolbar-title-text-font);font-size:var(--mat-toolbar-title-text-size);line-height:var(--mat-toolbar-title-text-line-height);font-weight:var(--mat-toolbar-title-text-weight);letter-spacing:var(--mat-toolbar-title-text-tracking);margin:0}.cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.mat-toolbar .mat-form-field-underline,.mat-toolbar .mat-form-field-ripple,.mat-toolbar .mat-focused .mat-form-field-ripple{background-color:currentColor}.mat-toolbar .mat-form-field-label,.mat-toolbar .mat-focused .mat-form-field-label,.mat-toolbar .mat-select-value,.mat-toolbar .mat-select-arrow,.mat-toolbar .mat-form-field.mat-focused .mat-select-arrow{color:inherit}.mat-toolbar .mat-input-element{caret-color:currentColor}.mat-toolbar .mat-mdc-button-base.mat-mdc-button-base.mat-unthemed{--mdc-text-button-label-text-color:var(--mat-toolbar-container-text-color);--mdc-outlined-button-label-text-color:var(--mat-toolbar-container-text-color)}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap;height:var(--mat-toolbar-standard-height)}@media(max-width: 599px){.mat-toolbar-row,.mat-toolbar-single-row{height:var(--mat-toolbar-mobile-height)}}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%;min-height:var(--mat-toolbar-standard-height)}@media(max-width: 599px){.mat-toolbar-multiple-rows{min-height:var(--mat-toolbar-mobile-height)}}"],encapsulation:2,changeDetection:0});let n=e;return n})();var iI=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=V({type:e}),e.\u0275inj=L({imports:[Ae,Ae]});let n=e;return n})();var rI=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=V({type:e}),e.\u0275inj=L({providers:[{provide:lb,useValue:{floatLabel:"always"}}],imports:[xD,iI,YC,rE,uE,tE,UC,ao,LD,$D,CE]});let n=e;return n})();function iB(n,e){if(n&1){let r=Me();p(0,"button",10),z("click",function(){let i=te(r).$implicit,o=R(2);return ne(o.changeLang(i))}),w(1),b()}if(n&2){let r=e.$implicit;x(),ct(r.name)}}function rB(n,e){if(n&1){let r=Me();p(0,"button",10),z("click",function(){te(r);let i=R(2);return ne(i.admin())}),p(1,"i",24),w(2,"dashboard"),b(),p(3,"uds-translate"),w(4,"Dashboard"),b()()}}function oB(n,e){n&1&&(p(0,"button",29)(1,"i",24),w(2,"file_download"),b(),p(3,"uds-translate"),w(4,"Downloads"),b()())}function sB(n,e){if(n&1&&(p(0,"button",14),w(1),b()),n&2){R();let r=Et(8),t=R();M("matMenuTriggerFor",r),x(),ct(t.api.user.user)}}function aB(n,e){if(n&1&&(p(0,"button",26),w(1),p(2,"i",24),w(3,"arrow_drop_down"),b()()),n&2){R();let r=Et(8),t=R();M("matMenuTriggerFor",r),x(),Te("",t.api.user.user," ")}}function lB(n,e){if(n&1){let r=Me();Wm(0),p(1,"form",4),O(2,"input",5)(3,"input",6),b(),p(4,"mat-menu",null,0),F(6,iB,2,1,"button",7),b(),p(7,"mat-menu",null,1),F(9,rB,5,0,"button",8)(10,oB,5,0,"button",9),p(11,"button",10),z("click",function(){te(r);let i=R();return ne(i.logout())}),p(12,"i",11),w(13,"exit_to_app"),b(),p(14,"uds-translate"),w(15,"Logout"),b()()(),p(16,"mat-menu",12,2),F(18,sB,2,2,"button",13),p(19,"button",14),w(20),b(),p(21,"button",15)(22,"uds-translate"),w(23,"UDS Client"),b()(),p(24,"button",16)(25,"uds-translate"),w(26,"About"),b()()(),p(27,"mat-toolbar",17)(28,"button",18)(29,"div",19),O(30,"img",20),w(31),b()(),O(32,"span",21),p(33,"div",22)(34,"button",23)(35,"i",24),w(36,"file_download"),b(),p(37,"uds-translate"),w(38,"UDS Client"),b()(),p(39,"button",25)(40,"i",24),w(41,"info"),b(),p(42,"uds-translate"),w(43,"About"),b()(),p(44,"button",26),w(45),p(46,"i",24),w(47,"arrow_drop_down"),b()(),F(48,aB,4,2,"button",27),b(),p(49,"div",28)(50,"button",26)(51,"i",24),w(52,"menu"),b()()()(),Gm()}if(n&2){let r=Et(5),t=Et(17),i=R();x(),Yo("action",i.api.config.urls.change_language,ft),x(),Yo("name",i.api.csrfField),Yo("value",i.api.csrfToken),x(),Yo("value",i.lang.id),x(3),M("ngForOf",i.langs),x(3),M("ngIf",i.api.user.isStaff),x(),M("ngIf",i.api.user.isStaff),x(8),M("ngIf",i.api.user.isLogged),x(),M("matMenuTriggerFor",r),x(),Te("",i.lang.name," "),x(10),M("src",i.api.staticURL("modern/img/udsicon.png"),ft),x(),Te(" ",i.api.config.site_logo_name==="UDS"?"":i.api.config.site_logo_name," "),x(13),M("matMenuTriggerFor",r),x(),Te("",i.lang.name," "),x(3),M("ngIf",i.api.user.isLogged),x(2),M("matMenuTriggerFor",t)}}var oI=(()=>{let e=class e{constructor(t){this.api=t,this.lang={},this.langs=[],this.style="";let i=t.config.language;this.langs=[];for(let o of t.config.available_languages)o.id===i?this.lang=o:this.langs.push(o)}ngOnInit(){}changeLang(t){this.lang=t;let i=document.getElementById("id_language");i&&i.setAttribute("value",t.id);let o=document.getElementById("form_language");o&&o.submit()}admin(){this.api.gotoAdmin()}logout(){this.api.logout()}};e.\u0275fac=function(i){return new(i||e)(h(Re))},e.\u0275cmp=j({type:e,selectors:[["uds-navbar"]],decls:1,vars:1,consts:[["appMenu","matMenu"],["userMenu","matMenu"],["shrink","matMenu"],[4,"ngIf"],["id","form_language","method","post",3,"action"],["type","hidden",3,"name","value"],["id","id_language","type","hidden","name","language",3,"value"],["mat-menu-item","",3,"click",4,"ngFor","ngForOf"],["mat-menu-item","",3,"click",4,"ngIf"],["mat-menu-item","","routerLink","/downloads",4,"ngIf"],["mat-menu-item","",3,"click"],[1,"material-icons","highlight"],["x-position","before"],["mat-menu-item","",3,"matMenuTriggerFor",4,"ngIf"],["mat-menu-item","",3,"matMenuTriggerFor"],["mat-menu-item","","routerLink","/client-download"],["mat-menu-item","","routerLink","/about"],["color","primary",1,"uds-nav"],["mat-button","","routerLink","/"],[1,"logo"],["alt","Universal Desktop Services",3,"src"],[1,"fill-remaining-space"],[1,"expanded"],["mat-button","","routerLink","/client-download"],[1,"material-icons"],["mat-button","","routerLink","/about"],["mat-button","",3,"matMenuTriggerFor"],["mat-button","",3,"matMenuTriggerFor",4,"ngIf"],[1,"shrinked"],["mat-menu-item","","routerLink","/downloads"]],template:function(i,o){i&1&&F(0,lB,53,16,"ng-container",3),i&2&&M("ngIf",o.api.config.urls.launch==="")},dependencies:[It,Mt,us,Ss,Ms,Pn,nI,ui,xr,lo,Ju,He],styles:['.mat-ripple[_ngcontent-%COMP%]{overflow:hidden;position:relative}.mat-ripple[_ngcontent-%COMP%]:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded[_ngcontent-%COMP%]{overflow:visible}.mat-ripple-element[_ngcontent-%COMP%]{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0,0,.2,1);transform:scale3d(0,0,0);background-color:var(--mat-ripple-color, rgba(0, 0, 0, .1))}.cdk-high-contrast-active[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%], .cdk-drag-placeholder[_ngcontent-%COMP%] .mat-ripple-element[_ngcontent-%COMP%]{display:none}.cdk-visually-hidden[_ngcontent-%COMP%]{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][_ngcontent-%COMP%] .cdk-visually-hidden[_ngcontent-%COMP%]{left:auto;right:0}.cdk-overlay-container[_ngcontent-%COMP%], .cdk-global-overlay-wrapper[_ngcontent-%COMP%]{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container[_ngcontent-%COMP%]{position:fixed;z-index:1000}.cdk-overlay-container[_ngcontent-%COMP%]:empty{display:none}.cdk-global-overlay-wrapper[_ngcontent-%COMP%]{display:flex;position:absolute;z-index:1000}.cdk-overlay-pane[_ngcontent-%COMP%]{position:absolute;pointer-events:auto;box-sizing:border-box;z-index:1000;display:flex;max-width:100%;max-height:100%}.cdk-overlay-backdrop[_ngcontent-%COMP%]{position:absolute;top:0;bottom:0;left:0;right: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[_ngcontent-%COMP%]{opacity:1}.cdk-high-contrast-active[_ngcontent-%COMP%] .cdk-overlay-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:.6}.cdk-overlay-dark-backdrop[_ngcontent-%COMP%]{background:#00000052}.cdk-overlay-transparent-backdrop[_ngcontent-%COMP%]{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing[_ngcontent-%COMP%]{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation[_ngcontent-%COMP%]{transition:none}.cdk-overlay-connected-position-bounding-box[_ngcontent-%COMP%]{position:absolute;z-index:1000;display:flex;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock[_ngcontent-%COMP%]{position:fixed;width:100%;overflow-y:scroll}textarea.cdk-textarea-autosize[_ngcontent-%COMP%]{resize:none}textarea.cdk-textarea-autosize-measuring[_ngcontent-%COMP%]{padding:2px 0!important;box-sizing:content-box!important;height:auto!important;overflow:hidden!important}textarea.cdk-textarea-autosize-measuring-firefox[_ngcontent-%COMP%]{padding:2px 0!important;box-sizing:content-box!important;height:0!important}@keyframes _ngcontent-%COMP%_cdk-text-field-autofill-start{}@keyframes _ngcontent-%COMP%_cdk-text-field-autofill-end{}.cdk-text-field-autofill-monitored[_ngcontent-%COMP%]:-webkit-autofill{animation:_ngcontent-%COMP%_cdk-text-field-autofill-start 0s 1ms}.cdk-text-field-autofill-monitored[_ngcontent-%COMP%]:not(:-webkit-autofill){animation:_ngcontent-%COMP%_cdk-text-field-autofill-end 0s 1ms}.mat-focus-indicator[_ngcontent-%COMP%]{position:relative}.mat-focus-indicator[_ngcontent-%COMP%]:before{top:0;left:0;right:0;bottom: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[_ngcontent-%COMP%]:focus:before{content:""}.cdk-high-contrast-active[_ngcontent-%COMP%]{--mat-focus-indicator-display: block}.mat-mdc-focus-indicator[_ngcontent-%COMP%]{position:relative}.mat-mdc-focus-indicator[_ngcontent-%COMP%]:before{top:0;left:0;right:0;bottom: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[_ngcontent-%COMP%]:focus:before{content:""}.cdk-high-contrast-active[_ngcontent-%COMP%]{--mat-mdc-focus-indicator-display: block}.mat-app-background[_ngcontent-%COMP%]{background-color:var(--mat-app-background-color, transparent);color:var(--mat-app-text-color, inherit)}.uds-nav[_ngcontent-%COMP%]{position:fixed;top:0;z-index:1000;background-image:linear-gradient(60deg,#4b5266,#465d9c)}.fill-remaining-space[_ngcontent-%COMP%]{flex:1 1 auto}.material-icons[_ngcontent-%COMP%]{margin-right:.3rem}.logo[_ngcontent-%COMP%] > img[_ngcontent-%COMP%]{display:block;width:2rem}@media only screen and (max-width: 744px){.expanded[_ngcontent-%COMP%]{display:none;visibility:hidden}.shrinked[_ngcontent-%COMP%]{visibility:visible}}@media only screen and (min-width: 745px){.expanded[_ngcontent-%COMP%]{visibility:visible}.shrinked[_ngcontent-%COMP%]{display:none;visibility:hidden}}']});let n=e;return n})();var sI=(()=>{let e=class e{constructor(t){this.api=t}ngOnInit(){}};e.\u0275fac=function(i){return new(i||e)(h(Re))},e.\u0275cmp=j({type:e,selectors:[["uds-footer"]],decls:3,vars:2,consts:[[3,"href"]],template:function(i,o){i&1&&(p(0,"div")(1,"a",0),w(2),b()()),i&2&&(x(),M("href",o.api.config.site_copyright_link,ft),x(),ct(o.api.config.site_copyright_info))}});let n=e;return n})();var aI=(()=>{let e=class e{constructor(t){this.api=t,this.title="UDS"}get blackTheme(){return this.api.getFromStorage("blackTheme")==="true"}set blackTheme(t){this.api.putOnStorage("blackTheme",t.toString())}handleKeyboardEvent(t){t.altKey&&t.ctrlKey&&t.key==="b"&&(this.blackTheme=!this.blackTheme,this.api.switchTheme(this.blackTheme))}ngOnInit(){this.api.switchTheme(this.blackTheme),cookieconsent.initialise({palette:{popup:{background:"#343c66",text:"#cfcfe8"},button:{background:"#f71559"}},content:{message:django.gettext("We use cookies to track usage and preferences"),dismiss:django.gettext("I Understand"),link:django.gettext("Learn more")}})}};e.\u0275fac=function(i){return new(i||e)(h(Re))},e.\u0275cmp=j({type:e,selectors:[["uds-root"]],hostBindings:function(i,o){i&1&&z("keydown",function(a){return o.handleKeyboardEvent(a)},!1,e0)},decls:6,vars:0,consts:[[1,"page"],[1,"content"],[1,"footer"]],template:function(i,o){i&1&&(O(0,"uds-navbar"),p(1,"div",0)(2,"div",1),O(3,"router-outlet"),b(),p(4,"div",2),O(5,"uds-footer"),b()())},dependencies:[lg,oI,sI],styles:[".page[_ngcontent-%COMP%]{display:flex;flex-direction:column;height:100%}.footer[_ngcontent-%COMP%]{flex-shrink:0;margin:1em;height:1em;display:flex;flex-direction:row;justify-content:flex-end}.content[_ngcontent-%COMP%]{flex:1 0 auto;width:80%;margin:64px auto 0}@media only screen and (max-width: 744px){.content[_ngcontent-%COMP%]{width:100%}}"]});let n=e;return n})();var lI=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=V({type:e,bootstrap:[aI]}),e.\u0275inj=L({providers:[Re,Yu,Wx(Gx())],imports:[Fd,ow,EE,tI,rI]});let n=e;return n})();su.production&&void 0;Jx().bootstrapModule(lI).catch(n=>console.log(n)); diff --git a/server/src/uds/static/modern/translations-fakejs.js b/server/src/uds/static/modern/translations-fakejs.js index cc83a8b94..cf0eb703e 100644 --- a/server/src/uds/static/modern/translations-fakejs.js +++ b/server/src/uds/static/modern/translations-fakejs.js @@ -11,6 +11,7 @@ gettext("Launcher"); gettext("Service is in maintenance and cannot be launched"); gettext("This service is currently not accesible due to schedule restrictions."); gettext("Service message"); +gettext("Press "Yes" to continue, or "No" to cancel"); gettext("Release service: "); gettext("Reset service: "); gettext("Service released"); diff --git a/server/src/uds/templates/uds/modern/index.html b/server/src/uds/templates/uds/modern/index.html index 8a5ac0f00..80167154d 100644 --- a/server/src/uds/templates/uds/modern/index.html +++ b/server/src/uds/templates/uds/modern/index.html @@ -109,6 +109,6 @@ - +